
:root{--primary:#163fb1;--accent:#dceaff;--bg:#f3f6fc;--muted:#64748b;--line:#e0e7f2;--ink:#172943;--white:#fff;--red:#ad443c;--amber:#9c6a1a;font-family:Inter,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:10px;padding:11px 16px;background:var(--primary);color:white;font-weight:600;transition:transform .15s,background .15s}button:hover{filter:brightness(1.12)}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:wait}button.secondary{background:white;color:var(--ink);border:1px solid var(--line)}button.ghost{background:transparent;color:var(--muted);padding:8px}button.danger{color:var(--red);background:#fff1ef}button.small{font-size:12px;padding:7px 10px}input,select,textarea{width:100%;padding:12px;border:1px solid #cfdaeb;border-radius:9px;background:white;color:var(--ink)}input:focus,textarea:focus,select:focus{outline:2px solid #6094ef;outline-offset:2px}textarea{resize:vertical;min-height:85px}label{display:block;font-size:13px;font-weight:600;margin-bottom:7px}label input,label select,label textarea{margin-top:7px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1.3px;font-weight:650;margin-bottom:10px}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:15px}p{line-height:1.65}small,.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700}.brand{font-size:23px;font-weight:750;letter-spacing:2px;display:flex;gap:12px;align-items:center}.brand img{width:34px;height:34px}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fff;border-right:1px solid var(--line);padding:33px 22px;display:flex;flex-direction:column;z-index:2}.sidebar .subtitle{font-size:10px;letter-spacing:2px;margin:8px 0 42px 47px;color:var(--muted)}nav{display:grid;gap:7px}nav button{background:none;color:#64748b;text-align:left;font-weight:500;display:flex;align-items:center;gap:12px;padding:13px 15px}nav button.active{background:var(--primary);color:white}nav button span:first-child{font-size:18px;width:23px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.avatar{width:36px;height:36px;border-radius:50%;background:#eaf0fd;color:var(--primary);display:inline-grid;place-items:center;font-size:13px;font-weight:700}.user{display:flex;align-items:center;gap:10px}.user small{display:block;font-size:11px;margin-top:3px}.workspace{margin-left:238px;min-height:100vh}.topbar{height:79px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#fff9;font-size:12px}.topbar strong{font-size:13px}.online{display:flex;gap:8px;align-items:center}.dot{width:6px;height:6px;border-radius:50%;background:#5a926a}.main{padding:35px 42px 60px;max-width:1640px;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}.heading p{margin:0;font-size:13px;color:var(--muted)}.hero{padding:27px 31px;border-radius:18px;background:var(--primary);color:white;display:flex;justify-content:space-between;gap:20px;position:relative;overflow:hidden;margin-bottom:25px}.hero p{font-size:13px;color:#c6d8fa;max-width:460px;margin-bottom:18px}.hero h2{font-size:24px;max-width:450px;margin-top:12px}.hero button{background:var(--accent);color:var(--primary)}.hero .art{width:180px;display:grid;place-items:center;font-size:90px;font-weight:200;color:#8abaff77;transform:rotate(-12deg)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.metric,.panel{background:white;border:1px solid var(--line);border-radius:15px}.metric{padding:21px}.metric .label{font-size:12px;color:var(--muted)}.metric .number{font-size:29px;font-weight:650;letter-spacing:-1px;margin:15px 0 7px}.metric small{font-size:11px}.metric .icon{float:right;font-size:19px;color:#4775c5}.grid{display:grid;grid-template-columns:1.7fr 1fr;gap:22px}.panel{padding:23px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel-head h2{margin:0}.empty{text-align:center;padding:36px 12px;color:var(--muted);font-size:13px}.empty strong{display:block;color:var(--ink);font-size:16px;margin-bottom:8px}.empty .empty-icon{font-size:32px;margin-bottom:15px;color:#4775c5}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;white-space:nowrap}th{font-weight:500;color:var(--muted);font-size:10px;text-transform:uppercase;letter-spacing:.7px;padding:12px 10px;background:#f6f8fd}td{padding:15px 10px;border-bottom:1px solid #eaf0f8}tbody tr:last-child td{border:0}tr.clickable{cursor:pointer}tr.clickable:hover{background:#f0f5ff}.badge{display:inline-block;font-size:10px;padding:5px 8px;border-radius:6px;font-weight:600;background:#edf2fc;color:#526889}.badge.production{background:#fff1d6;color:#95691c}.badge.ready{background:#e8f2de;color:#527b2d}.badge.shipped{background:#e5eefb;color:#4670a3}.badge.cancelled{background:#fceae6;color:#a95145}.badge.paid{background:#e5f3e8;color:#458359}.progress{height:6px;border-radius:6px;background:#e8eef9;overflow:hidden;margin:10px 0}.progress div{height:100%;background:#3979e8;border-radius:6px}.timeline{border-left:1px solid #dce5f4;margin:0 0 0 6px;padding-left:20px}.event{position:relative;padding-bottom:23px;font-size:12px;line-height:1.5}.event:before{content:'';position:absolute;left:-24px;top:5px;background:#6296ee;width:7px;height:7px;border-radius:50%;border:2px solid white}.event small{display:block;font-size:10px;margin-top:4px}.toolbar{display:flex;gap:10px;margin-bottom:20px;flex-wrap:wrap}.toolbar input{max-width:310px}.toolbar select{max-width:190px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.company-logo{height:48px;width:48px;display:grid;place-items:center;background:#eaf1ff;border-radius:12px;color:#315aad;font-size:19px;font-weight:750;margin-bottom:22px}.pair{display:flex;justify-content:space-between;gap:12px;margin:12px 0;font-size:13px}.separator{border:0;border-top:1px solid var(--line);margin:20px 0}.detail-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:23px;gap:12px}.detail-top h1{margin-top:10px}.lanes{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:15px}.lane{border:1px solid var(--line);border-radius:12px;padding:16px}.lane h3{font-size:11px;text-transform:uppercase;letter-spacing:1px}.step{display:flex;align-items:center;gap:10px;border-top:1px solid #eaf0f8;padding:11px 0;font-size:12px}.step input{width:19px;height:19px;accent-color:var(--primary);margin:0}.step label{font-size:12px;margin:0;font-weight:500;flex:1}.step small{display:block;font-size:10px;margin-top:3px}.item-title{display:flex;justify-content:space-between;gap:12px;margin-top:26px}.item-title h3{margin:0}.item-title small{font-size:11px}.payment{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}.payment strong{display:block;margin-bottom:5px}.payment small{font-size:10px}dialog{padding:0;border:0;border-radius:17px;max-width:800px;width:calc(100% - 28px);max-height:90vh;box-shadow:0 25px 100px #0c214733}dialog::backdrop{background:#06132d99;backdrop-filter:blur(3px)}.modal-head{padding:23px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0}.modal-body{padding:25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.item-row{border:1px solid var(--line);background:#f5f8fe;border-radius:11px;padding:16px;margin-top:14px;display:grid;grid-template-columns:1.5fr 1fr .7fr .8fr auto;gap:10px;align-items:end}.item-row label{font-size:11px}.item-row input,.item-row select{padding:10px 7px}.check{display:flex;align-items:center;gap:8px}.check input{width:auto;margin:0}.hint{background:#edf3ff;color:#466494;border-radius:9px;padding:12px;font-size:12px;line-height:1.6;margin:15px 0}.total{font-size:23px;font-weight:700;text-align:right;margin-top:20px}.error{background:#fff0ee;color:#a03e33;border-radius:9px;padding:12px;font-size:13px;margin-bottom:15px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:var(--primary);padding:55px 65px;color:white;display:flex;flex-direction:column;justify-content:space-between}.login-story .brand{color:var(--accent)}.login-story h1{font-size:54px;line-height:1.1;letter-spacing:-2px;max-width:460px}.login-story p{color:#b5cbed;max-width:370px;font-size:15px}.login-story .eyebrow{color:var(--accent);margin-bottom:20px}.login-story footer{color:#a5b8dc;font-size:11px}.login-form{display:flex;align-items:center;justify-content:center;padding:32px}.login-form form{width:100%;max-width:350px}.login-form h2{font-size:29px}.login-form label{margin-top:20px}.login-form button{width:100%;margin-top:25px}.login-form .muted{font-size:13px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:13px 20px;background:#163fb1;color:white;border-radius:10px;z-index:99;font-size:13px;box-shadow:0 5px 20px #0002;display:none;max-width:90%}#toast.show{display:block}.loading{padding:80px;text-align:center}.audit-details{white-space:pre-wrap;word-break:break-word;max-height:350px;overflow:auto;font-size:11px;background:#f3f6fc;padding:12px}.mobile-brand{display:none}.stack{display:grid;gap:20px;align-content:start}a{color:var(--primary)}.kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kanban-column{background:#e9eff9;border-radius:14px;padding:15px}.kanban-column h3{font-size:12px}.order-card{background:white;border:1px solid var(--line);border-radius:11px;padding:17px;margin-top:12px;cursor:pointer}.order-card:hover{border-color:#7ba3ed}.order-card strong{font-size:14px}.order-card p{font-size:12px;margin:8px 0}.order-card small{font-size:11px}.page-enter{animation:appear .25s ease}@keyframes appear{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}@media(max-width:1150px){.main{padding:28px 25px}.topbar{padding:0 25px}.sidebar{width:200px;padding:25px 16px}.workspace{margin-left:200px}.metrics{gap:10px}.metric{padding:16px}.metric .number{font-size:23px}.grid{grid-template-columns:1fr}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:750px){.sidebar{width:100%;height:67px;inset:auto 0 0;border:0;border-top:1px solid var(--line);padding:5px 4px;padding-bottom:env(safe-area-inset-bottom);flex-direction:row}.sidebar>.brand,.sidebar>.subtitle,.sidebar-bottom{display:none}nav{display:flex;justify-content:space-around;width:100%;gap:0}nav button{font-size:9px;padding:7px 5px;flex-direction:column;gap:3px;border-radius:8px}nav button span:first-child{font-size:17px;text-align:center}nav button[data-page="catalog"]{display:none}.workspace{margin:0}.topbar{height:62px;padding:0 20px}.main{padding:26px 18px 100px}.topbar .crumb{display:none}.mobile-brand{display:block;font-weight:750;letter-spacing:2px}.heading{align-items:start}.heading h1{font-size:26px}.heading button{font-size:11px;padding:10px}.hero{padding:23px}.hero .art{display:none}.hero h2{font-size:23px}.metrics{grid-template-columns:1fr 1fr;gap:11px}.metric{padding:17px}.metric .number{font-size:25px}.metric .label{font-size:11px}.cards,.kanban{grid-template-columns:1fr}.panel{padding:18px}.lanes,.form-grid{grid-template-columns:1fr}.item-row{grid-template-columns:1fr 1fr}.item-row>:first-child{grid-column:1/-1}.login-page{grid-template-columns:1fr}.login-story{padding:25px 28px;min-height:210px}.login-story h1{font-size:30px;margin:30px 0 5px;max-width:300px}.login-story p,.login-story footer,.login-story .eyebrow{display:none}.login-form{padding:35px 28px}.detail-top h1{font-size:26px}.toolbar>*{flex:1;min-width:130px}.modal-body{padding:18px}.modal-head{padding:18px}.online{font-size:10px}}

.brand{font-size:18px;letter-spacing:.6px}.mobile-brand{font-size:14px;letter-spacing:.6px}@media(max-width:1150px) and (min-width:751px){.sidebar .brand{font-size:14px;gap:8px}.sidebar .brand img{width:28px;height:28px}}

[hidden]{display:none!important}.custom-item{grid-column:1/-1}

.order-stages{list-style:none;display:flex;justify-content:space-between;gap:10px;padding:0;margin:0 0 28px;border-bottom:1px solid var(--line);padding-bottom:20px}.order-stages li{display:flex;gap:8px;align-items:center;color:var(--muted);font-size:12px}.order-stages li span{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#edf2fc;font-size:11px;font-weight:700}.order-stages li.current{color:var(--primary);font-weight:700}.order-stages li.current span{background:var(--primary);color:white}.order-question{font-size:20px;margin:22px 0 8px}.order-question:focus{outline:none}.order-help{font-size:13px;margin-bottom:18px}.format-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.format-choice,.product-tile{display:flex;align-items:center;gap:12px;padding:17px 14px;border:1px solid #d6e1f1;border-radius:11px;background:white;cursor:pointer;margin:0;transition:background .15s,border-color .15s}.format-choice input,.product-tile input{flex:none;width:20px;height:20px;margin:0;accent-color:var(--primary);padding:0}.format-choice strong{display:block;font-size:13px}.format-choice small{display:block;font-size:11px;font-weight:400;margin-top:6px}.format-choice:has(input:checked),.product-tile:has(input:checked){background:#eaf2ff;border-color:#5485d8;box-shadow:0 0 0 1px #5485d8}.format-choice:hover,.product-tile:hover{border-color:#7ba3ed}.format-choice:has(input:focus-visible),.product-tile:has(input:focus-visible){outline:2px solid var(--primary);outline-offset:3px}#kit-options .check{font-size:13px;margin-bottom:9px}.product-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.product-tile{min-height:66px;font-size:13px;line-height:1.4}.product-tile span{overflow-wrap:anywhere}.selection-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.custom-product{margin:20px 0;color:var(--muted);font-size:12px}.custom-product summary{cursor:pointer}.custom-product-entry{display:flex;align-items:end;gap:10px;margin-top:12px}.custom-product-entry label{flex:1;margin:0}.custom-product-entry button{margin-bottom:1px;min-height:44px}.order-quantity-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(90px,.8fr) minmax(110px,1fr) 32px;gap:14px;align-items:center;background:#f5f8fe;border:1px solid var(--line);border-radius:11px;padding:16px;margin-bottom:12px}.order-quantity-row label{font-size:11px;margin:0}.order-quantity-row input{margin-top:6px}.quantity-item-name strong{display:block;font-size:14px;overflow-wrap:anywhere}.quantity-item-name small{display:block;font-size:11px;margin-top:7px}.order-quantity-row .ghost{padding:8px 0}.wizard-footer{justify-content:space-between;gap:12px}.wizard-footer button{min-height:44px}@media(max-width:600px){.format-choices{grid-template-columns:1fr}.format-choice{padding:15px}.format-choice span{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:1}.format-choice small{margin:0}.product-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.product-tile{font-size:12px;padding:14px 10px;gap:9px}.order-stages{gap:5px}.order-stages li{font-size:10px;gap:5px}.order-stages li span{width:23px;height:23px}.order-quantity-row{grid-template-columns:1fr 1fr 26px;gap:12px;padding:14px}.quantity-item-name{grid-column:1/3}.order-quantity-row>[data-remove-item]{grid-column:3;grid-row:1}.order-quantity-row label{grid-row:2}.wizard-footer button{font-size:12px;padding:11px 12px}.selection-toolbar .ghost{font-size:10px}.order-question{font-size:18px}.custom-product-entry{align-items:stretch;flex-direction:column}.custom-product-entry button{align-self:flex-start}.order-quantity-row input{font-size:16px}}

.grid>*{min-width:0}.modal-head{position:sticky;top:0;z-index:1;background:white}

.shipping-inline-warning{padding:18px;border:2px solid #d36c37;border-radius:12px;background:#fff1dd;color:#853d20;margin-bottom:20px}.shipping-inline-warning strong{display:block;font-size:17px;margin-bottom:9px}.shipping-inline-warning span{display:block;line-height:1.6;font-size:13px}.warning-confirmation{border:4px solid #c85928}.warning-confirmation .confirmation-body{background:#fff8ee}.warning-confirmation .eyebrow{color:#a84522}.warning-confirmation h2{font-size:30px;line-height:1.2;color:#96351e}.shipping-debt-amount{font-size:51px;font-weight:800;letter-spacing:-1px;color:#a83b23;margin:12px 0 22px}.warning-confirmation [data-yes]{background:#a84124}.collection-alert{background:#fff0dd;border:2px solid #d8793d;border-left:7px solid #b64122;border-radius:16px;padding:27px;margin-bottom:29px;color:#723822}.collection-head{display:flex;justify-content:space-between;gap:25px;align-items:center;margin-bottom:20px}.collection-head .eyebrow{color:#a74726}.collection-head h2{font-size:26px;line-height:1.2;margin:9px 0}.collection-head p{font-size:13px;margin:0;color:#8c6045}.collection-grand-total{text-align:right;flex:none}.collection-grand-total small{display:block;color:#8b4a32}.collection-grand-total strong{display:block;font-size:35px;margin-top:8px;letter-spacing:-1px}.collection-companies{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:15px;margin-bottom:15px}.collection-company{background:#fffaf2;border:1px solid #ecc495;border-radius:12px;padding:21px;min-width:0}.collection-company h3{font-size:19px;color:#71321e;margin:0 0 10px}.collection-balance{font-size:36px;font-weight:750;letter-spacing:-1px;color:#a23c24}.collection-company p{font-size:12px;color:#8c6045;margin:7px 0 14px}.collection-order-links>div{border-top:1px solid #f0dcc2;padding-top:12px;margin-top:12px;display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}.collection-order-links a{font-size:12px;color:#8b3d22;text-decoration:underline}.collection-order-links button{background:#9a4328;white-space:normal}.collection-alert>small{font-size:11px;color:#8c6045;line-height:1.6;display:block}@media(max-width:600px){.collection-alert{padding:20px 16px;border-left-width:5px}.collection-head{flex-direction:column;align-items:start;gap:15px}.collection-head h2{font-size:24px}.collection-grand-total{text-align:left}.collection-grand-total strong{font-size:30px}.collection-balance{font-size:32px}.warning-confirmation h2{font-size:25px}.shipping-debt-amount{font-size:40px}.collection-company{padding:18px}}

.receipt-widget{margin:22px 0;padding:20px;border:1px solid var(--line);border-radius:13px;background:#f5f8fe}.receipt-widget h3{font-size:17px;margin-bottom:7px}.receipt-widget>p{font-size:12px;margin-bottom:17px}.receipt-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.receipt-choices button{min-height:60px;text-align:left;white-space:normal}.receipt-choices button strong{display:block;font-size:19px}.receipt-choices button small{display:block;margin-top:7px;font-weight:400}.receipt-choices button.active{background:#e8f0ff;border-color:#5485d8;color:#234c9b;box-shadow:0 0 0 1px #5485d8}.receipt-fields label{margin-bottom:14px}.receipt-fields input[readonly]{background:#edf3ff;font-weight:700;font-size:21px}.confirmation-dialog{max-width:700px}.confirmation-body{padding:38px;text-align:center}.confirmation-body .eyebrow{color:#5572a1;font-size:10px}.confirmation-body h2{font-size:30px;margin:16px 0}.confirmation-body>p{font-size:14px}.confirmation-context{color:var(--muted);margin-bottom:12px}.receipt-confirm-amount{font-size:48px;font-weight:750;letter-spacing:-1.8px;color:var(--primary);padding:14px 0}.confirmation-totals{text-align:left;background:#f1f5fd;padding:19px;border-radius:12px;margin:20px 0}.confirmation-totals>div{display:flex;justify-content:space-between;gap:15px;padding:12px 0;font-size:14px}.confirmation-totals .remaining{border-top:1px solid #d7e2f5;font-size:19px}.confirmation-totals strong{white-space:nowrap}.confirmation-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:13px;margin-top:27px}.confirmation-actions button{min-height:57px;white-space:normal;font-size:14px}.pending-list{text-align:left;padding-left:20px;margin:12px 0;max-height:330px;overflow:auto}.pending-list li{padding:7px 0;font-size:12px;line-height:1.55;overflow-wrap:anywhere}.pending-panel{border-left:4px solid #6593e6}.production-item+.production-item{border-top:1px solid var(--line);margin-top:24px;padding-top:4px}.production-item>.pair{align-items:center;font-size:12px}.print-step{border-top:1px solid #e3eaf6;padding:14px 0}.print-step strong{font-size:12px}.print-step .pair{align-items:center;margin:5px 0;font-size:11px}.print-step>small{font-size:10px}.print-step button{font-size:10px;padding:7px}.print-remaining{font-weight:600;color:var(--primary);padding:13px 0}.final-organization{border:1px solid #91afe8}.final-organization .check{font-size:13px;line-height:1.6}.remaining-summary{background:#f3f6fc;padding:10px;border-radius:7px;color:#7b6a46;font-size:10px!important}.error{white-space:pre-line}.confirmation-body .pending-list{background:#f3f6fc;padding:15px 15px 15px 32px;border-radius:9px}.item-title{align-items:start}.item-title>small{white-space:normal;text-align:right}.final-organization input{accent-color:var(--primary)}@media(max-width:600px){.confirmation-body{padding:25px 19px}.confirmation-body h2{font-size:25px}.receipt-confirm-amount{font-size:40px}.confirmation-actions{grid-template-columns:1fr}.confirmation-actions button[data-no]{order:2}.confirmation-totals>div{font-size:12px}.confirmation-totals .remaining{font-size:17px}.receipt-widget{padding:15px}.receipt-choices{gap:8px}.receipt-choices button{font-size:11px;padding:11px}.receipt-choices button strong{font-size:17px}.production-item>.pair{align-items:start;gap:10px}.production-item>.pair>button{max-width:150px;font-size:10px}.confirmation-dialog{max-height:93vh}}
/* Sapphire: navy, luminous blue and frosted silver surfaces. */
:root{--primary:#204cba;--accent:#dceaff;--muted:#60718c;--ink:#142746;--line:#dfe7f4;--bg:#f3f6fc}
body{background:radial-gradient(ellipse at 90% 0%,#e5edff 0,transparent 48%),#f3f6fc}
button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease;box-shadow:0 4px 10px #163b8a0c}
button:not(.secondary):not(.ghost):not(.danger):not(nav button){background-image:linear-gradient(115deg,#ffffff12,transparent)}
button:hover{filter:none;box-shadow:0 7px 18px #163b8a20;transform:translateY(-1px)}
button:active{transform:translateY(1px);box-shadow:none}
button:focus-visible,a:focus-visible{outline:3px solid #78a6ff;outline-offset:3px}
button:disabled{transform:none;box-shadow:none}
button.ghost{box-shadow:none}
.sidebar{background:linear-gradient(160deg,#102747 0%,#09172e 60%,#122b52 100%);border-right:1px solid #2a4368;color:#edf4ff;box-shadow:8px 0 35px #1528490b}
.sidebar .brand img{box-shadow:0 0 24px #609bff40;border-radius:10px}
.sidebar .subtitle{color:#95aacb}
.sidebar nav button{color:#b5c4de;box-shadow:none;position:relative}
.sidebar nav button:hover{background:#ffffff0b;color:white;transform:translateX(3px)}
.sidebar nav button.active{background:linear-gradient(105deg,#285cd5,#204795);box-shadow:inset 0 1px 0 #ffffff30,0 7px 22px #020c2544;color:white}
.sidebar nav button.active:before{content:'';position:absolute;left:0;top:30%;height:40%;width:3px;border-radius:4px;background:#a8d4ff;box-shadow:0 0 10px #a8d4ff}
nav button span:first-child{display:flex;align-items:center;justify-content:center}
nav svg{width:21px;height:21px;flex:none}
.sidebar-bottom{border-color:#ffffff18}.sidebar-bottom small,.sidebar-bottom .ghost{color:#a8bcda}
.avatar{background:linear-gradient(140deg,#4778d7,#18346a);color:white;border:1px solid #ffffff26;box-shadow:0 3px 14px #050c2520}
.topbar{background:#f9fbffdb;border-bottom-color:#dfe7f3;backdrop-filter:blur(16px)}
.hero{background:radial-gradient(ellipse at 92% 10%,#4488f56b,transparent 53%),linear-gradient(118deg,#0b1e3b,#123875 65%,#204fa8);border:1px solid #426cad66;box-shadow:0 15px 35px #16376a20,inset 0 1px 0 #ffffff22;min-height:245px;align-items:center;padding:30px 34px}
.hero:before{content:'';position:absolute;width:550px;height:550px;border:1px solid #bedcff16;border-radius:50%;right:-270px;top:-300px;pointer-events:none}
.hero>div:first-child{position:relative;z-index:1}.hero .eyebrow{color:#a4c8ff}.hero h2{font-size:29px;line-height:1.25;letter-spacing:-.8px}.hero p{color:#c2d2ed}.hero button{background:linear-gradient(110deg,#f2f7ff,#c8dfff)!important;color:#163d7c;border:1px solid #ffffff70;box-shadow:0 6px 20px #0002}
.hero .sapphire-art{position:relative;display:block;width:255px;min-width:220px;height:210px;transform:none;color:inherit;font-size:inherit;perspective:700px}
.glass-sheet{position:absolute;width:120px;height:145px;left:64px;top:34px;border:1px solid #c4e2ff80;border-radius:16px;transform:rotate(-18deg) skewY(7deg);box-shadow:0 18px 30px #0003,inset 0 1px 1px #fff7;animation:sapphire-float 7s ease-in-out 3}
.sheet-back{background:linear-gradient(145deg,#397add80,#0f285677);left:101px;top:11px;animation-delay:-2s}
.sheet-mid{background:linear-gradient(145deg,#72b0f970,#3063bb50);left:83px;top:23px;animation-delay:-1s}
.sheet-front{background:linear-gradient(145deg,#d8ecffcd,#8cb9ee45 55%,#eaf6ff55);backdrop-filter:blur(5px);padding:24px;color:white}
.sheet-front span{font-size:43px;font-weight:800;letter-spacing:-3px;text-shadow:0 2px 12px #1d4c8e33}.sheet-front i{display:block;height:3px;border-radius:5px;background:#e9f5ff90;margin-top:9px;width:65%}.sheet-front i:last-child{width:40%}
.orbit{position:absolute;border:1px solid #9fcaff25;border-radius:50%;width:245px;height:170px;left:6px;top:22px;transform:rotate(-28deg)}.orbit-two{transform:rotate(34deg);width:205px;left:25px}
.art-spark{position:absolute;width:7px;height:7px;border-radius:50%;background:#e4f7ff;box-shadow:0 0 18px 5px #80bbff66;left:23px;top:142px}
.metric,.panel{box-shadow:0 5px 22px #182d5505,inset 0 1px 0 #fff;border-color:#dfe7f4}
.metric{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#f9fbff);transition:transform .2s,box-shadow .2s}
.metric:before{content:'';position:absolute;top:0;left:21px;width:32px;height:3px;background:linear-gradient(90deg,#4c83e6,#a3c7ff);border-radius:0 0 5px 5px}
.metric .icon{color:#4274c8;background:#edf3ff;border:1px solid #dce8ff;border-radius:9px;width:30px;height:30px;display:grid;place-items:center;font-size:17px;margin-top:-5px}
.metric .number{color:#183964;font-variant-numeric:tabular-nums}.metric:hover{transform:translateY(-3px);box-shadow:0 12px 26px #254c9310}
.panel-head h2{color:#19375f}.progress{height:7px;background:#e7eefb}.progress div{background:linear-gradient(90deg,#2457c4,#64a2f6);transition:width .6s ease}
.order-card{transition:transform .2s,box-shadow .2s,border-color .2s}.order-card:hover{transform:translateY(-2px);box-shadow:0 8px 23px #163b8a12}
.company-logo{background:linear-gradient(140deg,#e9f2ff,#dbe7fc);border:1px solid #cdddf7;color:#2755a5}
dialog{box-shadow:0 30px 100px #07163166;border:1px solid #dce7f7}dialog[open]{animation:dialog-in .23s ease-out}dialog::backdrop{background:#05132b99;backdrop-filter:blur(6px)}
.modal-head{background:linear-gradient(110deg,#fff,#f2f6ff)}.modal-head h2{color:#1c3c6b}
.format-choice,.product-tile{transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}.format-choice:has(input:checked),.product-tile:has(input:checked){background:linear-gradient(120deg,#edf4ff,#e1ecff);border-color:#6696e6;box-shadow:0 0 0 1px #6696e6,0 4px 12px #315ca010}
.product-tile:has(input:checked){animation:selection-in .2s ease-out}.receipt-choices button.active{background:linear-gradient(130deg,#edf4ff,#deebff);color:#234c9b}
.login-story{position:relative;overflow:hidden;background:radial-gradient(ellipse at 0 0,#315eb766,transparent 70%),linear-gradient(145deg,#0a1c39,#193f80);isolation:isolate}
.login-story:after{content:'';position:absolute;width:480px;height:480px;border:1px solid #b6d5ff30;border-radius:100px;right:-170px;top:29%;transform:rotate(35deg);z-index:-1;box-shadow:0 0 0 45px #9dc3ff05,0 0 0 90px #9dc3ff04;animation:login-glow 8s ease-in-out 2}
.login-form{background:radial-gradient(ellipse at top right,#e2ebff,transparent 60%)}.login-form form{padding:30px 0}.login-story .brand{color:white}.login-story .eyebrow{color:#abcaff}
#toast{background:linear-gradient(115deg,#14356b,#2456ad);border:1px solid #7ba3e750;box-shadow:0 10px 35px #0b23533b}#toast.show{animation:toast-in .23s ease-out}
.page-enter{animation:appear .3s ease-out}.metrics .metric{animation:appear .4s ease-out backwards}.metrics .metric:nth-child(2){animation-delay:.04s}.metrics .metric:nth-child(3){animation-delay:.08s}.metrics .metric:nth-child(4){animation-delay:.12s}
.warning-confirmation .eyebrow{color:#a84522}.warning-confirmation h2{color:#96351e}
@keyframes sapphire-float{0%,100%{transform:translateY(0) rotate(-18deg) skewY(7deg)}50%{transform:translateY(-10px) rotate(-15deg) skewY(7deg)}}
@keyframes login-glow{50%{transform:translateY(-18px) rotate(40deg)}}
@keyframes dialog-in{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes selection-in{50%{transform:scale(1.025)}}
@keyframes toast-in{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media(max-width:750px){.sidebar{background:linear-gradient(120deg,#102747,#0b1b35);border-top-color:#294467;box-shadow:0 -5px 25px #10254c20}.sidebar nav button:hover{transform:none}.sidebar nav button.active:before{top:0;left:30%;width:40%;height:2px}.hero{min-height:0;padding:25px}.hero h2{font-size:25px}.hero .sapphire-art{display:none}.login-story{min-height:230px}.login-story:after{width:200px;height:200px;right:-50px}.metric .icon{width:25px;height:25px;font-size:14px}.metric .label{display:inline-block;max-width:calc(100% - 27px)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
