.inbox-page{max-width:1400px;margin:auto;padding:30px 24px 70px}.inbox-hero{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(120deg,#083e50,#126574);color:#fff;padding:34px 40px;border-radius:20px}.inbox-hero h1{color:white;font-size:clamp(1.8rem,3vw,2.6rem);margin:10px 0}.inbox-hero p{max-width:650px}.inbox-hero a{color:#bce9de}.inbox-eyebrow{letter-spacing:.13em;font-size:.75rem;font-weight:700}.inbox-symbol{font-size:100px;opacity:.35}.inbox-context,.inbox-toolbar{display:flex;flex-wrap:wrap;gap:16px;align-items:end}.inbox-context{background:#eef5f6;border-radius:14px;padding:20px;margin:20px 0}.inbox-context label,.inbox-toolbar label{display:grid;gap:6px;font-size:.85rem;font-weight:600}.inbox-context select{min-width:230px}.inbox-context select,.inbox-toolbar select,.inbox-toolbar input{min-height:42px}.inbox-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:20px 0 30px}.inbox-metrics a{border:1px solid #d9e4e8;border-radius:14px;padding:20px;color:#173e4b;text-decoration:none;display:grid;gap:8px}.inbox-metrics strong{font-size:1.9rem}.inbox-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:30px}.inbox-layout>*{min-width:0}.inbox-count{font-size:1rem;color:#55717b;margin:22px 0}.inbox-card{border:1px solid #dce6e9;border-left:4px solid #218b8d;border-radius:13px;padding:22px;margin:0 0 16px;background:#fff;box-shadow:0 3px 12px #163b4910}.inbox-regulatory{border-left-color:#7664ad}.inbox-trial{border-left-color:#4a7cba}.inbox-card h3{font-size:1.15rem;line-height:1.45;margin:12px 0}.inbox-card p{overflow-wrap:anywhere}.inbox-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:.74rem}.inbox-kind{font-weight:700;text-transform:uppercase;letter-spacing:.04em}.inbox-reading{border-radius:30px;background:#e5f3f0;padding:4px 9px;color:#13654e}.inbox-reading.updated{background:#fff0d7;color:#7d4a00}.inbox-reading.seen{background:#eff2f4;color:#5c707a}.inbox-card-meta time{margin-left:auto}.inbox-match{background:#f1f7f8;border-radius:8px;padding:12px;font-size:.9rem}.inbox-card-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:18px}.inbox-card-actions a{font-size:.9rem}.inbox-seen{margin-left:auto}.inbox-sidebar{background:#f5f8f9;padding:22px;border-radius:14px;align-self:start;font-size:.9rem}.inbox-sidebar h2{font-size:1.2rem}.inbox-task{display:grid;gap:8px;padding:15px 0;border-bottom:1px solid #dce6e9;text-decoration:none}.inbox-task span{font-size:.8rem;color:#57707b}.inbox-empty{border:1px dashed #c0d2da;padding:35px;border-radius:14px}.inbox-toolbar label:first-child{flex:1;min-width:160px}@media(max-width:950px){.inbox-layout{grid-template-columns:1fr}.inbox-sidebar{order:2}.inbox-symbol{display:none}}@media(max-width:600px){.inbox-page{padding:18px 14px}.inbox-hero{padding:25px}.inbox-metrics{grid-template-columns:repeat(2,1fr);gap:8px}.inbox-metrics a{padding:14px}.inbox-context label,.inbox-context select{width:100%;min-width:0}.inbox-toolbar{gap:10px}.inbox-toolbar label{width:100%}.inbox-card{padding:17px}.inbox-card-actions{align-items:stretch}.inbox-seen{margin-left:0}}

/* Phase 2: queue and selected evidence share a compact review surface. */
body .inbox-page{max-width:1680px;padding:16px 24px 80px}
body .inbox-page .inbox-hero{padding:0 0 12px!important;margin:0 0 8px;background:transparent!important;border:0;border-radius:0}
body .inbox-page .inbox-hero h1{font-size:28px;margin:0 0 4px}
body .inbox-page .inbox-hero p{margin:4px 0 8px;max-width:none}
body .inbox-page .inbox-hero a{font-size:13px}
body .inbox-page .inbox-symbol{display:none}
body .inbox-page #inbox-message{font-size:13px;margin:8px 0}
body .inbox-page .inbox-context{margin:12px 0;padding:12px;gap:8px 12px;background:var(--panel);border:1px solid var(--line);border-radius:8px}
body .inbox-page .inbox-context label{flex:1;min-width:180px}
body .inbox-page .inbox-context select{min-width:0;width:100%}
body .inbox-page .inbox-metrics{gap:8px;margin:12px 0}
body .inbox-page .inbox-metrics a{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;background:var(--panel);color:var(--ink);border-color:var(--line)}
body .inbox-page .inbox-metrics strong{font-size:23px}
body .inbox-page .inbox-metrics span{font-size:12px}
body .inbox-page .inbox-layout{grid-template-columns:minmax(0,1fr);gap:12px}
body .inbox-page .inbox-toolbar{gap:8px 12px;padding:12px;background:var(--panel);border:1px solid var(--line);border-radius:8px}
body .inbox-page .inbox-toolbar label{min-width:0}
body .inbox-page .inbox-toolbar input,body .inbox-page .inbox-toolbar select{width:100%;min-width:0}
body .inbox-page .inbox-count{margin:10px 0;font-size:13px}
body .inbox-page .inbox-review-layout{display:grid;grid-template-columns:300px minmax(0,1fr);border:1px solid var(--line);border-radius:10px;background:var(--panel);overflow:hidden;align-items:start}
body .inbox-page .inbox-review-layout>*{min-width:0}
body .inbox-page .inbox-queue{border-right:1px solid var(--line)}
body .inbox-page .inbox-queue-item{display:grid;gap:5px;width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;padding:12px 14px;text-align:left;background:var(--panel);color:var(--ink);white-space:normal;overflow-wrap:anywhere}
body .inbox-page .inbox-queue-item strong{font-size:14px;line-height:1.4}
body .inbox-page .inbox-queue-item span{font-size:12px;color:var(--muted)}
body .inbox-page .inbox-queue-item[aria-pressed=true]{background:var(--brand-soft);box-shadow:inset 4px 0 var(--brand)}
body .inbox-page .inbox-queue-item:focus-visible{outline:3px solid var(--brand);outline-offset:-3px}
body .inbox-page #inbox-more{margin:10px;min-height:44px}
body .inbox-page #inbox-detail{padding:18px}
body .inbox-page .inbox-card{padding:0;margin:0;border:0;background:transparent;box-shadow:none}
body .inbox-page .inbox-card h3{font-size:22px;line-height:1.3;margin:12px 0 8px;overflow-wrap:anywhere}
body .inbox-page .inbox-card p{margin:8px 0}
body .inbox-page .inbox-match{padding:10px 12px;background:var(--brand-soft);color:var(--ink)}
body .inbox-page .inbox-card-actions{gap:8px 12px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
body .inbox-page .inbox-card-actions :is(a,button){min-height:44px;display:inline-flex;align-items:center;box-sizing:border-box}
body .inbox-page .inbox-sidebar{padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:8px}
body .inbox-page .inbox-sidebar h2{margin:0;font-size:17px}
body .inbox-page #inbox-work{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
body .inbox-page .inbox-task{padding:10px 0;gap:4px}
body .inbox-page .inbox-guidance{margin-top:10px;border-top:1px solid var(--line);padding-top:6px}
body .inbox-page .inbox-guidance summary{cursor:pointer;min-height:44px;display:list-item;padding-top:10px;box-sizing:border-box;font-weight:700}
body .inbox-page .inbox-guidance summary:focus-visible{outline:3px solid var(--brand);outline-offset:2px}
@media(min-width:1100px){body .inbox-page .inbox-queue{max-height:640px;overflow:auto}}
@media(max-width:760px){
 body .inbox-page{padding:12px 12px 80px}
 body .inbox-page .inbox-review-layout{grid-template-columns:minmax(0,1fr)}
 body .inbox-page .inbox-queue{max-height:280px;overflow:auto;border-right:0;border-bottom:1px solid var(--line)}
 body .inbox-page #inbox-detail{padding:14px}
 body .inbox-page .inbox-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 body .inbox-page .inbox-toolbar label{width:100%;flex:auto}
 body .inbox-page .inbox-context label{min-width:0;width:100%;flex-basis:100%}
 body .inbox-page .inbox-toolbar :is(input,select,button),body .inbox-page .inbox-context :is(select,button){min-height:44px}
 body .inbox-page #inbox-work{grid-template-columns:minmax(0,1fr)}
}
@media(min-width:761px) and (max-width:1099px){body .inbox-page .inbox-queue{max-height:560px;overflow:auto}}

/* Flow gaps release 1: priority words and class-match chip in the Triage inbox (fx1- prefix). */
body .inbox-page .inbox-queue-item .fx1-pri{font-size:12px;font-weight:700;color:var(--muted)}
body .inbox-page .inbox-queue-item .fx1-pri-critical{color:#b42318}
body .inbox-page .inbox-queue-item .fx1-pri-high{color:#a15c07}
.fx1-chip{display:inline-flex;align-items:center;border-radius:30px;padding:3px 9px;font-size:.74rem;font-weight:600;background:#fff0d7;color:#7d4a00}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:root:where([data-theme="dark"]) body .inbox-page .inbox-queue-item .fx1-pri-critical{color:#ff9a8f}:root:where([data-theme="dark"]) body .inbox-page .inbox-queue-item .fx1-pri-high{color:#f5b860}:root:where([data-theme="dark"]) .fx1-chip{background:#4a3410;color:#ffd99a}@media (prefers-color-scheme: dark){:root:where(:not([data-theme])) body .inbox-page .inbox-queue-item .fx1-pri-critical{color:#ff9a8f}:root:where(:not([data-theme])) body .inbox-page .inbox-queue-item .fx1-pri-high{color:#f5b860}:root:where(:not([data-theme])) .fx1-chip{background:#4a3410;color:#ffd99a}}
:root[data-theme="dark"] body .inbox-page .inbox-queue-item .fx1-pri-critical{color:#ff9a8f}
:root[data-theme="dark"] body .inbox-page .inbox-queue-item .fx1-pri-high{color:#f5b860}
:root[data-theme="dark"] .fx1-chip{background:#4a3410;color:#ffd99a}
.inbox-queue-item .fx1-chip{width:fit-content;justify-self:start}

/* "Your product" flag (yp- prefix): a company-level pill, compact box and optional PV checklist. The shared Priority
   tier is never changed; the amber pill appears only on a detected safety trigger. */
:root{--yp-bg:#dff2ef;--yp-ink:#0b5048;--yp-line:#9fd3cb;--yp-box:#f3faf9}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:root:where([data-theme="dark"]){--yp-bg:#123a36;--yp-ink:#a6e6dc;--yp-line:#2d6b62;--yp-box:#13262a}@media (prefers-color-scheme: dark){:root:where(:not([data-theme])){--yp-bg:#123a36;--yp-ink:#a6e6dc;--yp-line:#2d6b62;--yp-box:#13262a}}
:root[data-theme="dark"]{--yp-bg:#123a36;--yp-ink:#a6e6dc;--yp-line:#2d6b62;--yp-box:#13262a}
.yp-pill{display:inline-flex;align-items:center;width:fit-content;border-radius:999px;padding:1px 8px;font-size:.72rem;font-weight:700;line-height:1.5;white-space:nowrap;background:var(--yp-bg);color:var(--yp-ink);border:1px solid var(--yp-line)}
.yp-pill.yp-raised{background:var(--yp-ink);color:var(--yp-box);border-color:var(--yp-ink)}
.yp-pills{display:flex;flex-wrap:wrap;gap:4px}
.yp-box{margin:8px 0;padding:8px 10px;border:1px solid var(--yp-line);border-left-width:3px;border-radius:6px;background:var(--yp-box);font-size:13px;line-height:1.4}
.yp-box p{margin:3px 0}
.yp-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.yp-action{font-weight:650}
.yp-role{color:var(--muted)}
.yp-muted{color:var(--muted);font-size:12px}
.yp-raised-note{padding:4px 8px;border-radius:4px;background:var(--yp-bg);color:var(--yp-ink);border-left:3px solid var(--yp-ink)}
.yp-role-hint:empty{display:none}
.yp-pri{display:inline-flex;width:fit-content;border-radius:999px;padding:1px 8px;font-size:.72rem;font-weight:650;line-height:1.5;white-space:nowrap;border:1px solid var(--line);color:var(--muted)}
.yp-order{margin:0;padding:0 14px 6px;font-size:12px}
.yp-raised-note .yp-muted{color:inherit;opacity:.85}
.yp-checklist{margin-top:4px}
.yp-checklist>summary{cursor:pointer;font-weight:650;font-size:12px;min-height:24px;display:list-item}
.yp-checklist ul{margin:4px 0 2px;padding-left:18px}
.yp-checklist li{margin:1px 0}
@media(max-width:760px){.yp-checklist>summary{min-height:44px;padding:12px 0;box-sizing:border-box}}
.inbox-queue-item .yp-pills{justify-self:start}
body .inbox-page .inbox-queue-item .yp-pill{font-size:.72rem;color:var(--yp-ink)}
body .inbox-page .inbox-queue-item .yp-pill.yp-raised{color:var(--yp-box)}

/* Triage queue table (inbox-table.js): compact rows above the list and detail; phone shows cards. */
.inbox-table{margin:0 0 16px;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.it-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.it-head h2{margin:0;font-size:16px;line-height:24px}
.it-sub{font-size:12px;color:var(--muted)}.it-sp{flex:1}
.it-seg{display:inline-flex;border:1px solid var(--line);border-radius:6px;overflow:hidden;max-width:100%;overflow-x:auto}
.it-seg button{min-height:32px;padding:0 10px;border:0;border-radius:0;background:var(--panel);color:var(--brand);font-size:13px;font-weight:600;white-space:nowrap;box-shadow:none}
.it-seg button+button{border-left:1px solid var(--line)}.it-seg button[aria-pressed=true]{background:var(--brand);color:var(--panel)}
.it-n{font-variant-numeric:tabular-nums;opacity:.85}
.it-table{width:100%;border-collapse:collapse;font-size:13px;margin-top:8px}
.it-table th{font-size:12px;color:var(--muted);text-align:left;font-weight:600;padding:4px 8px;border-bottom:1px solid var(--line);white-space:nowrap}
.it-table td{padding:6px 8px;border-bottom:1px solid var(--line);vertical-align:top}
.it-table small,.it-phone small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.it-pri small{margin-top:2px}
.it-chip{display:inline-flex;height:22px;align-items:center;padding:0 8px;border-radius:999px;border:1px solid currentColor;font-size:12px;font-weight:600;white-space:nowrap}
.it-chip.t-critical{color:#b42318}.it-chip.t-high{color:#a15c07}.it-chip.t-medium{color:#2563a8}.it-chip.t-low,.it-chip.t-informational{color:#5b6773}
.it-none{color:var(--muted)}
body .inbox-page button.it-title{all:unset;padding:0;margin:0;text-align:left;box-sizing:border-box;display:block;cursor:pointer;font-size:13px;line-height:18px;font-weight:600;color:var(--ink);white-space:normal;overflow-wrap:anywhere}
body .inbox-page button.it-title:focus-visible{outline:3px solid var(--brand);outline-offset:2px;border-radius:4px}
body .inbox-page button.it-title:hover{color:var(--brand);text-decoration:underline}
.it-del{font-size:12px;color:var(--muted)}
.it-w{white-space:nowrap;font-variant-numeric:tabular-nums}
.it-table td:last-child :is(a,button){min-height:32px;padding:4px 10px;font-size:12px;white-space:nowrap}
.it-more{margin:6px 0 0;font-size:13px}.it-note{font-size:12px;margin:6px 0 0}
.it-phone{display:none;list-style:none;margin:8px 0 0;padding:0}
.it-phone li{border-top:1px solid var(--line);padding:8px 0}
.it-phone .it-top{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.it-phone .it-top .it-w{margin-left:auto}
.it-phone .it-pri small{display:none}body .inbox-page .it-phone button.it-title{margin:4px 0 0;font-size:14px;line-height:20px;min-height:44px;display:flex;align-items:center}
.it-phone .it-act :is(a,button){min-height:44px;margin-top:6px}
@media(max-width:760px){.it-table{display:none}.it-phone{display:block}.it-head .it-seg{display:grid;grid-template-columns:repeat(3,1fr);width:100%;overflow:visible}.it-seg button{min-height:44px;white-space:normal;padding:0 6px}}
#inbox-detail{scroll-margin-top:88px}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:root:where([data-theme="dark"]) .it-chip.t-critical{color:#ff9a8f}:root:where([data-theme="dark"]) .it-chip.t-high{color:#f5b860}:root:where([data-theme="dark"]) .it-chip.t-medium{color:#8ab4f8}@media (prefers-color-scheme: dark){:root:where(:not([data-theme])) .it-chip.t-critical{color:#ff9a8f}:root:where(:not([data-theme])) .it-chip.t-high{color:#f5b860}:root:where(:not([data-theme])) .it-chip.t-medium{color:#8ab4f8}}
:root[data-theme="dark"] .it-chip.t-critical{color:#ff9a8f}:root[data-theme="dark"] .it-chip.t-high{color:#f5b860}:root[data-theme="dark"] .it-chip.t-medium{color:#8ab4f8}
/* A box selected in the Assess & act flow (company-inbox.js flowBanner): bold banner above the Triage queue. */
.inbox-flow-pick{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;margin:12px 0 8px;padding:8px 12px;border-radius:8px;background:var(--brand);color:var(--panel);font-size:14px}
.inbox-flow-pick .t{flex:1;min-width:0}
main .inbox-flow-pick a{display:inline-flex;align-items:center;min-height:32px;color:var(--panel);font-size:13px;font-weight:600;text-decoration:underline}
.inbox-flow-pick button{all:unset;box-sizing:border-box;cursor:pointer;min-height:32px;padding:0 12px;display:inline-flex;align-items:center;border-radius:6px;background:var(--panel);color:var(--brand);font-size:13px;font-weight:700}
.inbox-flow-pick button:focus-visible,.inbox-flow-pick a:focus-visible{outline:3px solid var(--panel);outline-offset:2px}
@media (max-width:760px){.inbox-flow-pick button,main .inbox-flow-pick a{min-height:44px}}
