@charset "UTF-8";
:root{--navy:#111c31;--navy2:#192942;--blue:#2267e8;--blue-light:#eaf1ff;--text:#1d2a3e;--muted:#748097;--border:#e5eaf2;--bg:#f4f6fa;--white:#fff;--green:#12805b;--amber:#ad7019;--red:#c14545;--shadow:0 5px 22px #172e5310}
*{box-sizing:border-box}body{margin:0;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.55;color:var(--text);background:var(--bg)}a{color:var(--blue);text-decoration:none}a:hover{color:#124ebd}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #69a5ff;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.22;letter-spacing:-1px;margin-bottom:9px;font-weight:750}h2{font-size:19px;line-height:1.4;letter-spacing:-.3px;margin-bottom:13px}h3{font-size:16px;margin-bottom:10px}p{color:var(--muted);line-height:1.7;margin-bottom:15px}strong{font-weight:650}.icon{width:20px;height:20px;flex-shrink:0}.eyebrow{display:block;font-size:11px;letter-spacing:1.9px;font-weight:750;color:var(--muted);margin-bottom:10px}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:var(--navy);color:#adbad2;display:flex;flex-direction:column;z-index:50;padding:18px 14px;overflow-y:auto}.brand{display:flex;flex-direction:column;align-items:center;color:#8f9db9;margin:0 10px 30px}.brand img{width:182px;height:105px;object-fit:cover}.brand span{font-size:10px;letter-spacing:2.5px;margin-top:0}.nav-label{font-size:10px;letter-spacing:1.7px;color:#6d7f9f;font-weight:700;margin:0 14px 12px}.nav-item{display:flex;align-items:center;gap:12px;min-height:43px;padding:9px 12px;border-radius:7px;color:#9dacC6;margin-bottom:3px;font-size:13px;font-weight:550;transition:background .16s,color .16s}.nav-item .icon{width:18px;height:18px}.nav-item:hover{color:#fff;background:#21314b}.nav-item.active{background:#2267e8;color:white;box-shadow:0 5px 15px #0a101a35}.nav-count{margin-left:auto;background:#ffffff25;color:white;font-size:11px;border-radius:5px;padding:0 6px}.sidebar-bottom{margin-top:auto;padding:27px 15px 6px;display:flex;flex-direction:column;color:#667997;font-size:11px;gap:4px}.workspace-mark{font-weight:850;color:#e6edfb;font-size:19px;font-style:italic;letter-spacing:-1px}.workspace-mark span{font-size:12px;color:#89a0c5;margin-left:6px;font-weight:600;letter-spacing:.2px}.sidebar-bottom small{font-size:10px}.app-main{margin-left:244px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:79px;flex-shrink:0;background:white;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center;padding:0 35px;gap:15px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:24px}.breadcrumb{color:#8390a4;font-size:12px}.breadcrumb span{margin:0 13px;color:#c0c9d6}.breadcrumb strong{color:#506078;font-weight:500}.today-label{font-size:12px;color:var(--muted)}.user-chip{display:flex;gap:10px;align-items:center}.avatar{width:35px;height:35px;border-radius:50%;background:#e8effc;color:#2866d3;display:grid;place-items:center;font-weight:700;font-size:14px}.user-chip strong,.user-chip small{display:block;line-height:1.4}.user-chip strong{font-size:12px}.user-chip small{font-size:10px;color:#8b97aa}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:35px;height:35px;border:1px solid transparent;border-radius:7px;background:transparent;color:#718096;padding:6px}.icon-btn:hover{background:#eaf0fa;color:var(--blue)}.icon-btn.danger{color:var(--red)}.logout-form{margin:0}.mobile-toggle,.sidebar-overlay{display:none}.page-content{padding:31px 35px 40px;max-width:1800px;width:100%;margin:0 auto;flex:1}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-heading .eyebrow{font-size:10px;letter-spacing:1.8px;color:#8b97a9;margin-bottom:7px}.page-heading p{font-size:13px;margin:0}.heading-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 15px;background:#fff;border:1px solid #dbe2ee;border-radius:7px;color:#4d5e78;font-weight:600;font-size:12px;line-height:1.5;white-space:nowrap;transition:background .15s,box-shadow .15s}.btn .icon{width:16px;height:16px}.btn:hover{background:#f1f5fc;color:#173c7a}.btn.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 3px 7px #2267e820}.btn.primary:hover{background:#1858d0}.btn.small{min-height:31px;padding:5px 10px;font-size:12px}.btn.danger{background:#fff5f5;border-color:#f5d5d5;color:#ad3b3b}.btn.whatsapp{background:#e8f7ed;color:#187749;border-color:#c8e7d3}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stats-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:19px 20px 17px;min-width:0;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:#6f7e94;margin-bottom:15px}.stat-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:7px;background:#edf2f9;color:#7890b6}.stat-icon .icon{width:17px;height:17px}.stat-card>strong{display:block;font-size:25px;line-height:1.2;letter-spacing:-.8px;font-weight:720;color:#22334d;white-space:nowrap}.stat-card>small{display:block;margin-top:12px;font-size:10px;color:#929db0}.stat-card.blue .stat-icon{background:#eaf1ff;color:#2e6bdd}.stat-card.green .stat-icon{background:#e7f5ef;color:#249c75}.stat-card.amber .stat-icon{background:#fff4e2;color:#b98a37}.stat-card.dark{background:linear-gradient(120deg,#1b3153,#152440);border-color:#203653}.stat-card.dark .stat-top{color:#b5c4dd}.stat-card.dark>strong{color:white}.stat-card.dark>small{color:#9baecc}.stat-card.dark .stat-icon{background:#2c456d;color:#89b6ff}.card{background:white;border:1px solid var(--border);border-radius:10px;padding:23px;margin-bottom:22px;box-shadow:var(--shadow);min-width:0}.card.no-pad{padding:0;overflow:hidden}.card-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.card-heading h2{margin:0;font-size:16px}.card-heading p{font-size:12px;margin:5px 0 0}.card-heading>a{font-size:12px;font-weight:600}.card-heading>span{font-size:12px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,2.45fr) minmax(260px,1fr);gap:22px}.dashboard-grid>.card{padding:23px 0}.dashboard-grid>.card>.card-heading{padding:0 23px}.pipeline{display:grid;grid-template-columns:repeat(4,1fr);margin:0 23px 25px;border:1px solid var(--border);border-radius:9px;overflow:hidden}.pipeline-stage{padding:18px 13px;display:flex;flex-direction:column;position:relative;color:var(--text);border-right:1px solid var(--border);background:#fcfdff}.pipeline-stage:last-child{border-right:0}.pipeline-stage strong{font-size:28px;line-height:1.3;letter-spacing:-.7px}.pipeline-stage>span:last-child{font-size:11px;color:#7e8ba1;margin-top:5px}.pipeline-dot{position:absolute;right:13px;top:22px;width:7px;height:7px;border-radius:3px;background:#d4a63c}.pipeline-stage.repair .pipeline-dot{background:#4e84ec}.pipeline-stage.ready .pipeline-dot{background:#40ab85}.pipeline-stage.delivered .pipeline-dot{background:#98a5ba}.pipeline-stage:hover{background:#f2f7ff}.table-heading{padding-top:12px}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.two-col>.card{margin-bottom:22px}.dashboard-side .card{padding:21px}.balance-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 0;border-bottom:1px solid #edf0f5;font-size:12px}.balance-row span{color:#7b879c}.balance-row strong{font-size:13px;white-space:nowrap}.balance-total{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:17px;padding-top:8px;font-size:12px}.balance-total strong{font-size:21px;white-space:nowrap;color:#214a92}.balance-card>a{display:block;font-size:11px;margin-top:19px;border-top:1px solid var(--border);padding-top:16px}.attention-number{font-size:25px;color:#a56d20;font-weight:720;letter-spacing:-.7px}.dashboard-side p{font-size:12px;line-height:1.6;margin-top:8px}.dashboard-side .btn{width:100%}.activity-row{display:flex;align-items:center;gap:15px;justify-content:space-between;padding:15px 0;border-bottom:1px solid #edf0f6;color:#3e4e69;font-size:12px}.activity-row:last-child{border-bottom:0}.activity-row small{display:block;font-size:11px;color:#8a98aa;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-row strong{white-space:nowrap}.table-wrap{overflow:auto;width:100%}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.2px;color:#8b98ab;background:#f8fafd;padding:13px 15px;font-weight:600;white-space:nowrap;border-bottom:1px solid #e9edf5}td{padding:16px 15px;border-bottom:1px solid #edf0f5;color:#5b6a82;vertical-align:middle}tr:last-child td{border-bottom:none}tbody tr:hover{background:#fbfcff}td small{display:block;color:#91a0b4;font-size:10px;margin-top:4px}td a.strong,td strong{color:#35455f;font-weight:650}td:nth-child(2){max-width:330px}td .plate{font-weight:750;white-space:nowrap}.plate{font-family:"Segoe UI",Arial,sans-serif;letter-spacing:.3px;color:#243958;font-weight:700;font-size:12px}.num{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.row-link{display:flex;color:#8d9cb1}.row-link .icon{width:16px;height:16px}.badge{display:inline-flex;align-items:center;border-radius:5px;background:#f0f3f8;color:#738096;font-size:10px;line-height:1.5;padding:4px 8px;white-space:nowrap;font-weight:550}.badge.blue,.badge.repair,.badge.individual{background:#edf3ff;color:#527acf}.badge.insurance{background:#f0edfc;color:#8370b1}.badge.waiting{background:#fff6e6;color:#b48a3f}.badge.ready,.badge.accepted{background:#e8f6ef;color:#438e70}.badge.delivered{background:#edf1f5;color:#7d8ca3}.badge.cancelled{background:#fcecec;color:#b06a6a}.green{color:var(--green)!important}.amber{color:var(--amber)!important}.red{color:var(--red)!important}.filter-bar{display:flex;align-items:flex-end;gap:12px;margin-bottom:21px;flex-wrap:wrap}.filter-bar .field{min-width:160px;flex:0 1 190px}.filter-bar .field>span{font-size:11px}.filter-bar .btn{min-height:41px}.search-input{display:flex;align-items:center;gap:10px;flex:1;min-width:240px;background:#fff;border:1px solid #dce4ef;border-radius:7px;height:42px;padding:0 13px;color:#9ca8b9}.search-input input{border:0;outline:0;min-width:0;width:100%;font-size:12px;background:transparent}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field>span{color:#66758c;font-size:13px;font-weight:550}.field input,.field select,.field textarea{width:100%;padding:10px 12px;border:1px solid #dae2ee;border-radius:7px;background:white;outline:none;color:#354760;min-height:42px;transition:box-shadow .15s,border .15s;font-size:14px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#7da5ec;box-shadow:0 0 0 3px #2267e815}.field textarea{resize:vertical;line-height:1.6}.field input[type=file]{font-size:12px;background:#f8faff;padding:13px;border-style:dashed}.field small{font-size:11px;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:19px}.form-grid .wide{grid-column:1/-1}.form-grid .form-actions{margin-top:4px}.form-card{max-width:1000px}.form-section{border-top:1px solid var(--border);padding-top:21px;margin-top:8px;margin-bottom:0}.inline-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:13px 0}.inline-form .field{flex:1;min-width:140px}.inline-form input{padding:7px 10px}.info-box{padding:16px 19px;border:1px solid #dbe8ff;background:#f0f6ff;border-radius:8px;font-size:13px;color:#5a7195;line-height:1.75;margin:18px 0}.hint{font-size:12px;color:#8995a8;margin-top:14px;line-height:1.7}.alert{padding:15px 19px;border-radius:8px;margin-bottom:22px;background:#e9f8f0;border:1px solid #c9ead9;color:#22724f;font-size:14px}.alert.error{background:#fff0f0;border-color:#f2d2d2;color:#af4949}.empty{text-align:center;padding:40px 20px;color:#9ca9bd}.empty-icon{display:flex;align-items:center;justify-content:center;margin:0 auto 14px;width:47px;height:47px;border-radius:12px;background:#f2f6fd;color:#809ac0;font-size:25px}.empty h3{font-size:14px;font-weight:600;color:#6a7d98;margin-bottom:5px}.empty p{font-size:12px;margin:0;line-height:1.8}.pagination{display:flex;justify-content:center;align-items:center;gap:17px;margin:20px 0;font-size:12px;color:var(--muted)}details{margin:10px 0}summary{cursor:pointer;font-weight:600;color:#3c639b;font-size:13px;padding:8px 0;line-height:1.6}details[open]>summary{margin-bottom:10px}.void-details summary{color:#bd6969;font-size:11px}.void-details .field>span{font-size:10px}.void-details .btn{font-size:10px}.void-details input{font-size:11px;min-width:160px}.voided td{opacity:.6;text-decoration:line-through}.voided td small{text-decoration:none}.action-stack{display:flex;gap:6px;flex-wrap:wrap}.vehicle-status-line{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:-7px;margin-bottom:24px;font-size:11px;color:#8a98ae}.tabs{display:flex;gap:23px;overflow-x:auto;border-bottom:1px solid #dce3ed;margin-bottom:25px;white-space:nowrap}.tabs a{padding:13px 0;color:#8591a5;font-size:13px;border-bottom:3px solid transparent;font-weight:550}.tabs a.active{color:var(--blue);border-color:var(--blue)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px 20px;margin:22px 0 28px}.detail-grid dt{font-size:11px;color:#929eb0;margin-bottom:5px}.detail-grid dd{margin:0;color:#3d4e67;font-size:14px;font-weight:550;overflow-wrap:anywhere}.preline{white-space:pre-line;font-size:14px}.large-link{font-size:20px;font-weight:650;display:block;margin:15px 0}.allocation-bar{height:9px;background:#edf1f8;border-radius:6px;overflow:hidden;margin:25px 0 8px}.allocation-bar span{display:block;height:100%;background:#3778ed}.note-item{padding:18px 0;border-top:1px solid var(--border)}.note-item>small{color:#8a98ac;font-size:11px}.note-item p{color:#455770;font-size:14px;margin:8px 0}.documents-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:18px;margin-top:20px}.document-card{border:1px solid var(--border);border-radius:9px;overflow:hidden;color:#516580;display:block}.document-card>img{display:block;width:100%;height:160px;object-fit:cover;background:#eef3f8}.document-card>div:last-child{padding:12px}.document-card strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-card small{font-size:10px;color:#9aa6b8;display:block;margin-top:4px}.file-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;height:160px;background:#f0f5ff;gap:12px;color:#6a90c9}.file-placeholder .icon{width:40px;height:40px}.file-placeholder span{font-weight:700;font-size:13px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:21px}.photo-caption{font-size:11px;font-weight:700;letter-spacing:1.2px;color:#bd8c3b;padding:7px 0 13px}.photo-caption.after{color:#378567}.comparison-image{width:100%;height:330px;object-fit:contain;background:#f0f3f7;border-radius:7px}.photo-missing{height:330px;display:flex;align-items:center;justify-content:center;flex-direction:column;border:2px dashed #e0e7f1;border-radius:8px;background:#f9fbff;text-align:center;color:#a1aec1;font-size:14px}.comparison small{font-size:11px;color:#8b9cb2}.thumb-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.thumb-row img{width:64px;height:50px;object-fit:cover;border-radius:5px}.period-shortcuts{display:flex;gap:8px;margin-bottom:17px;flex-wrap:wrap}.quote-item-row{display:grid;grid-template-columns:minmax(0,3fr) minmax(70px,1fr) minmax(120px,1fr) 35px;gap:12px;align-items:end;margin-bottom:13px}.quote-item-row .icon-btn{margin-bottom:3px}.quote-live-total{display:flex;justify-content:space-between;align-items:center;padding:24px;background:#eef4ff;border-radius:8px;color:#5474a6;font-size:14px;gap:15px}.quote-live-total strong{font-size:27px;color:#2259aa;white-space:nowrap}.quote-toolbar{display:flex;gap:13px;align-items:center;flex-wrap:wrap}.quote-paper{max-width:940px;background:#fff;border:1px solid var(--border);box-shadow:0 8px 30px #2a426914;padding:45px 50px;margin:23px auto 30px;border-radius:5px}.quote-paper-header{display:flex;justify-content:space-between;align-items:center;border-bottom:3px solid var(--blue);padding-bottom:24px;margin-bottom:28px;gap:20px}.quote-paper-header img{width:190px;height:114px;object-fit:cover}.quote-paper-header>div{text-align:right}.quote-paper-header h2{font-size:24px;font-weight:750;color:#214779}.quote-paper-header p{font-size:13px;margin:0}.quote-paper-header span{font-size:11px;color:#7e8da5}.quote-parties{display:grid;grid-template-columns:1fr 1fr;gap:35px;margin-bottom:24px}.quote-parties p{font-size:12px}.quote-parties .eyebrow{font-size:10px}.quote-paper table th{background:#19365c;color:#e5edfa}.quote-paper td{font-size:12px}.quote-paper h3{font-size:15px}.quote-totals{width:330px;max-width:100%;margin:22px 0 28px auto}.quote-totals>div{display:flex;justify-content:space-between;gap:18px;padding:7px 0;font-size:12px;color:#697e9c}.quote-totals>div.grand-total{background:#edf4ff;color:#225caa;font-size:13px;padding:15px 12px;margin-top:9px}.quote-signatures{display:flex;justify-content:space-between;margin-top:40px;font-size:12px;color:#7c8ca4}.app-footer{display:flex;justify-content:space-between;border-top:1px solid #e4e9f2;color:#9ca9bc;font-size:10px;padding:19px 35px;gap:15px}.app-footer a{color:#8a9cb7}.help-content{max-width:1000px;padding:35px}.help-content h2{margin-top:27px;color:#294c82}.help-content p{font-size:14px}.help-content h2:first-child{margin-top:0}pre{max-width:440px;max-height:300px;overflow:auto;font-size:11px;white-space:pre-wrap;overflow-wrap:anywhere;color:#61738f;background:#f5f8fc;padding:13px;border-radius:7px}.check{display:flex;gap:10px;font-size:12px;align-items:flex-start;color:#687b96}.check input{margin-top:4px}.login-page{background:#0f1a2e;display:flex;align-items:center;justify-content:center;min-height:100vh;padding:40px}.login-shell{display:grid;grid-template-columns:1.08fr 1fr;max-width:1050px;width:100%;min-height:600px;background:white;border-radius:17px;overflow:hidden;box-shadow:0 25px 80px #0005}.login-brand{background:radial-gradient(ellipse at 10% 0,#214575 0,transparent 60%),linear-gradient(145deg,#182b49,#0e1b30);color:white;padding:35px 45px;display:flex;flex-direction:column}.logo-large{width:270px;height:195px;margin:0 0 20px -12px;overflow:hidden}.logo-large img{width:100%;height:100%;object-fit:cover}.login-brand .eyebrow{color:#78a7ec;font-size:10px;letter-spacing:2px;margin-top:5px}.login-brand h1{font-size:36px;line-height:1.25;letter-spacing:-1px;margin-top:16px}.login-brand p{color:#98afcf;font-size:14px;max-width:310px;margin-top:12px}.login-line{display:flex;gap:17px;font-size:8px;letter-spacing:1.3px;border-top:1px solid #ffffff15;padding-top:22px;margin-top:auto;color:#6c8dbb}.login-form{padding:88px 50px 45px;display:flex;flex-direction:column;justify-content:center}.login-form .eyebrow{color:#9aa7b9;font-size:10px}.login-form h2{font-size:26px;letter-spacing:-.6px;margin-top:17px;margin-bottom:10px}.login-form>p{font-size:13px}.login-fields{display:flex;flex-direction:column;gap:19px;margin-top:22px}.login-fields .field input{padding:12px;min-height:47px}.login-fields .form-actions{margin-top:8px}.login-fields button{width:100%;min-height:46px;font-size:13px}.login-foot{font-size:10px;color:#a4afbf;margin-top:30px;text-align:center}.install-page{padding:40px 20px;min-height:100vh;background:linear-gradient(135deg,#111f36,#203b60)}.install-card{max-width:820px;margin:0 auto;background:white;padding:40px 50px;border-radius:14px}.install-logo{width:190px;height:110px;object-fit:cover;display:block;margin-bottom:30px}.requirements{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:22px;border-radius:8px;background:#f4f7fc;margin:26px 0;font-size:12px}.requirements .ok{color:#348568}.requirements .bad{color:#bb5555}
@media(min-width:1650px){body{font-size:16px}.nav-item{font-size:14px;min-height:47px}table{font-size:13px}td small{font-size:11px}.stat-card>strong{font-size:30px}.stat-top{font-size:14px}.stat-card>small{font-size:12px}.dashboard-grid{grid-template-columns:minmax(0,2.6fr) minmax(310px,1fr)}}
@media(max-width:1220px){.sidebar{width:216px}.app-main{margin-left:216px}.page-content{padding:25px}.topbar{padding:0 25px}.stat-card{padding:15px}.stat-card>strong{font-size:21px}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.dashboard-side{display:grid;grid-template-columns:1fr 1fr;gap:22px}.nav-item{font-size:12px;gap:9px}.page-heading{align-items:flex-start}.heading-actions{max-width:350px}.brand img{width:165px;height:96px}.page-heading h1{font-size:27px}.comparison-image,.photo-missing{height:270px}}
@media(max-width:940px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:244px}.app-main{margin-left:0}.mobile-toggle{display:inline-flex}.menu-open .sidebar{transform:translateX(0)}.menu-open .sidebar-overlay{display:block;position:fixed;inset:0;border:0;background:#0b162580;z-index:49}.topbar-left{gap:12px}.topbar{height:68px}.topbar-right{gap:16px}.stats-grid{gap:12px}.stat-card>strong{font-size:23px}.breadcrumb{font-size:11px}.two-col{gap:15px}.card{padding:20px}.login-shell{max-width:850px}.login-form{padding:60px 32px}.login-brand{padding:35px 32px}.login-brand h1{font-size:31px}}
@media(max-width:700px){body{font-size:14px}.page-content{padding:22px 16px}.topbar{padding:0 15px}.topbar-right{gap:10px}.today-label,.breadcrumb{display:none}.user-chip{gap:7px}.page-heading{flex-direction:column;gap:17px;margin-bottom:23px}.heading-actions{justify-content:flex-start;max-width:none;width:100%}.page-heading h1{font-size:27px}.stats-grid,.stats-grid.three{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat-card{padding:15px}.stat-top{font-size:11px;margin-bottom:12px}.stat-card>strong{font-size:22px;letter-spacing:-.6px}.stat-card>small{font-size:10px}.stat-icon{width:25px;height:25px}.stat-icon .icon{width:15px;height:15px}.dashboard-side,.two-col{grid-template-columns:1fr;gap:0}.dashboard-grid{gap:0}.dashboard-grid>.card{padding-top:19px}.pipeline{margin:0 15px 20px}.pipeline-stage{padding:17px 9px}.pipeline-stage strong{font-size:25px}.pipeline-stage>span:last-child{font-size:9px}.pipeline-dot{right:9px;top:21px;width:6px;height:6px}.card-heading{gap:10px}.card{padding:19px 16px;margin-bottom:18px}h2{font-size:17px}.card-heading h2{font-size:15px}.form-grid{gap:16px;grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.filter-bar .field{flex:1;min-width:130px}.filter-bar{gap:10px}.search-input{flex-basis:100%;min-width:0}.field input,.field select,.field textarea{font-size:16px}.btn{min-height:41px;font-size:12px;padding:9px 12px}.tabs{gap:20px;margin-bottom:21px}.tabs a{font-size:12px}.comparison{gap:10px}.comparison-image,.photo-missing{height:195px}.comparison small{font-size:9px}.photo-caption{font-size:10px}.photo-missing{font-size:11px}.documents-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.document-card>img,.file-placeholder{height:135px}.quote-paper{padding:22px 17px}.quote-paper-header img{width:125px;height:85px}.quote-paper-header h2{font-size:17px}.quote-paper-header span{font-size:9px}.quote-parties{gap:15px}.quote-parties h3{font-size:13px}.quote-parties p{font-size:11px}.quote-item-row{grid-template-columns:1fr 1fr 35px;gap:10px;border:1px solid var(--border);padding:15px;border-radius:8px}.quote-item-row .field:first-child{grid-column:1/-1}.quote-item-row .field:nth-child(2){grid-column:1}.quote-live-total{padding:18px;font-size:12px}.quote-live-total strong{font-size:22px}.detail-grid{gap:18px 13px}.app-footer{padding:18px 17px;font-size:9px}.app-footer>span:last-child{display:none}.login-page{padding:20px}.login-shell{display:block;max-width:480px}.login-brand{padding:20px 28px 24px}.logo-large{width:155px;height:90px;margin:0 0 13px}.login-brand h1{font-size:25px;margin:4px 0}.login-brand p,.login-line{display:none}.login-brand .eyebrow{font-size:8px;letter-spacing:1.5px}.login-form{padding:29px 28px 30px}.login-form>.eyebrow{display:none}.login-form h2{margin-top:0;font-size:24px}.login-fields{margin-top:15px}.install-card{padding:28px 23px}.requirements{padding:15px;gap:12px;font-size:11px}.install-page{padding:20px 12px}.install-card h1{font-size:27px}pre{max-width:250px}.help-content{padding:22px}.activity-row{font-size:12px}.activity-row small{max-width:170px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}@media print{.sidebar,.topbar,.app-footer,.heading-actions,.filter-bar,.tabs,.quote-toolbar,form,details{display:none!important}.app-main{margin:0}.page-content{padding:0}.card,.quote-paper{box-shadow:none;break-inside:avoid}.quote-paper{max-width:none;border:none;margin:0}}

.worker-job{padding:20px 0;border-bottom:1px solid #e2e8f0}.worker-job:last-child{border:0}.sync-notice{background:#eaf3ff;border:1px solid #b2d1ff;border-radius:12px;padding:14px;margin-bottom:18px}.sync-notice[hidden]{display:none}.sync-notice small{display:block;color:#52627b;margin-top:6px}

/* Cash analysis and consolidated vehicle entry */
.donut-layout{display:flex;align-items:center;gap:28px;flex-wrap:wrap}.cash-donut{width:210px;height:210px;border-radius:50%;display:grid;place-items:center;flex-shrink:0}.cash-donut>div{background:white;border-radius:50%;width:152px;height:152px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px}.cash-donut strong{font-size:17px}.cash-donut small{color:#61728b}.chart-legend{flex:1;min-width:180px}.legend-item{display:flex;gap:10px;margin:12px 0;align-items:flex-start}.legend-dot{width:11px;height:11px;border-radius:50%;margin-top:5px;flex-shrink:0}.legend-item strong{display:block;font-size:16px}.legend-item small{color:#61728b}.cash-bar{margin:28px 0}.cash-bar>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.bar-track{height:18px;background:#edf1f7;border-radius:10px;overflow:hidden}.bar-track span{display:block;height:100%;border-radius:10px}.compact-form{display:grid;gap:8px;margin-top:10px;min-width:170px}.intake-form .form-section{border-top:1px solid #e2e8f1;padding-top:24px;margin-top:15px}.intake-form input[type=file]{max-width:100%;padding:10px}.attachment-edit-list{margin-top:24px}.cash-analysis .card{min-width:0}code{overflow-wrap:anywhere}.field input,.field select,.field textarea{max-width:100%;min-width:0}@media(max-width:600px){.donut-layout{justify-content:center}.chart-legend{width:100%;min-width:0}.cash-bar strong{font-size:14px}.intake-form .form-section{font-size:18px}.balance-row{gap:12px;flex-wrap:wrap}}

.daily-announcement{border-left:4px solid #2673db;margin-bottom:22px}.daily-announcement h2{font-size:18px}.appointment-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid #e3eaf3}.appointment-card p{margin:6px 0}.quick-expense{border-top:4px solid #e2a32c}.quick-expense .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.appointment-card{align-items:flex-start;flex-direction:column}.quick-expense .form-grid{grid-template-columns:1fr}}

/* Simple shortcuts and the workshop display. */
.quick-actions{display:flex;flex-wrap:wrap;gap:12px}.quick-actions .btn{padding:14px 18px}.workshop-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.workshop-car{padding:22px 0;border-bottom:1px solid #dce4ef}.workshop-car .plate{font-size:clamp(22px,2vw,34px)}.workshop-appointment{font-size:22px;padding:12px 0}.workshop-screen .sidebar,.workshop-screen .topbar,.workshop-screen .app-footer,.workshop-screen .sync-notice{display:none!important}.workshop-screen .app-main{margin-left:0}.workshop-screen .page-content{max-width:none;padding:32px}.field[hidden]{display:none!important}.workshop-screen .stat-card>strong{font-size:64px}.workshop-screen .page-heading h1{font-size:38px}.heading-actions .btn{white-space:nowrap}details.card>summary{cursor:pointer;font-weight:700}@media(max-width:800px){.workshop-columns{grid-template-columns:1fr}.workshop-screen .page-content{padding:16px}.workshop-screen .page-heading h1{font-size:28px}}

.media-selection{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:12px}.media-selection-card{border:1px solid #dce4ef;padding:10px;border-radius:10px;display:grid;gap:8px;min-width:0}.media-selection-card img,.media-selection-card video{width:100%;height:105px;object-fit:cover;border-radius:6px}.media-selection-card strong,.media-tile strong{overflow-wrap:anywhere}.media-selection-card select{width:100%;padding:8px}.media-tile{margin:0;border:1px solid #dce4ef;border-radius:12px;overflow:hidden;background:#fff;min-width:0}.media-tile img,.media-tile video{width:100%;max-height:320px;object-fit:contain;background:#142032}.media-tile figcaption{display:grid;gap:8px;padding:12px}.media-gallery{display:grid;gap:14px}.media-progress{overflow-wrap:anywhere}.media-picker>label{display:grid;gap:10px}.media-picker input{width:100%}
