@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+TC:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #243447;
  --ink-soft: #142437;
  --paper: #f3f6fa;
  --paper-bright: #f5f7fb;
  --paper-muted: #edf1f6;
  --orange: #e85e46;
  --orange-dark: #cb4433;
  --lime: #e5f4ef;
  --lilac: #edf0ff;
  --muted: #68778b;
  --muted-light: #8390a0;
  --line: #e3e9f0;
  --white: #ffffff;
  --success: #168477;
  --danger: #bd3e3e;
  --font-sans: 'DM Sans', 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --font-display: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  --shadow-soft: 0 12px 35px rgba(23, 42, 64, .065);
  --shadow-card: 0 2px 3px rgba(23, 42, 64, .018), 0 5px 20px rgba(23, 42, 64, .035);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--paper-bright); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper-bright); font-family: var(--font-sans); font-size: 14px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
body.is-busy { cursor: progress; }
[hidden] { display: none !important; }
::selection { color: var(--ink-soft); background: #cce7e2; }
:focus-visible { outline: 3px solid rgba(22, 132, 119, .75); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 18px; border-radius: 7px; color: var(--white); background: var(--success); font-weight: 600; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon { width: 20px; height: 20px; flex: 0 0 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* Brand and authenticated navigation */
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; max-width: 100%; }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 3px; width: 29px; height: 29px; padding: 3px; transform: rotate(-8deg); }
.brand-mark i { display: block; width: 6px; border-radius: 4px 4px 2px 2px; background: var(--orange); }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 16px; background: #61b5a6; }
.brand-mark i:nth-child(3) { height: 22px; }
.brand-name { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; white-space: nowrap; font-size: 13px; font-weight: 600; letter-spacing: .06em; line-height: 1.2; }
.brand-name b { color: var(--orange); font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.brand-on-dark { color: var(--white); }
.brand-on-light { color: var(--ink-soft); }
.dashboard-shell { display: grid; grid-template-columns: 246px minmax(0, 1fr); min-height: 100vh; background: var(--paper-bright); }
.sidebar { position: sticky; z-index: 25; top: 0; display: flex; flex-direction: column; justify-content: space-between; height: 100dvh; min-height: 660px; padding: 27px 16px 19px; color: #f4f7fc; background: linear-gradient(160deg, #192d43 0%, #122235 75%); border-right: 1px solid #203449; }
.sidebar-top { min-height: 0; }
.sidebar-brand { margin: 0 14px 31px; }
.sidebar-label { margin: 0 15px 11px; color: #98adc1; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.sidebar-nav { display: grid; gap: 5px; }
.nav-group-label { margin: 19px 15px 8px; color: #8ea3ba; font-size: 11px; font-weight: 500; letter-spacing: .04em; }
.sidebar-nav > .nav-group-label:first-child { margin-top: 0; }
.nav-item { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; color: #b3c1d0; font-size: 14px; font-weight: 500; transition: background .18s, color .18s, border-color .18s; }
.nav-item:hover { color: #fff; background: rgba(255, 255, 255, .055); }
.nav-item.is-active { border-color: rgba(111, 195, 179, .1); color: #b7f2e4; background: rgba(68, 151, 139, .2); box-shadow: inset 3px 0 #64c1af; }
.nav-icon { display: grid; place-items: center; width: 21px; height: 21px; color: #9ab1c6; font-size: 19px; line-height: 1; }
.nav-item.is-active .nav-icon { color: #77d0bd; }
.sidebar-bottom { display: grid; gap: 14px; margin-top: 24px; }
.sidebar-info { margin: 0 6px 6px; padding: 14px; border: 1px solid #2a3d52; border-radius: 9px; color: #a8bbcd; background: rgba(255, 255, 255, .025); font-size: 12px; line-height: 1.7; }
.sidebar-info strong { display: block; margin-bottom: 4px; color: #dce7f1; font-size: 12px; font-weight: 600; }
.return-home { display: inline-flex; align-items: center; gap: 9px; padding-left: 14px; color: #afbdce; font-size: 12px; }
.return-home:hover { color: #fff; }
.return-home span { font-size: 18px; }
.sidebar-user { display: flex; align-items: center; gap: 11px; margin: 0 6px; padding: 16px 6px 4px; border-top: 1px solid #2b3d52; }
.avatar, .workspace-account-avatar { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 1px solid rgba(111, 196, 179, .16); border-radius: 10px; color: #a1e1d1; background: #26473f; font-size: 13px; font-weight: 600; }
.sidebar-user-copy { display: grid; gap: 2px; min-width: 0; }
.sidebar-user-copy strong { font-size: 13px; font-weight: 600; }
.sidebar-user-copy small { max-width: 165px; color: #9fafc0; font-size: 11px; }
.sidebar-user-copy strong, .sidebar-user-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logout-button, .mobile-logout { display: inline-flex; align-items: center; gap: 8px; width: max-content; padding: 5px 14px; border: 0; color: #adbdcf; background: transparent; font-size: 12px; font-weight: 500; }
.logout-button:hover { color: #fff; }
.sidebar-copyright { margin: 0 14px; color: #8ea3ba; font-size: 10px; }
.dashboard-main { min-width: 0; }
.mobile-header, .mobile-tabs { display: none; }
.workspace-topbar { position: sticky; top: 0; z-index: 18; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; padding: 0 34px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .97); }
.workspace-breadcrumb { display: flex; align-items: center; gap: 11px; color: var(--muted); font-size: 13px; }
.workspace-breadcrumb span:last-child { color: var(--ink); font-weight: 500; }
.workspace-breadcrumb .breadcrumb-divider { color: #bcc6d1; }
.workspace-account { display: flex; align-items: center; gap: 11px; }
.workspace-role { padding: 3px 9px; border: 1px solid #d7e5e1; border-radius: 5px; color: #247b6b; background: #f1f8f5; font-size: 11px; }
.workspace-account-name { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 600; }
.workspace-account-avatar { width: 32px; height: 32px; flex-basis: 32px; color: #447369; background: #eaf2ef; border-radius: 50%; }
.content-wrap { width: calc(100% - 68px); max-width: 1480px; margin: 0 auto; padding: 29px 0 54px; }
.content-header { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 26px; }
.eyebrow, .section-kicker, .form-kicker { margin: 0; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .11em; line-height: 1.4; }
.content-heading > .eyebrow { display: none; }
.content-heading h1 { margin: 0 0 6px; color: var(--ink-soft); font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -.04em; line-height: 1.35; }
.content-heading > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.content-header-actions { display: flex; align-items: center; gap: 13px; }
.balance-chip { display: flex; align-items: center; gap: 10px; min-height: 41px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.balance-chip-label { color: var(--muted); font-size: 12px; }
.balance-chip strong { color: var(--ink-soft); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.global-notice { margin: 0 0 20px; padding: 12px 16px; border: 1px solid #f2dbc3; border-radius: 8px; color: #845b27; background: #fff7ec; font-size: 13px; }
.tab-panel { min-width: 0; }

/* Shared forms and controls */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 43px; padding: 0 18px; border: 1px solid transparent; border-radius: 8px; font-size: 13px; font-weight: 600; line-height: 1.4; transition: background .18s, box-shadow .18s, border-color .18s; }
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 3px 8px rgba(232, 94, 70, .13); }
.button-primary:hover:not(:disabled) { background: var(--orange-dark); box-shadow: 0 4px 10px rgba(232, 94, 70, .2); }
.button-dark { color: #fff; background: var(--ink-soft); }
.button-dark:hover:not(:disabled) { background: #28415c; }
.button-wide { width: 100%; }
.button-small { min-height: 39px; padding-inline: 15px; font-size: 12px; }
.button-disabled, .button-disabled:hover { color: #7d8897; border-color: #dfe5ec; background: #edf1f6; box-shadow: none; }
.button-arrow { font-size: 18px; font-weight: 400; }
.button[aria-busy='true'] { opacity: .75; }
.field-group { min-width: 0; margin-bottom: 18px; }
.field-group > label { display: block; margin-bottom: 8px; color: #344459; font-size: 13px; font-weight: 600; line-height: 1.4; }
.field-group input, .field-group select, .field-group textarea { display: block; width: 100%; border: 1px solid #dbe2eb; border-radius: 8px; outline: none; color: var(--ink); background: #fff; font-size: 14px; transition: border-color .18s, box-shadow .18s; }
.field-group input, .field-group select { min-height: 45px; padding: 0 13px; }
.field-group select { padding-right: 32px; }
.field-group textarea { min-height: 94px; padding: 11px 13px; resize: vertical; line-height: 1.7; }
.field-group input::placeholder, .field-group textarea::placeholder { color: #929dab; }
.field-group input:hover, .field-group select:hover, .field-group textarea:hover { border-color: #b3c0cd; }
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-color: #409a8f; box-shadow: 0 0 0 3px rgba(22, 132, 119, .09); }
.field-group input:disabled, .field-group select:disabled { color: #8b95a3; background: #f4f6f9; }
.field-group input:user-invalid, .field-group select:user-invalid, .field-group textarea:user-invalid, .field-group.has-error input, .field-group.has-error select, .field-group.has-error textarea { border-color: var(--danger); }
.field-help { min-height: 17px; margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.field-help.field-error { color: var(--danger); }
.field-help-end { display: flex; justify-content: space-between; gap: 10px; }
.required-mark { color: var(--orange-dark); }
.optional-label { float: right; color: var(--muted); font-size: 11px; font-weight: 400; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field-span-2 { grid-column: span 2; }
.form-divider { height: 1px; margin: 6px 0 19px; background: var(--line); }
.check-row { position: relative; display: grid; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; cursor: pointer; color: #556378; font-size: 12px; line-height: 1.8; }
.check-row input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-box { position: relative; display: block; width: 18px; height: 18px; margin-top: 2px; border: 1px solid #b8c3cf; border-radius: 4px; background: #fff; }
.check-row input:checked + .check-box { border-color: var(--success); background: var(--success); }
.check-row input:checked + .check-box::after { position: absolute; top: 2px; left: 6px; width: 4px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; content: ''; transform: rotate(45deg); }
.check-row input:focus-visible + .check-box { outline: 3px solid rgba(22, 132, 119, .6); outline-offset: 3px; }
.check-row input:user-invalid + .check-box { border-color: var(--danger); }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.form-status-wrap { min-width: 0; }
.form-status { min-height: 18px; margin: 0; color: var(--muted); font-size: 12px; }
.form-status.is-error { color: var(--danger); }
.form-status.is-success { color: var(--success); }
.order-recovery { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.order-recovery .text-link { padding: 0; border: 0; font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; color: #278476; background: transparent; font-size: 12px; font-weight: 600; }
.text-link:hover { color: #145f55; text-decoration: underline; text-underline-offset: 4px; }
.text-link span { font-size: 16px; }
.panel-loading { display: flex; align-items: center; gap: 10px; min-height: 47px; margin-bottom: 14px; padding: 0 15px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); background: #fff; font-size: 13px; }
.loading-dot { width: 12px; height: 12px; border: 2px solid #dce5ee; border-top-color: var(--success); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Metrics, history, and honest empty states */
.section-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
.metric-card { position: relative; min-height: 152px; padding: 21px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.metric-card-accent { border-color: #d2e8e1; background: linear-gradient(120deg, #fff, #f1faf6); }
.metric-topline { display: flex; align-items: center; justify-content: space-between; color: #5f6d81; font-size: 13px; font-weight: 500; }
.metric-symbol { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; color: #208978; background: #eaf6f1; font-size: 18px; }
.metric-card:nth-child(2) .metric-symbol { color: #5a76bf; background: #edf1fc; }
.metric-card:nth-child(3) .metric-symbol { color: #b27d2f; background: #fcf4e6; }
.metric-card:nth-child(4) .metric-symbol { color: #8b6bc4; background: #f2eefb; }
.metric-value { display: block; margin: 13px 0 7px; color: #243447; font-size: clamp(26px, 2.2vw, 33px); font-weight: 700; letter-spacing: -.045em; font-variant-numeric: tabular-nums; line-height: 1.25; }
.metric-caption { color: var(--muted); font-size: 12px; }
.recent-section, .orders-card, .ledger-card { padding: 23px 24px 10px; }
.section-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-card-heading h2, .page-intro-row h2 { margin: 4px 0 0; color: var(--ink-soft); font-size: 18px; font-weight: 600; letter-spacing: -.025em; line-height: 1.5; }
.request-list { min-width: 0; }
.request-row { display: grid; grid-template-columns: minmax(150px, 1.3fr) minmax(110px, .8fr) minmax(120px, .8fr) auto; align-items: center; gap: 18px; min-height: 84px; padding: 15px 5px; border-top: 1px solid var(--line); }
.request-row-main { min-width: 0; }
.request-reference { display: block; margin-bottom: 4px; color: var(--muted); font-size: 11px; letter-spacing: .03em; }
.request-title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; }
.request-title-link:hover { color: var(--success); }
.request-meta { color: var(--muted); font-size: 12px; }
.request-meta strong { display: block; color: #405069; font-size: 13px; font-weight: 500; }
.request-date { color: var(--muted); font-size: 12px; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; width: max-content; min-height: 26px; padding: 3px 10px; border: 1px solid transparent; border-radius: 6px; font-size: 11px; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.status-pill-lime { color: #227962; border-color: #d8ebe2; background: #edf7f1; }
.status-pill-orange { color: #9d6b23; border-color: #f2e2c5; background: #fff7e8; }
.status-pill-blue { color: #5072ab; border-color: #dce5f5; background: #edf3fd; }
.status-pill-muted { color: #687589; border-color: #e1e6ed; background: #f0f3f7; }
.status-pill-dark { color: #fff; background: var(--ink-soft); }
.empty-state { display: grid; place-items: center; min-height: 214px; padding: 32px 20px; border-top: 1px solid var(--line); text-align: center; }
.empty-state-mark { display: grid; place-items: center; width: 49px; height: 49px; margin-bottom: 12px; border: 1px solid #dfe8ee; border-radius: 13px; color: #7696a3; background: #f3f7fa; font-size: 24px; line-height: 1; }
.empty-state h3 { margin: 0 0 5px; color: #405069; font-size: 15px; font-weight: 600; }
.empty-state p { max-width: 400px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.empty-state .text-link { margin-top: 14px; }
.overview-callout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 21px; margin-top: 22px; padding: 24px; border: 1px solid #d9e7e5; border-radius: 12px; background: linear-gradient(110deg, #edf7f4, #f8fbfc); }
.callout-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d1e7df; border-radius: 12px; color: #1c8e78; background: #fff; font-size: 23px; }
.overview-callout h2 { margin: 5px 0 5px; color: #22463e; font-size: 18px; font-weight: 600; }
.overview-callout p:not(.section-kicker) { max-width: 650px; margin: 0; color: #5f7b74; font-size: 13px; }
.page-intro-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.page-intro-row .section-kicker { display: none; }
.page-intro { max-width: 700px; margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.page-intro-row-orders { margin-bottom: 20px; }
.request-details { grid-column: 1 / -1; min-width: 0; color: var(--muted); font-size: 12px; }
.request-details summary { width: max-content; cursor: pointer; color: var(--success); }
.request-details dl { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 8px 14px; margin: 13px 0 4px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.request-details dt { color: #4c5d71; font-weight: 600; }
.request-details dd { margin: 0; overflow-wrap: anywhere; white-space: pre-wrap; }

/* Order composer: functional density, platform selection, persistent summary */
.order-workflow { display: flex; align-items: center; gap: 0; margin-bottom: 24px; padding: 16px 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.workflow-step { position: relative; display: flex; align-items: center; gap: 11px; flex: 1; color: #8390a0; font-size: 13px; }
.workflow-step:not(:last-child)::after { display: block; flex: 1; height: 1px; margin: 0 26px; background: #e5ebf1; content: ''; }
.workflow-step > span:first-child, .workflow-number { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid #e2e8ef; border-radius: 50%; color: #8897a7; background: #f7f9fc; font-size: 11px; font-weight: 600; }
.workflow-step.is-active { color: #287d70; font-weight: 600; }
.workflow-step.is-active > span:first-child, .workflow-step.is-complete > span:first-child { border-color: #c9e8de; color: #238270; background: #e9f7f0; }
.workflow-step.is-complete { color: #437c6f; }
.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 326px; align-items: start; gap: 23px; }
.order-form { padding: 24px 27px; }
.form-section { margin-bottom: 8px; }
.form-section-heading { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 20px; }
.step-number { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 8px; color: #507b8b; background: #edf3f7; font-size: 11px; font-weight: 600; }
.form-section-heading h3 { margin: 0 0 3px; color: #293e52; font-size: 16px; font-weight: 600; }
.form-section-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.form-section + .form-section { margin-top: 12px; padding-top: 23px; border-top: 1px solid var(--line); }
.platform-shortcuts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 19px; }
.platform-choice { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid #e2e7ee; border-radius: 8px; color: #657389; background: #fff; font-size: 12px; font-weight: 500; transition: border-color .18s, background .18s; }
.platform-choice:hover { color: #37495d; border-color: #b5c5d4; background: #f8fafc; }
.platform-choice.is-active { border-color: #8cbfb3; color: #237765; background: #eef8f4; box-shadow: 0 0 0 1px rgba(85, 157, 140, .04); }
.platform-badge { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 6px; color: #4c6987; background: #edf2f8; font-size: 11px; font-weight: 700; }
.platform-choice[data-platform-choice='Facebook'] .platform-badge { color: #4776bf; background: #eaf0fd; }
.platform-choice[data-platform-choice='Instagram'] .platform-badge { color: #b06988; background: #faf0f4; }
.platform-choice[data-platform-choice='YouTube'] .platform-badge { color: #c76563; background: #fcf0ee; }
.platform-choice[data-platform-choice='Twitch'] .platform-badge { color: #876bb5; background: #f2eefb; }
.order-aside { position: sticky; top: 89px; display: grid; gap: 16px; min-width: 0; }
.order-summary-card { min-width: 0; overflow: hidden; padding: 22px; border: 1px solid #dce5ed; border-radius: 12px; background: #fff; box-shadow: var(--shadow-card); }
.summary-kicker { margin: 0 0 5px; color: #7a8ca0; font-size: 10px; font-weight: 600; letter-spacing: .1em; }
.order-summary-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; color: #263e54; font-size: 17px; font-weight: 600; }
.order-summary-card h3 .ui-icon { color: #7895a3; }
.summary-empty { padding: 19px 14px; border: 1px dashed #d7e2eb; border-radius: 8px; color: #7b8da0; background: #f8fafc; font-size: 13px; text-align: center; }
.summary-lines { display: grid; gap: 15px; margin: 0 0 18px; }
.summary-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; font-size: 12px; }
.summary-line dt { flex: 0 0 74px; color: #768498; }
.summary-line dd { margin: 0; color: #42566c; font-size: 13px; text-align: right; overflow-wrap: anywhere; }
.summary-total { margin: 18px -22px 0; padding: 19px 22px 17px; border-top: 1px solid #e8edf2; border-bottom: 1px solid #e8edf2; background: #f8fafc; }
.summary-total > span, .summary-total-label { display: block; margin-bottom: 7px; color: #778699; font-size: 12px; }
.summary-total strong, #summary-estimate { display: block; color: #d75740; font-size: 30px; font-weight: 700; letter-spacing: -.04em; line-height: 1.4; }
.summary-caption { margin: 6px 0 0; color: #8892a0; font-size: 11px; line-height: 1.7; }
.summary-footer { display: flex; align-items: flex-start; gap: 8px; margin-top: 15px; color: #6b7d8b; font-size: 11px; line-height: 1.8; }
.summary-footer .ui-icon { width: 15px; height: 15px; flex-basis: 15px; margin-top: 3px; color: #71978a; }
.service-selection-info { padding: 15px; border: 1px solid #dfe9ec; border-radius: 9px; background: #f7fafb; }
.service-info-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(110px, .7fr) minmax(100px, .7fr); gap: 16px; }
.service-info-grid > div { min-width: 0; }
.service-info-label { display: block; margin-bottom: 5px; color: var(--muted); font-size: 11px; }
.service-info-grid strong { display: block; overflow-wrap: anywhere; font-size: 12px; font-weight: 500; line-height: 1.8; }
#order-service-reference { margin-top: 12px; }
.service-estimate { margin: 11px 0 0; color: #648276; font-size: 12px; line-height: 1.8; }
.order-summary-card .service-selection-info { margin-top: 17px; padding: 14px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.order-summary-card .service-info-grid { grid-template-columns: 1fr; gap: 12px; }
.order-summary-card .service-info-grid > div:not(:first-child) { display: none; }
.order-summary-card .service-info-grid strong { color: #778396; font-size: 11px; }
.order-help-card { padding: 20px; border: 1px solid #dce8e6; border-radius: 12px; background: #eff7f4; }
.order-help-card h3 { margin: 0 0 13px; color: #2d6054; font-size: 13px; font-weight: 600; }
.order-help-card p { margin: 7px 0 0; color: #698077; font-size: 12px; line-height: 1.9; }
.order-help-card ol { display: grid; gap: 11px; margin: 0; padding-left: 19px; color: #647f76; font-size: 12px; }
.order-help-card li strong { display: block; margin-bottom: 2px; color: #3b685b; font-weight: 500; }
.aside-note { display: grid; grid-template-columns: 23px 1fr; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.aside-note-lime { border-color: #d6e9e2; background: #edf7f2; }
.aside-note-icon { display: grid; place-items: center; width: 23px; height: 23px; border: 1px solid #b7d2c8; border-radius: 50%; color: #589481; font-size: 12px; }
.aside-note h3 { margin: 0 0 5px; color: #416256; font-size: 13px; font-weight: 600; }
.aside-note p { margin: 0; color: #6b807a; font-size: 12px; line-height: 1.8; }

/* Service catalogue and transaction tools */
.default-services-panel { margin-top: 24px; padding: 24px; }
.default-services-panel .section-card-heading { align-items: flex-start; margin-bottom: 18px; }
.default-services-panel .page-intro { margin-top: 6px; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 13px; margin-bottom: 18px; }
.catalog-toolbar .field-group { margin-bottom: 0; }
.catalog-search { width: 255px; max-width: 100%; }
.catalog-search input, #catalog-search { min-height: 39px; }
.catalog-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.catalog-filter { min-height: 32px; padding: 5px 10px; border: 1px solid transparent; border-radius: 6px; color: #7b899a; background: transparent; font-size: 12px; }
.catalog-filter:hover { color: #426858; background: #f0f6f3; }
.catalog-filter.is-active { border-color: #dfebe6; color: #26795f; background: #edf6f0; font-weight: 600; }
#catalog-result-count { margin: 0; color: var(--muted); font-size: 12px; }
.catalog-status { margin-bottom: 15px; padding: 10px 13px; border: 1px solid #f0e2c9; border-radius: 7px; color: #926b32; background: #fffaf0; font-size: 12px; line-height: 1.8; }
.catalog-status:empty { display: none; }
.catalog-status.is-error { color: var(--danger); border-color: #f0cece; background: #fdf2f2; }
.catalog-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #e7edf2; border-radius: 8px; }
.default-services-table { width: 100%; min-width: 670px; border-collapse: collapse; font-size: 13px; }
.default-services-table th, .default-services-table td { padding: 14px 15px; border-bottom: 1px solid #edf1f5; text-align: left; vertical-align: middle; }
.default-services-table th { color: #6b7c8f; background: #f7f9fc; font-size: 12px; font-weight: 500; white-space: nowrap; }
.default-services-table tbody tr:hover { background: #fcfdfd; }
.default-services-table tbody tr:last-child td { border-bottom: 0; }
.default-services-table td:nth-child(2) { color: #374e65; font-weight: 500; }
.default-services-table td:nth-child(3), .default-services-table td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.default-services-table td:nth-child(3) { color: #507269; }
.catalog-select-button { min-height: 31px; padding: 3px 12px; border: 1px solid #dce5eb; border-radius: 6px; color: #456777; background: #fff; font-size: 12px; }
.catalog-select-button:hover { border-color: #a0c4ba; color: #267966; background: #eef7f3; text-decoration: none; }
.default-services-panel > .button { margin-top: 15px; }
.orders-toolbar { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 17px; }
.compact-field { width: 170px; margin: 0; }
.compact-field.search-field { flex: 1; max-width: 370px; }
.compact-field > label { font-size: 12px; }
.compact-field select, .compact-field input { min-height: 41px; font-size: 13px; }
.search-input-wrap { position: relative; }
.search-input-wrap > span { position: absolute; top: 50%; left: 12px; color: #889aae; font-size: 20px; line-height: 1; transform: translateY(-50%); }
.search-input-wrap input { padding-left: 35px; }
.button-filter { min-height: 41px; padding-inline: 19px; font-size: 12px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 0 9px; border-top: 1px solid var(--line); }
.pagination-summary { color: var(--muted); font-size: 12px; }
.pagination-buttons { display: flex; gap: 7px; }
.pagination-button { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 7px; color: #59728d; background: #fff; font-size: 17px; }
.pagination-button:hover:not(:disabled) { color: #287c6c; border-color: #bfdad1; background: #f0f9f5; }
.pagination-button:disabled { color: #aab6c4; background: #f6f8fb; }

/* Points ledger */
.provider-badge { display: inline-flex; align-items: center; gap: 7px; color: #9b743a; font-size: 12px; }
.provider-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #c4a574; }
.wallet-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; margin-bottom: 23px; }
.balance-card { position: relative; overflow: hidden; min-height: 233px; padding: 28px; border: 1px solid #1d4152; border-radius: 14px; color: #fff; background: linear-gradient(125deg, #193348, #245954); box-shadow: 0 5px 18px rgba(24, 60, 70, .09); }
.balance-card::after { position: absolute; width: 240px; height: 240px; right: -90px; bottom: -90px; border: 1px solid rgba(173, 216, 208, .13); border-radius: 50%; box-shadow: 0 0 0 24px rgba(173, 216, 208, .04), 0 0 0 49px rgba(173, 216, 208, .035); content: ''; pointer-events: none; }
.balance-card-top { display: flex; align-items: center; justify-content: space-between; color: #adcad0; font-size: 11px; font-weight: 500; letter-spacing: .1em; }
.balance-card-symbol { color: #92caba; font-size: 23px; }
.balance-card strong { position: relative; z-index: 1; display: block; margin-top: 37px; color: #fff; font-size: clamp(32px, 3vw, 43px); font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.balance-card p { margin: 10px 0 0; color: #b8d1d3; font-size: 13px; }
.topup-card { display: grid; grid-template-columns: 45px 1fr; gap: 17px; align-items: start; min-height: 233px; padding: 28px; background: #fff; }
.topup-icon { display: grid; place-items: center; width: 45px; height: 45px; border: 1px solid #e4e9ef; border-radius: 12px; color: #7890a6; background: #f4f7fa; font-size: 23px; }
.topup-card h3 { margin: 7px 0 8px; font-size: 19px; font-weight: 600; }
.topup-card p:not(.section-kicker) { max-width: 450px; margin: 0 0 17px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.topup-card .button { min-height: 35px; font-size: 12px; }
.muted-label { color: var(--muted); font-size: 12px; }
.ledger-row { display: grid; grid-template-columns: 1fr minmax(100px, .6fr) auto; align-items: center; gap: 18px; min-height: 79px; padding: 14px 0; border-top: 1px solid var(--line); }
.ledger-main strong { display: block; margin-bottom: 3px; font-size: 13px; font-weight: 500; }
.ledger-main span { color: var(--muted); font-size: 12px; }
.ledger-reference { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.ledger-amount { text-align: right; font-size: 15px; font-weight: 600; white-space: nowrap; }
.ledger-amount.is-credit { color: var(--success); }
.ledger-amount.is-debit { color: var(--danger); }

/* Login: product identity without invented guarantees */
.auth-gate { position: relative; display: grid; min-height: 100dvh; overflow: hidden; color: #f0f7ff; background: #152b40; }
.auth-backdrop { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(ellipse at 6% 90%, rgba(36, 112, 102, .3), transparent 64%), radial-gradient(ellipse at 90% 6%, rgba(80, 114, 155, .16), transparent 60%); }
.backdrop-orb { position: absolute; display: block; border: 1px solid rgba(167, 198, 220, .055); border-radius: 50%; }
.backdrop-orb::after { position: absolute; inset: 14%; border: 1px solid rgba(167, 198, 220, .045); border-radius: inherit; content: ''; }
.backdrop-orb-orange { top: -30vw; right: -12vw; width: 65vw; height: 65vw; }
.backdrop-orb-lime { bottom: -42vw; left: -20vw; width: 75vw; height: 75vw; }
.backdrop-grid { position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(178, 196, 218, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(178, 196, 218, .13) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(130deg, transparent 25%, black 90%); }
.auth-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 100px; align-items: center; width: min(1120px, calc(100% - 90px)); min-height: 100dvh; margin: 0 auto; padding: 60px 0; }
.auth-intro { max-width: 550px; }
.auth-intro > .brand { margin-bottom: 80px; }
.auth-intro .brand-name { font-size: 14px; }
.auth-intro .brand-name b { font-size: 25px; }
.auth-intro .eyebrow { margin-bottom: 19px; color: #8bbcaf; font-size: 12px; letter-spacing: .08em; }
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow-dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #68b6a6; }
.auth-intro h1 { margin: 0 0 23px; color: #fff; font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 46px); font-weight: 600; letter-spacing: -.05em; line-height: 1.5; }
.auth-lead { max-width: 455px; margin: 0; color: #a4bacb; font-size: 14px; line-height: 2; }
.auth-promise { display: flex; flex-wrap: wrap; gap: 15px 22px; margin-top: 36px; }
.promise-item { display: inline-flex; align-items: center; gap: 8px; color: #afc8d5; font-size: 12px; }
.promise-icon { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #436858; border-radius: 6px; color: #8dcdb4; background: rgba(62, 141, 116, .06); font-size: 12px; }
.auth-card { overflow: hidden; color: var(--ink); border: 1px solid #e5edf3; border-radius: 16px; background: #fff; box-shadow: 0 25px 60px rgba(0, 15, 27, .22); }
.auth-card-head { padding: 34px 34px 22px; }
.form-kicker { color: #899bb0; font-size: 10px; font-weight: 500; }
.auth-card-head h2 { margin: 10px 0 6px; color: #23394c; font-size: 26px; font-weight: 600; letter-spacing: -.04em; line-height: 1.4; }
.auth-card-subtitle { margin: 0; color: var(--muted); font-size: 13px; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 34px 24px; padding: 4px; border: 1px solid #edf1f5; border-radius: 8px; background: #f4f7fa; }
.auth-switch-button { min-height: 36px; padding: 0; border: 0; border-radius: 6px; color: #7a8798; background: transparent; font-size: 13px; font-weight: 500; }
.auth-switch-button.is-active { color: #235b53; background: #fff; box-shadow: 0 1px 5px rgba(40, 70, 90, .08); }
.auth-form { padding: 0 34px 26px; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 57px; }
.password-toggle { position: absolute; top: 50%; right: 11px; padding: 4px; border: 0; color: #758699; background: transparent; font-size: 11px; transform: translateY(-50%); }
.password-toggle:hover { color: var(--success); }
.auth-footnote { margin: 0; padding: 20px 34px 24px; border-top: 1px solid #edf1f5; color: #7f8b9b; background: #fcfdfe; font-size: 11px; line-height: 1.9; }
.notice { margin: 0 34px 18px; padding: 11px 13px; border: 1px solid; border-radius: 7px; font-size: 12px; }
.notice-error { border-color: #f0d0d0; color: #ad4747; background: #fff4f4; }
.notice-info { border-color: #eedcbb; color: #927448; background: #fff9ed; }

.toast-region { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: grid; gap: 10px; width: min(380px, calc(100% - 40px)); pointer-events: none; }
.toast { padding: 14px 18px; border: 1px solid #304b65; border-radius: 10px; color: #fff; background: #223a50; box-shadow: 0 10px 35px rgba(20, 39, 60, .2); font-size: 13px; pointer-events: auto; animation: toast-in .2s ease both; }
.toast.is-error { border-color: #c47e72; }
.toast.is-success { border-color: #589e8c; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Responsive workspace */
@media (min-width: 1680px) {
  .content-wrap { padding-top: 34px; }
  .order-form { padding: 28px 30px; }
  .order-layout { grid-template-columns: minmax(0, 1fr) 345px; gap: 25px; }
}
@media (max-height: 810px) and (min-width: 901px) {
  .sidebar { padding-top: 23px; }
  .sidebar-brand { margin-bottom: 25px; }
  .sidebar-info { display: none; }
  .sidebar-bottom { gap: 10px; }
  .nav-item { min-height: 42px; }
}
@media (max-width: 1200px) {
  .dashboard-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .sidebar-brand { margin-inline: 10px; }
  .content-wrap { width: calc(100% - 48px); }
  .workspace-topbar { padding-inline: 24px; }
  .order-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; }
  .order-form { padding: 23px; }
  .order-summary-card { padding: 19px; }
  .summary-total { margin-inline: -19px; padding-inline: 19px; }
  .metrics-grid { gap: 12px; }
  .metric-card { padding: 18px; }
  .content-header-actions { gap: 9px; }
  .content-header-actions .balance-chip-label { display: none; }
  .auth-layout { gap: 60px; width: min(1040px, calc(100% - 64px)); }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-aside { position: static; grid-template-columns: 1fr 1fr; }
  .summary-lines { gap: 10px; }
  .service-info-grid { grid-template-columns: 1fr; }
  .request-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .request-meta { grid-column: 1; grid-row: 2; }
  .request-date { grid-column: 2; grid-row: 2; text-align: right; }
  .request-row .status-pill { grid-column: 2; grid-row: 1; }
  .wallet-grid { grid-template-columns: 1fr; }
  .overview-callout { grid-template-columns: auto 1fr; }
  .overview-callout .button { grid-column: 2; justify-self: start; margin-top: 5px; }
}
@media (max-width: 900px) {
  .dashboard-shell { display: block; }
  .sidebar { display: none; }
  .workspace-topbar { height: 55px; padding-inline: 24px; }
  .workspace-account-name { max-width: 100px; }
  .workspace-account-avatar { display: none; }
  .mobile-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; padding: 11px 24px; background: #fff; }
  .mobile-header .brand-name { flex-direction: row; align-items: baseline; gap: 7px; font-size: 13px; }
  .mobile-header .brand-name b { font-size: 18px; }
  .mobile-logout { padding: 7px 12px; border: 1px solid var(--line); border-radius: 7px; color: #6c7d8f; background: #fff; font-size: 12px; }
  .mobile-tabs { position: sticky; top: 55px; z-index: 20; display: flex; align-items: center; gap: 4px; overflow-x: auto; padding: 0 18px; border-top: 1px solid #f0f3f7; border-bottom: 1px solid var(--line); background: #fff; scrollbar-width: none; }
  .mobile-tabs::-webkit-scrollbar { display: none; }
  .mobile-tabs a { display: flex; align-items: center; min-height: 46px; padding: 0 14px; border-bottom: 2px solid transparent; color: #738095; font-size: 12px; white-space: nowrap; }
  .mobile-tabs a.is-active { border-color: #449c89; color: #237d66; font-weight: 600; }
  .content-wrap { width: calc(100% - 48px); padding-top: 24px; }
  .order-aside { top: 125px; }
  .auth-layout { grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; width: calc(100% - 50px); }
  .auth-intro h1 { font-size: 33px; }
  .auth-intro > .brand { margin-bottom: 55px; }
  .auth-promise { gap: 14px; }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  .auth-layout { grid-template-columns: 1fr; width: min(470px, calc(100% - 36px)); gap: 30px; padding: 35px 0; }
  .auth-intro > .brand { margin-bottom: 25px; }
  .auth-intro .eyebrow, .auth-promise { display: none; }
  .auth-intro h1 { margin-bottom: 12px; font-size: 28px; line-height: 1.5; }
  .auth-lead { font-size: 13px; }
  .auth-card-head { padding: 27px 28px 20px; }
  .auth-form { padding-inline: 28px; }
  .auth-switch, .notice { margin-inline: 28px; }
  .auth-footnote { padding-inline: 28px; }
  .order-layout { grid-template-columns: 1fr; }
  .order-aside { position: static; grid-template-columns: 1fr 1fr; }
  .summary-total strong, #summary-estimate { font-size: 25px; }
  .service-info-grid { grid-template-columns: 1fr; }
  .wallet-grid { grid-template-columns: 1fr; }
  .content-header { align-items: flex-start; flex-wrap: wrap; }
  .content-header-actions { margin-left: auto; }
  .content-header-actions .balance-chip-label { display: inline; }
  .overview-callout { grid-template-columns: auto 1fr; }
  .overview-callout .button { grid-column: 2; justify-self: start; }
  .request-row { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 15px; }
  .request-row .request-meta { grid-column: 1; grid-row: 2; }
  .request-row .request-date { grid-column: 2; grid-row: 2; text-align: right; }
  .request-row .status-pill { grid-column: 2; grid-row: 1; }
}
@media (max-width: 540px) {
  .workspace-topbar { padding-inline: 18px; }
  .workspace-breadcrumb { gap: 7px; font-size: 11px; }
  .workspace-breadcrumb > .ui-icon { display: none; }
  .workspace-account-name { display: none; }
  .workspace-role { font-size: 10px; }
  .mobile-header { padding-inline: 18px; }
  .mobile-tabs { padding-inline: 9px; }
  .mobile-tabs a { padding-inline: 12px; }
  .content-wrap { width: calc(100% - 32px); padding-top: 22px; }
  .content-heading h1 { font-size: 24px; }
  .content-header { gap: 15px; margin-bottom: 21px; }
  .content-header-actions { width: 100%; justify-content: space-between; }
  .content-heading > p:last-child { font-size: 12px; }
  .balance-chip { padding-inline: 11px; }
  .metrics-grid { gap: 10px; }
  .metric-card { min-height: 143px; padding: 15px; }
  .metric-topline { font-size: 12px; }
  .metric-symbol { width: 25px; height: 25px; border-radius: 7px; font-size: 15px; }
  .metric-value { font-size: 25px; }
  .metric-caption { font-size: 11px; }
  .section-card-heading { align-items: flex-start; gap: 12px; }
  .section-card-heading h2 { font-size: 17px; }
  .recent-section, .orders-card, .ledger-card { padding: 20px 16px 10px; }
  .page-intro-row { align-items: flex-start; gap: 12px; }
  .page-intro-row .page-intro { font-size: 12px; }
  .page-intro-row .status-pill { margin-top: 5px; }
  .order-workflow { padding: 14px 13px; margin-bottom: 17px; }
  .workflow-step { gap: 6px; flex-direction: column; align-items: center; font-size: 11px; text-align: center; }
  .workflow-step:not(:last-child)::after { position: absolute; top: 13px; left: calc(50% + 19px); right: calc(-50% + 19px); margin: 0; }
  .order-form { padding: 21px 17px; }
  .form-grid { display: block; }
  .field-span-2 { grid-column: auto; }
  .platform-shortcuts { gap: 7px; }
  .platform-choice { padding: 6px 9px; min-height: 38px; font-size: 11px; }
  .platform-badge { width: 19px; height: 19px; flex-basis: 19px; font-size: 10px; }
  .form-actions { display: block; }
  .form-actions .button { width: 100%; margin-top: 10px; }
  .form-section-heading p { font-size: 11px; }
  .order-aside { grid-template-columns: 1fr; }
  .order-help-card { padding: 18px; }
  .default-services-panel { padding: 20px 16px; }
  .default-services-panel .section-card-heading { display: block; }
  .default-services-panel .section-card-heading .status-pill { margin-top: 12px; }
  .catalog-toolbar { align-items: stretch; }
  .catalog-search { width: 100%; }
  .catalog-filters { gap: 4px; }
  .catalog-filter { padding-inline: 8px; font-size: 11px; }
  .orders-toolbar { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px; }
  .compact-field { width: auto; }
  .compact-field.search-field { grid-column: 1 / -1; grid-row: 1; width: 100%; max-width: none; }
  .request-reference, .request-date { font-size: 11px; }
  .request-title { font-size: 13px; }
  .overview-callout { gap: 15px; padding: 21px 17px; }
  .overview-callout h2 { font-size: 17px; }
  .overview-callout p:not(.section-kicker) { font-size: 12px; }
  .overview-callout .button { grid-column: 1 / -1; width: 100%; }
  .balance-card, .topup-card { min-height: 210px; padding: 23px; }
  .balance-card strong { margin-top: 32px; font-size: 36px; }
  .topup-card { grid-template-columns: 35px 1fr; gap: 14px; }
  .topup-icon { width: 35px; height: 35px; border-radius: 9px; font-size: 20px; }
  .topup-card h3 { font-size: 17px; }
  .ledger-row { grid-template-columns: 1fr auto; gap: 6px 11px; }
  .ledger-reference { grid-column: 1; font-size: 10px; }
  .ledger-amount { grid-column: 2; grid-row: 1 / span 2; font-size: 14px; }
  .ledger-card .section-card-heading { display: block; }
  .muted-label { display: block; margin-top: 8px; font-size: 11px; }
  .pagination-summary { font-size: 11px; }
  .toast-region { right: 16px; bottom: 16px; width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Final polish for the new workspace components. */
.workspace-brand-block {
  display: grid;
  gap: 5px;
  margin: 0 7px 24px;
  padding: 13px 14px 14px;
  border: 1px solid rgba(166, 190, 212, .13);
  border-radius: 9px;
  background: rgba(255, 255, 255, .045);
}
.workspace-brand-overline { color: #91a8bd; font-size: 9px; font-weight: 600; letter-spacing: .11em; }
.workspace-brand-block strong { color: #e5edf5; font-size: 14px; font-weight: 600; }
.workspace-brand-block > span:last-child { color: #9fb2c4; font-size: 11px; }
.sidebar-nav-label { margin: 14px 14px 7px; color: #8fa4b8; font-size: 10px; font-weight: 500; letter-spacing: .07em; }
.sidebar-nav-label.admin-nav-label { margin-top: 22px; }
.workspace-breadcrumb .breadcrumb-separator { color: #b8c5d1; }
.workspace-account-copy { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.workflow-step > span:last-child { display: grid; gap: 1px; min-width: 0; }
.workflow-step strong { color: #516176; font-size: 13px; font-weight: 500; white-space: nowrap; }
.workflow-step small { color: #8996a5; font-size: 11px; white-space: nowrap; }
.workflow-step.is-current { color: #267b6b; }
.workflow-step.is-current .workflow-index { border-color: #c7e3d8; color: #277c6b; background: #eef8f3; }
.workflow-step.is-current strong { color: #267b6b; font-weight: 600; }
.workflow-step.is-complete .workflow-index { border-color: #c7e3d8; color: #277c6b; background: #eef8f3; }
.panel-lead-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 19px; }
.panel-title { margin: 0; color: var(--ink-soft); font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -.025em; line-height: 1.4; }
.panel-lead-row .section-kicker { display: none; }
.panel-lead-row .page-intro { margin-top: 5px; }
.field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.field-label { color: #344459; font-size: 13px; font-weight: 600; }
.field-help-inline { color: #8390a0; font-size: 11px; }
.platform-shortcut-block { margin-bottom: 2px; }
.shortcut-empty { width: 100%; margin: 0; padding: 10px 12px; border: 1px dashed #d8e2eb; border-radius: 8px; color: #8390a0; background: #f8fafc; font-size: 12px; }
.workflow-step.is-current, .workflow-step.is-complete { font-weight: 600; }
.workflow-step.is-current .workflow-number, .workflow-step.is-complete .workflow-number { border-color: #c7e3d8; color: #277c6b; background: #eef8f3; }
.workflow-step.is-current > span:first-child, .workflow-step.is-complete > span:first-child { border-color: #c7e3d8; color: #277c6b; background: #eef8f3; }
.order-help-card ol { list-style: none; padding: 0; }
.order-help-card li { display: grid; grid-template-columns: 23px minmax(0, 1fr); align-items: start; gap: 9px; }
.order-help-card li > span { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid #d6e8e1; border-radius: 50%; color: #3d8979; background: #fff; font-size: 10px; font-weight: 600; }
.order-help-card li p { margin: 1px 0 0; color: #536d64; font-size: 12px; line-height: 1.7; }
.order-help-card .help-note { margin-top: 13px; padding-top: 12px; border-top: 1px solid #dcebe6; color: #778b84; font-size: 11px; }
.catalog-filter-group { min-width: 0; }
.catalog-filter-label { display: block; margin-bottom: 4px; color: #748297; font-size: 11px; font-weight: 500; }
.catalog-result-count { flex: 0 0 auto; color: #77879a; font-size: 12px; white-space: nowrap; }
.search-input-wrap > .ui-icon { position: absolute; top: 50%; left: 12px; width: 17px; height: 17px; color: #8797a8; transform: translateY(-50%); pointer-events: none; }
.search-input-wrap input { padding-left: 37px; }
.catalog-empty-row td { padding: 30px 16px !important; color: #8290a0; text-align: center !important; }
.admin-only-nav.sidebar-nav-label[hidden] { display: none !important; }

@media (max-width: 900px) {
  .workspace-brand-block { display: none; }
  .sidebar-nav-label { display: none; }
}
@media (max-width: 750px) {
  .panel-lead-row { align-items: flex-start; }
  .panel-lead-row .status-pill { margin-top: 3px; }
  .workflow-step strong { font-size: 11px; }
  .workflow-step small { font-size: 10px; }
}
@media (max-width: 540px) {
  .panel-lead-row { gap: 10px; }
  .panel-title { font-size: 18px; }
  .catalog-filter-label { margin-bottom: 6px; }
  .catalog-result-count { width: 100%; }
  .workspace-account-copy { gap: 0; }
}


/* Facebook live catalog: clear category and per-person point pricing. */
.default-services-table { min-width: 790px; }
.catalog-category-row th { padding-block: 12px; color: #284e50; background: #edf7f3; font-size: 12px; font-weight: 700; }
.default-services-table td:nth-child(1), .default-services-table td:nth-child(3), .default-services-table td:nth-child(4), .default-services-table td:nth-child(5) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.default-services-table td:nth-child(1) { color: #607187; }
.default-services-table td:nth-child(3) { color: #237765; font-weight: 600; }
