@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap");

/* Paper + Stetson indigo (cache token paper-indigo-1). Brand accent from stetsonacademy.com --sa-indigo / --sa-indigo-deep. */

:root {
  --bg: #f4f2fb;
  --surface: #ffffff;
  --ink: #1c1730;
  --muted: #5d5770;
  --accent: #7c12f8;
  --accent-deep: #5b0fc8;
  --accent-soft: #efe8ff;
  --sale: #c24a2a;
  --sale-soft: #fde8e2;
  --sand: #efe8ff;
  --line: #e4dcf6;
  --night: #14082c;
  --gold: #f0c14b;
  --gold-soft: #fff6d6;
  --shadow: 0 14px 36px rgba(91, 15, 200, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: "Fraunces", Georgia, serif;
  --font: "Figtree", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 420px at 0% -10%, rgba(124, 18, 248, 0.08), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 400;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
h1, h2, h3, .brand-name, .card-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--night);
  line-height: 1.15;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.45rem); margin: 0 0 0.65rem; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0 0 0.8rem; }
h3 { font-size: 1.12rem; margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus {
  left: 0.5rem; top: 0.5rem; background: var(--surface);
  padding: 0.45rem 0.85rem; z-index: 80; border-radius: 8px;
}

/* —— Site chrome —— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.55rem 1rem;
  min-height: 4.15rem; padding: 0.45rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.7rem;
  text-decoration: none; color: var(--night);
}
.brand-mark {
  width: 2.35rem; height: 2.35rem; border-radius: 12px;
  background: var(--accent); color: var(--gold-soft);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 0.92rem; font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; gap: 0.05rem; }
.brand-name { font-size: 1.02rem; font-weight: 650; letter-spacing: -0.03em; }
.brand-place { font-size: 0.72rem; color: var(--muted); font-weight: 500; letter-spacing: 0.02em; }
.nav-primary { display: none; }
.nav-primary a,
.nav-drawer a {
  text-decoration: none; color: var(--muted); font-size: 0.92rem; font-weight: 600;
}
.nav-primary a {
  padding: 0.4rem 0.55rem; border-radius: 8px;
}
.nav-primary a:hover,
.nav-primary a[aria-current="page"] {
  color: var(--accent-deep); background: var(--accent-soft);
}
.nav-tools { margin-left: auto; display: flex; gap: 0.45rem; align-items: center; }
.icon-btn, .menu-btn, .account-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 0.42rem 0.9rem; font: inherit; font-weight: 600;
  cursor: pointer; text-decoration: none; min-height: 2.5rem;
  display: inline-flex; align-items: center;
}
.icon-btn:hover, .menu-btn:hover, .account-btn:hover {
  border-color: var(--accent); color: var(--accent-deep);
}
.cart-pill { position: relative; }
.cart-pill .count {
  position: absolute; top: -0.35rem; right: -0.25rem;
  background: var(--sale); color: #fff; border-radius: 999px;
  font-size: 0.68rem; min-width: 1.1rem; text-align: center; padding: 0.05rem 0.28rem;
}
.nav-drawer {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 0.35rem 0 0.7rem;
}
body.menu-open .nav-drawer,
.nav-drawer.is-open { display: block; }
.nav-drawer a {
  display: block; padding: 0.85rem 1.25rem; color: var(--ink);
  border-top: 1px solid var(--line); min-height: 2.75rem;
}
.nav-drawer a[aria-current="page"] {
  color: var(--accent-deep); background: var(--accent-soft);
}

/* —— Hero & homepage —— */
.hero {
  padding: 2.6rem 0 2rem;
  background:
    radial-gradient(720px 280px at 90% 0%, rgba(201, 162, 39, 0.16), transparent 55%),
    radial-gradient(640px 260px at 0% 100%, rgba(124, 18, 248, 0.14), transparent 50%);
}
.hero-grid {
  display: grid; gap: 1.5rem; align-items: stretch;
}
.hero .lede { font-size: 1.18rem; max-width: 36rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.35rem; }
.eyebrow {
  display: inline-block; margin: 0 0 0.7rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-deep);
}
.hero-feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex; flex-direction: column;
}
.hero-feature-kicker {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.45rem;
}
.hero-feature h2 { font-size: 1.45rem; margin-bottom: 0.45rem; }
.hero-feature h2 a { text-decoration: none; color: inherit; }
.hero-feature .pitch { flex: 1; }

.quick-nav {
  display: grid; gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 0.4rem;
}
.quick-nav a {
  text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 0.9rem 1rem;
  display: flex; flex-direction: column; gap: 0.15rem;
  min-height: 4.6rem;
}
.quick-nav a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.quick-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent);
}
.quick-nav strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; }

.home-band,
.campaign-card {
  background:
    linear-gradient(145deg, var(--accent-soft) 0%, var(--surface) 48%, var(--gold-soft) 140%);
  border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.5rem 1.55rem;
  box-shadow: var(--shadow);
  display: grid; gap: 1.35rem;
}
.campaign-card h2,
.campaign-card h3 { margin-bottom: 0.45rem; }
.campaign-card h2 a,
.campaign-card h3 a { text-decoration: none; color: inherit; }
.campaign-card h2 a:hover,
.campaign-card h3 a:hover { color: var(--accent); }
.campaign-copy .pitch { margin-bottom: 0; max-width: 36rem; }
.campaign-meter {
  display: flex; flex-direction: column; justify-content: flex-end;
}
.campaign-raised { margin: 0; }
.campaign-raised b {
  display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.35rem);
  font-weight: 700; color: var(--accent-deep); line-height: 1.05; margin-bottom: 0.15rem;
}
.campaign-goal { margin: 0; color: var(--muted); font-size: 0.95rem; }
.campaign-meter .thermo { margin: 0.9rem 0 1.2rem; height: 0.85rem; }
.campaign-meter .btn { align-self: flex-start; }
.campaign-card-compact {
  background: var(--surface);
  padding: 1.2rem 1.25rem 1.3rem;
}
.home-split {
  display: grid; gap: 1.25rem;
}
.month-list { list-style: none; padding: 0; margin: 0; }
.month-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.month-list li:last-child { border-bottom: 0; }
.month-label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.2rem;
}

.media-rounded { border-radius: 14px; overflow: hidden; margin-bottom: 0.9rem; }
.media-teaser { aspect-ratio: 16 / 8; }
.cluster-links { margin-top: 1rem; color: var(--muted); }

/* —— Buttons —— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.35rem; border-radius: 12px; padding: 0.72rem 1.2rem;
  text-decoration: none; font: inherit; font-weight: 650; border: 1px solid transparent;
  cursor: pointer; min-height: 2.8rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-gold { background: var(--gold); color: var(--accent-deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--accent-deep); }
.btn-ghost { background: transparent; border-color: var(--accent); color: var(--accent-deep); }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-danger { background: var(--sale); color: #fff; }
.btn[disabled], .btn.is-disabled { opacity: 0.5; pointer-events: none; }
.btn-block { width: 100%; }

/* —— Layout blocks —— */
.section { padding: 1.7rem 0 2.3rem; }
.section > .wrap > h1:first-child + p {
  color: var(--muted); font-size: 1.08rem; max-width: 42rem;
}
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: 1.15rem;
}
.section-head a { font-weight: 650; text-decoration: none; }

.event-grid, .product-grid, .card-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: 1fr;
}
.event-card, .product-card, .panel, .comm-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.event-card, .product-card {
  display: flex; flex-direction: column;
  border-top: 3px solid var(--accent);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}
.event-card:hover, .product-card:hover {
  box-shadow: 0 16px 32px rgba(91, 15, 200, 0.12);
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
}
.event-card:hover .card-title a,
.product-card:hover .card-title a { color: var(--accent); }
.event-card .card-inner {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.15rem 1.2rem 1.2rem;
  flex: 1;
}
.event-card .card-body { padding: 0; min-width: 0; }
.panel-pad { padding: 1.15rem 1.25rem; }
.panel-pad-sm { padding: 0.7rem; }
.panel-stack { margin-bottom: 0.85rem; }
.form-inline { display: inline; }

.media {
  position: relative; aspect-ratio: 16 / 9; background: var(--accent-deep);
  overflow: hidden;
}
.media.square { aspect-ratio: 1; }
.media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.media-overlay {
  position: absolute; left: 0.75rem; bottom: 0.75rem; z-index: 1;
  pointer-events: none;
}
.monogram {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--accent) 0%, var(--night) 100%);
  color: var(--gold); font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
}
.event-when {
  margin: 0 0 0.28rem; font-size: 0.86rem; font-weight: 650;
  letter-spacing: 0.01em; color: var(--accent-deep);
}
.event-when.spaced { margin-top: 1rem; }
.date-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; border-radius: 14px;
  padding: 0.5rem 0.55rem 0.45rem; min-width: 3.65rem; flex-shrink: 0;
}
.date-badge .mon {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
}
.date-badge .day {
  display: block; font-size: 1.7rem; line-height: 1; font-family: var(--font-display); font-weight: 700; color: #fff;
}
.card-body { padding: 1.15rem 1.2rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.18rem; margin: 0 0 0.35rem; }
.card-title a { text-decoration: none; color: inherit; }
.card-kicker {
  margin: 0 0 0.35rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
}
.pitch { color: var(--muted); margin-bottom: 0.55rem; flex: 1; }
.card-place { margin: 0 0 0.7rem; color: var(--muted); font-size: 0.9rem; }
.card-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.55rem 0.8rem; margin-top: auto; padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.card-price { font-weight: 700; font-size: 1.05rem; color: var(--night); }
.card-go {
  font-weight: 700; text-decoration: none; color: var(--accent);
  white-space: nowrap;
}
.card-go:hover { color: var(--accent-deep); }
.card-go.is-disabled { color: var(--muted); font-weight: 650; }
.meta { display: flex; flex-wrap: wrap; gap: 0.4rem; color: var(--muted); font-size: 0.88rem; }
.card-foot .meta { margin: 0; }
.chip {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0.18rem 0.62rem; background: var(--accent-soft); color: var(--accent-deep);
  font-size: 0.78rem; font-weight: 650;
}
.chip-gold { background: var(--gold-soft); color: var(--night); }
.chip-sale { background: var(--sale); color: #fff; }
.chip-student { background: var(--gold-soft); }

.thermo {
  background: var(--sand); border-radius: 999px; height: 0.7rem; overflow: hidden;
}
.thermo > span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--gold)); }

.avatar {
  width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover;
  margin-bottom: 0.65rem;
}

/* —— Footer —— */
.footer {
  background: var(--night); color: #efe8ff; padding: 3.1rem 0 2.2rem; margin-top: 2.6rem;
}
.footer a { color: var(--gold-soft); }
.footer .ein { color: #d8d0ea; font-size: 0.92rem; }
.footer-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: #c4b5e8; margin: 0 0 0.7rem;
}
.footer-grid { display: grid; gap: 1.6rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-links a { text-decoration: none; }
.footer-brand {
  font-family: var(--font-display); font-size: 1.2rem; color: #fff; margin: 0 0 0.6rem;
}

/* —— Feedback & forms —— */
.flash { list-style: none; padding: 0; margin: 0.9rem auto; width: min(var(--max), calc(100% - 2rem)); }
.flash li { padding: 0.75rem 1rem; border-radius: 12px; margin-bottom: 0.4rem; }
.flash .success { background: var(--accent-soft); }
.flash .error { background: var(--sale-soft); }
.flash .info { background: var(--gold-soft); }

.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 650; margin-bottom: 0.35rem; }
.field-tight { margin: 0; }
.req { color: var(--sale); font-weight: 500; font-size: 0.85rem; }
.hint { color: var(--muted); font-size: 0.88rem; margin: 0.25rem 0 0; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="tel"], input[type="url"], input[type="date"], input[type="datetime-local"],
input[type="file"], select, textarea {
  width: 100%; max-width: 100%; padding: 0.72rem 0.85rem; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
textarea { min-height: 8rem; }
.form { max-width: 36rem; }
.form-card { max-width: 32rem; }
.form-card .form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem 1.4rem 1.5rem; box-shadow: var(--shadow);
}
.qty-input { max-width: 6rem; }
.shift-block { margin-bottom: 0.7rem; }

.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; padding: 0.65rem 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
th { background: var(--accent-soft); color: var(--accent-deep); font-weight: 650; }

.empty {
  background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 1.8rem; text-align: center;
}

.prose { max-width: 42rem; }
.prose p { margin-bottom: 0.9rem; }
.lede { font-size: 1.12rem; color: var(--muted); }

.ticket-pass {
  border: 2px dashed var(--accent); border-radius: 16px; padding: 1.1rem;
  background: #fff; margin: 0.8rem 0;
}

.student-frame {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 6px var(--gold-soft);
  background: var(--surface);
  border-radius: 16px;
}

.calendar { width: 100%; table-layout: fixed; }
.calendar th { text-align: center; font-size: 0.8rem; }
.calendar td {
  vertical-align: top; width: 14.28%; height: auto; min-height: 4.2rem;
  padding: 0.4rem; overflow: hidden;
}
.calendar td.is-out { opacity: 0.4; }
.calendar .cal-day { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.2rem; }
.calendar .cal-ev {
  display: block; font-size: 0.72rem; line-height: 1.3;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* —— Officer desk —— */
.desk-section { padding-top: 1.35rem; }
.desk-section > .wrap {
  width: min(1280px, calc(100% - 1.5rem));
}
.desk { display: grid; gap: 1.35rem; }
.desk-main { min-width: 0; }
.desk-main > h1,
.desk-head h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.45rem);
}
.desk-kicker {
  margin: 0 0 0.28rem; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.desk-kicker.gold { color: var(--gold); }
.desk-nav {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.45rem 0.45rem 0.65rem;
  height: fit-content; box-shadow: var(--shadow);
}
.desk-nav-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  padding: 0.7rem 0.75rem 0.2rem; margin: 0.15rem 0 0;
}
.desk-nav-label:first-child { padding-top: 0.45rem; margin-top: 0; }
.desk-nav a {
  display: block; padding: 0.5rem 0.75rem; text-decoration: none;
  border-radius: 10px; color: var(--ink); font-weight: 600; font-size: 0.95rem;
}
.desk-nav a[aria-current="page"] {
  background: var(--accent-soft); color: var(--accent-deep);
  box-shadow: inset 3px 0 0 var(--accent);
}
.desk-nav a:hover { background: var(--accent-soft); color: var(--accent); }

.desk-head {
  display: flex; flex-wrap: wrap; gap: 0.85rem 1.2rem;
  justify-content: space-between; align-items: flex-end;
  margin-bottom: 1.05rem;
}
.desk-head h1 { margin-bottom: 0.25rem; }
.desk-head .lede { margin: 0; max-width: 40rem; }
.desk-head-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.desk-count { color: var(--muted); font-size: 0.9rem; margin: 0 0 0.75rem; font-weight: 600; }
.desk-filters {
  display: grid; gap: 0.55rem; align-items: end;
  grid-template-columns: 1fr;
  margin-bottom: 0.85rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.9rem 1rem;
  box-shadow: var(--shadow);
}
.desk-filters .field { margin: 0; min-width: 10rem; }
.desk-filters label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.desk-filters input[type="search"],
.desk-filters input[type="text"],
.desk-filters select { min-height: 2.6rem; }
.desk-filters .btn { min-height: 2.6rem; width: 100%; background: var(--accent); color: #fff; border-color: transparent; }
.desk-filters .btn:hover { background: var(--accent-deep); color: #fff; }
.desk-table-desktop {
  display: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.desk-table { margin: 0; }
.desk-table th { white-space: nowrap; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
.desk-table td { vertical-align: middle; padding: 0.85rem 0.9rem; }
.desk-table tbody tr { transition: background 0.15s ease; }
.desk-table tbody tr:hover { background: var(--accent-soft); }
.desk-table .meta { color: var(--muted); font-size: 0.86rem; margin: 0.15rem 0 0; }
.desk-table .num { font-variant-numeric: tabular-nums; font-weight: 700; text-align: right; white-space: nowrap; }
.desk-table th.num { text-align: right; }
.desk-card-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.65rem; }
.desk-card-list .panel {
  margin: 0; box-shadow: var(--shadow); border-top: 3px solid var(--accent);
}
.desk-card-list h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.desk-card-list h3 a { text-decoration: none; }
.pill {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 0.18rem 0.62rem; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.03em; border: 1px solid transparent; white-space: nowrap;
}
.pill-ok { background: var(--accent-soft); color: var(--accent-deep); border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); }
.pill-warn { background: var(--gold-soft); color: var(--night); border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); }
.pill-muted { background: #f3f0fa; color: var(--muted); }
.pill-sale { background: var(--sale-soft); color: var(--sale); }
.empty {
  background: var(--surface); border: 1px dashed color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: var(--radius); padding: 2.2rem 1.4rem; text-align: center;
  box-shadow: var(--shadow);
}
.empty-title { font-weight: 650; margin-bottom: 0.5rem; font-family: var(--font-display); font-size: 1.2rem; }
.desk-board { display: grid; gap: 1rem; }
.desk-queue.panel {
  margin: 0; overflow: hidden; box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
}
.desk-queue-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 0.75rem; padding: 0.95rem 1.1rem 0.7rem;
  background: linear-gradient(180deg, var(--accent-soft), transparent);
}
.desk-queue-head h2 { margin: 0; font-size: 1.2rem; }
.desk-queue-head a { font-weight: 650; text-decoration: none; font-size: 0.88rem; }
.desk-queue-list { list-style: none; padding: 0 0.55rem 0.55rem; margin: 0; }
.desk-queue-list li { border-bottom: 1px solid var(--line); }
.desk-queue-list li:last-child { border-bottom: 0; }
.desk-queue-list a,
.desk-queue-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.7rem 1rem; text-decoration: none; color: inherit;
}
.desk-queue-list a { padding: 0.7rem 0.55rem; border-radius: 12px; }
.desk-queue-list a:hover { background: var(--accent-soft); color: inherit; }
.desk-queue-body { display: flex; flex-direction: column; gap: 0.12rem; min-width: 0; flex: 1; }
.desk-queue-title { font-weight: 700; }
.desk-queue-meta { color: var(--muted); font-size: 0.86rem; }
.desk-queue-aside { display: flex; flex-direction: column; align-items: flex-end; gap: 0.28rem; flex-shrink: 0; }
.desk-money { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--night); }
.desk-empty-inline { margin: 0; padding: 0.4rem 1.15rem 1.05rem; color: var(--muted); }
.thermo-sm { height: 0.45rem; margin: 0.35rem 0 0.15rem; max-width: 12rem; }
.order-summary {
  display: grid; gap: 0.65rem; grid-template-columns: 1fr 1fr;
  margin-bottom: 1.2rem;
}
.order-summary .stat { margin: 0; }
.order-console { display: grid; gap: 1rem; }
.order-line-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1.1rem; margin-top: 0.7rem; align-items: flex-end; }
.order-line-actions .form { max-width: 18rem; margin: 0; }
.fieldset-block {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.15rem 1.25rem; margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.fieldset-block h2 { margin-top: 0; font-size: 1.15rem; }
.people-grid { display: grid; gap: 0.9rem; }
.media-tile p { margin: 0.4rem 0 0; font-size: 0.88rem; }
.shift-signups { color: var(--muted); font-size: 0.9rem; }

.stat-grid { display: grid; gap: 0.8rem; grid-template-columns: 1fr 1fr; }
.stat {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 0.95rem 1.05rem 1rem;
  box-shadow: var(--shadow); border-top: 3px solid var(--accent);
}
.stat.is-alert { border-top-color: var(--gold); }
.stat-kicker {
  display: block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.15rem;
}
.stat b { display: block; font-size: 2.05rem; color: var(--accent-deep); font-family: var(--font-display); line-height: 1; }
.stat-label { color: var(--muted); font-size: 0.88rem; }

code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; font-size: 0.92em; }
.assistant-launch {
  background:
    radial-gradient(900px 240px at 100% 0%, rgba(240, 193, 75, 0.18), transparent 50%),
    linear-gradient(155deg, var(--night) 0%, var(--accent-deep) 72%);
  color: #fff; border: 0;
  border-radius: var(--radius); padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: var(--shadow); margin-bottom: 1.2rem;
  border-top: 3px solid var(--gold);
}
.assistant-launch h2 { color: #fff; margin-bottom: 0.35rem; }
.assistant-launch p { color: rgba(255,255,255,0.84); }
.assistant-launch .hint, .assistant-launch .hint a { color: var(--gold-soft); }
.assistant-composer textarea {
  min-height: 4.6rem; margin-bottom: 0.7rem;
  background: rgba(255,255,255,0.97);
}
.assistant-launch .btn-gold { min-width: 11rem; }
.assistant-past { margin: 0.65rem 0 0; }
.assistant-past a { color: var(--gold); font-weight: 650; text-decoration: none; }
.assistant-past a:hover { color: #fff; }
.assistant-layout { display: grid; gap: 1.2rem; }
.assistant-threads a { display: block; padding: 0.45rem 0.6rem; text-decoration: none; border-radius: 8px; }
.assistant-threads a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-deep); }
.assistant-log { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.65rem; }
.assistant-msg { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0.75rem 0.9rem; }
.assistant-msg p { margin: 0; }
.assistant-msg.is-user { border-left: 3px solid var(--gold); }
.assistant-msg.is-assistant { border-left: 3px solid var(--accent); }
.assistant-msg.is-tool, .assistant-msg.is-tool-result { font-size: 0.92rem; color: var(--muted); }
.assistant-blocked {
  background: var(--sale-soft); border: 1px solid color-mix(in srgb, var(--sale) 35%, var(--line));
  border-radius: 12px; padding: 0.85rem 1rem; margin: 0.4rem 0 1rem;
}
.assistant-blocked strong { color: var(--sale); display: block; margin-bottom: 0.3rem; }
.assistant-confirm {
  background: var(--gold-soft); border-radius: 12px; padding: 0.9rem 1rem; margin-bottom: 1rem;
}
@media (min-width: 720px) {
  .assistant-layout { grid-template-columns: 200px 1fr; }
}

.guide { max-width: 48rem; }
.guide .lede { margin-bottom: 1.2rem; }
.guide h2[id] { scroll-margin-top: 5.5rem; padding-top: 0.35rem; }
.guide h3 { margin-top: 1.15rem; }
.guide ol, .guide ul { margin: 0 0 1rem; padding-left: 1.3rem; }
.guide li { margin-bottom: 0.35rem; }
.guide .table-wrap { margin: 0 0 1rem; }

.banner-dev {
  background: var(--gold-soft); color: var(--night); padding: 0.75rem 1rem;
  border-radius: 12px; margin-bottom: 1rem;
}
.actions-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.qty-row { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: end; }
.qty-row input { max-width: 5.5rem; }

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.filters a, .filters button {
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 0.38rem 0.85rem; text-decoration: none; color: var(--ink); font: inherit;
  font-size: 0.9rem; font-weight: 650;
}
.filters a:hover, .filters a[aria-current="page"] {
  border-color: var(--accent); background: var(--accent); color: #fff;
}

.pdf-frame { width: 100%; min-height: 70vh; border: 1px solid var(--line); border-radius: 14px; }

@media (min-width: 720px) {
  .event-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .quick-nav { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.2fr 0.9fr; align-items: center; }
  .home-split { grid-template-columns: 1.1fr 0.9fr; }
  .campaign-card:not(.campaign-card-compact) { grid-template-columns: 1.15fr 0.85fr; align-items: stretch; }
  .desk { grid-template-columns: 220px 1fr; align-items: start; }
  .desk-nav { position: sticky; top: 5.1rem; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); }
  .desk-board { grid-template-columns: 1fr 1fr; }
  .order-summary { grid-template-columns: repeat(4, 1fr); }
  .people-grid { grid-template-columns: 1fr 1fr; }
  .desk-filters { grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
  .desk-filters .btn { width: auto; min-width: 6.5rem; }
  .desk-table-desktop { display: block; }
  .desk-card-list { display: none; }
  .assistant-launch {
    display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.2rem; align-items: start;
  }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-primary {
    display: flex; flex-wrap: wrap; gap: 0.1rem; align-items: center;
    flex: 1 0 100%; order: 3; padding: 0.15rem 0 0.35rem;
    border-top: 1px solid var(--line);
  }
  .nav-tools .menu-btn { display: none; }
  .nav-drawer, body.menu-open .nav-drawer, .nav-drawer.is-open { display: none; }
  .event-grid { grid-template-columns: 1fr 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .quick-nav { grid-template-columns: repeat(6, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .event-card, .product-card { transition: none; }
}

.books-review-card { margin-bottom: 1rem; }
.books-review-actions {
  display: grid; gap: 0.55rem; align-items: end;
  grid-template-columns: 1fr;
  margin-top: 0.85rem;
}
.books-review-actions .field { margin: 0; }
.books-inline-form { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin: 0; }
.books-inline-form select { max-width: 18rem; }
.books-journal-form { max-width: none; }
.books-nav { margin-bottom: 1rem; }
@media (min-width: 720px) {
  .books-review-actions { grid-template-columns: 1fr 10rem auto auto auto auto; }
}

@media print {
  .site-header, .footer, .hero-actions, .btn, .desk-nav, .flash, .no-print, .quick-nav, .menu-btn {
    display: none !important;
  }
  body { background: white; color: black; padding: 0; }
  .wrap { width: auto; }
  a { color: inherit; text-decoration: none; }
}
