:root { --ink:#17243b; --muted:#61718b; --line:#dfe6f0; --page:#f4f7fc; --paper:#fff; --navy:#0d1d38; --blue:#245ee8; --blue-dark:#1949bc; --blue-light:#eef4ff; --green:#147958; --red:#aa2e3d; --radius:12px; font-family:Inter,"Segoe UI",Arial,sans-serif; color:var(--ink); background:var(--page); font-size:16px; line-height:1.55; }
* { box-sizing:border-box; } body { margin:0; } [hidden] { display:none!important; } a { color:var(--blue); text-decoration:none; } a:hover { text-decoration:underline; } button,input,select,textarea { font:inherit; } button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; } button { cursor:pointer; } :focus-visible { outline:3px solid #6e9dff; outline-offset:3px; } button:disabled { opacity:.55; cursor:wait; } h1,h2,h3,p { margin-top:0; } h1 { font-size:2rem; letter-spacing:-.045em; line-height:1.2; margin-bottom:.65rem; } h2 { font-size:1.2rem; letter-spacing:-.02em; } h3 { font-size:1rem; } .muted { color:var(--muted); } .eyebrow { display:block; font-size:.75rem; font-weight:700; letter-spacing:.16em; color:#7183a0; margin-bottom:1rem; } .brand { display:flex; gap:12px; align-items:center; color:#fff; font-size:1.35rem; font-weight:700; letter-spacing:-.04em; text-decoration:none!important; } .brand-mark { display:grid; place-items:center; height:40px; width:40px; flex-shrink:0; border:1px solid #6481b4; border-radius:11px; font-size:1.4rem; color:#a8c3ff; background:#1b3154; } .brand-sub { display:block; font-size:.75rem; letter-spacing:.1em; font-weight:500; color:#9cacca; margin-top:2px; } .skip-link { position:fixed; top:8px; left:8px; padding:12px; background:white; transform:translateY(-150%); z-index:100; }.skip-link:focus { transform:none; } noscript { display:block; padding:20px; background:#fff0cc; } .announcement { position:fixed; z-index:50; right:24px; top:20px; max-width:min(500px,calc(100vw - 48px)); padding:16px 22px; border:1px solid #aabde0; border-radius:10px; background:#fff; box-shadow:0 10px 40px #10213c22; }
.auth-layout { min-height:100vh; display:grid; grid-template-columns:minmax(300px,.83fr) 1.3fr; } .auth-brand { background:var(--navy); color:#fff; padding:48px 12%; display:flex; flex-direction:column; justify-content:space-between; gap:70px; } .auth-note { max-width:390px; } .auth-note h2 { font-size:clamp(2.4rem,4vw,4.3rem); font-weight:550; line-height:1.1; letter-spacing:-.06em; margin-bottom:25px; } .auth-note p { color:#b4c2d9; max-width:290px; } .auth-note .eyebrow { color:#8da9d7; } .brand-footer { color:#bac8dd; font-size:.875rem; display:flex; align-items:center; gap:10px; } .status-dot { width:7px; height:7px; border-radius:50%; background:#6bdaa9; } .auth-panel { background:#fff; display:grid; place-items:center; padding:48px 24px; } .auth-card { width:100%; max-width:400px; } .auth-card h1 { font-size:2.5rem; } .auth-card > .muted { margin-bottom:34px; } .field { margin:0 0 22px; } .field label { display:block; font-size:.9rem; font-weight:600; margin-bottom:8px; } input,select,textarea { border:1px solid #cbd5e4; border-radius:8px; background:#fff; color:var(--ink); width:100%; min-height:46px; padding:10px 12px; } input::placeholder,textarea::placeholder { color:#7a889d; } textarea { resize:vertical; min-height:160px; font-family:ui-monospace,monospace; font-size:.9rem; } .password-wrap { position:relative; } .password-wrap input { padding-right:75px; } .password-toggle { position:absolute; top:4px; right:5px; bottom:4px; border:0; background:transparent; color:var(--muted); font-size:.875rem; width:62px; border-radius:6px; } .field-help { font-size:.875rem; color:var(--muted); margin:7px 0 0; } .button { display:inline-flex; justify-content:center; align-items:center; gap:12px; min-height:44px; border-radius:8px; padding:10px 18px; font-size:.9rem; font-weight:600; border:1px solid transparent; text-decoration:none!important; } .primary { color:#fff; background:var(--blue); } .primary:hover { background:var(--blue-dark); } .secondary { color:var(--ink); background:#fff; border-color:var(--line); } .secondary:hover { background:var(--page); } .danger { color:var(--red); background:#fff; border-color:#edb9c1; } .wide { width:100%; } .auth-submit { margin-top:4px; } .auth-switch { text-align:center; font-size:.9rem; margin:25px 0 40px; color:var(--muted); } .auth-switch a { font-weight:600; } .auth-footnote { display:flex; gap:10px; border-top:1px solid var(--line); padding-top:24px; color:var(--muted); font-size:.875rem; } .notice { border:1px solid #bccdec; border-radius:8px; background:var(--blue-light); padding:14px 16px; margin-bottom:22px; font-size:.9rem; overflow-wrap:anywhere; } .error { background:#fff4f4; border-color:#efbbc1; color:#922737; } .success { background:#eef9f4; border-color:#acd9c5; color:#12684d; }
.workspace-layout { display:grid; grid-template-columns:240px minmax(0,1fr); min-height:100vh; } .sidebar { background:var(--navy); color:#cad5e8; padding:28px 20px; display:flex; flex-direction:column; position:sticky; top:0; height:100vh; } .sidebar .brand { font-size:1.2rem; } .sidebar .brand-mark { width:35px; height:35px; } .sidebar .brand-sub { font-size:.75rem; letter-spacing:.01em; } .workspace-picker { margin:40px 0 27px; } .workspace-picker label { display:block; font-size:.75rem; letter-spacing:.12em; margin:0 10px 10px; color:#96abc9; } .workspace-picker select { background:#192d4e; color:#e8effb; border-color:#33496b; font-size:.875rem; padding:10px; text-overflow:ellipsis; } .navigation { display:flex; flex-direction:column; gap:7px; } .nav-item { display:flex; align-items:center; text-align:left; gap:13px; width:100%; border:0; border-radius:8px; padding:12px; font-size:.9rem; background:none; color:#b9c8df; } .nav-item > span { font-size:1.2rem; width:20px; text-align:center; } .nav-item:hover { background:#1c3254; color:white; } .nav-item[aria-current="page"] { color:#fff; background:#244b91; box-shadow:inset 3px 0 #87b3ff; } .sidebar-bottom { margin-top:auto; padding-top:35px; } .safe-label { color:#9baccc; font-size:.75rem; letter-spacing:.08em; } .sidebar-bottom p { color:#8da2c3; font-size:.875rem; margin:8px 0 22px; } .sidebar-bottom .nav-item { border-top:1px solid #294064; border-radius:0; } .workspace-main { min-width:0; } .topbar { min-height:80px; background:#fff; border-bottom:1px solid var(--line); padding:18px 38px; display:flex; justify-content:space-between; align-items:center; gap:20px; color:var(--muted); font-size:.875rem; } .identity { display:flex; align-items:center; gap:10px; overflow:hidden; } #user-email { overflow:hidden; text-overflow:ellipsis; max-width:260px; } .avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:#edf2fb; color:#46618b; font-size:.8rem; font-weight:700; flex-shrink:0; } .workspace-content { padding:34px 38px 60px; max-width:1480px; margin:auto; } .page-heading { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; margin-bottom:28px; } .page-heading p { color:var(--muted); margin-bottom:0; } .page-heading .eyebrow { margin-bottom:8px; } .stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-bottom:28px; } .stat { border:1px solid var(--line); border-radius:var(--radius); background:#fff; padding:22px 24px; } .stat-label { color:var(--muted); font-size:.875rem; margin-bottom:9px; } .stat-value { font-size:1.75rem; font-weight:650; line-height:1.2; letter-spacing:-.035em; } .content-grid { display:grid; grid-template-columns:minmax(0,1fr) 280px; gap:24px; } .card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); padding:24px; min-width:0; } .card-header { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:20px; } .card-header h2 { margin:0; } .card-header .meta { color:var(--muted); font-size:.875rem; } .store-row { display:flex; gap:15px; align-items:center; padding:20px 0; border-top:1px solid #e9edf4; flex-wrap:wrap; } .store-icon { height:44px; width:44px; border-radius:10px; background:#edf2fb; color:#335da5; display:grid; place-items:center; font-size:1.3rem; flex-shrink:0; } .store-description { flex:1; min-width:140px; overflow-wrap:anywhere; } .store-description h3 { margin:0 0 3px; } .store-description p { margin:0; font-size:.875rem; color:var(--muted); } .badge { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:5px; background:#edf2fa; color:#526582; font-size:.875rem; font-weight:600; text-transform:capitalize; white-space:nowrap; } .badge.active { background:#eaf7f0; color:#19714f; } .badge.pending,.badge.onboarding,.badge.invited { background:#fff5db; color:#836017; } .badge.disabled,.badge.disconnected { background:#faeef0; color:#9e4551; } .detail-list { margin:0; } .detail-list > div { display:flex; flex-direction:column; gap:5px; padding:14px 0; border-bottom:1px solid #edf0f5; } .detail-list dt { color:var(--muted); font-size:.875rem; } .detail-list dd { margin:0; font-size:.95rem; overflow-wrap:anywhere; } .detail-list > div:last-child { border:0; } .empty { text-align:center; padding:40px 20px; color:var(--muted); } .empty h2 { color:var(--ink); margin-bottom:8px; } .empty-symbol { font-size:2rem; margin-bottom:12px; color:#8398b9; } .empty p { max-width:440px; margin:0 auto 18px; } .actions { display:flex; gap:10px; flex-wrap:wrap; } .stack { display:grid; gap:22px; } .table-wrap { overflow-x:auto; } table { border-collapse:collapse; width:100%; text-align:left; font-size:.9rem; } th { color:var(--muted); font-weight:500; padding:12px 15px; background:#f8faff; border-bottom:1px solid var(--line); white-space:nowrap; } td { padding:16px 15px; border-bottom:1px solid #e9edf4; overflow-wrap:anywhere; } td:last-child { text-align:right; } .table-wrap .button { min-height:36px; padding:5px 12px; } .account-card { max-width:720px; } .account-card h2 { margin-bottom:12px; } .account-card .actions { margin-top:22px; } dialog { width:min(580px,calc(100vw - 32px)); border:1px solid var(--line); border-radius:16px; padding:28px; max-height:90vh; color:var(--ink); box-shadow:0 24px 90px #06152f44; } dialog::backdrop { background:#0d1d3877; } .dialog-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; } .dialog-heading h2 { margin:0; font-size:1.4rem; } .icon-button { border:0; background:var(--page); border-radius:7px; width:38px; height:38px; font-size:1.5rem; color:var(--muted); } .dialog-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:24px; } .token-output { font-family:ui-monospace,monospace; font-size:.875rem; } .checkbox-label { display:flex; gap:10px; align-items:flex-start; font-size:.875rem; } .checkbox-label input { width:18px; min-height:18px; margin-top:5px; flex-shrink:0; } .report-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:20px 0; } .report-stats .stat { padding:15px; } .report-stats .stat-value { font-size:1.35rem; } .report-heading { display:flex; justify-content:space-between; gap:15px; align-items:center; margin-bottom:16px; } .report-heading h3 { margin:0; } .report-count { color:var(--muted); font-size:.875rem; } .loading { padding:40px 20px; color:var(--muted); text-align:center; } .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
@media(max-width:1100px) { .content-grid { grid-template-columns:1fr; } .content-grid > aside .detail-list { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; } .content-grid > aside .detail-list > div { border:0; } .workspace-content { padding:28px; } .topbar { padding:18px 28px; } }
@media(max-width:760px) { .auth-layout { grid-template-columns:1fr; } .auth-brand { padding:24px; gap:0; } .auth-note,.brand-footer { display:none; } .auth-panel { padding:38px 24px; align-items:start; } .auth-card h1 { font-size:2rem; } .workspace-layout { grid-template-columns:1fr; } .sidebar { position:static; height:auto; padding:18px 20px; } .sidebar .brand-sub { display:none; } .workspace-picker { margin:20px 0 12px; } .workspace-picker label { display:none; } .navigation { flex-direction:row; flex-wrap:wrap; } .navigation .nav-item { width:auto; flex:1; justify-content:center; padding:10px; white-space:nowrap; } .navigation .nav-item > span { display:none; } .sidebar-bottom { margin:0; padding-top:10px; } .sidebar-bottom .safe-label,.sidebar-bottom p { display:none; } .sidebar-bottom .nav-item { padding:6px 10px; border:0; justify-content:flex-end; font-size:.875rem; } .topbar { min-height:65px; padding:14px 20px; } .topbar > span { display:none; } .workspace-content { padding:25px 18px 40px; } .stats { gap:10px; } .stat { padding:17px 13px; } .stat-label { font-size:.875rem; } .stat-value { font-size:1.35rem; } .card { padding:20px; } .content-grid > aside .detail-list { grid-template-columns:1fr; gap:0; } .store-row .button { margin-left:59px; } .report-stats { grid-template-columns:repeat(2,1fr); } h1 { font-size:1.7rem; } }
@media(max-width:390px) { .stats { grid-template-columns:1fr; } .stat { display:flex; justify-content:space-between; align-items:center; gap:12px; } .stat-label { margin:0; } .navigation .nav-item { font-size:.875rem; padding:9px 5px; } }
@media(prefers-reduced-motion:no-preference) { button,a { transition:background-color .15s,color .15s; } }
.inventory-dialog { width:min(1080px,calc(100vw - 32px)); }
dialog:has(.online-stock-table) { width:min(1240px,calc(100vw - 32px)); max-width:calc(100vw - 32px); }
.online-stock-table { width:100%; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; }
.online-stock-table table { min-width:1080px; table-layout:auto; }
.online-stock-table th,.online-stock-table td { vertical-align:top; word-break:normal; overflow-wrap:normal; }
.online-stock-table th { white-space:nowrap; }
.online-stock-table th:nth-child(2),.online-stock-table td:nth-child(2) { min-width:280px; max-width:360px; white-space:normal; overflow-wrap:break-word; }
.online-stock-table th:nth-child(3),.online-stock-table td:nth-child(3) { min-width:130px; white-space:nowrap; }
.online-stock-table td:nth-child(4),.online-stock-table td:nth-child(5),.online-stock-table td:nth-child(6) { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.online-stock-table td:nth-child(7) { min-width:80px; white-space:nowrap; }
.online-stock-table td:nth-child(8) { min-width:180px; white-space:normal; }
.online-sku-table { max-height:55vh; overflow:scroll; scrollbar-gutter:stable; }
.online-sku-table table { min-width:1750px; }
.online-sku-table thead th { position:sticky; top:0; z-index:1; }
.online-sku-table th:first-child,.online-sku-table td:first-child { min-width:240px; max-width:300px; }
.online-sku-table th:nth-child(2),.online-sku-table td:nth-child(2) { min-width:120px; max-width:180px; }
.online-sku-table th:nth-child(3),.online-sku-table td:nth-child(3) { min-width:90px; }
.online-sku-table td:nth-child(4),.online-sku-table td:nth-child(5) { white-space:normal; text-align:left; min-width:170px; }
.online-sku-table td:nth-child(9) { min-width:240px; text-align:left; }
.online-sku-table:focus-visible { outline:2px solid #315de5; outline-offset:2px; }
.inventory-report { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:16px; margin:20px 0; }
.inventory-report .card { padding:18px; }
.inventory-report h3 { margin-bottom:4px; }
.inventory-report .badge { white-space:normal; margin:12px 0; }
.inventory-report th,.inventory-report td { padding:10px 8px; }
.inventory-report td:last-child { white-space:nowrap; }
.error-popup { position:fixed; z-index:100; right:20px; bottom:20px; width:min(440px,calc(100vw - 40px)); max-height:65vh; overflow:auto; padding:20px; background:#fff6f6; border:1px solid #d8959e; border-radius:12px; box-shadow:0 12px 40px #10213c33; color:#752936; overflow-wrap:anywhere; }
.error-popup p { margin:10px 0; font-size:.9rem; }
dialog .error-popup { position:static; width:100%; max-height:none; margin-top:20px; box-shadow:none; }
.error-history-item { border-top:1px solid var(--line); padding:20px 0; overflow-wrap:anywhere; }
.error-history-item h2 { margin-bottom:8px; }
