/* The public course portal shares TGIR's ivory-and-forest study design. */
body.xva-observatory {
  --background: #f6f3e9; --foreground: #203b35;
  --card: #fcfbf6; --card-foreground: #203b35;
  --popover: #fcfbf6; --popover-foreground: #203b35;
  --primary: #244e43; --primary-foreground: #fcfbf6;
  --secondary: #e4e9da; --secondary-foreground: #244e43;
  --muted: #edf0e5; --muted-foreground: #59685c;
  --accent: #e4e9da; --accent-foreground: #203b35;
  --border: #cdd2c3; --input: #aab8a5; --ring: #244e43; --radius: 0;
  --study-serif: 'Iowan Old Style', Baskerville, Georgia, serif;
  background: var(--background); color: var(--foreground);
  font-family: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
}
.xva-masthead { max-width: 1216px; margin: 0 auto; padding: 26px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #cdd2c3; }
.xva-brand { display: flex; gap: 12px; align-items: center; color: #203b35; text-decoration: none; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 1.2px; text-transform: uppercase; }
.xva-brand img { width: 32px; height: 32px; filter: grayscale(1) sepia(.4); }
.xva-masthead nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: 12px; }
.xva-masthead nav a { color: #203b35; text-decoration: none; }
.xva-masthead nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.xva-skip { position: absolute; top: -100px; left: 20px; background: #fcfbf6; padding: 12px; z-index: 100; }
.xva-skip:focus { top: 10px; }
.xva-observatory :is(a, button, input, select, [tabindex]):focus-visible { outline: 3px solid #a64e32; outline-offset: 3px; }
.xva-observatory #root > .min-h-screen { background: #f6f3e9; background-image: none; }
.xva-observatory #root header { position: relative; background: transparent; box-shadow: none; border: 0; }
.xva-observatory #root header > div { padding-top: 42px; padding-bottom: 30px; }
.xva-observatory #root header .flex { flex-wrap: wrap; gap: 20px; }
.xva-observatory #root header .flex > div:first-child { flex: 1 1 650px; min-width: 0; }
.xva-observatory #root header h1 { font: 400 clamp(35px, 4.4vw, 59px)/1.1 var(--study-serif); letter-spacing: -1px; max-width: 900px; }
.xva-observatory #root header p { color: #59685c; font-size: 15px; line-height: 1.75; }
.xva-observatory #root header [data-slot='badge'] { font: 10px Menlo, Consolas, monospace; letter-spacing: 1px; text-transform: uppercase; }
.xva-observatory #root [data-slot='card'] { background: #fcfbf6; border: 1px solid #cdd2c3; border-radius: 0; box-shadow: none; gap: 20px; min-width: 0; }
.xva-observatory #root [data-slot='card']:hover { box-shadow: none; border-color: #8b9a82; }
.xva-observatory #root [data-slot='card-title'] { font: 400 28px/1.2 var(--study-serif); letter-spacing: -.3px; }
.xva-observatory #root [data-slot='card-description'] { color: #59685c; font-size: 14px; line-height: 1.8; }
.xva-observatory #root [data-slot='card-content'] { min-width: 0; }
.xva-observatory #root [data-slot='badge'] { border-radius: 0; background: #e4e9da; color: #244e43; border-color: #cdd2c3; white-space: normal; line-height: 1.5; }
.xva-observatory #root [data-slot='button'] { border-radius: 0; box-shadow: none; height: auto; min-height: 36px; white-space: normal; line-height: 1.5; padding-top: 9px; padding-bottom: 9px; }
.xva-observatory #root [data-slot='button'].bg-primary { background: #244e43; color: #fcfbf6; }
.xva-observatory #root [data-slot='button'].bg-primary:hover { background: #1d4036; }
.xva-observatory #root [data-slot='button'].border { background: #fcfbf6; border-color: #aab8a5; color: #244e43; }
.xva-observatory #root [data-slot='button'].border:hover { background: #e4e9da; }
.xva-observatory #root :is(.text-gray-900, .text-gray-800, .text-gray-700) { color: #203b35; }
.xva-observatory #root :is(.text-gray-600, .text-gray-500) { color: #59685c; }
.xva-observatory #root :is(.text-blue-600, .text-green-600, .text-purple-600) { color: #244e43; }
.xva-observatory #root .text-orange-600 { color: #a64e32; }
.xva-observatory #root :is(.bg-blue-50, .bg-green-50, .bg-purple-50, .bg-orange-50, .bg-gray-50, .bg-gray-100) { background: #edf0e5; }
.xva-observatory #root .bg-blue-400 { background: #8b9a82; }
.xva-observatory #root .rounded-lg { border-radius: 0; }
.xva-observatory #root :is(h2, h3) { color: #203b35; }
.xva-observatory #root h3 { font-family: var(--study-serif); font-weight: 400; }
.xva-observatory #root .grid { min-width: 0; }
.xva-observatory #root .grid > * { min-width: 0; }
.xva-observatory #root [data-slot='card-content'] .text-3xl { font: 400 38px/1.3 var(--study-serif); }
.xva-observatory #root .fixed.w-96 { width: min(420px, 100vw); background: #fcfbf6; border-left: 1px solid #cdd2c3; box-shadow: -10px 0 30px #203b3514; }
.xva-observatory #root .fixed.w-96 .p-3 { border-color: #cdd2c3; }
.xva-observatory #root mjx-container[display='true'] { overflow-x: auto; overflow-y: hidden; max-width: 100%; padding-bottom: 8px; }
.xva-observatory #root mjx-container:not([display='true']) { display: inline-block; max-width: 100%; overflow-x: auto; overflow-y: hidden; vertical-align: middle; }
.xva-observatory #root table { display: block; max-width: 100%; overflow-x: auto; }
.xva-observatory #root footer { border-color: #cdd2c3; font-size: 13px; line-height: 1.7; }
.xva-observatory .public-reading { background: #fcfbf6; color: #203b35; border: 1px solid #cdd2c3; }
.xva-observatory .public-reading :is(h2, h3) { font-family: var(--study-serif); font-weight: 400; color: #203b35; }
.xva-observatory .public-reading a { color: #244e43; }
@media (max-width: 1280px) { .xva-masthead { margin: 0 32px; } }
@media (max-width: 640px) {
  .xva-masthead { margin: 0 16px; padding: 22px 0; align-items: flex-start; flex-direction: column; gap: 18px; }
  .xva-masthead nav { gap: 22px; }
  .xva-observatory #root header > div { padding-top: 30px; }
  .xva-observatory #root header .flex > div:first-child { flex-basis: 100%; }
  .xva-observatory #root [data-slot='card-title'] { font-size: 26px; }
  .xva-observatory #root [data-slot='card-content'] > .p-6 { padding: 16px; }
  .xva-observatory .public-reading { margin: 24px 16px; }
}
@media (prefers-reduced-motion: reduce) { .xva-observatory * { transition: none !important; animation: none !important; } }
