:root{color-scheme:dark;--yellow:#f5c400;--bg:#101820;--tile:#263644;--muted:#adbbc8}
*{box-sizing:border-box}html{min-height:100%;background:var(--bg)}body{margin:0;min-height:100vh;background:var(--bg);color:#f5f6f7;font-family:Inter,Arial,Helvetica,sans-serif}
button,label{-webkit-tap-highlight-color:transparent}.app-shell{width:min(100%,900px);margin:0 auto;padding:16px;padding-bottom:max(22px,env(safe-area-inset-bottom))}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.brand{font-size:26px;line-height:1;font-weight:900;letter-spacing:-.8px}.tagline{margin-top:5px;color:var(--muted);font-size:10px;letter-spacing:2px}.brand-mark{color:var(--yellow);font-size:10px;font-weight:800;letter-spacing:.8px;text-align:right}
.photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.section-kicker{font-size:12px;font-weight:900;letter-spacing:1px;color:var(--yellow)}.photo-subtitle{margin-top:4px;color:var(--muted);font-size:11px}.count-badge{padding:7px 10px;border-radius:20px;background:#263644;color:var(--yellow);font-size:11px;font-weight:900;white-space:nowrap}
.photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo-card{position:relative;min-width:0;aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:#26323b;border:1px solid #394955}.photo-card img{width:100%;height:100%;object-fit:cover;display:block}.photo-number{position:absolute;left:7px;top:7px;padding:5px 8px;border-radius:15px;background:#101820dc;color:#fff;font-size:10px;font-weight:800}.remove-photo{position:absolute;right:7px;top:7px;width:27px;height:27px;border:0;border-radius:50%;background:#101820e8;color:#fff;font-size:18px;line-height:1;cursor:pointer}.add-photo-card{aspect-ratio:1/1;border:2px dashed #806c22;border-radius:10px;background:#202a30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#fff;cursor:pointer;text-align:center;padding:8px}.add-icon{font-size:32px;color:var(--yellow);line-height:1}.add-photo-card strong{font-size:12px}.add-photo-card small{font-size:10px;color:var(--muted)}.add-photo-card.disabled{display:none}.file-name{min-height:17px;padding:8px 2px 2px;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.photo-hint{color:#82919d;font-size:10px;line-height:1.5;margin:3px 2px 0}
.primary-button{width:100%;margin:12px 0 20px;padding:17px 14px;border:0;border-radius:10px;background:var(--yellow);color:#15191d;font-size:15px;font-weight:900;cursor:pointer}.primary-button:disabled{opacity:.6;cursor:wait}
.result-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}h1{margin:0;font-size:18px;font-weight:800}.badge{flex:none;padding:7px 11px;border-radius:20px;font-size:10px;font-weight:900;letter-spacing:.3px}.badge-waiting{background:#392820;color:#ff9665}.badge-detected{background:#174b35;color:#7be6a7}.badge-hold{background:#59471b;color:#ffdf79}
.identity-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.result-tile{min-width:0;padding:13px 12px;border-radius:10px;background:var(--tile)}.field-label{color:var(--muted);font-size:13px}.field-value{margin-top:7px;font-size:17px;font-weight:750;overflow-wrap:anywhere}
.decision-panel{margin-top:13px;padding:17px;border-radius:11px}.decision-hold{background:#382b20;color:#ffc16b}.decision-go{background:#173d2d;color:#83e6aa}.decision-nogo{background:#482525;color:#ff9e9e}.decision-value{font-size:26px;font-weight:900}.decision-panel p{margin:8px 0 0;color:#f4f4f4;font-size:14px;line-height:1.5}
.references-heading{margin:22px 0 12px;font-size:17px;font-weight:800}.references-list{display:grid;gap:9px}.reference-card{padding:13px;border-radius:9px;background:var(--tile);font-size:13px;line-height:1.45;overflow-wrap:anywhere}.reference-card small{display:block;margin-top:6px;color:var(--muted);font-size:11px}.reference-card a{color:var(--yellow)}.system-message{margin:15px 0 4px;color:var(--muted);text-align:center;font-size:11px;letter-spacing:.3px}
.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.secondary-button{padding:15px 10px;border:0;border-radius:9px;background:var(--tile);color:#f5f6f7;font-size:14px;font-weight:850;cursor:pointer}.disclaimer{margin:13px 2px 0;color:#82919d;text-align:center;font-size:10px;line-height:1.5}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.hidden{display:none!important}
button:focus-visible,label:focus-visible{outline:2px solid white;outline-offset:3px}
@media(min-width:700px){.app-shell{padding:24px}.photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.field-value{font-size:19px}}
@media(max-width:380px){.app-shell{padding:12px}.brand{font-size:23px}h1{font-size:16px}.field-label{font-size:12px}.field-value{font-size:15px}}
