.screening { position:fixed; inset:0; width:100%; height:100dvh; max-width:none; max-height:none; margin:0; padding:max(16px,env(safe-area-inset-top)) clamp(12px,3vw,48px) calc(88px + env(safe-area-inset-bottom)); border:0; background:#f3fafa; color:#16302f; overflow:auto; }
.screening::backdrop,.screening-viewer::backdrop { background:#0b1312ed; }
.screening button { min-height:44px; border:1px solid #b8d8d7; border-radius:10px; padding:9px 14px; background:white; color:#246b70; font:inherit; cursor:pointer; }
.screening button:disabled { opacity:.45; cursor:default; }
.screening button:focus-visible,.screening summary:focus-visible { outline:3px solid #246b70; outline-offset:3px; }
.screening-head { display:flex; justify-content:space-between; align-items:center; gap:16px; max-width:1280px; margin:auto; }
.screening-head h1 { margin:3px 0 0; font-size:clamp(22px,3vw,30px); font-weight:550; letter-spacing:-.06em; }
.screening-eyebrow { margin:0; font-size:10px; letter-spacing:.22em; color:#246b70; }
.screening-intro,.screening-details,.screening-tools,.screening-grid { max-width:1280px; margin:14px auto; }
.screening-intro { line-height:1.7; color:#55716f; }
.screening-details { border-top:1px solid #d0eaea; padding:14px 0; font-size:13px; line-height:1.7; }
.screening-details summary { cursor:pointer; font-weight:600; }
.screening-details p { max-width:850px; color:#55716f; }
.screening-details textarea { display:block; width:100%; max-width:700px; min-height:100px; padding:12px; border:1px solid #b8d8d7; border-radius:10px; font:inherit; background:white; color:#16302f; }
.screening-tools { display:grid; grid-template-columns:auto auto 1fr; align-items:center; gap:8px; }
.screening-tools .screening-status { grid-column:1 / -1; min-width:0; }
.screening-tools>button:last-of-type { justify-self:end; }
.screening .screening-repick,.screening .screening-reanalyze { flex:none; font-size:13px; padding:8px 10px; }
.screening-status { margin:0; font-size:13px; color:#55716f; font-variant-numeric:tabular-nums; }
.screening-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr)); gap:14px; }
.screening-card { display:flex; flex-direction:column; gap:0; padding:10px; border:1px solid #d0eaea; border-radius:16px; background:white; min-width:0; }
.screening-card.keep { border:2px solid #246b70; padding:9px; }
.screening-card.exclude { opacity:.65; }
.screening .screening-thumb { display:block; width:100%; padding:0; overflow:hidden; border:0; border-radius:9px; aspect-ratio:4/3; flex-shrink:0; background:#121c1b; }
.screening-thumb img { width:100%; height:100%; object-fit:contain; }
.screening-placeholder { aspect-ratio:4/3; display:grid; place-items:center; border-radius:9px; background:#e3efef; color:#55716f; font-size:13px; }
.screening-filename { margin:8px 0; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-size:12px; font-weight:400; line-height:1.5; color:#55716f; }
.screening-hint { margin:0 0 8px; font-size:12px; line-height:1.5; color:#55716f; }
.screening-actions { display:flex; gap:8px; margin-top:auto; }
.screening-actions button { flex:1; }
.screening-actions button[aria-pressed=true] { background:#246b70; color:white; border-color:#246b70; }
.screening-footer { position:fixed; inset:auto 0 0; padding:10px max(12px,3vw) calc(10px + env(safe-area-inset-bottom)); background:#f3fafaf5; border-top:1px solid #b8d8d7; display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:nowrap; backdrop-filter:blur(12px); }
.screening-selected { flex:1; min-width:0; white-space:nowrap; }
.screening-selected strong { font-size:13px; font-variant-numeric:tabular-nums; }
.screening .screening-primary { background:#246b70; color:white; border-color:#246b70; }
.screening-viewer { width:min(96vw,1100px); height:min(94dvh,1000px); max-height:94dvh; border:0; border-radius:12px; background:#0b1312; color:#eaf2f1; padding:14px; overflow:hidden; }
.screening-viewer[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto auto; gap:10px; }
.screening-viewer-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.screening-viewer-position { font-size:13px; font-variant-numeric:tabular-nums; color:#b8d8d7; }
.screening-viewer-stage { min-height:0; min-width:0; touch-action:pan-y pinch-zoom; }
.screening-viewer img { display:block; width:100%; height:100%; object-fit:contain; }
.screening-viewer button { min-height:44px; border:1px solid #55716f; border-radius:8px; background:#1a2726; color:white; padding:8px 16px; }
.screening-viewer button:disabled { opacity:.35; }
.screening-viewer button:focus-visible,.screening-viewer summary:focus-visible { outline:2px solid #b8d8d7; outline-offset:2px; }
.screening-viewer-info { max-height:22dvh; overflow:auto; font-size:12px; color:#b8d8d7; }
.screening-viewer-info summary { cursor:pointer; line-height:32px; }
.screening-viewer-info p { overflow-wrap:anywhere; margin:6px 0; line-height:1.5; }
.screening-viewer-nav { display:flex; justify-content:space-between; gap:12px; }
.screening-viewer-nav button { flex:1; }
@media(max-width:540px) { .screening-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; } .screening-card { display:flex; flex-direction:column; gap:0; padding:7px; border-radius:12px; } .screening-card.keep { padding:6px; } .screening-actions { gap:4px; } .screening-actions button { padding:8px 5px; font-size:13px; } .screening-hint { font-size:11px; } .screening .screening-thumb,.screening-placeholder { aspect-ratio:1; } .screening-head { align-items:flex-start; } .screening-head button { padding:8px 12px; } .screening-footer { gap:7px; } .screening-footer>button { font-size:12px; padding:8px 10px; } }
