:root {
  color-scheme: light;
  --text: #1d2924;
  --muted: #53645c;
  --line: #dce4dc;
  --paper: #f5f7f3;
  --white: #fff;
  --green: #245542;
  --deep: #18392e;
  --focus: #36795f;
  --radius: 14px;
  font-family: 'Avenir Next', Avenir, system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
h1, h2, h3, h4, p { margin: 0; }
h1 { letter-spacing: -.052em; }
h2, h3 { letter-spacing: -.033em; }
.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip { position: fixed; top: .75rem; left: .75rem; z-index: 5; padding: .8rem; background: white; border-radius: 8px; }
[hidden] { display: none !important; }
.shell { min-height: 100vh; display: grid; grid-template-columns: 232px minmax(0, 1fr); }
.sidebar {
  position: sticky; top: 0; height: 100vh; align-self: start; display: flex; flex-direction: column;
  gap: 0; background: #1b372d; color: #d6e4da; padding: 29px 16px 20px;
}
.brand { display: flex; align-items: center; gap: 11px; padding: 0 11px; text-decoration: none; color: #f4faf4; font-size: 1.51rem; font-weight: 750; letter-spacing: -.045em; }
.brand-mark {
  display: grid; grid-template-columns: 7px 7px; grid-template-rows: 7px 7px; gap: 2px;
  place-content: center; width: 33px; height: 33px; border-radius: 9px; background: #d9f0bc;
}
.brand-mark i { background: #254b38; border-radius: 1px 6px 1px 6px; transform: rotate(-15deg); }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(3) { transform: rotate(75deg); }
.pilot { display: flex; align-items: center; gap: 7px; padding: 0 9px; margin: 28px 0 19px; white-space: nowrap; font-size: .815rem; color: #c0d2c5; }
.pilot-dot, .workspace-dot, .hero-label span { height: 6px; width: 6px; flex: 0 0 6px; border-radius: 50%; background: #b8e493; }
#navigation { display: grid; gap: 6px; }
.nav-item {
  display: flex; align-items: center; gap: 11px; min-height: 43px; width: 100%; padding: 8px 11px;
  background: transparent; color: inherit; text-decoration: none; text-align: left;
  border: 1px solid transparent; border-radius: 8px; font-size: .94rem; font-weight: 570;
}
.nav-icon { width: 19px; flex: 0 0 19px; font-size: 1.14rem; text-align: center; line-height: 1; color: #b7d0bf; }
.nav-item:hover { background: #28493b; }
.nav-item.active { color: #fff; background: #345746; border-color: #41634f; }
.nav-item.active .nav-icon { color: #d9f0bc; }
.sidebar :focus-visible { outline-color: #d9f0bc; }
.sidebar-bottom { margin-top: auto; }
#import-button::before { content: '⊕'; width: 19px; text-align: center; color: #b7d0bf; font-size: 1.25rem; }
.workspace-note { display: flex; align-items: center; gap: 8px; border-top: 1px solid #496154; padding: 16px 9px 0; margin-top: 13px; color: #bdcfc3; font-size: .81rem; }
.workspace-dot { background: #91bba5; }
#main { min-width: 0; }
.topbar {
  min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border-bottom: 1px solid var(--line); padding: 11px clamp(21px, 3vw, 42px);
}
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .875rem; }
.breadcrumb strong { color: var(--text); font-weight: 650; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 39px; padding: 7px 13px;
  border: 1px solid transparent; border-radius: 8px; font-size: .875rem; font-weight: 650;
  line-height: 1.3; text-decoration: none; white-space: nowrap;
}
.button-secondary { background: #fff; color: #263d32; border-color: #cedbd1; }
.button-secondary:not(:disabled):hover { background: #eff5ef; border-color: #a5b8a8; }
.button-primary { background: var(--green); color: white; border-color: var(--green); }
.button-primary:not(:disabled):hover { background: #1a4334; }
.view { max-width: 1520px; margin: 0 auto; padding: 28px clamp(21px, 3vw, 42px) 44px; }
.hero {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; color: #f3fbf5;
  padding: 30px 34px 31px; background: linear-gradient(108deg, #214d3c 24%, #2b624b 100%); min-height: 186px;
}
.hero-copy { position: relative; z-index: 1; }
.hero-label { display: flex; align-items: center; gap: 9px; color: #def0d8; font-size: .844rem; font-weight: 620; }
.hero h1 { font-size: clamp(2.6rem, 4.4vw, 3.45rem); font-weight: 700; line-height: 1.03; margin: 11px 0; }
.hero p { max-width: 48ch; font-size: 1rem; line-height: 1.58; color: #e0eee4; }
.hero-art { position: absolute; right: -1px; top: 0; width: 42%; height: 100%; overflow: hidden; pointer-events: none; opacity: .58; }
.hero-art i {
  position: absolute; width: 79%; height: 174%; left: calc(24% + var(--offset));
  top: calc(-69% + var(--offset)); border: 1px solid #a2c7a3;
  border-radius: 45% 60% 49% 58%; transform: rotate(-30deg);
}
.hero-art i:nth-child(1) { --offset: 0px; }
.hero-art i:nth-child(2) { --offset: 15px; }
.hero-art i:nth-child(3) { --offset: 30px; }
.hero-art i:nth-child(4) { --offset: 45px; }
.hero-art i:nth-child(5) { --offset: 60px; }
.hero-art i:nth-child(6) { --offset: 75px; }
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 24px; }
.metric { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 15px 15px; min-width: 0; }
.metric-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; font-size: .875rem; font-weight: 640; color: #405449; }
.metric-icon { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; border-radius: 8px; background: #edf4eb; color: #315d46; font-size: 1.05rem; line-height: 1; }
.metric strong { display: block; font-size: 2.15rem; font-weight: 720; line-height: 1.12; letter-spacing: -.052em; margin: 5px 0 6px; }
.metric-detail { color: var(--muted); font-size: .81rem; line-height: 1.35; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 20px 22px 15px; }
.panel-heading h2 { font-size: 1.27rem; font-weight: 700; line-height: 1.25; }
.panel-heading p { margin-top: 5px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 0 22px 16px; }
input:not([type=checkbox]), select, textarea {
  min-height: 40px; border-radius: 8px; border: 1px solid #ced9d0; background-color: #fff;
  color: var(--text); padding: 8px 11px; max-width: 100%;
}
input::placeholder, textarea::placeholder { color: #617268; }
select { appearance: none; padding-right: 35px; background-image: linear-gradient(45deg, transparent 50%, #456052 50%), linear-gradient(135deg, #456052 50%, transparent 50%); background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
.filters input, .filters select { font-size: .875rem; }
.search { position: relative; flex: 1 1 250px; }
.search.standalone { flex: 0 1 385px; }
.search input { width: 100%; padding-left: 35px; }
.search-icon { position: absolute; left: 13px; top: 13px; width: 11px; height: 11px; border: 1.5px solid #577568; border-radius: 50%; pointer-events: none; }
.search-icon::after { content: ''; position: absolute; top: 7px; left: 7px; width: 5px; height: 1.5px; background: #577568; transform: rotate(45deg); transform-origin: left; }
.filter-chip { margin: 0 22px 14px; min-height: 33px; border: 1px solid #bed0c1; border-radius: 7px; color: #285440; background: #eaf3ec; font-size: .875rem; padding: 5px 10px; }
.filter-chip span { margin-left: 6px; }
.table-scroll { overflow-x: auto; }
.match-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.match-table th, .match-table td { padding: 13px 14px; border-bottom: 1px solid #e5ebe5; text-align: left; vertical-align: middle; }
.match-table thead th { border-top: 1px solid #e1e8e1; color: #475b50; font-size: .84rem; font-weight: 660; background: #f6f8f5; }
.match-table th:first-child { width: 37%; padding-left: 22px; }
.match-table th:nth-child(2) { width: 28%; }
.match-table th:nth-child(3) { width: 17%; }
.match-table th:nth-child(4) { width: 14%; }
.match-table th:last-child, .match-table .row-action { width: 45px; padding-left: 0; padding-right: 12px; }
.match-table tbody tr:hover { background: #f8fbf8; }
.row-title, .cell-title { display: block; font-size: .91rem; line-height: 1.36; font-weight: 680; }
.row-title { padding: 0; border: 0; background: none; color: #214d3d; text-align: left; }
.row-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.row-subtitle { display: block; color: var(--muted); font-size: .84rem; font-weight: 480; line-height: 1.39; margin-top: 4px; }
.row-open, .icon-button { border: 1px solid transparent; background: #f1f5f0; color: #375c48; font-weight: 600; border-radius: 8px; width: 32px; height: 32px; font-size: 1.3rem; padding: 0; line-height: 1; }
.icon-button:hover { border-color: #c3d7ca; background: #e5f0e7; }
.badge { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: 6px; font-size: .805rem; line-height: 1.25; font-weight: 650; width: fit-content; }
.badge.neutral { background: #edf1ee; color: #475950; }
.badge.amber { background: #fbf1d7; color: #694e16; }
.badge.blue { background: #e9f0fb; color: #2b4e76; }
.badge.green { background: #e8f3e9; color: #2c5842; }
.table-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .875rem; padding: 13px 22px; }
.pagination { display: flex; gap: 7px; }
.pagination .button { min-height: 33px; }
.empty { text-align: center; padding: 36px 20px; color: var(--text); }
.empty strong { font-size: 1.1rem; }
.empty p { color: var(--muted); margin-top: 7px; line-height: 1.5; }
.empty-action { text-align: center; padding-bottom: 26px; margin-top: -15px; }
.page-heading { margin: 3px 0 26px; }
.page-heading h1 { font-size: clamp(2.15rem, 4.3vw, 3.25rem); line-height: 1.08; }
.page-heading p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.directory { border-top: 1px solid var(--line); }
.directory-row {
  width: 100%; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 15px; gap: 12px; align-items: center;
  min-height: 65px; background: none; padding: 11px 22px; border: 0; border-bottom: 1px solid #e5ebe5; text-align: left; color: var(--text);
}
.directory-row:last-child { border-bottom: 0; border-radius: 0 0 var(--radius) var(--radius); }
.directory-row:hover { background-color: #f5f9f5; }
.directory-icon { display: grid; place-items: center; width: 32px; height: 32px; background: #ebf2e9; border-radius: 8px; color: #315e48; }
.directory-name small { display: block; font-size: .875rem; margin-top: 2px; color: var(--muted); }
.row-chevron { font-size: 1.35rem; color: #4a725d; }
.program-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.program-card { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.program-card-meta, .program-card-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .875rem; }
.program-card h2 { font-size: 1.31rem; }
.program-card p { line-height: 1.55; }
.program-card-foot { margin-top: auto; padding-top: 10px; }
.inline-select { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); margin-top: 10px; font-size: .875rem; }
.report-heading { flex-wrap: wrap; }
.report-content { margin: 0 22px 22px; padding: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; line-height: 1.6; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
dialog {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: min(620px, 100%); max-width: 100%; height: 100%;
  max-height: 100%; overflow: auto; overscroll-behavior: contain; padding: 0; border: 0;
  background: #fff; color: var(--text); box-shadow: -15px 0 55px #11272029;
}
dialog::backdrop { background: #10251d71; }
.dialog-close { position: absolute; right: 20px; top: 20px; min-height: 36px; min-width: 36px; }
.detail-header { background: #edf4ec; border-bottom: 1px solid var(--line); padding: 24px 64px 22px 26px; }
.detail-label { font-size: .875rem; color: var(--green); font-weight: 670; margin-bottom: 8px; }
.detail-header h2 { font-size: clamp(1.65rem, 4vw, 2.2rem); outline: none; line-height: 1.12; }
.detail-header p { color: #385246; font-size: 1rem; margin-top: 8px; line-height: 1.35; }
.detail-body { padding: 21px 26px 32px; }
.detail-body p { line-height: 1.55; margin-bottom: 11px; }
.detail-section { padding: 17px 0; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border: 0; }
.detail-section h3 { margin-bottom: 13px; font-size: 1.18rem; }
.tag-list, .link-row { display: flex; flex-wrap: wrap; gap: 6px; }
.link-row { gap: 13px; margin-bottom: 9px; }
.detail-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 12px; }
.detail-facts div { background: #f4f7f3; border: 1px solid var(--line); padding: 10px 12px; border-radius: 8px; }
.detail-facts span { color: var(--muted); font-size: .82rem; display: block; margin-bottom: 3px; }
.detail-facts strong { font-size: .93rem; font-weight: 670; }
.detail-body .source-date { color: var(--muted); font-size: .84rem; margin: 7px 0 0; }
.source-link { color: var(--green); font-size: .9rem; line-height: 1.4; font-weight: 650; text-underline-offset: 3px; }
.source-link:hover { color: #122d22; }
.evidence-card { background: #fafbf9; border: 1px solid var(--line); border-radius: 9px; padding: 13px; margin-top: 9px; }
.evidence-meta { color: var(--muted); font-size: .835rem; margin-bottom: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.evidence-card h4 { margin-bottom: 5px; }
.evidence-card .tag-list { margin: 0 0 9px; }
.muted { color: var(--muted); }
.check-list { line-height: 1.55; margin: 10px 0 0; padding-left: 22px; }
.check-list li + li { margin-top: 7px; }
.review-form { display: grid; gap: 12px; }
.review-form h3, .review-form p { margin: 0; }
.review-form label { display: grid; gap: 4px; font-size: .93rem; font-weight: 620; }
.review-form textarea { width: 100%; resize: vertical; }
.review-form .checkbox-line { grid-template-columns: auto 1fr; gap: 8px; font-weight: 500; color: #42574b; align-items: start; }
.checkbox-line input { width: 16px; height: 16px; accent-color: var(--green); }
.review-form .button { justify-self: start; }
.form-message { color: #8b341d; font-size: .91rem; }
.form-message:empty { display: none; }
#dialog-content .detail-body > .button { margin-top: 15px; }
.notice { display: none; position: fixed; bottom: 17px; right: 17px; padding: 12px 16px; background: #234b3a; color: #fff; z-index: 4; border-radius: 9px; box-shadow: 0 5px 20px #10251d33; }
.notice.visible { display: block; }
@media (max-width: 1100px) {
  .shell { grid-template-columns: 190px minmax(0, 1fr); }
  .sidebar { padding-left: 11px; padding-right: 11px; }
  .metric { padding: 12px; }
  .match-table { min-width: 715px; }
}
@media (max-width: 820px) {
  .shell { display: block; }
  .sidebar { position: static; height: auto; flex-wrap: wrap; padding: 15px 19px 11px; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .brand { padding: 0; }
  .pilot { display: none; }
  #navigation { order: 3; flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 4px; }
  .nav-item { width: auto; min-height: 36px; }
  .sidebar-bottom { margin: 0; }
  .workspace-note { display: none; }
  .topbar { min-height: 52px; }
  .hero { min-height: 0; padding: 25px 24px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .sidebar { padding-left: 14px; padding-right: 14px; }
  .nav-item { gap: 5px; padding: 6px; font-size: .82rem; }
  .nav-icon { width: 14px; flex-basis: 14px; }
  .topbar { padding: 9px 14px; }
  #header-report { display: none; }
  .view { padding: 17px 14px 28px; }
  .hero { padding: 21px 17px; }
  .hero-art { opacity: .3; }
  .metric-icon { display: none; }
  .metrics { gap: 8px; margin: 12px 0 17px; }
  .panel-heading { padding: 16px 13px 13px; }
  .filters { padding: 0 13px 12px; }
  .table-footer, .directory-row { padding-left: 13px; padding-right: 13px; }
  .program-grid { grid-template-columns: minmax(0, 1fr); }
  .report-content { margin: 0 13px 13px; padding: 12px; }
  .detail-header { padding-left: 17px; }
  .detail-body { padding: 17px; }
}
@media (max-width: 700px) {
  .match-table { min-width: 0; display: block; }
  .match-table thead {
    position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .match-table tbody { display: block; border-top: 1px solid var(--line); }
  .match-table tbody tr {
    display: grid; grid-template-columns: minmax(0, 1fr) auto 32px;
    gap: 9px 12px; align-items: start; padding: 13px 15px; border-bottom: 1px solid #e1e8e1;
  }
  .match-table tbody th, .match-table tbody td { width: auto; padding: 0; border: 0; }
  .match-table tbody th { grid-column: 1 / 3; }
  .match-table tbody td:nth-child(2) { grid-column: 1; }
  .match-table tbody td:nth-child(3) { grid-column: 1; }
  .match-table tbody td:nth-child(4) { grid-area: 2 / 2 / 3 / 4; align-self: center; justify-self: end; }
  .match-table tbody td.row-action { grid-area: 1 / 3; }
}
/* Shared funding workspace */
.hero { min-height: 236px; background: linear-gradient(110deg, #173f33 15%, #245742 74%, #2f664b 100%); }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(2.65rem, 5.7vw, 4.15rem); font-weight: 500; letter-spacing: -.047em; }
.hero-art { width: 48%; opacity: .58; }
.hero-art i { border-color: #a6c7a3; }
.hero-action { margin-top: 17px; background: #dcf0c8; color: #214535; border-color: #dcf0c8; }
.hero-action:hover { background: #eff9e4; }
.metric-link { display: block; text-decoration: none; }
.metric-link:hover { border-color: #9db8a5; box-shadow: 0 5px 12px #214a3b0b; }
.panel.queue { overflow: hidden; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.page-heading h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
.badge.red { background: #f8e7e3; color: #8b3d2e; }
.button-quiet { color: var(--muted); background: transparent; }
.button-quiet:hover { background: #f2f5f0; color: var(--text); }
.button-danger { background: #9a3e31; color: #fff; }
.button-danger:hover { background: #7b3026; }
.row-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.district-actions { margin-top: 13px; }
.text-button { border: 0; background: none; padding: 0; color: var(--green); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.text-button:hover { color: #1d362a; }
.evidence-links { align-items: center; margin: 0; justify-content: space-between; }
.signout { margin-left: auto; background: none; border: 0; padding: 0; color: #daf1d0; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
#reviewer { overflow-wrap: anywhere; min-width: 0; }
.check-grid { display: grid; gap: 12px; }
.qualification, .topic-picker { min-width: 0; margin: 0; border: 1px solid #d5e2d6; border-radius: 8px; padding: 8px 11px 11px; }
.qualification legend, .topic-picker legend { font-size: .935rem; font-weight: 680; padding: 0 4px; }
.qualification p { color: var(--muted); font-size: .875rem; }
.qualification-ref { margin: 3px 0 8px; }
.qualification-ref .source-link { font-size: .84rem; }
.qualification > label + label { margin-top: 8px; }
.qualification select { width: 100%; }
.topic-picker > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 10px; }
.topic-picker label { margin-top: 5px; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field-pair label { min-width: 0; }
.copy-text { width: 100%; resize: vertical; }
.copy-text + button { margin-top: 7px; }
.callout { color: #2c5341; background: #edf5eb; border: 1px solid #cfe0cb; padding: 10px 13px; border-radius: 8px; margin: 10px 0; font-size: .935rem; line-height: 1.45; }
.callout.warning { color: #694b16; background: #fff5de; border-color: #ebd9b5; }
.callout .row-buttons { margin-top: 7px; }
.source-excerpt { padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.source-results { list-style: none; padding: 0; }
.source-results li { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.source-results .button { min-height: 31px; margin-left: auto; white-space: normal; }
.monitor-row { cursor: default; }
.activity-panel { margin-top: 17px; }
.activity-list { margin: 0; padding: 0; list-style: none; }
.activity-list li { display: grid; grid-template-columns: minmax(110px, auto) minmax(0, 1fr) auto; gap: 10px; padding: 12px 22px; border-top: 1px solid var(--line); }
.activity-list small { color: var(--muted); font-size: .84rem; }
.brief-list { padding: 0 19px; }
.brief-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.brief-row:last-child { border-bottom: 0; }
.brief-row h3 { margin: 5px 0; font-size: 1.05rem; }
.brief-row p { color: var(--muted); font-size: .875rem; }
.brief-picker .checkbox-line { padding: 6px 0; }
.brief-picker small { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.mini-brief { margin-top: 10px; padding: 15px; border-radius: 10px; border: 1px solid #cfdfce; background: #f4f8f1; }
.mini-brief p { margin: 5px 0 0; }
.mini-brief article { margin: 10px 0; padding: 10px 0 12px; border-bottom: 1px solid #cfdfce; }
.outreach-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 17px; }
.login-screen { min-height: 80vh; display: grid; place-items: center; }
.login-card { width: min(100%, 460px); padding: 34px; }
.login-card h1 { margin: 13px 0 22px; }
.login-brand { color: #285543; font-weight: 760; font-size: 1.22rem; }
.signed-out .shell { display: block; }
.signed-out .sidebar, .signed-out .topbar { display: none; }
@media (max-width: 820px) {
  .workspace-note:has(#signout:not([hidden])) { display: flex; border-top: 0; padding: 3px; margin: 0; }
  .sidebar-bottom { display: flex; flex-wrap: wrap; align-items: center; }
  .hero { min-height: auto; }
}
@media (max-width: 650px) {
  .brief-row { display: block; }
  .brief-row .row-buttons { margin-top: 9px; }
  .activity-list li { grid-template-columns: minmax(0, 1fr) auto; padding-left: 14px; padding-right: 14px; }
  .activity-list li span { grid-row: 2; grid-column: 1 / -1; }
  .directory-row.monitor-row { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 7px; }
  .monitor-row .directory-icon { width: 28px; height: 28px; }
  .monitor-row .row-open { display: none; }
}
@media (max-width: 440px) {
  .field-pair, .topic-picker > div { grid-template-columns: minmax(0, 1fr); }
  .outreach-stats { gap: 6px; }
  .outreach-stats .metric { padding: 9px 7px; }
  .outreach-stats .metric-top { font-size: .8rem; }
  .brief-list { padding: 0 13px; }
}
.manual-check summary { cursor: pointer; font-weight: 650; }
.manual-check .review-form { margin-top: 12px; }
.brand-name { min-width: 0; }
.brand-name > span { display: block; font-size: .78rem; line-height: 1.1; letter-spacing: 0; color: #c4ddc7; }
@media (max-width: 820px) {
  .brand-name > span { display: inline; margin-left: 2px; }
}
