.oioi-brand{display:inline-flex;align-items:center;gap:4px;text-decoration:none;color:inherit;white-space:nowrap;flex-shrink:0}.oioi-penguin{object-fit:contain;display:block;flex-shrink:0}.oioi-wordmark{font-family:Georgia,'Times New Roman',serif;font-size:25px;font-style:italic;font-weight:600;letter-spacing:-1.1px}.academy-linkbar{justify-content:space-between!important}.oioi-ack{max-width:56rem;line-height:1.85}.oioi-ack a{text-decoration:underline;text-underline-offset:3px}.oioi-ack .oioi-credit-detail{font-size:11px;opacity:.88}.oioi-brand-footer{margin-left:-6px}@media(max-width:450px){header .oioi-wordmark{font-size:22px}header .oioi-brand{gap:0}header .oioi-penguin{width:36px;height:40px}.academy-linkbar>span{font-size:10px}.oioi-ack{font-size:11px}}

/* OiOi Academy palette: warm paper, deep green and sage. Layout remains unchanged. */
:root,:root[data-theme="light"]{
  --background:#f8f6f0;--foreground:#263e37;--muted:#5d6c62;
  --border:#d9ddd1;--border-strong:#bcc9bb;--card:#fcfbf8;--surface:#eeece4;
  --accent:#17666b;--accent-solid:#164f46;--accent-fg:#ffffff;--accent-soft:#e3ece4;--ring:#367768;
  --garden-1:#9bad94;--garden-2:#6e8e7c;--garden-3:#e4dbc5;--garden-ink:#4a6c58;
  --oioi-category-fg:#245d4e;
  --color-rose-50:#fdf4ed;--color-rose-100:#f9e5d4;--color-rose-200:#efc5a4;--color-rose-300:#dfa179;
  --color-rose-400:#cd7e50;--color-rose-500:#b65c34;--color-rose-600:#994224;--color-rose-700:#80361f;
  --color-rose-800:#6d3020;--color-rose-900:#5b2b20;--color-rose-950:#301810;
  --color-pink-50:#eff4eb;--color-pink-100:#e3ece0;--color-pink-200:#c8d9c4;--color-pink-300:#a8c3a4;
  --color-pink-400:#82a686;--color-pink-500:#62896d;--color-pink-600:#486d53;--color-pink-700:#365841;
  --color-pink-800:#2e4737;--color-pink-900:#293e31;--color-pink-950:#15221a;
  --color-fuchsia-50:#edf5ef;--color-fuchsia-100:#deece2;--color-fuchsia-200:#bed8c8;--color-fuchsia-300:#99bda9;
  --color-fuchsia-400:#71a089;--color-fuchsia-500:#4f856d;--color-fuchsia-600:#396953;--color-fuchsia-700:#2e5444;
  --color-fuchsia-800:#284437;--color-fuchsia-900:#23392f;--color-fuchsia-950:#10241b;
}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="contrast"]){
  --background:#17211d;--foreground:#eeede3;--muted:#b0bdb2;--border:#34453b;--border-strong:#4c6253;
  --card:#202d26;--surface:#28372e;--accent:#b8d4c4;--accent-solid:#b2cfbb;--accent-fg:#16382d;
  --accent-soft:#2c4336;--ring:#b8d4c4;--garden-1:#3d5b46;--garden-2:#6d9276;--garden-3:#343d31;--garden-ink:#bbd0b8;
  --oioi-category-fg:#c2dbc8;
}}
:root[data-theme="dark"]{
  --background:#17211d;--foreground:#eeede3;--muted:#b0bdb2;--border:#34453b;--border-strong:#4c6253;
  --card:#202d26;--surface:#28372e;--accent:#b8d4c4;--accent-solid:#b2cfbb;--accent-fg:#16382d;
  --accent-soft:#2c4336;--ring:#b8d4c4;--garden-1:#3d5b46;--garden-2:#6d9276;--garden-3:#343d31;--garden-ink:#bbd0b8;
  --oioi-category-fg:#c2dbc8;
}
:root[data-theme="contrast"]{
  --background:#000;--foreground:#fff;--muted:#e0e0e0;--border:#fff;--border-strong:#fff;--card:#000;--surface:#1a1a1a;
  --accent:#ffd400;--accent-solid:#ffd400;--accent-fg:#000;--accent-soft:#2a2300;--ring:#ffd400;
  --garden-1:transparent;--garden-2:transparent;--garden-3:transparent;--garden-ink:transparent;--oioi-category-fg:#ffd400;
}
/* Category decoration is separate from emergency, withdrawal and negative-evidence tones. */
:root :is(.k-cancer,.k-person,.k-pathway,[class~="bg-rose-50"][class~="text-rose-700"][class~="border-rose-200"],[class~="bg-pink-50"][class~="text-pink-700"][class~="border-pink-200"],[class~="bg-fuchsia-50"][class~="text-fuchsia-700"][class~="border-fuchsia-200"]){
  background-color:var(--accent-soft);color:var(--oioi-category-fg);border-color:var(--border-strong);
}
.academy-linkbar{background:#164f46;color:#f8f6f0}
.explained-row>summary::after{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317666b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4V5Z'/%3E%3Cpath d='M8 9h8M8 12h5'/%3E%3C/svg%3E")}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]):not([data-theme="contrast"]) .explained-row>summary::after{background-image:none}}
[data-theme="dark"] .explained-row>summary::after,[data-theme="contrast"] .explained-row>summary::after{background-image:none}
