@font-face{font-family:Peyda;src:url('/static/fonts/PeydaFaNumWeb-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Peyda;src:url('/static/fonts/PeydaFaNumWeb-SemiBold.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}@font-face{font-family:Peyda;src:url('/static/fonts/PeydaFaNumWeb-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Peyda;src:url('/static/fonts/PeydaFaNumWeb-Black.woff2') format('woff2');font-weight:900;font-style:normal;font-display:swap}:root{--ink:#17243a;--muted:#8590a2;--blue:#0878f9;--line:#edf0f5;--bg:#f6f8fb;--nav:#e5e7eb;--font:'Peyda',Tahoma,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-family:var(--font);color:var(--ink);font-size:14px}.sidebar{position:fixed;inset:0 0 0 auto;width:232px;background:var(--nav);color:#fff;padding:28px 18px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;flex-direction:column;gap:13px;text-decoration:none;color:#c2cadd;padding:0 10px 29px;border-bottom:1px solid #ffffff14}.brand img{width:190px;height:62px;object-fit:contain;object-position:right center}.brand span{font-size:11px;color:#98a5bd}.nav-label{font-size:11px;color:#738099;padding:25px 12px 10px}.nav-link{display:flex;align-items:center;gap:12px;color:#b9c4d5;text-decoration:none;padding:7px 12px;border-radius:8px;margin:2px 0;font-family:inherit;font-size:13px;cursor:pointer;background:none;border:0;width:100%;text-align:right}.nav-link>span{font-size:18px;width:21px;text-align:center}.nav-link.selected,.nav-link:hover{background:#1a2946;color:#fff}.nav-link.selected{box-shadow:inset -3px 0 #1385ff}.sidebar-bottom{margin-top:auto}.sidebar-bottom form{margin:0}.user-chip{display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff17;padding:18px 8px 12px}.user-chip b,.user-chip small{display:block}.user-chip b{font-size:12px}.user-chip small{font-size:10px;color:#94a0b6;margin-top:3px}.avatar{width:37px;height:37px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#0d8cff,#2657c9);color:#fff;font-weight:700;flex:0 0 auto}.main{margin-right:232px;min-height:100vh}.topbar{height:64px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;font-size:12px;color:#59667a}.topbar i{color:#ccd2dc;margin:0 8px;font-style:normal}.date{color:#a1aaba;font-size:11px}.content{max-width:1350px;margin:0 auto;padding:34px 40px 55px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.eyebrow{color:var(--blue);font-size:11px;font-weight:600;margin-bottom:5px}.page-heading h1,.login-card h1{font-size:25px;margin:0;font-weight:700;letter-spacing:-.5px}.page-heading p,.section-head p,.panel-title p{margin:6px 0 0;color:var(--muted);font-size:12px}.today,.total-pill{background:#fff;border:1px solid var(--line);padding:9px 14px;border-radius:9px;color:#607087;font-size:11px}.today span{color:#20b77a;margin-left:5px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:34px}.stat-card,.panel,.table-card{background:#fff;border:1px solid var(--line);border-radius:12px}.stat-card{padding:21px;display:flex;align-items:center;gap:15px;box-shadow:0 4px 15px #20304d04}.stat-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:13px;font-size:21px}.blue{color:#1681ff;background:#eaf4ff}.green{color:#16ad78;background:#e9f8f1}.violet{color:#8162e8;background:#f1edff}.stat-card span,.stat-card strong,.stat-card small{display:block}.stat-card span{font-size:11px;color:#748096}.stat-card strong{font-size:27px;line-height:1.4;margin:2px 0}.stat-card small{font-size:10px;color:#a1aaba}.section-head{display:flex;align-items:center;justify-content:space-between;margin:0 1px 13px}.section-head h2,.panel-title h2{font-size:15px;margin:0}.text-link{color:var(--blue);text-decoration:none;font-size:11px}.table-card{overflow:hidden}table{width:100%;border-collapse:collapse;text-align:right}th{background:#fafbfd;color:#8590a2;font-size:10px;font-weight:500;padding:13px 18px;border-bottom:1px solid var(--line)}td{padding:12px 18px;border-bottom:1px solid #f1f3f7;font-size:11px}tr:last-child td{border-bottom:0}.person{display:flex;align-items:center;gap:10px}.person b{font-weight:600}.person small{display:block;font-size:10px;color:#96a0b0;margin-top:3px}.avatar.pale{background:#eef5ff;color:#287cde;width:34px;height:34px;border-radius:10px}.muted{color:#929cad}.role{background:#f2f5f9;color:#66748a;border-radius:5px;padding:4px 9px;font-size:10px}.status{font-size:10px}.status:before{content:'';display:inline-block;width:6px;height:6px;border-radius:9px;margin-left:6px;vertical-align:1px}.status.on{color:#15976b}.status.on:before{background:#18b77f}.status.off{color:#929cad}.status.off:before{background:#aab2bf}.welcome-banner{margin-top:22px;padding:20px 23px;border-radius:12px;background:linear-gradient(105deg,#102346,#153f79);color:#fff;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.welcome-banner b,.welcome-banner span{display:block}.welcome-banner b{font-size:14px}.welcome-banner span{font-size:11px;color:#c1d0e4;margin-top:7px}.banner-mark{font-size:70px;font-weight:800;color:#ffffff16;line-height:.8;margin-left:20px}.user-layout{display:grid;grid-template-columns:minmax(280px,.78fr) minmax(440px,1.5fr);gap:18px;align-items:start}.panel{padding:21px}.panel-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-title p{font-size:11px}.title-symbol{display:grid;place-items:center;width:34px;height:34px;background:#eff6ff;color:var(--blue);border-radius:9px;font-size:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px 12px}.form-grid label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#58667a}.form-grid input,.form-grid select{height:41px;border:1px solid #e5e9f0;border-radius:7px;padding:0 11px;font:12px var(--font);outline:none;background:#fff;color:var(--ink);width:100%}.form-grid input:focus,.form-grid select:focus{border-color:#75b4ff;box-shadow:0 0 0 3px #1985ff12}.form-grid input::placeholder{color:#b0b8c5}.primary{border:0;border-radius:7px;background:linear-gradient(110deg,#1685ff,#0867e7);color:white;font:600 12px var(--font);padding:11px 15px;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:space-between;gap:17px;box-shadow:0 4px 9px #0878f925}.form-grid>.primary{grid-column:1/-1;margin-top:2px}.users-panel{padding-bottom:7px}.inner-table{border:0;border-radius:0;overflow-x:auto}.inner-table th{padding:11px 8px}.inner-table td{padding:11px 8px}.small-button{border:0;background:none;font:10px var(--font);cursor:pointer;padding:5px 0}.deactivate{color:#dc6470}.activate{color:#15976b}.empty{text-align:center;color:#9ba5b4;padding:25px}.alert{padding:11px 14px;border-radius:8px;margin-bottom:15px;font-size:12px}.alert.error{background:#fff0f0;color:#bd4048}.alert.success{background:#edfaf4;color:#16835c}.password-panel{max-width:520px}.password-panel .form-grid{grid-template-columns:1fr}.error-box{text-align:center;padding:100px 20px}.error-box>span{font-size:48px;color:#aab8cc;font-weight:800}.error-box h1{font-size:18px;margin:8px 0 25px}.login-main{min-height:100vh;background:radial-gradient(ellipse at 20% 15%,#eaf4ff 0,transparent 38%),#f5f7fb}.login-main .content{min-height:100vh;padding:30px;display:grid;place-items:center}.login-wrap{width:min(100%,405px)}.login-card{background:#fff;border:1px solid #e9edf3;border-radius:16px;padding:28px 34px 23px;box-shadow:0 18px 60px #253d5b12}.login-logo{width:205px;height:70px;object-fit:contain;object-position:right center;margin-bottom:11px}.login-card h1{font-size:23px}.login-card>p{font-size:11px;color:#8590a2;margin:7px 0 22px}.login-card form{display:flex;flex-direction:column}.login-card label{font-size:11px;margin:12px 0 7px;color:#536176}.login-card input{height:43px;border:1px solid #e4e8ef;border-radius:7px;padding:0 12px;font:12px var(--font);outline:0}.login-card input:focus{border-color:#6cb0ff;box-shadow:0 0 0 3px #1985ff12}.full{width:100%;margin-top:21px}.secure-note{display:block;text-align:center;color:#a2aaba;font-size:10px;margin-top:19px}.login-foot{text-align:center;color:#9ca6b4;font-size:10px;margin:17px 0}.date{direction:rtl}
@media(max-width:1000px){.sidebar{width:205px}.main{margin-right:205px}.content{padding:27px 24px}.user-layout{grid-template-columns:1fr}.stats{gap:11px}.stat-card{padding:16px;gap:10px}}@media(max-width:700px){.sidebar{position:static;width:auto;height:auto;padding:12px 15px;display:block}.brand{padding:0 4px 10px;flex-direction:row;align-items:center;border:0}.brand img{width:122px;height:41px}.brand span,.nav-label,.sidebar-bottom{display:none}.sidebar>.nav-link{display:inline-flex;width:auto;padding:8px 10px;margin:0 2px;font-size:11px}.sidebar>.nav-link>span{font-size:15px}.main{margin:0;min-height:calc(100vh - 100px)}.topbar{height:48px;padding:0 17px}.date{display:none}.content{padding:25px 16px}.page-heading h1{font-size:22px}.stats{grid-template-columns:1fr;gap:10px}.stat-card{padding:13px 16px}.stat-icon{width:40px;height:40px}.stat-card strong{font-size:22px}.user-layout{grid-template-columns:minmax(0,1fr)}.panel{padding:16px}.users-panel{padding:16px 11px}.inner-table td,.inner-table th{padding:9px 6px;font-size:10px}.small-button{font-size:9px}.welcome-banner{padding:17px}.welcome-banner span{max-width:290px;line-height:1.9}.form-grid{gap:12px 9px}.total-pill{font-size:10px}.login-main .content{padding:18px}.login-card{padding:24px}.login-wrap{max-width:390px}}
/* Customer request management */
.request-layout{display:grid;grid-template-columns:minmax(300px,.82fr) minmax(520px,1.55fr);gap:18px;align-items:start}.request-form-panel{position:sticky;top:20px}.request-form{gap:14px 12px}.request-form label em{color:#e25668;font-style:normal}.request-form select{cursor:pointer}.request-list-panel{min-width:0}.request-table{overflow-x:auto}.request-table table{min-width:1050px}.request-table th{white-space:nowrap;padding:12px 11px}.request-table td{padding:12px 11px;white-space:nowrap}.request-table td:nth-child(4){white-space:normal;min-width:150px;max-width:220px}.request-date{direction:ltr;text-align:right;font-variant-numeric:tabular-nums}.phone-cell{font-variant-numeric:tabular-nums}.status-form{margin:0}.status-form select{font:10px var(--font);color:#496078;background:#f4f7fb;border:1px solid #e7ebf2;border-radius:6px;padding:6px 22px 6px 7px;max-width:140px;cursor:pointer}.status-form select:focus{outline:2px solid #1685ff35}.request-list-panel .panel-title{margin-bottom:14px}
@media(max-width:1100px){.request-layout{grid-template-columns:1fr}.request-form-panel{position:static}.request-form{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.request-form{grid-template-columns:1fr}.request-form-panel,.request-list-panel{padding:15px 12px}.request-table table{min-width:980px}.request-table th,.request-table td{padding:10px 8px}.request-list-panel .panel-title{padding:0 4px}}

/* Gray navigation and Peyda typography */
.sidebar{color:#344054}.brand{color:#475467;border-bottom-color:#cbd0d8}.brand span{color:#667085}.nav-label{color:#667085}.nav-link{color:#475467}.nav-link.selected,.nav-link:hover{background:#fff;color:#17243a}.nav-link.selected{box-shadow:inset -3px 0 #0878f9}.user-chip{border-top-color:#cbd0d8}.user-chip small{color:#667085}.page-heading h1,.login-card h1{font-weight:700}.section-head h2,.panel-title h2{font-weight:700}.stat-card strong{font-weight:900}.primary{font-weight:600}

/* Kanban requests board */
.board-heading{align-items:center}.board-actions{display:flex;align-items:center;gap:10px}.new-request-button{white-space:nowrap}.kanban-scroll{overflow-x:auto;padding:2px 2px 18px;margin:0 -2px}.kanban-board{display:flex;align-items:flex-start;gap:14px;min-width:max-content}.kanban-column{width:286px;min-height:220px;max-height:calc(100vh - 255px);display:flex;flex-direction:column;background:#eef1f5;border:1px solid #e2e6ec;border-radius:12px;overflow:hidden}.kanban-column-head{display:flex;align-items:center;justify-content:space-between;padding:13px 13px 11px;border-bottom:1px solid #e0e5eb;background:#f5f6f8}.kanban-column-head>div{display:flex;align-items:center;gap:9px}.kanban-column-head h2{font-size:13px;font-weight:700;margin:0}.column-count{min-width:22px;height:22px;display:grid;place-items:center;border-radius:7px;background:#e4e8ed;color:#596579;font-size:10px;font-weight:600}.column-grip{color:#a3acb9;font-size:18px}.kanban-dropzone{padding:10px;display:flex;flex-direction:column;gap:9px;overflow-y:auto;min-height:160px;flex:1;transition:background .15s}.kanban-dropzone.drag-over{background:#e4f1ff}.request-card{background:#fff;border:1px solid #e7eaf0;border-radius:10px;padding:12px;box-shadow:0 3px 8px #26334a08;cursor:grab;transition:transform .15s,box-shadow .15s,border-color .15s}.request-card:hover{border-color:#cbd8e8;box-shadow:0 6px 16px #26334a11;transform:translateY(-1px)}.request-card.dragging{opacity:.45;transform:rotate(-1deg)}.request-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.request-card-top b{font-size:13px;font-weight:700;color:#26344a}.request-card-id{font-size:10px;color:#9aa4b3;background:#f5f7fa;padding:3px 6px;border-radius:5px}.request-phone{font-size:11px;color:#64748b;text-align:right;margin-top:6px;direction:ltr;width:max-content}.request-part{font-size:12px;font-weight:600;color:#25364e;margin-top:10px;line-height:1.7}.request-car{font-size:10px;color:#788598;margin-top:5px}.request-car span{margin-right:5px;color:#98a1af}.request-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #f0f2f5;padding-top:8px;margin-top:10px;color:#8a94a3;font-size:9px}.card-stage-form{display:flex;align-items:center;justify-content:space-between;margin-top:8px;padding-top:7px;border-top:1px solid #f3f4f6;color:#9aa5b4}.card-stage-form select{border:0;background:transparent;color:#718096;font:10px var(--font);padding:3px 0;max-width:210px;cursor:pointer;outline:none}.kanban-empty{border:1px dashed #d6dce5;border-radius:9px;padding:17px 10px;text-align:center;color:#a0a9b7;font-size:10px;background:#f5f6f8}.column-settings{position:relative}.column-settings>summary{list-style:none;cursor:pointer;background:#fff;border:1px solid #e4e8ef;border-radius:8px;padding:10px 12px;color:#526176;font-size:11px;white-space:nowrap}.column-settings>summary::-webkit-details-marker{display:none}.column-settings>summary span{color:#74849a;margin-right:5px}.column-settings-pop{position:absolute;z-index:5;top:calc(100% + 8px);right:0;width:min(550px,calc(100vw - 32px));max-height:min(72vh,660px);overflow-y:auto;background:#fff;border:1px solid #e3e8ef;border-radius:12px;padding:17px;box-shadow:0 18px 50px #19294324}.column-settings-pop h2{margin:0;font-size:15px}.column-settings-pop>p{color:#8490a1;font-size:11px;margin:5px 0 14px}.settings-columns{display:flex;flex-direction:column;gap:8px}.settings-column{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#f8f9fb;border:1px solid #eef0f4;border-radius:8px;padding:10px}.settings-column form,.add-column-form{display:flex;align-items:end;gap:7px}.settings-column label,.add-column-form label{display:flex;flex-direction:column;gap:5px;flex:1;color:#657287;font-size:10px}.settings-column input,.settings-column select,.add-column-form input{width:100%;min-width:0;height:34px;border:1px solid #e1e6ed;border-radius:6px;padding:0 8px;background:white;color:#344054;font:11px var(--font)}.settings-column button{font-size:10px;white-space:nowrap}.settings-column button:disabled{opacity:.4;cursor:not-allowed}.add-column-form{margin-top:13px;padding-top:13px;border-top:1px solid #edf0f4}.add-column-form .primary{padding:9px 10px;white-space:nowrap;font-size:10px}.column-settings-pop>small{display:block;color:#9aa4b2;font-size:9px;margin-top:9px}.request-dialog{border:0;border-radius:16px;padding:0;width:min(620px,calc(100% - 28px));max-height:calc(100% - 28px);color:var(--ink);box-shadow:0 24px 90px #0e1a2c40}.request-dialog::backdrop{background:#101a30a8;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px 14px;border-bottom:1px solid #edf0f4}.dialog-head h2{font-size:19px;margin:0}.dialog-head p{font-size:11px;color:#8a95a5;margin:5px 0 0}.dialog-close{border:0;background:#f1f3f6;border-radius:8px;width:32px;height:32px;font:23px var(--font);color:#657287;cursor:pointer}.dialog-form{padding:18px 24px 22px;gap:14px}.dialog-form label em,.dialog-actions em{font-style:normal;color:#df5667}.dialog-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:6px}.dialog-actions>span{margin-left:auto;color:#8e99a8;font-size:10px}.secondary-button{border:1px solid #e2e7ee;border-radius:7px;background:#fff;color:#647187;font:11px var(--font);padding:10px 13px;cursor:pointer}.dialog-actions .primary{min-width:130px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:700px){.board-heading{align-items:flex-start;gap:12px}.board-actions{align-items:flex-end;flex-direction:column-reverse;gap:7px}.kanban-column{width:min(82vw,300px);max-height:calc(100vh - 230px)}.column-settings-pop{right:auto;left:0}.settings-column{grid-template-columns:1fr}.dialog-head{padding:18px 18px 12px}.dialog-form{padding:14px 18px 18px;grid-template-columns:1fr}.dialog-actions{flex-wrap:wrap}.dialog-actions>span{flex-basis:100%;text-align:right}.request-dialog{margin:auto 14px}.column-settings-pop{width:min(540px,calc(100vw - 28px))}}

/* Inventory */
.inventory-heading{margin-bottom:18px}.inventory-total{padding:8px 12px;background:#fff;border:1px solid #e7ebf1;border-radius:8px;color:#6b778a;font-size:11px}.inventory-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:17px}.inventory-stat{display:flex;align-items:center;gap:12px;padding:14px 16px;background:#fff;border:1px solid #e9edf2;border-radius:10px}.inventory-stat-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#eaf4ff;color:#1879e9;font-size:18px}.inventory-stat-icon.green{background:#e9f8f1;color:#16a777}.inventory-stat-icon.violet{background:#f0edff;color:#7d62d5}.inventory-stat small,.inventory-stat b{display:block}.inventory-stat small{font-size:10px;color:#8490a0}.inventory-stat b{font-size:18px;font-weight:700;color:#25344b;margin-top:2px}.inventory-upload{background:#fff;border:1px solid #e5eaf1;border-radius:11px;margin-bottom:16px;overflow:hidden}.inventory-upload>summary{list-style:none;display:flex;align-items:center;gap:11px;padding:13px 15px;cursor:pointer}.inventory-upload>summary::-webkit-details-marker{display:none}.upload-symbol{width:35px;height:35px;display:grid;place-items:center;border-radius:9px;background:#eaf4ff;color:#1879e9;font-size:20px}.inventory-upload>summary b,.inventory-upload>summary small{display:block}.inventory-upload>summary b{font-size:12px;font-weight:600;color:#2f3d52}.inventory-upload>summary small{font-size:10px;color:#8a95a4;margin-top:3px}.upload-chevron{margin-right:auto;color:#8d98a7}.inventory-upload[open] .upload-chevron{transform:rotate(180deg)}.upload-body{border-top:1px solid #edf0f4;padding:13px 16px 14px}.upload-form{display:flex;align-items:end;gap:10px}.file-picker{display:flex;flex-direction:column;gap:6px;color:#667387;font-size:10px;flex:1}.file-picker input{font:11px var(--font);color:#687587}.upload-form .primary{white-space:nowrap;padding:10px 13px}.upload-body>p{margin:11px 0 5px;color:#8792a1;font-size:10px;line-height:1.8}.import-columns{color:#708096;font-size:10px}.inventory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 1px 10px;color:#8b96a5;font-size:10px}.inventory-filters{display:flex;align-items:end;gap:8px;flex:1;flex-wrap:wrap}.inventory-model-filter{display:flex;flex-direction:column;gap:4px;color:#7d8999;font-size:10px;white-space:nowrap}.inventory-model-filter select{height:38px;min-width:170px;border:1px solid #e2e7ef;border-radius:8px;padding:0 10px;background:#fff;color:#344054;font:12px var(--font)}.inventory-filter-submit{height:38px;padding:0 12px;white-space:nowrap}.inventory-filter-clear{align-self:center;color:#1680f5;text-decoration:none;font-size:10px;white-space:nowrap}.inventory-search{display:flex;align-items:center;gap:5px;width:min(470px,100%);height:38px;background:#fff;border:1px solid #e6eaf0;border-radius:8px;padding:0 7px}.inventory-search input{font:11px var(--font);border:0;outline:0;min-width:0;flex:1;color:#3a4960}.inventory-search input::placeholder{color:#a4adba}.inventory-search button{border:0;background:transparent;color:#64748b;font:20px var(--font);cursor:pointer}.inventory-search a{color:#1680f5;text-decoration:none;font-size:10px;white-space:nowrap}.inventory-table-wrap{overflow-x:auto}.inventory-table{min-width:800px}.inventory-table th{white-space:nowrap}.inventory-table td{font-size:10px}.inventory-code{direction:ltr;text-align:right;color:#6f7c90;font-variant-numeric:tabular-nums}.inventory-name{min-width:280px;max-width:470px;font-size:11px!important;color:#344054}.inventory-quantity,.inventory-price{font-variant-numeric:tabular-nums;white-space:nowrap}.inventory-price{direction:ltr;text-align:right;color:#536176}.brand-tags{display:flex;flex-wrap:wrap;gap:4px;max-width:170px}.brand-tags span{border-radius:5px;padding:3px 6px;background:#eef5ff;color:#3972b1;font-size:9px;white-space:nowrap}.brand-tags .unknown-tag{background:#f2f4f7;color:#8b95a2}.inventory-pagination{display:flex;align-items:center;justify-content:center;gap:20px;padding:17px;color:#8691a1;font-size:10px}.inventory-pagination a{color:#1479ed;text-decoration:none}
@media(max-width:700px){.inventory-stats{grid-template-columns:1fr;gap:8px}.inventory-stat{padding:10px 13px}.inventory-stat-icon{width:32px;height:32px}.inventory-stat b{font-size:16px}.upload-form{align-items:stretch;flex-direction:column}.upload-form .primary{align-self:flex-start}.inventory-toolbar{align-items:flex-start;flex-direction:column}.inventory-filters{width:100%;align-items:stretch}.inventory-search{width:100%}.inventory-model-filter{flex:1}.inventory-model-filter select{width:100%;min-width:0}.inventory-filter-submit{align-self:flex-end}.inventory-total{font-size:10px}}

.edit-product-button{color:#0878f9;border:1px solid #e2edfc;border-radius:6px;padding:6px 9px;background:#f5f9ff}.edit-product-button:hover{background:#eaf4ff}.inventory-table td:last-child{white-space:nowrap}.inventory-edit-form{grid-template-columns:1fr 1fr}.inventory-edit-form .dialog-actions>span{margin-left:auto}@media(max-width:700px){.inventory-edit-form{grid-template-columns:1fr}.inventory-edit-form .dialog-actions{grid-column:1/-1}}

/* Slightly larger type across the panel */
body{font-size:15px}
.brand span{font-size:12px}.nav-label{font-size:12px}.nav-link{font-size:14px}.user-chip b{font-size:13px}.user-chip small{font-size:11px}
.topbar{font-size:13px}.date{font-size:12px}.eyebrow{font-size:12px}.page-heading p,.section-head p,.panel-title p{font-size:13px}
.today,.total-pill{font-size:12px}.stat-card span{font-size:12px}.stat-card small{font-size:11px}.section-head h2,.panel-title h2{font-size:16px}.text-link{font-size:12px}
th{font-size:11px}td{font-size:12px}.person small{font-size:11px}.role,.status{font-size:11px}
.welcome-banner b{font-size:15px}.welcome-banner span{font-size:12px}
.form-grid label{font-size:12px}.form-grid input,.form-grid select{font-size:13px}.primary{font-size:13px}.small-button{font-size:11px}
.inventory-total{font-size:12px}.inventory-stat small{font-size:11px}.inventory-upload>summary b{font-size:13px}.inventory-upload>summary small{font-size:11px}.upload-body>p,.import-columns,.file-picker{font-size:11px}
.inventory-toolbar{font-size:11px}.inventory-search input{font-size:13px}.inventory-search a{font-size:11px}.inventory-table td{font-size:11px}.inventory-name{font-size:12px!important}.brand-tags span{font-size:10px}.inventory-pagination{font-size:11px}
.board-actions,.request-dialog .dialog-head p{font-size:12px}.dialog-form label{font-size:12px}.dialog-actions>span{font-size:11px}.secondary-button{font-size:12px}
.alert{font-size:13px}

/* Operations dashboard */
.dashboard-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:13px}
.dashboard-kpi{position:relative;display:grid;grid-template-columns:36px 1fr;column-gap:10px;align-items:center;padding:14px;background:#fff;border:1px solid #e8ecf2;border-radius:11px;text-decoration:none;color:inherit;transition:.15s}
.dashboard-kpi:hover{transform:translateY(-1px);box-shadow:0 6px 18px #1e2f480c}
.kpi-icon{grid-column:1;grid-row:1/4;width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:#eaf3ff;color:#2875c7;font-size:18px}
.kpi-violet .kpi-icon{background:#f1edff;color:#795bc2}.kpi-green .kpi-icon{background:#e9f8f1;color:#15966d}.kpi-orange .kpi-icon{background:#fff4e5;color:#bd791c}
.kpi-label{font-size:11px;color:#78869a}.dashboard-kpi>b{font-size:22px;line-height:1.2;color:#26364d;font-weight:700}.dashboard-kpi>small{font-size:10px;color:#9aa4b1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dashboard-stock-strip{display:flex;align-items:center;gap:15px;margin-bottom:14px;padding:12px 15px;background:#f7fbff;border:1px solid #e1edf9;border-radius:10px}
.dashboard-stock-strip>div{display:flex;align-items:center;gap:9px;flex:1}.stock-strip-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#e9f3ff;color:#327ec0}
.dashboard-stock-strip b,.dashboard-stock-strip small{display:block}.dashboard-stock-strip b{font-size:12px;color:#34445a}.dashboard-stock-strip small{margin-top:2px;font-size:10px;color:#919baa}.dashboard-stock-strip>strong{font-size:16px;color:#247c5b;white-space:nowrap}.dashboard-stock-strip>strong small{display:inline;font-size:10px;font-weight:500}.dashboard-stock-strip>a{color:#267cd4;text-decoration:none;font-size:11px;white-space:nowrap}
.dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}.dashboard-panel{min-width:0;padding:15px}.dashboard-panel .panel-title{margin-bottom:11px}.dashboard-panel .panel-title h2{font-size:14px}.dashboard-panel .panel-title p{font-size:11px}.dashboard-panel .text-link{white-space:nowrap}
.status-breakdown{display:flex;flex-direction:column;gap:9px}.status-row>div:first-child{display:flex;align-items:center;gap:8px}.status-row b{flex:1;font-size:11px;color:#58677b;font-weight:500}.status-row strong{font-size:11px;color:#394b62}.status-dot{width:7px;height:7px;border-radius:50%;background:#478ed1}.status-dot.done{background:#38a783}.status-track{height:5px;margin:5px 0 0 2px;border-radius:5px;background:#eff2f6;overflow:hidden}.status-track i{display:block;height:100%;min-width:2px;border-radius:5px;background:#78afe4}
.inventory-alert-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 0 9px}.inventory-alert-summary>div{padding:8px 6px;text-align:center;border-radius:8px;background:#f8f9fb}.inventory-alert-summary b,.inventory-alert-summary small{display:block}.inventory-alert-summary b{font-size:16px;color:#c27a1f}.inventory-alert-summary small{margin-top:2px;font-size:9px;color:#8c97a6}
.inventory-alert-list,.dashboard-recent-list,.dashboard-event-list{display:flex;flex-direction:column}.inventory-alert-list>a,.dashboard-request,.dashboard-event{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 2px;border-bottom:1px solid #f0f2f5;text-decoration:none;color:inherit}.inventory-alert-list>a:last-child,.dashboard-request:last-child,.dashboard-event:last-child{border-bottom:0}.inventory-alert-list>a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#425169}.inventory-alert-list>a small{flex:none;color:#9a7a4e;font-size:9px}.dashboard-request-main{display:flex;flex-direction:column;gap:4px;min-width:0}.dashboard-request-main b,.dashboard-event b{font-size:11px;color:#34445a}.dashboard-request-main span{max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#8490a0;font-size:10px}.dashboard-request-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex:none}.dashboard-request-side small{font-size:9px;color:#5082b5}.dashboard-request-side time,.dashboard-event time{font-size:9px;color:#a0a9b5;white-space:nowrap}
.dashboard-event{justify-content:flex-start}.dashboard-event>span:nth-child(2){display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.dashboard-event small{font-size:10px;color:#8793a2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-marker{flex:none;width:8px;height:8px;border-radius:50%;background:#65a1d7}
.popular-parts-list{display:flex;flex-direction:column}.popular-parts-list>div{display:flex;justify-content:space-between;gap:8px;padding:9px 2px;border-bottom:1px solid #f0f2f5}.popular-parts-list>div:last-child{border-bottom:0}.popular-parts-list span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#536277}.popular-parts-list b{flex:none;color:#3c7eb7;font-size:10px}
@media(max-width:1050px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dashboard-grid{grid-template-columns:1fr}.dashboard-stock-strip{align-items:flex-start;flex-wrap:wrap}.dashboard-stock-strip>div{flex-basis:100%}.dashboard-stock-strip>strong{margin-right:40px}}
@media(max-width:480px){.dashboard-kpis{gap:8px}.dashboard-kpi{grid-template-columns:30px 1fr;padding:10px;column-gap:7px}.kpi-icon{width:30px;height:30px}.dashboard-kpi>b{font-size:19px}.dashboard-kpi>small{font-size:9px}.dashboard-panel{padding:12px}.dashboard-panel .panel-title{align-items:flex-start}}

/* Customer directory and profiles */
.customer-search{display:flex;align-items:center;gap:9px;margin:0 0 14px;padding:12px;background:#fff;border:1px solid #e8ecf2;border-radius:10px}
.customer-search input{height:40px;flex:1;min-width:0;border:1px solid #e1e6ed;border-radius:7px;padding:0 11px;background:#fff;color:#344054;font:13px var(--font)}
.customer-search a,.customer-back a{color:#1680f5;text-decoration:none;font-size:12px;white-space:nowrap}
.customer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.customer-card{display:flex;align-items:center;gap:12px;min-width:0;padding:14px;background:#fff;border:1px solid #e8ecf2;border-radius:10px;text-decoration:none;color:inherit;transition:.15s}
.customer-card:hover{border-color:#cbdcf0;box-shadow:0 5px 16px #1d355008;transform:translateY(-1px)}
.customer-avatar{flex:none;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#eaf3ff;color:#2875c7;font-size:17px;font-weight:700}
.customer-avatar.large{width:62px;height:62px;border-radius:17px;font-size:24px}
.customer-card-main{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.customer-card-main>b{font-size:14px;color:#27374e}
.customer-phone{font-size:12px;color:#66778e;direction:ltr;text-align:right;width:max-content;max-width:100%}
.customer-card-main small{font-size:11px;color:#929cab;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.customer-arrow{color:#9aa6b6;font-size:18px}
.customer-empty{grid-column:1/-1;padding:28px;text-align:center;color:#8c97a6;font-size:12px}
.customer-back{margin:0 0 14px}
.customer-profile-head{display:flex;align-items:center;gap:15px;padding:20px;background:#fff;border:1px solid #e8ecf2;border-radius:12px;margin-bottom:14px}
.customer-profile-head h1{margin:2px 0 4px;font-size:22px}
.customer-edit-button{margin-right:8px;white-space:nowrap}
.customer-edit-dialog{width:min(560px,calc(100% - 28px))}
.customer-edit-dialog .dialog-form{grid-template-columns:1fr 1fr}
.customer-edit-dialog .dialog-actions{grid-column:1/-1}
.profile-phone{display:block;text-decoration:none}
.customer-profile-stats{margin-right:auto;display:flex;gap:9px}
.customer-profile-stats>div{min-width:80px;padding:10px 12px;text-align:center;border:1px solid #edf0f4;border-radius:9px;background:#fafbfd}
.customer-profile-stats b,.customer-profile-stats small{display:block}
.customer-profile-stats b{font-size:17px;color:#293a52}
.customer-profile-stats small{font-size:10px;color:#8994a3}
.customer-profile-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;align-items:start}
.customer-profile-columns .panel{min-width:0;padding:16px}
.customer-request-list{display:flex;flex-direction:column;gap:9px}
.customer-request{padding:12px;border:1px solid #edf0f4;border-radius:9px;background:#fcfcfd}
.customer-request-top,.customer-request-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}
.customer-request-top>b{font-size:12px;color:#34445a}
.customer-status{padding:4px 7px;border-radius:6px;background:#eef5ff;color:#3975b7;font-size:10px;white-space:nowrap}
.customer-request-part{margin-top:9px;color:#29394f;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.customer-request-meta{margin-top:6px;color:#8a95a4;font-size:10px;flex-wrap:wrap}
.timeline{position:relative;padding-right:3px}
.timeline::before{content:'';position:absolute;top:6px;bottom:6px;right:7px;width:1px;background:#e3eaf2}
.timeline-event{position:relative;padding:0 27px 17px 0}
.timeline-dot{position:absolute;right:2px;top:4px;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:#3288dc;box-shadow:0 0 0 1px #b7d3ef}
.timeline-content>b{display:block;font-size:12px;color:#34445a}
.timeline-content>small{display:block;margin-top:4px;color:#8d98a7;font-size:10px;line-height:1.8}
.timeline-change{display:flex;align-items:center;gap:8px;margin-top:6px;font-size:11px}
.timeline-change span{color:#8a95a4}.timeline-change i{color:#aeb7c3;font-style:normal}.timeline-change strong{color:#327cbf;font-weight:600}
.timeline-content>p{margin:5px 0 0;color:#7d8999;font-size:10px;line-height:1.7}
@media(max-width:900px){.customer-profile-columns{grid-template-columns:1fr}}
@media(max-width:700px){.customer-grid{grid-template-columns:1fr}.customer-search{flex-wrap:wrap}.customer-search input{flex-basis:100%}.customer-profile-head{align-items:flex-start;flex-wrap:wrap}.customer-profile-stats{margin-right:auto}.customer-profile-head h1{font-size:19px}.customer-edit-button{margin-right:0;flex-basis:100%}.customer-edit-dialog .dialog-form{grid-template-columns:1fr}}

/* Request creation: required markers, model-linked full-width part picker. */
.request-dialog{width:min(760px,calc(100% - 28px))}
.dialog-form label{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0 5px}
.dialog-form label>input,.dialog-form label>select{flex-basis:100%;margin-top:7px}
.dialog-form label em{order:1}
.dialog-form label em::before{content:''}
.dialog-form label:has(em){flex-direction:row-reverse;justify-content:flex-end}
.dialog-form label:has(em) em{order:0}
.request-part-field{grid-column:1/-1;min-width:0}
.request-part-field>label{display:flex;flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:5px;color:#344054;font-size:12px;font-weight:600;margin-bottom:7px}
.request-part-picker{display:grid;grid-template-columns:minmax(160px,1fr) minmax(200px,1.25fr) 40px;gap:8px;align-items:center}
.request-part-control{grid-column:1/3;display:grid;grid-template-columns:30px minmax(0,1fr);align-items:center;min-width:0;height:42px;border:1px solid #e1e6ed;border-radius:8px;background:#fff;color:#8591a2;overflow:visible}
.request-part-control>span{grid-column:1;grid-row:1;text-align:center;font-size:20px;line-height:1}
.request-part-input-wrap{position:relative;grid-column:2;grid-row:1;min-width:0}
.request-part-control input{width:100%;min-width:0;height:40px;border:0!important;padding:0 9px!important;outline:0!important;background:transparent!important;color:#344054;font:13px var(--font)}
.request-part-options{position:absolute;z-index:20;top:calc(100% + 5px);right:0;left:0;max-height:240px;overflow:auto;border:1px solid #dfe5ed;border-radius:8px;background:white;box-shadow:0 12px 28px #17283e20}
.request-part-options[hidden]{display:none}
.request-part-option{display:block;width:100%;padding:9px 11px;border:0;border-bottom:1px solid #f0f2f5;background:white;text-align:right;color:#344054;font:12px var(--font);cursor:pointer}
.request-part-option:hover,.request-part-option:focus{background:#eff6ff;outline:0}
.request-part-options-empty{padding:11px;color:#8a95a5;font-size:11px}
.request-part-picker>input{display:none}
.request-selected-products{grid-column:1/-1;display:flex;flex-direction:column;gap:7px;margin-top:2px}
.request-selected-product{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #e3ebf4;border-radius:9px;background:#f8fbff}
.request-selected-info{min-width:0;display:flex;flex-direction:column;gap:4px}
.request-selected-info b{font-size:12px;font-weight:600;color:#30445f;overflow-wrap:anywhere}
.request-selected-info small{font-size:11px;color:#758398}
.request-product-price{display:flex;align-items:center;gap:8px;margin-top:4px;color:#758398;font-size:10px;white-space:nowrap}
.request-product-price input{width:155px;height:34px;border:1px solid #dfe5ed;border-radius:7px;padding:0 9px;background:#fff;color:#334155;font:12px var(--font);direction:ltr;text-align:right}
.request-product-price input:focus{outline:2px solid #1685ff30;border-color:#90b9eb}
.request-product-remove{flex:none;width:27px;height:27px;border:1px solid #f0dede;border-radius:7px;background:#fff7f7;color:#cf5961;font:20px/1 var(--font);cursor:pointer}
.request-part-add{width:40px;height:40px;border:1px solid #d7e6f7;border-radius:9px;background:#eff7ff;color:#1478e8;font:25px/1 var(--font);cursor:pointer;transition:.15s}
.request-part-add:hover{background:#ddecff;border-color:#a8cef9}
.request-part-hint{display:block;margin-top:6px;color:#8793a3;font-size:11px;line-height:1.7}
@media(max-width:700px){.request-part-picker{grid-template-columns:minmax(0,1fr) 40px}.request-part-control{grid-column:1}.request-part-add{grid-column:2;grid-row:1}}

#request-part-search[readonly]{background:#f5f9ff!important;color:#284c77!important}

.request-card-actions{display:flex;align-items:center;gap:6px;flex:none}.request-edit-button{width:25px;height:25px;display:grid;place-items:center;border:1px solid #e0e7f0;border-radius:7px;background:#fff;color:#66809d;font:16px/1 var(--font);cursor:pointer;transition:.15s}.request-edit-button:hover{border-color:#b9d2ed;background:#eff7ff;color:#1879e9}.request-edit-dialog{width:min(720px,calc(100% - 28px))}.request-edit-dialog .dialog-form{grid-template-columns:1fr 1fr}.request-edit-dialog .request-edit-part{grid-column:1/-1;display:block;min-width:0}.request-edit-part textarea{flex-basis:100%;margin-top:7px;width:100%;border:1px solid #e1e6ed;border-radius:8px;padding:10px;background:#fff;color:#344054;font:13px/1.8 var(--font);resize:vertical}.request-edit-part textarea:focus{outline:2px solid #1685ff30;border-color:#90b9eb}.request-edit-dialog .dialog-actions{grid-column:1/-1}@media(max-width:700px){.request-edit-dialog .dialog-form{grid-template-columns:1fr}.request-edit-dialog .dialog-actions{grid-column:1/-1}}

#new-loss-reason-wrap[hidden],#edit-loss-reason-wrap[hidden]{display:none!important}.request-loss-reason{margin-top:8px;padding:7px 9px;border-radius:7px;background:#fff7e8;color:#a36812;font-size:10px;line-height:1.7}.purchase-loss-dialog{width:min(480px,calc(100% - 28px))}.purchase-loss-dialog .loss-reason-label{grid-column:1/-1}

.dashboard-loss-report{margin-bottom:14px;overflow:hidden;border-color:#eee6e3;background:linear-gradient(130deg,#fff 0%,#fff 66%,#fff9f6 100%)}.dashboard-loss-report .panel-title{align-items:center}.loss-report-eyebrow{display:flex;align-items:center;gap:6px;margin-bottom:5px;color:#c56553;font-size:10px;font-weight:700}.loss-report-eyebrow span{display:grid;place-items:center;width:19px;height:19px;border-radius:6px;background:#fff0ec;font-size:15px}.dashboard-loss-report .panel-title h2{font-size:16px}.dashboard-loss-report .panel-title p{margin-top:4px}.loss-report-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:13px 0 16px}.loss-report-summary>div{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid #f0eeee;border-radius:9px;background:#fff}.loss-summary-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#fff0ec;color:#cb6956;font-size:18px}.loss-summary-icon.customers{background:#f2efff;color:#7d6bc1}.loss-summary-icon.rate{background:#fff6e6;color:#bb8a37}.loss-report-summary small,.loss-report-summary b{display:block}.loss-report-summary small{font-size:10px;color:#929aa7}.loss-report-summary b{margin-top:2px;font-size:17px;line-height:1.15;color:#34445a}.loss-report-details{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:22px;padding-top:14px;border-top:1px solid #f1eeec}.loss-report-details h3{margin:0 0 12px;font-size:12px;color:#536176}.loss-reason-row{margin:0 0 11px}.loss-reason-label{display:flex;justify-content:space-between;gap:8px;margin-bottom:5px;font-size:10px;color:#667386}.loss-reason-label b{color:#34445a;font-size:10px}.loss-reason-track{height:7px;border-radius:8px;background:#f4eeee;overflow:hidden}.loss-reason-track i{display:block;height:100%;min-width:3px;border-radius:8px;background:linear-gradient(90deg,#efa38c,#d67661)}.loss-part-row{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid #f2f1f0}.loss-part-row:last-child{border-bottom:0}.loss-part-rank{flex:none;width:21px;height:21px;display:grid;place-items:center;border-radius:6px;background:#f5f7fa;color:#7b899c;font-size:9px}.loss-part-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#536277;font-size:10px}.loss-part-row>b{flex:none;color:#b66b59;font-size:9px}
@media(max-width:760px){.loss-report-details{grid-template-columns:1fr;gap:13px}.loss-report-summary{gap:6px}.loss-report-summary>div{padding:8px;gap:6px}.loss-summary-icon{width:26px;height:26px}.loss-report-summary small{font-size:9px}.loss-report-summary b{font-size:15px}}

.reports-heading{margin-bottom:18px}.reports-period-badge{display:flex;align-items:center;gap:7px;padding:9px 12px;border:1px solid #e4ebf3;border-radius:8px;background:#fff;color:#738197;font-size:11px}.reports-period-badge span{color:#3287ce;font-size:16px}.report-filter-panel{padding:15px 17px;margin-bottom:13px}.report-filters{display:grid;grid-template-columns:1fr 1fr 1.1fr auto auto;align-items:end;gap:10px}.report-filters>label{display:flex;flex-direction:column;gap:6px;color:#667386;font-size:10px}.report-date-input{height:39px;position:relative;display:flex;align-items:center;border:1px solid #e2e7ee;border-radius:7px;background:#fff;overflow:hidden}.report-date-input>span{position:absolute;right:9px;color:#a3adba;font-size:9px;pointer-events:none;direction:ltr}.report-date-input input{width:100%;height:100%;border:0;background:transparent;padding:0 9px;color:#34445a;font:12px var(--font);text-align:left;z-index:1}.report-date-input input:focus{outline:2px solid #1685ff30}.report-filters select{height:39px;border:1px solid #e2e7ee;border-radius:7px;padding:0 9px;background:#fff;color:#34445a;font:11px var(--font)}.report-filters .primary{height:39px;white-space:nowrap;padding:0 13px;font-size:11px}.report-reset{padding:0 3px 10px;color:#7c8ba0;text-decoration:none;font-size:10px;white-space:nowrap}.report-reset:hover{color:#1478e8}.report-filter-hint{display:block;margin-top:8px;color:#9aa4b2;font-size:9px}.report-error{margin:11px 0 0}.report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:13px}.report-kpi{display:flex;align-items:center;gap:10px;padding:13px 14px;border:1px solid #e8ecf2;border-radius:10px;background:#fff}.report-kpi-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;font-size:17px}.report-kpi>div{display:flex;flex-direction:column}.report-kpi small{color:#7e8a9d;font-size:10px}.report-kpi b{margin-top:1px;color:#293950;font-size:20px;line-height:1.2}.report-kpi em{margin-top:3px;color:#9aa4b2;font-size:9px;font-style:normal}.report-kpi-blue .report-kpi-icon{background:#eaf4ff;color:#3784ca}.report-kpi-green .report-kpi-icon{background:#e9f8f1;color:#21966e}.report-kpi-rose .report-kpi-icon{background:#fff0ed;color:#c96d5b}.report-kpi-violet .report-kpi-icon{background:#f2efff;color:#8170c7}.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;align-items:start}.report-panel{min-width:0;padding:16px}.report-panel .panel-title{margin-bottom:14px}.report-panel .panel-title h2{font-size:14px}.report-panel .panel-title p{font-size:10px}.report-chart-icon{width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:#eef6ff;color:#4389c8;font-size:18px}.report-chart-icon.green-chart{background:#eaf8f1;color:#3c9b78}.report-chart-icon.violet-chart{background:#f2efff;color:#8170c7}.report-wide-panel{grid-column:1/-1}.report-trend-panel{grid-column:1/-1;padding-bottom:16px}.report-trend-chart{height:235px;box-sizing:border-box;display:flex;align-items:stretch;gap:8px;padding:10px 8px 25px;border-bottom:1px solid #e9edf2;overflow:hidden}.report-trend-column{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;position:relative}.report-trend-column>b{font-size:10px;color:#73849a;font-weight:500}.report-trend-column>i{width:min(28px,65%);min-height:5px;flex:0 0 auto;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#56a4e9,#a9d5fa);transition:height .2s}.report-trend-column>span{font-size:9px;color:#8995a4;direction:ltr;white-space:nowrap}.report-model-chart{display:flex;flex-direction:column;gap:10px;padding:4px 0 12px}.report-model-row{display:grid;grid-template-columns:minmax(120px,190px) minmax(80px,1fr) 36px;align-items:center;gap:10px}.report-model-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#53647b;font-size:11px}.report-model-track{height:12px;border-radius:8px;background:#f0f3f7;overflow:hidden}.report-model-bar{height:100%;display:flex;overflow:hidden;border-radius:8px;background:linear-gradient(90deg,#a9d5fa,#56a4e9)}.report-model-bar .model-sold{height:100%;background:#38a47a}.report-model-bar .model-lost{height:100%;background:#e08c79}.report-model-total{text-align:left;color:#34445a;font-size:11px}.report-model-legend{display:flex;gap:18px;flex-wrap:wrap;padding:7px 0 13px;color:#77859a;font-size:10px}.report-model-legend span{display:inline-flex;align-items:center;gap:6px}.report-model-legend i{width:9px;height:9px;border-radius:3px}.model-total-key{background:#56a4e9}.model-sold-key{background:#38a47a}.model-lost-key{background:#e08c79}.report-model-table{min-width:560px}.report-status-chart{display:flex;flex-direction:column;gap:10px}.report-status-row>div:first-child{display:flex;justify-content:space-between;gap:8px;margin-bottom:5px;color:#69778b;font-size:10px}.report-status-row b{color:#405169;font-weight:600}.report-status-row b small{color:#97a1af;font-size:9px;font-weight:400}.report-status-track{height:7px;border-radius:8px;background:#f0f3f7;overflow:hidden}.report-status-track i{display:block;height:100%;min-width:2px;border-radius:8px;background:linear-gradient(90deg,#80b9ed,#4d99da)}.report-status-track i.sold{background:linear-gradient(90deg,#70c4a2,#2ca478)}.report-empty{padding:20px 8px;text-align:center;color:#9ba5b4;font-size:10px}.report-table-wrap{overflow-x:auto}.report-table{min-width:650px}.report-table th{padding:10px 12px;color:#8490a0;font-size:9px}.report-table td{padding:10px 12px;font-size:10px;color:#55647a}.report-table .report-part-name{max-width:330px;white-space:normal;line-height:1.7;color:#34445a}.report-count-pill{display:inline-flex;min-width:25px;justify-content:center;padding:3px 7px;border-radius:12px;font-size:9px}.sold-pill{background:#eaf8f1;color:#218861}.lost-pill{background:#fff0ed;color:#bb6656}.report-inline-rate{display:flex;align-items:center;gap:7px;min-width:95px}.report-inline-rate>span{width:58px;height:5px;border-radius:8px;background:#eef1f5;overflow:hidden}.report-inline-rate i{display:block;height:100%;background:#4fa67f}.report-inline-rate b{font-size:9px;color:#728096;font-weight:500}.report-sales-list,.report-source-list{display:flex;flex-direction:column}.report-sales-list>div,.report-source-list>div{display:grid;grid-template-columns:1fr 35px 42px;gap:8px;padding:8px 2px;border-bottom:1px solid #f0f2f5;color:#5f6d81;font-size:10px}.report-sales-list>div:last-child,.report-source-list>div:last-child{border-bottom:0}.report-sales-list b,.report-source-list b{text-align:center;color:#35475e}.report-sales-list small{text-align:left;color:#99a3b1;font-size:9px}
@media(max-width:900px){.report-filters{grid-template-columns:1fr 1fr 1fr}.report-filters .primary{grid-column:auto}.report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.reports-heading{align-items:flex-start;gap:12px}.reports-period-badge{font-size:9px}.report-filters{grid-template-columns:1fr 1fr}.report-filters>label:nth-child(3){grid-column:1/-1}.report-filters .primary{grid-column:1}.report-reset{padding-bottom:12px}.reports-grid{grid-template-columns:1fr}.report-wide-panel,.report-trend-panel{grid-column:auto}.report-trend-chart{height:210px;gap:4px;padding-right:2px;padding-left:2px}.report-trend-column>span{font-size:8px}.report-model-row{grid-template-columns:minmax(90px,120px) minmax(45px,1fr) 30px;gap:6px}.report-model-name,.report-model-total{font-size:9px}}

.request-view-tabs{display:flex;gap:7px;margin:-10px 0 17px;border-bottom:1px solid #e2e6ec}.request-view-tabs a{display:flex;align-items:center;gap:8px;padding:9px 13px;margin-bottom:-1px;border-bottom:2px solid transparent;color:#758197;text-decoration:none;font-size:11px}.request-view-tabs a.active{border-color:#1685ff;color:#176fc2;font-weight:700}.request-view-tabs a span{min-width:20px;padding:2px 6px;border-radius:10px;background:#eef1f5;text-align:center;color:#7a8799;font-size:9px}.request-view-tabs a.active span{background:#e8f3ff;color:#2478c2}.archive-card-form,.archive-actions form{margin:0}.archive-card-button,.restore-request-button{width:25px;height:25px;display:grid;place-items:center;border:1px solid #d8e7f1;border-radius:7px;background:#fff;color:#357da9;font:18px/1 var(--font);cursor:pointer;transition:.15s}.archive-card-button:hover{border-color:#afd0e2;background:#edf7fc;color:#216887}.request-archive-panel{padding:15px;min-width:0}.request-archive-panel .panel-title{margin-bottom:12px}.request-archive-panel .panel-title h2{font-size:15px}.request-archive-panel .panel-title p{font-size:10px}.archived-count{padding:5px 9px;border-radius:14px;background:#f0f3f7;color:#718096;font-size:10px}.request-archive-table{overflow:auto}.request-archive-table table{min-width:1000px}.request-archive-table th{padding:11px 10px;font-size:9px;white-space:nowrap}.request-archive-table td{padding:10px;font-size:10px;color:#5d6a7d;vertical-align:middle}.request-archive-table td b{color:#34445a}.request-archive-table td[dir="ltr"]{text-align:right;font-variant-numeric:tabular-nums}.request-archive-table .archive-part{min-width:200px;max-width:320px;white-space:normal;line-height:1.7}.archive-status{display:inline-block;padding:4px 7px;border-radius:6px;background:#f2f5f8;color:#64748b;font-size:9px;white-space:nowrap}.archive-actions{display:flex;align-items:center;gap:6px}.restore-request-button{color:#357da9;border-color:#d8e7f1;font-size:16px}.restore-request-button:hover{background:#edf7fc;border-color:#afd0e2}.archive-empty{text-align:center!important;color:#98a2b0!important;padding:35px!important}@media(max-width:700px){.request-view-tabs{margin-top:-3px}.request-view-tabs a{padding:8px 10px;font-size:10px}.request-archive-panel{padding:12px 9px}}

/* Readability pass: enlarge common labels and dense operational data. */
body{font-size:16px}.brand span,.nav-label{font-size:13px}.nav-link{font-size:15px}.user-chip b{font-size:14px}.user-chip small{font-size:12px}.topbar{font-size:14px}.date{font-size:13px}.content{font-size:15px}.eyebrow{font-size:13px}.page-heading h1{font-size:27px}.page-heading p,.panel-title p,.section-head p{font-size:14px}.section-head h2,.panel-title h2{font-size:17px}th{font-size:12px}td{font-size:13px}.form-grid label{font-size:13px}.form-grid input,.form-grid select{font-size:14px}.primary{font-size:14px}.alert{font-size:14px}
.dashboard-kpi .kpi-label{font-size:12px}.dashboard-kpi>b{font-size:24px}.dashboard-kpi>small{font-size:11px}.dashboard-panel .panel-title h2{font-size:15px}.dashboard-panel .panel-title p{font-size:12px}.status-row b,.status-row strong{font-size:12px}.inventory-alert-list>a span{font-size:12px}.inventory-alert-list>a small{font-size:10px}.dashboard-request-main b,.dashboard-event b{font-size:12px}.dashboard-request-main span{font-size:11px}.dashboard-request-side small{font-size:10px}.dashboard-request-side time,.dashboard-event time{font-size:10px}.dashboard-event small{font-size:11px}.popular-parts-list span{font-size:12px}.popular-parts-list b{font-size:11px}
.request-view-tabs a{font-size:13px}.request-view-tabs a span{font-size:10px}.kanban-column-head h2{font-size:15px}.column-count{font-size:12px}.request-card-top b{font-size:15px}.request-card-id{font-size:11px}.request-phone{font-size:12px}.request-part{font-size:14px}.request-car{font-size:12px}.request-card-meta{font-size:10px}.card-stage-form select{font-size:12px}.column-settings>summary{font-size:12px}.column-settings-pop h2{font-size:16px}.column-settings-pop>p{font-size:12px}.settings-column label,.add-column-form label{font-size:11px}.settings-column input,.settings-column select,.add-column-form input{font-size:12px}.column-settings-pop>small{font-size:10px}.dialog-head h2{font-size:20px}.dialog-head p{font-size:12px}.dialog-form label{font-size:13px}.dialog-actions>span{font-size:12px}.secondary-button{font-size:13px}.request-part-field>label{font-size:13px}.request-part-control input{font-size:14px}.request-part-option{font-size:13px}.request-part-options-empty{font-size:12px}.request-selected-info b{font-size:13px}.request-selected-info small{font-size:12px}.request-product-price{font-size:11px}.request-product-price input{font-size:13px}.request-part-hint{font-size:12px}.request-loss-reason{font-size:11px}
.request-archive-panel .panel-title h2{font-size:16px}.request-archive-panel .panel-title p{font-size:11px}.archived-count{font-size:11px}.request-archive-table th{font-size:10px}.request-archive-table td{font-size:11px}.archive-status{font-size:10px}.restore-request-button{font-size:17px}.parts-stats small{font-size:13px}.parts-stats b{font-size:21px}.parts-data-note{font-size:13px}.parts-filter label,.parts-filter select,.parts-filter input,.parts-clear{font-size:13px}.parts-badge{font-size:12px}.parts-table td,.parts-table th{font-size:13px}
.customer-card-main b{font-size:15px}.customer-card-main span{font-size:13px}.customer-card-main small{font-size:12px}.customer-profile-stats small{font-size:11px}.customer-request-top>b{font-size:13px}.customer-status{font-size:11px}.customer-request-part{font-size:13px}.customer-request-meta{font-size:11px}.timeline-content b{font-size:13px}.timeline-content small,.timeline-content p{font-size:12px}
.report-filters>label{font-size:11px}.report-date-input input,.report-filters select{font-size:13px}.report-filter-hint{font-size:10px}.report-kpi small{font-size:11px}.report-kpi b{font-size:22px}.report-kpi em{font-size:10px}.report-panel .panel-title h2{font-size:15px}.report-panel .panel-title p{font-size:11px}.report-trend-column>b{font-size:10px}.report-trend-column>span{font-size:9px}.report-status-row>div:first-child{font-size:11px}.report-status-row b small{font-size:10px}.report-table th{font-size:10px}.report-table td{font-size:12px}.report-count-pill,.report-inline-rate b{font-size:10px}.report-sales-list>div,.report-source-list>div{font-size:11px}.report-sales-list small{font-size:10px}.loss-report-eyebrow{font-size:11px}.loss-report-summary small{font-size:11px}.loss-report-summary b{font-size:19px}.loss-report-details h3{font-size:13px}.loss-reason-label,.loss-reason-label b{font-size:11px}.loss-part-name{font-size:11px}.loss-part-row>b{font-size:10px}
@media(max-width:700px){.page-heading h1{font-size:24px}.request-card-top b{font-size:14px}.request-part{font-size:13px}.request-archive-table td{font-size:11px}.report-kpi b{font-size:20px}.request-view-tabs a{font-size:12px}}

.report-date-input{overflow:visible;z-index:3}.report-date-input:has(.jalali-calendar:not([hidden])){z-index:30}.report-date-placeholder{z-index:0;pointer-events:none;color:#8998aa;font-size:14px}.report-date-input input{cursor:pointer;background:#fff!important}.report-date-input input:focus{outline:0!important;box-shadow:0 0 0 3px #1685ff18}.jalali-calendar{position:absolute;z-index:50;top:calc(100% + 7px);right:0;width:280px;padding:12px;border:1px solid #e1e7ef;border-radius:12px;background:#fff;box-shadow:0 16px 42px #1c30451f;direction:rtl}.jalali-calendar[hidden]{display:none!important}.jalali-calendar-head{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;gap:7px;margin-bottom:10px}.jalali-calendar-head b{text-align:center;color:#34445a;font-size:13px}.jalali-calendar-head button{width:32px;height:30px;border:1px solid #e6ebf1;border-radius:7px;background:#f8fafc;color:#58718d;font:20px/1 var(--font);cursor:pointer}.jalali-calendar-head button:hover{background:#edf6ff;border-color:#c9def4;color:#1878d4}.jalali-weekdays,.jalali-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}.jalali-weekdays{margin-bottom:5px}.jalali-weekdays span{padding:4px 0;color:#8b97a7;font-size:10px}.jalali-day{height:31px;border:1px solid transparent;border-radius:7px;background:transparent;color:#46566d;font:11px var(--font);cursor:pointer}.jalali-day:hover{border-color:#c9dff7;background:#eff7ff;color:#176fc2}.jalali-day.selected{background:#1685ff;color:#fff;font-weight:700}.jalali-day.today:not(.selected){border-color:#1685ff;color:#1478e8;font-weight:700}.jalali-day-empty{height:31px}.jalali-days:empty{display:block;padding:12px;color:#8b97a7;font-size:11px}
@media(max-width:700px){.jalali-calendar{width:min(280px,calc(100vw - 40px));right:0}.report-date-input:has(.jalali-calendar:not([hidden])){z-index:40}}
.report-source-chart-layout{display:grid;grid-template-columns:minmax(150px,210px) minmax(0,1fr);align-items:center;gap:22px;min-height:210px}.report-source-donut{width:min(100%,190px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;justify-self:center;position:relative}.report-source-donut-hole{width:58%;height:58%;border-radius:50%;background:#fff;box-shadow:0 0 0 1px #edf0f4;display:flex;flex-direction:column;align-items:center;justify-content:center}.report-source-donut-hole b{font-size:24px;line-height:1.2;color:#293950}.report-source-donut-hole small{margin-top:4px;color:#8995a4;font-size:10px}.report-source-legend{display:flex;flex-direction:column;gap:3px}.report-source-legend-row{display:grid;grid-template-columns:10px minmax(0,1fr) 36px 42px;align-items:center;gap:8px;padding:7px 2px;border-bottom:1px solid #f0f2f5;color:#5f6d81;font-size:11px}.report-source-legend-row:last-child{border-bottom:0}.report-source-legend-row>i{width:9px;height:9px;border-radius:3px}.report-source-legend-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-source-legend-row>b{text-align:center;color:#35475e}.report-source-legend-row>small{text-align:left;color:#8995a4;font-size:10px}@media(max-width:700px){.report-source-chart-layout{grid-template-columns:1fr;gap:12px;padding:8px 0}.report-source-donut{width:155px}.report-source-legend-row{font-size:10px}}
.delete-request-form{margin:0}.delete-request-button{width:25px;height:25px;display:grid;place-items:center;border:1px solid #f0c7c1;border-radius:7px;background:#fff7f5;color:#b94c3e;font:17px/1 var(--font);cursor:pointer;transition:.15s}.delete-request-button svg{width:14px;height:14px;fill:currentColor}.delete-request-button:hover{border-color:#df8b7f;background:#ffebe7;color:#9f382c}
.request-drag-handle{display:grid;place-items:center;width:18px;height:25px;color:#9aa6b5;font-size:17px;cursor:grab;touch-action:none;user-select:none}.request-drag-handle:active{color:#397dae;cursor:grabbing}.request-card.pointer-dragging{opacity:.55;transform:scale(.98);box-shadow:0 8px 24px #19314a24}.kanban-pointer-dragging{user-select:none}
.request-system-price{color:#496987!important;font-weight:600}.request-product-price{flex-wrap:wrap;white-space:normal}.request-product-price span{min-width:max-content}
.request-card-top{gap:7px}.request-card-top>b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-card-actions{gap:4px}.request-card-actions .request-edit-button,.request-card-actions .archive-card-button,.request-card-actions .delete-request-button{width:29px;height:29px;flex:0 0 29px;border-radius:8px}.request-card-actions .request-edit-button{font-size:17px}.request-card-actions .archive-card-button svg{width:15px;height:15px;fill:currentColor}.request-card-actions .delete-request-button svg{width:15px;height:15px}.request-card-actions .request-drag-handle{width:22px;height:29px;flex:0 0 22px;border-radius:7px;background:#f6f8fb;color:#77889c;font-size:19px}.request-card-actions .request-card-id{min-width:27px;padding:4px 5px;text-align:center;font-size:10px;line-height:1.2}
.request-card-top{gap:6px;position:relative}.request-card-top>b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.request-card-menu{position:relative;flex:0 0 30px;z-index:5}.request-card-menu>summary{list-style:none;display:grid;place-items:center;width:30px;height:30px;border:1px solid #e0e7f0;border-radius:8px;background:#fff;color:#637990;font:23px/1 var(--font);cursor:pointer;user-select:none}.request-card-menu>summary::-webkit-details-marker{display:none}.request-card-menu>summary:hover,.request-card-menu[open]>summary{border-color:#bed5ee;background:#f2f8ff;color:#1879d5}.request-card-menu-pop{position:absolute;top:calc(100% + 5px);right:0;display:grid;grid-template-columns:repeat(2,34px);gap:6px;min-width:80px;padding:7px;border:1px solid #e4e9f0;border-radius:10px;background:#fff;box-shadow:0 8px 22px #24384d20}.request-card-menu-pop form{margin:0}.request-card-menu-pop .request-drag-handle,.request-card-menu-pop .request-edit-button,.request-card-menu-pop .archive-card-button,.request-card-menu-pop .delete-request-button{width:34px;height:34px;flex:0 0 34px;border-radius:8px}.request-card-menu-pop .request-drag-handle{background:#f6f8fb;color:#77889c;font-size:20px}.request-card-menu-pop .archive-card-button svg,.request-card-menu-pop .delete-request-button svg{width:16px;height:16px}
.request-card-customer-prices{margin-top:5px;padding:5px 7px;border-radius:6px;background:#f0f7ff;color:#24629a;font-size:11px;font-weight:600;line-height:1.6}
.request-card-menu>summary{width:26px;height:28px;border:0;border-radius:6px;background:transparent;color:#8995a3;font-size:21px}.request-card-menu>summary:hover,.request-card-menu[open]>summary{border:0;background:#f1f3f6;color:#566477}.request-card-menu-pop{display:flex;flex-direction:column;gap:1px;min-width:118px;padding:4px;border:1px solid #e9edf2;border-radius:8px;box-shadow:0 5px 14px #24384d14}.request-card-menu-pop .menu-text-action{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:29px;height:auto;flex:0 0 auto;padding:5px 8px;border:0;border-radius:5px;background:transparent;color:#5e6d80;font:10px/1.4 var(--font);text-align:right;white-space:nowrap;cursor:pointer}.request-card-menu-pop .menu-text-action:hover{background:#f4f7fa;color:#24364b}.request-card-menu-pop .delete-request-button.menu-text-action{color:#b94c3e}.request-card-menu-pop .delete-request-button.menu-text-action:hover{background:#fff3f1}.request-card-menu-pop .request-drag-handle.menu-text-action{touch-action:none;user-select:none;cursor:grab}.request-card-menu-pop form{width:100%}
.request-edit-dialog-head{position:relative;padding-left:185px}.request-edit-invoice-button{position:absolute;left:66px;top:22px;display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border:1px solid #d7e8f6;border-radius:7px;background:#f2f8fd;color:#2879b6;text-decoration:none;font-size:11px;font-weight:600;white-space:nowrap}.request-edit-invoice-button:hover{background:#e7f3fc;border-color:#b7d5eb}.invoice-create-heading{margin-bottom:20px}.invoice-create-heading>a{display:inline-block;margin-bottom:16px;color:#56718e;text-decoration:none;font-size:12px}.invoice-create-heading h1{margin:0;font-size:25px}.invoice-create-heading p{margin:6px 0 0;color:#8491a2;font-size:13px}.invoice-editor{display:grid;gap:16px}.invoice-stage-panel{padding:20px}.invoice-stage-panel .panel-title{align-items:center;margin-bottom:15px}.invoice-stage-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.invoice-stage-grid label,.invoice-adjustments label{display:flex;flex-direction:column;gap:6px;color:#596a80;font-size:12px}.invoice-stage-grid label em{font-style:normal;color:#df5667}.invoice-stage-grid input,.invoice-stage-grid textarea,.invoice-adjustments input{width:100%;min-height:39px;border:1px solid #e1e6ed;border-radius:7px;padding:8px 10px;background:white;color:#344054;font:13px var(--font)}.invoice-stage-grid textarea{resize:vertical;line-height:1.8}.invoice-stage-grid input:focus,.invoice-stage-grid textarea:focus,.invoice-adjustments input:focus{outline:2px solid #1685ff25;border-color:#90b9eb}.invoice-stage-grid .invoice-address{grid-column:1/-1}.invoice-lines-wrap{overflow:auto}.invoice-lines{min-width:760px}.invoice-lines th{padding:10px 8px;white-space:nowrap}.invoice-lines td{padding:8px}.invoice-lines td input{width:100%;min-width:65px;height:36px;padding:5px 7px;border:1px solid #e1e6ed;border-radius:6px;background:#fff;color:#344054;font:12px var(--font)}.invoice-lines td:first-child input{min-width:180px}.invoice-lines td:nth-child(2){width:85px}.invoice-lines td:nth-child(3){width:155px}.invoice-lines td:nth-child(4){width:100px}.invoice-lines td:nth-child(5){min-width:130px;color:#354a64;font-weight:600}.invoice-remove-line{width:28px;height:28px;border:0;border-radius:6px;background:#fff3f1;color:#b94c3e;font:19px var(--font);cursor:pointer}.invoice-adjustments{display:flex;justify-content:flex-start;gap:12px;margin-top:15px}.invoice-adjustments label{width:min(250px,50%)}.invoice-total-box{max-width:440px;margin:16px 0 0 auto;padding:11px 14px;border:1px solid #edf0f4;border-radius:9px;background:#fafbfd}.invoice-total-box>div,.proforma-summary>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 0;color:#66758a;font-size:12px}.invoice-total-box b,.proforma-summary b{color:#33465f;font-size:13px}.invoice-total-box .invoice-grand-total,.proforma-summary .proforma-final{margin-top:5px;padding-top:11px;border-top:1px solid #e5eaf0;color:#263a54;font-weight:700}.invoice-total-box .invoice-grand-total b,.proforma-summary .proforma-final b{color:#176fc2;font-size:16px}.invoice-stage-actions{display:flex;align-items:center;gap:12px}.invoice-stage-actions>span{margin-right:auto;color:#8793a3;font-size:11px}.invoice-view-actions{display:flex;justify-content:space-between;margin-bottom:15px}.proforma-paper{max-width:950px;min-height:900px;margin:auto;padding:42px;background:#fff;border:1px solid #e6eaf0;border-radius:12px;box-shadow:0 5px 24px #17243a0b;color:#27384f}.proforma-header{display:flex;justify-content:space-between;gap:25px;padding-bottom:22px;border-bottom:2px solid #227ac0}.proforma-header h1{margin:3px 0 6px;font-size:23px}.proforma-header p{margin:4px 0;color:#68788e;font-size:11px}.proforma-number{display:flex;flex-direction:column;align-items:flex-start;gap:6px;color:#64748b;font-size:11px}.proforma-number>b{padding:7px 10px;border-radius:6px;background:#eff7ff;color:#176fc2;font-size:15px}.proforma-parties{display:grid;grid-template-columns:1fr 1fr;gap:15px;padding:20px 0}.proforma-parties>div{padding:14px;border:1px solid #e7ebf1;border-radius:8px}.proforma-parties h2,.proforma-notes h2{margin:0 0 10px;color:#4d6079;font-size:13px}.proforma-parties p,.proforma-notes p{margin:5px 0;color:#4f5f73;font-size:11px;line-height:1.9;white-space:pre-wrap}.proforma-items{margin-top:5px}.proforma-items th{padding:11px 8px;background:#f3f7fb;color:#52647b;font-size:10px}.proforma-items td{padding:10px 8px;font-size:11px}.proforma-summary{width:min(410px,100%);margin:18px 0 0 auto;padding:8px 14px;border:1px solid #e8ecf1;border-radius:8px;background:#fafbfd}.proforma-notes{margin-top:22px;padding:13px 15px;border:1px solid #e8ecf1;border-radius:8px}.proforma-footer{display:flex;justify-content:space-between;gap:12px;margin-top:45px;padding-top:12px;border-top:1px solid #e7ebf0;color:#8a95a4;font-size:10px}.customer-invoices-panel{margin:20px 0;padding:16px}.customer-invoices-panel .panel-title{margin-bottom:10px}.customer-invoice-list{display:grid;gap:7px}.customer-invoice-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #edf0f4;border-radius:8px;color:#52647b;text-decoration:none;font-size:11px}.customer-invoice-list>a:hover{border-color:#c8dff2;background:#f8fbfe}.customer-invoice-list>a span:first-child{display:flex;flex-direction:column;gap:4px}.customer-invoice-list b{color:#2c4059}.customer-invoice-list small{color:#8a95a4;font-size:10px}
@media(max-width:700px){.request-edit-dialog-head{padding-left:140px}.request-edit-invoice-button{left:58px;top:19px;padding:7px 8px;font-size:9px}.invoice-stage-grid{grid-template-columns:1fr}.invoice-stage-grid .invoice-address{grid-column:auto}.invoice-stage-panel{padding:14px}.invoice-adjustments{flex-wrap:wrap}.invoice-adjustments label{width:100%}.invoice-stage-actions{flex-wrap:wrap}.invoice-stage-actions>span{order:3;width:100%;margin:0}.proforma-paper{padding:20px 14px;border-radius:0}.proforma-header{gap:12px}.proforma-header h1{font-size:18px}.proforma-number{font-size:9px}.proforma-parties{grid-template-columns:1fr}.proforma-footer{flex-direction:column}.customer-invoice-list>a{align-items:flex-start}.customer-invoice-list>a>span:last-child{white-space:nowrap;font-size:9px}}
@media print{body{background:#fff!important}.sidebar,.topbar,.no-print{display:none!important}.main{margin:0!important;min-height:0!important}.content{max-width:none!important;padding:0!important}.proforma-paper{max-width:none;min-height:0;margin:0;padding:18mm;border:0;border-radius:0;box-shadow:none}.proforma-header,.proforma-parties,.proforma-items,.proforma-summary,.proforma-notes,.proforma-footer{break-inside:avoid}.proforma-paper *{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.request-description-field{grid-column:1/-1}.request-description-field textarea{width:100%;min-height:76px;border:1px solid #e1e6ed;border-radius:7px;padding:9px 10px;background:#fff;color:#344054;font:13px/1.8 var(--font);resize:vertical}.request-description-field textarea:focus{outline:2px solid #1685ff25;border-color:#90b9eb}.request-card-description{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin-top:7px;padding:6px 8px;border-radius:6px;background:#f7f9fc;color:#69788b;font-size:11px;line-height:1.7;white-space:pre-wrap}.request-archive-table .archive-description{min-width:170px;max-width:280px;white-space:pre-wrap;line-height:1.7}.customer-request-description{margin:8px 0 0;padding:7px 9px;border-radius:7px;background:#f7f9fc;color:#66758a;font-size:12px;line-height:1.8;white-space:pre-wrap}
@page{size:A4 landscape;margin:6mm}
@media print{.content>.alert{display:none!important}.proforma-paper{width:100%;max-width:none;min-height:0;margin:0;padding:6mm 7mm;border:0;border-radius:0;box-shadow:none;font-size:9px;zoom:.94}.proforma-header{gap:12px;padding-bottom:10px}.proforma-header h1{margin:2px 0 4px;font-size:17px}.proforma-header p{margin:2px 0;font-size:8px}.proforma-number{gap:3px;font-size:8px}.proforma-number>b{padding:4px 7px;font-size:11px}.proforma-parties{grid-template-columns:1fr 1fr;gap:8px;padding:10px 0}.proforma-parties>div{padding:7px}.proforma-parties h2,.proforma-notes h2{margin-bottom:4px;font-size:9px}.proforma-parties p,.proforma-notes p{margin:2px 0;font-size:8px;line-height:1.5}.proforma-items{margin-top:2px}.proforma-items th{padding:5px 4px;font-size:8px}.proforma-items td{padding:4px;font-size:8px}.proforma-summary{width:340px;margin-top:8px;padding:4px 9px}.proforma-summary>div{padding:3px 0;font-size:8px}.proforma-summary b{font-size:9px}.proforma-summary .proforma-final{margin-top:2px;padding-top:5px}.proforma-summary .proforma-final b{font-size:11px}.proforma-notes{margin-top:8px;padding:7px 9px}.proforma-footer{gap:8px;margin-top:14px;padding-top:6px;font-size:7px}.proforma-paper,.proforma-paper *{break-inside:avoid;page-break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
.nav-section-title{padding:16px 12px 4px;color:#738099;font-size:11px}.sidebar-nav-group{margin:2px 0}.sidebar-nav-group>summary{list-style:none;user-select:none}.sidebar-nav-group>summary::-webkit-details-marker{display:none}.sidebar-nav-group>summary .nav-chevron{margin-right:auto;width:auto;font-size:13px;transition:transform .15s}.sidebar-nav-group[open]>summary .nav-chevron{transform:rotate(180deg)}.sidebar-nav-children{padding:1px 0 2px}.sidebar-nav-children .finance-sub-link{padding:5px 34px 5px 12px!important;margin:1px 0!important;width:100%!important;font-size:12px!important;color:#78869a!important}.sidebar-nav-children .finance-sub-link>span{font-size:12px!important;width:auto!important}.sidebar-nav-children .finance-sub-link.selected{background:#1a2946!important;color:#fff!important}.sidebar-nav-children .finance-sub-link:hover{background:#d8dde5!important;color:#26364b!important}.sidebar-nav-children .finance-sub-link.selected:hover{background:#1a2946!important;color:#fff!important}.finance-sub-link>span{font-size:16px!important}.finance-heading{margin-bottom:18px}.finance-status-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:-5px 0 16px}.finance-status-tabs>a{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid #e7ebf0;border-radius:7px;background:#fff;color:#65758b;text-decoration:none;font-size:11px}.finance-status-tabs>a.active{border-color:#b9d7f2;background:#eff7ff;color:#176fc2;font-weight:700}.finance-status-tabs span{min-width:19px;padding:2px 5px;border-radius:9px;background:#f0f3f7;text-align:center;font-size:9px}.finance-invoices-panel{padding:15px}.finance-invoice-list{display:grid;gap:10px}.finance-invoice-row{padding:13px;border:1px solid #e9edf2;border-radius:9px;background:#fff}.finance-invoice-summary{display:grid;grid-template-columns:minmax(145px,1.1fr) minmax(150px,1fr) minmax(150px,1fr) minmax(135px,.9fr) auto;align-items:center;gap:12px}.finance-invoice-id{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.finance-invoice-id>a{color:#176fc2;font-size:13px;font-weight:700;text-decoration:none}.finance-state{display:inline-flex;padding:4px 7px;border-radius:6px;background:#fff6e8;color:#a97422;font-size:10px;white-space:nowrap}.finance-state-approved{background:#eaf8f1;color:#16835e}.finance-state-rejected{background:#fff0ef;color:#b84b40}.finance-state-revision{background:#f2efff;color:#765ac2}.finance-customer,.finance-amount{display:flex;flex-direction:column;gap:4px}.finance-customer b{color:#34465d;font-size:12px}.finance-customer span,.finance-customer small,.finance-amount small,.finance-created{color:#8491a2;font-size:10px}.finance-amount b{color:#34465d;font-size:12px}.finance-open-link{color:#52718f;font-size:11px;text-decoration:none}.finance-previous-note{margin-top:11px;padding:8px 10px;border-radius:6px;background:#f6f8fb;color:#69788c;font-size:11px;line-height:1.7}.finance-review-form{display:grid;grid-template-columns:minmax(200px,1fr) auto;align-items:end;gap:12px;margin-top:12px;padding-top:11px;border-top:1px solid #f0f2f5}.finance-review-form label{display:flex;flex-direction:column;gap:5px;color:#768398;font-size:10px}.finance-review-form textarea{width:100%;min-height:52px;resize:vertical;padding:7px 9px;border:1px solid #e1e6ed;border-radius:6px;font:11px/1.7 var(--font);color:#344054}.finance-review-actions{display:flex;flex-wrap:wrap;gap:6px}.finance-review-actions button{padding:7px 10px;border:1px solid transparent;border-radius:6px;font:11px var(--font);cursor:pointer}.finance-approve{background:#e9f8f1;color:#16835e}.finance-approve:hover{background:#d9f2e6}.finance-revise{background:#f3f0ff;color:#765ac2}.finance-revise:hover{background:#e8e2ff}.finance-reject{background:#fff1ef;color:#b84b40}.finance-reject:hover{background:#ffe4e0}.finance-empty{padding:35px}.proforma-finance-banner{margin:0 auto 12px;max-width:950px;padding:10px 14px;border:1px solid #e7ebf0;border-radius:8px;background:#fff;color:#617188;font-size:11px}.proforma-finance-banner>span{margin-left:14px}.proforma-finance-banner p{margin:7px 0 0;line-height:1.7}.customer-invoice-state{color:#65758b;font-size:10px}
@media(max-width:900px){.finance-invoice-summary{grid-template-columns:1fr 1fr}.finance-review-form{grid-template-columns:1fr}.finance-review-actions{justify-content:flex-start}}
@media(max-width:700px){.finance-invoices-panel{padding:9px}.finance-invoice-row{padding:10px}.finance-invoice-summary{grid-template-columns:1fr 1fr;gap:8px}.finance-invoice-id{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}.finance-created{align-self:center}.finance-open-link{justify-self:end}.finance-review-actions button{flex:1;padding:8px 5px;font-size:10px}.finance-status-tabs{gap:5px}.finance-status-tabs>a{font-size:10px;padding:7px}.proforma-finance-banner>span{display:block;margin:3px 0}}

.request-card-invoice-pin{display:grid;place-items:center;flex:0 0 22px;width:22px;height:25px;border-radius:6px;color:#347caf;text-decoration:none}.request-card-invoice-pin:hover{background:#edf6fc;color:#17699f}.request-card-invoice-pin svg{width:15px;height:15px;fill:currentColor}
.account-menu{position:relative;z-index:20}.account-menu>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;user-select:none;color:#526176;font-size:12px}.account-menu>summary::-webkit-details-marker{display:none}.account-avatar{width:32px;height:32px;border-radius:9px;font-size:13px}.account-summary-name{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-chevron{color:#8491a2;font-size:13px;transition:transform .15s}.account-menu[open] .account-chevron{transform:rotate(180deg)}.account-menu-pop{position:absolute;left:0;top:calc(100% + 9px);width:205px;padding:7px;border:1px solid #e6eaf0;border-radius:10px;background:#fff;box-shadow:0 10px 26px #1f31431c}.account-menu-identity{display:flex;flex-direction:column;gap:4px;padding:8px 9px 10px;border-bottom:1px solid #eef1f4}.account-menu-identity b{color:#34445a;font-size:12px}.account-menu-identity small{color:#8491a2;font-size:10px}.account-menu-pop>a,.account-menu-pop form button{display:flex;align-items:center;gap:9px;width:100%;padding:9px;border:0;border-radius:6px;background:transparent;color:#5c6b7f;text-decoration:none;text-align:right;font:11px var(--font);cursor:pointer}.account-menu-pop>a:hover,.account-menu-pop form button:hover{background:#f3f6f9;color:#263a53}.account-menu-pop form{margin:0}.account-menu-pop form button{color:#b44d43}.account-menu-pop form button:hover{background:#fff2f0;color:#9e3c33}.account-menu-pop a span,.account-menu-pop button span{width:18px;text-align:center;font-size:14px}
@media(max-width:700px){.account-summary-name{display:none}.account-menu>summary{gap:4px}.account-avatar{width:30px;height:30px}.account-menu-pop{left:0;right:auto;top:calc(100% + 7px)}}

.finance-pending-badge{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;min-width:19px;width:auto!important;height:19px;padding:0 5px;margin-right:2px;border-radius:999px;background:#dc4652;color:#fff;font-size:10px!important;font-weight:700;line-height:1;text-align:center}.sidebar-nav-group>summary.selected .finance-pending-badge{background:#df4653;color:#fff}
.my-invoices-heading{margin-bottom:18px}.my-invoices-panel{padding:15px}.my-invoice-list{display:grid;gap:10px}.my-invoice-row{padding:13px;border:1px solid #e9edf2;border-radius:9px;background:#fff}.my-invoice-main{display:grid;grid-template-columns:minmax(145px,1.1fr) minmax(150px,1fr) minmax(150px,1fr) auto;align-items:center;gap:12px}.my-invoice-number{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.my-invoice-number>a{color:#176fc2;font-size:13px;font-weight:700;text-decoration:none}.my-invoice-customer,.my-invoice-total{display:flex;flex-direction:column;gap:4px}.my-invoice-customer b,.my-invoice-total b{color:#34465d;font-size:12px}.my-invoice-customer span,.my-invoice-customer small,.my-invoice-total small{color:#8491a2;font-size:10px}.my-invoice-view{padding:7px 10px;text-align:center;text-decoration:none;font-size:10px;white-space:nowrap}.my-invoice-feedback{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:12px;padding:10px;border-radius:7px;background:#f7f4ff;color:#5f527f}.my-invoice-alert{color:#8b54c7;font-size:11px;font-weight:700;white-space:nowrap}.my-invoice-feedback>div>b{font-size:11px}.my-invoice-feedback p{margin:4px 0 0;color:#6e6880;font-size:11px;line-height:1.7;white-space:pre-wrap}.my-invoice-correct{padding:8px 11px;text-decoration:none;text-align:center;font-size:10px;white-space:nowrap}.my-invoice-feedback-neutral{grid-template-columns:1fr;background:#f6f8fb;color:#637188}.my-invoice-feedback-neutral p{color:#6f7d91}.my-invoices-empty{padding:40px;text-align:center}
@media(max-width:800px){.my-invoice-main{grid-template-columns:1fr 1fr}.my-invoice-number{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between}.my-invoice-feedback{grid-template-columns:1fr}.my-invoice-correct{justify-self:start}}
@media(max-width:520px){.my-invoices-panel{padding:9px}.my-invoice-row{padding:9px}.my-invoice-main{gap:8px}.my-invoice-customer b,.my-invoice-total b{font-size:11px}.my-invoice-correct{width:100%}}
