/* UNICEF Brand Book 4.0: palette pp.49–53; Noto Sans p.57; web p.75.
   Logo artwork is extracted intact with its original alpha mask from p.38. */
@font-face { font-family: 'Noto Sans'; src: url('/assets/noto-sans-400.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('/assets/noto-sans-600.ttf') format('truetype'); font-style: normal; font-weight: 600; font-display: swap; }
@font-face { font-family: 'Noto Sans'; src: url('/assets/noto-sans-700.ttf') format('truetype'); font-style: normal; font-weight: 700; font-display: swap; }
:root { --unicef-blue: #00aeef; --unicef-blue-dark: #0047bb; --ink: #000; --muted: #000; --line: #000; --panel: #fff; --canvas: #fff; --soft-blue: #fff; --soft-green: #fff; --soft-yellow: #fff; --soft-red: #fff; --green: #004c45; --red: #000; --amber: #000; --radius: 4px; --shadow: none; font-family: 'Noto Sans', Arial, sans-serif; font-size: 16px; font-synthesis: none; }
body { line-height: 1.6; }
a { color: #0047bb; }
a:hover { color: #000; }
h1,h2,h3,h4 { letter-spacing: 0; font-weight: 700; }
h1 { font-size: clamp(1.7rem, 3vw, 2.25rem); line-height: 1.25; }
h2 { font-size: 1.4rem; }
.small,.input-help { font-size: .875rem; }
.micro { font-size: .8rem; }
.eyebrow { color: #000; font-size: .8rem; letter-spacing: .04em; }
.app-shell { display: block; }
.sidebar { position: static; height: auto; padding: 24px max(32px, calc((100vw - 1120px)/2)) 0; display: grid; grid-template-columns: 1fr auto; background: #00aeef; color: #000; }
.brand { display: grid; grid-template-columns: 210px 1fr; grid-template-rows: auto auto; align-content: center; column-gap: 64px; padding: 24px 0 76px 32px; border: 0; color: #000; text-decoration: none; }
.brand img { grid-row: 1 / 3; width: 210px; height: auto; filter: none; }
.brand__office { align-self: end; margin: 0 0 4px; color: #000; font-size: .9rem; }
.brand__product { align-self: start; margin: 0; color: #000; font-size: 1.25rem; }
.nav { grid-column: 1 / -1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; }
.nav a { color: #000; min-height: 48px; padding: 12px 20px; border-radius: 4px 4px 0 0; font-size: .9rem; font-weight: 600; }
.nav a:hover { background: #fff; color: #000; }
.nav a.is-active { background: #fff; color: #000; font-weight: 700; }
.sidebar__foot { align-self: center; grid-column: 2; grid-row: 1; margin: 0; padding: 0; color: #000; }
.logout-form { margin: 0; }
.logout-button { min-height: 44px; padding: 8px; color: #000; font-size: .875rem; }
.logout-button:hover { color: #000; }
.content { width: min(1080px, calc(100% - 64px)); padding: 36px 0 64px; }
.page-head { margin-bottom: 24px; }
.page-head p { overflow-wrap: anywhere; }
.page-head h1 { max-width: 850px; }
.hero { margin-bottom: 28px; padding: 0; color: #000; background: #fff; box-shadow: none; border-radius: 0; }
.hero::after { display: none; }
.hero h1 { max-width: 860px; }
.hero p,.hero .eyebrow { color: #000; }
.hero__link { min-height: 44px; margin-top: 12px; padding: 0; border: 0; color: #0047bb; background: #fff; text-decoration: underline; font-size: .875rem; font-weight: 600; }
.hero__link:hover { color: #000; background: #fff; }
.panel { border: 0; border-radius: 0; box-shadow: none; }
.panel__head { padding: 18px 0; border-bottom: 1px solid #000; }
.panel__body { padding: 22px 0; }
.panel + .panel { margin-top: 32px; }
.panel--blue,.panel--warning { background: #fff; border-left: 4px solid #00aeef; padding-left: 20px; }
.button { min-height: 44px; border-radius: 4px; font-weight: 700; font-size: .9rem; line-height: 1.4; }
.button--primary { color: #000; background: #00aeef; border-color: #000; }
.button--primary:hover { color: #000; background: #fff; border-color: #000; }
.button--light,.button--deny { color: #000; background: #fff; border-color: #000; }
.button--light:hover,.button--deny:hover { color: #000; background: #fff; text-decoration: underline; border-color: #000; }
.button--accept { background: #004c45; color: #fff; }
.button--accept:hover { background: #000; color: #fff; }
.button--small { min-height: 40px; font-size: .875rem; }
input,textarea,select { border: 1px solid #000; border-radius: 4px; font-size: 1rem; }
input,select { min-height: 48px; }
input:focus,textarea:focus,select:focus { border-color: #000; box-shadow: none; }
:where(a,button,input,textarea,select,summary):focus-visible { outline: 3px solid #0047bb !important; outline-offset: 4px !important; }
.skip-link { position: absolute; z-index: 200; top: -90px; left: 16px; padding: 12px 18px; background: #fff; color: #000; font-weight: 700; }
.skip-link:focus { top: 12px; }
.assessment { border-top: 4px solid #00aeef; margin-bottom: 20px; }
.assessment__summary { font-size: 1rem; line-height: 1.7; max-width: 85ch; }
.assessment__strengths { margin: 18px 0; }
.strength-titles { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-left: 20px; margin: 0 0 8px; font-size: .9rem; }
.strength { background: #fff; color: #000; border-left: 3px solid #00aeef; border-radius: 0; padding: 8px 16px; }
.strength strong,.strength p { color: #000; font-size: .875rem; }
.assessment__next { margin: 0 0 18px; }
.assessment__next li { padding: 3px 0; font-size: .9rem; }
.assessment__next li span { display: inline; margin-left: 8px; font-size: .8rem; }
.review-areas { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 18px 0; }
.review-area { display: block; background: #fff; color: #000; border: 0; border-bottom: 3px solid #00aeef; border-radius: 0; padding: 9px 0; }
.review-area strong { display: block; font-size: .875rem; }
.review-area span { font-size: .8rem; }
a.review-area:hover { background: #fff; color: #0047bb; border-color: #0047bb; }
.review-area--empty { background: #fff; color: #000; border: 0; }
.review-note { margin: 12px 0; font-size: .8rem; }
.focus-card,.record-card { border: 1px solid #000; border-radius: 4px; box-shadow: none; }
.focus-card > summary,.record-card > summary { padding: 16px 20px; }
.focus-card > summary strong { font-size: .9rem; }
.progress-copy { flex-wrap: wrap; font-size: .875rem; }
.progress { background: #fff; border: 1px solid #000; height: 10px; border-radius: 0; }
.progress__bar { background: #00aeef; border-radius: 0; }
.recommendation-area__head { margin-bottom: 18px; }
.recommendation-area__head > .quiet { font-size: .85rem; }
.recommendation-area__head h3 { font-size: 1.2rem; }
.recommendation-area__head p:last-child { font-size: .875rem; }
.recommendation-area + .recommendation-area { border-top: 4px solid #00aeef; padding-top: 24px; margin-top: 32px; }
.finding-list { gap: 24px; }
.finding { border: 1px solid #000; border-left: 4px solid #00aeef; border-radius: 4px; }
.finding__top { padding: 20px 24px; }
.finding__title { font-size: 1.05rem; }
.finding__action { font-size: .95rem; line-height: 1.65; color: #000; max-width: 80ch; }
.finding__kicker { margin-bottom: 10px; }
.badge { color: #000; background: #fff; border: 1px solid #000; border-radius: 3px; font-size: .75rem; font-weight: 600; min-height: 26px; }
.badge--high,.badge--queued,.badge--pending,.badge--C { color: #000; background: #ffb500; border-color: #ffb500; }
.badge--medium,.badge--low { color: #000; background: #fff; border-color: #000; }
.badge--completed,.badge--accepted,.badge--active,.badge--A,.badge--add { color: #fff; background: #004c45; border-color: #004c45; }
.badge--processing,.badge--B,.badge--update { color: #000; background: #00aeef; border-color: #00aeef; }
.badge--failed,.badge--denied,.badge--retired { color: #000; background: #fff; border: 2px solid #000; }
.finding__extras { margin-top: 12px; border-top: 0; }
.finding__details { border: 0; }
summary,.finding__details > summary { font-size: .875rem; font-weight: 600; }
.finding__details > summary { padding: 10px 0; min-height: 44px; }
.finding__details-body > p,.evidence-box blockquote { color: #000; font-size: .9rem; }
.finding__details-body h4 { color: #000; font-size: .8rem; }
.evidence-box { background: #fff; border-left: 3px solid #00aeef; border-radius: 0; }
.checklist-state { border-top: 0; margin-top: 14px; padding-top: 0; max-width: 100%; }
.checklist-state .status-control { grid-template-columns: auto 180px; }
.checklist-state .status-control span { color: #000; font-size: .875rem; text-transform: none; letter-spacing: 0; }
.checklist-state .status-control select { min-height: 44px; border-color: #000; background-color: #fff; border-radius: 4px; font-weight: 600; }
.checklist-state .status-control select:hover { border-color: #000; }
.checklist-state label { font-size: .875rem; }
.finding.is-complete { background: #fff; border-color: #004c45; }
.finding.is-complete .finding__title,.finding.is-complete .finding__action { opacity: 1; }
.finding.is-complete .finding__title { text-decoration: line-through; text-decoration-thickness: 1px; }
.review-row { padding: 20px 0; }
.review-row:hover { background: #fff; }
.review-row__page strong { white-space: normal; color: #000; font-size: .95rem; }
.review-row__page .micro { font-size: .8rem; }
.knowledge-card,.proposal { border-radius: 4px; }
.knowledge-card p,.proposal__body > p { color: #000; font-size: .9rem; }
.chip { color: #000; background: #fff; border-color: #000; border-radius: 4px; font-size: .875rem; }
.source,.comparison__side,.comparison__side--new { background: #fff; color: #000; }
.toast { color: #fff; background: #000; border-radius: 4px; box-shadow: none; }
.toast--error { border-left: 6px solid #ffb500; }
.login-page { background: #00aeef; }
.login-card { width: min(460px, 100%); border-radius: 4px; box-shadow: none; padding: 40px; }
.login-card img { display: block; width: 200px; height: auto; margin: 16px auto 80px; }
.login-card h1 { margin-top: 0; }
.login-error { background: #fff; color: #000; border-left: 4px solid #ffb500; }
@media (max-width: 900px) {
  .sidebar { display: none; }
  .mobile-header { position: static; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 22px 16px 0; background: #00aeef; color: #000; box-shadow: none; }
  .mobile-header > a { display: block; align-self: center; padding: 20px 48px 76px; }
  .mobile-header img { display: block; width: 200px; height: auto; filter: none; }
  .mobile-nav { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); max-width: none; gap: 0; overflow: visible; }
  .mobile-nav a { min-width: 0; min-height: 48px; padding: 12px 4px; color: #000; font-size: .8rem; text-align: center; border-radius: 4px 4px 0 0; white-space: normal; }
  .mobile-nav a.is-active { color: #000; background: #fff; }
  .content { width: calc(100% - 40px); padding-top: 28px; }
}
@media (max-width: 640px) {
  .page-head .button-row { margin-top: 16px; }
  .hero { padding: 0; }
  .hero h1 { font-size: 1.85rem; }
  .panel__head { padding: 16px 0; }
  .panel__body { padding: 18px 0; }
  .review-areas { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .review-area { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 10px 0; }
  .review-area--empty { display: block; padding: 8px 0; }
  .review-area--empty strong { display: inline; margin-right: 8px; }
  .assessment__next li span { display: none; }
  .strength-titles { display: block; }
  .finding__top { padding: 18px 16px; }
  .finding__action { font-size: .925rem; }
  .finding__title { font-size: 1rem; }
  .checklist-state [data-na-fields] { grid-template-columns: 1fr; }
  .progress-copy { gap: 4px; }
  .login-card { padding: 24px; }
}

/* Focused review workspace: assessment beside work, not above a second index. */
.report-page .content { width: min(1200px, calc(100% - 64px)); }
.report-page .page-head { padding-bottom: 24px; border-bottom: 1px solid #000; margin-bottom: 32px; }
.report-page .page-head h1 { max-width: 900px; font-size: clamp(1.55rem, 2.6vw, 2rem); }
.report-page #page-subheading { font-size: .85rem; margin-bottom: 0; }
.review-workspace { display: grid; grid-template-columns: minmax(240px, 300px) minmax(0,1fr); gap: 56px; align-items: start; }
.report-page .assessment { border: 0; margin: 0; }
.review-date { margin: 0 0 8px; font-size: .8rem; }
.report-page .assessment h2 { font-size: 1.15rem; margin: 0 0 16px; }
.report-page .assessment__summary { margin: 0; font-size: .925rem; line-height: 1.7; }
.assessment-toggle { display: none; }
.text-button { color: #0047bb; border: 0; padding: 8px 0; min-height: 44px; background: none; text-decoration: underline; cursor: pointer; font: inherit; font-size: .875rem; }
.assessment-strengths { margin-top: 20px; }
.assessment-strengths summary,.review-limits summary { min-height: 44px; padding: 10px 0; cursor: pointer; color: #0047bb; }
.assessment-strengths .strengths { display: block; margin: 8px 0; }
.assessment-strengths .strength { margin-bottom: 12px; padding: 0 0 0 12px; }
.report-page .review-note { margin-top: 24px; font-size: .75rem; }
.review-limits p { font-size: .8rem; }
.report-page .checklist-panel { margin: 0; }
.checklist-heading h2 { font-size: 1.4rem; margin: 0; }
.checklist-heading h2 span { font-weight: 400; margin-left: 8px; }
.checklist-heading p { font-size: .875rem; margin: 6px 0 20px; }
.area-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.area-filter { padding: 8px 14px; min-height: 44px; border: 1px solid #000; border-radius: 4px; font: inherit; font-size: .875rem; background: #fff; color: #000; cursor: pointer; }
.area-filter span { margin-left: 6px; font-size: .8rem; }
.area-filter[aria-pressed="true"] { background: #00aeef; font-weight: 700; border: 2px solid #000; padding: 7px 13px; }
.area-filter:hover { text-decoration: underline; }
.report-page .progress-copy { align-items: center; margin: 0 0 10px; gap: 12px; font-size: .8rem; }
.todo-filter { display: flex; gap: 8px; align-items: center; font-size: .8rem; margin: 0; min-height: 44px; cursor: pointer; }
.todo-filter input { width: 18px; height: 18px; min-height: 18px; accent-color: #0047bb; margin: 0; }
.report-page .progress { height: 6px; margin-bottom: 28px; }
.report-page .recommendation-area { border: 0; padding: 0; margin: 0 0 28px; }
.report-page .recommendation-area__head { margin-bottom: 12px; }
.report-page .recommendation-area__head h3 { font-size: 1rem; margin: 0; }
.report-page .recommendation-area__head p { font-size: .8rem; margin: 4px 0 0; }
.report-page .finding-list { gap: 0; border-top: 1px solid #000; }
.report-page .finding { border: 0; border-bottom: 1px solid #000; border-radius: 0; scroll-margin-top: 20px; }
.report-page .finding[hidden],.report-page .recommendation-area[hidden],.report-page [hidden] { display: none !important; }
.finding-summary { display: flex; list-style: none; align-items: center; gap: 12px; padding: 20px 8px; cursor: pointer; color: #000; min-height: 76px; }
.finding-summary::-webkit-details-marker { display: none; }
.finding-summary:hover .finding__title { text-decoration: underline; }
.finding-number { width: 24px; flex-shrink: 0; font-size: .85rem; }
.finding-summary__text { flex: 1; min-width: 0; }
.report-page .finding__title { display: block; font-size: 1rem; font-weight: 600; margin: 0; line-height: 1.5; }
.priority-text { display: inline-block; font-size: .7rem; margin-top: 5px; background: #ffb500; color: #000; padding: 1px 6px; border-radius: 2px; font-weight: 600; }
.finding-state { font-size: .75rem; font-weight: 400; max-width: 85px; }
.finding-chevron { width: 20px; font-size: 1.25rem; text-align: center; color: #0047bb; }
.finding-card[open] > summary .finding-chevron { font-size: 0; }
.finding-card[open] > summary .finding-chevron::after { content: '−'; font-size: 1.25rem; }
.report-page .finding__top { display: block; padding: 0 32px 24px 44px; }
.report-page .finding__action { margin: 0 0 18px; font-size: .95rem; line-height: 1.7; }
.report-page .checklist-state { margin: 0 0 8px; }
.report-page .finding__extras { margin-top: 8px; }
.report-page .finding__details-body { padding: 12px 0; }
.report-page .finding.is-complete .finding__title { text-decoration: none; }
.report-page .finding.is-complete .finding-state { color: #004c45; font-weight: 700; }
.review-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid #000; align-items: start; }
.review-settings .focus-card,.review-settings .record-card { margin: 0; border: 0; }
.review-settings .focus-card > summary,.review-settings .record-card > summary { padding: 12px 0; }
.review-settings .focus-card__label { text-transform: none; font-size: .85rem; }
.review-settings .focus-card > summary strong,.review-settings .record-card > summary span:last-child { display: none; }
.review-settings .focus-card__body,.review-settings .record-card__body { padding: 20px 0; }
.empty-checklist { padding: 24px 0; font-size: .925rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1000px) {
  .review-workspace { grid-template-columns: 1fr; gap: 28px; }
  .report-page .assessment { padding-bottom: 20px; border-bottom: 1px solid #000; }
  .assessment-copy:not(.is-expanded) .assessment__summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .assessment-toggle { display: inline-block; }
  .assessment-strengths { margin-top: 4px; }
  .report-page .review-note { margin: 8px 0 0; }
  .review-limits { margin-top: 0; }
}
@media (max-width: 640px) {
  .report-page .content { width: calc(100% - 32px); }
  .report-page .page-head { margin-bottom: 24px; padding-bottom: 20px; }
  .report-page .page-head .button-row { margin-top: 8px; }
  .review-settings { grid-template-columns: 1fr; gap: 8px; }
  .finding-summary { gap: 8px; padding: 18px 0; }
  .finding-number { width: 18px; }
  .finding-state { max-width: 62px; font-size: .7rem; }
  .report-page .finding__top { padding: 0 0 20px 26px; }
  .report-page .finding__title { font-size: .925rem; }
  .report-page .checklist-state .status-control { grid-template-columns: auto minmax(0,180px); }
  .area-filter { padding: 8px 10px; }
  .area-filter[aria-pressed="true"] { padding: 7px 9px; }
  .report-page .progress-copy { gap: 4px; }
}

.report-jump { display: none; }
@media (max-width: 1000px) { .report-jump { display: inline-flex; } }
.report-page:not(:has(.checklist-panel)) .report-jump { display: none; }
