.capture{--cap-accent:#087f8c;--cap-soft:#eaf5f5;--cap-amber:#996015;--cap-amber-soft:#fff4df;display:grid;gap:12px;min-width:0;color:var(--text)}
.dark .capture{--cap-accent:#66d7cf;--cap-soft:#18363e;--cap-amber:#f0c679;--cap-amber-soft:#3b3021}
.capture *{box-sizing:border-box}.capture [hidden]{display:none!important}.capture .panel{padding:16px;min-width:0;margin:0}.capture h2,.capture h3,.capture p{margin:0}.capture h3{font-size:1rem;line-height:1.5}.capture button,.capture select,.capture input{min-height:40px}.capture button{font-size:.875rem}.capture :focus-visible{outline:3px solid var(--cap-accent);outline-offset:3px}.capture button:disabled{cursor:default}.cap-eyebrow{font-size:.75rem;font-weight:750;letter-spacing:.13em;color:var(--cap-accent)}
.cap-upload{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:2px solid var(--cap-accent);border-radius:12px}.cap-upload-copy{display:flex;align-items:center;gap:12px;min-width:0}.cap-mark{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:11px;color:var(--cap-accent);background:var(--cap-soft);font-size:1.8rem}.cap-upload h2{font-size:1.1rem;line-height:1.45;letter-spacing:-.02em}.cap-upload p{font-size:.875rem;color:var(--muted);margin-top:3px}.cap-file{display:flex;align-items:center;gap:8px;flex:none}.cap-file input[type=file]{display:none}.cap-file button{white-space:nowrap;padding-inline:14px}.cap-upload.has-result .cap-eyebrow{display:none}.cap-upload.has-result .cap-mark{width:36px;height:36px;font-size:1.5rem}
#cap-status{font-size:.875rem;color:var(--muted);padding-inline:2px}#cap-status:empty,.capture>.error:empty{display:none}.capture>progress{width:100%;height:6px;accent-color:var(--cap-accent)}.capture>.error{padding:10px 12px;border-radius:8px;border:1px solid currentColor;overflow-wrap:anywhere}
.cap-intro{display:grid;grid-template-columns:auto 1fr;gap:20px;align-items:center}.cap-empty-signal{font-size:1.75rem;letter-spacing:.05em;color:var(--cap-accent);padding:18px;background:var(--cap-soft);border-radius:12px;white-space:nowrap}.cap-empty-signal span{font-size:1rem;opacity:.65}.cap-intro h3{font-size:1.2rem;margin:3px 0 6px}.cap-intro p{max-width:75ch;line-height:1.65}.cap-intro-grid{display:flex;flex-wrap:wrap;gap:10px 22px;margin:12px 0;font-size:.875rem}.cap-intro small{display:block;line-height:1.6;color:var(--muted)}
.cap-caption{display:flex;justify-content:space-between;align-items:center;gap:8px 20px;flex-wrap:wrap}.cap-caption strong{min-width:0;overflow-wrap:anywhere}.cap-caption>span{font-size:.875rem;color:var(--muted);overflow-wrap:anywhere}.cap-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;border-bottom:1px solid var(--line);padding:2px 0 12px}.cap-stats>div{padding:0 12px;border-left:1px solid var(--line);min-width:0}.cap-stats>div:first-child{padding-left:0;border-left:0}.cap-stats strong{font-size:1.2rem;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.cap-stats span{display:block;font-size:.875rem;color:var(--muted)}
.cap-brief{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}.cap-brief-main{padding:20px 22px;background:#102f3d;color:#f3f8fb}.dark .cap-brief-main{background:#143340}.cap-brief-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.cap-brief-main .cap-eyebrow{color:#78dcd4}.cap-scope-badge{font-size:.75rem;padding:3px 8px;border:1px solid #ffffff36;border-radius:20px;color:#c3d9e1}.cap-brief h2{font-size:1.45rem;line-height:1.35;letter-spacing:-.025em;margin:12px 0 8px;max-width:32ch}.cap-brief-main>p{font-size:.875rem;color:#c5d8e0;line-height:1.6;max-width:65ch}.cap-brief-counts{display:flex;gap:26px;margin-top:16px;align-items:start}.cap-brief-counts>button,.cap-brief-counts>div{padding:0;border:0;min-height:0;text-align:left;background:transparent!important;color:inherit;min-width:0}.cap-brief-counts strong{display:block;font-size:1.8rem;line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums}.cap-brief-counts span{font-size:.8125rem;color:#c5d8e0;display:block;margin-top:4px}.cap-brief-counts>button:nth-child(2) strong{color:#f3ce89}.cap-priorities{padding:16px 18px;min-width:0}.cap-priorities>.cap-section-head{margin-bottom:8px}.cap-priorities>button{display:grid;grid-template-columns:8px minmax(0,1fr) auto auto;align-items:center;gap:12px;width:100%;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;text-align:left;padding:9px 2px;min-height:54px}.cap-priorities>button:first-of-type{border-top:0}.cap-priorities>button:hover{background:var(--cap-soft)}.cap-priorities>button[aria-pressed=true]{color:var(--cap-accent);background:var(--cap-soft)}.cap-priorities b{font-size:.875rem;line-height:1.4;display:block}.cap-priorities small{display:block;color:var(--muted);font-size:.8125rem;margin-top:2px}.cap-priorities>button>strong{font-size:1.1rem}.cap-signal-dot{width:7px;height:7px;border-radius:50%;background:var(--cap-amber)}.cap-signal-dot.observed{background:var(--cap-accent)}.cap-priorities>p{font-size:.875rem;line-height:1.65;margin-top:16px}
.cap-brief-counts button[aria-pressed=true] span{text-decoration:underline;text-underline-offset:4px;color:#fff}.cap-section-head,.cap-pagination,.cap-axis{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.cap-section-head>span,.cap-axis{font-size:.8125rem;color:var(--muted)}.capture .cap-coverage{padding:10px 14px;border-radius:9px;background:var(--surface)}.cap-coverage>summary{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap;cursor:pointer;font-size:.875rem}.cap-coverage>summary>span:first-child{font-weight:650}.cap-coverage>summary>span:first-child:before{content:'▸';display:inline-block;margin-right:8px;color:var(--cap-accent)}.cap-coverage[open]>summary>span:first-child:before{content:'▾'}.cap-coverage>summary>span:last-child{color:var(--muted);font-size:.8125rem}.cap-coverage ul,.cap-coverage p{line-height:1.65;font-size:.875rem}.cap-coverage ul{padding-left:22px;margin:10px 0}.cap-coverage li+li{margin-top:5px}
.cap-explorer{border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden;min-width:0}.cap-workbench-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line)}.cap-workbench-head>#cap-reset{min-height:34px}.cap-tabs{display:flex;gap:4px;min-width:0;overflow-x:auto}.cap-tabs button{display:flex;align-items:center;gap:7px;white-space:nowrap;background:transparent;border:1px solid transparent;padding:8px 12px;min-height:38px;color:var(--muted)}.cap-tabs button[aria-selected=true]{color:var(--cap-accent);border-color:var(--cap-accent);background:var(--cap-soft);font-weight:700}.cap-tabs button>span{font-size:.75rem;border-radius:12px;padding:1px 6px;background:var(--surface)}.cap-filters{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) minmax(0,.8fr);gap:12px;padding:12px 14px 8px}.cap-filters label,.cap-evidence-tools>label{font-size:.8125rem;color:var(--muted);display:grid;gap:4px;min-width:0}.cap-filters input,.cap-filters select{width:100%;min-width:0;margin:0}.cap-scope-line{display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;font-size:.8125rem;padding:0 14px 10px;color:var(--muted);border-bottom:1px solid var(--line)}.cap-scope-line>span{font-size:.75rem}.cap-explorer>[role=tabpanel]{padding:14px;min-width:0}
.cap-evidence-tools{display:flex;justify-content:space-between;align-items:end;gap:12px;margin-bottom:10px}.cap-evidence-tools p{font-size:.8125rem;line-height:1.5;color:var(--muted);margin-top:3px}.cap-evidence-tools>label{width:min(280px,40%)}.cap-evidence-tools select{min-width:0;width:100%;margin:0}.cap-evidence-row{display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.cap-evidence-copy{min-width:0}.cap-evidence-copy>strong{font-size:1rem;line-height:1.5}.cap-evidence-copy>p{font-size:.875rem;color:var(--muted);line-height:1.6;margin:2px 0}.cap-evidence-copy>span{font-size:.8125rem;overflow-wrap:anywhere;color:var(--muted)}.cap-inline-separator{padding:0 4px;opacity:.6}.cap-confidence{display:inline-flex;justify-content:center;align-items:center;width:fit-content;padding:4px 8px;border-radius:6px;font-size:.75rem;font-weight:650;color:var(--cap-amber);background:var(--cap-amber-soft);white-space:nowrap}.cap-confidence.observed{background:var(--cap-soft);color:var(--cap-accent)}.cap-detail-action{color:var(--cap-accent);border-color:var(--line);background:transparent;white-space:nowrap}.cap-detail-action>span{margin-left:5px}.cap-pagination{font-size:.8125rem;color:var(--muted);padding-top:12px;border-top:1px solid var(--line)}.cap-no-evidence{padding:20px 4px;line-height:1.65}.cap-no-evidence p{font-size:.875rem;color:var(--muted);margin-top:5px}
.cap-visuals{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:12px;align-items:start}.cap-visuals .panel,.cap-timeline-panel{border:1px solid var(--line);box-shadow:none!important}.cap-map{width:100%;height:auto;max-height:250px;display:block}.cap-map line{stroke:var(--cap-accent);opacity:.25}.cap-map circle{fill:var(--cap-accent);stroke:var(--cap-soft);stroke-width:4}.cap-map circle.selected{stroke:currentColor}.cap-map text{font-size:12px;fill:currentColor}.cap-map g{cursor:pointer}.cap-map g:focus{outline:none}.cap-map g:focus circle{stroke:currentColor;stroke-width:6}.cap-endpoints{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 8px}.cap-endpoints button{font-size:.8125rem;padding:4px 8px;min-height:32px;max-width:100%;overflow-wrap:anywhere}.capture [aria-pressed=true]{background:var(--cap-soft);border-color:var(--cap-accent)}.cap-map-key{font-size:.8125rem;color:var(--muted);line-height:1.6}.cap-protocol{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 8px;width:100%;text-align:left;margin:5px 0;padding:6px 8px;background:transparent;border-color:transparent;min-height:34px!important}.cap-protocol>span:first-child{overflow-wrap:anywhere}.cap-meter{grid-column:1/-1;background:var(--cap-soft);height:3px;border-radius:4px;overflow:hidden}.cap-meter i{display:block;height:100%;background:var(--cap-accent)}.capture .cap-timeline-panel{margin-top:12px}.cap-timeline{height:72px;display:flex;gap:3px;align-items:end;margin-top:10px}.cap-timeline>div{flex:1;min-width:1px;border-radius:2px 2px 0 0;background:var(--cap-accent);opacity:.85}.cap-axis{margin:8px 0;overflow-wrap:anywhere}
.cap-auth .cap-section-head{margin-bottom:10px}.cap-auth-intro{line-height:1.6;font-size:.875rem;margin-bottom:10px!important}.cap-auth-exchange{padding:10px 0;border-top:1px solid var(--line)}.cap-auth-exchange>summary{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;cursor:pointer;font-size:.875rem}.cap-auth-exchange>summary>span:last-child{font-size:.8125rem;color:var(--muted)}.cap-auth-exchange p{line-height:1.65;font-size:.875rem;margin:10px 0;overflow-wrap:anywhere}.cap-auth-phases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px}.cap-auth-stage{background:var(--cap-soft);border-radius:8px;padding:10px;min-width:0}.cap-auth-stage b,.cap-auth-stage span{display:block;overflow-wrap:anywhere;font-size:.8125rem}.cap-auth-stage span{margin-top:4px;color:var(--muted)}.cap-auth-stage.missing{background:var(--cap-amber-soft);border:1px dashed var(--cap-amber);color:var(--cap-amber)}.cap-phase-state{font-size:.75rem;padding:3px 7px;border-radius:5px;background:var(--cap-soft);color:var(--cap-accent)}.cap-phase-state.missing{color:var(--cap-amber);background:var(--cap-amber-soft)}.cap-auth-messages,.cap-auth-notes,.cap-context-packets,.cap-detail-coverage{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.capture summary{cursor:pointer}.cap-auth-notes p{margin-top:10px;font-size:.875rem;line-height:1.65}.capture .table-wrap{max-height:440px;overflow:auto;min-width:0}.capture table{width:100%;margin:0}.capture th{white-space:nowrap;font-size:.875rem}.capture td{font-size:1rem;overflow-wrap:anywhere}.capture td small{display:block;font-size:.8125rem;color:var(--muted);margin-top:4px}.cap-packet-table table{min-width:780px}
.cap-detail-dialog{color:var(--text);background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:0;width:min(1120px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);position:fixed;inset:0;margin:auto;overflow:auto;box-shadow:0 22px 70px #0004}.cap-detail-dialog{overscroll-behavior:contain}.cap-detail-dialog::backdrop{background:#0715219c;backdrop-filter:blur(2px)}.cap-detail-dialog[open]{display:block}.cap-detail-header{display:flex;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line);background:var(--surface);position:sticky;top:0;z-index:2}.cap-detail-header>div{min-width:0}.cap-detail-header h2{font-size:1.4rem;line-height:1.4;margin:4px 0;overflow-wrap:anywhere}.cap-detail-header p{font-size:.875rem;overflow-wrap:anywhere;color:var(--muted)}.cap-detail-header>button{width:38px;height:38px;min-height:38px;flex:none;padding:0;font-size:1rem}.cap-back{background:transparent;padding:0;min-height:30px!important;border:0;color:var(--cap-accent)}.cap-detail-body{padding:18px 20px;display:grid;gap:18px}.cap-detail-body h3{margin-bottom:8px}.cap-detail-body p,.cap-detail-body li{line-height:1.65}.cap-observation{border-left:3px solid var(--cap-accent);background:var(--cap-soft);padding:14px 16px;border-radius:0 10px 10px 0}.cap-observation>h3{display:inline-block;margin-left:8px}.cap-observation>p{font-size:1rem;margin:8px 0 12px}.cap-detail-meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:.8125rem;color:var(--muted);font-variant-numeric:tabular-nums}.cap-detail-meta span{overflow-wrap:anywhere}.cap-interpretation{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px}.cap-interpretation section{padding:14px;border:1px solid var(--line);border-radius:9px}.cap-interpretation p,.cap-interpretation li{font-size:.875rem}.cap-interpretation ol{margin:0;padding-left:20px}.cap-interpretation li+li{margin-top:6px}.cap-flow-context{border-top:1px solid var(--line);padding-top:14px}.cap-direction-grid{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:12px;margin:10px 0}.cap-direction-grid>div{padding:10px 12px;background:var(--cap-soft);border-radius:8px;min-width:0}.cap-direction-grid span,.cap-direction-grid small{display:block;font-size:.8125rem;color:var(--muted)}.cap-direction-grid strong{font-size:1rem;display:block;margin:4px 0;overflow-wrap:anywhere}.cap-flow-context>p{font-size:.875rem;margin:8px 0}.cap-flow-context>small{color:var(--muted);font-size:.8125rem}.cap-related-signals{display:grid}.cap-related-signals>button{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:12px;text-align:left;padding:10px;background:transparent;border-color:var(--line);border-radius:0;margin-top:-1px}.cap-related-signals small{display:block;color:var(--muted);margin-top:3px;font-size:.8125rem}.cap-detail-footer{position:sticky;bottom:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 20px;border-top:1px solid var(--line);background:var(--surface)}.cap-detail-footer>span{font-size:.8125rem;color:var(--muted)}
.capture .cap-upload.has-result{padding:10px 14px}.cap-brief-counts strong{display:inline-block;font-size:1.45rem;vertical-align:baseline}.cap-brief-counts span{display:inline-block;margin:0 0 0 6px;vertical-align:baseline}.cap-brief-main{padding:16px 20px}.cap-brief h2{font-size:1.35rem;margin:8px 0}.cap-brief-counts{margin-top:12px;gap:20px}.cap-raw-observation{margin-top:12px;border-top:1px solid var(--line);padding-top:8px;font-size:.875rem}.cap-raw-observation p{margin-top:8px!important;line-height:1.7}.cap-detail-header #cap-detail-title:focus{outline:none}.cap-detail-body,.cap-detail-body>section,.cap-detail-body>div,.cap-detail-body>details{min-width:0}.cap-detail-dialog .table-wrap{max-width:100%}
@media(max-width:650px){.capture .cap-protocol,.capture .cap-detail-action,.capture .cap-back{min-height:44px!important}.capture .cap-endpoints button,.capture .cap-workbench-head>#cap-reset{min-height:44px}.capture .cap-detail-header>button{width:44px;height:44px;min-height:44px}}
@media(max-width:1150px){.cap-upload{align-items:start;flex-wrap:wrap}.cap-file{margin-left:auto}.cap-brief{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.cap-brief-main{padding:16px}.cap-brief h2{font-size:1.3rem}.cap-brief-counts{gap:16px}.cap-brief-counts strong{font-size:1.45rem}.cap-brief-counts span{display:block;margin:4px 0 0}}
@media(max-width:800px){.cap-brief{grid-template-columns:1fr}.cap-priorities{padding:12px 16px}.cap-priorities>button{min-height:48px}.cap-brief h2{max-width:none}.cap-visuals{grid-template-columns:1fr}.cap-stats{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:10px}.cap-stats>div:nth-child(4){padding-left:0;border-left:0}.cap-interpretation{grid-template-columns:1fr}.cap-direction-grid{grid-template-columns:1fr 1fr}.cap-direction-grid>div:last-child{grid-column:1/-1}}
@media(max-width:650px){.capture{gap:10px}.capture .panel{padding:12px}.cap-upload-copy{gap:9px}.cap-mark{display:none}.cap-upload h2{font-size:1rem}.cap-upload p{font-size:.8125rem;line-height:1.6}.cap-file{width:100%;margin:0}.cap-file>button:first-of-type{flex:1;min-width:0;white-space:normal}.capture button,.capture select,.capture input{min-height:44px}.cap-caption>span{font-size:.8125rem}.cap-stats>div{padding-left:8px}.cap-stats strong{font-size:1.05rem}.cap-stats span{font-size:.8125rem}.cap-brief-main{padding:16px}.cap-brief h2{font-size:1.25rem;margin-top:10px}.cap-brief-counts{gap:18px}.cap-brief-counts strong{font-size:1.6rem}.cap-brief-counts span{font-size:.75rem;max-width:100px}.cap-scope-badge{font-size:.6875rem}.cap-workbench-head{padding:10px;align-items:start;flex-wrap:wrap}.cap-tabs{width:100%}.cap-tabs button{padding:8px 10px}.cap-workbench-head>#cap-reset{margin-left:auto}.cap-filters{grid-template-columns:1fr 1fr;padding:10px;gap:8px}.cap-filters label:first-child{grid-column:1/-1}.cap-scope-line{padding:0 10px 10px}.cap-explorer>[role=tabpanel]{padding:10px}.cap-evidence-tools{align-items:stretch;flex-direction:column}.cap-evidence-tools>label{width:100%}.cap-evidence-row{grid-template-columns:minmax(0,1fr) auto;gap:7px 10px;padding:12px 0}.cap-evidence-row>.cap-confidence{grid-column:1}.cap-evidence-copy{grid-column:1/-1;grid-row:2}.cap-detail-action{grid-column:2;grid-row:1;min-height:36px!important}.cap-evidence-copy>strong{font-size:1rem}.cap-pagination{gap:10px}.cap-pagination>span{text-align:center;flex:1;min-width:90px}.cap-map{max-height:180px}.cap-map text{display:none}.cap-endpoints button{min-height:36px;font-size:.875rem}.cap-auth-phases{grid-template-columns:1fr}.cap-auth-exchange>summary{align-items:start}.cap-detail-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);max-height:calc(100dvh - 12px);border-radius:12px}.cap-detail-header{padding:12px;gap:10px}.cap-detail-header h2{font-size:1.15rem}.cap-detail-body{padding:12px;gap:14px}.cap-observation{padding:12px}.cap-observation>h3{display:block;margin:8px 0}.cap-interpretation{gap:10px}.cap-direction-grid{gap:8px}.cap-detail-footer{padding:10px 12px;flex-wrap:wrap}.cap-detail-footer>span{max-width:60%;font-size:.75rem}.cap-related-signals>button{grid-template-columns:minmax(0,1fr) auto;gap:7px}.cap-related-signals .cap-confidence{grid-column:1/-1}.cap-intro{grid-template-columns:1fr;gap:12px}.cap-empty-signal{justify-self:start;padding:10px 16px;font-size:1.3rem}.cap-intro-grid{display:grid;gap:5px}}

/* Problem-oriented analysis is a compact control, separate from review filters. */
.capture .cap-upload{flex-wrap:wrap}.cap-focus{flex:1 1 270px;min-width:0;max-width:440px;display:grid;gap:5px}.cap-focus label{font-weight:700}.cap-focus select{width:100%;min-height:42px}.cap-focus small{color:var(--muted);line-height:1.4}.cap-diagnostic-report{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:20px;padding:16px 18px;border-inline-start:3px solid var(--accent,#278b86);background:var(--panel);border-radius:12px;margin:12px 0}.cap-diagnostic-report h3{margin:4px 0}.cap-diagnostic-report p{margin:5px 0;line-height:1.5}.cap-diagnostic-report small{color:var(--muted);line-height:1.5;display:block}@media(max-width:800px){.cap-focus{max-width:none;flex-basis:100%}.cap-diagnostic-report{grid-template-columns:minmax(0,1fr);gap:12px}.cap-focus select{min-height:44px}}
