:root{--brand-navy: #1a2744;--brand-navy-mid: #243556;--brand-navy-light: #2f4568;--brand-orange: #f26522;--brand-orange-dark: #d95415;--brand-orange-soft: #fff4ee;--shopee: var(--brand-orange);--shopee-dark: var(--brand-orange-dark);--bg: #f4f6f9;--card: #ffffff;--text: #1a2744;--text-muted: #5c6b82;--border: #e2e8f0;--success: #0d9488;--warning: #f59e0b;--danger: #ef4444;--radius: 14px;--shadow: 0 2px 12px rgba(26, 39, 68, .08);--shadow-lg: 0 12px 40px rgba(26, 39, 68, .12);--sidebar-w-expanded: 248px;--sidebar-w-collapsed: 72px;--sidebar-w: var(--sidebar-w-expanded)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,system-ui,sans-serif;background:var(--bg);background-image:radial-gradient(ellipse 80% 50% at 50% -20%,rgba(242,101,34,.06),transparent),radial-gradient(ellipse 60% 40% at 100% 0%,rgba(26,39,68,.04),transparent);color:var(--text);line-height:1.5;user-select:none;-webkit-user-select:none}input,textarea,select,option,[contenteditable=true],.select-text{user-select:text;-webkit-user-select:text}.app-select-wrap{position:relative;display:inline-flex;align-items:center;max-width:100%;vertical-align:middle}.app-select-wrap--full{display:flex;width:100%}.app-select-wrap.is-disabled .app-select-chevron{opacity:.45}.app-select,select:not(.app-select){appearance:none;-webkit-appearance:none;-moz-appearance:none;margin:0;padding:.55rem 2.35rem .55rem .85rem;border:1px solid var(--border);border-radius:10px;font-family:inherit;font-size:.85rem;font-weight:600;color:var(--brand-navy);background-color:#fff;background-image:none;box-shadow:0 1px 2px #1a27440a;cursor:pointer;transition:border-color .15s,box-shadow .15s,background-color .15s;min-height:38px;line-height:1.35}.app-select-wrap--full .app-select{width:100%}.app-select-wrap--sm .app-select{padding:.42rem 2.1rem .42rem .7rem;font-size:.78rem;min-height:34px;border-radius:9px}.app-select-wrap--pill .app-select{border-radius:999px;padding:.38rem 2.1rem .38rem .85rem;font-size:.78rem;min-height:32px}.app-select:hover:not(:disabled),select:not(.app-select):hover:not(:disabled){border-color:#c5d0e0;background-color:#fafbfd}.app-select:focus,select:not(.app-select):focus{outline:none;border-color:var(--brand-orange);box-shadow:0 0 0 3px #f265221f}.app-select:disabled,select:not(.app-select):disabled{opacity:.65;cursor:not-allowed;background-color:#f4f6f9}.app-select-chevron{position:absolute;right:.7rem;pointer-events:none;color:var(--text-muted);flex-shrink:0}.app-select-wrap--sm .app-select-chevron{right:.55rem}.app-select-wrap--pill .app-select-chevron{right:.65rem}select:not(.app-select){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6b82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .65rem center;background-size:16px}table td,table th{user-select:none;-webkit-user-select:none;cursor:default}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer;border:none;border-radius:10px;padding:.6rem 1.2rem;font-size:.875rem;font-weight:600;transition:all .15s}button:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,var(--brand-orange) 0%,#ff7a45 100%);color:#fff;box-shadow:0 2px 8px #f2652247}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,var(--brand-orange-dark) 0%,var(--brand-orange) 100%);box-shadow:0 4px 14px #f2652259;transform:translateY(-1px)}.btn-secondary{background:#fff;color:var(--text);border:1px solid var(--border)}.btn-secondary:hover:not(:disabled){background:var(--bg)}.btn-with-icon{display:inline-flex;align-items:center;justify-content:center;gap:.45rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.spin{animation:spin 1s linear infinite}.layout{display:flex;min-height:100vh;--sidebar-w: var(--sidebar-w-expanded)}.layout.sidebar-collapsed{--sidebar-w: var(--sidebar-w-collapsed)}.sidebar{width:var(--sidebar-w-expanded);background:linear-gradient(180deg,var(--brand-navy) 0%,#152038 100%);border-right:1px solid rgba(255,255,255,.06);padding:1rem .65rem;display:flex;flex-direction:column;gap:.5rem;position:fixed;height:100vh;overflow-x:hidden;overflow-y:auto;box-shadow:4px 0 24px #1a274426;z-index:120;transition:width .22s ease,box-shadow .22s ease}.sidebar.is-collapsed{width:var(--sidebar-w-collapsed)}.sidebar.is-collapsed:hover{width:var(--sidebar-w-expanded);box-shadow:8px 0 32px #00000038}.sidebar.is-pinned{width:var(--sidebar-w-expanded)}.sidebar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.35rem;margin-bottom:.25rem}.sidebar-toggle{flex-shrink:0;width:34px;height:34px;padding:0;border-radius:9px;background:#ffffff14;color:#ffffffbf;border:1px solid rgba(255,255,255,.1);box-shadow:none;margin-top:.35rem}.sidebar-toggle:hover{background:#ffffff24;color:#fff}.sidebar.is-collapsed:not(:hover) .sidebar-toggle{margin:.15rem auto 0}.sidebar.is-collapsed:not(:hover) .sidebar-head{flex-direction:column;align-items:center}.brand-logo-link{display:block;text-decoration:none;line-height:0;min-width:0;flex:1}.brand-logo{display:block;width:auto;object-fit:contain;object-position:left top}.brand-logo--sidebar{max-width:100%;height:72px;margin:.25rem .35rem .75rem;padding:.35rem .5rem;background:#fff;border-radius:12px;box-shadow:0 2px 12px #00000026;transition:height .22s ease,margin .22s ease,padding .22s ease}.sidebar.is-collapsed:not(:hover) .brand-logo--sidebar{height:44px;width:44px;margin:.15rem auto .5rem;padding:.2rem;object-fit:contain}.sidebar.is-collapsed:not(:hover) .brand-logo-link{flex:none}.brand-logo--header{height:52px}.brand-logo--auth{height:88px;margin:0 auto .75rem;object-position:center top}.brand-logo--footer{height:44px;opacity:.92}.brand-logo--modal{height:64px;margin-bottom:.35rem}.auth-card .brand-logo-link{display:flex;justify-content:center;margin-bottom:.25rem}.logo{font-size:1.1rem;font-weight:700;color:var(--shopee);padding:.5rem .75rem;margin-bottom:1rem}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:10px;color:#ffffff9e;font-weight:500;font-size:.9rem;transition:background .15s,color .15s,padding .22s ease}.nav-link-label{white-space:nowrap;overflow:hidden;transition:opacity .18s ease,max-width .22s ease}.sidebar.is-collapsed:not(:hover) .nav-link{justify-content:center;padding:.75rem;gap:0}.sidebar.is-collapsed:not(:hover) .nav-link-label{opacity:0;max-width:0}.sidebar.is-collapsed:not(:hover) .store-switcher-info,.sidebar.is-collapsed:not(:hover) .store-switcher-chevron,.sidebar.is-collapsed:not(:hover) .store-switcher-footer,.sidebar.is-collapsed:not(:hover) .sidebar-user-name,.sidebar.is-collapsed:not(:hover) .sidebar-logout-label{display:none}.sidebar.is-collapsed:not(:hover) .store-switcher{margin-left:0;margin-right:0}.sidebar.is-collapsed:not(:hover) .store-switcher-trigger{justify-content:center;padding:.55rem}.sidebar.is-collapsed:not(:hover) .sidebar-logout{justify-content:center;padding:.55rem}.sidebar.is-collapsed .store-switcher-menu{top:0;left:calc(100% + 8px);right:auto;min-width:240px}.nav-link:hover{background:#ffffff14;color:#fff}.nav-link.active{background:#f265222e;color:#ffb380;font-weight:600}.main{flex:1;margin-left:var(--sidebar-w);padding:2rem;width:calc(100% - var(--sidebar-w));min-width:0;transition:margin-left .22s ease,width .22s ease}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem;gap:1rem;flex-wrap:wrap}.page-header h1{font-size:1.5rem;font-weight:800;color:var(--brand-navy);letter-spacing:-.02em}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:1rem;margin-bottom:1.5rem}.stat-card{background:var(--card);border-radius:var(--radius);padding:1.25rem;box-shadow:var(--shadow);border:1px solid var(--border);user-select:none;-webkit-user-select:none;transition:box-shadow .15s,border-color .15s}.stat-card:hover{box-shadow:var(--shadow-lg);border-color:#d8e0ea}.stat-card .label{font-size:.8rem;color:var(--text-muted);margin-bottom:.25rem}.stat-card .value{font-size:1.75rem;font-weight:700}.stat-card.highlight .value{color:var(--shopee)}.stat-sub{font-size:.75rem;margin-top:.35rem}.stat-card-link{display:block;color:inherit;text-decoration:none;transition:box-shadow .15s,transform .15s;cursor:pointer}.stat-card-link:focus,.stat-card-link:focus-visible{outline:none;box-shadow:0 0 0 2px #f2652259}.stat-card-link:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-1px)}.text-danger{color:var(--danger)}.card{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--border);padding:1.5rem;margin-bottom:1.5rem}.card--flush{padding:0;overflow:hidden}.cards-row{display:grid;gap:1.5rem;margin-bottom:1.5rem}.cards-row .card{margin-bottom:0}.ads-page-loading{display:flex;flex-direction:column;gap:1rem}.ads-loading-hint{margin:-.5rem 0 .25rem;font-size:.88rem}.ads-skeleton-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.ads-skeleton-block{border-radius:14px;background:linear-gradient(90deg,#eef2f8 25%,#f8fafc,#eef2f8 75%);background-size:200% 100%;animation:ads-skeleton-shimmer 1.2s ease-in-out infinite}.ads-skeleton-stats .ads-skeleton-block{height:88px}.ads-skeleton-chart{height:220px}.ads-skeleton-table{height:320px}@keyframes ads-skeleton-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.ads-overview-page{display:flex;flex-direction:column;gap:1rem}.ads-page-icon{vertical-align:-5px;margin-right:.35rem;color:var(--brand-orange)}.ads-period-pill{color:var(--brand-orange-dark);background:var(--brand-orange-soft)}.ads-kpi-spend{color:#c62828}.ads-chart-empty{padding:2rem 1.5rem;text-align:center}.ads-performance-chart,.finance-performance-chart{margin-bottom:.25rem}.finance-kpi-profit{color:var(--brand-orange)}.finance-fees-panel h2,.finance-side-panel h2{margin:0;padding:1rem 1.25rem .75rem;font-size:1rem;font-weight:700;color:var(--brand-navy);border-bottom:1px solid var(--border)}.finance-fees-table-wrap{padding:0 1.25rem 1rem}.finance-fees-table-wrap table td{padding:.65rem 0;border-bottom:1px solid #f0f2f6;font-size:.88rem}.finance-fees-table-wrap table tr:last-child td{border-bottom:none}.finance-fee-hint{display:block;font-size:.75rem;color:var(--text-muted);margin-top:.15rem}.finance-fees-total td{font-weight:700;padding-top:.85rem!important;border-top:1px solid var(--border);border-bottom:none!important}.finance-side-panels{display:flex;flex-direction:column;gap:1rem}.finance-escrow-hint{margin:0 0 1rem;font-size:.85rem;line-height:1.45}.finance-ads-roas-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.25rem .75rem;border-bottom:1px solid var(--border)}.finance-ads-roas-head h2{margin:0;font-size:1rem;font-weight:700;color:var(--brand-navy)}.finance-ads-roas-link{font-size:.82rem;font-weight:600;white-space:nowrap}.finance-ads-roas-metrics{padding:1rem 1.25rem .5rem}.finance-ads-roas-panel .ads-roas-hint{padding:0 1.25rem 1rem}.finance-breakdown-list{padding:.75rem 1.25rem 1rem;display:flex;flex-direction:column;gap:.65rem}.finance-breakdown-item{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.finance-breakdown-value{font-size:.88rem;font-weight:700;color:var(--brand-navy);font-variant-numeric:tabular-nums}.finance-breakdown-value--money{color:var(--brand-orange)}.costs-info-banner{margin-bottom:0}.costs-metrics-row{grid-template-columns:repeat(4,minmax(0,1fr))}.costs-products-panel h2{margin:0}.costs-panel-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:.85rem;padding:1rem 1.25rem .75rem;border-bottom:1px solid var(--border)}.costs-panel-head h2{font-size:1rem;font-weight:700;color:var(--brand-navy)}.costs-panel-filters{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;flex:1;justify-content:flex-end;min-width:min(100%,320px)}.costs-page-search{min-width:200px;flex:1;max-width:280px;padding:.5rem .75rem;border:1px solid var(--border);border-radius:10px;font-family:inherit;font-size:.85rem}.costs-page-search:focus{outline:none;border-color:var(--brand-orange);box-shadow:0 0 0 3px #f265221f}.costs-sku-code{display:block;font-size:.78rem;color:var(--brand-navy);margin-bottom:.1rem}.costs-row-missing{background:#fffaf7}.costs-status-pill{display:inline-flex;align-items:center;padding:.2rem .55rem;border-radius:999px;font-size:.72rem;font-weight:700;letter-spacing:.01em}.costs-status-pill.is-ok{background:#e8f5e9;color:#2e7d32}.costs-status-pill.is-pending{background:#fff3e0;color:#e65100}.costs-formula-hint{font-size:.8rem;margin:0;text-align:center}.ads-metrics-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.ads-metric-card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:1rem 1.1rem;box-shadow:var(--shadow)}.ads-metric-card--accent{border-color:#ffd4b8;background:linear-gradient(135deg,#fffaf7,#fff 70%)}.ads-metric-label{font-size:.78rem;font-weight:700;color:var(--text-muted);margin-bottom:.35rem}.ads-metric-value{font-size:1.35rem;font-weight:800;color:var(--brand-navy);letter-spacing:-.02em}.ads-metric-card--accent .ads-metric-value{color:var(--brand-orange)}.ads-metric-hint{margin-top:.35rem;font-size:.72rem;color:var(--text-muted);line-height:1.3}.ads-roas-hint{margin:0 0 1rem;font-size:.85rem;line-height:1.45}.ads-kpi-roas{color:#2e7d32}.roas-target-summary,.roas-target-panel{margin-bottom:1rem}.roas-target-panel-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:1rem 1.25rem .75rem;border-bottom:1px solid var(--border)}.roas-target-panel-head h2{margin:0;font-size:1rem;font-weight:700;color:var(--brand-navy)}.roas-target-search{min-width:220px;padding:.45rem .75rem;border:1px solid var(--border);border-radius:8px;font-size:.88rem}.roas-target-table td{vertical-align:middle}.roas-target-sku{display:block;font-size:.72rem;color:var(--text-muted);margin-top:.15rem}.roas-target-sold{display:block;font-size:.7rem;color:var(--text-muted)}.roas-target-price-input{width:5.5rem;text-align:right;padding:.3rem .45rem;border:1px solid var(--border);border-radius:6px;font-size:.85rem}.roas-target-price-input--empty{width:4.5rem}.roas-target-value{font-weight:700}.roas-target-value--good{color:#2e7d32}.roas-target-value--warn{color:#e65100}.roas-target-value--bad{color:#c62828}.roas-target-value--neutral{color:var(--brand-navy)}.roas-target-na{color:var(--text-muted)}.roas-target-status-good{color:#2e7d32}.roas-target-status-warn{color:#e65100}.roas-target-status-bad{color:#c62828}.roas-target-row-warn{background:#fffbf5}.roas-target-missing{font-size:.82rem;font-weight:600}.roas-target-foot{font-size:.82rem;margin-top:0}.ads-content-row{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,.9fr);gap:1rem;align-items:start}.ads-campaigns-panel h2,.ads-side-panel h2{margin:0;padding:1rem 1.25rem .75rem;font-size:1rem;font-weight:700;color:var(--brand-navy);border-bottom:1px solid var(--border)}.ads-campaigns-count{margin-left:.45rem;font-size:.82rem;font-weight:700;color:var(--text-muted)}.ads-campaigns-panel .ads-campaigns-head{padding:1rem 1.25rem 0;margin-bottom:0;border-bottom:none}.ads-campaigns-panel .ads-campaigns-head h2{padding:0;border:none}.ads-side-panel h2{border-bottom:1px solid var(--border)}.ads-side-panel{padding-bottom:.75rem}.ads-top-chart-wrap{padding:.75rem 1rem .25rem}.ads-filter-pills{margin-left:0}.ads-filter-pills button{font-size:.74rem;padding:.35rem .75rem}.ads-type-pill{display:inline-block;font-size:.72rem;font-weight:700;color:var(--brand-navy);background:#eef2f8;border-radius:6px;padding:.15rem .45rem}.ads-placement-text{display:block;margin-top:.15rem;font-size:.72rem;color:var(--text-muted)}.ads-status-sub{font-size:.68rem;font-weight:500;color:var(--text-muted);margin-left:.15rem}.ads-cell-spend{color:#c62828;font-weight:700}.ads-cell-gmv{color:#0d9488;font-weight:700}.ads-cell-roas{font-weight:700;color:var(--brand-navy)}.ads-campaigns-panel .ads-table-wrap{padding:0 .25rem .5rem}.ads-campaigns-panel table{width:100%}.ads-skeleton-chart-main{height:360px}.ads-metric-skeleton{height:76px}.ads-skeleton-side{height:280px}.ads-layout{display:flex;flex-direction:column;align-items:center;gap:1.25rem;margin-bottom:1.5rem}.ads-campaigns-card{width:100%;max-width:100%}.ads-campaigns-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:1rem}.ads-campaigns-head h2{margin-bottom:0}.ads-page-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.ads-filter-check{display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:600;color:var(--text-muted);-webkit-user-select:none;user-select:none;white-space:nowrap}.ads-filter-check input{width:1rem;height:1rem;accent-color:var(--brand-orange);cursor:pointer}.ads-campaigns-filters{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}.ads-store-cell{font-size:.82rem;font-weight:600;color:var(--brand-navy);white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}.ads-status-legend{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.82rem;color:var(--text-muted)}.ads-status-light{display:inline-flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:600;white-space:nowrap}.ads-status-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;box-shadow:0 0 0 2px #ffffffe6}.ads-status-light.is-on .ads-status-dot{background:#2e7d32;box-shadow:0 0 0 2px #e8f5e9,0 0 6px #2e7d328c}.ads-status-light.is-off .ads-status-dot{background:#c62828;box-shadow:0 0 0 2px #ffebee,0 0 6px #c6282873}.ads-status-light.is-on{color:#2e7d32}.ads-status-light.is-off{color:#c62828}.ads-row-off td{opacity:.82}.ads-table-wrap{overflow-x:auto}.ads-chart-card{width:100%;max-width:520px;margin:0 auto}.ads-chart-bars{display:flex;gap:2px;align-items:flex-end;max-height:120px}.ads-chart-day{flex:1;min-width:0;text-align:center}.ads-chart-day .bar-label{font-size:.62rem}.card h2{font-size:1rem;font-weight:700;color:var(--brand-navy);margin-bottom:1rem}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:.75rem 1rem;border-bottom:1px solid var(--border);font-size:.875rem}th{color:var(--text-muted);font-weight:500;font-size:.8rem;text-transform:uppercase;letter-spacing:.03em}.badge{display:inline-block;padding:.2rem .6rem;border-radius:20px;font-size:.75rem;font-weight:600}.badge-pendente{background:#fff3e0;color:#e65100}.badge-pronto_envio{background:#e3f2fd;color:#1565c0}.badge-aguardando_coleta{background:#ede7f6;color:#5e35b1}.badge-enviado{background:#e8f5e9;color:#2e7d32}.badge-entregue{background:#e0f2f1;color:#00695c}.badge-cancelado{background:#ffebee;color:#c62828}.badge-shopee{background:#fff0ec;color:var(--shopee)}.badge-loja{background:#f3e5f5;color:#7b1fa2}.orders-row-actions{display:flex;flex-wrap:wrap;gap:.35rem;justify-content:flex-end}.order-status-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border)}.filters{display:flex;gap:.75rem;margin-bottom:1rem;flex-wrap:wrap}.filters input,.form-group input,.form-group textarea{padding:.6rem .9rem;border:1px solid var(--border);border-radius:8px;font-size:.875rem;font-family:inherit}.filters input{min-width:220px}.orders-toolbar{padding:1rem 1.25rem;margin-bottom:1rem;display:flex;flex-direction:column;gap:.85rem}.orders-search{display:flex;gap:.75rem;flex-wrap:wrap}.orders-search input{flex:1;min-width:200px;padding:.6rem .9rem;border:1px solid var(--border);border-radius:8px;font-size:.875rem;font-family:inherit}.orders-filters-row{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}.orders-clear{padding:.55rem .85rem;font-size:.8rem}.filter-chips{display:flex;gap:.45rem;flex-wrap:wrap}.filter-chip{padding:.4rem .85rem;border-radius:999px;border:1px solid var(--border);background:#fff;font-size:.8rem;font-weight:500;color:var(--text-muted);transition:all .15s}.filter-chip:hover{border-color:var(--shopee);color:var(--shopee)}.filter-chip.active{background:#fff0ec;border-color:var(--shopee);color:var(--shopee)}.orders-summary{display:flex;gap:1.25rem;flex-wrap:wrap;font-size:.85rem;color:var(--text-muted);padding-top:.25rem;border-top:1px solid var(--border)}.orders-summary strong{color:var(--text)}.order-row-cancelled{opacity:.85}.order-row-cancelled td{background:#fff8f8}.order-cancel-hint{display:block;font-size:.72rem;color:var(--text-muted);margin-top:.15rem;max-width:14rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.35rem}.form-group label{font-size:.8rem;font-weight:500;color:var(--text-muted)}.form-group.full{grid-column:1 / -1}.alert{padding:.75rem 1rem;border-radius:8px;font-size:.875rem;margin-bottom:1rem}.alert-success{background:#e8f5e9;color:#2e7d32}.sync-banner{border-radius:var(--radius);padding:1rem 1.25rem;margin-bottom:1.25rem;box-shadow:var(--shadow)}.sync-banner-running{background:#fff8e1;border:1px solid #ffe082;color:#6d4c00}.sync-banner-success{background:#e8f5e9;border:1px solid #a5d6a7;color:#2e7d32}.sync-banner-error{background:#ffebee;border:1px solid #ef9a9a;color:#c62828}.sync-banner-row{display:flex;align-items:center;gap:.75rem;margin-bottom:.35rem}.sync-banner p{margin:.15rem 0;font-size:.9rem}.sync-banner-meta{opacity:.85;font-size:.85rem!important}.sync-spinner{width:1rem;height:1rem;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:sync-spin .8s linear infinite;flex-shrink:0}@keyframes sync-spin{to{transform:rotate(360deg)}}.alert-error{background:#ffebee;color:#c62828}.alert-warning{background:#fff3e0;color:#e65100}.alert-info{background:#e3f2fd;color:#1565c0}.bar-chart{display:flex;align-items:flex-end;gap:4px;height:120px;padding-top:1rem}.bar{flex:1;background:var(--shopee);border-radius:4px 4px 0 0;min-height:4px;position:relative}.bar-label{font-size:.65rem;color:var(--text-muted);text-align:center;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty{text-align:center;padding:3rem;color:var(--text-muted)}.actions{display:flex;gap:.5rem}.listings-metrics-row{grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:.85rem}.listings-panel{overflow:visible}.listings-filters{align-items:center}.listings-tabs-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1.25rem;border-bottom:1px solid var(--border)}.listings-bulk-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.listings-table-wrap{overflow-x:auto;overflow-y:visible}.listings-table{min-width:960px}.listings-col-check{width:2.5rem}.listings-col-actions{width:3.5rem;text-align:center;overflow:visible}.listings-product-cell{display:flex;align-items:center;gap:.75rem;min-width:220px}.listings-thumb{width:44px;height:44px;border-radius:8px;object-fit:cover;flex-shrink:0;background:#f3f5f8;border:1px solid var(--border)}.listings-thumb--empty{background:linear-gradient(135deg,#f3f5f8,#e8edf4)}.listings-product-meta{display:flex;flex-direction:column;gap:.15rem;min-width:0}.listings-error-text{color:#c62828;font-size:.75rem;line-height:1.3}.listings-promo{display:block;font-size:.75rem;color:var(--shopee);font-weight:600}.listings-row-error{background:#fff8f6}.costs-status-pill.is-muted{background:#eceff1;color:#546e7a}.costs-status-pill.is-danger{background:#ffebee;color:#c62828}.listings-empty-state{display:flex;flex-direction:column;align-items:center;gap:.85rem;padding:2rem 1.25rem;text-align:center}.listings-empty-actions{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center}.listings-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.9rem 1.25rem 1.1rem;border-top:1px solid var(--border)}.listings-pagination-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.ups-page{display:flex;flex-direction:column;gap:0;min-height:100%}.ups-page-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1.25rem;background:#fff;border-bottom:1px solid var(--border)}.ups-page-head h1{font-size:1.35rem;font-weight:700;color:var(--brand-navy);margin:0;display:flex;align-items:center;gap:.6rem}.ups-breadcrumb{font-size:.8rem;color:var(--text-muted);margin:0 0 .25rem}.ups-breadcrumb a{color:#1976d2;text-decoration:none}.ups-page-head-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.ups-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem 1rem;border-radius:6px;font-size:.85rem;font-weight:600;font-family:inherit;cursor:pointer;border:1px solid transparent;text-decoration:none;transition:background .15s,border-color .15s,color .15s}.ups-btn:disabled{opacity:.55;cursor:not-allowed}.ups-btn-primary{background:#1976d2;color:#fff;border-color:#1976d2}.ups-btn-primary:hover:not(:disabled){background:#1565c0}.ups-btn-outline{background:#fff;color:var(--brand-navy);border-color:#c5d0dc}.ups-btn-outline:hover:not(:disabled){border-color:#1976d2;color:#1976d2}.ups-btn-ghost{background:transparent;color:var(--brand-navy);border-color:transparent}.ups-btn-sm{padding:.35rem .75rem;font-size:.8rem}.ups-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;padding:.75rem 1.25rem;background:#fff;border-bottom:1px solid var(--border)}.ups-search{display:flex;align-items:center;gap:.5rem;flex:1;min-width:200px;max-width:360px;padding:.45rem .75rem;border:1px solid var(--border);border-radius:6px;background:#fff}.ups-search input{flex:1;border:none;outline:none;font-size:.85rem;font-family:inherit;background:transparent}.ups-status-tabs{display:flex;flex-wrap:wrap;gap:0;padding:0 1.25rem;background:#fff;border-bottom:2px solid var(--border)}.ups-status-tab{padding:.75rem 1rem;border:none;background:transparent;font-size:.85rem;font-weight:600;color:var(--text-muted);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-2px;font-family:inherit}.ups-status-tab.is-active{color:#1976d2;border-bottom-color:#1976d2}.ups-status-count{font-weight:500;margin-left:.15rem}.ups-bulk-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.65rem 1.25rem;background:#f8fafc;border-bottom:1px solid var(--border)}.ups-bulk-count{font-size:.8rem;color:var(--text-muted);margin-right:.5rem}.ups-dropdown{position:relative;display:inline-block}.ups-dropdown-menu{position:absolute;top:calc(100% + 4px);left:0;min-width:160px;background:#fff;border:1px solid var(--border);border-radius:6px;box-shadow:0 4px 16px #0000001a;z-index:50;display:flex;flex-direction:column;padding:.25rem}.ups-dropdown-menu--right{left:auto;right:0}.ups-dropdown-menu button{border:none;background:transparent;text-align:left;padding:.45rem .65rem;font-size:.84rem;cursor:pointer;border-radius:4px;font-family:inherit}.ups-dropdown-menu button:hover:not(:disabled){background:#f0f4f8}.ups-table-card{background:#fff;flex:1}.ups-table-wrap{overflow-x:auto}.ups-table{width:100%;border-collapse:collapse;min-width:1100px}.ups-table th{background:#f5f7fa;font-size:.78rem;font-weight:700;color:var(--brand-navy);padding:.65rem .85rem;border-bottom:1px solid var(--border);white-space:nowrap}.ups-table td{padding:.75rem .85rem;border-bottom:1px solid #eef1f5;font-size:.84rem;vertical-align:top}.ups-col-check{width:2.5rem}.ups-col-product{min-width:280px}.ups-col-actions{white-space:nowrap}.ups-product{display:flex;gap:.75rem;align-items:flex-start}.ups-product-img{width:56px;height:56px;border-radius:4px;object-fit:cover;flex-shrink:0;border:1px solid var(--border)}.ups-product-img--empty{background:#eef1f5}.ups-product-info{display:flex;flex-direction:column;gap:.15rem;min-width:0}.ups-product-name{font-weight:600;color:var(--brand-navy);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.ups-product-store{font-size:.75rem;color:var(--text-muted)}.ups-product-variants{font-size:.75rem;color:#1976d2;cursor:pointer}.ups-product-error{font-size:.72rem;color:#c62828}.ups-sku-cell{display:flex;flex-direction:column;gap:.2rem}.ups-sku-cell code{font-size:.78rem;color:var(--brand-navy)}.ups-item-id{font-size:.72rem;color:var(--text-muted)}.ups-perf{display:flex;flex-direction:column;gap:.15rem;font-size:.8rem}.ups-perf-muted{color:var(--text-muted);font-size:.72rem}.ups-dates{display:flex;flex-direction:column;gap:.25rem;font-size:.78rem}.ups-status-badge{display:inline-block;padding:.15rem .45rem;border-radius:4px;font-size:.7rem;font-weight:700;width:fit-content}.ups-status-badge--active{background:#e8f5e9;color:#2e7d32}.ups-status-badge--inactive,.ups-status-badge--disabled{background:#eceff1;color:#546e7a}.ups-status-badge--draft{background:#fff3e0;color:#e65100}.ups-link-action{color:#1976d2;font-size:.84rem;font-weight:600;background:none;border:none;cursor:pointer;text-decoration:none;padding:0;font-family:inherit;display:inline-flex;align-items:center;gap:.2rem;margin-right:.5rem}.ups-link-action.is-disabled{color:var(--text-muted);cursor:not-allowed}.ups-dropdown--inline{display:inline-block}.ups-empty{padding:3rem 1.25rem;text-align:center;color:var(--text-muted);display:flex;flex-direction:column;align-items:center;gap:.75rem}.ups-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.85rem 1.25rem;border-top:1px solid var(--border);font-size:.82rem;color:var(--text-muted)}.ups-pagination-btns{display:flex;gap:.5rem}.ups-editor-page .ups-page-head{position:sticky;top:0;z-index:20}.ups-editor-status{font-size:.75rem;font-weight:700;padding:.2rem .55rem;border-radius:4px;vertical-align:middle}.ups-editor-status--active{background:#e8f5e9;color:#2e7d32}.ups-editor-status--draft{background:#fff3e0;color:#e65100}.ups-editor-meta{padding:.5rem 1.25rem;font-size:.8rem;color:var(--text-muted);background:#f8fafc;border-bottom:1px solid var(--border)}.ups-editor-layout{display:grid;grid-template-columns:1fr 200px;gap:0;align-items:start}.ups-editor-main{padding:1.25rem;display:flex;flex-direction:column;gap:1.25rem}.ups-editor-nav{position:sticky;top:80px;padding:1.25rem .75rem;border-left:1px solid var(--border);background:#fff;display:flex;flex-direction:column;gap:.15rem;min-height:calc(100vh - 120px)}.ups-editor-nav button{border:none;background:transparent;text-align:left;padding:.5rem .65rem;font-size:.82rem;color:var(--text-muted);cursor:pointer;border-radius:4px;border-left:3px solid transparent;font-family:inherit}.ups-editor-nav button.is-active{color:#1976d2;font-weight:700;border-left-color:#1976d2;background:#f0f7ff}.ups-form-section{background:#fff;border:1px solid var(--border);border-radius:8px;padding:1.25rem 1.5rem}.ups-form-section h2{font-size:1rem;font-weight:700;color:var(--brand-navy);margin:0 0 1.25rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}.ups-section-sub{font-size:.85rem;font-weight:600;margin:0 0 .75rem}.ups-form-row{display:grid;grid-template-columns:180px 1fr;gap:1rem;align-items:center;margin-bottom:1rem}.ups-form-row--top{align-items:flex-start}.ups-form-row>label{font-size:.85rem;font-weight:600;color:var(--brand-navy)}.ups-form-field{position:relative;display:flex;flex-direction:column;gap:.35rem}.ups-form-field input,.ups-form-field textarea{width:100%;padding:.5rem .75rem;border:1px solid #c5d0dc;border-radius:4px;font-size:.85rem;font-family:inherit}.ups-form-field input:focus,.ups-form-field textarea:focus{outline:none;border-color:#1976d2;box-shadow:0 0 0 2px #1976d226}.ups-char-count{font-size:.72rem;color:var(--text-muted);align-self:flex-end}.ups-field-hint{font-size:.75rem;color:var(--text-muted)}.ups-ai-btn{position:absolute;right:.5rem;top:.45rem;border:none;background:#f0f7ff;color:#1976d2;border-radius:4px;padding:.25rem .4rem;cursor:pointer}.ups-radio-group{flex-direction:row;gap:1.25rem}.ups-radio-group label{display:inline-flex;align-items:center;gap:.35rem;font-weight:500;font-size:.85rem;cursor:pointer}.ups-input-suffix{display:flex;align-items:center;gap:.35rem}.ups-input-suffix input{width:100px}.ups-input-suffix span{font-size:.8rem;color:var(--text-muted)}.ups-dimensions{flex-direction:row;gap:.75rem}.ups-profit-hint{font-size:.82rem;color:#2e7d32;margin:.5rem 0 0 180px}.ups-variant-toolbar{margin-bottom:.75rem}.ups-variant-table-wrap{overflow-x:auto}.ups-variant-table{width:100%;border-collapse:collapse;font-size:.82rem}.ups-variant-table th{background:#f5f7fa;padding:.5rem .65rem;text-align:left;border:1px solid var(--border);font-size:.75rem}.ups-variant-table td{padding:.35rem .5rem;border:1px solid var(--border)}.ups-variant-table input{width:100%;min-width:70px;padding:.35rem .5rem;border:1px solid #c5d0dc;border-radius:3px;font-size:.82rem;font-family:inherit}.ups-bulk-link{display:block;border:none;background:none;color:#1976d2;font-size:.68rem;cursor:pointer;padding:0;margin-top:.15rem;font-family:inherit}.ups-media-grid{display:flex;flex-wrap:wrap;gap:.75rem}.ups-media-item{position:relative;width:100px;height:100px;border:1px solid var(--border);border-radius:4px;overflow:hidden}.ups-media-item img{width:100%;height:100%;object-fit:cover}.ups-media-item--clickable{cursor:pointer}.ups-media-item--clickable:hover{border-color:#1976d2}.ups-media-placeholder{width:100%;height:100%;background:#eef1f5}.ups-media-cover{position:absolute;bottom:0;left:0;right:0;background:#1976d2d9;color:#fff;font-size:.65rem;text-align:center;padding:.15rem}.ups-media-label{position:absolute;bottom:0;left:0;right:0;background:#0000008c;color:#fff;font-size:.6rem;text-align:center;padding:.1rem}.ups-media-add{width:100px;height:100px;border:2px dashed #c5d0dc;border-radius:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.25rem;color:var(--text-muted);font-size:.75rem;cursor:pointer}.ups-media-add:hover{border-color:#1976d2;color:#1976d2}.ups-photo-studio{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--border)}.ups-photo-studio h3{font-size:.9rem;margin:0 0 .65rem}.ups-photo-studio-controls{display:flex;gap:.5rem;margin-bottom:.75rem}@media (max-width: 900px){.ups-editor-layout{grid-template-columns:1fr}.ups-editor-nav{position:static;flex-direction:row;flex-wrap:wrap;border-left:none;border-top:1px solid var(--border);min-height:auto}.ups-form-row{grid-template-columns:1fr}.ups-profit-hint{margin-left:0}}.listing-actions-menu{position:relative;display:flex;justify-content:center}.listing-actions-trigger{width:2.5rem;height:2.5rem;border-radius:10px;border:1px solid #b9c7d8;background:#fff;color:var(--brand-navy);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 2px #1a274414;transition:border-color .15s,background-color .15s,color .15s,box-shadow .15s}.listing-actions-trigger svg{stroke-width:2.8}.listing-actions-trigger:hover,.listing-actions-trigger.is-open{color:var(--shopee);border-color:#f39a79;background:#fff1ea;box-shadow:0 2px 8px #f2652233}.listing-actions-trigger:focus-visible{outline:none;box-shadow:0 0 0 3px #ee4d2d42,0 2px 8px #f2652233}.listing-actions-popover{position:absolute;top:calc(100% + 6px);right:0;min-width:180px;border-radius:10px;border:1px solid var(--border);background:#fff;box-shadow:0 8px 22px #0000001a,0 2px 8px #0000000f;z-index:40;padding:.3rem;display:flex;flex-direction:column;gap:.2rem}.listing-actions-item{width:100%;border:none;border-radius:7px;background:transparent;color:var(--text);text-decoration:none;font-size:.84rem;font-family:inherit;text-align:left;padding:.45rem .55rem;cursor:pointer}.listing-actions-item:hover{background:#f8f8f8}.listing-actions-item:disabled{color:var(--text-muted);cursor:not-allowed;background:transparent}.text-muted{color:var(--text-muted)}.text-success{color:var(--success)}.text-right{text-align:right}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.modal{background:var(--card);border-radius:var(--radius);box-shadow:0 8px 32px #0000002e;width:100%;max-width:820px;max-height:90vh;display:flex;flex-direction:column}.modal--wide{max-width:720px}.detail-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem 1.5rem}.detail-label{display:block;font-size:.75rem;color:var(--text-muted);margin-bottom:.2rem;text-transform:uppercase;letter-spacing:.03em}.chart-legend{display:flex;gap:1.25rem;font-size:.8rem;margin-bottom:.75rem;flex-wrap:wrap}.chart-legend span:before{content:"";display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:.35rem;vertical-align:middle}.chart-legend .rev:before{background:var(--shopee)}.chart-legend .profit:before{background:var(--success)}.bar-group{display:flex;gap:2px;align-items:flex-end;justify-content:center;height:80px}.bar-profit{background:var(--success);opacity:.85;border-radius:2px 2px 0 0;min-width:4px;flex:1}.breakdown-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.75rem;margin-top:.5rem}.breakdown-item{background:var(--bg);border-radius:8px;padding:.75rem 1rem}.breakdown-item .label{font-size:.75rem;color:var(--text-muted)}.breakdown-item .value{font-weight:600;margin-top:.25rem}tr.clickable{cursor:pointer}tr.clickable:hover{background:#ee4d2d0f}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;border-bottom:1px solid var(--border)}.modal-header h2{font-size:1.1rem;font-weight:600}.modal-close{background:none;border:none;font-size:1.5rem;line-height:1;color:var(--text-muted);padding:.25rem .5rem}.modal-close:hover{color:var(--text)}.modal-body{padding:1rem 1.5rem;overflow-y:auto;flex:1}.tracking-timeline{list-style:none;margin:0;padding:0;border-left:2px solid var(--border)}.tracking-timeline li{position:relative;padding:0 0 1rem 1rem;margin-left:.35rem}.tracking-timeline li:before{content:"";position:absolute;left:-.45rem;top:.35rem;width:8px;height:8px;border-radius:50%;background:var(--primary)}.tracking-timeline time{display:block;font-size:.75rem;color:var(--text-muted);margin-bottom:.2rem}.tracking-timeline p{margin:0;font-size:.875rem;line-height:1.4}.modal-footer{display:flex;justify-content:flex-end;gap:.75rem;padding:1rem 1.5rem;border-top:1px solid var(--border)}.modal-search{margin-bottom:1rem}.modal-search input{width:100%;padding:.6rem .9rem;border:1px solid var(--border);border-radius:8px;font-size:.875rem;font-family:inherit}.cost-input{width:100%;max-width:110px;padding:.45rem .6rem;border:1px solid var(--border);border-radius:6px;font-size:.875rem;font-family:inherit;text-align:right}.cost-input:focus{outline:none;border-color:var(--shopee);box-shadow:0 0 0 2px #fff0ec}.cost-modal-toolbar{display:flex;flex-direction:column;gap:.65rem;margin-bottom:.75rem}.cost-filter-chips{display:flex;gap:.4rem;flex-wrap:wrap}.chip{border:1px solid var(--border);background:#fff;border-radius:999px;padding:.3rem .75rem;font-size:.78rem;font-weight:600;color:var(--text-muted);cursor:pointer;font-family:inherit}.chip:hover{border-color:#ffc9b8;color:var(--shopee)}.chip-active{background:#fff0ec;border-color:#ffc9b8;color:var(--shopee)}.cost-filter-row{display:flex;gap:.65rem;flex-wrap:wrap;align-items:flex-end}.cost-filter-field{display:flex;flex-direction:column;gap:.25rem;min-width:140px;flex:1}.cost-filter-field .app-select-wrap,.form-group .app-select-wrap,.store-selector .app-select-wrap{width:100%}.cost-filter-field span{font-size:.72rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.cost-filter-clear{padding:.5rem .85rem;font-size:.78rem;white-space:nowrap}.cost-filter-summary{margin:0;font-size:.8rem}.cost-variation-cell{font-size:.82rem;font-weight:600;color:var(--text);white-space:nowrap}.cost-smart-bar{background:linear-gradient(180deg,#fff8f5,#fff);border:1px solid #ffc9b8;border-radius:10px;padding:.85rem 1rem;margin-bottom:1rem}.cost-smart-title{font-size:.88rem;font-weight:700;color:var(--shopee);margin-bottom:.35rem}.cost-smart-desc{margin:0 0 .75rem;font-size:.8rem;line-height:1.45}.cost-smart-fields{display:flex;gap:.65rem;align-items:flex-end;flex-wrap:wrap}.cost-smart-fields label{display:flex;flex-direction:column;gap:.25rem;font-size:.72rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.cost-smart-fields .cost-filter-field{min-width:180px;flex:1.2}.cost-smart-preview{margin:.65rem 0 0;font-size:.78rem}.cost-smart-preview-box{margin-top:.75rem;border-top:1px dashed #ffc9b8;padding-top:.65rem}.cost-smart-preview-toggle{border:none;background:none;padding:0;font-size:.8rem;font-weight:700;color:var(--shopee);cursor:pointer;font-family:inherit;margin-bottom:.5rem}.cost-smart-preview-table{width:100%;font-size:.78rem;border-collapse:collapse}.cost-smart-preview-table th,.cost-smart-preview-table td{padding:.35rem .5rem;border-bottom:1px solid var(--border)}.cost-smart-preview-table th{font-size:.68rem;text-transform:uppercase;letter-spacing:.03em;color:var(--text-muted)}.cost-row--preview{background:#fffaf8}.cost-input--preview{border-style:dashed;border-color:#ffc9b8;background:#fff8f5}.cost-input--preview::placeholder{color:var(--shopee);opacity:.85}.cost-cell-hint{font-size:.68rem;color:var(--shopee);margin-top:.15rem;font-weight:600}.cost-bulk-bar{background:#fafafa;border:1px solid var(--border);border-radius:10px;padding:.85rem 1rem;margin-bottom:1rem}.cost-bulk-title{font-size:.82rem;font-weight:700;margin-bottom:.6rem}.cost-bulk-fields{display:flex;gap:.65rem;align-items:flex-end;flex-wrap:wrap}.cost-bulk-fields label{display:flex;flex-direction:column;gap:.25rem;font-size:.72rem;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.03em}.cost-bulk-fields .cost-input{width:110px}.cost-bulk-check{display:flex;align-items:center;gap:.4rem;font-size:.8rem;margin-top:.6rem;cursor:pointer;color:var(--text-muted)}.cost-bulk-hint{font-size:.78rem;margin:.5rem 0 0}.sku-missing{color:var(--warning);font-size:.75rem;font-weight:500}@media (min-width: 1200px){.stats-grid{grid-template-columns:repeat(6,1fr)}.cards-row{grid-template-columns:1fr 1fr}}@media (min-width: 1400px){.main{padding:2rem 3rem}.stat-card .value{font-size:2rem}}@media (min-width: 1920px){.main{padding:2.5rem 4rem}.page-header h1{font-size:1.65rem}:root{--sidebar-w-expanded: 260px}.modal{max-width:960px}th,td{padding:.85rem 1.25rem}}.store-manage-link{display:block;text-align:center;font-size:.78rem;color:var(--text-muted);text-decoration:none;padding:.35rem 0}.store-manage-link:hover{color:var(--shopee)}.store-switcher{position:relative;margin:0 .5rem 1rem;z-index:20}.store-switcher--loading,.store-switcher--error{padding:1rem;text-align:center;font-size:.85rem}.store-switcher-skeleton{height:56px;border-radius:14px;background:linear-gradient(90deg,#f0f0f0 25%,#e8e8e8,#f0f0f0 75%);background-size:200% 100%;animation:store-shimmer 1.2s infinite;margin-bottom:.5rem}@keyframes store-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.store-switcher-trigger{width:100%;display:flex;align-items:center;gap:.75rem;padding:.85rem .9rem;border:1px solid #ebebeb;border-radius:14px;background:#fff;box-shadow:0 1px 3px #0000000a,0 4px 12px #ee4d2d0f;cursor:default;text-align:left;font-family:inherit;transition:border-color .15s,box-shadow .15s}.store-switcher-trigger:not(:disabled){cursor:pointer}.store-switcher-trigger:not(:disabled):hover,.store-switcher-trigger.is-open{border-color:#ffd4c8;box-shadow:0 2px 8px #f2652226}.store-switcher-avatar{width:40px;height:40px;border-radius:11px;background:linear-gradient(145deg,var(--shopee) 0%,#ff7a5c 100%);color:#fff;font-weight:700;font-size:1rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 6px #ee4d2d40}.store-switcher-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:.2rem}.store-switcher-name{font-weight:700;font-size:.9rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.store-switcher-pill{display:inline-flex;align-items:center;gap:.35rem;font-size:.68rem;font-weight:600;width:fit-content;padding:.12rem .45rem .12rem .35rem;border-radius:999px}.store-switcher-pill.is-online{color:#1b7a3d;background:#e8f5e9}.store-switcher-pill.is-offline{color:#757575;background:#f5f5f5}.store-switcher-pill.is-online .status-dot{box-shadow:0 0 0 2px #2e7d3233}.store-switcher-meta{font-size:.65rem;color:var(--text-muted);font-variant-numeric:tabular-nums}.store-switcher-chevron{flex-shrink:0;color:var(--text-muted);transition:transform .2s}.store-switcher-trigger.is-open .store-switcher-chevron{transform:rotate(180deg);color:var(--shopee)}.store-switcher-menu{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #ebebeb;border-radius:14px;box-shadow:0 8px 24px #0000001a,0 2px 8px #0000000a;overflow:hidden;animation:store-menu-in .18s ease-out}@keyframes store-menu-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.store-switcher-menu-head{padding:.65rem 1rem .4rem;font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted)}.store-switcher-list{list-style:none;margin:0;padding:.25rem .4rem .4rem;max-height:220px;overflow-y:auto}.store-switcher-option{width:100%;display:flex;align-items:center;gap:.65rem;padding:.55rem .65rem;border:none;border-radius:10px;background:transparent;cursor:pointer;font-family:inherit;text-align:left;transition:background .12s}.store-switcher-option:hover{background:#f8f8f8}.store-switcher-option.is-active{background:var(--brand-orange-soft)}.store-switcher-option-avatar{width:32px;height:32px;border-radius:9px;background:linear-gradient(145deg,#ff8a6b,var(--shopee));color:#fff;font-weight:700;font-size:.8rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.store-switcher-option-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:.1rem}.store-switcher-option-name{font-size:.85rem;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.store-switcher-option-status{font-size:.68rem;color:var(--text-muted)}.store-switcher-option-status.online{color:#2e7d32}.store-switcher-check{flex-shrink:0;color:var(--shopee)}.store-switcher-footer{display:flex;justify-content:space-between;gap:.5rem;margin-top:.5rem;padding:0 .15rem}.store-switcher-link{background:none;border:none;padding:.35rem .5rem;font-family:inherit;font-size:.75rem;font-weight:600;color:var(--text-muted);cursor:pointer;text-decoration:none;border-radius:6px;transition:color .12s,background .12s}.store-switcher-link:hover{color:var(--shopee);background:var(--brand-orange-soft)}.store-switcher-create{display:flex;flex-direction:column;gap:.6rem;padding:1rem;background:#fff;border:1px solid #ebebeb;border-radius:14px;box-shadow:0 2px 8px #0000000a}.store-switcher-label{font-size:.75rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.store-switcher-input{width:100%;padding:.65rem .85rem;border:1px solid var(--border);border-radius:10px;font-family:inherit;font-size:.9rem;transition:border-color .15s,box-shadow .15s}.store-switcher-input:focus{outline:none;border-color:#ffb39e;box-shadow:0 0 0 3px #ee4d2d1f}.store-switcher-create-actions{display:flex;gap:.5rem}.store-switcher-create-actions .btn-primary,.store-switcher-create-actions .btn-secondary{flex:1;font-size:.8rem}.store-switcher-btn{width:100%;font-size:.8rem}.sidebar-nav{display:flex;flex-direction:column;gap:.15rem;flex:1}.stores-create-form{display:flex;gap:.75rem;flex-wrap:wrap}.stores-create-form input{flex:1;min-width:200px;padding:.6rem .9rem;border:1px solid var(--border);border-radius:8px;font-family:inherit}.stores-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}.store-card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:1.1rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.65rem}.store-card-active{border-color:#ffc9a8;box-shadow:0 2px 12px #f265221f}.store-card-header{display:flex;gap:.75rem;align-items:center}.store-card-avatar{width:40px;height:40px;border-radius:10px;background:linear-gradient(135deg,var(--shopee),#ff6b47);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;flex-shrink:0}.store-card-name{font-weight:700;font-size:1rem}.store-card-sub{font-size:.75rem;color:var(--text-muted)}.store-card-status{display:flex;align-items:center;gap:.4rem;font-size:.8rem;font-weight:600}.store-card-status.online{color:#2e7d32}.store-card-status.offline{color:var(--text-muted)}.store-card-meta{font-size:.75rem;color:var(--text-muted)}.store-card-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center;margin-top:.25rem}.store-card-actions .btn-primary,.store-card-actions .btn-secondary{flex:1;min-width:120px;font-size:.8rem;padding:.5rem .75rem}.store-card-active-badge{font-size:.75rem;font-weight:600;color:var(--shopee);padding:.35rem .6rem;background:#fff0ec;border-radius:999px}.store-disconnect-all-card{margin-top:1rem}.store-profile{margin:0 .75rem 1rem;padding:.9rem;border-radius:12px;background:linear-gradient(135deg,#fff5f2,#fff);border:1px solid #ffe0d6;display:flex;gap:.75rem;align-items:center;box-shadow:0 2px 8px #ee4d2d0f}.store-profile-avatar{width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--shopee),#ff6b47);color:#fff;font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:center;flex-shrink:0}.store-profile-body{min-width:0;flex:1}.store-profile-name{font-weight:700;font-size:.95rem;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}.store-profile-status{display:flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:600;margin-top:.2rem}.store-profile-status.is-online{color:#2e7d32}.store-profile-status.is-offline{color:var(--text-muted)}.status-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex-shrink:0}.store-profile-status.is-online .status-dot{box-shadow:0 0 0 3px #2e7d3226}.store-profile-meta{font-size:.7rem;color:var(--text-muted);margin-top:.15rem}.store-selector{padding:0 .75rem;margin-bottom:.75rem;display:flex;flex-direction:column;gap:.5rem}.store-selector label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.store-add-btn{width:100%;padding:.45rem .75rem;font-size:.8rem}.store-new-form{display:flex;flex-direction:column;gap:.5rem}.store-new-form input{width:100%;padding:.55rem .75rem;border:1px solid var(--border);border-radius:8px;font-size:.85rem;font-family:inherit}.store-new-actions{display:flex;gap:.4rem}.store-new-actions button{flex:1;padding:.4rem .5rem;font-size:.75rem}.store-badge{display:none}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:radial-gradient(ellipse 70% 50% at 20% 0%,rgba(242,101,34,.1),transparent),radial-gradient(ellipse 60% 50% at 80% 100%,rgba(26,39,68,.08),transparent),linear-gradient(160deg,#fafbfd 0%,var(--bg) 50%,#eef2f8 100%)}.auth-card{width:100%;max-width:420px;background:var(--card);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:2rem}.auth-card h1{font-size:1.5rem;font-weight:800;color:var(--brand-navy);letter-spacing:-.02em;margin-bottom:.35rem}.auth-brand{font-size:1.25rem;font-weight:800;color:var(--shopee);margin-bottom:.5rem}.auth-brand-link{display:inline-block;text-decoration:none}.auth-brand-link:hover{opacity:.85}.auth-remember{display:flex;align-items:center;gap:.5rem;font-size:.88rem;color:var(--text-muted);cursor:pointer;-webkit-user-select:none;user-select:none}.auth-remember input{width:1rem;height:1rem;accent-color:var(--shopee);cursor:pointer}.auth-subtitle{font-size:.9rem;margin-bottom:1.25rem}.auth-form{display:flex;flex-direction:column;gap:1rem}.auth-form .form-group{display:flex;flex-direction:column;gap:.35rem}.auth-form label{font-size:.82rem;font-weight:600;color:var(--text-muted)}.auth-form input{padding:.7rem .9rem;border:1px solid var(--border);border-radius:8px;font-family:inherit;font-size:.95rem}.auth-form input:focus{outline:none;border-color:var(--brand-orange);box-shadow:0 0 0 3px #f265221f}.auth-submit{width:100%;margin-top:.25rem;padding:.75rem}.auth-footer{text-align:center;margin-top:1.25rem;font-size:.88rem;color:var(--text-muted)}.auth-footer a{color:var(--shopee);font-weight:600}.sidebar-user{margin-top:auto;padding-top:1rem;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-direction:column;gap:.5rem}.sidebar-user-name{font-size:.78rem;color:#ffffff8c;padding:0 .5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-logout{width:100%;font-size:.8rem;padding:.45rem .75rem;background:#ffffff14;color:#ffffffd9;border:1px solid rgba(255,255,255,.12)}.sidebar-logout:hover:not(:disabled){background:#ffffff24;color:#fff}.sidebar .store-switcher--loading,.sidebar .store-switcher--error,.sidebar .store-switcher--loading .text-muted,.sidebar .store-switcher--error .text-muted{color:#ffffff8c}.shopee-connect-card{text-align:center;padding:2rem}.shopee-connect-btn{text-decoration:none;display:inline-block;font-size:1.05rem;padding:.9rem 2.25rem}.shopee-connect-details{margin-top:1.5rem;text-align:left;font-size:.85rem}.shopee-connect-details summary{cursor:pointer;color:var(--shopee);font-weight:600}@media (max-width: 768px){.sidebar{display:none}.main{margin-left:0;padding:1rem}.form-grid,.settings-row,.settings-row--sync{grid-template-columns:1fr}.settings-system-row{grid-template-columns:1fr 1fr}.settings-inline-form{flex-direction:column;align-items:stretch}.settings-inline-form .btn-primary,.settings-inline-form .btn-secondary{width:100%}}.settings-layout{display:flex;flex-direction:column;gap:1rem}.settings-row{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;align-items:stretch}.settings-row--sync{grid-template-columns:1fr 1fr}.settings-section{display:flex;flex-direction:column;gap:.75rem;min-width:0}.settings-section h2{font-size:.95rem;font-weight:700;margin:0;flex-shrink:0}.settings-section--system,.settings-section--merge{padding:1.25rem 1.5rem}.settings-merge-hint{font-size:.85rem;margin:0;line-height:1.45}.settings-merge-btn{white-space:nowrap;flex-shrink:0}.settings-inline-fields{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;align-items:center}.settings-field{display:flex;align-items:center;gap:.5rem;min-width:0}.settings-field-label{font-size:.8rem;color:var(--text-muted);font-weight:500;white-space:nowrap}.settings-field-value{font-size:.9rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-inline-form{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-end;gap:.6rem}.settings-inline-form .form-group{margin:0;min-width:140px}.settings-grow{flex:1;min-width:min(100%,280px)}.settings-inline-form .btn-primary,.settings-inline-form .btn-secondary{flex-shrink:0;white-space:nowrap}.settings-form-link-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;padding:.6rem 1.2rem;font-size:.875rem}.settings-inline-link{font-size:.8rem;color:var(--text-muted);text-decoration:none}.settings-inline-link:hover{color:var(--shopee)}.settings-shopee-row{display:flex;flex-wrap:wrap;align-items:center;gap:.65rem 1rem}.settings-shopee-btn{text-decoration:none;font-size:.8rem;padding:.45rem .9rem;margin-left:auto}.settings-system-row{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem 1.5rem}.settings-readonly-input{width:auto;flex:1;min-width:0;padding:.6rem .85rem;border:1px solid var(--border);border-radius:10px;font-family:inherit;font-size:.8rem;background:#fafafa;color:var(--text-muted);margin:0}.settings-status-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .75rem;border-radius:999px;font-size:.8rem;font-weight:600;flex-shrink:0}.settings-status-pill.is-ok{background:#e8f5e9;color:#2e7d32}.settings-status-pill.is-warn{background:#fff3e0;color:#e65100}.home-page{min-height:100vh;background:#fafbfd;color:var(--text)}.home-header{position:sticky;top:0;z-index:50;background:#fffffff0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);box-shadow:0 1px #1a27440a}.home-header-inner{max-width:1120px;margin:0 auto;padding:.85rem 1.5rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.home-logo{font-size:1.35rem;font-weight:800;color:var(--brand-navy);text-decoration:none}.home-nav{display:flex;align-items:center;gap:.75rem}.home-nav-link{font-size:.9rem;font-weight:500;color:var(--text-muted);padding:.5rem .9rem;border-radius:999px;transition:color .15s,background .15s;background:transparent;border:none;font-family:inherit;cursor:pointer}.home-nav-link:hover{color:var(--text);background:var(--bg)}.home-nav-cta{padding:.55rem 1.15rem!important;font-size:.875rem!important;border-radius:999px!important}.home-hero{max-width:1120px;margin:0 auto;padding:3.5rem 1.5rem 4rem;display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}.home-eyebrow{display:inline-block;font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--brand-orange);background:var(--brand-orange-soft);padding:.4rem .9rem;border-radius:999px;margin-bottom:1rem;border:1px solid rgba(242,101,34,.15)}.home-hero h1{font-size:clamp(2rem,4vw,2.85rem);line-height:1.15;font-weight:800;letter-spacing:-.03em;margin-bottom:1rem;color:var(--brand-navy)}.home-hero-accent{color:var(--brand-orange)}.home-hero-desc{font-size:1.05rem;color:var(--text-muted);max-width:32rem;margin-bottom:1.75rem;line-height:1.65}.home-hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-bottom:1.5rem}.home-btn-lg{padding:.85rem 1.5rem!important;font-size:.95rem!important;border-radius:999px!important}.home-btn-ghost{display:inline-flex;align-items:center;padding:.85rem 1rem;font-size:.95rem;font-weight:600;color:var(--shopee)}.home-btn-ghost:hover{text-decoration:underline}.home-hero-bullets{list-style:none;display:flex;flex-direction:column;gap:.45rem;font-size:.88rem;color:var(--text-muted)}.home-hero-bullets li:before{content:"✓ ";color:var(--success);font-weight:700}.home-hero-visual{position:relative;min-height:320px}.home-mock-card{position:absolute;background:var(--card);border:1px solid var(--border);border-radius:24px;padding:1.1rem 1.25rem;box-shadow:0 12px 40px #00000014}.home-mock-card-1{top:0;left:0;right:15%;z-index:3}.home-mock-card-2{top:38%;right:0;left:12%;z-index:2}.home-mock-card-3{bottom:0;left:8%;right:28%;z-index:1}.home-mock-label{font-size:.75rem;color:var(--text-muted);font-weight:600;margin-bottom:.35rem}.home-mock-value{font-size:1.5rem;font-weight:800;letter-spacing:-.02em}.home-mock-sub{font-size:.8rem;margin-top:.25rem;font-weight:600}.home-mock-bar{height:6px;background:var(--bg);border-radius:999px;margin-top:.65rem;overflow:hidden}.home-mock-bar span{display:block;height:100%;background:linear-gradient(90deg,var(--brand-orange),#ff9a6b);border-radius:999px}.home-features{background:var(--card);border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:4rem 1.5rem}.home-section-head{max-width:1120px;margin:0 auto 2.5rem;text-align:center}.home-section-head h2{font-size:1.75rem;font-weight:800;margin-bottom:.5rem;letter-spacing:-.02em;color:var(--brand-navy)}.home-section-head p{color:var(--text-muted);font-size:1rem}.home-features-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}.home-feature-card{padding:1.35rem;border:1px solid var(--border);border-radius:20px;background:#fff;transition:box-shadow .2s,transform .2s,border-color .2s}.home-feature-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px);border-color:#d8e0ea}.home-feature-icon{font-size:1.75rem;display:block;margin-bottom:.75rem}.home-feature-card h3{font-size:1rem;font-weight:700;margin-bottom:.4rem;color:var(--brand-navy)}.home-feature-card p{font-size:.88rem;color:var(--text-muted);line-height:1.55}.home-cta{padding:4rem 1.5rem;background:radial-gradient(ellipse 80% 60% at 50% 100%,rgba(242,101,34,.08),transparent),linear-gradient(135deg,var(--brand-orange-soft) 0%,#fff 45%,#eef2f8 100%)}.home-cta-inner{max-width:640px;margin:0 auto;text-align:center;padding:2.5rem 2rem;background:#ffffffd9;border:1px solid var(--border);border-radius:28px;box-shadow:var(--shadow-lg)}.home-cta-inner h2{font-size:1.75rem;font-weight:800;margin-bottom:.5rem;color:var(--brand-navy)}.home-cta-inner p{color:var(--text-muted);margin-bottom:1.5rem}.home-cta-inner .home-hero-actions{justify-content:center}.home-footer{max-width:1120px;margin:0 auto;padding:1.5rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;border-top:1px solid var(--border);font-size:.85rem}@media (max-width: 900px){.home-hero{grid-template-columns:1fr;padding-top:2rem}.home-hero-visual{min-height:260px;max-width:400px;margin:0 auto;width:100%}.home-features-grid{grid-template-columns:1fr}}@media (max-width: 520px){.home-nav-link{display:none}.home-hero-actions{flex-direction:column}.home-btn-lg{width:100%;text-align:center;justify-content:center}}.login-modal-overlay{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.login-modal{max-width:440px;border-radius:28px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow-lg)}.login-modal-header{align-items:flex-start;padding:1.5rem 1.5rem 0;border-bottom:none}.login-modal-header h2{font-size:1.35rem;margin:.15rem 0 0;color:var(--brand-navy);font-weight:800}.login-modal-subtitle{margin:.35rem 0 0;font-size:.88rem}.login-modal-body{padding:.75rem 1.5rem 1.5rem}.login-modal-body .auth-form input{border-radius:14px}.login-modal-body .auth-submit{border-radius:999px}.auth-card-rounded{border-radius:28px}.auth-form input{border-radius:14px}.auth-submit{border-radius:999px}.app-page,.sales-overview-page,.ads-overview-page{display:flex;flex-direction:column;gap:1rem}.page-shell-icon,.ads-page-icon{vertical-align:-5px;margin-right:.35rem;color:var(--brand-orange)}.page-shell-subtitle{margin:.35rem 0 0;font-size:.88rem;color:var(--text-muted)}.panel-card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.panel-card-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem 1.25rem .75rem;border-bottom:1px solid var(--border)}.panel-card-head h2{margin:0;font-size:1rem;font-weight:700;color:var(--brand-navy)}.panel-card-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.panel-card-body{padding:1.25rem}.panel-card-body--flush{padding:0}.panel-card-body--flush table{margin:0}.app-page .stats-grid{gap:.75rem}.app-page .stat-card{border-radius:14px;box-shadow:var(--shadow);border:1px solid var(--border);padding:1rem 1.1rem}.app-page .stat-card .label{font-size:.78rem;font-weight:700;color:var(--text-muted)}.app-page .stat-card .value{font-size:1.35rem;font-weight:800;color:var(--brand-navy);letter-spacing:-.02em}.app-page .stat-card.highlight{border-color:#ffd4b8;background:linear-gradient(135deg,#fffaf7,#fff 70%)}.app-page .stat-card.highlight .value{color:var(--brand-orange)}.app-page .cards-row{gap:1rem}.app-page .cards-row .card,.app-page>.card:not(.orders-toolbar){background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:1.25rem;margin-bottom:0}.app-page .cards-row .card h2,.app-page>.card:not(.orders-toolbar) h2{margin:0 0 1rem;padding-bottom:.75rem;border-bottom:1px solid var(--border);font-size:1rem;font-weight:700;color:var(--brand-navy)}.app-page .orders-toolbar{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:1rem 1.25rem;display:flex;flex-direction:column;gap:.85rem}.app-page .settings-layout .card{border-radius:16px;box-shadow:var(--shadow);border:1px solid var(--border)}.app-page .store-card{border-radius:16px;box-shadow:var(--shadow)}.sales-overview-page{display:flex;flex-direction:column;gap:1rem}.overview-info-banner{background:linear-gradient(90deg,#e8f1ff,#f0f6ff);border:1px solid #c5d9f5;border-radius:12px;padding:.75rem 1rem;font-size:.85rem;color:#1a4a8a}.overview-top{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.overview-breadcrumb{font-size:.78rem;color:var(--text-muted);margin:0 0 .25rem}.overview-top h1{margin:0;font-size:1.65rem;font-weight:800;color:var(--brand-navy);letter-spacing:-.02em}.overview-clock{font-size:.82rem;font-weight:600;color:var(--text-muted);font-variant-numeric:tabular-nums;padding:.5rem .75rem;background:#fff;border:1px solid var(--border);border-radius:10px}.overview-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;padding:.85rem 1rem;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow)}.overview-scope-pill{font-size:.78rem;font-weight:700;color:var(--brand-navy);background:#eef2f8;border-radius:999px;padding:.35rem .75rem}.overview-kpi-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.overview-kpi-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:1.35rem 1.5rem;box-shadow:var(--shadow)}.overview-kpi-card--accent{border-color:#ffd4b8;background:linear-gradient(135deg,#fffaf7,#fff 60%)}.overview-kpi-label{font-size:.9rem;font-weight:700;color:var(--text-muted);margin-bottom:.5rem}.overview-kpi-value{font-size:2.5rem;font-weight:800;line-height:1.1;color:var(--brand-navy);letter-spacing:-.03em}.overview-kpi-card--accent .overview-kpi-value{color:var(--brand-orange)}.overview-kpi-hint{margin-top:.35rem;font-size:.78rem;color:var(--text-muted)}.sales-dual-chart-card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);padding:0;overflow:hidden}.sales-dual-chart-tabs{display:flex;align-items:center;gap:0;border-bottom:1px solid var(--border);padding:0 1.25rem}.sales-dual-chart-tabs button{background:none;border:none;border-bottom:2px solid transparent;border-radius:0;padding:.85rem 1rem;font-size:.88rem;font-weight:600;color:var(--text-muted);box-shadow:none;margin-bottom:-1px}.sales-dual-chart-tabs button:hover{color:var(--brand-navy)}.sales-dual-chart-tabs button.active{color:var(--brand-navy);border-bottom-color:var(--brand-navy)}.sales-dual-chart-platform{margin-left:auto;font-size:.78rem;font-weight:700;color:var(--brand-orange);background:var(--brand-orange-soft);border-radius:999px;padding:.25rem .65rem}.sales-dual-chart-summary{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1.5rem 2.5rem;padding:1.25rem 1.5rem .5rem}.sales-dual-chart-kpi-value{font-size:2rem;font-weight:800;line-height:1.1;color:var(--brand-navy);letter-spacing:-.03em}.sales-dual-chart-kpi-value--revenue{font-size:2.15rem}.sales-dual-chart-kpi-label{margin-top:.25rem;font-size:.82rem;font-weight:600;color:var(--text-muted)}.sales-dual-chart-pills{margin-left:auto;display:flex;flex-wrap:wrap;gap:.5rem}.sales-dual-chart-pills button{background:#fff;border:1px solid var(--border);border-radius:999px;padding:.4rem .9rem;font-size:.78rem;font-weight:600;color:var(--text-muted);box-shadow:none}.sales-dual-chart-pills button:hover{border-color:var(--brand-navy-light);color:var(--brand-navy)}.sales-dual-chart-pills button.active{border-color:var(--brand-navy);color:var(--brand-navy);background:#f0f4fa}.sales-dual-chart-svg-wrap,.sales-dual-chart-recharts-wrap{padding:0 .75rem .25rem}.sales-dual-chart-svg{width:100%;height:auto;display:block}.sales-dual-chart-tooltip{background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:var(--shadow-lg);padding:.6rem .75rem;display:flex;flex-direction:column;gap:.2rem;font-size:.8rem;color:var(--brand-navy)}.sales-dual-chart-tooltip strong{font-size:.85rem;margin-bottom:.15rem}.sales-dual-chart-axis-label{font-size:11px;fill:var(--text-muted);font-family:Inter,system-ui,sans-serif}.sales-dual-chart-axis-label--left{fill:var(--brand-navy);font-weight:600}.sales-dual-chart-axis-label--right{fill:var(--brand-orange-dark);font-weight:600}.sales-dual-chart-axis-label--x{font-size:10px}.sales-dual-chart-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:1.25rem;padding:.5rem 1rem 1rem;border-top:1px solid var(--border)}.sales-dual-chart-legend-item{display:inline-flex;align-items:center;gap:.45rem;font-size:.78rem;font-weight:600;color:var(--text-muted)}.sales-dual-chart-legend-item:before{content:"";display:inline-block}.sales-dual-chart-legend-item--line:before{width:22px;height:3px;border-radius:2px;background:var(--brand-navy)}.sales-dual-chart-legend-item--bar:before{width:14px;height:14px;border-radius:3px;background:#f9a66b}.sales-dual-chart-legend-item--roas:before{width:22px;height:0;border-top:3px dashed #2e7d32;background:transparent}.overview-charts-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.overview-chart-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:1rem 1rem .75rem;box-shadow:var(--shadow);min-width:0}.overview-chart-head{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.75rem;flex-wrap:wrap}.overview-chart-head h3{margin:0;font-size:.95rem;font-weight:700;color:var(--brand-navy)}.overview-chart-head .text-muted{font-size:.75rem}.overview-chart-bars{display:flex;align-items:flex-end;gap:2px;height:150px;overflow-x:auto;padding-bottom:.25rem}.overview-chart-bar-col{flex:1;min-width:14px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%}.overview-chart-bar{width:100%;max-width:18px;border-radius:4px 4px 0 0;transition:height .2s}.overview-chart-hour{font-size:.62rem;color:var(--text-muted);margin-top:.25rem;font-variant-numeric:tabular-nums}.overview-rankings-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.overview-ranking-card{background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}.overview-ranking-card h2{margin:0;padding:1rem 1.25rem;font-size:.95rem;font-weight:700;color:var(--brand-navy);border-bottom:1px solid var(--border);background:#fafbfd}.overview-ranking-card table{font-size:.84rem}.overview-ranking-card th,.overview-ranking-card td{padding:.65rem 1rem}.overview-rank-name{font-weight:600;max-width:280px}.overview-rank-name-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-rank-sku{display:block;margin-top:.15rem;font-size:.72rem;font-weight:500;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overview-platform-tag{display:inline-block;font-size:.72rem;font-weight:700;color:#e65100;background:#fff3e0;border-radius:6px;padding:.15rem .45rem}.overview-empty{padding:1.25rem;margin:0}@media (max-width: 960px){.overview-kpi-row,.overview-charts-row,.overview-rankings-row{grid-template-columns:1fr}.overview-kpi-value{font-size:2rem}.sales-dual-chart-summary{flex-direction:column;align-items:flex-start;gap:1rem}.sales-dual-chart-pills{margin-left:0;width:100%}.sales-dual-chart-tabs{overflow-x:auto;padding:0 .75rem}.sales-dual-chart-tabs button{white-space:nowrap;padding:.75rem;font-size:.82rem}.ads-metrics-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ads-content-row{grid-template-columns:1fr}}
