:root{color-scheme:dark;--navy:#121212;--navy-2:#1a1a1a;--ink:#f3f3f4;--muted:#9b9b9f;--line:#2b2b2e;--soft:#0a0a0a;--white:#161618;--blue:#ed2b88;--blue-soft:#331522;--green:#04d178;--green-soft:#10261b;--violet:#b14dff;--violet-soft:#2a183a;--amber:#f4bd3d;--amber-soft:#2c2413;--red:#ff575f;--red-soft:#30171c;--shadow:none;--sidebar:244px;--radius:14px;--pink:#ed2b88;--yellow:#e3cf31;--orange:#ff8051}
html,body{background:var(--soft);color:var(--ink)}body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,summary{touch-action:manipulation}a{color:inherit}button svg,a svg,.search-field svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--pink);outline-offset:4px}h1,h2,h3,strong{font-family:inherit}h2{font-size:21px;letter-spacing:-.035em}h3{font-size:19px;letter-spacing:-.025em}p{line-height:1.6}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.13em;color:var(--muted);margin:0 0 6px}.small,.footnote{font-size:12px}.muted,.footnote{color:var(--muted)}.footnote{margin:14px 0 4px;line-height:1.65}.grow{min-width:0;flex:1}.positive{color:var(--green)!important}.negative{color:var(--red)!important}.warning-text{color:var(--amber)!important}.pink-text{color:var(--pink)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.hidden,[hidden]{display:none!important}
.sidebar{--line:#2b2b2e;--pink:#ed2b88;width:var(--sidebar);position:fixed;inset:0 auto 0 0;background:#161616;border-right:1px solid var(--line);padding:0;display:flex;flex-direction:column;z-index:50}.brand{flex-shrink:0;height:94px;padding:22px;display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line);margin:0}.brand-mark{font:800 25px/1.1 inherit;display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:var(--pink);color:#fff;border-radius:10px;letter-spacing:-.08em;box-shadow:none;flex:0 0 40px;font-weight:800;font-size:23px}.brand-mark span{font-weight:500}.brand strong{font-size:16px;font-weight:750;letter-spacing:-.03em;display:block;line-height:1.2;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand small{font-size:10px;color:#8a8a8f;margin-top:4px}.account-label{display:flex;align-items:center;gap:8px;font-size:12px;margin:24px 20px 12px;color:#b8b8bc}.ml-dot{font-size:9px;line-height:1;color:#0b0b0b;background:#e6d529;font-weight:800;border-radius:5px;padding:5px}.account-country{margin-left:auto;color:#666;font-size:10px}.nav-list{padding:0 12px;gap:5px;display:flex;flex-direction:column}.nav-item{border:1px solid transparent;padding:12px 13px;min-height:46px;color:#bcbcc0;border-radius:9px;font-size:13px;font-weight:500;display:flex;align-items:center;gap:12px}.nav-item svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.7;fill:none}.nav-item:hover{background:#202022;color:white}.nav-item.active{color:#fff;background:#292729;border:1px solid #3c3339;box-shadow:none}.nav-item.active svg{color:var(--pink)}.nav-item.active i{margin-left:auto;width:5px;height:5px;background:var(--pink);border-radius:50%}.nav-caption{color:#646469;font-size:9px;letter-spacing:.16em;margin:24px 13px 7px}.sidebar-note{margin-top:auto;padding:24px;color:#66666b}.sidebar-note p{font-size:11px;margin:7px 0}.version-label{font-size:10px;color:#8b8b90}.sidebar-foot{margin:0;padding:17px 18px;border-top:1px solid var(--line);gap:10px}.avatar{background:#372235;color:#f8cce3;border:1px solid #58334b;width:33px;height:33px;font-size:12px}.user-card strong{font-size:12px;color:#ddd}.user-card small{font-size:10px;color:#808085}.workspace{margin-left:var(--sidebar)}.topbar{position:sticky;top:0;z-index:30;min-height:94px;height:auto;padding:18px 30px;background:rgba(10,10,10,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);gap:20px;display:flex;align-items:center;justify-content:space-between}.topbar h1{font-size:21px;letter-spacing:-.035em;line-height:1.25;margin:0;font-weight:700}.topbar-title{display:flex;align-items:center;gap:12px;min-width:0}.topbar-title p{font-size:11px;color:#85858b;margin:5px 0 0}.topbar-actions{display:flex;align-items:center;gap:12px}.sync-indicator{display:flex;align-items:center;gap:7px;font-size:11px;color:#a4a4a8;white-space:nowrap}.sync-indicator i{background:var(--green);width:6px;height:6px;border-radius:50%}.sync-indicator.has-warning i{background:var(--amber)}.currency-pill{height:41px;display:flex;align-items:center;padding:0 15px;background:#151515;border:1px solid #303033;border-radius:9px;font-size:12px;color:#ccc}.range-trigger{height:41px;background:#161616;border:1px solid #333337;border-radius:9px;color:#dedee0;display:flex;align-items:center;gap:10px;padding:0 13px;font-size:12px;white-space:nowrap;cursor:pointer}.range-trigger:hover{border-color:#777}.range-trigger svg{width:17px;height:17px;color:#c3c3c7}.chevron{color:#777;margin-left:7px}.content-area{padding:30px 30px 60px;max-width:1800px;margin:0 auto}.mobile-menu{display:none}.card{padding:22px;background:#161618;border:1px solid var(--line);border-radius:13px;box-shadow:none;margin-bottom:22px}.card-head{margin-bottom:20px;gap:14px;align-items:center}.card-head h2{font-size:18px;letter-spacing:-.025em}.card-head>a{font-size:12px;color:var(--pink);white-space:nowrap}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 22px}.section-heading h2,.section-heading h3{margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:4px 0 0}.btn{height:40px;font-size:12px;font-weight:650;border-radius:8px;padding:0 14px;gap:8px}.btn-primary{background:var(--pink);color:#fff;box-shadow:none}.btn-primary:hover{background:#fa3c99;transform:none}.btn-secondary{background:#171719;border:1px solid #39393d;color:#ddd}.btn-secondary:hover{background:#252527;transform:none}.btn-danger{background:var(--red-soft);border:1px solid #563037;color:var(--red)}.icon-button{background:#171719;color:#aaa;border:1px solid #353538;border-radius:8px;width:34px;height:34px}.icon-button:hover{color:#fff;background:#2b2b2d}.icon-button.danger{background:var(--red-soft);border-color:#51272e;color:var(--red)}.btn svg{width:16px;height:16px}input,select,textarea{color:#ececef;border:1px solid #3a3a3e;background:#111113;border-radius:8px;padding:9px 11px;font-size:13px;min-width:0;height:41px}input::placeholder,textarea::placeholder{color:#76767c}input:focus,select:focus,textarea:focus{border-color:var(--pink);box-shadow:0 0 0 2px #ed2b881a}input[type=checkbox]{width:16px;height:16px;accent-color:var(--pink);padding:0}.check-row{font-size:12px;color:#bcbcc2!important;gap:8px;text-transform:none}.check-row input{accent-color:var(--pink)}label{font-size:12px;color:#aaaab0;font-weight:500}label small{font-size:11px;color:#7f7f85;margin-top:6px}.form-grid{gap:18px}.form-actions{border-color:var(--line)}.back-link{color:var(--pink);font-size:12px}.alert{font-size:12px;border-radius:9px;margin-bottom:18px;padding:13px 16px;line-height:1.6;gap:16px}.alert-warning{background:#221e14;border:1px solid #544320;color:#e1bd66}.alert-info{background:#151d24;border:1px solid #2b3c4b;color:#afc6d8}.alert-success{background:#12251b;border:1px solid #254b36;color:#81d7aa}.alert-error{background:#2b151b;border:1px solid #5a2b37;color:#ffabbc}.alert a{font-size:11px;white-space:nowrap}.callout{background:#231721;color:#c8a4b9;border-color:var(--pink);font-size:12px;line-height:1.7}.tag,.period-badge{background:#29252b;color:#cdb9cd;font-size:10px}.plain-list{padding-left:18px;margin:0;color:#b1b1b6;font-size:13px}.plain-list li{margin-bottom:18px;line-height:1.75}.plain-list strong{color:#e0e0e4}.advanced-settings summary{font-size:13px;font-weight:600;cursor:pointer;color:#ddd}.advanced-settings[open] summary{margin-bottom:20px}.advanced-settings .check-row{margin-top:15px}.disconnect-form{margin-top:22px}.narrow-card{max-width:900px;margin:0 auto}.settings-sections fieldset{border-color:var(--line)}.settings-sections legend{font-family:inherit}.connection-card{background:#161618;border:1px solid var(--line);box-shadow:none;border-radius:13px}.connection-card h2{font-size:19px}.connection-card p:last-child{font-size:12px;color:var(--muted)}.ml-logo{background:#e6d529;font:800 16px inherit;color:#171717;border-radius:11px}.sync-form{gap:16px}.sync-form label{width:180px;font-size:11px}.sync-form .btn{margin-left:auto}.inline-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:#171719;border:1px solid var(--line);border-radius:13px;margin-bottom:28px;padding:22px 0}.inline-stats>div{border-right:1px solid var(--line);padding:0 23px}.inline-stats>div:last-child{border:0}.inline-stats span,.inline-stats strong{display:block}.inline-stats span{font-size:11px;color:var(--muted);margin-bottom:6px}.inline-stats strong{font-size:23px;letter-spacing:-.045em;font-weight:650}
.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.report-kpi{background:#171719;border:1px solid #222225;border-radius:13px;min-height:169px;padding:18px 20px;position:relative;overflow:hidden}.report-kpi-label{font-size:12px;color:#a2a2a8;display:flex;align-items:center;gap:8px;line-height:1.2;min-height:19px}.pink-mark{color:var(--pink);font-size:10px}.yellow-mark{color:var(--yellow);font-size:10px}.report-kpi-value{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin-top:8px}.report-kpi-value strong{font-size:27px;font-weight:700;letter-spacing:-.06em;line-height:1.4;color:#f5f5f7}.report-kpi small{font-size:10px;color:#73737b;display:block;margin-top:4px}.report-kpi .delta{padding:0;background:none;font-size:11px;font-weight:550}.delta.up{color:var(--green)}.delta.down{color:var(--red)}.delta.neutral{color:#66666e}.profit-card{border-color:#543046;background:linear-gradient(130deg,#22151d,#171719 80%)}.profit-card .report-kpi-label{color:#d4b9c9}.sparkline{display:block;width:100%;height:37px;margin-top:12px}.comparison-note{font-size:10px;color:#686870;margin:12px 0 29px;text-align:right}.dashboard-options{position:relative;flex-shrink:0}.card-picker{position:absolute;z-index:35;right:0;top:48px;background:#242426;border:1px solid #44444a;border-radius:11px;padding:18px;width:230px;box-shadow:0 20px 50px #0009;display:flex;flex-direction:column;gap:14px}.report-chart-card{padding:24px 25px;margin-top:0}.chart-controls{display:flex;gap:8px}.chart-controls select{width:auto;min-width:120px;height:35px;font-size:11px;background:#101012;border-color:#333337}.report-chart-wrap{position:relative;height:285px;width:100%}#reportChart{width:100%;height:100%;display:block}.chart-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:20px}.chart-footer .legend{font-size:11px;color:#b3b3b8;gap:20px;display:flex}.legend>span{display:flex;align-items:center;gap:7px}.legend i{width:8px;height:8px;border-radius:2px}.legend .pink{background:var(--pink)}.legend .orange{background:var(--orange)}.chart-footer .check-row{font-size:11px}.chart-tooltip{position:absolute;pointer-events:none;z-index:5;min-width:170px;background:#080809;border:1px solid #414146;border-radius:8px;padding:12px 14px;font-size:12px;box-shadow:0 10px 30px #0008;line-height:1.85}.chart-tooltip strong{display:block;margin-bottom:4px}.chart-tooltip p{margin:0;display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px}.chart-tooltip .tooltip-dot{width:7px;height:7px;display:inline-block;border-radius:2px;margin-right:6px}.report-reconciliation{grid-template-columns:1fr 1fr;gap:22px;margin-bottom:0}.equation>div{border-bottom:1px dashed #303034;padding:12px 0;font-size:12px;gap:16px}.equation>div span{color:#9999a1}.equation>div strong{font-size:13px;white-space:nowrap;font-weight:600}.equation .minus strong{color:#ee747e}.equation .total{background:#242024;border-radius:8px;padding:15px;margin-top:12px;border:1px solid #3d3039}.equation .total span{color:#ddd}.equation .total strong{font-size:20px;letter-spacing:-.04em;color:#fff}.top-products{display:flex;flex-direction:column}.top-product{display:flex;align-items:center;gap:11px;padding:17px 0;border-bottom:1px solid #28282b}.top-product:last-child{border:0}.ranking-number{color:#686870;font-size:11px;min-width:10px}.top-product img{width:37px;height:37px;border-radius:6px;object-fit:contain;background:#fff;flex-shrink:0}.top-product .grow strong{display:block;font-size:12px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.top-product small{display:block;font-size:10px;color:#74747b;margin-top:4px}.top-product-profit{font-size:14px;font-weight:650;text-align:right;flex-shrink:0}.top-product-profit small{font-weight:400}.report-sales-card .card-head{margin-bottom:20px}.report-sales-card{padding-bottom:14px}.filter-bar{display:flex;align-items:center;gap:12px;padding:13px 15px;background:#101012}.filter-bar select{max-width:210px;height:39px;font-size:12px}.search-field{border-color:#343439;border-radius:8px;background:#141416;height:40px;gap:10px;min-width:180px}.search-field input{background:none;font-size:12px;color:#ddd}.search-field:focus-within{border-color:var(--pink);box-shadow:none}.search-field svg{color:#808086;width:17px;height:17px}.clear-filters{font-size:11px;color:#aaa;white-space:nowrap}.table-wrap{margin:0;overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}thead{background:#111113}th{text-transform:none;font-size:11px;color:#8f8f97;letter-spacing:0;font-weight:600;border-color:#34343a;padding:13px 12px;white-space:nowrap}th a{color:#c4c4ca}.sort-icon{font-size:12px;color:#777;margin-left:4px}td{border-color:#2c2c30;padding:15px 12px;font-size:12px;color:#d8d8dd;vertical-align:middle;white-space:nowrap}td strong{font-size:12px;font-weight:550;color:inherit}td small{font-size:10px;color:#7b7b83;display:block;margin-top:4px}tbody tr:hover{background:#202023}.numeric{text-align:right;font-variant-numeric:tabular-nums}.order-id{font-size:12px;font-weight:600;color:#e4e4e7}.order-id:hover{color:var(--pink)}.product-cell{min-width:250px;gap:12px;align-items:center}.product-cell img,.product-placeholder{width:38px;height:38px;min-width:38px;border-radius:7px;background:#fff;object-fit:contain;display:inline-block;vertical-align:middle;flex-shrink:0}.product-placeholder{background:#2a2a2e;color:#999;text-align:center;line-height:38px;font-size:20px}.product-cell>span:last-child{display:inline-block;vertical-align:middle;min-width:0}.product-cell strong{font-size:12px;max-width:275px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500;display:block}.product-cell small{font-size:10px;color:#85858e}.status-badge{border-radius:7px;font-size:10px;line-height:1.2;border:1px solid #304136;background:#122016;color:#0fcd79;gap:6px;font-weight:600;display:inline-flex;padding:5px 8px;white-space:nowrap}.status-badge i{width:5px;height:5px;background:currentColor;border-radius:50%}.status-paid,.status-confirmed,.status-active{background:#112219;color:var(--green);border-color:#254332}.status-cancelled,.status-refunded{background:#2b1419;color:var(--red);border-color:#52282f}.status-partially_refunded{background:#2a2116;color:#f3bd5b;border-color:#4c3b26}.status-paused,.status-closed{color:#a3a3aa;background:#242428;border-color:#3b3b40}.detail-link{display:inline-flex;align-items:center;gap:8px;color:#dadade;font-size:11px;font-weight:550;white-space:nowrap}.detail-link svg{width:13px;height:13px;color:var(--pink)}.detail-link:hover{color:var(--pink)}.empty-cell{padding:45px 20px;color:#8d8d95;font-size:12px;text-align:center;white-space:normal}.empty-state{font-size:13px;color:#999}.table-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0 4px}.table-footer>span{font-size:11px}.footer-pagination{display:flex;align-items:center;gap:22px}.footer-pagination label{display:flex;align-items:center;gap:9px;font-size:11px;white-space:nowrap}.footer-pagination select{width:68px;height:34px;font-size:11px;padding:6px 9px}.pagination{margin:0;gap:5px;display:flex}.pagination a,.pagination span{height:32px;min-width:32px;display:grid;place-items:center;border:1px solid #3b3b40;border-radius:7px;background:#151518;color:#ccc;font-size:11px;padding:0 8px}.pagination a.active{background:#e4e4e7;color:#141416;border-color:#e4e4e7}.pagination span{border:0;background:none}.daily-table summary{font-size:12px;cursor:pointer;color:#a4a4ac}.daily-table[open] summary{margin-bottom:22px}.bulk-toolbar{display:flex;align-items:end;gap:18px;justify-content:space-between;padding:15px 0 20px}.bulk-toolbar>span{font-size:12px;color:#9a9aa2;flex:1}.bulk-toolbar label{width:165px;font-size:11px}.bulk-toolbar input{height:37px;margin-top:5px}.cost-input{width:130px;height:35px;font-size:12px}.row-actions{display:flex;gap:15px;align-items:center}.row-actions>a{color:var(--pink);font-size:11px}.product-edit-hero h2{font-size:20px;white-space:normal;max-width:none}.product-edit-hero .product-cell img{width:62px;height:62px}.import-steps>div{color:#777}.import-steps>div span{background:#1b1b1d;border-color:#39393e;color:#bbb}.import-steps>div.active{color:var(--pink)}.import-steps>div.active span{background:var(--pink);border-color:var(--pink)}.import-steps>i{background:#303035}.upload-zone{background:#111113;border-color:#4c3643}.upload-zone>label strong{font-family:inherit;font-size:16px}.upload-icon{background:#321b28;color:var(--pink)}.upload-zone>label em{color:var(--pink)}.upload-options{border-color:var(--line)}.preview-counts span{background:#28282d;color:#ccc}.column-guide>div{border-color:var(--line)}.instruction-list li>span{background:#311b29;color:#eca9ce}.instruction-list p{font-size:12px}.instruction-list li>span{font-size:12px}.form-grid .checks{gap:12px}.mini-stats>article{background:#171719;border-color:var(--line);box-shadow:none}.mini-stats span{color:#919199}.mini-stats strong{color:#f0f0f3}.requirements .requirement{border-color:var(--line);font-size:11px}.check-list li{font-size:12px;color:#aaa}.check-list li:before{color:var(--green);background:var(--green-soft)}.auth-visual{background:radial-gradient(ellipse at 20% 25%,#5c1a3a77,transparent 60%),#0d0d0f;padding:9vh 7vw}.auth-visual h1{font-size:43px;font-family:inherit}.auth-visual h1 em{color:#ef78b1}.auth-visual .eyebrow{color:#c0789c}.auth-visual p:last-child{color:#8e818b}.auth-preview{border-color:#422a39;background:#23171f}.auth-preview strong{font-family:inherit;color:#ef78b1}.auth-form-wrap{background:#141416}.auth-form h2{font-size:27px}.auth-form>.muted{color:#94949e}.security-note{color:#777}.auth-body{background:#0a0a0a}.install-body{background:#0a0a0a}.install-hero h1{font-size:32px}.install-hero .brand-mark{margin:auto}.install-hero p{color:#929299}.install-card h2{font-size:20px}.error-body{background:#0a0a0a}.error-card{background:#171719;border-color:var(--line);box-shadow:none;color:#eee}.error-card h1{font-family:inherit}.error-card p{color:#aaa}.tax-summary{border:1px solid var(--line)}.tax-summary.vat,.tax-summary.iibb,.tax-summary.reserve{background:#202026}.tax-summary>strong{font-family:inherit;color:#f2c7df}.tax-warning{background:#251922;color:#e5ccdc}.tax-warning span{border-color:#493442;color:#b69aab}
.range-dialog{padding:0;border:1px solid #45454b;border-radius:15px;background:#1a1a1d;color:#eee;max-width:calc(100vw - 28px);width:630px;box-shadow:0 30px 100px #000a}.range-dialog::backdrop,.order-modal::backdrop{background:#000a;backdrop-filter:blur(3px)}.calendar-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 12px}.calendar-heading h2{font-size:18px}.calendar-presets{display:flex;flex-wrap:wrap;gap:7px;padding:0 22px 15px;border-bottom:1px solid #303034}.calendar-presets button{font-size:11px;color:#bdbdc5;background:#28282d;border:1px solid #3a3a40;border-radius:7px;padding:7px 9px;cursor:pointer}.calendar-presets button:hover{border-color:var(--pink);color:#fff}.calendar-navigation{display:flex;align-items:center;justify-content:space-between;padding:14px 22px 0}.calendar-navigation span{font-size:11px;color:#898992}.calendar-months{display:grid;grid-template-columns:1fr 1fr;gap:25px;padding:15px 22px 20px}.calendar-month h3{font-size:14px;margin:0 0 15px;text-align:center;letter-spacing:0}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:10px;color:#777780;margin-bottom:10px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calendar-day,.calendar-blank{height:33px;display:grid;place-items:center;font-size:12px;border-radius:6px;min-width:0}.calendar-day{border:0;background:none;color:#dedee5;padding:0;cursor:pointer}.calendar-day:hover{background:#38303a}.calendar-day.in-range{background:#412535;border-radius:3px}.calendar-day.range-edge{background:var(--pink);border-radius:7px;color:#fff;font-weight:650}.calendar-day.is-today{box-shadow:inset 0 0 0 1px #a68296}.calendar-day:focus-visible{outline-offset:0}.calendar-inputs{padding:0 22px 20px;display:flex;gap:18px}.calendar-inputs label{flex:1;font-size:11px}.calendar-inputs input{margin-top:7px;height:37px;font-size:12px}.calendar-footer{padding:17px 22px;border-top:1px solid #303034;display:flex;align-items:center;justify-content:space-between;gap:15px}.calendar-footer span{font-size:10px;color:#83838c}.order-modal{background:#0b0b0d;color:#eee;border:1px solid #414147;border-radius:15px;width:950px;max-width:calc(100vw - 30px);max-height:90vh;padding:28px;box-shadow:0 30px 120px #000b}.order-modal-close{position:sticky;float:right;top:0;z-index:3;margin-top:-13px;margin-right:-13px;background:#1a1a1d}.order-modal .detail-back{display:none}.order-modal-body{clear:both}.order-detail-heading{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:28px}.order-detail-heading h2{font-size:24px;overflow-wrap:anywhere}.order-detail-heading p{font-size:12px;margin:8px 0}.detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#19191c;border:1px solid #36363c;border-radius:12px;padding:22px 0;margin-bottom:26px}.detail-metrics>div{padding:0 22px;border-right:1px solid #35353a}.detail-metrics>div:last-child{border:0}.detail-metrics span{font-size:12px;color:#9999a2;display:block;margin-bottom:7px}.detail-metrics strong{font-size:25px;letter-spacing:-.04em;display:block}.order-info{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:32px}.order-info>span{border:1px solid #303035;border-radius:8px;padding:7px 10px;display:flex;align-items:center;gap:8px;font-size:11px;color:#aaaab3}.order-info svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7}.detail-section{margin-bottom:30px}.detail-section h3{margin:0 0 17px}.detail-section .section-heading h3{margin:0}.detail-section .section-heading{margin-bottom:10px}.detail-section .section-heading>span{font-size:11px}.detail-product{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px dashed #33333a}.detail-product .product-cell{display:flex;flex:1;min-width:0}.detail-product .product-cell img{width:50px;height:50px}.detail-product .product-cell strong{font-size:14px;max-width:none;white-space:normal;line-height:1.5}.detail-product .product-cell small{font-size:11px;display:block}.detail-product>.numeric{flex-shrink:0}.detail-product>.numeric strong{font-size:15px}.detail-product>.numeric small{display:block;font-size:11px;margin:5px 0}.detail-section .equation>div{padding:15px 0;font-size:14px}.detail-section .equation strong{font-size:15px}.detail-section .equation .total{margin-top:22px;padding:20px;background:none;border-left:0;border-right:0;border-bottom:0;border-radius:0}.detail-section .equation .total strong{font-size:26px}.detail-section .equation .total small{font-size:12px;font-weight:400;color:#999;margin-left:8px}
@media(min-width:1800px){.content-area{padding:38px 44px 60px}.topbar{padding-left:44px;padding-right:44px}.report-kpis{gap:22px}.report-kpi{padding:23px 25px;min-height:185px}.report-kpi-value strong{font-size:31px}.report-kpi-label{font-size:14px}}
@media(max-width:1350px){.sync-indicator span{display:none}.topbar{padding-left:24px;padding-right:24px}.content-area{padding:26px 24px 50px}.report-kpi{padding:17px 16px}.report-kpi-value strong{font-size:24px}.chart-controls select{min-width:105px}}
@media(max-width:1100px){:root{--sidebar:210px}.brand{padding:18px 16px}.brand strong{font-size:14px;max-width:127px}.account-label{margin:22px 16px 12px}.nav-list{padding:0 9px}.nav-item{padding:11px;font-size:12px}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.report-kpi{min-height:155px}.report-reconciliation{grid-template-columns:1fr}.chart-controls{flex-wrap:wrap}.chart-controls select{min-width:95px}.topbar-title p{display:none}.topbar h1{font-size:19px}.currency-pill{display:none}.inline-stats strong{font-size:19px}.inline-stats>div{padding:0 16px}.range-trigger{font-size:11px}.dashboard-grid{grid-template-columns:1fr 1fr}.dashboard-grid .span-2{grid-column:span 2}}
@media(max-width:820px){:root{--sidebar:0px}.sidebar{display:none;width:244px;box-shadow:20px 0 80px #000a}.sidebar.is-open{display:flex}.workspace{margin-left:0}.topbar{padding:16px 18px;position:sticky;min-height:76px;gap:12px}.topbar h1{font-size:18px}.mobile-menu{display:grid}.topbar-actions{gap:8px}.sync-indicator{display:none}.content-area{padding:22px 16px 100px}.range-trigger{height:36px;padding:0 9px;gap:6px;font-size:10px}.range-trigger svg{width:14px;height:14px}.range-trigger .chevron{display:none}.report-kpis{gap:10px}.report-kpi{padding:16px;min-height:160px}.report-kpi-value strong{font-size:25px}.report-kpi-label{font-size:11px}.report-kpi small{font-size:10px}.section-heading{gap:12px;align-items:flex-start}.section-heading h2{font-size:20px}.section-heading p{font-size:11px}.section-heading>.btn,.section-heading .button-group{flex-shrink:0}.dashboard-options .btn{font-size:10px;height:33px;padding:0 10px}.card{padding:18px}.card-head h2{font-size:17px}.report-reconciliation{grid-template-columns:1fr}.dashboard-grid,.main-charts{grid-template-columns:1fr}.dashboard-grid .span-2{grid-column:span 1}.report-chart-card .card-head{flex-direction:column;align-items:flex-start}.chart-controls{width:100%;display:flex;flex-wrap:nowrap;gap:7px}.chart-controls select{min-width:0;flex:1;width:0;font-size:10px}.report-chart-wrap{height:260px}.comparison-note{font-size:9px;text-align:left;line-height:1.65;margin-bottom:24px}.inline-stats{grid-template-columns:1fr 1fr;padding:10px 0;row-gap:0}.inline-stats>div{padding:14px 18px}.inline-stats>div:nth-child(2){border:0}.inline-stats strong{font-size:20px}.inline-stats span{font-size:10px}.inline-stats>div:nth-child(n+3){border-top:1px solid #2b2b2f}.filter-bar{flex-wrap:wrap}.filter-bar .search-field{width:100%;flex:auto}.filter-bar select{flex:1;max-width:none;width:0}.mobile-nav{display:flex;background:#19191cf5;border-top:1px solid #333339;backdrop-filter:blur(16px);height:70px;z-index:40;padding-bottom:max(8px,env(safe-area-inset-bottom))}.mobile-nav a{color:#82828c;font-size:9px;gap:5px}.mobile-nav a.active{color:#f270b0}.mobile-nav svg{stroke-width:1.7;width:18px;height:18px}.mobile-nav a span{line-height:1}.table-wrap{margin-right:0}.table-footer{flex-wrap:wrap;gap:14px}.footer-pagination{width:100%;justify-content:space-between;gap:12px}.table-footer>span{font-size:10px}.pagination a{height:30px;min-width:30px}.bulk-toolbar{flex-wrap:wrap;gap:12px}.bulk-toolbar>span{width:100%;flex:auto}.bulk-toolbar label{flex:1;min-width:145px}.bulk-toolbar .btn{font-size:11px}.section-heading .button-group{flex-direction:column;gap:7px}.section-heading .button-group .btn{height:34px;font-size:10px}.top-product{gap:9px}.top-product img{width:30px;height:30px}.top-product .grow strong{font-size:11px}.top-product-profit{font-size:12px}.top-product small{font-size:9px}.sync-form .btn{margin:0;width:100%}.connection-actions{margin-left:auto;width:auto}.connection-actions .btn{width:auto}.connection-card{gap:12px}.connection-card h2{font-size:17px}.connection-card p:last-child{font-size:11px}.connection-card .ml-logo{width:40px;height:40px}.equation>div{font-size:11px}.equation>div strong{font-size:12px}.equation .total strong{font-size:18px}.detail-metrics{padding:16px 0}.detail-metrics>div{padding:0 12px}.detail-metrics strong{font-size:19px}.detail-metrics span{font-size:10px}.order-detail-heading h2{font-size:20px}.order-modal{max-width:calc(100vw - 16px);max-height:93vh;padding:22px 17px}.detail-section .equation>div{font-size:12px}.detail-section .equation strong{font-size:13px}.detail-section .equation .total strong{font-size:22px}.detail-product .product-cell strong{font-size:12px}.detail-product>.numeric strong{font-size:13px}.detail-product>.numeric small{font-size:10px}.detail-product{gap:12px}.detail-product .product-cell img{width:38px;height:38px}.detail-product .product-cell{gap:10px}.order-info>span{font-size:10px}.calendar-footer span{display:none}.calendar-footer .btn{width:100%}}
@media(max-width:480px){.topbar{padding:13px 12px;gap:8px}.topbar h1{font-size:16px}.mobile-menu{width:29px;height:31px;font-size:13px}.topbar-title{gap:8px}.range-trigger{font-size:9px}.range-trigger svg{display:none}.content-area{padding:20px 12px 95px}.report-kpi-value{gap:5px}.report-kpi-value strong{font-size:23px}.report-kpi .delta{font-size:9px}.report-kpi{padding:14px;min-height:165px}.report-kpi-label{font-size:10px}.report-kpi small{line-height:1.6;min-height:28px}.sparkline{height:33px;margin-top:6px}.section-heading h2{font-size:18px}.section-heading .btn{font-size:10px;padding:0 9px}.section-heading .btn svg{display:none}.chart-footer .legend{gap:12px;font-size:10px}.chart-footer .check-row{font-size:9px}.report-chart-wrap{height:230px}.calendar-months{grid-template-columns:1fr;gap:22px;padding:15px 20px 20px}.calendar-month:nth-child(2){display:none}.calendar-heading{padding:18px 20px 13px}.calendar-presets{padding:0 20px 15px}.calendar-day{height:37px}.calendar-footer{padding:15px 20px}.calendar-inputs{padding:0 20px 15px;gap:12px}.calendar-inputs input{font-size:11px}.range-dialog{max-height:92vh;overflow:auto}.range-trigger{height:33px}.detail-metrics strong{font-size:16px}.detail-metrics>div{padding:0 9px}.order-detail-heading{flex-direction:column;align-items:flex-start;gap:10px}.detail-section .equation .total small{display:block;margin:4px 0 0}.detail-product{align-items:flex-start}.detail-product .product-cell img{display:none}.inline-stats strong{font-size:18px}.table-footer .pagination a{height:29px;min-width:25px;padding:0 6px}.footer-pagination{gap:8px}.footer-pagination label{font-size:10px}.footer-pagination select{width:55px}.button-group{flex-direction:row}.button-group .btn{width:auto}.form-grid.cols-2{grid-template-columns:1fr}.form-grid .span-2{grid-column:span 1}}
@media print{html,body{background:#fff;color:#000}.sidebar,.mobile-nav,.topbar,.dashboard-options,.btn,.filter-bar{display:none!important}.workspace{margin:0}.content-area{padding:0}.card,.report-kpi{background:#fff!important;color:#000!important;border:1px solid #ddd;break-inside:avoid}.report-kpi-value strong,.equation span,.equation strong,td,th{color:#111!important}.report-kpis{grid-template-columns:repeat(4,1fr)}.report-kpi small,.report-kpi-label{color:#555}.table-wrap{overflow:visible}.report-reconciliation{display:block}thead{background:#f5f5f5}.footnote{color:#555}.order-modal{position:static;width:100%;height:auto;max-height:none}}

.status-badge{text-transform:none}
/* Calendar controls must remain visible inside the mobile header. */
.topbar-actions .range-dialog .icon-button{display:grid;flex:0 0 34px}

/* 2.1: compact dashboard, matching the supplied Escalafy reference. */
.dashboard-page{--soft:#090909;--white:#171717;--line:#292929;--pink:#df2583}
.dashboard-page .topbar{min-height:64px;padding-top:12px;padding-bottom:12px;background:#090909}
.dashboard-page .topbar-title p{display:none}
.dashboard-page .topbar h1{font-size:17px;letter-spacing:-.025em}
.dashboard-page .content-area{padding-top:40px}
.dashboard-page .section-heading{margin-bottom:20px}
.dashboard-section-title{display:flex;align-items:center;gap:9px;font-size:22px!important;font-weight:700;letter-spacing:-.025em}
.market-mark{font-size:16px;line-height:1;flex:none}
.cost-mark{color:var(--pink);font-size:26px;font-weight:800;line-height:.75;display:inline-block;transform:rotate(-13deg)}
.sales-mark{color:#77ecb0;display:flex}
.sales-mark svg{height:22px;width:22px;stroke:currentColor;fill:none;stroke-width:1.8}
.dashboard-page .report-kpis{gap:16px}
.dashboard-page .report-kpi{min-height:124px;padding:13px 16px;background:#171717;border:0;border-radius:11px}
.dashboard-page .report-kpi-label{font-size:13px;color:#9d9d9d;gap:8px;min-height:20px}
.dashboard-page .report-kpi-value{margin-top:4px;gap:7px;flex-wrap:wrap}
.dashboard-page .report-kpi-value strong{font-size:25px;letter-spacing:-.035em;line-height:1.3;font-variant-numeric:tabular-nums}
.dashboard-page .report-kpi .delta{font-size:11px}
.dashboard-page .delta.neutral{display:none}
.dashboard-page .sparkline{height:38px;margin-top:12px}
.dashboard-page .comparison-note{margin-bottom:0;font-size:10px;color:#727272}
.dashboard-cost-section{margin-top:54px}
.cost-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.cost-detail{margin-left:auto;background:var(--pink);color:white;border-radius:6px;padding:3px 7px;white-space:nowrap;font-size:10px;font-weight:650}
.dashboard-page .report-sales-card{margin-top:58px;padding:0;border:0;background:transparent}
.dashboard-page .report-sales-card .card-head{margin-bottom:18px}
.latest-sales-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:9px}
.latest-sales-toolbar>div{display:flex;align-items:center;gap:12px;color:#999;font-size:12px}
.latest-sales-toolbar .search-field{max-width:280px;width:100%;background:#151515;border:1px solid #363636;border-radius:8px;height:34px;padding:0 10px;gap:8px}
.latest-sales-toolbar input{height:32px;border:0;background:transparent;padding:0;box-shadow:none;font-size:12px;width:100%}
.latest-sales-toolbar .btn{height:34px;font-size:12px}
.dashboard-page .report-sales-card .table-wrap{border:1px solid #292929;border-radius:9px}
.dashboard-page .sales-table thead{background:transparent}
.dashboard-page .sales-table th{font-size:12px;padding:9px 11px;color:#eee;border-bottom:1px solid #373737;white-space:nowrap}
.dashboard-page .sales-table td{padding:10px 11px;font-size:12px;background:transparent}
.dashboard-page .sales-table tbody tr:last-child td{border-bottom:0}
.order-origin{white-space:nowrap}
.order-origin .market-mark{margin-right:8px}
.dashboard-page .sales-table .order-id{font-size:12px;font-weight:650;color:#eee}
.dashboard-page .sales-table td.positive{color:#eee!important}
.dashboard-page .detail-link{color:#ddd;font-size:12px}
.dashboard-page .detail-link svg{color:var(--pink)}
.dashboard-analysis{margin-top:30px;border-top:1px solid #252525;padding-top:18px}
.dashboard-analysis>summary{cursor:pointer;font-size:12px;color:#aaa;margin-bottom:20px;list-style-position:inside}
.currency-control{position:relative;flex:none}
.currency-control select{height:38px;background:#151515;min-width:76px;font-size:12px}
.fx-status{position:absolute;right:0;top:calc(100% + 6px);font-size:9px;color:#858585;white-space:nowrap;max-width:300px;overflow:hidden;text-overflow:ellipsis}
.fx-status.is-stale{color:var(--amber)}
@media(min-width:1800px){.dashboard-page .report-kpi{min-height:160px;padding:16px 20px}.dashboard-page .report-kpi-label{font-size:16px}.dashboard-page .report-kpi-value strong{font-size:30px}.dashboard-page .sparkline{height:46px;margin-top:18px}.dashboard-page .topbar{min-height:72px}}
@media(max-width:1100px){.dashboard-page .report-kpi{min-height:132px}.cost-kpis{gap:12px}.cost-detail{font-size:9px}.dashboard-page .report-kpi-label{font-size:12px}}
@media(max-width:820px){.dashboard-page .content-area{padding-top:30px}.dashboard-page .topbar{min-height:70px;padding-bottom:20px;gap:8px}.dashboard-page .topbar-title{gap:6px}.dashboard-page .topbar h1{font-size:16px}.currency-control select{height:34px;min-width:64px;width:64px;padding:0 6px;font-size:11px}.fx-status{font-size:8px;max-width:220px;top:calc(100% + 4px)}.dashboard-section-title{font-size:20px!important}.dashboard-page .report-kpis{gap:12px}.dashboard-page .report-kpi{padding:14px;min-height:128px}.dashboard-page .report-kpi-value strong{font-size:25px}.dashboard-cost-section{margin-top:34px}.cost-kpis{grid-template-columns:1fr}.dashboard-page .report-sales-card{margin-top:36px}.latest-sales-toolbar{align-items:flex-start;flex-wrap:wrap}.latest-sales-toolbar .search-field{max-width:none}.latest-sales-toolbar>div{width:100%;justify-content:space-between}}
@media(max-width:480px){.dashboard-page .report-kpi-label{font-size:11px}.dashboard-page .report-kpi-value strong{font-size:23px}.dashboard-page .report-kpi .delta{font-size:9px}.dashboard-page .report-kpi-value{gap:5px}.dashboard-page .topbar{padding-left:10px;padding-right:10px}.dashboard-page .range-trigger{font-size:9px;padding:0 6px}.dashboard-page .topbar-actions{gap:6px}.dashboard-page .mobile-menu{width:25px}.market-mark{font-size:14px}.dashboard-page .report-kpi{padding:12px;min-height:128px}.dashboard-page .sparkline{margin-top:14px}.cost-kpi .sparkline{height:42px}}
@media print{.currency-control,.latest-sales-toolbar,.dashboard-analysis>summary{display:none!important}.dashboard-page{--sidebar:0}.dashboard-page .report-kpi{border:1px solid #ddd}.dashboard-page .report-sales-card{margin-top:20px}}
.upload-zone{position:relative}
.upload-zone input[type=file]{width:1px;height:1px;min-width:0;padding:0;border:0;clip-path:inset(50%);top:0;left:0}
.dashboard-page .report-sales-card .table-wrap.wide{margin:0;max-width:100%}

/* 2.5: passkeys, matching the shared visual system. */
.remember-choice{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted);font-weight:400}
.remember-choice input[type=checkbox]{width:18px;min-width:18px;height:18px;margin:0;accent-color:var(--pink)}
.passkey-login .btn{width:100%}.auth-divider{display:flex;align-items:center;gap:14px;margin:18px 0;color:var(--muted);font-size:13px}
.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:var(--line)}
.passkey-message{min-height:22px;font-size:13px;color:var(--muted);margin:12px 0}.passkey-message.passkey-error{color:#ffb5ca}
.access-settings>.muted{margin-bottom:22px}.passkey-list{margin-top:18px}.passkey-row{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding:16px 0}
.passkey-row summary,.remember-settings summary{cursor:pointer;color:var(--ink);font-size:14px}.passkey-row details form{margin-top:12px}
.remember-settings{border-top:1px solid var(--line);padding-top:16px;margin-top:12px}.remember-settings form>div{align-self:end}
@media(max-width:640px){.passkey-row{align-items:flex-start;flex-direction:column}.passkey-row details{width:100%}.access-settings .card-head{align-items:flex-start;gap:12px;flex-wrap:wrap}}
