:root{--ink:#17334b;--muted:#65798b;--navy:#123853;--blue:#175c87;--page:#edf2f5;--line:#dbe4eb;--white:#fff;--ok:#137454;--warn:#8a5b0d;--danger:#a6313c;--radius:16px}*{box-sizing:border-box}html{scroll-behavior:auto;-webkit-text-size-adjust:100%}body{margin:0;background:var(--page);color:var(--ink);font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}a{color:var(--blue)}[hidden]{display:none!important}:focus-visible{outline:3px solid #68add9;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.18;margin-bottom:12px;letter-spacing:-.8px}h2{font-size:22px;line-height:1.25;margin-bottom:10px;letter-spacing:-.3px}h3{font-size:16px;margin:0}small,.muted{color:var(--muted)}label{display:block;font-weight:600;margin:0 0 16px}label small{display:block;font-size:12px;font-weight:400;margin-top:5px}input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea{display:block;width:100%;min-width:0;font-size:16px;line-height:1.35;padding:12px;border:1px solid #bdccd7;border-radius:9px;background:#fff;color:var(--ink);margin-top:6px;font-weight:400}input::placeholder,textarea::placeholder{color:#80909d}textarea{resize:vertical;min-height:80px}select:disabled,input:disabled{background:#eff3f6;color:#6e8190}input[type=checkbox],input[type=radio]{width:19px;height:19px;accent-color:var(--blue);flex:none;margin:0}button,a{transition:background-color .12s ease}a.button{text-decoration:none}.topbar{min-height:85px;padding:18px max(22px,calc((100vw - 1180px)/2));background:var(--navy);color:white;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;color:white;text-decoration:none;font-size:20px;font-weight:850;letter-spacing:1.3px;white-space:nowrap}.brand small{display:block;font-size:11px;letter-spacing:1.6px;text-transform:uppercase;color:#bad0df;font-weight:500}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border:1px solid #759bb6;border-radius:10px;background:#234962;font-size:27px;font-weight:850;font-style:italic;letter-spacing:-3px;padding-right:4px}.identity{display:flex;align-items:center;gap:18px;font-size:13px}.identity strong,.identity span{display:block}.identity strong{font-size:14px}.identity span{color:#b7cedf}.shell{max-width:1180px;margin:0 auto;padding:34px 22px 10px}.auth-card{max-width:440px;background:white;border:1px solid var(--line);border-radius:20px;margin:50px auto 90px;padding:34px;box-shadow:0 8px 30px #19384f08}.auth-card.wide{max-width:620px}.auth-card h1{font-size:29px}.auth-card .lead{color:var(--muted);margin-bottom:26px}.eyebrow{display:block;color:#58748a;font-size:11px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;margin-bottom:9px}.support-note{font-size:12px;color:var(--muted);margin:21px 0 0;padding-top:19px;border-top:1px solid var(--line)}.button{border:1px solid transparent;background:var(--blue);color:white;font-weight:650;border-radius:9px;min-height:44px;padding:10px 16px;display:inline-flex;gap:7px;align-items:center;justify-content:center;line-height:1.3;text-align:center}.button:hover{background:#124d72}.button.secondary{background:#edf3f7;border-color:#d7e1e9;color:#244f6c}.button.secondary:hover{background:#e1ecf3}.button.ghost{background:transparent;border-color:#64849b;color:white}.button.ghost:hover{background:#234c69}.button.full{width:100%}.button.small{font-size:13px;min-height:39px;padding:8px 12px}.icon-button{background:#edf3f7;color:var(--ink);border:0;border-radius:9px;min-width:40px;min-height:40px;font-size:25px;line-height:1;flex:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;margin:4px 0 29px}.page-heading p{margin:0;color:var(--muted)}.page-heading .button{flex:none}.tabs{display:flex;gap:25px;margin:0 0 20px;border-bottom:1px solid #cfdce5;overflow:auto}.tabs button{position:relative;flex:none;background:none;border:0;padding:8px 2px 15px;color:#62778a;font-weight:650;font-size:15px}.tabs button[aria-current=page]{color:var(--blue)}.tabs button[aria-current=page]:after{position:absolute;content:"";height:3px;bottom:0;left:0;right:0;border-radius:4px;background:var(--blue)}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px;box-shadow:0 4px 15px #17334b04}.list-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) minmax(160px,220px) auto;gap:16px;align-items:end}.list-toolbar label{font-size:12px;color:#5b7285;margin:0}.list-toolbar .button{margin-bottom:1px;min-height:46px}.list-meta{display:flex;gap:20px;align-items:center;justify-content:space-between;margin:24px 0 15px;font-size:12px}.list-meta p{margin:0;font-weight:650}.task-table-head{display:grid;grid-template-columns:minmax(200px,1.5fr) minmax(150px,1fr) 160px 100px 120px;gap:14px;font-size:11px;text-transform:uppercase;letter-spacing:.8px;color:#778b9b;padding:0 12px 11px}.task-row{display:grid;grid-template-columns:minmax(200px,1.5fr) minmax(150px,1fr) 160px 100px 120px;gap:14px;align-items:center;border-top:1px solid var(--line);padding:20px 12px}.task-car{color:var(--ink);text-decoration:none;font-size:16px;font-weight:750;line-height:1.3;display:inline-block;margin-bottom:5px}.task-car:hover{text-decoration:underline}.task-ref{display:flex;flex-wrap:wrap;gap:7px;font-size:12px;color:var(--muted)}.plate{font-weight:700;letter-spacing:.4px;color:#3c5264}.task-mechanic{font-size:13px}.task-updated{font-size:12px;color:var(--muted)}.task-updated span{display:block}.task-row-actions{display:flex;flex-direction:column;align-items:stretch;gap:5px}.text-button{background:none;border:0;color:var(--blue);font-size:12px;font-weight:600;padding:5px 0}.status-pill{display:inline-flex;align-items:center;gap:6px;max-width:100%;border-radius:7px;padding:6px 9px;font-size:12px;font-weight:650;line-height:1.3;background:#eef1f4;color:#5a6e7e}.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.status-pill.in_progress{background:#eaf3fb;color:#266a9b}.status-pill.ready{background:#e5f4ed;color:#147253}.status-pill.needs_changes{background:#fff2d9;color:#94620a}.status-pill.completed{background:#edf0f4;color:#69798b}.empty-state{text-align:center;padding:50px 20px 58px}.empty-icon{display:grid;place-items:center;margin:0 auto 17px;width:48px;height:48px;border-radius:15px;background:#edf4f7;color:#487c99;font-size:22px}.empty-state h2{font-size:19px}.empty-state p{color:var(--muted);max-width:400px;margin:auto;font-size:14px}.pagination{display:flex;justify-content:center;gap:22px;align-items:center;padding-top:23px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.notice{padding:13px 16px;border:1px solid #d5e4ee;border-radius:10px;background:#f1f7fb;color:#345e79;font-size:13px;margin-bottom:20px;overflow-wrap:anywhere}.notice.compact{margin-top:-5px;font-size:12px}.notice.error,.form-message.error{color:var(--danger);background:#fff1f2;border-color:#f0cbd0}.form-message{padding:10px 12px;border:1px solid transparent;border-radius:8px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.staff-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.staff-heading p{max-width:650px;font-size:13px;margin:0}.staff-heading .button{flex:none}.staff-row{display:flex;align-items:center;gap:14px;padding:17px 0;border-top:1px solid var(--line)}.staff-avatar{width:40px;height:40px;border-radius:12px;background:#eaf1f6;color:#406780;display:grid;place-items:center;font-weight:750;flex:none}.staff-info{flex:1;min-width:0}.staff-info strong{display:block;font-size:14px;overflow-wrap:anywhere}.staff-info p{margin:3px 0 0;color:var(--muted);font-size:12px}.staff-state{font-size:12px;color:var(--ok);padding:5px 8px;background:#eaf5ef;border-radius:6px;white-space:nowrap}.staff-state.inactive{background:#f0f2f5;color:#6d7d8b}.footer{text-align:center;font-size:11px;letter-spacing:.3px;color:#7d909e;padding:32px 20px}.footer span{margin-left:8px}dialog{border:1px solid #d4e0e9;border-radius:18px;width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 36px);padding:28px;color:var(--ink);box-shadow:0 20px 70px #0b25364a;overscroll-behavior:contain}dialog::backdrop{background:#0b2639a3;backdrop-filter:blur(2px)}dialog h2{margin:0}.dialog-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:24px}.dialog-heading .eyebrow{margin-bottom:6px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.mode-options{border:1px solid var(--line);border-radius:10px;margin:2px 0 16px;padding:13px 14px;display:flex;gap:20px;flex-wrap:wrap}.mode-options legend{font-size:12px;font-weight:600;color:#526d81;padding:0 5px}.mode-options label{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:500;margin:0}.check-label{display:flex;align-items:center;gap:9px;font-size:14px;font-weight:500;margin:14px 0}.plate-input{text-transform:uppercase}.details-meta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-bottom:14px;font-size:13px;color:var(--muted)}.task-complaint{font-size:14px;white-space:pre-wrap;padding:14px;background:#f3f6f9;border-left:3px solid #87a9bf;border-radius:0 8px 8px 0;margin:16px 0 21px;overflow-wrap:anywhere}#details-assignment{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end;margin:20px 0}#details-assignment label{margin:0;font-size:13px}#details-assignment button{min-height:46px}#details-review{border-top:1px solid var(--line);padding-top:20px;margin-top:20px}.actions{display:flex;gap:10px;flex-wrap:wrap}.section-heading{display:flex;gap:15px;justify-content:space-between;align-items:center;margin:27px 0 14px}.section-heading .muted{font-size:11px}.event-list{list-style:none;margin:0;padding:0;max-height:240px;overflow:auto}.event-list li{border-left:2px solid #d8e5ed;margin-left:4px;padding:0 0 19px 15px;font-size:13px;position:relative}.event-list li:before{position:absolute;content:"";width:7px;height:7px;background:#7296ad;border-radius:50%;left:-4.5px;top:5px}.event-list li:last-child{padding-bottom:4px}.event-list .event-meta{color:var(--muted);font-size:11px;margin-top:3px}.event-note{margin-top:5px;white-space:pre-wrap;overflow-wrap:anywhere}.task-list[aria-busy=true]{opacity:.6}.task-list:empty{border:0}
@media(max-width:1000px){.task-table-head,.task-row{grid-template-columns:minmax(170px,1.5fr) minmax(120px,1fr) 145px 90px}.task-table-head>span:last-child{display:none}.task-row-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end;align-items:center;gap:15px;margin-top:-8px}.task-row-actions .button{min-height:36px}.task-row{padding:18px 4px}.task-table-head{padding-left:4px;padding-right:4px}}
@media(max-width:700px){.topbar{padding:16px 18px;min-height:77px;gap:14px}.brand{font-size:17px;gap:9px}.brand-mark{width:34px;height:34px;font-size:24px}.brand small{font-size:9px}.identity{gap:10px}.identity strong{font-size:11px;max-width:130px;line-height:1.3}.identity span{font-size:10px}.identity .button{font-size:12px;padding:8px 11px;min-height:37px}.shell{padding:26px 16px 6px}h1{font-size:27px}.page-heading{align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:22px}.page-heading p{font-size:13px}.page-heading .button{width:100%}.panel{padding:18px 16px}.list-toolbar{grid-template-columns:1fr auto;gap:12px}.list-toolbar .search-label{grid-column:1/-1}.list-toolbar .button{font-size:13px}.list-meta{font-size:11px;gap:10px;margin:20px 0 12px;align-items:flex-start}.task-table-head{display:none}.task-row{grid-template-columns:1fr auto;gap:9px 12px;padding:18px 0}.task-row>div:first-child{grid-column:1/-1}.task-car{font-size:17px}.task-mechanic{grid-column:1/-1;font-size:12px;color:var(--muted)}.task-mechanic:before{content:"Механик: "}.task-status{grid-row:3;grid-column:1}.task-updated{grid-row:3;grid-column:2;text-align:right;font-size:11px}.task-updated span{display:inline}.task-updated span+span:before{content:" · "}.task-row-actions{grid-row:4;margin-top:4px;justify-content:space-between}.task-row-actions .button{min-height:42px;padding:9px 16px}.text-button{font-size:13px;min-height:40px}.tabs{gap:25px;margin-bottom:17px}.tabs button{font-size:14px}.staff-heading{display:block}.staff-heading .button{width:100%;margin-top:16px}.staff-row{flex-wrap:wrap;gap:10px}.staff-info{min-width:calc(100% - 60px)}.staff-state{margin-left:50px;flex:1;background:none;padding:0;font-size:11px}.staff-state.inactive{background:none}.staff-row>.button{font-size:12px;min-height:36px}.auth-card{padding:28px 22px;margin:20px auto 45px}.auth-card h1{font-size:27px}.auth-card .lead{font-size:14px}.form-grid{gap:12px}dialog{padding:23px 20px;width:calc(100% - 20px);max-height:calc(100dvh - 20px);border-radius:15px}.dialog-heading h2{font-size:22px}.dialog-actions{justify-content:stretch}.dialog-actions>.button{flex:1;font-size:14px;padding:10px}.mode-options{display:block}.mode-options label+label{margin-top:13px}#details-assignment{grid-template-columns:1fr}#details-assignment button{justify-self:start}.event-list{max-height:200px}.empty-state{padding:35px 12px 40px}}
@media(max-width:430px){.form-grid{grid-template-columns:1fr;gap:0}.identity strong{max-width:100px}.brand-mark{display:none}.identity span{max-width:100px;overflow:hidden;text-overflow:ellipsis}.dialog-heading{gap:10px}.tabs{gap:19px}.status-pill{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
