:root { color-scheme: light; --yellow:#ffcc00; --ink:#171717; --paper:#f5f5f2; --white:#fff; --muted:#6c6c66; --line:#deded8; --ok:#137a42; --bad:#b42318; --warn:#a15c00; --shadow:0 12px 32px rgba(20,20,16,.09); font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; background:var(--paper); color:var(--ink); min-height:100vh; overflow-x:hidden; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
.topbar { position:sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px clamp(14px,4vw,36px); background:var(--ink); color:white; box-shadow:0 4px 20px rgba(0,0,0,.2); }
.brand { display:flex; align-items:center; gap:10px; min-width:0; color:inherit; text-decoration:none; }
.brand-mark { display:grid; place-items:center; width:44px; height:44px; border-radius:12px; background:var(--yellow); color:var(--ink); font-weight:900; }
.brand strong,.brand small { display:block; }
.brand small { color:#bcbcb5; margin-top:2px; }
.top-actions { display:flex; align-items:center; gap:8px; }
.status-pill { padding:7px 10px; border:1px solid #4d4d48; border-radius:999px; font-size:.78rem; white-space:nowrap; }
.status-pill.online { color:#7ce0a5; }.status-pill.offline { color:#ffd36c; }.status-pill.pending { color:#ffb86b; }
.navigation { position:sticky; top:68px; z-index:10; display:flex; gap:4px; overflow:auto; padding:8px clamp(12px,4vw,36px); background:#292925; }
.navigation button { color:white; background:transparent; border:0; border-radius:8px; padding:9px 12px; white-space:nowrap; }
.navigation button:hover { background:#3d3d37; }
.container { width:min(1100px,100%); margin:0 auto; padding:24px clamp(14px,4vw,30px) 80px; }
.card { background:var(--white); border:1px solid var(--line); border-radius:16px; padding:18px; box-shadow:var(--shadow); }
.stack { display:grid; gap:16px; }.grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:14px; }
#customer-service-hint,#customer-empty-hint { grid-column:1 / -1; margin:0; }
.checklist-equipment-field { grid-column:1/-1; display:grid; grid-template-columns:minmax(220px,1fr) minmax(280px,1.35fr) auto; gap:12px; align-items:end; }
.selected-equipment { min-width:0; }
.selected-equipment > .muted { margin:0; min-height:112px; display:grid; place-items:center; border:1px dashed var(--line); border-radius:14px; }
.checklist-equipment-card { min-width:0; display:grid; grid-template-columns:148px minmax(0,1fr); gap:14px; align-items:center; overflow:hidden; border:1px solid #3c403f; border-radius:14px; padding:0; background:linear-gradient(145deg,#1b1e1d,#292c29); color:#fff; text-align:left; box-shadow:0 10px 24px rgba(15,18,17,.16); }
.checklist-equipment-media { position:relative; align-self:stretch; min-height:118px; display:grid; place-items:center; overflow:hidden; background-color:#161918; background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px); background-size:18px 18px; }
.checklist-equipment-media img { width:100%; height:118px; padding:7px; object-fit:contain; filter:drop-shadow(0 8px 8px rgba(0,0,0,.32)); }
.checklist-equipment-media img.custom-cover { padding:0; object-fit:cover; filter:none; }
.checklist-equipment-status { position:absolute; top:8px; right:8px; padding:4px 7px; border:1px solid rgba(255,204,0,.4); border-radius:999px; background:rgba(18,20,19,.86); color:#ffe169; font-size:.62rem; font-weight:850; text-transform:uppercase; }
.checklist-equipment-copy { min-width:0; display:grid; gap:3px; padding:12px 14px 12px 0; }
.checklist-equipment-copy small { color:#f4c400; font-size:.68rem; font-weight:850; letter-spacing:.06em; text-transform:uppercase; }
.checklist-equipment-copy strong { overflow:hidden; color:#fff; font-size:1.15rem; text-overflow:ellipsis; white-space:nowrap; }
.checklist-equipment-copy span { overflow:hidden; color:#c7cbc7; font-size:.76rem; text-overflow:ellipsis; white-space:nowrap; }
.checklist-equipment-choice { width:100%; cursor:pointer; transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease; }
.checklist-equipment-choice:hover,.checklist-equipment-choice:focus-visible { transform:translateY(-2px); border-color:#d9af00; outline:0; box-shadow:0 0 0 3px rgba(255,204,0,.2),0 14px 28px rgba(0,0,0,.25); }
.checklist-equipment-choice.selected { border-color:var(--yellow); box-shadow:0 0 0 2px var(--yellow); }
.checklist-equipment-dialog { width:min(1120px,calc(100vw - 28px)); }
.checklist-equipment-dialog-head { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; }
.checklist-equipment-dialog-head p,.checklist-equipment-dialog-head h2 { margin:0 0 5px; }
.checklist-equipment-filters { display:grid; grid-template-columns:minmax(240px,2fr) minmax(190px,1fr); gap:12px; margin:18px 0 8px; }
.checklist-equipment-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(285px,1fr)); gap:12px; max-height:min(62vh,680px); overflow:auto; padding:4px 4px 12px; }
.hero { background:linear-gradient(135deg,var(--ink),#34342e); color:white; border:0; padding:28px; }
.hero h1 { margin:0 0 8px; font-size:clamp(1.6rem,5vw,2.7rem); }.hero p { color:#d5d5ce; max-width:720px; }
.actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }
dialog { width:min(620px,calc(100vw - 28px)); max-height:calc(100vh - 34px); overflow:auto; border:1px solid #d8dde6; border-radius:16px; padding:0; color:var(--ink); background:#fff; box-shadow:0 24px 80px rgba(15,23,42,.35); }
dialog::backdrop { background:rgba(15,18,23,.65); backdrop-filter:blur(2px); }
dialog > .card { margin:0; box-shadow:none; }
.button,.icon-button { border:0; border-radius:10px; padding:11px 15px; font-weight:750; background:var(--yellow); color:var(--ink); }
.button.secondary,.icon-button { background:#3c3c37; color:white; }.button.danger { background:#ffe4e1; color:var(--bad); }.button:disabled { opacity:.45; cursor:not-allowed; }
.metric { padding:18px; }.metric strong { display:block; font-size:2rem; }.metric small { color:var(--muted); }
h1,h2,h3 { line-height:1.15; } h2 { margin-top:0; }
label { display:grid; gap:6px; font-weight:650; font-size:.9rem; }
input,select,textarea { width:100%; border:1px solid #c9c9c2; border-radius:10px; padding:11px 12px; background:white; color:var(--ink); }
textarea { min-height:78px; resize:vertical; }
input:focus,select:focus,textarea:focus { outline:3px solid rgba(255,204,0,.35); border-color:#a88400; }
.login { width:min(430px,100%); margin:8vh auto; }.login .brand-mark { width:64px; height:64px; margin-bottom:16px; }
.muted { color:var(--muted); }.small { font-size:.82rem; }.error { color:var(--bad); }.success { color:var(--ok); }
.order-row,.user-row,.ranking-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; padding:13px 0; border-bottom:1px solid var(--line); }
.order-row .actions { margin-top:0; justify-content:flex-end; }
.order-row:last-child,.user-row:last-child,.ranking-row:last-child { border-bottom:0; }
.badge { display:inline-block; padding:4px 8px; border-radius:999px; background:#ededE8; font-size:.75rem; font-weight:800; }.badge.closed { background:#dcfce7; color:#166534; }.badge.pending { background:#fff3cd; color:#7a4a00; }
.progress { display:block; width:100%; height:10px; border:0; border-radius:999px; background:#e7e7e1; overflow:hidden; appearance:none; }.progress::-webkit-progress-bar { background:#e7e7e1; }.progress::-webkit-progress-value { background:var(--yellow); }.progress::-moz-progress-bar { background:var(--yellow); }
.checklist-category { margin:24px 0 10px; padding-bottom:8px; border-bottom:3px solid var(--yellow); }
.check-item { display:grid; gap:12px; margin-bottom:12px; }.check-item.nc { border-color:#ffb4ad; }.check-item .item-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.validation-blocked { outline:3px solid var(--bad); outline-offset:3px; scroll-margin:120px 0; }
.completion-error { margin:0; padding:12px 14px; border-left:5px solid var(--bad); border-radius:10px; background:#fee2e2; color:#7f1d1d; font-weight:750; }
.field-blocker-message { margin:0 0 4px; padding:10px 12px; border-radius:8px; background:#fee2e2; color:#7f1d1d; font-weight:800; }
[aria-invalid="true"] { border-color:var(--bad); }
.result-buttons { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.result-buttons button { border:1px solid var(--line); background:#f7f7f3; border-radius:9px; padding:10px 5px; font-weight:800; }
.result-buttons button.selected.c { background:#dcfce7; border-color:#56b87d; color:#126534; }.result-buttons button.selected.nc { background:#fee2e2; border-color:#e57d75; color:#991b1b; }.result-buttons button.selected.na { background:#e5e7eb; border-color:#9ca3af; }
.photo-actions { display:flex; flex-wrap:wrap; gap:10px; }
.photo-control { position:relative; display:inline-flex; align-items:center; gap:8px; margin:0; padding:10px 14px; border-radius:10px; background:#3c3c37; color:#fff; font-weight:750; cursor:pointer; overflow:hidden; }
.photo-control.photo-camera { background:var(--yellow); color:var(--ink); }
.photo-control input { position:absolute; inset:0; opacity:0; width:100%; height:100%; margin:0; padding:0; border:0; font-size:0; cursor:pointer; }
.photo-icon { width:22px; height:22px; flex:0 0 22px; fill:currentColor; }
.item-photos { display:flex; flex-wrap:wrap; gap:12px; }
.item-photo-card { display:grid; gap:6px; width:96px; margin:0; }
.item-photo { width:88px; height:88px; object-fit:cover; border-radius:10px; border:1px solid var(--line); background:#f3f3ee; }
.item-photo-placeholder { display:grid; place-items:center; font-size:.72rem; font-weight:800; color:var(--muted); }
.item-photo-toolbar { display:grid; gap:4px; }
.item-photo-tool { position:relative; display:flex; align-items:center; justify-content:center; gap:4px; margin:0; padding:6px 8px; border:0; border-radius:8px; background:#3c3c37; color:#fff; font-size:.72rem; font-weight:750; cursor:pointer; overflow:hidden; }
.item-photo-tool.danger { background:#ffe4e1; color:var(--bad); }
.item-photo-tool input { position:absolute; inset:0; opacity:0; width:100%; height:100%; margin:0; padding:0; border:0; font-size:0; cursor:pointer; }
.item-photo-tool .photo-icon { width:14px; height:14px; flex:0 0 14px; fill:currentColor; }
.signature { width:100%; height:170px; border:2px dashed #a9a9a1; border-radius:12px; background:white; touch-action:none; }
.toast { position:fixed; z-index:50; left:50%; bottom:24px; transform:translateX(-50%); max-width:min(520px,90vw); padding:12px 18px; border-radius:12px; color:white; background:#222; box-shadow:var(--shadow); }
.toast-info { background:#222; }.toast-error { background:#991b1b; }.toast-success { background:#166534; }
.avatar { width:48px; height:48px; border-radius:50%; object-fit:cover; background:#ddd; display:grid; place-items:center; font-weight:900; }
.user-main { display:flex; align-items:center; gap:12px; min-width:0; }.user-main div { min-width:0; }
.stars { color:#c79100; letter-spacing:2px; }
.guide article { margin-bottom:24px; }.guide li { margin:.45rem 0; }
.sync-box { border-left:5px solid var(--yellow); }
.history-filters { margin:16px 0 8px; }
.receipt-box { border-left:5px solid var(--ok); }
.offline-guide .lead { padding:14px; border-radius:12px; background:#fff3cd; font-size:1.05rem; }
@media (max-width:820px) { .checklist-equipment-field { grid-template-columns:1fr; align-items:stretch; }.checklist-equipment-field > .button { width:100%; }.checklist-equipment-filters { grid-template-columns:1fr; }.checklist-equipment-grid { grid-template-columns:1fr; }.checklist-equipment-dialog-head { align-items:center; } }
@media (max-width:650px) { .topbar { gap:8px; padding:10px; }.brand { gap:8px; flex:1 1 auto; }.brand-mark { flex:0 0 42px; width:42px; height:42px; }.brand span:last-child { min-width:0; }.brand strong { max-width:112px; font-size:.82rem; line-height:1.15; }.brand small { display:none; }.top-actions { flex:0 0 auto; gap:6px; }.status-pill { max-width:90px; overflow:hidden; text-overflow:ellipsis; }.icon-button { padding:10px 9px; font-size:.78rem; }.navigation { top:62px; }.container { padding-top:16px; }.card { border-radius:13px; padding:15px; }.result-buttons button { font-size:.8rem; }.order-row { align-items:start; }.checklist-equipment-card { grid-template-columns:118px minmax(0,1fr); }.checklist-equipment-media,.checklist-equipment-media img { min-height:104px; height:104px; }.checklist-equipment-copy { padding-right:10px; }.checklist-equipment-dialog { width:calc(100vw - 18px); max-height:calc(100vh - 18px); } }
@media (prefers-reduced-motion:reduce) { .checklist-equipment-choice { transition:none; }.checklist-equipment-choice:hover,.checklist-equipment-choice:focus-visible { transform:none; } }
