:root {
  --brand-sky: #59bff4;
  --brand-gold: #fac167;
  --primary: #125ca8;
  --primary-hover: #0b4c91;
  --surface: #ffffff;
  --background: #f5f9fc;
  --text: #132238;
  --muted: #62748a;
  --border: #d8e3ed;
  --success: #147a4a;
  --danger: #b42318;
  --warning: #8a4b08;
  --radius-sm: 8px;
  --radius-md: 14px;
  --shadow: 0 12px 30px rgba(18, 48, 78, .08);
  font-family: Inter, "Noto Sans TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--text);
  background: var(--background);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--background); line-height: 1.6; }
a { color: var(--primary); }
button, input, textarea, dialog { font: inherit; }
button:disabled { cursor: not-allowed; opacity: .55; }
button, .button, input[type="checkbox"], input[type="radio"], input[type="file"] { cursor: pointer; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; background: var(--text); color: #fff; }
.skip-link:focus { top: 1rem; }
.sr-only { position: fixed; left: 0; top: 0; width: 1px; height: 1px; padding: 0; overflow: hidden; border: 0; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }
.site-header, .app-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .75rem clamp(1rem, 5vw, 5rem); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--border); }
.site-header { position: sticky; top: 0; z-index: 20; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.text-link { color: var(--text); font-weight: 800; text-decoration: none; }
.marketing-page { background: #fff; }
.sales-hero { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); width: min(1380px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 0 4rem; align-items: center; }
.sales-hero-copy h1 { margin: .6rem 0 1.25rem; font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.05; letter-spacing: -.055em; }
.sales-hero-copy h1 em { color: var(--primary); font-style: normal; }
.sales-hero-copy > p:not(.hero-kicker) { max-width: 650px; color: var(--muted); font-size: 1.15rem; }
.hero-kicker { display: flex; align-items: center; gap: .6rem; color: var(--primary); font-weight: 900; }
.hero-kicker span { width: 32px; height: 4px; border-radius: 999px; background: var(--brand-gold); }
.hero-buttons { display: flex; gap: .75rem; margin-top: 2rem; }
.hero-promises { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin-top: 1.5rem; padding: 0; list-style: none; color: #40566c; font-weight: 700; }
.hero-promises li::before { content: "✓"; margin-right: .4rem; color: var(--success); }
.hero-product { position: relative; padding: 1rem; border-radius: 24px; background: linear-gradient(145deg, #dff4ff, #fff1d5); }
.hero-product > img { display: block; width: 100%; border-radius: 16px; box-shadow: 0 20px 50px rgba(18,48,78,.16); }
.speed-card { position: absolute; right: -1rem; bottom: -2rem; min-width: 230px; padding: 1rem 1.2rem; border: 1px solid rgba(255,255,255,.8); border-radius: 12px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.speed-card span, .speed-card strong, .speed-card small { display: block; }
.speed-card strong { margin: .2rem 0; color: var(--primary); font-size: 1.5rem; }
.speed-card small { color: var(--muted); }
.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.section-heading h2 { margin-top: .4rem; }
.feature-section { max-width: 1320px; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-cards article { padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); }
.feature-cards article > span { color: var(--primary); font-weight: 900; }
.feature-cards h3 { margin: 2rem 0 .5rem; font-size: 1.4rem; }
.feature-cards p { margin: 0; color: var(--muted); }
.how-section { max-width: 1320px; border-radius: 24px; background: #f0f8fd; }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; max-width: 1200px; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details { padding: 1.15rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff; }
.faq-list summary { cursor: pointer; font-weight: 900; }
.faq-list p { color: var(--muted); }
.final-cta { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; width: min(1200px, calc(100% - 2rem)); margin: 2rem auto 7rem; padding: 2rem; align-items: center; border-radius: 20px; background: #0e2e51; color: #fff; }
.final-cta img { width: 72px; height: 72px; border-radius: 50%; }
.final-cta p, .final-cta h2 { margin: 0; }
.final-cta .button { border-color: var(--brand-gold); background: var(--brand-gold); color: #4b3300; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; }
.brand img { display: block; width: 52px; height: 52px; object-fit: contain; }
.brand-wordmark strong, .brand-wordmark small { display: block; line-height: 1.15; }
.brand-wordmark strong { color: var(--primary); font-size: 1.05rem; letter-spacing: .08em; }
.brand-wordmark small { margin-top: .2rem; color: #4779aa; font-size: .65rem; letter-spacing: .28em; }
nav { display: flex; align-items: center; gap: 1.25rem; }
nav a { color: var(--text); text-decoration: none; font-weight: 700; }
nav a[aria-current="page"] { color: var(--primary); }
.logout-button { min-height: 44px; border: 0; padding: .55rem .25rem; background: transparent; cursor: pointer; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .7rem 1.25rem; border: 1px solid var(--primary); border-radius: var(--radius-sm); background: var(--primary); color: #fff; font-weight: 800; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, transform .18s ease; }
.button:not(:disabled):hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 42px; padding: .45rem 1rem; }
.button-secondary { background: #fff; color: var(--primary); }
.login-page { min-height: 100vh; background: #f4f8fc; }
.login-header { display: flex; min-height: 72px; align-items: center; padding: .75rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid rgba(191,207,221,.78); background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }
.login-main { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 72px); place-items: center; overflow: hidden; padding: clamp(1.5rem, 5vw, 4rem) 1rem; }
.login-main::before, .login-main::after { position: absolute; z-index: -1; border-radius: 50%; content: ""; pointer-events: none; }
.login-main::before { top: -14rem; right: -10rem; width: 34rem; height: 34rem; background: rgba(89,191,244,.19); filter: blur(2px); }
.login-main::after { bottom: -18rem; left: -12rem; width: 38rem; height: 38rem; background: rgba(250,193,103,.17); filter: blur(2px); }
.login-card { width: min(470px, 100%); padding: clamp(1.5rem, 5vw, 2.5rem); border: 1px solid rgba(197,213,227,.9); border-radius: 22px; background: rgba(255,255,255,.97); box-shadow: 0 26px 70px rgba(18,48,78,.14), 0 2px 8px rgba(18,48,78,.04); }
.login-card-auth { width: min(488px, 100%); }
.login-intro { margin-bottom: 1.5rem; }
.login-card h1 { margin: .35rem 0 .55rem; font-size: clamp(2rem, 6vw, 2.65rem); line-height: 1.14; letter-spacing: -.035em; }
.login-intro > p:not(.eyebrow), .login-card > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.login-options { display: grid; gap: .75rem; }
.email-auth-form { display: grid; gap: 1rem; }
.email-auth-form label { gap: .45rem; font-size: .94rem; }
.login-card .email-auth-form input { min-height: 52px; border-color: #adbdcc; border-radius: 10px; padding: .7rem .85rem; transition: border-color .18s ease, box-shadow .18s ease; }
.login-card .email-auth-form input:hover { border-color: #8297aa; }
.login-card .email-auth-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(18,92,168,.12); outline: 0; }
.email-auth-form .button { width: 100%; min-height: 52px; }
.email-auth-form > small { margin-top: -.65rem; color: var(--muted); }
.login-divider { display: flex; align-items: center; gap: .75rem; margin: 1.35rem 0; color: var(--muted); font-size: .82rem; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.register-link { display: block; min-height: 44px; margin-top: 1rem; padding: .55rem; text-align: center; font-size: .94rem; font-weight: 800; text-underline-offset: .2em; }
.verification-code { text-align: center; font-size: 1.5rem; font-weight: 800; letter-spacing: .35em; font-variant-numeric: tabular-nums; }
.login-provider { position: relative; display: flex; min-height: 54px; align-items: center; justify-content: center; padding: .75rem 3.75rem; border: 1px solid #747775; border-radius: 10px; background: #fff; color: #1f1f1f; font-size: .95rem; font-weight: 800; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; touch-action: manipulation; }
.login-provider:hover { background: #f7f8f8; box-shadow: 0 4px 12px rgba(19,34,56,.08); }
.login-provider:active { transform: translateY(1px); }
.provider-mark { position: absolute; left: 7px; display: grid; width: 40px; height: 40px; place-items: center; }
.provider-mark img { display: block; width: 40px; height: 40px; object-fit: contain; }
.login-provider-line { border-color: #06c755; background: #06c755; color: #fff; }
.login-provider-line .provider-mark { left: 0; width: 53px; height: 100%; border-right: 1px solid rgba(0,0,0,.08); }
.login-provider-line .provider-mark img { width: 24px; height: 24px; }
.login-provider-line:hover { border-color: #05b44d; background: #05b44d; }
.login-provider-line:active { background: #048b3c; }
.login-provider-google { font-family: "Google Sans", Roboto, Arial, sans-serif; font-weight: 600; }
.login-privacy { display: block; margin-top: 1.1rem; color: var(--muted); font-size: .78rem; text-align: center; }
.login-back { display: block; min-height: 44px; margin-top: .35rem; padding: .55rem; color: #46627e; text-align: center; font-size: .9rem; font-weight: 800; text-underline-offset: .2em; }
.hero { max-width: 1500px; margin: 0 auto; padding: clamp(1rem, 3vw, 2.5rem); }
.hero-banner { display: block; width: 100%; height: auto; max-height: 720px; object-fit: contain; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.hero-action { max-width: 760px; margin: 2rem auto 0; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.15; letter-spacing: -.04em; }
.hero p { color: var(--muted); font-size: 1.125rem; }
.section { max-width: 1200px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem); }
.section h2, .page-heading h1 { margin: .25rem 0 1rem; font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.2; }
.eyebrow { margin: 0; color: var(--primary); font-weight: 900; letter-spacing: .08em; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2.5rem 0 0; padding: 0; list-style: none; }
.steps li { padding: 1.5rem; border-top: 4px solid var(--brand-sky); background: var(--surface); }
.steps span { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 1rem; border-radius: 50%; background: var(--brand-gold); color: #4b3300; font-weight: 900; }
.steps strong, .steps small { display: block; }
.steps small { margin-top: .4rem; color: var(--muted); }
.pricing { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.price-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.price-list > div { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.price-list strong { color: var(--primary); font-size: 2rem; }
.price-list small { margin-left: .25rem; font-size: .75rem; color: var(--muted); }
footer { display: flex; align-items: center; justify-content: center; gap: .75rem; padding: 2.5rem; background: #0e2e51; color: #fff; font-weight: 700; }
footer img { width: 38px; height: 38px; border-radius: 50%; }
footer small { margin-left: 1rem; color: #b9c9d8; font-weight: 500; }
.app-header { position: sticky; top: 0; z-index: 20; }
.dashboard-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.app-sidebar { position: sticky; top: 0; display: flex; min-width: 0; height: 100vh; flex-direction: column; gap: 1.25rem; overflow-y: auto; padding: 1.25rem 1rem; border-right: 1px solid var(--border); background: #fff; z-index: 30; }
.sidebar-brand { display: flex; padding: .25rem .5rem; }
.sidebar-brand img { width: 54px; height: 54px; }
.sidebar-create { width: 100%; }
.sidebar-menu { display: grid; gap: .35rem; align-items: stretch; }
.sidebar-menu a { display: flex; align-items: center; gap: .8rem; min-height: 46px; padding: .65rem .8rem; border-radius: 8px; color: #34465a; font-weight: 700; }
.sidebar-menu a span { display: grid; width: 24px; place-items: center; color: #6d8196; font-size: 1.2rem; }
.sidebar-menu a:hover { background: #f0f7fb; }
.sidebar-menu a[aria-current="page"] { background: #e6f5fd; color: var(--primary); }
.sidebar-menu a[aria-current="page"] span { color: var(--primary); }
.sidebar-menu a.workspace-switch { margin-top: .55rem; border: 1px solid; }
.sidebar-menu a.workspace-switch span { color: currentColor; }
.sidebar-menu a.workspace-switch-member { border-color: #9ec9e5; background: #eaf6fd; color: #0b4c91; }
.sidebar-menu a.workspace-switch-member:hover { background: #d8eefb; }
.sidebar-menu a.workspace-switch-admin { border-color: #efc36e; background: #fff4dc; color: #6f4700; }
.sidebar-menu a.workspace-switch-admin:hover { background: #ffe9b8; }
.mobile-more-menu, .mobile-bottom-nav { display: none; }
.sidebar-member { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding: .9rem .5rem .25rem; border-top: 1px solid var(--border); }
.sidebar-member strong, .sidebar-member small { display: block; }
.sidebar-member small { color: var(--muted); }
.member-avatar { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--brand-gold); color: #503500; font-weight: 900; }
.dashboard-content { min-width: 0; }
.workspace-header { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem clamp(1rem, 3vw, 2.5rem); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.96); }
.workspace-header strong, .workspace-header small { display: block; }
.workspace-header small { color: var(--muted); }
.workspace-header a { font-weight: 800; text-decoration: none; }
.workspace-header .header-actions form { margin: 0; }
.workspace-header .header-actions button { border: 0; padding: 0; background: transparent; cursor: pointer; font: inherit; }
.member-chip { display: flex; flex-direction: column; text-align: right; }
.member-chip small { color: var(--muted); }
.app-main { width: 100%; min-width: 0; max-width: 1440px; margin: 0 auto; padding: 2rem clamp(1rem, 3vw, 2.5rem) 5rem; }
.upgrade-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem 1.25rem; border: 1px solid #efc36e; border-radius: var(--radius-sm); background: #fff8e9; }
.upgrade-banner strong, .upgrade-banner span { display: block; }
.upgrade-banner span { margin-top: .2rem; color: var(--muted); }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0; }
.summary.label-summary { grid-template-columns: repeat(3, 1fr); }
.summary > div { padding: 1.25rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.summary span, .summary strong { display: block; }
.summary span { color: var(--muted); }
.summary strong { margin-top: .2rem; font-size: 2rem; }
.summary small { color: var(--muted); }
.order-tabs { display: flex; gap: .5rem; overflow-x: auto; margin: 0 0 1.25rem; padding: .35rem 0; }
.order-tabs a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .55rem .85rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--text); white-space: nowrap; }
.order-tabs a span { display: grid; min-width: 24px; height: 24px; place-items: center; padding: 0 .35rem; border-radius: 999px; background: #eaf2f8; font-size: .8rem; }
.order-tabs a[aria-current="page"] { border-color: var(--primary); background: #eaf6fd; color: var(--primary); }
.workspace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.panel { min-width: 0; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow); }
.panel-heading { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.panel-heading h2, .panel-heading p { margin: 0; }
.panel-heading p { color: var(--muted); }
.form-grid, .import-panel form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem; }
label { display: grid; gap: .4rem; color: var(--text); font-weight: 700; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], input:not([type]), select, textarea { min-height: 46px; width: 100%; padding: .65rem .75rem; border: 1px solid #aebdca; border-radius: 6px; background: #fff; color: var(--text); }
input::placeholder { color: #61788c; font-weight: 400; opacity: 1; }
.form-grid .button, .import-panel .button { align-self: end; }
.shipping-method-picker { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.shipping-method-picker legend { grid-column: 1 / -1; }
.shipping-method-picker label { display: flex; grid: none; align-items: center; gap: .65rem; min-height: 64px; padding: .8rem 1rem; border: 1px solid #aebdca; border-radius: var(--radius-sm); background: #fff; }
.shipping-method-picker label:has(input:checked) { border-color: var(--primary); background: #eaf6fd; box-shadow: 0 0 0 1px var(--primary); }
.shipping-method-picker label.is-disabled { border-style: dashed; background: #f4f6f8; color: var(--muted); cursor: not-allowed; opacity: .72; }
.shipping-method-picker input { width: 20px; height: 20px; }
.shipping-method-picker span, .shipping-method-picker strong, .shipping-method-picker small { display: block; }
.shipping-method-picker small { margin-top: .15rem; color: var(--muted); font-weight: 500; }
.file-drop { grid-column: 1 / -1; min-height: 190px; place-items: center; align-content: center; gap: .65rem; padding: 1.5rem; border: 2px dashed #8ba9c2; border-radius: var(--radius-sm); background: #f7fbff; text-align: center; transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.file-drop:hover { border-color: var(--primary); background: #eef8fe; }
.file-drop:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(17, 113, 175, .18); }
.file-upload-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #dff2fd; color: var(--primary); }
.file-upload-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.file-upload-copy strong, .file-upload-copy small { display: block; }
.file-upload-copy strong { font-size: 1.05rem; }
.file-upload-copy small { margin-top: .2rem; color: var(--muted); font-weight: 500; }
.file-picker-row { display: flex; align-items: center; justify-content: center; gap: .75rem; max-width: 100%; }
.file-picker-name { max-width: 240px; overflow: hidden; color: var(--muted); font-size: .875rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.file-drop input[type="file"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
.import-actions { display: flex; grid-column: 1 / -1; justify-content: flex-end; gap: .75rem; }
.import-actions .button { min-width: 150px; }
.intake-assistant { overflow: hidden; }
.assistant-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.assistant-heading h2 { margin-top: .3rem; font-size: 1.5rem; }
.test-feature-badge { display: inline-flex; min-height: 26px; align-items: center; margin-left: .4rem; padding: .15rem .55rem; border: 1px solid #d58a22; border-radius: 999px; background: #fff4d8; color: #704000; font-size: .75rem; font-weight: 900; letter-spacing: 0; vertical-align: middle; }
.assistant-body { display: grid; gap: 1.25rem; padding: 1.5rem; }
.assistant-text-form { display: grid; grid-template-columns: 1fr auto; gap: .65rem 1rem; align-items: end; }
.assistant-text-form label, .assistant-text-form textarea, .assistant-text-form small { grid-column: 1 / -1; }
.assistant-text-form textarea { min-height: 180px; resize: vertical; line-height: 1.6; }
.assistant-text-form small { color: var(--muted); font-weight: 500; }
.assistant-text-form .button { grid-column: 2; min-width: 180px; }
.assistant-file-form { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.assistant-file-form .file-drop { min-height: 148px; }
.create-method-main { max-width: 1120px; }
.create-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.create-method-card { display: grid; min-height: 220px; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); color: var(--text); text-decoration: none; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.create-method-card:hover { border-color: #8fc6e8; background: #f8fcff; transform: translateY(-2px); }
.create-method-card:active { transform: translateY(0); }
.create-method-card > span:nth-child(2) { display: grid; align-content: start; gap: .35rem; }
.create-method-card strong, .create-method-card small { display: block; }
.create-method-card strong { color: var(--text); font-size: 1.3rem; }
.create-method-card small { color: var(--muted); font-size: .95rem; font-weight: 600; }
.create-method-card b { color: var(--primary); font-size: .9rem; }
.create-method-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 12px; background: #e6f5fd; color: var(--primary); }
.create-method-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.single-order-form .button { min-width: 180px; }
.text-preview-main { max-width: 1600px; }
.text-import-summary { grid-template-columns: repeat(4, 1fr); }
.text-preview-panel { overflow: hidden; }
.text-preview-table { min-width: 1120px; }
.text-preview-table td { vertical-align: top; }
.text-preview-table td:first-child { width: 88px; }
.text-preview-table input { min-width: 150px; }
.text-preview-table input[readonly] { border-color: #d9e2ea; background: #f3f6f8; color: #334a5f; cursor: default; }
.text-preview-table input[aria-invalid="true"] { border-color: var(--danger); background: #fff7f6; box-shadow: 0 0 0 1px var(--danger); }
.field-error { margin-top: .3rem; color: var(--danger); font-weight: 700; }
.preview-row-valid > td:first-child { border-left: 4px solid var(--success); }
.preview-row-error > td:first-child { border-left: 4px solid var(--danger); }
.source-row td { padding-top: .35rem; background: #f8fafc; }
.source-row summary, .unmatched-text summary { min-height: 44px; cursor: pointer; color: var(--primary); font-weight: 700; }
.source-row pre, .unmatched-text pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.unmatched-text { margin: 1rem 1.5rem; padding: .75rem 1rem; border: 1px solid #e0b565; border-radius: var(--radius-sm); background: #fff8ea; }
.preview-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .75rem; padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); }
.preview-actions > p { margin: 0 auto 0 0; color: var(--muted); }
.confirm-check { display: flex; grid: none; align-items: center; gap: .65rem; margin-right: auto; }
.confirm-check input { width: 22px; height: 22px; }
.confirm-check strong, .confirm-check small { display: block; }
.confirm-check small { color: var(--muted); font-weight: 500; }
.integration-note { display: flex; flex-direction: column; gap: .25rem; margin: 0 1.5rem 1.5rem; padding: 1rem; background: #fff8ea; border-left: 4px solid var(--brand-gold); }
.integration-note span { color: var(--muted); }
.integration-status { display: flex; flex-direction: column; gap: .25rem; margin-bottom: 1.25rem; border-color: #e2b653; background: #fff8ea; color: var(--text); }
.integration-status span, .muted-action { color: var(--muted); }
.label-action { min-height: 40px; padding: .45rem .7rem; white-space: nowrap; }
.orders-panel { margin-top: 1.25rem; overflow: hidden; }
.preferences-panel { margin-top: 1.25rem; }
.preferences-form { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.25rem; padding: 1.25rem 1.5rem; }
.preferences-form label { display: flex; grid: none; align-items: center; gap: .45rem; min-height: 44px; }
.preferences-form input { width: 20px; height: 20px; }
.preferences-form .button { margin-left: auto; }
.orders-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.table-wrap { max-width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 850px; }
th, td { padding: .9rem 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
th { background: #eef6fc; color: #29435e; font-size: .875rem; }
td small { display: block; color: var(--muted); }
td input[type="checkbox"] { width: 22px; height: 22px; }
.status { display: inline-flex; padding: .25rem .55rem; border-radius: 999px; background: #edf2f7; font-size: .875rem; font-weight: 800; white-space: nowrap; }
.shipping-badge { display: inline-flex; padding: .3rem .6rem; border-radius: 999px; background: #e9f6fd; color: #0b5d8d; font-size: .82rem; font-weight: 800; white-space: nowrap; }
.status-unpaid { background: #fff2dc; color: #7a4300; }
.status-ready_to_ship, .status-arrived, .status-collected { background: #dff6e9; color: #12643e; }
.status-label_pending, .status-in_transit { background: #dff2fd; color: #0a527a; }
.status-exception, .status-destroyed { background: #fee4e2; color: #912018; }
.status-paid { background: #dff6e9; color: #12643e; }
.status-pending { background: #fff2dc; color: #7a4300; }
.status-failed { background: #fee4e2; color: #912018; }
.status-refunded { background: #e8eef5; color: #40546a; }
.selection-dock { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: flex-end; gap: 1.5rem; padding: .85rem 1.5rem; border-top: 1px solid var(--border); background: rgba(255,255,255,.96); box-shadow: 0 -8px 24px rgba(18,48,78,.08); }
.selection-dock span { color: var(--muted); }
.selection-dock strong { color: var(--text); font-size: 1.15rem; }
.select-all { display: flex; grid: none; align-items: center; gap: .4rem; }
.payment-dialog, .edit-order-dialog { width: min(560px, calc(100% - 2rem)); padding: 0; border: 0; border-radius: var(--radius-md); color: var(--text); box-shadow: 0 24px 80px rgba(10,38,68,.28); }
.payment-dialog::backdrop { background: rgba(9,31,52,.55); backdrop-filter: blur(3px); }
.edit-order-dialog::backdrop { background: rgba(9,31,52,.55); backdrop-filter: blur(3px); }
.edit-order-dialog form { display: grid; gap: 1rem; padding: 1.5rem; }
.edit-order-dialog label { display: grid; gap: .4rem; font-weight: 800; }
.duplicate-review { display: grid; gap: .75rem; margin: 0 1.5rem 1.5rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: #f8fbfd; }
.duplicate-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; padding: 1rem 1.5rem 0; color: var(--muted); }
.duplicate-review h3, .duplicate-review p { margin: 0; }
.duplicate-item { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding: .75rem; border-left: 4px solid #7191ab; background: #fff; border-radius: 6px; }
.duplicate-item form { margin-left: auto; }
.duplicate-high { border-left-color: var(--danger); }
.duplicate-medium { border-left-color: var(--warning); }
.duplicate-low { border-left-color: #3d83ad; }
.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; padding: 1.5rem; border-bottom: 1px solid var(--border); }
.dialog-heading h2 { margin: .15rem 0 0; }
.icon-button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #eef4f8; color: var(--text); font-size: 1.75rem; line-height: 1; }
.payment-total { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.5rem 1.5rem .5rem; padding: 1.25rem; border-radius: var(--radius-sm); background: linear-gradient(135deg, #e9f7fe, #fff6e4); }
.payment-total > strong { color: var(--primary); font-size: 2rem; }
.payment-total small { display: block; margin-top: .25rem; color: var(--muted); }
.all-inclusive { margin: .5rem 1.5rem 1.25rem; color: var(--muted); }
.payment-methods { display: grid; gap: .75rem; padding: 0 1.5rem; }
.payment-methods label { display: flex; grid: none; align-items: center; gap: .8rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.payment-methods input { width: 20px; height: 20px; }
.payment-methods span, .payment-methods strong, .payment-methods small { display: block; }
.payment-methods small { color: var(--muted); font-weight: 500; }
.form-error { margin: 1rem 1.5rem 0; padding: .75rem; border-radius: 6px; background: #ffebe9; color: var(--danger); font-weight: 700; }
.dialog-actions { display: flex; justify-content: flex-end; gap: .75rem; padding: 1.5rem; }
fieldset { display: flex; gap: 1rem; border: 0; padding: 0; margin: 0; }
legend { margin-bottom: .35rem; font-weight: 800; }
fieldset label { display: flex; grid: none; align-items: center; gap: .4rem; }
.notice { margin: 1rem 0; padding: 1rem 1.25rem; border-radius: var(--radius-sm); border-left: 5px solid; }
.notice.success { background: #e4f7ed; border-color: var(--success); }
.notice.error { background: #ffebe9; border-color: var(--danger); }
.notice.warning { background: #fff5e5; border-color: var(--warning); }
.empty-state { padding: 4rem 1.5rem; text-align: center; color: var(--muted); }
.app-header nav form { margin: 0; }
.onboarding-page { min-height: 100vh; background: linear-gradient(135deg, #eef9ff 0%, #fffaf0 100%); }
.onboarding-main { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; align-items: start; }
.onboarding-intro h1, .onboarding-intro h2 { margin: .4rem 0 1rem; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.14; letter-spacing: -.04em; }
.onboarding-intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.account-main { padding-top: clamp(1.5rem, 4vw, 3rem); }
.account-content { width: 100%; padding: 1rem 0 0; }
.account-content.profile-only { grid-template-columns: minmax(0, 760px); justify-content: center; }
.price-compare { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 2rem; }
.price-compare > div { padding: 1.15rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: rgba(255,255,255,.75); }
.price-compare span, .price-compare strong, .price-compare small { display: block; }
.price-compare strong { margin: .25rem 0; font-size: 1.8rem; }
.price-compare small { color: var(--muted); }
.price-compare .recommended { border: 2px solid var(--primary); background: #fff; }
.price-compare .recommended strong { color: var(--primary); }
.privacy-points { display: grid; gap: .5rem; margin-top: 1.5rem; padding-left: 1.25rem; color: #43576b; }
.onboarding-card { overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow); }
.profile-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.5rem; }
.full-row { grid-column: 1 / -1; }
.skip-onboarding { padding: 0 1.5rem 1.5rem; text-align: center; }
.skip-onboarding button { border: 0; background: transparent; color: var(--primary); text-decoration: underline; font-weight: 700; }
.review-state { padding: 2.25rem; text-align: center; }
.review-state h2 { margin-bottom: .5rem; }
.review-state p { margin-bottom: 1.5rem; color: var(--muted); }
.profile-summary { border-top: 1px solid var(--border); padding: 1.5rem; }
.profile-summary h3 { margin: 0 0 .25rem; }
.profile-summary > p { margin: 0 0 1rem; color: var(--muted); }
.profile-summary dl { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.profile-summary dl > div { min-width: 0; }
.profile-summary dt { color: var(--muted); font-size: .85rem; }
.profile-summary dd { margin: .2rem 0 0; overflow-wrap: anywhere; font-weight: 700; }
.admin-review-panel { margin-bottom: 1.25rem; }
.review-list { display: grid; gap: 1rem; padding: 1rem; }
.review-card { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.25rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.review-profile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review-profile span, .review-profile strong { display: block; }
.review-profile span { color: var(--muted); font-size: .85rem; }
.review-address { grid-column: span 2; }
.review-card form { display: grid; gap: .75rem; }
.review-actions { display: flex; gap: .5rem; justify-content: flex-end; }
.wallet-main { max-width: 1000px; }
.wallet-balance-card { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; padding: 1.5rem 2rem; border-radius: var(--radius-md); background: linear-gradient(135deg, #0f5ca8, #59bff4); color: #fff; box-shadow: var(--shadow); }
.wallet-balance-card span, .wallet-balance-card strong { display: block; }
.wallet-balance-card strong { margin-top: .3rem; font-size: clamp(2.25rem, 7vw, 4rem); }
.wallet-balance-card strong small { font-size: 1rem; }
.wallet-balance-card img { width: 96px; height: 96px; border-radius: 50%; }
.wallet-ledger { min-width: 760px; }
.merchant-payment-ledger { min-width: 920px; }
.merchant-payment-ledger th { white-space: nowrap; }
.merchant-payment-ledger th:nth-child(2), .merchant-payment-ledger td:nth-child(2) { min-width: 300px; max-width: 360px; }
.merchant-payment-ledger th:nth-child(5), .merchant-payment-ledger td:nth-child(5) { min-width: 170px; }
.payment-ledger { min-width: 1080px; }
.payment-ledger th { white-space: nowrap; }
.payment-ledger th:nth-child(2), .payment-ledger td:nth-child(2) { min-width: 180px; }
.payment-ledger th:nth-child(3), .payment-ledger td:nth-child(3) { min-width: 320px; max-width: 360px; }
.payment-ledger th:nth-child(6), .payment-ledger td:nth-child(6) { min-width: 150px; }
.payment-ledger th:nth-child(7), .payment-ledger td:nth-child(7) { min-width: 120px; }
.money-cell { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.amount-positive { color: #12643e; }
.amount-negative { color: #912018; }
.reference-cell { max-width: 240px; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .875rem; }
.admin-header { position: sticky; top: 0; z-index: 20; }
.admin-summary { grid-template-columns: repeat(3, 1fr); }
.admin-destination-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.admin-destination-card { display: flex; min-height: 190px; flex-direction: column; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.admin-destination-card:hover { border-color: #9ec9e5; box-shadow: 0 16px 36px rgba(18,48,78,.12); transform: translateY(-2px); }
.admin-destination-card > span { color: var(--primary); font-size: .85rem; font-weight: 900; letter-spacing: .08em; }
.admin-destination-card > strong { margin-top: .25rem; font-size: 1.35rem; }
.admin-destination-card p { margin: .5rem 0 1rem; color: var(--muted); }
.admin-destination-card small { margin-top: auto; color: #40566c; font-weight: 800; }
.admin-members-table { min-width: 900px; }
.admin-orders-table { min-width: 1260px; }
.admin-orders-panel { overflow: hidden; }
.admin-orders-panel .table-wrap { width: 100%; }
.admin-orders-table th:last-child, .admin-orders-table td:last-child { min-width: 520px; }
.back-link { color: var(--primary); font-weight: 800; letter-spacing: 0; text-decoration: none; }
.member-detail-summary strong { font-size: 1.55rem; }
.member-detail-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 1rem; align-items: start; }
.member-account-panel, .member-actions-panel { overflow: hidden; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: .75rem 1.5rem 1.5rem; }
.detail-list > div { min-width: 0; padding: .85rem 0; border-bottom: 1px solid var(--border); }
.detail-list > div:nth-last-child(-n+2) { border-bottom: 0; }
.detail-list dt { color: var(--muted); font-size: .82rem; font-weight: 800; }
.detail-list dd { margin: .2rem 0 0; overflow-wrap: anywhere; font-weight: 800; }
.detail-chip { display: inline-flex; margin: .15rem .25rem .15rem 0; padding: .2rem .55rem; border-radius: 999px; background: #e9f6fd; color: #0b5d8d; font-size: .8rem; }
.sensitive-details { margin: 0 1.5rem 1.5rem; border: 1px solid #e2b653; border-radius: var(--radius-sm); background: #fff9ee; }
.sensitive-details summary { min-height: 48px; padding: .7rem 1rem; color: #70420a; font-weight: 900; cursor: pointer; }
.sensitive-detail-list { padding: 0 1rem 1rem; }
.detail-wide { grid-column: 1 / -1; }
.detail-empty { margin: 0 1.5rem 1.5rem; padding: 1rem; border-radius: var(--radius-sm); background: #f4f7fa; color: var(--muted); }
.member-detail-actions { display: grid; gap: 1rem; padding: 1rem; }
.member-detail-actions form { display: grid; gap: .75rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.member-detail-actions h3 { margin: 0; }
.member-ledger-panel { margin-top: 1rem; overflow: hidden; }
.member-ledger-table { min-width: 820px; }
.member-payments-table { min-width: 900px; }
.member-orders-table { min-width: 960px; }
.status-not_submitted { background: #edf2f7; color: #40546a; }
.status-approved { background: #dff6e9; color: #12643e; }
.status-rejected { background: #fee4e2; color: #912018; }
.topup-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; padding: 1.5rem; }
.topup-options button { min-height: 56px; border: 1px dashed #9aabb9; border-radius: var(--radius-sm); background: #f4f6f8; color: var(--muted); font-weight: 800; cursor: not-allowed; }
.vip-card { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding: 1.5rem; }
.member-admin-card { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.member-admin-summary { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 1rem; }
.member-admin-summary span, .member-admin-summary strong, .member-admin-summary small { display: block; }
.member-admin-summary span, .member-admin-summary small { color: var(--muted); }
.member-admin-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.member-admin-actions form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; align-items: end; }
.inline-admin-form { display: grid; grid-template-columns: 160px 200px auto; gap: .5rem; align-items: center; }
.order-admin-actions { display: grid; gap: .5rem; }
.inline-refund-form { display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.button-danger { border-color: #b42318; background: #b42318; color: #fff; }
.demo-label-page { min-height: 100vh; padding: 2rem; background: #eef3f7; }
.demo-label { width: min(100%, 720px); margin: 0 auto; padding: 2rem; border: 2px solid #172b3f; background: #fff; box-shadow: var(--shadow); }
.demo-label header { display: flex; align-items: center; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 3px solid var(--text); }
.demo-label header img { width: 64px; height: 64px; }
.demo-label header p, .demo-label header h1 { margin: 0; }
.demo-label dl { display: grid; grid-template-columns: 1fr 1fr; margin: 0; }
.demo-label dl div { padding: 1rem; border-bottom: 1px solid var(--border); }
.demo-label dt { color: var(--muted); font-size: .875rem; font-weight: 700; }
.demo-label dd { margin: .25rem 0 0; font-size: 1.1rem; font-weight: 800; }
.demo-barcode { margin: 2rem 0; padding: 4rem 1rem 1rem; background: repeating-linear-gradient(90deg, #111 0 3px, transparent 3px 6px, #111 6px 8px, transparent 8px 12px) top / 100% 3rem no-repeat; letter-spacing: .35em; text-align: center; }
.demo-label-actions { display: flex; justify-content: flex-end; gap: .75rem; }
@media (max-width: 900px) {
	.site-header nav, .member-chip { display: none; }
	.sales-hero { grid-template-columns: 1fr; padding-top: 3rem; }
	.hero-product { margin-top: 1rem; }
	.feature-cards { grid-template-columns: 1fr; }
	.faq-section { grid-template-columns: 1fr; gap: 1rem; }
	.steps, .summary, .summary.label-summary { grid-template-columns: repeat(2, 1fr); }
  .pricing, .workspace-grid { grid-template-columns: 1fr; }
	.dashboard-layout { grid-template-columns: 1fr; }
	.member-shell .app-sidebar { position: sticky; display: flex; height: 64px; flex-direction: row; align-items: center; justify-content: space-between; gap: .75rem; padding: .5rem 1rem; overflow: visible; border-right: 0; border-bottom: 1px solid var(--border); }
	.member-shell .app-sidebar .sidebar-brand { padding: 0; }
	.member-shell .app-sidebar .sidebar-brand img { width: 44px; height: 44px; }
	.sidebar-create, .sidebar-member { display: none; }
	.member-shell .app-sidebar .sidebar-menu { display: none; }
	.mobile-more-menu { position: relative; display: block; }
	.mobile-more-menu summary { display: grid; min-width: 48px; min-height: 48px; place-items: center; gap: 0; border-radius: 10px; color: #40566d; cursor: pointer; font-size: .72rem; font-weight: 800; list-style: none; touch-action: manipulation; }
	.mobile-more-menu summary::-webkit-details-marker { display: none; }
	.mobile-more-menu summary > span { height: 12px; color: var(--primary); font-size: 1rem; letter-spacing: .08em; line-height: .5; }
	.mobile-more-menu summary:hover, .mobile-more-menu summary:focus-visible, .mobile-more-menu[open] summary { background: #eaf6fd; color: var(--primary); }
	.mobile-more-menu summary:focus-visible, .mobile-bottom-nav a:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 2px; }
	.mobile-more-panel { position: absolute; top: calc(100% + .5rem); right: 0; display: grid; width: min(220px, calc(100vw - 2rem)); overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 16px 36px rgba(18,48,78,.18); }
	.mobile-more-panel a, .mobile-more-panel form, .mobile-more-panel button { width: 100%; }
	.mobile-more-panel a, .mobile-more-panel button { display: flex; min-height: 48px; align-items: center; padding: .75rem 1rem; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: #fff; color: #34465a; cursor: pointer; font: inherit; font-weight: 800; text-align: left; text-decoration: none; touch-action: manipulation; }
	.mobile-more-panel a[aria-current="page"] { background: #e6f5fd; color: var(--primary); }
	.mobile-more-panel a.workspace-switch-admin { background: #fff4dc; color: #6f4700; box-shadow: inset 4px 0 #efc36e; }
	.mobile-more-panel a.workspace-switch-admin:hover { background: #ffe9b8; }
	.mobile-more-panel form:last-child button { border-bottom: 0; }
	.mobile-bottom-nav { position: fixed; right: 0; bottom: 0; left: 0; z-index: 50; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: .25rem max(.25rem, env(safe-area-inset-right)) calc(.25rem + env(safe-area-inset-bottom)) max(.25rem, env(safe-area-inset-left)); border-top: 1px solid rgba(191,207,221,.9); background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px rgba(18,48,78,.1); backdrop-filter: blur(12px); }
	.mobile-bottom-nav a { position: relative; display: flex; min-width: 0; min-height: 56px; align-items: center; justify-content: center; flex-direction: column; gap: .15rem; border-radius: 10px; color: #60758a; font-size: .72rem; font-weight: 800; line-height: 1; text-decoration: none; touch-action: manipulation; }
	.mobile-bottom-nav svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
	.mobile-bottom-nav a:hover { background: #f1f8fc; color: var(--primary); }
	.mobile-bottom-nav a[aria-current="page"] { background: #e6f5fd; color: var(--primary); }
	.mobile-bottom-nav a[aria-current="page"]::before { position: absolute; top: 0; width: 24px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); content: ""; }
	.mobile-bottom-nav .mobile-nav-create { align-self: center; justify-self: center; width: 56px; min-height: 56px; margin-top: -16px; border-radius: 50%; background: #6e95bd; color: #fff; box-shadow: 0 8px 18px rgba(18,48,78,.22); }
	.mobile-bottom-nav .mobile-nav-create svg { width: 30px; height: 30px; stroke-width: 2.2; }
	.mobile-bottom-nav .mobile-nav-create:hover, .mobile-bottom-nav .mobile-nav-create[aria-current="page"] { background: var(--primary); color: #fff; }
	.mobile-bottom-nav .mobile-nav-create[aria-current="page"]::before { display: none; }
	.member-shell .app-main { padding-bottom: calc(8rem + env(safe-area-inset-bottom)); }
	.member-shell .selection-dock { bottom: calc(64px + env(safe-area-inset-bottom)); }
	.workspace-header { display: none; }
	.admin-layout .workspace-header { display: flex; }
	.admin-summary { grid-template-columns: repeat(2, 1fr); }
	.member-detail-grid { grid-template-columns: 1fr; }
	.onboarding-main { grid-template-columns: 1fr; }
	.review-card { grid-template-columns: 1fr; }
	.member-admin-summary, .member-admin-actions { grid-template-columns: 1fr 1fr; }
	.member-admin-actions form { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .create-method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  .create-method-card { width: 100%; height: 100%; }
  .shipping-method-picker { grid-template-columns: 1fr 1fr; }
  .selection-dock { justify-content: space-between; }
}
@media (max-width: 560px) {
  .site-header, .app-header { min-height: 64px; padding: .5rem 1rem; }
  .brand img { width: 44px; height: 44px; }
  .login-header { min-height: 64px; padding: .5rem 1rem; }
  .login-main { min-height: calc(100dvh - 64px); align-items: start; padding: 1rem; }
  .login-card { padding: 1.35rem 1.25rem; border-radius: 18px; }
  .login-card h1 { font-size: clamp(1.9rem, 9vw, 2.35rem); }
  .login-intro { margin-bottom: 1.25rem; }
  .login-divider { margin: 1.15rem 0; }
  .login-provider { min-height: 52px; }
  .app-header nav { gap: .75rem; font-size: .875rem; }
  .hero { padding: .75rem; }
	.header-actions .text-link { display: none; }
	.sales-hero-copy h1 { font-size: 2.65rem; }
	.hero-buttons { align-items: stretch; flex-direction: column; }
	.speed-card { position: static; margin: .75rem 0 0; }
	.feature-cards { grid-template-columns: 1fr; }
	.final-cta { grid-template-columns: 1fr; text-align: center; }
	.final-cta img { margin: 0 auto; }
	footer { flex-wrap: wrap; }
	footer small { width: 100%; margin: .5rem 0 0; text-align: center; }
  .hero-banner { border-radius: var(--radius-sm); }
  .hero-action { margin-top: 1.5rem; }
  .steps, .summary, .summary.label-summary, .price-list { grid-template-columns: 1fr; }
  .app-main > .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .app-main > .summary > div { min-height: 112px; padding: 1rem; }
  .app-main > .summary strong { font-size: 1.625rem; }
  .page-heading { align-items: stretch; flex-direction: column; }
	.upgrade-banner { align-items: stretch; flex-direction: column; }
  .form-grid, .import-panel form { padding: 1rem; }
  .assistant-body { padding: 1rem; }
  .assistant-text-form { grid-template-columns: 1fr; }
  .assistant-text-form .button { grid-column: 1; width: 100%; }
  .assistant-file-form .file-drop { width: 100%; min-height: 140px; }
  .preview-actions { align-items: stretch; flex-direction: column; padding: 1rem; }
  .preview-actions .button, .confirm-check { width: 100%; }
  .text-import-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .file-drop { min-height: 170px; padding: 1.25rem 1rem; }
  .file-picker-row { align-items: stretch; flex-direction: column; width: 100%; }
  .file-picker-name { max-width: 100%; }
  .import-actions { display: grid; grid-template-columns: 1fr; }
  .import-actions .button { width: 100%; }
  .shipping-method-picker { grid-template-columns: 1fr; }
  fieldset { align-items: flex-start; flex-direction: column; }
  .orders-heading { align-items: stretch; flex-direction: column; }
  .preferences-form { align-items: stretch; flex-direction: column; }
  .preferences-form .button { margin-left: 0; }
  .selection-dock { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .selection-dock .button { grid-column: 1 / -1; }
  .payment-total { align-items: flex-start; flex-direction: column; }
  .dialog-actions { display: grid; grid-template-columns: 1fr 1fr; }
	.profile-form, .price-compare, .profile-summary dl { grid-template-columns: 1fr; }
	.review-profile { grid-template-columns: 1fr; }
	.review-address { grid-column: auto; }
	.review-actions { align-items: stretch; flex-direction: column; }
	.admin-destination-grid, .admin-summary, .detail-list { grid-template-columns: 1fr; }
	.detail-list > div { border-bottom: 1px solid var(--border); }
	.detail-list > div:last-child { border-bottom: 0; }
	.detail-wide { grid-column: auto; }
	.member-detail-actions { padding: .75rem; }
	.topup-options { grid-template-columns: 1fr 1fr; }
	.vip-card { align-items: stretch; flex-direction: column; }
	.member-admin-summary, .member-admin-actions { grid-template-columns: 1fr; }
	.full-row { grid-column: auto; }
	.demo-label-page { padding: .75rem; }
	.demo-label { padding: 1.25rem; }
	.demo-label dl { grid-template-columns: 1fr; }
	.demo-label-actions { align-items: stretch; flex-direction: column; }
}
@media print {
	.mobile-more-menu, .mobile-bottom-nav { display: none !important; }
	.demo-label-page { padding: 0; background: #fff; }
	.demo-label { width: 100%; box-shadow: none; }
	.demo-label-actions { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before, body::after { display: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* 2026-09 membership and logistics navigation */
.membership-comparison { display: block; }
.membership-comparison .section-heading { margin-bottom: 2rem; }
.membership-heading { max-width: 760px; }
.membership-heading > p:not(.eyebrow) { margin: .55rem 0 0; color: #40566c; font-size: 1.05rem; }
.membership-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.membership-plan { position: relative; display: flex; min-width: 0; flex-direction: column; padding: 1.5rem; border: 2px solid #cddfeb; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(18, 48, 78, .07); }
.membership-plan-basic { background: #fffdf8; border-color: #eadfcb; }
.membership-plan-electric { background: #f5fbff; border-color: #b9daed; }
.membership-plan-vip { background: #f2f7ff; border-color: #86b8e4; }
.membership-plan-featured { border-color: #e4a830; background: linear-gradient(180deg, #fff9e8 0%, #fff 46%); box-shadow: 0 14px 34px rgba(140, 92, 7, .14); }
.membership-plan-title p, .membership-plan-title h3 { margin: 0; }
.membership-plan-title p { color: var(--primary); font-size: .8rem; font-weight: 900; letter-spacing: .08em; }
.membership-plan-title h3 { margin-top: .2rem; color: var(--text); font-size: 1.25rem; line-height: 1.35; }
.membership-price { display: flex; align-items: baseline; gap: .35rem; margin: 1.25rem 0 .2rem; color: var(--primary); }
.membership-price strong { font-size: clamp(2.5rem, 4vw, 3.35rem); line-height: 1; font-variant-numeric: tabular-nums; }
.membership-price span { color: #40566c; font-weight: 800; }
.membership-subscription { min-height: 1.6em; margin: .2rem 0 0; color: #35516b; font-weight: 800; }
.membership-fit { min-height: 5.2em; margin: 1rem 0; color: #40566c; }
.membership-plan-action { display: flex; min-height: 46px; align-items: center; justify-content: center; width: 100%; margin-bottom: 1.25rem; text-align: center; }
.membership-benefits { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid rgba(83, 116, 145, .22); }
.membership-benefits h4 { margin: 0 0 .65rem; font-size: .9rem; }
.membership-benefits ul { display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; color: #40566c; font-size: .9rem; }
.membership-benefits li { position: relative; padding-left: 1.45rem; }
.membership-benefits li::before { position: absolute; left: 0; top: .08rem; width: 1rem; height: 1rem; border-radius: 50%; background: #dceffd; color: #0b5c92; content: "✓"; font-size: .68rem; font-weight: 900; line-height: 1rem; text-align: center; }
.membership-plan-featured .membership-benefits li::before { background: #ffe6aa; color: #714900; }
.membership-plan-badge { position: absolute; top: 1rem; right: 1rem; padding: .25rem .6rem; border-radius: 999px; background: #f1b433; color: #4e3300; font-size: .75rem; font-weight: 900; }
@media (min-width: 901px) {
  .membership-price + .membership-fit { margin-top: calc(1.2rem + 1.6em); }
}
.comparison-table { width: 100%; min-width: 900px; border-collapse: separate; border-spacing: 0; }
.comparison-table th, .comparison-table td { padding: 1rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.comparison-table thead th { position: sticky; top: 0; z-index: 1; background: #eaf4ff; color: #1e4f87; font-size: .82rem; letter-spacing: .03em; }
.comparison-table tbody th { color: #163f70; font-size: 1rem; }
.comparison-table tbody tr:nth-child(even) { background: #f8fbff; }
.comparison-table tbody tr:hover { background: #eef6ff; }
.comparison-table strong { color: var(--primary); font-size: 1.1rem; }
.register-card:not(.login-card-auth) { width: min(1040px, 100%); min-width: 0; justify-self: center; }
.registration-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.registration-form label { display: block; }
.registration-form label > span { display: inline; margin-left: .2rem; color: var(--danger); }
.registration-form label > input { display: block; width: 100%; margin-top: .45rem; }
.registration-form > button, .registration-form > small { grid-column: 1 / -1; }
.invite-notice { display: grid; gap: .25rem; margin-top: 1rem; padding: 1rem; border: 1px solid #b9d8f3; border-radius: 12px; background: #eff7ff; color: #164f82; }
.invite-notice span { color: #45677f; }
.register-vip-plans { width: 100%; min-width: 0; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.register-vip-plans h2 { margin: .25rem 0 1rem; }
.register-vip-plans .comparison-table { min-width: 760px; }
.sidebar-menu section { display: grid; gap: .15rem; padding: .35rem 0; }
.sidebar-menu section > strong { padding: .45rem .8rem .2rem; color: #718398; font-size: .75rem; letter-spacing: .08em; }
.sidebar-menu section a { min-height: 36px; padding: .45rem .8rem .45rem 1.65rem; font-size: .9rem; }
.sidebar-menu section a .sidebar-count { width: auto; min-width: 24px; height: 24px; margin-left: auto; padding: 0 .4rem; border-radius: 999px; background: #eaf2f8; color: #49657e; font-size: .75rem; }
.sidebar-menu section a[aria-current="page"] .sidebar-count { background: #cceafb; color: var(--primary); }
.sidebar-unavailable { display: flex; min-height: 36px; align-items: center; gap: .5rem; padding: .45rem .8rem .45rem 1.65rem; color: #8191a2; font-size: .9rem; font-weight: 700; }
.sidebar-unavailable small { margin-left: auto; color: #8191a2; font-size: .7rem; font-weight: 600; }
.overview-main { max-width: 1500px; }
.overview-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.overview-metrics article { min-width: 0; padding: 1.4rem; border: 1px solid var(--border); border-left: 5px solid #dcecf7; border-radius: var(--radius-sm); background: #fff; }
.overview-metrics span, .overview-metrics strong, .overview-metrics small { display: block; }
.overview-metrics span { color: var(--muted); font-weight: 700; }
.overview-metrics strong { margin-top: .35rem; color: var(--text); font-size: clamp(1.45rem, 2.2vw, 2rem); font-variant-numeric: tabular-nums; }
.overview-metrics small { margin-top: .35rem; color: var(--muted); }
.overview-status-panel { overflow: hidden; }
.overview-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.overview-status-grid a { display: flex; min-height: 136px; flex-direction: column; justify-content: center; padding: 1.25rem 1.5rem; border-top: 1px solid var(--border); border-right: 1px solid var(--border); color: var(--text); text-decoration: none; }
.overview-status-grid a:nth-child(4n) { border-right: 0; }
.overview-status-grid a:hover { background: #f4faff; }
.overview-status-grid span, .overview-status-grid strong, .overview-status-grid small { display: block; }
.overview-status-grid span, .overview-status-grid small { color: var(--muted); }
.overview-status-grid strong { margin: .2rem 0; color: var(--primary); font-size: 1.75rem; font-variant-numeric: tabular-nums; }
.member-level-card { padding: 1.25rem 1.5rem; border-color: #b9d8f3; background: linear-gradient(135deg, #fff 0%, #eef7ff 100%); }
.member-level-card h2 { margin: .75rem 0 .25rem; }
.member-level-card p { margin: .25rem 0 0; color: var(--muted); }
.account-main > .panel { margin-bottom: 1rem; }
.account-main .profile-summary { border-top: 1px solid var(--border); }
.referral-copy { padding: 1.25rem 1.5rem 1.5rem; }
.referral-copy > label { display: block; font-weight: 700; }
.referral-copy-row { display: flex; align-items: stretch; gap: .75rem; margin-top: .5rem; }
.referral-copy input { min-width: 0; flex: 1 1 auto; background: #f4f8fb; }
.referral-copy-button { flex: 0 0 auto; min-height: 48px; white-space: nowrap; }
.referral-copy-button:hover { background: var(--primary-hover); color: #fff; }
.copy-feedback { min-height: 1.5em; margin: .4rem 0 0; color: var(--success); font-size: .875rem; }
.vip-plan-overview { display: grid; gap: .75rem; padding: 0 1.5rem; }
.vip-price-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.vip-price-card { padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 12px; background: #f8fbff; }
.vip-price-card h3 { margin: 0; color: #163f70; font-size: 1rem; }
.vip-price-card p { display: grid; gap: .1rem; margin: .35rem 0 0; }
.vip-price-card strong { color: var(--primary); font-size: clamp(1.35rem, 3vw, 1.75rem); line-height: 1.25; }
.vip-price-card span { color: var(--muted); font-size: .875rem; }
.vip-shared-benefits { padding: 1rem 1.25rem; border: 1px solid #b9d8f3; border-radius: 12px; background: #eff7ff; }
.vip-shared-benefits h3 { margin: 0 0 .35rem; color: #163f70; font-size: 1rem; }
.vip-shared-benefits ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: 0; padding-left: 1.25rem; color: #40566c; font-weight: 700; }
.plan-note { margin: 1rem 1.5rem 1.5rem; color: var(--muted); }
.subscription-actions { display: flex; flex-wrap: wrap; gap: .75rem; padding: 1.25rem 1.5rem 0; }
.subscription-actions form { margin: 0; }
.subscription-status { margin: 1.25rem 1.5rem 0; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 12px; background: var(--background); }
.subscription-status h3 { margin: 0 0 .35rem; }
.subscription-status p { margin: 0 0 .85rem; color: var(--muted); }
.button.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }

@media (max-width: 900px) {
  .membership-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .membership-fit { min-height: 4.2em; }
  .sidebar-menu section { display: contents; }
  .sidebar-menu section > strong { display: none; }
  .sidebar-menu section a { padding: .45rem .7rem; }
  .sidebar-menu section a .sidebar-count, .sidebar-unavailable { display: none; }
  .overview-metrics, .overview-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-status-grid a:nth-child(4n) { border-right: 1px solid var(--border); }
  .overview-status-grid a:nth-child(2n) { border-right: 0; }
}

@media (max-width: 560px) {
  .membership-plans { grid-template-columns: 1fr; }
  .membership-plan { padding: 1.25rem; }
  .membership-fit, .membership-subscription { min-height: 0; }
  .registration-form { grid-template-columns: 1fr; }
  .registration-form > button, .registration-form > small { grid-column: auto; }
  .comparison-table { min-width: 760px; }
  .membership-comparison .table-wrap, .register-vip-plans .table-wrap { margin-inline: -.25rem; border: 1px solid var(--border); border-radius: 12px; }
  .referral-copy { padding: 1rem; }
  .vip-plan-overview { padding-inline: 1rem; }
  .vip-price-card { padding: .875rem 1rem; }
  .overview-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .overview-metrics article { padding: 1rem; }
  .overview-status-grid a { min-height: 112px; padding: 1rem; }
}
.legal-consent { display: grid; gap: .75rem; grid-column: 1 / -1; margin-top: .25rem; padding: 1.15rem 1.25rem; border: 1px solid #b9d8f3; border-radius: 14px; background: #f6fbff; }
.legal-consent h2 { margin: 0; font-size: 1.05rem; }
.legal-consent > p { margin: 0; color: var(--muted); font-size: .88rem; }
.legal-consent-item { display: grid; gap: .55rem; padding: .9rem; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.legal-consent-item .button { width: 100%; min-height: 48px; }
.legal-consent-check { display: flex; grid: none; align-items: flex-start; gap: .6rem; margin: 0; font-weight: 700; line-height: 1.45; cursor: pointer; }
.legal-consent-check input { width: 22px; height: 22px; margin: 0; flex: 0 0 auto; }
.legal-consent-item.legal-unread .legal-consent-check { color: var(--muted); }
.registration-form .legal-consent-check { display: flex; align-items: flex-start; }
.registration-form .legal-consent-check > input { display: inline-block; width: 22px; margin-top: .1rem; }
.registration-form .legal-consent-check > span { display: inline; margin-left: 0; color: inherit; }
.legal-consent-item small { color: var(--muted); font-size: .8rem; line-height: 1.6; }
.legal-dialog { width: min(760px, calc(100% - 2rem)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: var(--radius-md); color: var(--text); box-shadow: 0 24px 80px rgba(10,38,68,.28); }
.legal-dialog::backdrop { background: rgba(9,31,52,.55); backdrop-filter: blur(3px); }
.legal-dialog .dialog-heading h2 { font-size: 1.25rem; }
.legal-dialog .dialog-actions { align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--border); }
.legal-dialog .dialog-actions small { color: var(--muted); }
.legal-dialog-body { max-height: min(60vh, 620px); overflow-y: auto; overscroll-behavior: contain; padding: 0 1.5rem; }
.legal-dialog-body:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.legal-article { font-size: .93rem; line-height: 1.85; }
.legal-article h3 { margin: 1.25rem 0 .75rem; font-size: 1.15rem; }
.legal-article h4 { margin: 1.35rem 0 .35rem; font-size: 1rem; color: #16406e; }
.legal-article p { margin: 0 0 .5rem; }
.legal-article ol, .legal-article ul { margin: 0 0 .5rem; padding-left: 1.4rem; }
.legal-article li { margin-bottom: .35rem; }
.legal-article .legal-meta { margin-top: 1.25rem; padding-bottom: 1.25rem; color: var(--muted); font-size: .82rem; }
.legal-table-scroll { overflow-x: auto; margin: .5rem 0 1rem; }
.legal-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .85rem; }
.legal-table th, .legal-table td { padding: .6rem; border: 1px solid var(--border); text-align: left; vertical-align: top; }
.legal-table thead th { background: #eaf4ff; color: #1e4f87; }
.legal-page { min-height: 100vh; background: linear-gradient(135deg, #eef9ff 0%, #fffaf0 100%); }
.legal-main { width: min(860px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(1.5rem, 5vw, 3.5rem) 0; }
.legal-main h1 { margin: .35rem 0 1rem; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.16; letter-spacing: -.03em; }
.legal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 1.5rem; }
.legal-page-body { padding: clamp(1.25rem, 4vw, 2.25rem); border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(255,255,255,.97); box-shadow: 0 18px 50px rgba(18,48,78,.1); }
.legal-page-body .legal-article h3 { margin-top: 0; }
@media (max-width: 560px) {
  .legal-consent { padding: 1rem; }
  .legal-dialog { width: 100%; max-width: 100%; max-height: 100%; height: 100%; margin: 0; border-radius: 0; }
  .legal-dialog-body { max-height: calc(100vh - 210px); padding: 0 1rem; }
  .legal-dialog .dialog-heading, .legal-dialog .dialog-actions { padding: 1rem; }
  .legal-dialog .dialog-actions { display: grid; grid-template-columns: 1fr; }
  .legal-dialog .dialog-actions .button { width: 100%; }
  .legal-article { font-size: .9rem; }
  .legal-actions .button { width: 100%; }
}
