:root{color:#edf0f2;font-synthesis:none;background:#14171a;font-family:Tahoma,Arial,sans-serif}*{box-sizing:border-box}body{color:#edf0f2;background:#14171a;margin:0}button,input,select,textarea{font:inherit}.app-shell{max-width:1600px;min-height:100vh;margin:0 auto;padding:24px}.topbar{border-bottom:1px solid #2c3338;justify-content:space-between;align-items:flex-end;gap:20px;padding:4px 0 18px;display:flex}.topbar h1{letter-spacing:-.02em;margin:4px 0 0;font-size:28px}.eyebrow{letter-spacing:.16em;color:#8b939b;font-size:10px}.header-actions,.toolbar-right{align-items:center;gap:8px;display:flex}.button{color:#17120a;cursor:pointer;background:#f5a623;border:1px solid #f5a623;border-radius:7px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-weight:700;display:inline-flex}.button:hover{filter:brightness(1.04)}.button:disabled{cursor:not-allowed;opacity:.55}.button.secondary{color:#edf0f2;background:#22282d;border-color:#394149;font-weight:600}.nav-tabs{gap:5px;margin:16px 0;display:flex}.nav-tabs button{color:#8b939b;cursor:pointer;background:0 0;border:0;border-radius:7px;align-items:center;gap:6px;padding:8px 12px;display:flex}.nav-tabs button:hover{color:#edf0f2}.nav-tabs .active,.lang-switch .active{color:#edf0f2;background:#2c3338}.lang-switch{background:#22282d;border-radius:8px;align-items:center;gap:2px;padding:3px;display:flex}.lang-switch button{color:#8b939b;cursor:pointer;background:0 0;border:0;border-radius:5px;padding:6px 8px}.panel,.metric-card,.form-card{background:#1d2226;border:1px solid #2c3338;border-radius:10px}.loading-panel,.error-panel{padding:18px}.error-panel,.form-error{color:#ffadb2}.overview-toolbar{justify-content:flex-end;margin-bottom:10px;display:flex}.overview-toolbar select,.toolbar select{color:#edf0f2;background:#171b1e;border:1px solid #343c42;border-radius:7px;outline:none;padding:8px 10px}.overview-grid{grid-template-columns:300px 1fr;gap:14px;display:grid}.metric-card{padding:22px}.metric-card span{color:#aeb5ba;font-size:13px}.metric-card strong{margin:8px 0 2px;font-size:42px;display:block}.metric-card small,.panel-title small{color:#7f878e}.status-panel{padding:16px}.work-panel{grid-column:1/-1;padding:16px}.panel-title{text-transform:uppercase;letter-spacing:.08em;color:#f5a623;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;font-size:12px;display:flex}.status-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.status-card{text-align:left;color:#dfe3e6;cursor:pointer;background:#22282d;border:1px solid #30373d;border-radius:8px;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:13px;display:grid}.status-card:hover{border-color:#58646d}.status-card strong{font-size:20px}.status-dot{background:#8b939b;border-radius:50%;width:8px;height:8px}.status-completed{background:#45b97c}.status-in-progress{background:#37d6c4}.status-waiting-for-parts{background:#f5a623}.status-cancelled-by-customer{background:#e5636a}.rank-list{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.rank-list button{color:#dfe3e6;cursor:pointer;background:#22282d;border:1px solid #2c3338;border-radius:7px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.rank-list button:hover{border-color:#49535b}.panel{padding:16px}.toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.search-box{align-items:center;gap:8px;min-width:420px;display:flex}.search-box input,.field input,.field select,.field textarea,.technician-entry input{color:#edf0f2;background:#171b1e;border:1px solid #343c42;border-radius:7px;outline:none;padding:9px 10px}.search-box input{width:100%}.search-box input:focus,.field input:focus,.field select:focus,.field textarea:focus,.technician-entry input:focus{border-color:#f5a623}.toolbar-actions{align-items:center;gap:8px;display:flex}.table-wrap{border:1px solid #2c3338;border-radius:8px;overflow:auto}table{border-collapse:collapse;width:100%;min-width:1500px;font-size:12px}th,td{text-align:left;vertical-align:top;border-bottom:1px solid #2c3338;padding:9px 10px}th{color:#9ca5ad;letter-spacing:.04em;white-space:nowrap;background:#171b1e;font-size:10px;position:sticky;top:0}tbody tr{cursor:pointer}tbody tr:hover{background:#20262b}.text-cell{white-space:normal;max-width:280px;line-height:1.45}.mono{font-family:Consolas,monospace}.badge{white-space:nowrap;border:1px solid #3b4349;border-radius:999px;padding:4px 8px;font-size:10px;display:inline-flex}.badge-completed{color:#8fe1b5;background:#45b97c14;border-color:#2f7d55}.badge-in-progress{color:#78e3d7;background:#37d6c414;border-color:#287e75}.badge-waiting-for-parts{color:#ffc865;background:#f5a62314;border-color:#8c641b}.badge-cancelled-by-customer{color:#f29aa0;background:#e5636a14;border-color:#8d373d}.row-actions{gap:4px;display:flex}.icon-button{color:#dfe3e6;cursor:pointer;background:#22282d;border:1px solid #364048;border-radius:6px;place-items:center;width:30px;height:30px;display:inline-grid}.icon-button.danger{color:#ff9ca2}.empty-row{color:#8b939b;text-align:center!important;padding:24px!important}.record-count{color:#8b939b;margin-top:10px;font-size:11px}.form-card{max-width:1040px;margin:0 auto;padding:18px}.form-header{justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:6px;display:flex}.form-header h2{margin:3px 0;font-size:24px}.section-label{text-transform:uppercase;letter-spacing:.08em;color:#f5a623;border-bottom:1px solid #2c3338;margin:22px 0 12px;padding-bottom:7px;font-size:11px}.grid-2,.grid-3{gap:12px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.selection-grid{align-items:start}.field{flex-direction:column;gap:6px;margin-bottom:12px;display:flex;position:relative}.field label{color:#bfc5ca;font-size:12px}.field input,.field select,.field textarea{width:100%}.field textarea{resize:vertical;line-height:1.5}.compact-field{width:180px}.sensitive-field label:after{content:" · private";color:#7f878e;text-transform:uppercase;letter-spacing:.05em;font-size:9px}.details-block{background:#191e22;border:1px solid #30373d;border-radius:8px;margin:12px 0;padding:10px 12px}.details-block summary{cursor:pointer;color:#37d6c4;margin:2px 0 8px;font-size:12px;font-weight:600}.multi-select-field{z-index:5}.multi-select-trigger{text-align:left;color:#edf0f2;cursor:pointer;background:#171b1e;border:1px solid #343c42;border-radius:7px;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:41px;padding:9px 10px;display:flex}.multi-select-trigger span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.multi-select-menu{z-index:30;background:#1b2024;border:1px solid #3c454c;border-radius:8px;max-height:290px;padding:5px;position:absolute;top:70px;left:0;right:0;overflow:auto;box-shadow:0 16px 40px #00000059}.multi-select-option{color:#dfe3e6;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;width:100%;padding:9px;display:flex}.multi-select-option:hover{background:#252c31}.check-box{border:1px solid #4a555d;border-radius:4px;place-items:center;width:17px;height:17px;display:grid}.check-box.checked{color:#17120a;background:#f5a623;border-color:#f5a623}.selected-chips{flex-wrap:wrap;gap:6px;margin-top:7px;display:flex}.selected-chips>span{background:#252b30;border:1px solid #3b454d;border-radius:999px;align-items:center;gap:5px;padding:5px 8px;font-size:11px;display:inline-flex}.selected-chips>span>button{color:#9da6ad;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.technician-picker{flex-direction:column;gap:8px;display:flex}.technician-entry{grid-template-columns:1fr auto;gap:8px;display:grid}.remote-photo-note,.translation-note{color:#c3c9ce;background:#191e22;border:1px dashed #4b555d;border-radius:8px;padding:14px}.photo-uploader{flex-direction:column;gap:8px;display:flex}.upload-button{color:#dfe3e6;cursor:pointer;background:#191e22;border:1px dashed #56616a;border-radius:9px;justify-content:center;align-items:center;gap:9px;padding:20px;display:flex}.upload-button:hover{border-color:#f5a623}.upload-button input{display:none}.photo-uploader small{color:#8b939b}.photo-preview-row{flex-wrap:wrap;gap:7px;display:flex}.photo-preview-row img,.photo-file{object-fit:cover;border:1px solid #343c42;border-radius:6px;width:112px;height:78px}.photo-file{color:#9ca5ad;text-align:center;justify-content:center;align-items:center;padding:7px;font-size:10px;display:flex;overflow:hidden}.form-actions{justify-content:flex-end;gap:8px;margin-top:22px;display:flex}.form-error{background:#e5636a14;border:1px solid #74383c;border-radius:7px;margin-top:14px;padding:10px 12px}.translation-note{color:#ffc865;border-color:#8c641b;max-width:940px;margin:0 auto 10px}.report-wrap{max-width:980px;margin:0 auto}.report-toolbar{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.report-page{color:#111;background:#fff;border:1px solid #222;width:760px;min-height:1060px;margin:0 auto 30px;padding:18px 20px 22px;font-family:Arial,Tahoma,sans-serif;font-size:12px}.report-head{border-bottom:2px solid #d81920;justify-content:space-between;align-items:center;padding:6px 0 10px;display:flex}.report-brand{letter-spacing:-.04em;color:#d81920;font-size:30px;font-weight:800}.report-address{text-align:right;font-size:10px;line-height:1.45}.report-title{text-align:center;border:1px solid #222;margin-top:8px;padding:8px;font-size:15px;font-weight:700}.report-table{border-collapse:collapse;width:100%;min-width:0}.report-table th,.report-table td{color:#111;background:#fff;border:1px solid #222;padding:6px 8px}.report-table th{text-align:center;color:#111;background:#efefef;font-size:11px;position:static}.report-table tbody tr:hover{background:0 0}.report-details{white-space:pre-wrap;height:50px;line-height:1.45}.signature{text-align:center;padding:14px 0 10px;line-height:1.55}.photo-grid{grid-template-columns:repeat(3,1fr);gap:3px;margin-top:6px;display:grid}.photo-grid>div{background:#eee;height:165px;overflow:hidden}.photo-grid img{object-fit:cover;width:100%;height:100%;display:block}.remote-report-note{color:#555;text-align:center;border:1px solid #222;place-items:center;min-height:260px;margin-top:6px;padding:30px;font-size:18px;font-weight:700;display:grid}.empty-state{text-align:center;color:#8b939b;background:#1d2226;border:1px solid #2c3338;border-radius:10px;max-width:940px;margin:0 auto;padding:30px}@media (width<=900px){.overview-grid{grid-template-columns:1fr}.work-panel{grid-column:auto}.status-grid,.rank-list{grid-template-columns:1fr 1fr}.toolbar{flex-direction:column;align-items:stretch}.search-box{min-width:0}.toolbar-actions{justify-content:space-between}.grid-3{grid-template-columns:1fr 1fr}}@media (width<=640px){.app-shell{padding:12px}.topbar,.form-header,.report-toolbar{flex-direction:column;align-items:stretch}.topbar h1{font-size:22px}.header-actions,.toolbar-right{flex-wrap:wrap;align-items:stretch}.status-grid,.rank-list,.grid-2,.grid-3{grid-template-columns:1fr}.button{justify-content:center}.compact-field{width:100%}.toolbar-actions{flex-direction:column;align-items:stretch}.lang-switch{width:max-content}.report-page{width:100%;min-width:680px}.report-wrap{overflow:auto}.technician-entry{grid-template-columns:1fr}}@media print{body{background:#fff}.no-print,.topbar,.nav-tabs,.translation-note{display:none!important}.app-shell{background:#fff;max-width:none;padding:0}.report-wrap{max-width:none}.report-page{box-sizing:border-box;border:0;width:210mm;min-height:297mm;margin:0 auto;padding:10mm}.photo-grid>div{height:52mm}}
