.req-page{max-width:1440px}.req-hero{display:flex;gap:2rem;align-items:center;justify-content:space-between;padding:2.5rem;background:linear-gradient(120deg,#e8f3f0,#f1f5fb);border:1px solid #d2e4e0;border-radius:20px;margin-bottom:1rem}.req-hero h1{font-size:clamp(2rem,4vw,3.3rem);margin:.6rem 0}.req-hero p{font-size:1.2rem;line-height:1.6;margin:0}.req-eyebrow{font-size:.75rem;letter-spacing:.12em;color:#23695e;font-weight:700}.req-scope{max-width:100ch;line-height:1.7;color:var(--muted,#52616c)}.req-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;margin:1.4rem 0}.req-stat{padding:1rem 1.3rem;border:1px solid var(--line,#dde4e6);border-radius:12px;background:var(--paper,#fff)}.req-stat strong{display:block;font-size:1.8rem;color:#0f5965}.req-filters{display:flex;flex-wrap:wrap;align-items:end;gap:.8rem}.req-filters label{display:grid;gap:.3rem;font-size:.85rem;flex:1;min-width:150px}.req-filters label:first-child{flex:2;min-width:220px}.req-filters input,.req-filters select,.req-editor input,.req-editor select,.req-editor textarea,.req-assess select,.req-review textarea{width:100%;padding:.65rem;border:1px solid #aebec4;border-radius:7px;background:var(--paper,#fff);color:inherit;font:inherit}.req-layout{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(350px,1.5fr);gap:1.2rem;align-items:start;margin:1rem 0}.req-card{display:block;width:100%;text-align:left;border:1px solid #d5e2e5;border-radius:12px;background:var(--paper,#fff);color:inherit;padding:1rem;margin:.6rem 0;cursor:pointer}.req-card:hover,.req-card[aria-pressed=true]{border-color:#127c79;box-shadow:0 0 0 2px #127c7926}.req-card strong{display:block;font-size:1rem;margin:.5rem 0}.req-badges{display:flex;flex-wrap:wrap;gap:.4rem}.req-badge{display:inline-block;border-radius:20px;background:#edf2f5;color:#304c61;font-size:.73rem;padding:.25rem .6rem}.req-badge.approved{background:#ddf3e8;color:#1b6546}.req-badge.pending{background:#fff0cf;color:#78530a}.req-detail{position:sticky;top:1rem;max-height:86vh;overflow:auto;min-width:0}.req-detail h2{line-height:1.3;margin-top:.8rem}.req-detail p{line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.req-detail dl{display:grid;grid-template-columns:145px 1fr;gap:.5rem;font-size:.9rem}.req-detail dd{margin:0;overflow-wrap:anywhere}.req-detail dt{font-weight:650}.req-section{border-top:1px solid #dde5e7;padding-top:1rem;margin-top:1rem}.req-history{padding:.6rem 0;border-bottom:1px solid #e1e7ea}.req-compare{width:100%;border-collapse:collapse;font-size:.85rem}.req-compare td,.req-compare th{padding:.7rem;border:1px solid #dbe4e6;text-align:left;vertical-align:top;overflow-wrap:anywhere}.req-compare td{white-space:pre-wrap}.req-editor{margin-top:1rem;display:grid;grid-template-columns:1fr 1fr;gap:1rem}.req-editor label{display:grid;gap:.4rem;font-size:.9rem}.req-editor .wide{grid-column:1/-1}.req-editor textarea{min-height:85px}.req-review{display:grid;gap:.6rem}.req-assess{display:grid;gap:.7rem}.req-notice{padding:.8rem 1rem;background:#fff5df;border-left:3px solid #ba8429;border-radius:5px}.req-source{border-bottom:1px solid #dbe4e6;padding:.7rem 0}.req-page button:focus-visible,.req-page a:focus-visible{outline:3px solid #e6a329;outline-offset:3px}@media(max-width:850px){.req-layout{grid-template-columns:1fr}.req-detail{position:static;max-height:none}.req-hero{display:block;padding:1.4rem}.req-hero .act{display:inline-block;margin-top:1rem}.req-stats{grid-template-columns:1fr 1fr}.req-editor{grid-template-columns:1fr}.req-detail dl{grid-template-columns:1fr}.req-detail dt{margin-top:.5rem}.req-compare{font-size:.75rem}.req-compare td,.req-compare th{padding:.4rem}}
.doc-layout{grid-template-columns:minmax(260px,.7fr) minmax(380px,1.6fr)}#doc-detail{max-height:none;position:static}#doc-detail summary{cursor:pointer;line-height:1.7;font-weight:650}#doc-detail textarea{width:100%;min-height:85px;padding:.7rem;border:1px solid #b3c5cc;border-radius:7px;font:inherit;color:inherit;background:var(--paper,#fff)}#doc-detail>select,#doc-detail>div>select{max-width:100%;padding:.6rem;font:inherit}.impact-drafts{margin-top:1rem;border-top:2px solid #cbdfe2;padding-top:1rem}.impact-drafts label{display:grid;gap:.4rem}.impact-drafts textarea{width:100%;min-height:90px;font:inherit}.impact-drafts .draft-kind{padding:1rem;border:1px solid #d6e2e6;border-radius:10px;margin:.7rem 0}.impact-drafts .draft-status{font-weight:700;color:#176c67}@media(max-width:850px){.doc-layout{grid-template-columns:1fr}}

.coverage-table{overflow-x:auto;max-width:100%}.coverage-table table{min-width:760px}.coverage-table th,.coverage-table td{vertical-align:top}.coverage-table caption{text-align:left;font-weight:600;padding:1rem 0}
.req-badge.req-cat{background:#e6eef9;color:#29466b}
.req-badge.req-rev-ai{background:#f3ecfb;color:#4f2d7a}.req-badge.req-rev-human{background:#e5f4ea;color:#1f5a35}
.req-business dl{display:grid;grid-template-columns:150px 1fr;gap:.3rem .8rem;font-size:.9rem}.req-business dt{font-weight:650}.req-business dd{margin:0;overflow-wrap:anywhere}
.req-quote{margin:.6rem 0;padding:.6rem .9rem;border-left:3px solid var(--brand,#127c79);background:var(--brand-soft,#eef7f6);font-size:.9rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:700px){.req-business dl{grid-template-columns:1fr}}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:where([data-theme="dark"]) .req-quote{background:#12302f}:where([data-theme="dark"]) .req-badge.req-cat{background:#203450;color:#cfe0f7}:where([data-theme="dark"]) .req-badge.req-rev-ai{background:#352650;color:#e2d4f5}:where([data-theme="dark"]) .req-badge.req-rev-human{background:#1d3d29;color:#cdebd7}@media (prefers-color-scheme: dark){:where(:not([data-theme])) .req-quote{background:#12302f}:where(:not([data-theme])) .req-badge.req-cat{background:#203450;color:#cfe0f7}:where(:not([data-theme])) .req-badge.req-rev-ai{background:#352650;color:#e2d4f5}:where(:not([data-theme])) .req-badge.req-rev-human{background:#1d3d29;color:#cdebd7}}
/* Per-requirement change history and the Source documents scope editor */
.req-change-list{list-style:none;padding:0;margin:.6rem 0 0;border-left:2px solid #cfdcdf}.req-change{position:relative;padding:.2rem 0 .9rem 1rem}.req-change::before{content:"";position:absolute;left:-6px;top:.45rem;width:10px;height:10px;border-radius:50%;background:#127c79}.req-change-curation::before{background:#7a6a2a}.req-change-head{line-height:1.45}.req-change p{margin:.25rem 0}.req-change .req-compare{margin:.4rem 0}.req-change .act{margin-top:.3rem}
.doc-scope-edit{display:grid;gap:.5rem;margin-top:.6rem}.doc-scope-edit select,.doc-scope-edit textarea{width:100%;padding:.55rem;border:1px solid #aebec4;border-radius:7px;background:var(--paper,#fff);color:inherit;font:inherit}
.doc-scope-edit select:focus-visible,.doc-scope-edit textarea:focus-visible,.doc-scope-edit button:focus-visible{outline:3px solid #e6a329;outline-offset:2px}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:where([data-theme="dark"]) .req-change-list{border-color:#38494e}@media (prefers-color-scheme: dark){:where(:not([data-theme])) .req-change-list{border-color:#38494e}}
/* A1 library states: four separate states, text plus a filled or hollow mark (never colour alone). */
.req-states{margin:.75rem 0;padding:.75rem 1rem;border:1px solid #d8dde3;border-radius:8px}
.req-states h3{margin:0 0 .4rem;font-size:1rem}
.req-states-list{display:grid;grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:0}
.req-states-list dt{font-weight:600}.req-states-list dd{margin:0}
.req-state-off{color:#5b6570}
.req-state-line{display:block}
@media(max-width:600px){.req-states-list{grid-template-columns:1fr}.req-states-list dd{margin-bottom:.35rem}}
/* dark theme: html[data-theme=dark], or the device setting when nothing is saved */:where([data-theme="dark"]) .req-states{border-color:#3a4450}:where([data-theme="dark"]) .req-state-off{color:#a9b3bd}@media (prefers-color-scheme: dark){:where(:not([data-theme])) .req-states{border-color:#3a4450}:where(:not([data-theme])) .req-state-off{color:#a9b3bd}}
/* Deliverable links (AI-mapped, signed-in readers) */
.req-badge.req-ai{background:#eee8f6;color:#6b4aa0}
:where([data-theme="dark"]) .req-badge.req-ai{background:#2a2238;color:#b89ae6}
@media (prefers-color-scheme:dark){:where(:not([data-theme])) .req-badge.req-ai{background:#2a2238;color:#b89ae6}}
.req-dlv-line{display:block;font-size:12px}
.req-tpl-line{display:block;font-size:12px}
.req-badge.req-tpl-rv{background:#fff4dc;color:#8a5300;border:1px solid #8a5300}
:where([data-theme="dark"]) .req-badge.req-tpl-rv{background:#352a14;color:#e3b55a;border-color:#e3b55a}
@media (prefers-color-scheme:dark){:where(:not([data-theme])) .req-badge.req-tpl-rv{background:#352a14;color:#e3b55a;border-color:#e3b55a}}
.req-tpl li{margin:4px 0}
.req-dlv ul{margin:4px 0 0;padding-left:18px}

.req-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center;flex-basis:100%;grid-column:1/-1;min-width:0}.req-chips-label{font-size:.75rem;font-weight:600;color:var(--muted,#56717f);margin-right:4px}.req-chip{min-height:28px;padding:3px 10px;border:1px solid #c9d8de;border-radius:999px;background:var(--paper,#fff);color:inherit;font:inherit;font-size:.8rem;cursor:pointer}.req-chip:hover{border-color:#127c79}.req-chip[aria-pressed=true]{background:#0f5965;border-color:#0f5965;color:#fff}.req-chip:focus-visible{outline:var(--ui-focus-ring,3px solid var(--brand));outline-offset:2px}@media(pointer:coarse){.req-chip{min-height:44px}}
body.compact-platform .req-chips .req-chip,body .req-filters .req-chips .req-chip{min-height:28px;height:auto;padding:3px 10px;line-height:20px;font-size:13px;font-weight:600;width:auto}@media(pointer:coarse){body.compact-platform .req-chips .req-chip,body .req-filters .req-chips .req-chip{min-height:44px}}
/* Smart search bar (requirement-search-ui.js): one wide combobox across the filter panel; the dropdown filters stay below it. */
.rqs{position:relative;grid-column:1/-1;flex-basis:100%;min-width:0}
.rqs-box{display:flex;align-items:center;gap:8px;height:40px;padding:0 6px 0 12px;border:1px solid var(--ui-control-border,#9fb4bc);border-radius:6px;background:var(--paper,#fff)}
.rqs-box:focus-within{outline:3px solid var(--brand,#0f4c5c);outline-offset:2px}
.rqs-glass{flex:none;color:var(--muted,#56717f)}
.rqs-field{position:relative;flex:1;min-width:0;height:100%;display:flex;align-items:center}
body .req-filters .rqs-field input,.rqs-field input{position:relative;width:100%;height:100%;min-height:0;border:0;outline:0;background:transparent;padding:0;margin:0;font:inherit;font-size:14px;color:inherit;box-shadow:none}
.rqs-field input::-webkit-search-cancel-button{display:none}
.rqs-ghost{position:absolute;inset:0;display:flex;align-items:center;white-space:pre;overflow:hidden;font-size:14px;color:var(--muted,#5b6774);pointer-events:none}
.rqs-ghost-typed{color:transparent}
.rqs-x{flex:none;border:0;background:none;width:28px;height:28px;min-height:0;padding:0;border-radius:6px;font-size:18px;line-height:1;color:var(--text,#33505a);cursor:pointer}
.rqs-x:hover{background:#eef3f5}
.rqs-kbd{flex:none;font:600 13px/1 ui-monospace,monospace;color:var(--muted,#56717f);border:1px solid #c9d8de;border-radius:4px;padding:3px 6px}
.rqs.has-text .rqs-kbd{display:none}
.rqs-cancel{display:none}
.rqs-pop{position:absolute;left:0;right:0;top:48px;z-index:40;background:var(--paper,#fff);border:1px solid #cfdde2;border-radius:8px;box-shadow:0 14px 40px #0f2a3326;overflow:hidden;max-height:min(70vh,560px);display:flex;flex-direction:column}
.rqs-pop[hidden]{display:none}
.rqs-pop [role=listbox]{overflow:auto;min-height:0}
.rqs-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.6fr)}.rqs-grid.one{grid-template-columns:1fr}
.rqs-col{padding:8px 0;min-width:0}.rqs-col+.rqs-col{border-left:1px solid #e4ecef}
.rqs-group+.rqs-group{margin-top:6px}
.rqs-h{display:flex;justify-content:space-between;margin:2px 12px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#56717f)}
.rqs-link{border:0;background:none;padding:0;min-height:0;height:auto;font:inherit;font-size:12px;font-weight:600;text-transform:none;letter-spacing:0;color:var(--brand,#0f4c5c);cursor:pointer;text-decoration:underline}
.rqs-opt{display:flex;align-items:center;gap:8px;min-height:32px;padding:2px 12px;font-size:14px;cursor:pointer}
.rqs-opt:hover,.rqs-req:hover{background:#f2f7f6}
.rqs-opt[aria-selected=true],.rqs-req[aria-selected=true]{background:#e3f0ef;box-shadow:inset 3px 0 0 var(--brand,#0f4c5c)}
.rqs-n{margin-left:auto;padding-left:8px;font-size:12px;color:var(--muted,#56717f);font-variant-numeric:tabular-nums}
.rqs-m{background:none;color:var(--brand,#0f4c5c);font-weight:700}
.rqs-ic{flex:none;width:18px;height:18px;display:grid;place-items:center;color:var(--muted,#56717f)}.rqs-ic svg{width:15px;height:15px}
.rqs-chiprow{display:flex;flex-wrap:wrap;gap:6px;padding:4px 12px 6px}
.rqs-chiprow .rqs-opt{min-height:28px;padding:2px 10px;border:1px solid #c9d8de;border-radius:999px;font-size:13px;font-weight:600}.rqs-chiprow .rqs-ic{display:none}
.rqs-req{display:block;padding:6px 12px;cursor:pointer;border-top:1px solid #f0f4f5}
.rqs-h+.rqs-req{border-top:0}
.rqs-req strong{display:block;font-size:14px;font-weight:600;line-height:1.35}
.rqs-req>span{display:block;margin-top:2px;font-size:12px;color:var(--muted,#56717f)}
.rqs-pill{display:inline-block;padding:0 7px;border-radius:999px;background:#e6eef9;color:#29466b;font-size:12px;font-weight:700}
.rqs-why{color:var(--brand,#0f4c5c);font-weight:600}
.rqs-tip{margin:4px 12px;font-size:13px;color:var(--muted,#56717f)}
.rqs-band{padding:7px 12px;border-bottom:1px solid #e4ecef;font-size:13px}
.rqs-band.rqs-dym{background:#fff8e6;border-color:#f1e3bd}
.rqs-band button{border:0;background:none;padding:0;min-height:0;height:auto;font:inherit;font-weight:700;color:var(--brand,#0f4c5c);text-decoration:underline;cursor:pointer}
.rqs-muted{color:var(--muted,#56717f)}
.rqs-foot{display:flex;gap:14px;align-items:center;padding:6px 12px;border-top:1px solid #e4ecef;background:#f7fafb;font-size:12px;color:var(--muted,#56717f)}
.rqs-foot kbd{font:600 12px ui-monospace,monospace;border:1px solid #c9d8de;border-radius:4px;padding:0 5px;background:var(--paper,#fff);margin-right:2px}
.rqs-go{margin-left:auto;border:0;background:none;padding:0;min-height:0;height:auto;font:inherit;font-size:13px;font-weight:700;color:var(--brand,#0f4c5c);cursor:pointer}
@media(pointer:coarse){.rqs-box{height:44px}.rqs-field input,.rqs-ghost{font-size:16px}.rqs-x{width:44px;height:44px}.rqs-opt{min-height:44px}.rqs-kbd{display:none}}
@media(max-width:700px){
 .rqs-grid{grid-template-columns:1fr}.rqs-col+.rqs-col{border-left:0;border-top:1px solid #e4ecef}.rqs-keys{display:none}.rqs-kbd{display:none}.rqs-field input,.rqs-ghost{font-size:16px}.rqs-box{height:44px}
 .rqs.open{position:fixed;inset:0;z-index:1000;margin:0;padding:10px 12px;background:var(--paper,#fff);display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;gap:6px 8px}
 .rqs.open .rqs-cancel{display:block;border:0;background:none;min-height:44px;font:inherit;font-weight:700;color:var(--brand,#0f4c5c)}
 .rqs.open .rqs-box:focus-within{outline:0;border:1.5px solid var(--brand,#0f4c5c)}
 .rqs.open .rqs-pop{position:static;grid-column:1/-1;max-height:none;border:0;border-radius:0;box-shadow:none;margin:0 -12px}
 .rqs.open .rqs-foot{justify-content:center;padding:12px}.rqs.open .rqs-go{margin:0}
 .rqs-req.rqs-more{display:none}}
:where([data-theme="dark"]) .rqs-pop,:where([data-theme="dark"]) .rqs-box{border-color:#3a4a50}:where([data-theme="dark"]) .rqs-opt[aria-selected=true],:where([data-theme="dark"]) .rqs-req[aria-selected=true]{background:#17383a}:where([data-theme="dark"]) .rqs-opt:hover,:where([data-theme="dark"]) .rqs-req:hover{background:#1b2e31}:where([data-theme="dark"]) .rqs-foot{background:#162327;border-color:#2c3b40}:where([data-theme="dark"]) .rqs-band.rqs-dym{background:#3a3220;border-color:#5a4a26}:where([data-theme="dark"]) .rqs-pill{background:#203450;color:#cfe0f7}:where([data-theme="dark"]) .rqs-col+.rqs-col,:where([data-theme="dark"]) .rqs-req{border-color:#2c3b40}:where([data-theme="dark"]) .rqs-m,:where([data-theme="dark"]) .rqs-go,:where([data-theme="dark"]) .rqs-why{color:#7fd0c6}
@media (prefers-color-scheme:dark){:where(:not([data-theme])) .rqs-pop,:where(:not([data-theme])) .rqs-box{border-color:#3a4a50}:where(:not([data-theme])) .rqs-opt[aria-selected=true],:where(:not([data-theme])) .rqs-req[aria-selected=true]{background:#17383a}:where(:not([data-theme])) .rqs-foot{background:#162327;border-color:#2c3b40}:where(:not([data-theme])) .rqs-band.rqs-dym{background:#3a3220;border-color:#5a4a26}:where(:not([data-theme])) .rqs-pill{background:#203450;color:#cfe0f7}:where(:not([data-theme])) .rqs-m,:where(:not([data-theme])) .rqs-go,:where(:not([data-theme])) .rqs-why{color:#7fd0c6}}
/* The bar draws its own frame, icon and focus ring; the shared search-input styles must not add a second one. */
#req-smart.rqs .rqs-field input#req-search{padding:0!important;background:transparent none!important;border:0!important;border-radius:0!important;box-shadow:none!important;outline:0!important;height:100%!important;min-height:0!important;width:100%!important;max-width:none!important}
#req-smart .rqs-band button,#req-smart .rqs-link,#req-smart .rqs-go{display:inline;margin:0;padding:0;min-height:0;height:auto;width:auto;border:0;background:none;box-shadow:none;line-height:inherit}
#req-smart .rqs-x{display:grid;place-items:center;padding:0;margin:0;min-height:0;width:28px;height:28px;border:0;background:none;box-shadow:none}
#req-smart .rqs-x[hidden]{display:none}
@media(pointer:coarse){#req-smart .rqs-x{width:44px;height:44px}}
#req-smart .rqs-go{margin-left:auto}@media(max-width:700px){#req-smart.open .rqs-go{margin:0}}
.rqs-pop>.rqs-tip{margin:8px 12px}.rqs-pop>.rqs-link{display:block;margin:6px 12px}
:where([data-theme="dark"]) .rqs-ghost{color:#a9b3bd}:where([data-theme="dark"]) .rqs-x:hover{background:#1b282d}:where([data-theme="dark"]) .rqs-chiprow .rqs-opt{border-color:#344b55}
@media (prefers-color-scheme:dark){:where(:not([data-theme])) .rqs-ghost{color:#a9b3bd}:where(:not([data-theme])) .rqs-x:hover{background:#1b282d}:where(:not([data-theme])) .rqs-chiprow .rqs-opt{border-color:#344b55}:where(:not([data-theme])) .rqs-opt:hover,:where(:not([data-theme])) .rqs-req:hover{background:#1b2e31}:where(:not([data-theme])) .rqs-col+.rqs-col,:where(:not([data-theme])) .rqs-req{border-color:#2c3b40}}
