/* Theme bridge for the policy library and the detailed legacy audit. */
:root {
  color-scheme: light;
  --ink: #14213a;
  --green: var(--ds-cobalt);
  --lime: #FFF0E3;
  --paper: #f9f8f5;
  --muted: #627086;
  --line: #e1e7f0;
  --amber: #854d0e;
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}
body { background: var(--paper); color: var(--ink); font: 16px/1.6 "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .brand, .big-transfer, .preview-facts strong { font-family: inherit; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--ds-cobalt); outline-offset: 4px; }
body > div:first-child[style] { background: #FFF0E3 !important; border-bottom: 1px solid #F5D5BC; padding: 10px 18px !important; color: #365784; font-size:14px !important; }
body > div:first-child[style] a { color: #B84F00; display: inline-flex; align-items: center; min-height: 32px; margin-left: 6px; }
header { height: 76px; max-width: none; padding-inline: max(28px, calc((100% - 1216px) / 2)); background: white; gap: 25px; }
.brand { font-size: 23px; letter-spacing: -.85px; font-weight: 750; white-space: nowrap; color: var(--ink); }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; padding: 0; border-radius: 9px; background: var(--tok-acc-btn,#C84A00); color:#fff; }
header nav { display: flex; align-items: center; gap: 24px; font-size:14px; }
header nav a { display: inline-flex; align-items: center; min-height: 48px; color: var(--muted); white-space: nowrap; }
header nav a:hover, header nav .active { color: var(--tok-acc-text); }
header .free { color: var(--muted); }
header .free span { color: var(--tok-acc-text); }
main { max-width: 1280px; }
main > section { padding-top: 38px; padding-bottom: 38px; }
h1, .intro h1 { font-size: 34px; line-height: 1.18; letter-spacing: -1px; font-weight: 680; margin: 11px 0 14px; }
h1 em { color: var(--tok-acc-text); font-style: normal; font-family: inherit; }
h2 { font-size: 28px; letter-spacing: -.7px; font-weight: 680; }
h3 { letter-spacing: -.35px; }
.eyebrow { color: var(--tok-acc-text); font-size:14px; letter-spacing: 1.1px; font-weight: 700; }
.hero { grid-template-columns: minmax(0,1fr); padding-top: 30px; padding-bottom: 30px; gap: 0; }
.hero p { max-width: 760px; font-size: 14px; line-height: 1.7; margin-bottom: 15px; }
.hero .actions { gap: 20px; margin-top: 18px; font-size:14px; }
.hero .micro { color: var(--muted); font-size:14px; margin-top: 15px; }
.hero-art { display: none; }
.promise { gap: 28px; padding-top: 23px; padding-bottom: 23px; background: white; }
.promise > span { font-size:14px; color: var(--muted); letter-spacing: 1px; }
.promise p { font-size: 18px; line-height: 1.5; }
.promise > div { font-size:14px; }
.section-head h2 { font-size: 27px; margin: 10px 0 22px; }
.section-head p { font-size:14px; }
.filterbar { border-color: var(--line); background: white; border-radius: 10px; }
label, .label { color: #42516c; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { min-height: 48px; border-color: #cbd5e1; border-radius: 8px; background: white; color: var(--ink); font-size: 16px; line-height: 1.5; padding: 11px 12px; }
input::placeholder, textarea::placeholder { color: #68778e; opacity: 1; }
input:hover, select:hover, textarea:hover { border-color: #94a3b8; }
input:focus, select:focus, textarea:focus { border-color: var(--ds-cobalt); }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; min-height: 18px; accent-color: var(--ds-cobalt); flex-shrink: 0; }
button, .button, .button.small, .outline, .secondary { min-height: 48px; font-size: 14px; }
.button { align-items: center; justify-content: center; background: var(--tok-acc-btn,#C84A00); color:#fff; border-radius: 8px; padding: 11px 20px; gap: 15px; }
.button:hover { background: var(--tok-acc-btn-hover,#A83F00); }
.button.small { font-size:14px; padding: 11px 16px; }
.outline, .secondary { background: white; color: var(--ink); border-color: #cbd5e1; border-radius: 8px; padding: 10px 15px; }
.outline:hover, .secondary:hover { background: #faf9f6; border-color: #FFB27A; }
.textbutton, .remove { min-height: 48px; }
.card { border-color: var(--line); border-radius: 11px; box-shadow: 0 2px 7px rgb(20 33 58 / 3%); }
.monogram { background: var(--ds-soft-blue); color: #B84F00; border-radius: 9px; }
.pill { background: #FFF0E3; border-color: #F5D5BC; color: #B84F00; border-radius: 5px; }
.card h3 { font-size: 19px; line-height: 1.4; }
.ceiling { color: var(--tok-acc-text); font-size: 31px; }
.bar { background: #efeeeb; }
.bar span { background: var(--ds-cobalt); }
.card-bottom button { color: var(--tok-acc-text); padding: 7px 0; font-size:14px; }
.card-bottom label { min-height: 48px; }
.source-link { color: var(--tok-acc-text); }
.workspace { border: 1px solid var(--line); background: white; border-radius: 12px; }
.summary { border: 1px solid #F5D5BC; background: #faf9f6; color: var(--ink); }
.summary .eyebrow { color: var(--tok-acc-text) !important; }
.summary strong { color: var(--tok-acc-text); font-weight: 650; }
.summary small, .summary .note { color: var(--muted); }
.task { align-items: flex-start; min-height: 48px; }
.task input { margin-top: 3px; }
.inventory-row button { min-width: 48px; }
.learn-grid article > span { display: inline-grid; place-items: center; width: 36px; height: 36px; border-color: #F5D5BC; border-radius: 8px; background: #FFF0E3; color: var(--tok-acc-text); }
.learn-grid p { font-size:14px; }
.resources { background: white; }
.resources a { color: var(--tok-acc-text); min-height: 48px; display: inline-flex; align-items: center; }
.closing { border: 1px solid var(--line); border-radius: 12px; background: white; color: var(--ink); margin-bottom: 32px; }
.closing h2 { font-size: 29px; }
.closing .eyebrow { color: var(--muted); }
.closing .button { background: var(--tok-acc-btn,#C84A00); color:#fff; }
.closing .button:hover { background: var(--tok-acc-btn-hover,#A83F00); }
footer { background: white; padding-block: 26px; }
footer p, footer > span, footer > a:last-child { color: var(--muted); }
footer .brand { color: var(--ink); }
/* Keep the audit's existing grid and filtering behavior. */
.intro { padding-top: 29px; padding-bottom: 28px; gap: 35px; }
.intro > div > p { max-width: 560px; font-size: 14px; line-height: 1.7; }
.intro-note { padding: 18px 24px; }
.intro-note h2 { font-size: 18px; letter-spacing: -.35px; }
.intro-note p { font-size:14px; }
.path-dots span { border-color: #F5D5BC; background: #FFF0E3; color: var(--tok-acc-text); }
.path-dots span:last-child { background: var(--tok-acc-btn,#C84A00); color:#fff; }
.path-dots i { border-color: #FFB27A; }
.builder { border-radius: 12px; border-color: var(--line); }
.builder-heading { padding-block: 17px; }
.builder-preview { background: #fbfaf7; border-left: 1px solid var(--line); }
.builder-preview h3 { font-size: 20px; }
.preview-card { border-color: var(--line); box-shadow: 0 2px 7px rgb(20 33 58 / 3%); }
.chip { color: #B84F00; background: #FFF0E3; letter-spacing: .6px; }
.university { color: var(--tok-acc-text); background: #FFF0E3; }
.connector, .preview-evidence { color: #526b91; }
.preview-facts { border-color: var(--line); }
.preview-facts strong { color: var(--tok-acc-text); }
legend span { border-radius: 7px; color: var(--tok-acc-text); background: #FFF0E3; }
#advanced-settings, .more-courses, .course-card details, .transfer-course details { background: #fbfaf7; }
.provider-choices label, .checkline { min-height: 48px; align-items: center; }
.provider-choices input, .checkline input { margin-top: 0; }
.provider-choices label { border-color: var(--line); background: white; }
#time-settings, #cost-settings { background: white; }
summary { min-height: 32px; color: var(--ink); }
summary span { color: var(--muted); }
.route-card.selected { border-color: var(--ds-cobalt); background: #faf9f6; }
.route-card .route-amount { color: var(--tok-acc-text); }
.transfer-hero { background: #FFF0E3; border-color: #F5D5BC; }
.big-transfer { color: var(--tok-acc-text); font-size: 42px; letter-spacing: -1.5px; }
.big-transfer span { font-family: inherit; font-size: 15px; letter-spacing: -.1px; }
.transfer-hero p, .transfer-target span { color: #526585; }
.transfer-target { border-color: #F5D5BC; }
.transfer-target strong { color: var(--ink); }
.waiver-offer { border-color: #f0dba6; background: #fffdf7; }
.waiver-offer p { color: #76623d; }
.plan-sidebar { background: white; color: var(--ink); border: 1px solid var(--line); }
.plan-sidebar .light { color: var(--tok-acc-text); }
.plan-sidebar .metrics strong { color: var(--tok-acc-text); }
.metrics small, .sidebar-caption, .plan-sidebar ol, .plan-sidebar .hint { color: var(--muted); }
.plan-sidebar a { color: var(--tok-acc-text); }
.plan-sidebar details { border-color: var(--line); }
.sidebar-divider { background: var(--line); }
.progressbar { background: #efeeeb; }
.progressbar span { background: var(--ds-cobalt); }
.notice { border-color: #F5D5BC; background: #faf9f6; }
.notice.amber { border-color: #f0dba6; background: #fffdf7; }
.tabs button { min-height: 55px; font-size:14px; }
.tabs button[aria-selected="true"] { color: var(--tok-acc-text); border-color: var(--tok-acc-btn,#C84A00); }
.tabs button span { background: #f4f3f0; color: var(--muted); }
.ledger-toolbar select { min-height: 48px; font-size: 16px; }
.group-label { color: #526784; }
.credit-badge, .tag { color: #B84F00; background: #f5f4f1; }
.tag.amber { color: #854d0e; background: #fffbeb; }
.mapping-line { color: #526784; }
.course-meta a, .transfer-course-actions, .more-courses > summary { color: var(--tok-acc-text); }
.sequence-number { color: var(--tok-acc-text); background: #FFF0E3; border-radius: 7px; }
.provider-group { background: white; border-color: var(--line); }
.transfer-course { border-color: var(--line); }
.finish-card { border-color: var(--line); background: #fbfaf7; }
.research-card { border-color: #f0dba6; background: #fffdf7; }
.how { padding-block: 42px; }
.how h2 { font-size: 29px; letter-spacing: -.7px; }
.how-grid article > span { color: var(--tok-acc-text); }
dialog { background: white; border-color: #cbd5e1; border-radius: 12px; max-height: calc(100dvh - 30px); overflow-y: auto; }
dialog::backdrop { background: rgb(15 23 42 / 54%); }
.close { min-width: 48px; min-height: 48px; font-size: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf7; }
#form-error { color: #b42318; }
@media (max-width: 950px) {
  header { padding-inline: 25px; gap: 18px; }
  header nav { gap: 17px; font-size:14px; }
  header .button.small { font-size:14px; padding-inline: 13px; }
  .intro h1 { font-size: 33px; }
  .intro { gap: 25px; }
}
@media (max-width: 700px) {
  header { height: auto; min-height: 115px; padding: 16px 18px 0; flex-wrap: wrap; gap: 8px 13px; }
  header .brand { font-size: 21px; }
  header nav { display: flex; order: 3; width: 100%; min-height: 49px; align-items: stretch; gap: 22px; overflow-x: auto; }
  header nav a { min-height: 49px; font-size:14px; }
  header > .button.small { margin-left: auto; padding-inline: 12px; font-size:14px; }
  header .free { display: none; }
  main > section { padding-top: 28px; padding-bottom: 28px; }
  .hero { padding-top: 25px; padding-bottom: 25px; }
  h1, .intro h1 { font-size: 30px; letter-spacing: -.8px; }
  .hero p { font-size:14px; }
  .hero .actions { gap: 18px; }
  .promise { gap: 17px; }
  .section-head h2 { font-size: 25px; }
  .workspace { border-radius: 10px; margin-inline: 12px; }
  .closing { border-radius: 10px; margin: 0 12px 25px; }
  .closing h2 { font-size: 27px; }
  .intro { padding-top: 25px; padding-bottom: 24px; }
  .intro > div > p { font-size:14px; }
  .builder-preview { border: 0; }
  .transfer-hero { padding: 20px; }
  .big-transfer { font-size: 38px; }
  .transfer-target { border-color: #F5D5BC; }
  .plan-sidebar { border-color: var(--line); }
  #cost-summary { border-color: var(--line); }
  .how { padding-block: 32px; }
  .how h2 { font-size: 26px; }
}
@media (max-width: 380px) {
  header { padding-inline: 14px; }
  header .brand { font-size: 20px; }
  header nav { gap: 18px; }
  header nav a { font-size:14px; }
  header > .button.small { padding-inline: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  body { background: white; color: #222; }
  body > div:first-child[style] { display: none !important; }
  .summary, .plan-sidebar, .transfer-hero, .notice, .finish-card, .research-card { background: white; color: #222; border-color: #bbb; }
  .summary strong, .summary .eyebrow, .plan-sidebar .metrics strong, .big-transfer { color: #222 !important; }
  .summary small, .summary .note, .metrics small, .sidebar-caption { color: #444; }
}
