:root {
  color-scheme: light;
  --canvas: #f7f8fa;
  --surface: #fff;
  --ink: #202124;
  --muted: #626670;
  --line: #e3e5e9;
  --control-border: #8b8e96;
  --brand: #24262b;
  --accent: #3155d9;
  --brand-soft: #f0f1f4;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.6; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, select, input:not([type="checkbox"]):not([type="radio"]), .btn { min-height: 44px; }
button, a { -webkit-tap-highlight-color: transparent; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a, button { touch-action: manipulation; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[x-cloak] { display: none !important; }
.app-main { min-height: 60vh; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 12px; }
.page-shell { width: min(100%, 1200px); margin-inline: auto; padding-inline: 20px; }
.page-heading { font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.12; overflow-wrap: anywhere; }
.lead { color: var(--muted); font-size: 1rem; line-height: 1.8; max-width: 62ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 19px; border: 1px solid transparent; border-radius: 10px; font-size: .875rem; font-weight: 700; line-height: 1.4; text-decoration: none; transition: background-color 140ms ease, border-color 140ms ease; }
.btn-primary { color: #fff; background: var(--brand); }
.btn-primary:hover { background: #40434b; }
.btn-secondary { color: var(--ink); background: var(--surface); border-color: var(--control-border); }
.btn-secondary:hover { background: #edf0f5; border-color: var(--ink); }
.btn-quiet { color: var(--brand); background: transparent; }
.btn-quiet:hover { background: var(--brand-soft); }
.btn:active { filter: brightness(.94); }
.field { display: grid; gap: 8px; }
.field label, label.field-label { font-size: .875rem; font-weight: 600; }
.input, .field input, .field select, .field textarea { width: 100%; min-width: 0; padding: 11px 13px; border: 1px solid var(--control-border); border-radius: 10px; background: var(--surface); color: var(--ink); }
input::placeholder, textarea::placeholder { color: #617084; opacity: 1; }
input, select, textarea { scroll-margin-block: 7rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.status { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 5px; background: #e9eef5; color: #384961; font-size: .75rem; font-weight: 700; line-height: 1.5; }
.status-open { color: #176143; background: #e5f3eb; }
.status-closed { color: #626670; background: #ecf0f4; }
.status-pending { color: #825314; background: #fff2d9; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--muted); }
.notice { padding: 16px 20px; border: 1px solid var(--line); background: #f0f4fa; border-radius: 10px; color: #384961; }
.notice-error { border-color: #deaaa5; background: #fff1ef; color: #9b2820; }
.site-header { position: relative; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header-inner { display: flex; align-items: center; gap: 28px; max-width: 1200px; min-height: 80px; margin: auto; padding: 16px 20px; }
.brand-lockup { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: .9375rem; line-height: 1.25; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-lockup img { width: 40px; height: 40px; object-fit: contain; }
.brand-lockup { min-height: 44px; }
.brand-subtitle { display: block; font-size: .6875rem; color: var(--muted); font-weight: 500; margin-top: 4px; }
.desktop-nav { display: none; align-items: center; gap: 28px; }
.desktop-nav a, .organizer-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; font-weight: 600; color: var(--muted); }
.desktop-nav a[aria-current="page"] { color: var(--brand); box-shadow: inset 0 -2px var(--brand); }
.desktop-nav a:hover, .organizer-link:hover { color: var(--brand); }
.organizer-link { display: none; padding-left: 28px; border-left: 1px solid var(--line); }
.mobile-nav { display: grid; gap: 4px; padding: 0 20px 16px; }
.mobile-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 14px; border-radius: 10px; font-size: .875rem; }
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 32px; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 800; }
.site-footer p { color: var(--muted); font-size: .8125rem; margin-top: 5px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; color: var(--muted); }
.site-footer a:hover { color: var(--brand); }
@media (min-width: 760px) {
  .page-shell, .site-header-inner { padding-inline: 28px; }
  .desktop-nav, .organizer-link { display: flex; }
  .mobile-menu-button, .mobile-nav { display: none !important; }
  .lead { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
