@font-face {
  font-family: 'Studio Sans';
  src: url('/fonts/Inter/400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f0;
  --ink: #343b30;
  --muted: #696f60;
  --line: #dedfd5;
  --olive: #515e43;
  --serif: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 36px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Studio Sans', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 1px solid var(--olive); outline-offset: 6px; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 20px; transform: translateY(-180%); background: var(--paper); border: 1px solid var(--line); padding: 14px 18px; font-size: 12px; }
.skip-link:focus { transform: translateY(0); }
::selection { background: #dde1d1; color: var(--ink); }
.preview-note { position: absolute; top: 12px; left: 32px; font-size: 9px; color: var(--muted); }

.link-label { position: relative; }
.link-label::after { content: ''; position: absolute; height: 1px; background: currentColor; left: 0; right: 0; bottom: -5px; transform: scaleX(0); transform-origin: left; transition: transform .22s; }
a:hover .link-label { color: var(--olive); }
a:hover .link-label::after { transform: scaleX(1); }
.arrow { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1; flex-shrink: 0; transition: transform .22s; }
.channel-icon { display: block; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; color: var(--olive); }
a:hover .arrow { transform: translate(2px, -2px); }

details { position: relative; }
summary { display: flex; align-items: center; gap: 13px; list-style: none; cursor: pointer; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
.menu-icon { width: 16px; height: 7px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: transform .22s; }
details[open] .menu-icon { transform: rotate(90deg); }
.access-panel { position: absolute; top: calc(100% + 14px); right: 0; width: 290px; padding: 27px; background: #f7f7ef; border: 1px solid #d9ddcf; box-shadow: 0 18px 42px #33392e0d; z-index: 10; }
.access-title { font: 400 20px/1.25 var(--serif); margin: 0 0 12px; }
.access-panel p { font-size: 11px; line-height: 1.85; color: var(--muted); margin: 0 0 13px; }
.access-panel a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 11px; gap: 20px; }
.access-panel .admin { border-top: 1px solid var(--line); padding-top: 17px; margin-top: 14px; }
.access-action { display: inline-flex; align-items: center; gap: 12px; }
.access-action .channel-icon { width: 15px; height: 15px; }


@media (max-width: 760px) { .access-panel { width: min(290px, calc(100vw - 40px)); padding: 24px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
