/* ============================================================
 * user.css · 「我的」页（块3）专属样式
 * ------------------------------------------------------------
 * 只作用「我的」页块3内部类，不依赖 body[data-page] 或 page-* 前缀，
 * 由 user_center.html 通过 base 的 final_page_css 钩子自行挂载。
 * 通用类（.glass-panel / .workspace-grid /
 * .table-card 等）已在 style.css 全局定义，此处不重复。
 * ============================================================ */

.user-center-shell{
  --user-surface-soft: var(--hx-workbench-panel);
  --user-border: var(--hx-workbench-border);
  --user-border-strong: var(--hx-workbench-border-strong);
  --user-muted: var(--hx-workbench-text-muted);
  --user-text: var(--hx-workbench-text);
  color: var(--hx-workbench-text-secondary);
}

body[data-page="user"] .page-shell{
  max-width: none;
}

.user-center-grid{
  display: grid;
  width: 100%;
  gap: 6px;
  align-items: start;
}

.user-primary-column{
  min-width: 0;
}

.user-center-shell .user-page-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 6px;
  padding: 0 2px;
}

.user-primary-column > .mb-4,
.user-ledger-column > .mb-4{
  margin-bottom: 6px !important;
}

.user-center-tabs{
  display: grid;
  width: min(100%, 328px);
  padding: 4px;
  grid-template-columns: repeat(2, minmax(136px, 1fr));
  border: 1px solid var(--user-border-strong);
  border-radius: 8px;
  background: rgba(15, 17, 22, .72);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

.user-center-tabs.is-personal-only{
  width: min(100%, 164px);
  grid-template-columns: minmax(136px, 1fr);
}

.user-center-tab{
  display: flex;
  min-width: 0;
  height: 40px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--hx-workbench-text-secondary);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.user-center-tab:hover,
.user-center-tab:focus-visible{
  border-color: var(--user-border-strong);
  background: var(--hx-workbench-control-hover);
  color: var(--user-text);
  outline: none;
}

.user-center-tab.is-active{
  border-color: rgba(96, 165, 250, .55);
  background: var(--hx-workbench-ai-gradient);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(57, 124, 244, .22);
}

.user-page-heading #user-account-meta{
  min-height: 18px;
  color: var(--user-muted);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.user-center-panel[hidden]{
  display: none !important;
}

.user-enterprise-center-panel{
  position: relative;
  min-height: 0;
  overflow: visible;
}

.user-enterprise-frame{
  display: block;
  width: 100%;
  min-height: 680px;
  border: 0;
  overflow: hidden;
  background: var(--user-surface-soft);
}

.user-enterprise-frame-status{
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--user-muted);
  font-size: 13px;
  pointer-events: none;
}

.user-enterprise-frame-status[hidden]{
  display: none;
}

@media (min-width: 1200px){
  .user-center-grid{
    grid-template-columns: minmax(0, 1.65fr) minmax(360px, .85fr);
  }

  .user-ledger-column{
    position: static;
    align-self: start;
    overflow: visible;
  }

  .user-ledger-panel{
    display: flex;
    min-height: 0;
    height: calc(100dvh - var(--saas-shell-topbar) - 32px - 246px);
    min-height: 300px;
    flex-direction: column;
  }

  .user-ledger-panel .table-card{
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
  }

  .user-message-panel{
    display: flex;
    height: 360px;
    min-height: 360px;
    flex-direction: column;
  }

  .user-message-list{
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
  }
}

.user-message-panel{
  min-width: 0;
}

.user-message-panel-heading{
  align-items: flex-start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--user-border);
}

.user-message-list{
  display: grid;
  min-width: 0;
  max-height: 430px;
  gap: 4px;
  overflow: auto;
}

.user-message-item{
  display: grid;
  min-width: 0;
  height: 36px;
  min-height: 36px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: rgba(31, 36, 46, .72);
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}

.user-message-item:hover{
  border-color: var(--user-border-strong);
  background: var(--hx-workbench-control-hover);
}

.user-message-item.is-unread{
  border-color: rgba(96, 165, 250, .45);
  background: rgba(37, 99, 235, .08);
}

.user-message-icon{
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: #93c5fd;
  background: rgba(59, 130, 246, .16);
}

.user-message-icon-announcement{
  color: #fbbf24;
  background: rgba(245, 158, 11, .15);
}

.user-message-icon-credit{
  color: #4ade80;
  background: rgba(34, 197, 94, .15);
}

.user-message-main{
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  align-items: center;
  gap: 8px;
}

.user-message-title-row{
  display: flex;
  flex: 0 0 auto;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.user-message-title-row strong{
  min-width: 0;
  overflow: hidden;
  color: var(--user-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-message-title-row span{
  flex: 0 0 auto;
  padding: 2px 6px;
  border-radius: 5px;
  color: var(--user-muted);
  background: var(--hx-workbench-control);
  font-size: 10px;
}

.user-message-main p{
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  margin: 0;
  color: var(--user-muted);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-message-main time{
  flex: 0 0 auto;
  color: var(--user-muted);
  font-size: 11px;
  white-space: nowrap;
}

.user-message-read{
  align-self: center;
  padding: 1px 5px;
  border: 1px solid var(--user-border-strong);
  border-radius: 6px;
  color: var(--user-muted);
  background: transparent;
  font-size: 11px;
  white-space: nowrap;
}

.user-message-read:hover,
.user-message-read:focus-visible{
  border-color: rgba(96, 165, 250, .6);
  color: var(--user-text);
  outline: none;
}

.user-message-empty{
  display: grid;
  min-height: 90px;
  place-items: center;
  border: 1px dashed var(--user-border-strong);
  border-radius: 8px;
  color: var(--user-muted);
  font-size: 12px;
}

.user-center-shell .glass-panel,
.user-center-shell .table-card{
  border: 1px solid var(--user-border) !important;
  border-radius: 8px !important;
  color: var(--hx-workbench-text-secondary) !important;
  background: linear-gradient(180deg, rgba(24, 28, 36, .96), rgba(17, 20, 27, .98)) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12) !important;
}

.user-center-shell .glass-panel:hover{
  border-color: var(--user-border-strong) !important;
  box-shadow: none !important;
}

.user-center-shell .panel-header{
  margin-bottom: 6px;
}

.user-center-shell .section-title{
  letter-spacing: 0;
}

.user-billing-panel > .panel-header,
.user-ledger-panel > .panel-header{
  padding-bottom: 6px;
  border-bottom: 1px solid var(--user-border);
}

.user-billing-panel > .panel-header .section-title,
.user-message-panel-heading .section-title,
.user-ledger-panel .section-title{
  font-size: 15px;
  font-weight: 800;
}

.user-account-management-panel{
  min-width: 0;
  padding: 0 !important;
  overflow: clip;
}

.user-account-management-body{
  padding: 0 16px 16px;
}

.user-account-form-heading span,
.user-account-field > span{
  color: var(--user-muted);
  font-size: 12px;
}

.user-account-forms{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.user-account-form{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: var(--hx-workbench-panel-raised);
}

.user-account-form-heading{
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--user-border);
}

.user-account-form-heading h3{
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: var(--user-text);
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-account-form-heading span{
  flex: 0 0 auto;
  padding: 3px 7px;
  border: 1px solid var(--user-border);
  border-radius: 999px;
  background: var(--hx-workbench-control);
  color: var(--user-muted);
  font-size: 11px;
}

.user-account-field{
  display: grid;
  min-width: 0;
  gap: 5px;
  margin: 0;
}

.user-account-field .form-control{
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  border-color: var(--user-border);
  background: var(--hx-workbench-control);
  color: var(--user-text);
  font-size: 13px;
}

.user-account-field .form-control:focus{
  border-color: rgba(96, 165, 250, .7);
  background: var(--hx-workbench-control-hover);
  color: var(--user-text);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .14);
}

.user-account-code-field{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.user-account-form-actions{
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  padding-top: 2px;
}

.user-account-form-actions .btn{
  min-height: 34px;
  padding: 7px 12px;
  white-space: nowrap;
}

.user-account-form-actions .tiny-text{
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-account-code-field .btn{
  min-width: 92px;
}

.user-account-summary-heading{
  min-width: 0;
}

.user-account-summary-heading > div:first-child{
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 14px;
  overflow: hidden;
}

.user-account-summary-heading h2{
  flex: 0 0 auto;
  margin: 0;
  font-size: 16px;
  white-space: nowrap;
}

.user-account-summary-heading > div:first-child .tiny-text{
  min-width: 0;
  overflow: hidden;
  color: var(--user-muted);
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-account-summary-heading strong{
  color: var(--user-text);
  font-weight: 700;
}

.user-account-summary-divider{
  color: var(--user-border-strong);
}

.user-style-scenes{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.user-style-scene{
  min-width: 68px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: var(--hx-workbench-control);
  color: var(--user-muted);
  font-size: 13px;
  font-weight: 700;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.user-style-scene:hover,
.user-style-scene:focus-visible,
.user-style-scene.is-active{
  border-color: rgba(96, 165, 250, .55);
  background: var(--hx-workbench-ai-gradient);
  color: #ffffff;
  outline: none;
}

.user-style-layout{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 16px;
}

.user-style-references,
.user-style-rule{
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: var(--hx-workbench-panel-raised);
}

.user-style-section-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.user-style-section-head h3{
  color: var(--user-text);
}

.user-style-upload{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.user-style-reference-list{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  min-height: 106px;
}

.user-style-reference-card{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: #0f1116;
}

.user-style-reference-card img,
.user-style-reference-card video{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-style-reference-card video{
  object-fit: contain;
}

.user-style-reference-remove{
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  width: 28px;
  height: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(196, 48, 48, .28);
  border-radius: 7px;
  background: var(--hx-workbench-control);
  color: #fb7185;
}

.user-style-reference-remove:hover,
.user-style-reference-remove:focus-visible{
  border-color: #fb7185;
  background: rgba(244, 63, 94, .14);
  outline: none;
}

.user-style-empty{
  display: grid;
  grid-column: 1 / -1;
  min-height: 106px;
  margin: 0;
  place-items: center;
  border: 1px dashed var(--user-border-strong);
  border-radius: 8px;
  color: var(--user-muted);
  font-size: 13px;
}

.user-style-rule-input{
  min-height: 192px;
  resize: vertical;
  line-height: 1.6;
}

.user-style-actions{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 12px;
}

.user-center-shell .prompt-box,
.user-center-shell .user-surface{
  min-height: 72px;
  padding: 14px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: var(--hx-workbench-panel-raised);
  color: var(--user-text);
  white-space: pre-wrap;
  word-break: break-word;
}

.user-center-shell .form-control{
  background-color: #0f1116;
  color: var(--user-text);
  border: 1px solid var(--user-border);
  border-radius: 8px;
}

.user-center-shell .user-current-category{
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 11px 14px;
  border-color: var(--user-border-strong);
  background: linear-gradient(90deg, rgba(37, 45, 58, .92), rgba(31, 36, 46, .72)) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
}

.user-center-shell .form-control:focus{
  outline: none;
  border-color: var(--hx-workbench-ai-blue);
  box-shadow: var(--hx-workbench-focus);
}

.user-center-shell .form-control::placeholder,
.user-center-shell .tiny-text,
.user-center-shell .section-subtitle{
  color: var(--user-muted);
}

.user-center-shell .section-title,
.user-center-shell .field-label,
.user-center-shell .kpi-value{
  color: var(--user-text);
}

.user-center-shell .btn-outline-light{
  border-color: var(--user-border-strong);
  background: var(--hx-workbench-control);
  color: var(--hx-workbench-text-secondary);
}

.user-center-shell .btn-outline-light:hover,
.user-center-shell .btn-outline-light:focus-visible{
  border-color: rgba(96, 165, 250, .48);
  background: var(--hx-workbench-control-hover);
  color: #fff;
}

.user-center-shell .user-credit-table{
  --bs-table-bg: transparent;
  --bs-table-color: var(--user-text);
  --bs-table-hover-bg: rgba(59, 130, 246, .1);
  --bs-table-hover-color: var(--user-text);
  width: 100%;
  table-layout: fixed;
  margin-bottom: 0;
}

.user-center-shell .user-credit-table thead th,
.user-center-shell .user-credit-table tbody td{
  border-color: var(--user-border);
}

.user-center-shell .user-credit-table thead th{
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 5px;
  background: var(--hx-workbench-panel-raised) !important;
  color: var(--hx-workbench-text-secondary) !important;
  font-size: 11px;
  font-weight: 700;
}

.user-center-shell .user-credit-table tbody td{
  padding: 7px 5px;
  color: var(--hx-workbench-text-secondary);
  font-size: 11px;
  line-height: 1.4;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-center-shell .user-credit-table :is(th, td):nth-child(1){
  width: 84px;
}

.user-center-shell .user-credit-table :is(th, td):nth-child(2){
  width: 42px;
  text-align: right;
}

.user-center-shell .user-credit-table :is(th, td):nth-child(3){
  width: 38px;
  text-align: center;
}

.user-center-shell .user-credit-table .text-secondary{
  color: var(--user-muted) !important;
}

.credit-source-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 6px;
}

.credit-source-card{
  min-width: 0;
  padding: 15px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: rgba(31, 36, 46, .76);
  transition: border-color .16s ease, background .16s ease;
}

.credit-source-card.is-total{
  border-color: var(--user-border-strong);
  background: linear-gradient(135deg, rgba(30, 64, 175, .28), rgba(31, 36, 46, .86));
}

.credit-source-card:hover{
  border-color: rgba(96, 165, 250, .42);
  background: rgba(37, 45, 58, .88);
}

.credit-source-label,
.credit-source-meta{
  display: block;
  color: var(--user-muted);
  font-size: 12px;
}

.credit-source-value{
  display: block;
  margin-top: 5px;
  color: var(--user-text);
  font-size: 20px;
  line-height: 1.2;
}

.credit-section-heading{
  margin-top: 18px;
  margin-bottom: 10px;
}

.user-collapsible-section{
  margin-top: 6px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: rgba(31, 36, 46, .58);
  overflow: clip;
}

.user-collapsible-summary{
  position: relative;
  display: block;
  padding: 0 16px;
  cursor: pointer;
  list-style: none;
  transition: background-color 160ms ease-out;
  touch-action: manipulation;
}

.user-collapsible-summary::-webkit-details-marker{
  display: none;
}

.user-collapsible-summary::after{
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--user-border-strong);
  border-radius: 50%;
  color: var(--hx-workbench-ai-blue);
  font-size: 18px;
  line-height: 1;
  transform: translateY(-50%);
}

.user-collapsible-section[open] > .user-collapsible-summary{
  background: var(--hx-workbench-control);
}

.user-collapsible-section[open] > .user-collapsible-summary::after{
  content: "-";
}

.user-collapsible-summary:hover,
.user-collapsible-summary:focus-visible{
  background: var(--hx-workbench-control-hover);
}

.user-collapsible-summary:focus-visible{
  outline: 2px solid #1677e8;
  outline-offset: -2px;
}

.user-collapsible-summary .credit-section-heading{
  margin: 0;
  padding: 10px 34px 10px 0;
}

.user-collapsible-section > .credit-package-grid,
.user-collapsible-section > .credit-order-list{
  padding: 0 16px 16px;
}

.credit-package-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.credit-package-card{
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: var(--hx-workbench-panel-raised);
}

.credit-package-card-header,
.credit-order-main,
.credit-order-detail{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.credit-package-name{
  margin: 0;
  color: var(--user-text);
  font-size: 16px;
}

.credit-package-code{
  display: block;
  margin-top: 3px;
  color: var(--user-muted);
  font-size: 11px;
}

.credit-package-price{
  color: var(--hx-workbench-ai-cyan);
  font-size: 20px;
  white-space: nowrap;
}

.credit-package-credits{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 8px;
  color: var(--user-text);
  font-size: 13px;
}

.credit-package-credits span{
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(59, 130, 246, .14);
}

.credit-package-total{
  margin-bottom: 14px;
  color: var(--user-muted);
  font-size: 12px;
}

.credit-package-buy{
  width: 100%;
}

.credit-order-list{
  display: grid;
  gap: 8px;
}

.credit-order-row{
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(240px, 1.2fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--user-border);
  border-radius: 8px;
  background: var(--hx-workbench-panel-raised);
}

.credit-order-main{
  justify-content: flex-start;
  flex-wrap: wrap;
}

.credit-order-main strong{
  color: var(--user-text);
  font-size: 13px;
}

.credit-order-main span,
.credit-order-detail{
  color: var(--user-muted);
  font-size: 12px;
}

.credit-order-detail{
  justify-content: flex-start;
  flex-wrap: wrap;
}

.credit-order-status{
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(133, 140, 153, .14);
}

.credit-order-status.status-paid{
  color: #4ade80;
  background: rgba(34, 197, 94, .14);
}

.credit-order-status.status-refunded,
.credit-order-status.status-refund_requested{
  color: #fbbf24;
  background: rgba(245, 158, 11, .14);
}

.credit-order-actions{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media (max-width: 900px){
  .user-account-forms{
    grid-template-columns: 1fr;
  }

  .credit-source-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-package-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .credit-order-row{
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .credit-order-actions{
    justify-content: flex-start;
  }

  .user-style-layout{
    grid-template-columns: 1fr;
  }

  .user-ledger-column,
  .user-ledger-panel{
    position: static;
    max-height: none;
  }

  .user-ledger-panel .table-card{
    max-height: 520px;
    overflow: auto;
  }
}

@media (max-width: 520px){
  body[data-page="user"] .app-main{
    padding-right: 8px;
    padding-left: 8px;
  }

  .page-user{
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .user-center-shell .user-page-heading{
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    padding-right: 0;
    padding-left: 0;
  }

  .user-page-heading #user-account-meta{
    text-align: left;
  }

  .user-center-tabs{
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .user-center-tabs.is-personal-only{
    width: min(100%, 164px);
    grid-template-columns: minmax(0, 1fr);
  }

  .user-enterprise-center-panel,
  .user-enterprise-frame{
    min-height: 620px;
  }

  .credit-source-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
  }

  .credit-source-card{
    padding: 12px;
  }

  .user-account-management-body{
    padding-right: 12px;
    padding-left: 12px;
  }

  .credit-source-value{
    font-size: 18px;
  }

  .credit-package-grid{
    grid-template-columns: 1fr;
  }

  .user-style-reference-list{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .user-collapsible-summary{
    padding: 0 12px;
  }

  .user-collapsible-summary .credit-section-heading{
    padding-right: 30px;
  }

  .user-collapsible-section > .credit-package-grid,
  .user-collapsible-section > .credit-order-list{
    padding: 0 12px 12px;
  }

  .credit-package-card-header{
    align-items: flex-start;
  }

}
