:root{color-scheme:light;--surface:#fff;--surface-soft:#f8faf6;--accent:#315e4c;--accent-soft:#e9f1e4;--gold:#c39b4f;--focus:#94b77a}
html[data-theme="dark"]{color-scheme:dark;background:#0d1511;--ink:#edf3ec;--muted:#a1b0a5;--line:#2a3b33;--paper:#17231d;--green-soft:#21352b;--surface:#17231d;--surface-soft:#1d2c24;--accent:#a9cc8b;--accent-soft:#263a2d;--shadow:0 18px 42px #0005}
html,body{min-height:100%;overflow-x:hidden;transition:background-color .2s ease,color .2s ease}
body{min-width:0;color:var(--ink)}
.app-shell{width:min(100% - 40px,1080px);padding-top:16px}
.topbar{height:58px;margin-bottom:8px}
.brand{gap:10px;font-size:23px;letter-spacing:-1.25px}
.brand-mark{width:43px;height:43px;border-radius:14px;background:transparent;filter:drop-shadow(0 4px 8px #315e4c1c)}
.brand-mark img{width:100%;height:100%;object-fit:contain}
.top-actions{gap:8px}
.theme-toggle{width:40px;height:40px;display:grid;place-items:center;border-radius:13px;transition:transform .18s ease,background .18s ease,border-color .18s ease}
.theme-toggle:hover{transform:translateY(-1px)}
.theme-toggle .ui-icon{width:19px;height:19px}
.theme-sun{display:none}
html[data-theme="dark"] .theme-moon{display:none}
html[data-theme="dark"] .theme-sun{display:block}
.language-picker select{height:40px;border-radius:13px;padding:0 34px 0 13px;font-weight:650}
.account-button{border-radius:13px!important;height:40px!important}
.account-settings-avatar{width:40px;height:40px}
.ui-icon{display:block;width:19px;height:19px;flex:none}
.home-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.9fr);align-items:center;gap:12px;min-height:292px;margin:14px 0 21px;padding:34px 40px;overflow:hidden;border:1px solid #dce7d7;border-radius:29px;background:linear-gradient(118deg,#f0f5e9 0%,#f7f4e8 68%,#f1f4ea 100%);box-shadow:0 20px 55px #324d3714}
.home-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 87% 50%,#dfeacb 0,transparent 42%),linear-gradient(125deg,transparent 55%,#ffffff50 100%)}
.hero-copy{max-width:590px;z-index:2}
.hero-route{gap:11px;margin-bottom:17px;color:#597248;letter-spacing:.9px}
.route-city{display:inline-flex;align-items:center;gap:6px}
.route-city .ui-icon{width:14px;height:14px;color:#a17d3b}
.route-line{width:45px;border-top:1px solid #9fb28e}
.route-line:before,.route-line:after{top:-3px;width:5px;height:5px;background:#bd9650}
.home-hero h1{max-width:610px;font-size:clamp(40px,5vw,60px);letter-spacing:-3.1px;line-height:1.01}
.home-hero h1 span{color:#66884e}
.hero-subtitle{max-width:420px;font-size:14px;line-height:1.65;color:#65746a;margin-top:15px}
.hero-proof{display:flex;align-items:center;gap:8px;margin-top:19px;color:#597248;font-size:11px;font-weight:700;letter-spacing:.05px}
.hero-proof .ui-icon{width:17px;height:17px;color:#ac884b}
.hero-art{position:relative;isolation:isolate;width:100%;height:244px;min-width:0;color:#728d5e}
.hero-circuit{position:absolute;inset:0;width:100%;height:100%;overflow:visible;color:#839b70}
.hero-circuit rect{color:#b9cba5}
.hero-orbit{fill:none;stroke:#9cad8c;stroke-width:1.1;opacity:.65}
.orbit-b{stroke:#c4a15b;stroke-dasharray:3 7;opacity:.75}
.orbit-c{stroke:#79946a;stroke-dasharray:1 7;opacity:.65}
.hero-route-path{fill:none;stroke:#b08b4d;stroke-width:1.5;stroke-dasharray:4 5;opacity:.85}
.hero-route-node{fill:#edf3e6;stroke:#79946a;stroke-width:2}
.hero-route-node.gold-node{fill:#d2b16d;stroke:#f6f3e8}
.hero-emblem-halo{position:absolute;left:62%;top:49%;width:135px;height:135px;transform:translate(-50%,-50%);display:grid;place-items:center}
.halo-ring{position:absolute;border:1px solid #b6c6a7;border-radius:50%;inset:0;transform:rotate(30deg) scaleY(.42)}
.halo-ring-b{transform:rotate(-30deg) scaleY(.42);border-color:#c2a563}
.halo-ring-c{inset:16px;transform:rotate(0) scaleY(.8);border-style:dashed;opacity:.7}
.hero-emblem{position:relative;width:91px;height:91px;display:grid;place-items:center;border:1px solid #e3e9d8;border-radius:26px;background:#ffffffd9;box-shadow:0 12px 34px #344e301b;backdrop-filter:blur(8px)}
.hero-emblem img{width:66px;height:66px;object-fit:contain}
.hero-finance-chip{position:absolute;right:0;bottom:13px;display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #e1e8d8;border-radius:14px;background:#fffffff0;color:#38543e;box-shadow:0 10px 28px #344e3017;backdrop-filter:blur(10px)}
.hero-chip-mark{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#e9f1e2;color:#577846}
.hero-chip-mark .ui-icon{width:17px;height:17px}
.hero-finance-chip>span:last-child{display:flex;flex-direction:column;gap:2px}
.hero-finance-chip small{font-size:8px;font-weight:800;letter-spacing:1px;color:#85927e}
.hero-finance-chip strong{font-size:13px;letter-spacing:.2px}
.hero-finance-chip i{color:#ba9452;font-style:normal;padding:0 2px}
.hero-route-chip{position:absolute;top:7px;right:11px;display:flex;align-items:center;gap:7px;padding:7px 9px;border:1px solid #dce6d5;border-radius:99px;background:#f9fbf5d9;color:#657b56;font-size:8px;font-weight:800;letter-spacing:.8px}
.route-chip-spark{color:#b69555;font-size:12px}
.auth-screen{position:relative;isolation:isolate;overflow:hidden}
.auth-screen:before,.auth-screen:after{content:"";position:absolute;z-index:-1;width:clamp(150px,24vw,260px);aspect-ratio:1;pointer-events:none;opacity:.19;background:repeating-linear-gradient(45deg,transparent 0 13px,#879e70 13px 14px,transparent 14px 27px),repeating-linear-gradient(-45deg,transparent 0 13px,#b79552 13px 14px,transparent 14px 27px);mask-image:radial-gradient(ellipse,#000 12%,transparent 72%)}
.auth-screen:before{left:max(0px,calc(50% - 500px));top:10%;transform:rotate(45deg)}
.auth-screen:after{right:max(0px,calc(50% - 500px));bottom:5%;transform:rotate(45deg)}
.auth-card{position:relative;overflow:hidden;border-color:#e1e8dc;background:linear-gradient(145deg,#ffffff 0%,#fff 76%,#fbfcf8 100%)}
.auth-card:before{content:"";position:absolute;inset:0 0 auto;height:16px;pointer-events:none;background:repeating-linear-gradient(45deg,transparent 0 8px,#819b6d 8px 10px,transparent 10px 18px),repeating-linear-gradient(-45deg,transparent 0 8px,#bd9852 8px 10px,transparent 10px 18px);opacity:.72}
.home-tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 19px;padding:5px;border:1px solid #e4e9df;border-radius:17px;background:#ffffffad;box-shadow:0 8px 24px #26372d09}
.home-tabs::-webkit-scrollbar{display:none}
.home-tab{display:inline-flex;align-items:center;gap:8px;min-height:42px;padding:0 14px;border:0;border-radius:12px;color:#77867b;transition:background .18s ease,color .18s ease,transform .18s ease}
.home-tab .ui-icon{width:16px;height:16px;color:#8b9b7d}
.home-tab>span:not(.tab-count){padding:0;border-radius:0;background:transparent;font-size:11px}
.home-tab .tab-count{min-width:21px;min-height:21px;padding:3px 6px;background:#eef3e8;color:#6c805f;text-align:center}
.home-tab.active{border-bottom-color:transparent;background:#315e4c;color:#fff;box-shadow:0 6px 14px #315e4c28}
.home-tab.active .ui-icon{color:#d6e7ba}
.home-tab.active .tab-count{background:#ffffff20;color:#fff}
.dashboard-tools{margin:4px 0 14px}
.dashboard-tools .section-kicker{letter-spacing:1.4px}
.primary-button,.compact-button,.item-stage-button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.primary-button:hover,.compact-button:hover,.item-stage-button:hover{transform:translateY(-1px)}
.primary-button{border-radius:13px;background:linear-gradient(135deg,#315e4c,#3f7358);box-shadow:0 8px 18px #315e4c25}
.primary-button .ui-icon{width:16px;height:16px}
.summary-grid{gap:12px}
.summary-card{position:relative;overflow:hidden;min-height:134px;padding:17px 18px;border-color:#e5eae1;border-radius:19px;box-shadow:0 12px 30px #29372d0a}
.summary-card:after{content:"";position:absolute;right:-18px;bottom:-28px;width:92px;height:92px;border:1px solid #dce6d4;border-radius:27px;transform:rotate(45deg);opacity:.55;pointer-events:none}
.summary-card-top{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:10px}
.summary-card .card-label{margin:0;font-size:9px;letter-spacing:.9px;color:#78867b}
.summary-icon{width:34px;height:34px;display:grid;place-items:center;border:1px solid #e1e9d9;border-radius:12px;background:#f0f5eb;color:#62834f}
.summary-icon .ui-icon{width:17px;height:17px}
.summary-card .card-value{position:relative;z-index:1;margin-top:16px;font-size:25px;letter-spacing:-1px}
.summary-card .card-note{position:relative;z-index:1;font-size:10px;color:#89958a}
.summary-card.action-card{background:linear-gradient(145deg,#f8fbf3,#eef4e5)}
.content-section{padding-top:31px}
.section-heading h2{letter-spacing:-.8px}
.search-box{height:42px;gap:9px;padding:0 12px;border-color:#e2e8dd;border-radius:13px;box-shadow:0 5px 14px #26372d08}
.search-box .ui-icon{width:16px;height:16px;color:#91a084}
.search-box input{font-size:12px}
.order-card,.client-card,.archive-client-group{border-radius:18px;box-shadow:0 10px 26px #283a2d0a}
.order-card{padding:18px 19px}
.order-card:hover,.client-card:hover{transform:translateY(-2px);box-shadow:0 15px 32px #283a2d12}
.order-title{letter-spacing:-.35px}
.status-pill{padding:7px 10px;border:1px solid #e1e9d8}
.client-card{padding:16px}
.client-initial{border-radius:14px}
.detail-head{padding-top:28px}
.detail-heading h1{letter-spacing:-1.6px}
.balance-panel{position:relative;overflow:hidden;border:1px solid #52735d;border-radius:22px;background:linear-gradient(118deg,#254b3a,#315e4c 60%,#3e6b4d);box-shadow:0 18px 38px #244b3c22}
.balance-panel:after{content:"";position:absolute;right:-48px;top:-70px;width:210px;height:210px;border:1px solid #ffffff22;border-radius:50%;box-shadow:0 0 0 18px #ffffff0a,0 0 0 38px #ffffff08}
.detail-tabs{gap:6px;border-bottom:1px solid #e1e8dd}
.detail-tab{display:inline-flex;align-items:center;gap:7px}
.detail-tab.active{border-radius:10px 10px 0 0}
.workflow-chooser,.form-card,.finance-card,.shipment-panel{border-radius:18px;box-shadow:0 10px 28px #26372d09}
.workflow-icon{width:40px;height:40px;border:1px solid #dce7d3;border-radius:13px;background:#ecf3e5;color:#557846}
.workflow-icon .ui-icon{width:19px;height:19px}
.workflow-arrow .ui-icon{width:16px;height:16px}
.workflow-choice{min-height:66px;border-radius:15px}
.workflow-choice-copy strong{font-size:12px}
.finance-grid{gap:14px}
.finance-card{padding:17px}
.ledger-row{border-radius:13px}
.modal{border:1px solid #e3e9df;border-radius:23px}
.app-footer{border-top:1px solid #e2e8df;margin-top:34px;padding-top:18px}
.admin-summary article{border-radius:16px;box-shadow:0 10px 28px #26372d09}
.admin-summary article>span{display:flex;align-items:center;gap:7px}
.admin-summary article>span .ui-icon{width:16px;height:16px;color:#718b5e}
.empty-illustration .ui-icon{width:28px;height:28px}
.icon-button:focus-visible,.theme-toggle:focus-visible,.home-tab:focus-visible,.primary-button:focus-visible,.compact-button:focus-visible{outline:3px solid #93b77a;outline-offset:3px}
html[data-theme="dark"] body{background:radial-gradient(ellipse at 80% 0%,#20372b 0,transparent 30rem),radial-gradient(ellipse at 0% 55%,#15251d 0,transparent 27rem),#0d1511;color:#edf3ec}
html[data-theme="dark"] .brand,html[data-theme="dark"] .section-heading h2,html[data-theme="dark"] .tab-summary h2,html[data-theme="dark"] .detail-heading h1,html[data-theme="dark"] .order-title,html[data-theme="dark"] .client-card h3,html[data-theme="dark"] .workflow-heading h2,html[data-theme="dark"] .finance-card h3,html[data-theme="dark"] .modal-form h2{color:#edf3ec}
html[data-theme="dark"] .muted,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .section-count,html[data-theme="dark"] .hero-subtitle,html[data-theme="dark"] .detail-heading .detail-client,html[data-theme="dark"] .form-hint,html[data-theme="dark"] .client-card p,html[data-theme="dark"] .order-destination,html[data-theme="dark"] .card-note,html[data-theme="dark"] .card-label{color:#9bac9f}
html[data-theme="dark"] .home-hero{border-color:#31493b;background:linear-gradient(118deg,#17291f 0%,#1d3024 63%,#1b2a20 100%);box-shadow:0 20px 55px #0003}
html[data-theme="dark"] .home-hero:before{background:radial-gradient(circle at 87% 50%,#304630 0,transparent 42%),linear-gradient(125deg,transparent 55%,#ffffff08 100%)}
html[data-theme="dark"] .home-hero h1{color:#f1f4eb}
html[data-theme="dark"] .home-hero h1 span{color:#c4df8c}
html[data-theme="dark"] .hero-route{color:#c0d69a}
html[data-theme="dark"] .hero-proof{color:#c0d69a}
html[data-theme="dark"] .hero-circuit{color:#b0c49a}
html[data-theme="dark"] .hero-circuit rect{color:#5c7957}
html[data-theme="dark"] .hero-orbit{stroke:#809775}
html[data-theme="dark"] .orbit-b{stroke:#c1a05d}
html[data-theme="dark"] .hero-route-path{stroke:#d0ad65}
html[data-theme="dark"] .hero-route-node{fill:#26392c;stroke:#b4ce8c}
html[data-theme="dark"] .hero-route-node.gold-node{fill:#d2ae63;stroke:#24372b}
html[data-theme="dark"] .hero-emblem{border-color:#405441;background:#f3f5ea;box-shadow:0 12px 34px #0005}
html[data-theme="dark"] .hero-finance-chip{border-color:#3c5140;background:#1b2b22f0;color:#e4edda;box-shadow:0 10px 28px #0005}
html[data-theme="dark"] .hero-chip-mark{background:#2b4130;color:#c4dc93}
html[data-theme="dark"] .hero-finance-chip small{color:#9eaf9b}
html[data-theme="dark"] .hero-route-chip{border-color:#445640;background:#1b2b22e8;color:#c3d99a}
html[data-theme="dark"] .home-tabs{border-color:#2b3e33;background:#15221b;box-shadow:0 8px 24px #0003}
html[data-theme="dark"] .home-tab{color:#a7b5a9}
html[data-theme="dark"] .home-tab .ui-icon{color:#aec196}
html[data-theme="dark"] .home-tab .tab-count{background:#26372b;color:#bdceac}
html[data-theme="dark"] .home-tab.active{background:#accd89;color:#17251b}
html[data-theme="dark"] .home-tab.active .ui-icon,html[data-theme="dark"] .home-tab.active .tab-count{color:#17251b}
html[data-theme="dark"] .summary-card,html[data-theme="dark"] .order-card,html[data-theme="dark"] .client-card,html[data-theme="dark"] .form-card,html[data-theme="dark"] .finance-card,html[data-theme="dark"] .shipment-panel,html[data-theme="dark"] .workflow-chooser,html[data-theme="dark"] .admin-user-card,html[data-theme="dark"] .admin-summary article,html[data-theme="dark"] .report-summary-grid article,html[data-theme="dark"] .report-balance-strip,html[data-theme="dark"] .client-report-balance,html[data-theme="dark"] .report-table-wrap,html[data-theme="dark"] .ledger-row,html[data-theme="dark"] .item-row,html[data-theme="dark"] .archive-client-group,html[data-theme="dark"] .plan-card,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .proof-list-row{border-color:#2d4034;background:#17231d;color:#e6eee5;box-shadow:0 12px 28px #0002}
html[data-theme="dark"] .summary-card.action-card{background:linear-gradient(145deg,#203329,#1b2b22)}
html[data-theme="dark"] .summary-card:after{border-color:#38503c}
html[data-theme="dark"] .summary-icon,html[data-theme="dark"] .client-initial,html[data-theme="dark"] .workflow-icon{border-color:#3c5140;background:#25382b;color:#c1d99a}
html[data-theme="dark"] .bill-choice .workflow-icon{background:#3a3425;color:#ddc07e}
html[data-theme="dark"] .workflow-choice{border-color:#344a3a;background:#1c2b22;color:#e5eee1}
html[data-theme="dark"] .workflow-choice.bill-choice{background:#242b22}
html[data-theme="dark"] .workflow-choice:hover{border-color:#819c69;background:#25392b}
html[data-theme="dark"] .workflow-choice-copy small,html[data-theme="dark"] .ledger-meta,html[data-theme="dark"] .ledger-heading span,html[data-theme="dark"] .tab-summary span,html[data-theme="dark"] .report-note,html[data-theme="dark"] .report-subtitle,html[data-theme="dark"] .report-summary-grid article span,html[data-theme="dark"] .report-balance-strip span{color:#a1b0a4}
html[data-theme="dark"] .home-hero .eyebrow,html[data-theme="dark"] .balance-panel .eyebrow{color:#c2d9a0}
html[data-theme="dark"] .auth-screen:before,html[data-theme="dark"] .auth-screen:after{opacity:.22;background:repeating-linear-gradient(45deg,transparent 0 13px,#91aa7a 13px 14px,transparent 14px 27px),repeating-linear-gradient(-45deg,transparent 0 13px,#c4a15b 13px 14px,transparent 14px 27px)}
html[data-theme="dark"] .auth-card{border-color:#34463a;background:linear-gradient(145deg,#17231d 0%,#17231d 76%,#1b2921 100%)}
html[data-theme="dark"] .auth-card:before{background:repeating-linear-gradient(45deg,transparent 0 8px,#9bb883 8px 10px,transparent 10px 18px),repeating-linear-gradient(-45deg,transparent 0 8px,#d0ad65 8px 10px,transparent 10px 18px);opacity:.82}
html[data-theme="dark"] .summary-card .card-value,html[data-theme="dark"] .report-summary-grid article strong,html[data-theme="dark"] .ledger-label,html[data-theme="dark"] .report-table td strong{color:#e2ebdf}
html[data-theme="dark"] .positive-text,html[data-theme="dark"] .order-balance.positive,html[data-theme="dark"] .ledger-amount.income{color:#e1c078}
html[data-theme="dark"] .negative-text,html[data-theme="dark"] .order-balance.negative,html[data-theme="dark"] .ledger-amount.expense{color:#f09882}
html[data-theme="dark"] .order-card-bottom,html[data-theme="dark"] .ledger-heading,html[data-theme="dark"] .proof-list{border-color:#2b3b31}
html[data-theme="dark"] .home-tab.active{border-color:transparent}
html[data-theme="dark"] .search-box,html[data-theme="dark"] .language-picker select,html[data-theme="dark"] .icon-button,html[data-theme="dark"] .install-button,html[data-theme="dark"] .compact-button,html[data-theme="dark"] .close-button,html[data-theme="dark"] .item-stage-button{border-color:#35483b;background:#223329;color:#dce8d8}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border-color:#34473b!important;background:#111c16!important;color:#e9f0e7!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#829286}
html[data-theme="dark"] .search-box input{border:0!important;background:transparent!important}
html[data-theme="dark"] .primary-button{background:linear-gradient(135deg,#7f9f68,#a9c780);color:#142019;box-shadow:0 8px 18px #0003}
html[data-theme="dark"] .primary-button span{color:#293c2a}
html[data-theme="dark"] .status-pill{border-color:#3b4d3c;background:#26372a;color:#c3d6a2}
html[data-theme="dark"] .status-pill.shipped,html[data-theme="dark"] .status-pill.delivered{border-color:#3c4d5e;background:#243440;color:#b5c9e1}
html[data-theme="dark"] .status-pill.bill-pending{background:#3e3022;color:#e7bd7c}
html[data-theme="dark"] .status-pill.bill-paid{background:#263a2b;color:#c3d6a2}
html[data-theme="dark"] .report-table th{background:#223229;color:#b8c8b7}
html[data-theme="dark"] .report-table td{border-color:#2b3b31;color:#c2cdc2}
html[data-theme="dark"] .report-table-wrap,html[data-theme="dark"] .report-order-detail{border-color:#2d4034}
html[data-theme="dark"] .table-empty{color:#9eaea0!important}
html[data-theme="dark"] .empty-state{border-color:#394d3c;background:#17231d;color:#a8b6a9}
html[data-theme="dark"] .empty-state strong{color:#e4ede2}
html[data-theme="dark"] .app-footer{border-color:#2b3c32;color:#8fa092}
html[data-theme="dark"] .offline-indicator{color:#a6b4a8}
html[data-theme="dark"] .modal{border-color:#35483b;background:#17231d;color:#e9f0e7}
html[data-theme="dark"] .modal::backdrop{background:#030806bd}
html[data-theme="dark"] .auth-form label,html[data-theme="dark"] .auth-help,html[data-theme="dark"] .auth-footnote,html[data-theme="dark"] .auth-switch,html[data-theme="dark"] .account-current,html[data-theme="dark"] .account-modal .form-hint,html[data-theme="dark"] .account-form-section h3{color:#b3c2b4}
html[data-theme="dark"] .account-current{background:#213128}
html[data-theme="dark"] .account-current strong{color:#e7efe5}
html[data-theme="dark"] .auth-notice{border-color:#405a3e;background:#263925;color:#d0e5b2}
html[data-theme="dark"] .auth-error{border-color:#69433c;background:#382520;color:#f0b4a6}
html[data-theme="dark"] .payment-proof-field,html[data-theme="dark"] .bill-cost-preview{border-color:#3a4d3d;background:#213128;color:#c0d0be}
html[data-theme="dark"] .bill-cost-preview strong{color:#e0edcf}
html[data-theme="dark"] .account-form-section{border-color:#314236}
html[data-theme="dark"] .admin-user-card h3,html[data-theme="dark"] .admin-summary strong,html[data-theme="dark"] .admin-user-main p,html[data-theme="dark"] .auth-intro,html[data-theme="dark"] .auth-card h1,html[data-theme="dark"] .plan-name{color:#e7efe5}
html[data-theme="dark"] .status-dot{box-shadow:0 0 0 3px #30422f}
html[data-theme="dark"] .toast{background:#d2e5b2;color:#17241b}
html[data-theme="dark"] .avatar{background:#334732;color:#d4e6b4}
html[data-theme="dark"] .balance-panel{border-color:#496b50;background:linear-gradient(118deg,#193627,#234b35 60%,#345b3e)}
html[data-theme="dark"] .balance-panel:after{border-color:#ffffff18;box-shadow:0 0 0 18px #ffffff07,0 0 0 38px #ffffff05}
@media print{html[data-theme="dark"] body,html[data-theme="dark"] .print-view,html[data-theme="dark"] .print-brand-page{background:#fff!important;color:#1e2b23!important}html[data-theme="dark"] .print-view .report-summary-grid article,html[data-theme="dark"] .print-view .report-balance-strip,html[data-theme="dark"] .print-view .client-report-balance,html[data-theme="dark"] .print-view .report-table-wrap,html[data-theme="dark"] .print-view .report-order-detail{background:#fff!important;border-color:#d7ded4!important;color:#1e2b23!important}html[data-theme="dark"] .print-view .report-table th{background:#edf1e8!important;color:#425147!important}html[data-theme="dark"] .print-view .report-table td,html[data-theme="dark"] .print-view .report-table td strong,html[data-theme="dark"] .print-view .report-summary-grid article strong,html[data-theme="dark"] .print-view .report-balance-strip span,html[data-theme="dark"] .print-view .report-note,html[data-theme="dark"] .print-view .report-order-subtitle,html[data-theme="dark"] .print-view .report-subtitle{color:#425147!important}}
@media(max-width:760px){.app-shell{width:min(100% - 30px,1080px)}.home-hero{grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);padding:29px 27px;min-height:280px}.hero-art{height:215px}.hero-emblem-halo{width:116px;height:116px}.hero-emblem{width:79px;height:79px}.hero-emblem img{width:58px;height:58px}.summary-card{min-height:127px}}
@media(max-width:560px){.app-shell{width:calc(100% - 24px);padding-top:9px}.topbar{height:50px;margin-bottom:7px}.brand{font-size:20px;gap:7px}.brand-mark{width:36px;height:36px}.top-actions{gap:5px}.theme-toggle{width:36px;height:36px}.language-picker select{height:36px;max-width:108px;padding-left:9px;padding-right:25px;font-size:11px}.account-settings-avatar{width:35px;height:35px}.account-button{height:36px!important;padding:0 9px!important;font-size:10px!important}.home-hero{display:block;min-height:330px;margin:11px 0 16px;padding:28px 21px 18px;border-radius:24px}.hero-copy{max-width:100%}.hero-route{gap:7px;font-size:9px;margin-bottom:13px}.route-line{width:29px}.home-hero h1{font-size:clamp(38px,11vw,48px);letter-spacing:-2.6px}.hero-subtitle{max-width:275px;margin-top:10px;font-size:11px;line-height:1.55}.hero-proof{margin-top:12px;font-size:9px}.hero-art{position:absolute;right:-22px;bottom:-10px;width:300px;height:195px;opacity:.58;z-index:1}.hero-emblem-halo{left:58%;top:47%;width:102px;height:102px}.hero-emblem{width:68px;height:68px;border-radius:20px}.hero-emblem img{width:49px;height:49px}.hero-finance-chip{right:6px;bottom:13px;gap:6px;padding:7px 9px;border-radius:11px}.hero-chip-mark{width:27px;height:27px}.hero-finance-chip small{font-size:7px}.hero-finance-chip strong{font-size:10px}.hero-route-chip{top:6px;right:1px;font-size:7px;padding:6px 7px}.home-tabs{gap:3px;padding:4px;margin-bottom:15px;border-radius:14px}.home-tab{min-height:39px;gap:6px;padding:0 10px;font-size:10px}.home-tab .ui-icon{width:15px;height:15px}.home-tab .tab-count{min-width:18px;min-height:18px;padding:2px 5px;font-size:9px}.dashboard-tools{align-items:center;gap:7px}.dashboard-tools .section-kicker{font-size:8px;letter-spacing:.8px}.dashboard-tools .primary-button{padding:10px 11px;font-size:10px}.summary-grid{gap:8px}.summary-card{min-height:115px;padding:12px;border-radius:16px}.summary-card-top{align-items:flex-start}.summary-card .card-label{max-width:105px;font-size:8px;line-height:1.35;letter-spacing:.45px}.summary-icon{width:29px;height:29px;border-radius:10px}.summary-icon .ui-icon{width:15px;height:15px}.summary-card .card-value{margin-top:12px;font-size:19px;letter-spacing:-.6px}.summary-card .card-note{font-size:8px;line-height:1.4}.content-section{padding-top:24px}.section-heading{gap:9px}.section-heading h2{font-size:21px}.search-box{max-width:142px;height:37px}.order-card{padding:14px;border-radius:15px}.order-title{font-size:14px}.status-pill{font-size:8px;padding:6px 7px}.client-card{padding:13px}.client-card-stats{padding-left:0}.workflow-chooser{padding:13px}.workflow-choice-grid{grid-template-columns:1fr}.workflow-choice{min-height:60px;padding:10px}.finance-card{padding:13px}.detail-head{padding-top:18px}.detail-heading-row{display:block}.detail-tabs{margin:12px -1px 15px}.detail-tab{padding:9px 10px;font-size:10px}.app-footer{margin-top:24px;padding-top:14px}}
@media(prefers-reduced-motion:reduce){html,body,.theme-toggle,.home-tab,.primary-button,.compact-button,.order-card,.client-card{transition:none!important}}

/* Afrofuturist dashboard: warm mineral day mode, deep blue cyber night mode. */
:root{--glow:#05a9ba;--glow-soft:#d9f2f2;--bronze:#b98145;--neon-orange:#e9783f;--globe-hi:#f3f0df;--globe-lo:#b9d9d1;--surface:#fffefa;--surface-soft:#f5f7f2;--accent:#176d72;--accent-soft:#e3f3ef;--focus:#00a9b5}
body{background:radial-gradient(ellipse at 88% 3%,#d9eeeb 0,transparent 27rem),radial-gradient(ellipse at 0% 45%,#f2e7d4 0,transparent 26rem),#f2f4ef}
.brand-mark{background:linear-gradient(145deg,#f7f4e8,#dce8df);border:1px solid #c9d8ce}
.brand-mark img{filter:drop-shadow(0 2px 3px #b0814624)}
.theme-toggle{border-color:#d5e3df;background:#fffdf8;color:#176d72}
.language-picker select{border-color:#d5e3df;background:#fffefa;color:#3c514e}
.home-hero{border-color:#bdd9d3;background:linear-gradient(115deg,#f3f3e8 0%,#e4f0e9 52%,#d9eced 100%);box-shadow:0 20px 55px #173f4820}
.home-hero:before{background:radial-gradient(circle at 78% 45%,#b8e4df91 0,transparent 42%),repeating-linear-gradient(135deg,transparent 0 34px,#b981450e 34px 35px,transparent 35px 68px),linear-gradient(125deg,transparent 55%,#ffffff76 100%)}
.home-hero h1{color:#142d38}
.home-hero h1 span{color:#087c84}
.hero-route{color:#176d72}
.route-line{border-color:#43a7a4}
.route-line:before,.route-line:after{background:var(--neon-orange)}
.hero-proof{color:#436c68}
.hero-art{color:#087e8a;filter:drop-shadow(0 10px 16px #127f8b14)}
.hero-circuit{color:#168b96}
.hero-orbit{stroke:#448d8d;opacity:.47}
.orbit-b{stroke:#be8a50;opacity:.68}
.orbit-c{stroke:#178c96;opacity:.48}
.globe-halo{fill:#35c4cb10;stroke:#17a9b3;stroke-width:1.4;opacity:.64}
.globe-surface{stroke:#208d96;stroke-width:1.25;filter:drop-shadow(0 0 13px #0caeb827)}
.globe-grid{fill:none;stroke:#278f98;stroke-width:.75;opacity:.45}
.globe-land{fill:url(#arkan-geo-weave);stroke:#b77b3e;stroke-width:1.5;opacity:.96}
.globe-land-fragment{fill:#d0a55e;stroke:#257d7d;stroke-width:1.1;opacity:.78}
.globe-route-path{fill:none;stroke:#e9783f;stroke-width:2.2;stroke-dasharray:5 5;filter:drop-shadow(0 0 4px #e9783f68)}
.globe-node{fill:#f1a15f;stroke:#fff7e8;stroke-width:2;filter:drop-shadow(0 0 5px #f1814a)}
.globe-node-africa{fill:#36d3d4}
.globe-signal{fill:#f3c270;stroke:#fff6e7;stroke-width:1.4}
.globe-signal-link{fill:none;stroke:#ba8951;stroke-width:1;stroke-dasharray:2 4;opacity:.8}
.globe-node-small{fill:#23bbc5;stroke:#e8fcf3;stroke-width:1.3}
.globe-geo-mark{fill:none;stroke:#bd8b4c;stroke-width:1.3;opacity:.75}
.globe-node,.globe-signal{animation:arkan-node-pulse 3.4s ease-in-out infinite}
.globe-node-africa{animation-delay:-1.7s}
.globe-signal{animation-delay:-.9s}
@keyframes arkan-node-pulse{0%,100%{opacity:.78}50%{opacity:1;filter:drop-shadow(0 0 8px #14b9c8)}}
.hero-finance-chip{border-color:#c6ded7;background:#fffffff2;color:#24515a;box-shadow:0 10px 28px #28637020}
.hero-chip-mark{background:#ddf1ed;color:#147b83}
.hero-route-chip{border-color:#c6ded7;background:#f8fbf0e8;color:#2b6667}
.route-chip-spark{color:#d87a42}
.home-tabs{border-color:#cbded7;background:#f9fbf4dc;box-shadow:0 8px 24px #183d400e}
.home-tab.active{background:linear-gradient(120deg,#147b80,#17636c);box-shadow:0 6px 16px #08798738}
.summary-card{border-color:#d4e0da;background:linear-gradient(145deg,#fffefa,#f9fbf5);box-shadow:0 11px 28px #203b3d10}
.summary-card:after{border-color:#b7d1cb;opacity:.58}
.summary-card.action-card{background:linear-gradient(145deg,#f5f5e9,#e8f4ef)}
.summary-icon{width:74px;height:57px;border-color:#c5d9d3;border-radius:14px;background:linear-gradient(140deg,#f3f7ef,#dcefe9);box-shadow:inset 0 1px #ffffffb5,0 7px 16px #17646e17;overflow:visible}
.card-art-svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 4px #163d4420);transition:transform .22s ease,filter .22s ease}
.summary-card:hover .card-art-svg{transform:translateY(-2px) scale(1.04);filter:drop-shadow(0 5px 7px #163d4438)}
.art-shadow{fill:#406d6a24}
.drone-arm,.drone-line,.drone-mark{fill:none;stroke:#276a70;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.drone-ring{fill:none;stroke:#bb8649;stroke-width:1.7;stroke-linecap:round}
.drone-body{fill:#d7e7e4;stroke:#247c83;stroke-width:1.2}
.drone-body-side{fill:#739b99;stroke:#247c83;stroke-width:1}
.drone-body-top{fill:#abcac4;stroke:#247c83;stroke-width:1}
.parcel-top{fill:#f4d79a;stroke:#b37c40;stroke-width:1}
.parcel-front{fill:#c48c4e;stroke:#a97139;stroke-width:1}
.parcel-side{fill:#a66f3a;stroke:#955e30;stroke-width:1}
.parcel-mark{fill:none;stroke:#fff1cf;stroke-width:1.5;stroke-linecap:round}
.crate-top{fill:#d5e8e0;stroke:#247a7b;stroke-width:1.2}
.crate-left{fill:#83aaa0;stroke:#247a7b;stroke-width:1.2}
.crate-right{fill:#517b75;stroke:#247a7b;stroke-width:1.2}
.crate-engraving{fill:none;stroke:#e1bb74;stroke-width:1.3;stroke-linejoin:round}
.crate-circuit{fill:none;stroke:#d8f3e8;stroke-width:1.2;stroke-linecap:round}
.wallet-back{fill:#dbe9e5;stroke:#26727a;stroke-width:1.2}
.wallet-face{fill:#357b7f;stroke:#205d68;stroke-width:1.4}
.wallet-flap{fill:#0b98a2;stroke:#c8eeee;stroke-width:1.3}
.wallet-chip{fill:#e4bf75;stroke:#fff0c5;stroke-width:1}
.wallet-circuit{fill:none;stroke:#b7f4ec;stroke-width:1.3;stroke-linecap:round}
.chart-bars{fill:#95bcb0;stroke:#428a86;stroke-width:1}
.chart-line{fill:none;stroke:#e9783f;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chart-dot{fill:#e9783f;stroke:#fff0d2;stroke-width:1.3}
.baobab-trunk{fill:#b47d42;stroke:#85572f;stroke-width:1}
.baobab-crown{fill:#2b7872;stroke:#205e5e;stroke-width:1.2}
.baobab-weave{fill:none;stroke:#d5b46f;stroke-width:1.1;stroke-linecap:round}
.summary-card .card-value{color:#143b46}
.summary-card .accent-value{color:#087d7c}
.summary-card .card-note{color:#6e8580}
.section-heading h2,.order-title,.detail-heading h1{color:#17323a}
.primary-button{background:linear-gradient(125deg,#147e83,#12616f);box-shadow:0 7px 18px #0b6c7633}
.primary-button:hover{background:linear-gradient(125deg,#188e93,#126b7a)}
.compact-button,.item-stage-button{border-color:#c9dcd5;background:#e5f1eb;color:#27666a}
.order-card,.client-card,.archive-client-group,.form-card,.finance-card,.workflow-chooser,.shipment-panel{border-color:#d2dfd9;background:#fffefa}
.balance-panel{background:linear-gradient(120deg,#134552,#176d72 62%,#238b8c);box-shadow:0 14px 30px #0c637333}
.status-pill{border-color:#c6e5d9;background:#e5f4e9;color:#2e7870}
.status-pill.bill-pending{background:#fbefdc;color:#9d6a31}
.status-pill.bill-paid{background:#e0f2ec;color:#20746e}
.auth-card{border-color:#d2dfd9;background:linear-gradient(145deg,#fffefa,#f5f8f1)}
.auth-card:before{background:repeating-linear-gradient(45deg,transparent 0 8px,#138791 8px 10px,transparent 10px 18px),repeating-linear-gradient(-45deg,transparent 0 8px,#c68c48 8px 10px,transparent 10px 18px)}
.auth-screen:before,.auth-screen:after{background:repeating-linear-gradient(45deg,transparent 0 13px,#178f95 13px 14px,transparent 14px 27px),repeating-linear-gradient(-45deg,transparent 0 13px,#bf8d4b 13px 14px,transparent 14px 27px)}

html[data-theme="dark"]{--glow:#21d8e2;--glow-soft:#0a3a4b;--bronze:#bf8c4e;--neon-orange:#ff7b42;--globe-hi:#16495b;--globe-lo:#071725;--surface:#0e1b2b;--surface-soft:#122336;--accent:#28d1da;--accent-soft:#103442;--focus:#36dce5;--ink:#e7f2f4;--muted:#96aeba;--line:#244052;--paper:#0e1b2b;--green-soft:#143448;--shadow:0 18px 42px #0107108c}
html[data-theme="dark"] body{background:radial-gradient(ellipse at 84% 2%,#123b51 0,transparent 29rem),radial-gradient(ellipse at 5% 53%,#282239 0,transparent 25rem),radial-gradient(ellipse at 65% 100%,#133735 0,transparent 28rem),#07111f;color:#e7f2f4}
html[data-theme="dark"] .brand{color:#edf7f6}
html[data-theme="dark"] .brand-dot{color:#ff8853}
html[data-theme="dark"] .brand-mark{border-color:#2c5767;background:linear-gradient(145deg,#102d3d,#0b1b29);filter:drop-shadow(0 0 10px #21d8e239)}
html[data-theme="dark"] .brand-mark img{filter:drop-shadow(0 0 4px #d4b27770)}
html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .language-picker select,html[data-theme="dark"] .icon-button,html[data-theme="dark"] .install-button{border-color:#2a4d60;background:#0e2030;color:#d9f7f6}
html[data-theme="dark"] .home-hero{border-color:#27647a;background:linear-gradient(118deg,#0b1e30 0%,#10283b 48%,#102a39 100%);box-shadow:0 24px 58px #01091580,0 0 30px #12bfc51b}
html[data-theme="dark"] .home-hero:before{background:radial-gradient(circle at 79% 48%,#0d586a65 0,transparent 44%),repeating-linear-gradient(135deg,transparent 0 34px,#c28d4b11 34px 35px,transparent 35px 68px),linear-gradient(125deg,transparent 54%,#28d4e20c 100%)}
html[data-theme="dark"] .home-hero h1,html[data-theme="dark"] .section-heading h2,html[data-theme="dark"] .tab-summary h2,html[data-theme="dark"] .detail-heading h1,html[data-theme="dark"] .order-title,html[data-theme="dark"] .workflow-heading h2,html[data-theme="dark"] .finance-card h3{color:#ecf6f5}
html[data-theme="dark"] .home-hero h1 span{color:#39d8d9}
html[data-theme="dark"] .hero-route,html[data-theme="dark"] .hero-proof{color:#a5e7e0}
html[data-theme="dark"] .hero-subtitle{color:#9db5bf}
html[data-theme="dark"] .route-line{border-color:#25b9c4}
html[data-theme="dark"] .route-line:before,html[data-theme="dark"] .route-line:after{background:#ff7b42}
html[data-theme="dark"] .hero-circuit{color:#43e1e5;filter:drop-shadow(0 0 10px #15cad12b)}
html[data-theme="dark"] .hero-orbit{stroke:#27aeb9;opacity:.56}
html[data-theme="dark"] .orbit-b{stroke:#bd8d50;opacity:.75}
html[data-theme="dark"] .orbit-c{stroke:#5d9ba3;opacity:.53}
html[data-theme="dark"] .globe-halo{fill:#22d9e219;stroke:#25d4dc;opacity:.8}
html[data-theme="dark"] .globe-surface{stroke:#36d9e2;filter:drop-shadow(0 0 20px #21d8e24a)}
html[data-theme="dark"] .globe-grid{stroke:#4bc2cb;opacity:.45}
html[data-theme="dark"] .globe-land{stroke:#e2a354;filter:drop-shadow(0 0 5px #d8954940)}
html[data-theme="dark"] .globe-land-fragment{fill:#bc8849;stroke:#3ce0da}
html[data-theme="dark"] .globe-route-path{stroke:#ff7841;filter:drop-shadow(0 0 7px #ff7841)}
html[data-theme="dark"] .globe-node{fill:#ff8b4f;stroke:#fff0d5;filter:drop-shadow(0 0 8px #ff7841)}
html[data-theme="dark"] .globe-node-africa{fill:#30e5df}
html[data-theme="dark"] .globe-signal{fill:#ffd17a;stroke:#fff3ce}
html[data-theme="dark"] .globe-signal-link,html[data-theme="dark"] .globe-geo-mark{stroke:#c19355}
html[data-theme="dark"] .globe-node-small{fill:#35dce4;stroke:#d7fcf4}
html[data-theme="dark"] .hero-finance-chip{border-color:#286277;background:#0b1b2bea;color:#e3f6f3;box-shadow:0 12px 28px #0007,0 0 14px #26c6cf24}
html[data-theme="dark"] .hero-chip-mark{background:#113b4b;color:#42e1e3}
html[data-theme="dark"] .hero-finance-chip small{color:#93b7bd}
html[data-theme="dark"] .hero-route-chip{border-color:#3b5b61;background:#0d2231ec;color:#9ee6dd}
html[data-theme="dark"] .route-chip-spark{color:#ff9057}
html[data-theme="dark"] .home-tabs{border-color:#28485a;background:#0a1927d9;box-shadow:0 8px 25px #0005}
html[data-theme="dark"] .home-tab{color:#9fb7c0}
html[data-theme="dark"] .home-tab .ui-icon{color:#81c9ce}
html[data-theme="dark"] .home-tab.active{background:linear-gradient(125deg,#ff8748,#e96835);color:#101b27;box-shadow:0 6px 20px #f9783d45}
html[data-theme="dark"] .home-tab.active .ui-icon,html[data-theme="dark"] .home-tab.active .tab-count{color:#18222b}
html[data-theme="dark"] .home-tab .tab-count{background:#173344;color:#b8dcdb}
html[data-theme="dark"] .dashboard-tools .eyebrow,html[data-theme="dark"] .eyebrow{color:#90b3bb}
html[data-theme="dark"] .summary-card,html[data-theme="dark"] .order-card,html[data-theme="dark"] .client-card,html[data-theme="dark"] .form-card,html[data-theme="dark"] .finance-card,html[data-theme="dark"] .shipment-panel,html[data-theme="dark"] .workflow-chooser,html[data-theme="dark"] .admin-user-card,html[data-theme="dark"] .admin-summary article,html[data-theme="dark"] .report-summary-grid article,html[data-theme="dark"] .report-balance-strip,html[data-theme="dark"] .client-report-balance,html[data-theme="dark"] .report-table-wrap,html[data-theme="dark"] .ledger-row,html[data-theme="dark"] .item-row,html[data-theme="dark"] .archive-client-group,html[data-theme="dark"] .plan-card,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .proof-list-row{border-color:#2c5063;background:linear-gradient(145deg,#102337ed,#0d1b2bfa);color:#deedef;box-shadow:0 12px 30px #0005,0 0 18px #16afbd0d}
html[data-theme="dark"] .summary-card{border-color:#806744;background:linear-gradient(145deg,#11263a,#0b1a29);box-shadow:inset 0 1px #ffffff0a,0 12px 30px #0006,0 0 16px #15ced31a}
html[data-theme="dark"] .summary-card.action-card{background:linear-gradient(145deg,#102b3b,#102231)}
html[data-theme="dark"] .summary-card:after{border-color:#b3824b;opacity:.32}
html[data-theme="dark"] .summary-icon{border-color:#34586a;background:linear-gradient(145deg,#13374a,#102333);box-shadow:inset 0 1px #ffffff10,0 0 14px #17cbd127}
html[data-theme="dark"] .card-art-svg{filter:drop-shadow(0 0 5px #26cbd23a)}
html[data-theme="dark"] .art-shadow{fill:#020c165c}
html[data-theme="dark"] .drone-arm,html[data-theme="dark"] .drone-line,html[data-theme="dark"] .drone-mark{stroke:#4be0e1}
html[data-theme="dark"] .drone-ring{stroke:#d3a767}
html[data-theme="dark"] .drone-body{fill:#7ca2a9;stroke:#3ed9df}
html[data-theme="dark"] .drone-body-side{fill:#325e6a;stroke:#3ed9df}
html[data-theme="dark"] .drone-body-top{fill:#99bbc0;stroke:#3ed9df}
html[data-theme="dark"] .parcel-top{fill:#ffd486;stroke:#e4a555}
html[data-theme="dark"] .parcel-front{fill:#bb793e;stroke:#f0b86b}
html[data-theme="dark"] .parcel-side{fill:#8c582f;stroke:#e0a55d}
html[data-theme="dark"] .crate-top{fill:#174353;stroke:#47dbe0}
html[data-theme="dark"] .crate-left{fill:#266170;stroke:#47dbe0}
html[data-theme="dark"] .crate-right{fill:#163c4d;stroke:#47dbe0}
html[data-theme="dark"] .crate-engraving{stroke:#e0b66c}
html[data-theme="dark"] .crate-circuit{stroke:#a8fcf1}
html[data-theme="dark"] .wallet-back{fill:#294c5b;stroke:#42d4dd}
html[data-theme="dark"] .wallet-face{fill:#126a7b;stroke:#41dce2}
html[data-theme="dark"] .wallet-flap{fill:#1398aa;stroke:#b9fff7}
html[data-theme="dark"] .wallet-chip{fill:#e6b967;stroke:#fff2c9}
html[data-theme="dark"] .wallet-circuit{stroke:#b6fff5}
html[data-theme="dark"] .chart-bars{fill:#245564;stroke:#4fcac8}
html[data-theme="dark"] .chart-line{stroke:#ff8150}
html[data-theme="dark"] .chart-dot{fill:#ff8150;stroke:#ffe1b3}
html[data-theme="dark"] .baobab-trunk{fill:#b7793e;stroke:#e6ad61}
html[data-theme="dark"] .baobab-crown{fill:#158b86;stroke:#35dbd2}
html[data-theme="dark"] .baobab-weave{stroke:#f1c56f}
html[data-theme="dark"] .summary-card .card-label{color:#a5c0c3}
html[data-theme="dark"] .summary-card .card-value,html[data-theme="dark"] .summary-card .accent-value{color:#e5f9f7}
html[data-theme="dark"] .summary-card .card-note,html[data-theme="dark"] .order-destination,html[data-theme="dark"] .client-card p{color:#90aab3}
html[data-theme="dark"] .primary-button{background:linear-gradient(120deg,#fb874b,#ec6a39);color:#17212b;box-shadow:0 8px 22px #f5793d39,0 0 12px #18d4d42a}
html[data-theme="dark"] .primary-button span{color:#21303b}
html[data-theme="dark"] .compact-button,html[data-theme="dark"] .item-stage-button{border-color:#36566a;background:#173044;color:#b5e7e7}
html[data-theme="dark"] .order-title,html[data-theme="dark"] .client-card h3,html[data-theme="dark"] .workflow-heading h2{color:#e6f1f1}
html[data-theme="dark"] .order-card-bottom,html[data-theme="dark"] .ledger-heading,html[data-theme="dark"] .proof-list{border-color:#2a4454}
html[data-theme="dark"] .status-pill{border-color:#265863;background:#123541;color:#66dbd2}
html[data-theme="dark"] .status-pill.shipped,html[data-theme="dark"] .status-pill.delivered{border-color:#344e6a;background:#1a3044;color:#adc9ec}
html[data-theme="dark"] .status-pill.bill-pending{border-color:#66503b;background:#382a1e;color:#f2bc76}
html[data-theme="dark"] .status-pill.bill-paid{border-color:#265863;background:#123541;color:#66dbd2}
html[data-theme="dark"] .balance-panel{border-color:#1c9097;background:linear-gradient(120deg,#0d2c40,#075361 60%,#106770);box-shadow:0 14px 34px #0005,0 0 20px #0acbd119}
html[data-theme="dark"] .balance-panel .eyebrow,html[data-theme="dark"] .balance-caption,html[data-theme="dark"] .balance-bars p{color:#a9d9d9}
html[data-theme="dark"] .search-box,html[data-theme="dark"] .language-picker select,html[data-theme="dark"] .icon-button,html[data-theme="dark"] .install-button,html[data-theme="dark"] .compact-button,html[data-theme="dark"] .close-button,html[data-theme="dark"] .item-stage-button{border-color:#34556a;background:#10283b;color:#d2e8e8}
html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{border-color:#34546a!important;background:#091a2a!important;color:#e5f2f4!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#7696a4}
html[data-theme="dark"] .search-box input{border:0!important;background:transparent!important}
html[data-theme="dark"] .auth-card{border-color:#305368;background:linear-gradient(145deg,#102337,#0b1928);box-shadow:0 18px 55px #0008,0 0 26px #16ced31b}
html[data-theme="dark"] .auth-card:before{background:repeating-linear-gradient(45deg,transparent 0 8px,#3de0e1 8px 10px,transparent 10px 18px),repeating-linear-gradient(-45deg,transparent 0 8px,#d6a252 8px 10px,transparent 10px 18px)}
html[data-theme="dark"] .auth-screen:before,html[data-theme="dark"] .auth-screen:after{background:repeating-linear-gradient(45deg,transparent 0 13px,#22c9d1 13px 14px,transparent 14px 27px),repeating-linear-gradient(-45deg,transparent 0 13px,#c18d4a 13px 14px,transparent 14px 27px)}
html[data-theme="dark"] .auth-form label,html[data-theme="dark"] .auth-help,html[data-theme="dark"] .auth-footnote,html[data-theme="dark"] .auth-switch,html[data-theme="dark"] .account-current,html[data-theme="dark"] .account-modal .form-hint,html[data-theme="dark"] .account-form-section h3,html[data-theme="dark"] .auth-intro,html[data-theme="dark"] .auth-card h1{color:#bdd3d7}
html[data-theme="dark"] .auth-card h1{color:#eef7f5}
html[data-theme="dark"] .account-current{background:#142b3b}
html[data-theme="dark"] .account-current strong{color:#eaf6f3}
html[data-theme="dark"] .auth-notice{border-color:#32696c;background:#12383b;color:#a9e6d9}
html[data-theme="dark"] .auth-error{border-color:#754a3d;background:#3a241f;color:#ffd0b6}
html[data-theme="dark"] .app-footer{border-color:#244254;color:#87a3ae}
html[data-theme="dark"] .offline-indicator{color:#a4bbc3}
html[data-theme="dark"] .modal{border-color:#34566a;background:#0e2031;color:#e6f1f2}
html[data-theme="dark"] .modal::backdrop{background:#020711d9}
html[data-theme="dark"] .avatar{background:#173747;color:#b8f0e6}
html[data-theme="dark"] .status-dot{box-shadow:0 0 0 3px #193e4b}
html[data-theme="dark"] .toast{background:#58dbd3;color:#09202b}
html[data-theme="dark"] .report-table th{background:#143043;color:#b8d4d7}
html[data-theme="dark"] .report-table td{border-color:#294655;color:#c4d5d9}
html[data-theme="dark"] .report-table td strong,html[data-theme="dark"] .report-summary-grid article strong,html[data-theme="dark"] .ledger-label{color:#e4f1f1}
html[data-theme="dark"] .empty-state{border-color:#345468;background:#102236;color:#a8bec7}
html[data-theme="dark"] .empty-state strong{color:#e4f1f1}
html[data-theme="dark"] .item-row{border-color:#2d5063;background:#102235}
html[data-theme="dark"] .item-title{color:#e2efef}
html[data-theme="dark"] .delete-button:hover{background:#3a2524;color:#ff9c7a}
@media(max-width:760px){.home-hero{grid-template-columns:minmax(0,1fr) minmax(235px,.82fr)}.hero-art{height:220px}.summary-icon{width:66px;height:53px}}
@media(max-width:560px){.home-hero{min-height:405px;background:linear-gradient(140deg,#f1f2e6,#dcece9)}.hero-art{right:-15px;bottom:-2px;width:220px;height:160px;opacity:.9}.hero-route-chip{display:none}.hero-copy{max-width:100%}.home-hero h1{max-width:100%;font-size:clamp(32px,10.5vw,42px);letter-spacing:-2px}.hero-subtitle{max-width:245px}.summary-card{min-height:132px}.summary-card-top{min-height:54px}.summary-icon{width:55px;height:48px}.summary-card .card-value{font-size:20px}}
html[data-theme="dark"] .home-hero{background:linear-gradient(140deg,#0b1e30,#10283b 52%,#102b39)}
html[data-theme="dark"] .summary-card:hover .card-art-svg{filter:drop-shadow(0 0 8px #22d9e277)}
@media(prefers-reduced-motion:reduce){.globe-node,.globe-signal,.card-art-svg{animation:none!important;transition:none!important}}
@media print{html[data-theme="dark"] body,html[data-theme="dark"] .print-view,html[data-theme="dark"] .print-brand-page{background:#fff!important;color:#1e2b23!important}html[data-theme="dark"] .print-view .report-summary-grid article,html[data-theme="dark"] .print-view .report-balance-strip,html[data-theme="dark"] .print-view .client-report-balance,html[data-theme="dark"] .print-view .report-table-wrap,html[data-theme="dark"] .print-view .report-order-detail{background:#fff!important;border-color:#d7ded4!important;color:#1e2b23!important}html[data-theme="dark"] .print-view .report-table th{background:#edf1e8!important;color:#425147!important}html[data-theme="dark"] .print-view .report-table td,html[data-theme="dark"] .print-view .report-table td strong,html[data-theme="dark"] .print-view .report-summary-grid article strong,html[data-theme="dark"] .print-view .report-balance-strip span,html[data-theme="dark"] .print-view .report-note,html[data-theme="dark"] .print-view .report-order-subtitle,html[data-theme="dark"] .print-view .report-subtitle{color:#425147!important}}
