*{box-sizing:border-box}body{margin:0;background:#f5f7fb;color:#213247;font:14px system-ui,Arial}h1{font-size:26px;margin:0}h3{margin:0 0 15px}p{line-height:1.55}button{background:#1863aa;border:0;border-radius:7px;color:#fff;padding:10px 14px;cursor:pointer}button:disabled{opacity:.5;cursor:default}input,select,textarea{padding:10px;border:1px solid #d5dce7;border-radius:7px;min-width:170px;font:inherit}textarea{min-height:80px;resize:vertical}.login{max-width:400px;margin:12vh auto;padding:30px;background:#fff;border-radius:14px;box-shadow:0 12px 35px #24364e1a}.login form{display:grid;gap:12px}.shell{display:flex;min-height:100vh}aside{width:242px;flex-shrink:0;background:#142b45;color:#fff;padding:25px}aside h2{font-size:19px}aside p{color:#bbcadc}aside nav{line-height:3}aside small{color:#93adc9;font-size:10px}aside button{margin-top:22px}main{flex:1;padding:30px;min-width:0}section{background:#fff;border-radius:12px;padding:20px;margin-top:16px;box-shadow:0 2px 8px #112c4210}form{display:flex;gap:10px;flex-wrap:wrap;align-items:end}label{display:flex;flex-direction:column;gap:5px}.head{display:flex;justify-content:space-between;align-items:center;gap:16px}.head p,.muted{color:#66788c}.total{color:#687c91}.tabs{display:flex;gap:7px;margin-top:22px;flex-wrap:wrap}.tabs button,.secondary{background:#e8eef5;color:#26435e}.tabs button.active{background:#1764b1;color:#fff}.filters{display:flex;gap:10px;flex-wrap:wrap}.filters input{flex:1}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:12px;border-bottom:1px solid #edf0f4;white-space:nowrap}th{color:#677a8c;font-weight:600}.status{border-radius:16px;padding:5px 9px;background:#edf2f6}.status.ok{background:#e4f5ea;color:#177241}.status.warning{background:#fff0d3;color:#9a6408}.status.prohibited,.status.repair{background:#ffe5e5;color:#b22929}.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.two-col form{display:flex;flex-direction:column;align-items:stretch}.event{padding:9px 0;border-bottom:1px solid #edf0f4}.event span,.notice{color:#6d7f91}.notice{font-size:12px}.error{color:#b32231;background:#fff0f0;padding:12px;border-radius:8px;overflow-wrap:anywhere}@media(max-width:850px){.shell{display:block}aside{width:auto}aside nav{line-height:2}main{padding:16px}.two-col{grid-template-columns:1fr}}.nav-button{display:block;width:100%;text-align:left;background:transparent;color:#e3effb;border-radius:6px;padding:9px 10px}.nav-button.selected,.nav-button:hover{background:#23496f}.driver-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));align-items:end;gap:12px}.driver-form label{min-width:0}.driver-form input,.driver-form select,.driver-form textarea{width:100%;min-width:0}.driver-form button{align-self:end;height:40px}.directory-card{scroll-margin-top:20px}.directory-head{margin-bottom:16px;align-items:center}.directory-head h3{margin:0}.directory-meta{color:#5d7186;margin:0 0 20px}.directory-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.directory-form label{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:500;color:#3a4d60}.directory-form label input,.directory-form label select,.directory-form label textarea{width:100%;min-width:0;font-weight:400}.directory-form .full-width{grid-column:1/-1}.directory-form h4{margin:4px 0 0;font-size:15px}.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px;padding-top:12px;border-top:1px solid #e8edf2}.form-actions button{min-width:128px}.directory-subsection{margin-top:24px;padding-top:20px;border-top:1px solid #e8edf2}.directory-subsection h4{font-size:15px;margin:0 0 16px}.directory-subsection .table-wrap{margin-top:16px}.two-col .directory-form{display:grid;grid-template-columns:1fr}@media(max-width:750px){.directory-form{grid-template-columns:1fr}.form-actions{justify-content:stretch;flex-wrap:wrap}.form-actions button{flex:1}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#0d1c2fa6;display:flex;align-items:center;justify-content:center;padding:20px}.modal-panel{background:#fff;border-radius:14px;width:min(760px,100%);max-height:min(90vh,920px);box-shadow:0 20px 70px #0005;overflow:auto;outline:none}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #e6ecf2;position:sticky;top:0;background:#fff;z-index:1}.modal-header h2{font-size:20px;margin:0}.modal-close{background:transparent;color:#53687d;font-size:30px;font-weight:300;line-height:1;padding:2px 8px;min-width:36px}.modal-close:hover{background:#edf1f6}.modal-content{padding:24px}.modal-content .directory-form{margin:0}.modal-content .form-actions{margin-top:8px}.modal-content .error{margin:0 0 16px}@media(max-width:600px){.modal-backdrop{padding:8px;align-items:flex-end}.modal-panel{border-radius:14px 14px 0 0;max-height:95vh}.modal-content{padding:16px}.modal-header{padding:14px 16px}}.modal-panel{width:min(900px,100%)}.modal-content .two-col{gap:20px}.modal-content .directory-subsection{margin-top:22px}@media(max-width:850px){.modal-content .two-col{grid-template-columns:1fr}}.repair-page .repair-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.repair-toolbar>input{flex:1;min-width:220px}.repair-toolbar>select{min-width:180px}.repair-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.repair-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.repair-lane{margin:0;min-height:320px;padding:12px;background:#edf1f7;box-shadow:none}.repair-lane-head{display:flex;justify-content:space-between;align-items:center;padding:8px 6px 15px;gap:8px;color:#2c4157}.repair-lane-head span{border-radius:12px;background:#dbe4ef;padding:2px 8px;color:#4b6178}.repair-ticket{width:100%;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;background:#fff;color:#24374a;border:1px solid #dfe5ec;box-shadow:0 2px 5px #152b4113;border-radius:9px;padding:13px;margin:0 0 10px;overflow-wrap:anywhere}.repair-ticket:hover{border-color:#80a9d0;box-shadow:0 4px 14px #183e6822}.repair-ticket-number{font-size:12px;font-weight:650;color:#1769b1}.repair-ticket>strong{font-size:14px;line-height:1.35}.repair-ticket>small{font-size:12px;color:#6b7b8d}.repair-ticket .repair-column{color:#2e6591;background:#eaf2fa;padding:3px 6px;border-radius:4px}.repair-tabs{display:flex;gap:5px;margin-bottom:20px;flex-wrap:wrap;border-bottom:1px solid #e5ebf1}.repair-tabs button{border-radius:7px 7px 0 0;background:transparent;color:#4a6078;padding:11px 15px}.repair-tabs button.active{background:#e8f1fb;color:#1662a7;box-shadow:inset 0 -2px #2475ba}.repair-detail-meta{margin:0 0 16px;color:#5d7287;font-weight:600}.repair-detail p{line-height:1.5}.repair-description{white-space:pre-wrap;background:#f5f7fa;padding:14px;border-radius:8px}.repair-photos{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0 16px}.repair-preview{max-width:100%;max-height:70vh;display:block;margin:auto;object-fit:contain}.repair-chat .repair-messages{max-height:380px;overflow:auto;display:flex;flex-direction:column;gap:8px;padding:12px;background:#f5f7fa;border-radius:9px}.repair-message{align-self:flex-start;background:#fff;border:1px solid #e3e8ef;border-radius:8px;padding:9px 13px;max-width:92%}.repair-message strong{font-size:12px}.repair-message small{margin-left:10px;color:#7a8a99}.repair-message p{margin:5px 0;white-space:pre-wrap}.repair-chat-compose{display:flex;gap:10px;align-items:end;margin-top:12px}.repair-chat-compose textarea{flex:1;min-height:66px}.repair-arrival{padding:16px 0;border-top:1px solid #e9edf2;margin-top:14px}.repair-manager-form{display:flex;gap:8px;margin:14px 0;flex-wrap:wrap}.repair-manager{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #edf1f5}@media(max-width:1100px){.repair-board{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.repair-board{grid-template-columns:1fr}.repair-toolbar>input,.repair-toolbar>select{width:100%}.repair-actions{width:100%}.repair-chat-compose{flex-direction:column;align-items:stretch}}.driver-mobile{background:#f4f7fb;min-height:100vh}.driver-mobile-head{background:#173651;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:16px max(16px,calc((100vw - 760px)/2));gap:16px}.driver-mobile-head div{display:flex;flex-direction:column;gap:4px}.driver-mobile-head small{color:#c1d3e2}.driver-mobile-main{max-width:760px;margin:0 auto;padding:24px 16px 70px}.driver-mobile-main h1{font-size:25px;margin-bottom:8px}.driver-new-request{display:block;width:100%;font-size:16px;font-weight:650;padding:16px;margin:20px 0}.driver-list{display:flex;flex-direction:column;gap:12px}.driver-request-card{display:flex;flex-direction:column;gap:10px;text-align:left;width:100%;background:#fff;color:#24374a;border:1px solid #e1e7ee;padding:18px;border-radius:12px;box-shadow:0 2px 6px #142b4112}.driver-request-card p{margin:0;white-space:pre-wrap;max-height:80px;overflow:hidden}.driver-request-card>small{color:#617588}.driver-request-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.driver-stage{display:inline-block;font-size:12px;font-weight:650;padding:5px 8px;border-radius:14px;background:#eff2f5;color:#425a71}.driver-stage.waiting{background:#e8f1ff;color:#1768ad}.driver-stage.repair{background:#fff1df;color:#925200}.driver-visit-date{background:#eaf4fb;padding:12px;border-radius:8px;font-size:13px}.driver-empty{background:#fff;border-radius:10px;padding:24px;color:#617588;text-align:center}.driver-mobile-form{display:flex;flex-direction:column;gap:17px;align-items:stretch}.driver-mobile-form label,.driver-detail label{display:flex;flex-direction:column;gap:7px;min-width:0}.driver-mobile-form input,.driver-mobile-form select,.driver-mobile-form textarea{width:100%;min-width:0}.driver-modal-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:12px;border-top:1px solid #e7edf2}.driver-detail h4{margin:18px 0 9px}.driver-detail .repair-messages{max-height:290px;overflow-y:auto;display:flex;flex-direction:column;gap:8px;background:#f6f7fa;padding:12px;border-radius:9px}@media(max-width:600px){.driver-mobile-head{padding:12px 16px}.driver-mobile-main{padding:18px 12px}.driver-request-card{padding:14px}.driver-modal-actions button{flex:1}}.staff-checkbox{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:500;min-height:40px}.staff-checkbox input{min-width:0;width:17px;height:17px}.users-password{display:flex;flex-direction:column;gap:10px}.users-password>label{font-weight:500;display:flex;flex-direction:column;gap:7px}.password-input{display:flex;gap:8px;align-items:stretch}.password-input input{flex:1;min-width:0}.password-input button{min-width:90px}.password-checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;font-size:12px}.password-checklist span{padding:7px 9px;border-radius:6px}.password-ok{background:#e2f5e9;color:#126c39}.password-bad{background:#f0f3f7;color:#62768b}.users-reset-form{margin-top:16px;display:flex;flex-direction:column;align-items:stretch;gap:12px;max-width:580px}@media(max-width:600px){.password-checklist{grid-template-columns:1fr}}.upload-progress{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px;color:#425a71}.upload-progress progress{width:100%;height:13px;accent-color:#2172b9}.repair-viewer{min-width:0}.repair-viewer video,.repair-viewer img{width:100%;max-width:100%;max-height:70vh;object-fit:contain}.repair-viewer a{overflow-wrap:anywhere}.attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;margin:12px 0}.attachment-tile{min-width:0;background:#f8fafc;border:1px solid #dfe7ef;border-radius:10px;overflow:hidden}.attachment-thumb{width:100%;height:100px;padding:0;display:block;position:relative;background:#e6edf5;border:0;border-radius:0;color:#354b63;overflow:hidden}.attachment-thumb img,.attachment-thumb video{display:block;width:100%;height:100%;object-fit:cover}.attachment-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#162e45b8;color:#fff;border-radius:50%;width:32px;height:32px;display:grid;place-items:center}.attachment-placeholder{font-size:30px}.attachment-footer{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:6px}.attachment-footer span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.attachment-remove{padding:1px 5px;background:#ffe5e5;color:#a92525;font-size:18px}.unread-badge{display:inline-flex;align-items:center;background:#d9384c;color:#fff;border-radius:12px;padding:2px 6px;font-size:11px;font-weight:700;line-height:1.4;margin-left:4px}.driver-list-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.driver-list-head h1{font-size:22px}.driver-filter{flex:0 0 auto;min-width:0}.driver-filter select{min-width:0;width:145px;font-size:13px;padding:9px 23px 9px 10px}.driver-head-actions,.repair-head-alert{display:flex;align-items:center;gap:8px}.driver-bell{display:flex;align-items:center;gap:4px;background:#2c5478;font-size:16px;padding:8px;border-radius:8px}.driver-bell b{background:#d9384c;color:#fff;padding:2px 6px;font-size:11px;border-radius:12px}.driver-tabs{display:flex;gap:4px;justify-content:space-between;margin-bottom:16px}.driver-tabs button{flex:1;min-width:0;padding:10px 6px;font-size:13px}.repair-history{display:flex;flex-direction:column;gap:8px}.history-change{background:#eef3f8;border-radius:6px;padding:7px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.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:600px){.driver-filter select{width:133px}.driver-list-head h1{font-size:20px}.attachment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.attachment-thumb{height:88px}.driver-mobile-head .secondary{padding:7px 10px}}
