:root{font-family:Segoe UI,Arial,sans-serif;color:#193444;background:#f2f6f8;font-size:16px;--teal:#087e83;--line:#d9e4e9}*{box-sizing:border-box}body{margin:0}header{background:white;min-height:92px;padding:20px clamp(16px,4vw,64px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line)}.brand{color:var(--teal);text-decoration:none;font-weight:850;letter-spacing:.04em;font-size:30px}.brand small{display:block;font-size:12px;letter-spacing:.01em;color:#647782;font-weight:600}.identity{display:flex;gap:16px;align-items:center;font-size:13px;color:#526a79}nav{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line);padding:8px clamp(12px,4vw,64px);display:flex;gap:6px;overflow-x:auto}nav button{white-space:nowrap;border:0;background:transparent;font-weight:650}nav button[aria-current=page]{background:#e0f2f0;color:#05686c}main{max-width:1440px;margin:auto;padding:24px clamp(16px,4vw,60px)}h1{font-size:30px;letter-spacing:-.025em;margin:7px 0 12px}h2{font-size:20px;margin:8px 0 20px}p{line-height:1.55}.eyebrow{font-size:11px;letter-spacing:.16em;color:var(--teal);font-weight:800;margin-bottom:4px}.muted{color:#667b89;font-size:14px}#notice{background:#e0f1ef;color:#145c5e;border-radius:10px;padding:14px 18px;margin:0 0 24px;overflow-wrap:anywhere}#notice.error{background:#fff0ee;color:#9e3128}.card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:26px;margin:0 0 24px;box-shadow:0 5px 20px #12384906}.login{max-width:490px;margin:36px auto}.login button.primary{width:100%;margin:14px 0}.title{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.title h2{margin:0}label{display:block;font-size:14px;font-weight:600;margin-bottom:14px}input,select{font:inherit;color:inherit;background:#fff;border:1px solid #b9cbd3;border-radius:8px;padding:12px;width:100%;margin-top:7px;min-height:46px}input[type=checkbox]{width:20px;min-height:20px;accent-color:var(--teal)}.checkbox{display:flex;align-items:center;gap:10px}button{font:inherit;font-size:14px;border:1px solid #b8ced6;padding:11px 16px;border-radius:8px;background:white;color:#234555;cursor:pointer;min-height:44px}button:hover{background:#edf6f6}button.primary{background:var(--teal);border-color:var(--teal);color:#fff}button.primary:hover{background:#066c70}.secondary{border-color:var(--teal);color:var(--teal)}button.danger{color:#b32a32;border-color:#e4b8bd}button:disabled{opacity:.45;cursor:not-allowed}.link{border:0;color:var(--teal);background:transparent;font-size:13px}.actions{display:flex;gap:10px;flex-wrap:wrap}.large{font-size:17px;padding:16px 20px;flex:1}.kiosk-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.person-preview{display:flex;gap:24px;align-items:center;min-height:180px;margin:20px 0}.person-preview img{width:140px;height:150px;object-fit:cover;border-radius:14px}.badge{display:inline-block;border-radius:30px;padding:9px 14px;background:#e6f2f1;font-size:12px;color:#076d70}.result{font-weight:700;font-size:19px;white-space:pre-line}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{text-align:left;background:#f3f7f9;color:#5a7382;font-weight:650;font-size:12px;white-space:nowrap}th,td{padding:13px 12px;border-bottom:1px solid #e5edf0}td img{width:48px;height:48px;object-fit:cover;border-radius:10px}td{vertical-align:middle}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;align-items:end}.form-grid button{margin-bottom:14px}.form-grid label{min-width:0}.form-grid fieldset{border:1px solid var(--line);border-radius:8px;min-width:0}.portrait{max-width:100%;width:240px;max-height:260px;object-fit:contain;border-radius:12px}.person-editor{display:grid;grid-template-columns:1fr 1.5fr;gap:30px}.person-editor input[type=file]{font-size:12px}dialog{border:1px solid var(--line);border-radius:18px;width:min(960px,94vw);max-height:92dvh;padding:28px;color:#193444;box-shadow:0 25px 100px #0004}dialog::backdrop{background:#102e4280;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:15px}.dialog-head h2{margin:0}.dialog-head button{font-size:20px;padding:7px 13px}#camera-dialog{width:min(800px,94vw)}video{width:100%;max-height:55dvh;background:#172f3c;object-fit:contain;border-radius:12px;transform:scaleX(-1)}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.7 Segoe UI,Arial,sans-serif}.preview{max-height:280px}#ask-dialog{width:min(540px,94vw)}hr{border:0;border-top:1px solid var(--line);margin:24px 0}footer{text-align:center;padding:20px;font-size:12px;color:#788d98}[hidden]{display:none!important}:focus-visible{outline:3px solid #52b8bd;outline-offset:3px}@media(max-width:850px){.kiosk-grid{grid-template-columns:1fr}header{align-items:flex-start}.identity{max-width:45%;overflow-wrap:anywhere}.title{align-items:flex-start;flex-direction:column}.card{padding:18px}.person-editor{grid-template-columns:1fr}.person-editor .portrait{max-height:180px}h1{font-size:26px}dialog{padding:20px}.person-preview{min-height:140px}.person-preview img{width:110px;height:120px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#definitions{grid-template-columns:1fr}}@media(max-width:450px){.form-grid{grid-template-columns:1fr}.identity span{display:none}}
