:root{font-family:Inter,Noto Sans SC,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#15243a;background:#edf3fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:radial-gradient(circle at top right,rgba(77,154,245,.18),transparent 36%),#edf3fa}button,input{font:inherit}button{cursor:pointer}.app-shell{width:min(100%,620px);margin:0 auto;padding:max(18px,env(safe-area-inset-top)) 16px max(28px,env(safe-area-inset-bottom))}.app-header,.brand,.uid-row,.settings-actions,.profile-card{display:flex;align-items:center}.app-header{justify-content:space-between;gap:12px;margin-bottom:16px}.brand{gap:10px}.brand img{border-radius:13px;box-shadow:0 8px 24px #1268d73d}h1,h2,h3,p{margin-top:0}.brand h1{margin:0;font-size:20px}.brand p{margin:2px 0 0;color:#6f7d91;font-size:12px}.worker-badge,.confidence,.tag{border-radius:999px;padding:6px 10px;font-size:12px;font-weight:700}.worker-badge.online{color:#0a6b49;background:#daf5e9}.worker-badge.offline{color:#6c7789;background:#dfe6ef}.search-card,.settings-card,.profile-card,.judgment-card,.section-card,.metric-grid article,.notice{border:1px solid rgba(20,55,96,.09);border-radius:18px;background:#fffffff5;box-shadow:0 12px 30px #29497012}.search-card,.settings-card,.profile-card,.judgment-card,.section-card,.notice{padding:16px;margin-bottom:12px}label,summary{display:block;margin-bottom:7px;font-size:13px;font-weight:700;color:#425470}summary{cursor:pointer}input{width:100%;min-height:46px;border:1px solid #ccd8e8;border-radius:12px;padding:0 13px;background:#fff;color:#15243a;outline:none}input:focus{border-color:#2680e8;box-shadow:0 0 0 3px #2680e824}.uid-row,.settings-actions{gap:9px}.uid-row{margin-bottom:10px}.uid-row input{font-size:18px;font-weight:700}button{min-height:44px;border:0;border-radius:12px;padding:0 16px;font-weight:750}button.primary{width:100%;color:#fff;background:linear-gradient(135deg,#0f64d3,#2c89ee)}button.secondary{color:#155fae;background:#eaf3fd;white-space:nowrap}button:disabled{opacity:.62}.status-text,.hint{margin:10px 0 0;color:#718096;font-size:12px;line-height:1.55}.status-text[data-tone=loading]{color:#1268d7}.status-text[data-tone=success]{color:#08744d}.status-text[data-tone=error]{color:#c13e45}.settings-card input{margin-bottom:10px}.pairing-code-output{margin:12px 0;color:#1268d7;font-size:15px;font-weight:800;letter-spacing:.04em}.admin-subtitle{margin:16px 0 8px}.device-row,.audit-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #e8edf3;font-size:12px}.device-row span{display:block;margin-top:3px;color:#718096}.danger-small{min-height:34px;padding:0 10px;color:#b52f38;background:#ffe8ea}.profile-card{gap:12px}.avatar{width:52px;height:52px;border-radius:15px;object-fit:cover;background:#e6edf6}.profile-card h2{margin:0 0 4px;font-size:18px}.profile-card p{margin:0;color:#718096;font-size:13px}.confidence{margin-left:auto;color:#175a9e;background:#e5f1ff}.judgment-card{color:#fff;background:linear-gradient(145deg,#112942,#174e82)}.judgment-card>span{color:#a9caee;font-size:12px}.judgment-card h2{margin:8px 0 10px;font-size:21px}.judgment-card p{margin-bottom:8px;color:#e3edf7;line-height:1.55}.metric-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:12px}.metric-grid article{padding:14px}.metric-grid span,.metric-grid small{display:block;color:#748298;font-size:11px}.metric-grid strong{display:block;margin:7px 0 5px;color:#0f5ead;font-size:20px}.section-card h3{margin-bottom:12px;font-size:15px}.section-card p{margin:7px 0 0;color:#5d6c81;line-height:1.55}.tags{display:flex;flex-wrap:wrap;gap:7px}.tag{color:#1a5d9d;background:#e6f2ff}.tag.warning{color:#8b5a00;background:#fff0ca}.tag.confirmed{color:#08704c;background:#ddf5e9}.room-row{margin-top:12px}.room-row:first-child{margin-top:0}.room-row>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:12px}.room-row span{color:#68788e}.bar-track{height:7px;margin-top:7px;overflow:hidden;border-radius:999px;background:#e7edf4}.bar-fill{height:100%;border-radius:inherit;background:#2781e7}.room-row.home .bar-fill{background:#13a87e}.notice{color:#77550c;background:#fff8df;line-height:1.55;font-size:12px}@media(max-width:360px){.metric-grid{grid-template-columns:1fr}.worker-badge{display:none}}
