/* The public shell sheet (C3, QA 2026-08-11 audit 9) — extracted
   verbatim from site/base_public.html so it caches across pages.
   --accent stays inline in the page (branding interpolates it);
   the token sheet and the appearance assets outrank this file. */
    :root {
      /* 176: the token sheet outranks these literals when set. */
      --accent-deep: var(--brand-accent-deep, color-mix(in srgb, var(--accent) 78%, #05090f));
      --accent-tint: color-mix(in srgb, var(--accent) 6%, white);
      --ink: #1c2430; --muted: var(--brand-neutral, #64707e);
      --line: #e4e8ee; --bg: #fdfdfe; --soft: #f5f7fa;
      --radius: var(--brand-radius, 14px);
      --shadow: 0 1px 2px rgba(16,24,40,.05), 0 4px 14px rgba(16,24,40,.05);
      --shadow-hover: 0 2px 6px rgba(16,24,40,.08), 0 14px 34px rgba(16,24,40,.10);
    }
    * { box-sizing: border-box; }
    html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
    body { margin: 0; font-family: var(--brand-sans, system-ui, "Segoe UI", Roboto, sans-serif);
           color: var(--ink);
           background: var(--bg); font-size: 16.5px; line-height: 1.68;
           -webkit-font-smoothing: antialiased; }
    a { color: color-mix(in srgb, var(--accent) 82%, #1d4ed8); text-decoration: none; }
    a:hover { text-decoration: underline; }
    img { max-width: 100%; height: auto; border-radius: 10px; }
    :focus-visible { outline: 2px solid color-mix(in srgb, var(--accent) 40%, white);
      outline-offset: 2px; }

    header.site { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
      color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 2px 14px rgba(10,16,28,.18); }
    header.site .inner { max-width: 66rem; margin: 0 auto; padding: 1rem 1.4rem;
      display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.3rem; }
    header.site .brand { color: #fff; font-weight: 800; font-size: 1.32rem;
      letter-spacing: -.015em; display: flex; align-items: center; gap: .6rem; }
    header.site .brand:hover { text-decoration: none; opacity: .94; }
    header.site .brand img { max-height: 36px; border-radius: 0; }
    header.site .tagline { color: rgba(255,255,255,.72); font-size: .86rem; width: 100%;
      margin-top: -.3rem; letter-spacing: .01em; }
    header.site nav { display: flex; flex-wrap: wrap; gap: .15rem; margin-left: auto; }
    header.site nav a { color: rgba(255,255,255,.92); padding: .34rem .8rem;
      border-radius: 999px; font-size: .95rem; font-weight: 500;
      transition: background .14s, color .14s; }
    header.site nav a:hover { background: rgba(255,255,255,.15); color: #fff;
      text-decoration: none; }
    header.site form.search { margin-left: .5rem; }
    header.site form.search input { border: 1px solid rgba(255,255,255,.25);
      border-radius: 999px; padding: .38rem .95rem; font: inherit; font-size: .88rem;
      width: 10.5rem; background: rgba(255,255,255,.14); color: #fff;
      transition: width .18s ease, background .14s, border-color .14s; }
    header.site form.search input::placeholder { color: rgba(255,255,255,.65); }
    header.site form.search input:focus { outline: none; width: 13.5rem;
      background: rgba(255,255,255,.96); color: var(--ink);
      border-color: rgba(255,255,255,.9); }
    header.site nav.languages { margin-left: .4rem; gap: .1rem; align-items: center; }
    header.site nav.languages a, header.site nav.languages strong {
      color: rgba(255,255,255,.82); padding: .26rem .5rem; border-radius: 7px;
      font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
    header.site nav.languages a:hover { color: #fff; background: rgba(255,255,255,.15);
      text-decoration: none; }
    header.site nav.languages strong { color: #fff; background: rgba(255,255,255,.2); }
    header.site nav.account { display: flex; gap: .7rem; align-items: center;
      margin-left: .4rem; }
    header.site nav.account a { color: #fff; border: 1px solid rgba(255,255,255,.45);
      border-radius: 999px; padding: .3rem .95rem; font-size: .88rem; font-weight: 600;
      transition: background .14s, border-color .14s; }
    header.site nav.account a:hover { background: rgba(255,255,255,.94);
      border-color: transparent; color: var(--accent); text-decoration: none; }

    main.site { max-width: 66rem; margin: 0 auto; padding: 2.4rem 1.4rem 3.5rem; }
    h1 { font-size: clamp(1.6rem, 3.4vw, 2.15rem); line-height: 1.18; font-weight: 750;
      letter-spacing: -.025em; margin: 0 0 1.3rem; }
    h2 { font-size: 1.28rem; font-weight: 700; letter-spacing: -.01em; margin: 1.9rem 0 .75rem; }
    .meta { color: var(--muted); font-size: .88rem; }

    .entry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
      box-shadow: var(--shadow); padding: 1.3rem 1.5rem; margin-bottom: 1.2rem;
      transition: box-shadow .18s ease, transform .18s ease, border-color .18s; }
    .entry:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px);
      border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }
    .entry h2 { margin: 0 0 .5rem; font-size: 1.22rem; }
    .entry h2 a { color: var(--ink); }
    .entry h2 a:hover { color: var(--accent); text-decoration: none; }
    .entry img { max-height: 250px; object-fit: cover; }
    .field { margin-bottom: .7rem; }
    .field .label { font-weight: 700; font-size: .76rem; text-transform: uppercase;
      letter-spacing: .08em; color: var(--muted); }

    .embedded { border: 1px solid var(--line); border-radius: 12px; background: #fff;
      box-shadow: var(--shadow); padding: 1rem 1.2rem; margin: .6rem 0;
      transition: box-shadow .18s, transform .18s; }
    .embedded:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
    .supplement { margin-top: 2.6rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
    .supplement h2 { margin-top: .4rem; }
    .supplement .embedded { display: inline-block; vertical-align: top; min-width: 15.5rem;
      margin-right: .9rem; }
    .supplement .embedded .field:last-child .value,
    .supplement .embedded .field .value { font-weight: 550; }
    .lines div { line-height: 1.45; }

    form { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius);
      padding: 1.2rem 1.4rem; }
    input[type=text], input[type=email], input[type=url], input[type=number], select, textarea {
      border: 1px solid #c3ccd8; border-radius: 9px; padding: .55rem .8rem; font: inherit;
      background: #fff; max-width: 100%; transition: border-color .12s, box-shadow .12s; }
    input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent);
      box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, white); }
    button { background: var(--accent); color: #fff; border: 0; border-radius: 9px;
      padding: .6rem 1.35rem; font: inherit; font-weight: 650; cursor: pointer;
      box-shadow: var(--shadow); transition: filter .12s, transform .06s, box-shadow .14s; }
    button:hover { filter: brightness(1.12); box-shadow: var(--shadow-hover); }
    button:active { transform: translateY(1px); box-shadow: none; }
    .status-invalid { color: #b42318; font-weight: 600; }

    .pager { margin: 1.8rem 0 0; display: flex; gap: .8rem; align-items: center; }
    .pager a { border: 1px solid var(--line); border-radius: 999px; padding: .4rem 1.05rem;
      font-weight: 550; font-size: .92rem; transition: background .12s, border-color .12s,
      color .12s; }
    .pager a:hover { background: var(--accent); border-color: var(--accent); color: #fff;
      text-decoration: none; }

    /* D2: hidden until focused — the first tab stop on every page. */
    .skip-link { position: absolute; left: -9999px; top: 0; z-index: 100;
      background: var(--accent); color: #fff; padding: .5rem 1rem;
      border-radius: 0 0 .5rem 0; }
    .skip-link:focus { left: 0; }

    .menu-icon { display: inline-block; margin-right: .35rem; vertical-align: -0.18em; }
    .menu-icon svg { width: 1.05em; height: 1.05em; display: inline-block; }
    /* 175: the shell tree — a branch drops its children on click.
       B1: real lists (ul/li per level) with the visitor's place marked. */
    ul.menu-level { list-style: none; margin: 0; padding: 0; }
    nav.main-menu { position: relative; }
    nav.main-menu > ul.menu-level { display: flex; flex-wrap: wrap; gap: .15rem; }
    nav.main-menu > ul.menu-level > li.menu-item { position: relative; }
    nav.main-menu details.menu-branch { position: relative; }
    nav.main-menu details.menu-branch > summary { list-style: none; cursor: pointer; }
    nav.main-menu details.menu-branch > summary::-webkit-details-marker { display: none; }
    nav.main-menu details.menu-branch > summary::after { content: " ▾"; font-size: .7em; }
    nav.main-menu details.menu-branch[open] > .menu-children { position: absolute;
      top: 100%; left: 0; min-width: 12rem; max-width: calc(100vw - 2rem);
      background: #fff; color: var(--ink, #222); border: 1px solid var(--line);
      border-radius: .5rem; padding: .4rem; z-index: 60;
      box-shadow: 0 8px 24px rgba(0,0,0,.12); }
    .menu-children a, .menu-children .menu-heading { display: block; padding: .3rem .6rem; }
    .menu-children li.menu-item { display: block; }
    .menu-children details.menu-branch { display: block; }
    .menu-children details.menu-branch[open] > .menu-children { position: static;
      border: 0; box-shadow: none; padding: 0 0 0 .8rem; }
    .menu-heading { opacity: .7; font-size: .85em; text-transform: uppercase; }
    li.menu-item--active > a, li.menu-item--active > details.menu-branch > summary > a {
      font-weight: 650; text-decoration: underline; text-underline-offset: .35em; }
    footer.site .menu-children { position: static !important; }
    footer.site nav.footer-menu > ul.menu-level { display: flex; flex-wrap: wrap; gap: .9rem; }
    footer.site nav.footer-menu a { color: var(--muted); }
    footer.site nav.footer-menu a:hover { color: var(--accent); }

    footer.site { background: var(--soft); border-top: 1px solid var(--line); margin-top: 3rem; }
    footer.site .inner { max-width: 66rem; margin: 0 auto; padding: 1.5rem 1.4rem;
      color: var(--muted); font-size: .85rem; display: flex; justify-content: space-between;
      flex-wrap: wrap; gap: .5rem; }

    @media (max-width: 640px) {
      body { font-size: 16px; }
      header.site nav { margin-left: 0; }
      header.site form.search input:focus { width: 11rem; }
      h1 { font-size: 1.55rem; }
      .supplement .embedded { display: block; margin-right: 0; }
      main.site { padding: 1.6rem 1.1rem 2.5rem; }
    }
