:root{font-family:Arial,Helvetica,sans-serif;color:#19372c;background:#eef3ef;font-size:17px;color-scheme:light;--panel:#fff;--ink:#19372c;--muted:#536b60;--line:#d7e2da;--green:#147143;--soft:#edf6ef}*{box-sizing:border-box}body{margin:0}body.night{background:#0c1813;color:#ecf4ed;--panel:#182a21;--ink:#ecf4ed;--muted:#b4c6b9;--line:#3c5145;--green:#239454;--soft:#223d2d;color-scheme:dark}button,input,select,textarea{font:inherit}button,.file-button{min-height:46px;border:1px solid var(--line);border-radius:11px;padding:11px 19px;background:var(--panel);color:var(--ink);cursor:pointer;font-weight:700;line-height:1.3;text-align:center;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.file-button:hover{border-color:var(--green);background:var(--soft)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #56b977;outline-offset:3px}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#0e5c35;color:#fff}.warning{background:#fff1d3;color:#704512;border-color:#d9ac59}.large{min-height:58px;padding:14px 40px}.subtle{border-color:transparent}header{display:flex;gap:20px;align-items:center;justify-content:space-between;background:var(--panel);padding:18px clamp(16px,4vw,60px);border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;min-width:0;align-items:center}.brand strong{font-size:clamp(15px,2vw,21px)}.brand small{display:block;color:var(--muted);margin-top:4px}.brand-mark{background:#102c20;color:white;font-weight:800;border-radius:13px;width:48px;height:48px;display:grid;place-items:center;flex-shrink:0}.head-actions,.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.head-actions{flex-shrink:0}main{width:min(1160px,100%);margin:30px auto;padding:0 20px}footer{text-align:center;color:var(--muted);padding:16px;font-size:14px}.panel{background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:clamp(20px,4vw,40px);box-shadow:0 12px 36px #15332408}.welcome{padding-block:70px}.login{max-width:480px;margin:50px auto}h1{font-size:clamp(25px,3vw,34px);margin:6px 0 18px;line-height:1.2}h2{font-size:22px;margin:12px 0}h3{font-size:19px}p{line-height:1.5;color:var(--muted);overflow-wrap:anywhere}.eyebrow{font-size:13px;text-transform:uppercase;letter-spacing:.1em;font-weight:bold;color:var(--green);margin:0}.name-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px;margin:25px 0}.name-card{min-height:75px;justify-content:flex-start;text-align:left}.selected{border:2px solid var(--green)!important;background:var(--soft)!important;box-shadow:0 0 0 2px #48aa6b20}.actions{margin:20px 0 4px}.section-head{display:flex;gap:20px;justify-content:space-between;align-items:flex-start}.section-head .actions{margin:0}label{display:flex;flex-direction:column;gap:8px;font-weight:700;margin:18px 0}input,select,textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:13px;color:var(--ink);background:var(--panel);min-width:0}textarea{resize:vertical;line-height:1.55}select{min-height:50px}.search{display:flex;gap:12px;margin:22px 0}.check{display:flex;flex-direction:row;align-items:center;gap:12px;font-weight:normal}.check input{width:22px;height:22px}.customer-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:10px}.record{justify-content:flex-start;min-height:60px;text-align:left}.paging{display:flex;gap:15px;align-items:center;justify-content:center;padding:20px;color:var(--muted)}.order-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:18px}.order-card{display:block;text-align:left;padding:22px;min-width:0;position:relative}.order-card>div{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.order-card h2{font-size:20px}.order-card p{margin:8px 0}.order-card small{display:block;font-weight:normal}.open-arrow{display:block;color:var(--green);text-align:right;margin-top:16px}.badge{display:inline-block;background:var(--soft);border:1px solid var(--line);border-radius:100px;padding:6px 12px;font-size:13px;font-weight:700;white-space:normal}.empty{padding:30px}.notice{padding:14px 18px;border-radius:10px;line-height:1.45;margin-bottom:20px;overflow-wrap:anywhere}.success{background:#e4f6e9;color:#164d2a;border:1px solid #afd9b8}.error{background:#fff0ef;color:#852a22;border:1px solid #e5b5af}.notice[hidden],section[hidden]{display:none}dialog{width:min(900px,calc(100% - 30px));max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--line);border-radius:20px;background:var(--panel);color:var(--ink);overflow:hidden;box-shadow:0 24px 100px #0006}dialog[open]{display:flex;flex-direction:column}dialog::backdrop{background:#071a12b8;backdrop-filter:blur(3px)}body:has(dialog[open]){overflow:hidden}.dialog-head,.dialog-foot{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-shrink:0;padding:18px 24px;background:var(--panel)}.dialog-head{border-bottom:1px solid var(--line)}.dialog-head h1{font-size:26px;margin:5px 0}.dialog-head small{color:var(--muted)}.dialog-foot{border-top:1px solid var(--line);padding-bottom:max(14px,env(safe-area-inset-bottom));flex-wrap:wrap}.dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:24px;-webkit-overflow-scrolling:touch}.summary{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:22px}.summary p{margin:5px 0}.summary small{color:var(--muted);word-break:break-all}.photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}.photo-grid a{color:var(--ink);text-decoration:none;min-width:0}.photo-grid img{width:100%;height:120px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.photo-grid span{font-size:12px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-button{position:relative;margin:0;overflow:hidden}.file-button input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.confirmation{background:var(--soft);border:2px solid var(--green);border-radius:14px;padding:25px}.confirmation h2{line-height:1.5}.pre{white-space:pre-wrap}.repair-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.repair-actions button{min-height:60px}#pause-panel{background:var(--soft);padding:20px;border-radius:12px}.customer-note{background:var(--soft);padding:18px;border-radius:12px}.start-repair{margin:24px 0}.items{padding-left:22px}.items li{padding:12px 0;border-bottom:1px solid var(--line)}.items p{margin:5px 0}.note{padding:12px 0;border-bottom:1px solid var(--line)}.note small{color:var(--muted)}details{margin:20px 0;border-top:1px solid var(--line);padding-top:16px}summary{cursor:pointer;font-weight:700;padding:8px 0}.manual{margin:20px 0}.boot{padding:40px}#upload-status{padding:10px;color:var(--green)}@media(max-width:600px){header{padding:12px;gap:10px}.brand-mark{display:none}.head-actions{gap:6px}.head-actions button{padding:9px 12px;font-size:14px}main{margin:18px auto;padding:0 12px}.panel{padding:20px 16px}.name-grid{grid-template-columns:1fr 1fr;gap:10px}.name-card{padding:12px;font-size:16px}.section-head{flex-direction:column}.customer-list{grid-template-columns:1fr}.search{gap:6px}.search button{padding:10px}.order-list{grid-template-columns:1fr}dialog{width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0}.dialog-head,.dialog-foot{padding:14px 16px}.dialog-body{padding:18px 16px}.summary{flex-direction:column;gap:12px}.repair-actions{grid-template-columns:1fr}.dialog-foot button{flex:1;font-size:14px}.brand strong{font-size:14px}}
:root dialog{max-width:none}
.record{flex-direction:column;align-items:flex-start}.record small{font-weight:normal;overflow-wrap:anywhere;font-size:13px;color:var(--muted)}
/* AudioCore neutral day/night palette; no green-tinted surfaces. */
:root{color:#202733;background:#eef0f4;--panel:#fff;--ink:#202733;--muted:#5d6677;--line:#d4dae4;--green:#2463bb;--soft:#edf2fa}
body.night{background:#101217;color:#eef0f5;--panel:#1b1e26;--ink:#eef0f5;--muted:#b3bbca;--line:#3b4352;--green:#367dd9;--soft:#262e3c}
.brand-mark{background:#242a35}.primary:hover{background:#1855a8}.selected{box-shadow:0 0 0 2px #4b83d220}.success{background:#e8f0fd;color:#214b80;border-color:#aec7ea}body.night .success{background:#23314a;color:#dae8ff;border-color:#4c6891}
dialog::backdrop{background:#080c14bc}.panel{box-shadow:0 12px 36px #151a2408}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline-color:#6a9fe8}
.display-switches,.dialog-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.segmented{display:flex;gap:3px;background:var(--soft);padding:4px;border:1px solid var(--line);border-radius:100px}.segmented button{min-height:44px;padding:8px 14px;border:0;border-radius:100px;font-size:15px;background:transparent;color:var(--muted)}.segmented button.active{background:var(--green);color:#fff}.theme-toggle button{font-size:24px;width:46px;padding:5px}.dialog-head{gap:12px}.dialog-head h1{overflow-wrap:anywhere}.dialog-tools{justify-content:flex-end}.dialog-head .display-switches{gap:7px}
@media(min-width:700px) and (max-width:1400px){:root{font-size:18px}button,.file-button{min-height:50px}dialog{width:min(1020px,calc(100% - 32px));max-height:calc(100dvh - 24px)}.name-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.name-card{min-height:82px}.dialog-body{padding:24px 28px}.repair-actions{position:sticky;bottom:-24px;background:var(--panel);padding:14px 0;margin-bottom:10px;z-index:2}}
@media(max-width:699px){header{flex-wrap:wrap}.head-actions{width:100%;justify-content:space-between}.head-actions button{font-size:14px}.dialog-head{flex-wrap:wrap}.dialog-tools{width:100%;justify-content:space-between}.dialog-head .segmented button{min-height:40px;padding:7px 11px;font-size:13px}.dialog-head .theme-toggle button{font-size:22px;width:38px}.dialog-body{padding:16px}.display-switches{gap:7px}.dialog-head h1{font-size:22px}}
