:root{color-scheme:light;--ink:#142b2a;--accent:#056757;--muted:#50615e;--edge:#d8e4df;--paper:#f0f5f2;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.5}
*{box-sizing:border-box}body{margin:0}h1,h2,p,dl{margin:0}h2{font-size:1.25rem;line-height:1.2}button,input,textarea,select{font:inherit}button{cursor:pointer}button[disabled]{cursor:default;opacity:.55}a,.link{color:var(--accent);font-weight:650}a:hover,.link:hover{text-decoration-thickness:2px}.wrap{width:min(100% - 2rem,1120px);margin-inline:auto}.top{background:#112b2a;color:#e0efeb}.brand{height:64px;display:flex;align-items:center;gap:15px;font-weight:600}.logo{color:#b1f3d8;letter-spacing:.13em;font-weight:850}.divider{height:20px;border-left:1px solid #63827c}.badge{margin-left:auto;border:1px solid #62847b;color:#d8f3eb;border-radius:999px;padding:3px 12px;font-size:.87rem}.hero{padding:40px 0 26px}.eyebrow{font-weight:750;font-size:.875rem;letter-spacing:.09em;color:var(--accent)}h1{font-size:clamp(2.15rem,5.5vw,3.75rem);letter-spacing:-.06em;line-height:1.07;margin:7px 0 11px}.hero p,.card p,footer{color:var(--muted)}.hero p{max-width:64ch}.layout{display:grid;grid-template-columns:1.55fr 1fr;gap:20px;align-items:start}aside{display:grid;gap:20px}.card{padding:23px;border:1px solid var(--edge);border-radius:16px;background:white}.card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.card-head p{margin-top:6px}.link{background:transparent;border:0;min-height:42px;text-decoration:underline;white-space:nowrap;padding:0 3px}form>label,legend,.photo-label{display:block;font-weight:690}input,textarea,select{min-width:0;width:100%;background:white;border:1px solid #9eada9;border-radius:8px;min-height:46px;padding:9px 11px;color:var(--ink)}form>input,form>select{margin-top:6px}.hint{margin:6px 0 14px;font-size:.9rem}fieldset{margin:17px 0 0;border:0;padding:0;min-inline-size:0}legend{margin-bottom:7px;padding:0}.step{display:inline-grid;place-items:center;width:25px;height:25px;background:#e1f2eb;color:#135c4d;border-radius:6px;margin-right:5px;font-size:.875rem}.scan-row{display:grid;grid-template-columns:1fr auto;gap:8px}.primary,.secondary{border:1px solid #bcd3c9;border-radius:8px;padding:9px 14px;min-height:44px;font-weight:700}.primary{background:var(--accent);color:white;border-color:var(--accent);width:100%;margin-top:20px}.primary:hover{background:#075346}.secondary{background:#eff7f3;color:#174d41}.secondary:hover:not(:disabled){background:#dceee5}.result{border-top:4px solid #7ea299}.result.ok{border-color:#368765;background:#f5fdf8}.result.limited{border-color:#a9711a;background:#fffbf0}.result.ng{border-color:#ab4547;background:#fff7f6}.result h2{margin:7px 0;font-size:1.8rem}dl{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;border-top:1px solid var(--edge);margin-top:16px;padding-top:12px;font-size:.9rem}dl[hidden]{display:none}dt{font-weight:700}dd{margin:0;overflow-wrap:anywhere}.trial p{margin:7px 0 14px}.samples{display:flex;gap:8px;flex-wrap:wrap}.samples a{flex-basis:100%;margin-top:4px}.history,.notes{margin-top:20px}.table-wrap{overflow:auto}table{width:100%;text-align:left;border-collapse:collapse;font-size:.9rem}th,td{padding:10px;border-bottom:1px solid var(--edge);vertical-align:top}th{white-space:nowrap;background:#eff6f3}summary{cursor:pointer;font-weight:730}.notes p{margin-top:10px}footer{padding:24px 0;font-size:.9rem}dialog{width:min(100% - 2rem,530px);border:0;border-radius:15px;padding:20px;color:var(--ink)}dialog::backdrop{background:#0e2221c9}.viewport{background:#142b2a;border-radius:9px;overflow:hidden}video{display:block;width:100%;max-height:45vh;aspect-ratio:4/3;object-fit:contain}dialog p{margin:10px 0}input[type=file]{height:auto}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}:focus-visible{outline:3px solid #087b69;outline-offset:3px}.sample-page .sample-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:14px;margin-top:20px}.sample-page .sample-grid img{display:block;width:180px;height:180px;margin:12px auto}.sample-page .sample-grid code{overflow-wrap:anywhere;font-size:.85rem}
@media(max-width:780px){.layout{grid-template-columns:1fr}.hero{padding-top:30px}.card{padding:17px}.history .card-head{align-items:start}.brand{height:55px}}@media print{.top,footer,.no-print{display:none}.card{break-inside:avoid}}

textarea{resize:vertical;max-height:12rem}
.compact-hero{padding-bottom:22px}.station-layout{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.field-gap{margin-top:14px}.pair-box{display:grid;grid-template-columns:180px 1fr;gap:20px;align-items:center;margin-top:20px;padding:16px;background:#eff7f3;border:1px solid var(--edge);border-radius:12px}.pair-box[hidden]{display:none}.qr-frame{background:white;padding:10px;border-radius:10px}.qr-frame img{display:block;width:100%;height:auto;image-rendering:pixelated}.pair-box h3{margin:5px 0;font-size:1.3rem}.small{font-size:.86rem;margin-top:8px!important}.message{min-height:1.5em;margin-top:12px!important;color:#315650!important;font-weight:600}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 11px;font-size:.84rem;font-weight:750;white-space:nowrap}.status-pill.idle{background:#edf2f0;color:#54635f}.status-pill.waiting{background:#fff1cd;color:#76520b}.status-pill.ok{background:#dff4e7;color:#17623f}.status-pill.ng{background:#fde2e1;color:#8b2f32}.scan-progress{display:grid;gap:9px;margin-top:20px}.progress-item{display:flex;gap:12px;align-items:center;padding:11px;border:1px solid var(--edge);border-radius:10px}.progress-item>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8efec;color:#5d6a66;font-weight:800}.progress-item div{display:grid}.progress-item small{color:var(--muted)}.progress-item.done{border-color:#8ac5a9;background:#f2fbf6}.progress-item.done>span{background:#23815d;color:white}.phone-wrap{max-width:720px}.scanner-card{display:grid;gap:14px}.scan-action{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;padding:15px;border:1px solid var(--edge);border-radius:12px}.scan-action p{margin-top:4px}.scan-action.complete{border-color:#69b692;background:#f1fbf5}.compact-button{width:auto;margin:0}.phone-page .result{margin-top:20px}.phone-page .trial{margin-top:20px}
.hero-row{display:flex;align-items:center;justify-content:space-between;gap:28px}.hero-row .hero{flex:1}.admin-profile{display:flex;align-items:center;gap:13px;min-width:300px;padding:10px 14px 10px 10px;border:1px solid var(--edge);border-radius:14px;background:white;box-shadow:0 8px 24px #12372f12}.admin-profile img{width:76px;height:76px;object-fit:cover;object-position:center 25%;border-radius:11px}.admin-profile div{display:grid}.admin-profile strong{font-size:1.05rem}.admin-profile span{color:var(--muted);font-size:.88rem}.admin-profile small{width:max-content;margin-top:5px;padding:3px 8px;border-radius:999px;background:#dff4e7;color:#17623f;font-weight:750;font-size:.75rem;letter-spacing:.02em}
@media(max-width:780px){.hero-row{align-items:flex-start;flex-direction:column;gap:0}.admin-profile{min-width:0;width:100%;margin-bottom:20px}.station-layout{grid-template-columns:1fr}.pair-box{grid-template-columns:140px 1fr}.scan-action{grid-template-columns:1fr}.compact-button{width:100%}}
@media(max-width:480px){.pair-box{grid-template-columns:1fr;text-align:center}.qr-frame{width:180px;margin:auto}}
