:root {
  color-scheme: dark;
  --bg: #141114;
  --panel: #1e191e;
  --panel-alt: #251f26;
  --line: #3d323e;
  --text: #fff6ee;
  --muted: #c1b2bd;
  --gold: #f3ba7b;
  --gold-strong: #ffcd93;
  --violet: #cdb3ec;
  --radius: 15px;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 30px; }
body { margin: 0; min-width: 300px; background: var(--bg); color: var(--text); font: 16px/1.55 var(--body); }
a { color: var(--gold); text-underline-offset: .23em; }
a:hover { color: var(--gold-strong); }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid #eed2ff; outline-offset: 4px; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; }
h1, .section h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(2.5rem, 5vw, 4.7rem); }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.08rem; }
p + p { margin-top: .65rem; }
img { max-width: 100%; height: auto; }
.wrap { width: min(1200px, 100% - 112px); margin-inline: auto; }
.accent { color: var(--gold); }
.muted { color: var(--muted); }
.eyebrow { font-size: .72rem; font-weight: 750; letter-spacing: .17em; }
.button {
  padding: .76rem 1.14rem;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
}
.primary { color: #21171d; background: var(--gold); }
.primary:hover { color: #21171d; background: var(--gold-strong); }
.secondary, .quiet { border: 1px solid var(--line); color: var(--text); background: #211b22; }
.secondary:hover, .quiet:hover { background: #322732; color: var(--text); }
.quiet { border-radius: 7px; padding: .41rem .7rem; min-height: 38px; font-weight: 650; font-size: .87rem; }
.full { width: 100%; }
.site-header { background: #151215; border-bottom: 1px solid #392a37; }
.site-nav { min-height: 73px; display: flex; align-items: center; gap: 1rem; justify-content: space-between; }
.brand { display: inline-flex; gap: .62rem; color: var(--text); font-size: 1.24rem; font-weight: 750; letter-spacing: -.055em; align-items: center; text-decoration: none; width: fit-content; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; gap: 2.4px; background: var(--gold); border-radius: 8px; width: 34px; height: 34px; }
.brand-mark i { display: block; width: 2px; height: 8px; border-radius: 3px; background: #2f222b; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 14px; }
.brand-mark i:nth-child(3) { height: 21px; }
.site-nav nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.7rem); }
.site-nav nav a, .site-footer a { color: var(--text); text-decoration: none; font-size: .88rem; font-weight: 650; }
.site-nav nav a:hover, .site-footer a:hover { color: var(--gold); }
.nav-book { padding: .55rem .85rem; border: 1px solid #76593f; border-radius: 7px; }
.nav-book span { margin-left: .35rem; color: var(--gold); }

.hero { 
  min-height: min(650px, 76svh);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  background: #25191f url("/assets/venue.webp") center 47% / cover no-repeat;
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  z-index: -1;
  background:
    linear-gradient(0deg, #141114 0%, #1411141c 28%, transparent 64%),
    linear-gradient(90deg, #130c13bf 0%, #150d16dd 30%, #170e1890 50%, #190d180b 80%);
}
.hero-inner { display: flex; align-items: center; flex: 1; min-height: 555px; padding-block: 55px 25px; }
.hero-copy { max-width: 690px; }
.hero .eyebrow { color: #ffd2a0; display: flex; align-items: center; gap: .55rem; margin-bottom: 1.3rem; }
.live-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 12px #ffb96f85; }
.hero h1 { font-size: clamp(3.75rem, 7.4vw, 7rem); line-height: .94; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero p { max-width: 410px; margin-top: 1.45rem; font-size: clamp(1rem, 1.5vw, 1.19rem); color: #f0e1e9; }
.hero-actions { display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; margin-top: 1.65rem; }
.hero-actions .primary { min-height: 50px; padding-inline: 1.28rem; }
.text-link { color: var(--text); font-weight: 650; text-decoration: none; }
.text-link span { color: var(--gold); padding-inline-start: .2rem; }
.venue-caption { display: flex; justify-content: space-between; padding-bottom: 1.15rem; color: #e5c4ab; font-size: .67rem; letter-spacing: .2em; font-weight: 700; }
.benefits { border-block: 1px solid #3b2e3b; background: #1c171d; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit-grid > div { display: flex; gap: .85rem; align-items: center; padding: 1.27rem 1rem; }
.benefit-grid > div:first-child { padding-left: 0; }
.benefit-grid > div + div { border-left: 1px solid #3b2e3b; }
.benefit-icon { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 auto; font-size: 1.25rem; color: var(--gold); background: #32252c; border: 1px solid #5e4151; border-radius: 9px; }
.benefit-grid h2 { font-size: 1rem; margin-bottom: .32rem; }
.benefit-grid p { font-size: .85rem; color: var(--muted); }
.section { padding-block: clamp(3.4rem, 7vw, 6rem); }
.section h2 { font-size: clamp(2.5rem, 4.5vw, 4.35rem); margin: .3rem 0 1.5rem; }
.flow-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.audience-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 6vw, 5rem);
  margin: 1rem 0 0;
  padding: clamp(1.4rem, 4vw, 3.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: radial-gradient(ellipse at 78% 40%, #352637, #1b171d 67%);
}
.audience-preview figcaption { max-width: 27rem; }
.audience-preview h3 { font: 400 clamp(1.9rem, 4vw, 3.3rem)/1.05 var(--display); letter-spacing: -.035em; }
.audience-preview p { margin-top: .8rem; color: var(--muted); font-size: 1.05rem; }
.audience-preview img {
  display: block;
  justify-self: center;
  width: min(100%, 300px);
  height: auto;
  border: 1px solid #695268;
  border-radius: 18px;
  box-shadow: 0 14px 34px #0a070b88;
}
.flow-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; background: #1b171d; min-width: 0; }
.flow-panel > h3, .flow-heading { min-height: 38px; display: flex; align-items: center; }
.flow-heading { justify-content: space-between; gap: 1rem; }
.flow-diagram { display: grid; grid-template-columns: 1fr minmax(80px, .85fr) 1fr; align-items: center; gap: .25rem; margin: 1.8rem 0 1.3rem; text-align: center; }
.flow-node { min-width: 0; }
.flow-node strong, .flow-node small { display: block; }
.flow-node strong { font-size: .86rem; }
.flow-node small { color: var(--muted); font-size: .73rem; line-height: 1.35; margin-top: .2rem; }
.tables, .stage { height: 66px; display: flex; align-items: center; justify-content: center; margin: 0 auto .68rem; }
.tables { gap: 8px; padding-top: 6px; }
.table-symbol { position: relative; width: 37px; height: 44px; flex: 0 0 auto; }
.table-symbol:nth-child(2) { transform: translateY(-7px); }
.table-symbol::before { position: absolute; content: ""; width: 22px; height: 22px; inset: 14px 7px auto; border: 1px solid #d69b72; border-radius: 100%; background: #483237; }
.table-symbol i { position: absolute; display: block; width: 7px; height: 7px; border-radius: 50%; background: #e8ad81; }
.table-symbol i:nth-child(1) { left: 15px; top: 5px; }
.table-symbol i:nth-child(2) { left: 0; top: 29px; }
.table-symbol i:nth-child(3) { right: 0; top: 29px; }
.stage { position: relative; width: 69px; color: var(--violet); border: 1px solid #745a7a; border-bottom: 5px solid #745a7a; border-radius: 10px 10px 5px 5px; background: #2e2334; }
.performer { position: absolute; left: 15px; bottom: 11px; width: 12px; height: 19px; border-radius: 7px 7px 2px 2px; background: #cdb3ec; }
.performer::before { content: ""; position: absolute; top: -10px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #cdb3ec; }
.piano { position: absolute; bottom: 11px; left: 30px; width: 25px; height: 12px; border: 1px solid #e1c8fb; border-radius: 2px; background: repeating-linear-gradient(90deg, #e4d4ed, #e4d4ed 3px, #574163 3px, #574163 4px); }
.stage-note { position: absolute; top: 3px; right: 9px; font-size: 1rem; }
.flow-connection { height: 3.2rem; color: var(--gold); font-size: .7rem; font-weight: 700; }
.signal-track { display: block; position: relative; height: 2px; background: #8e654f; margin: .55rem 11px 0 5px; }
.signal-track::after { position: absolute; content: ""; right: -3px; top: -3px; width: 7px; height: 7px; border-top: 2px solid #c38c65; border-right: 2px solid #c38c65; transform: rotate(45deg); }
.signal-track i { position: absolute; display: none; width: 9px; height: 9px; top: -3.5px; border-radius: 50%; background: #ffd197; box-shadow: 0 0 12px #ffb86f; }
.playing .signal-track i { display: block; animation: travel 2.6s ease-in-out infinite; }
.playing .stage { animation: receive 2.6s ease-in-out infinite; }
@keyframes travel { 0%, 8% { left: 0; opacity: 0; } 20% { opacity: 1; } 70% { left: calc(100% - 4px); opacity: 1; } 85%, 100% { left: calc(100% - 4px); opacity: 0; } }
@keyframes receive { 0%, 60%, 100% { box-shadow: none; } 76% { box-shadow: 0 0 22px #bb83dd6b; } }

.booking-section { border-block: 1px solid var(--line); background: radial-gradient(ellipse at 18% 25%, #30202d, #181418 61%); }
.booking-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(1.2rem, 5vw, 4.7rem); }
.booking-layout > div:first-child { max-width: 430px; }
.price { color: var(--gold); display: flex; align-items: baseline; gap: .55rem; margin-top: 1.25rem; }
.price strong { font: 2.8rem/1.15 var(--display); }
.price span { color: var(--muted); }
.launch { margin-top: .7rem; }
.launch b, code { color: var(--gold); background: #34272d; border-radius: .35rem; padding: .16rem .42rem; font-family: ui-monospace, monospace; font-size: .9rem; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); padding: clamp(1rem, 2.6vw, 1.75rem); min-width: 0; }
.panel > h2, .panel > h3 { margin-bottom: .85rem; }
form { display: grid; gap: .88rem; }
.field { min-width: 0; display: flex; flex-direction: column; gap: .34rem; font-size: .88rem; font-weight: 650; }
.field input, .field textarea, .field select { width: 100%; min-width: 0; border: 1px solid #594958; border-radius: 7px; min-height: 45px; padding: .64rem .75rem; background: #161316; color: var(--text); font-size: 1rem; }
.field input::placeholder, .field textarea::placeholder { color: #ad9eaa; }
.field textarea { resize: vertical; }
.fields { display: grid; gap: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.notice { border-radius: 8px; padding: .6rem .8rem; border: 1px solid #964f63; color: #ffbac4; background: #352027; overflow-wrap: anywhere; }
.notice[data-kind="success"] { color: #cae9c0; background: #243123; border-color: #57724f; }
#booking-result h3 { font: 2rem var(--display); }
#booking-result p { margin-block: .8rem; }
.link-stack { display: grid; align-items: start; justify-items: start; gap: .4rem; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1rem 0; display: flex; gap: 1rem; justify-content: space-between; align-items: center; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--gold); font-size: 1.25rem; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 1rem 1rem 0; }
.site-footer { border-top: 1px solid var(--line); }
.site-footer > div { min-height: 85px; display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.site-footer .brand { font-size: 1.18rem; }
.site-footer > div > div { display: flex; flex-wrap: wrap; gap: .8rem 1.55rem; }

.app-bar { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem clamp(1rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: #1b161c; }
.app-bar > span { margin-left: auto; text-align: right; overflow-wrap: anywhere; color: var(--muted); font-weight: 700; }
.app-content { width: min(1160px, 100% - 48px); margin-inline: auto; padding-block: 2rem 3rem; }
.center { width: min(480px, 100% - 48px); margin-inline: auto; padding-top: min(12vh, 120px); }
.center h1 { font-size: clamp(2rem, 8vw, 3.4rem); margin-bottom: .35rem; }
.center section p, .center section form { margin-block: .8rem; }
.auth { padding: clamp(1.25rem, 5vw, 2rem); }
.auth .eyebrow { margin: 0; }

.audience-page { background: #151116; }
.audience { width: min(920px, 100% - 32px); min-height: calc(100svh - 64px); padding-block: 1rem max(1rem, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: .75rem; }
.audience-intro { text-align: center; }
.audience-intro p { font-size: .83rem; font-weight: 700; }
.audience-intro h1 { font-size: clamp(2.05rem, 6vw, 4rem); }
.moods { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: .65rem; }
.mood { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .75rem .5rem; gap: .35rem; min-height: clamp(101px, 21svh, 205px); color: #fff9f4; text-align: center; border: 1px solid #987053; border-radius: 13px; background: radial-gradient(ellipse at 50% 25%, #634031, #332329); font-weight: 760; font-size: clamp(1.15rem, 5vw, 2.3rem); line-height: 1.2; overflow-wrap: anywhere; }
.mood:nth-child(even) { border-color: #84688e; background: radial-gradient(ellipse at 50% 25%, #4c3958, #2c2332); }
.mood span { font-weight: 450; color: var(--gold); line-height: .8; font-size: clamp(2.5rem, 13vw, 5.2rem); }
.mood:nth-child(even) span { color: var(--violet); }
.mood:active { filter: brightness(1.25); }
.audience-message { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .5rem; margin-top: .15rem; }
.audience-message .button { min-width: 62px; }

.dashboard-header { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.dashboard-header h1 { margin-top: .2rem; overflow-wrap: anywhere; }
.actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 165px), 1fr)); gap: .65rem; margin: .9rem 0 1rem; }
.numbers > div { display: flex; flex-direction: column; padding: .82rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #251f26; }
.numbers small { color: var(--muted); }
.numbers strong { font: 2rem/1.25 var(--display); color: var(--gold); }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.dashboard-grid h3 { margin: 1.2rem 0 .55rem; }
[data-musician] .dashboard-header .button, [data-musician] .numbers small { font-size: 1.06rem; }
[data-musician] .numbers strong { font-size: clamp(2.25rem, 5vw, 2.9rem); }
[data-musician] .dashboard-grid h2 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.15; }
[data-musician] .dashboard-grid h3 { font-size: 1.15rem; }
[data-musician] .tally, [data-musician] .chip { font-size: clamp(1.1rem, 2.05vw, 1.38rem); overflow-wrap: anywhere; }
.activity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: .8rem; }
.activity-grid > section + section { padding-left: .8rem; border-left: 1px solid var(--line); }
.activity-empty { margin-top: .85rem; font-size: 1.06rem; }
.activity-list { list-style: none; margin: .75rem 0 0; padding: 0 .25rem 0 0; max-height: min(56svh, 30rem); overflow-y: auto; }
.activity-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .56rem .6rem;
  background: #191519;
  color: var(--text);
  font-size: clamp(1.15rem, 2.25vw, 1.5rem);
  font-weight: 650;
  line-height: 1.27;
  overflow-wrap: anywhere;
}
.activity-list li + li { margin-top: .4rem; }
.activity-votes li:first-child { border-color: #b9885d; background: #35262a; color: #ffdfbd; }
.activity-messages li:first-child { border-color: #9576ac; background: #322539; color: #f5e5ff; }
.dashboard-footer { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin-top: 1rem; }
.dashboard-footer label, .checkboxes label { display: flex; align-items: center; gap: .5rem; }
input[type=checkbox] { accent-color: var(--gold); width: 17px; height: 17px; }
.tally { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .75rem; align-items: center; margin: .85rem 0; }
.tally progress { grid-column: 1 / -1; width: 100%; height: .55rem; appearance: none; border: none; border-radius: 10px; background: #372c39; overflow: hidden; }
.tally progress::-webkit-progress-bar { background: #372c39; }
.tally progress::-webkit-progress-value { background: var(--gold); border-radius: 10px; }
.tally progress::-moz-progress-bar { background: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { border: 1px solid #5d4861; padding: .18rem .55rem; border-radius: 99px; color: #f2dff6; background: #2d2330; overflow-wrap: anywhere; min-width: 0; }
.settings { width: min(540px, calc(100% - 24px)); max-height: 88svh; color: var(--text); }
.settings::backdrop { background: #0a070bd4; }
.label-row { display: grid; grid-template-columns: 1fr auto; gap: .55rem; align-items: end; margin-bottom: .55rem; }
.label-row .quiet { min-height: 45px; }
.checkboxes { display: grid; gap: .4rem; }

.qr-page { text-align: center; overflow-wrap: anywhere; }
.qr-page h1 { margin-bottom: .5rem; }
.qr-page img { display: block; margin: 1.3rem auto .85rem; border-radius: 8px; background: white; }
.qr-page .actions { justify-content: center; margin-top: 1.15rem; }
.admin-note { background: #2d222a; color: #f9ddc3; border: 1px solid #6a4c53; padding: .85rem 1rem; border-radius: 9px; }
.admin-note p { margin-top: .2rem; }
.tabs { display: flex; gap: .4rem; margin: 1.1rem 0; flex-wrap: wrap; }
.tabs button { border: 1px solid var(--line); background: var(--panel); color: var(--text); padding: .55rem .85rem; border-radius: 7px; font-weight: 700; }
.tabs button[aria-pressed=true] { border-color: #a78265; color: var(--gold); background: #31252e; }
.admin-layout { display: grid; grid-template-columns: minmax(210px, .62fr) minmax(0, 1.38fr); align-items: start; gap: .85rem; }
.admin-layout h2 { margin-bottom: .32rem; }
[data-gig-list] { display: grid; gap: .43rem; margin-top: .7rem; }
.gig-item { text-align: left; display: grid; gap: .13rem; border: 1px solid var(--line); border-radius: 7px; padding: .55rem .75rem; color: var(--text); background: #181419; overflow-wrap: anywhere; }
.gig-item[aria-pressed=true] { border-color: #b18764; }
.gig-item small { color: var(--muted); }
.form-hint { font-size: .82rem; }
hr { height: 1px; border: none; background: var(--line); margin-block: 1.1rem; }
[data-verification] { margin: .55rem 0 .9rem; }
[data-verification] p { overflow-wrap: anywhere; }
[data-verification] button { margin-block: .4rem; }
.qr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.qr-grid img { margin: .35rem 0; background: white; border-radius: 6px; }
.private { margin-inline-start: .2rem; font-size: .68rem; letter-spacing: .07em; color: #ffb4c1; }
[data-stats] h3, [data-filter] { margin-block: 1rem .7rem; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
td, th { padding: .55rem .5rem; text-align: left; border-bottom: 1px solid var(--line); }

@media (max-width: 880px) {
  .wrap { width: calc(100% - 56px); }
  .hero-inner { min-height: 510px; }
  .hero { min-height: 0; }
  .app-content { width: min(100% - 32px, 1160px); }
}
@media (max-width: 760px) {
  [data-musician] .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 32px); }
  .site-nav { min-height: 60px; }
  .site-nav nav { gap: .55rem; }
  .site-nav nav a:first-child { display: none; }
  .nav-book { padding: .46rem .65rem; }
  .hero { background-position: 64% center; }
  .hero::before { background: linear-gradient(90deg, #140e16e6, #170e187a 76%, #170e1820), linear-gradient(0deg, #141114 0%, transparent 32%); }
  .hero-inner { padding-top: 48px; min-height: max(440px, 58svh); }
  .hero h1 { font-size: clamp(3rem, 12.4vw, 5.4rem); }
  .hero p { max-width: 335px; }
  .hero-actions { gap: .9rem; }
  .venue-caption { font-size: .58rem; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid > div, .benefit-grid > div:first-child { padding: .85rem 0; }
  .benefit-grid > div + div { border-left: none; border-top: 1px solid #3b2e3b; }
  .flow-layout, .audience-preview, .booking-layout, .faq, .admin-layout, .dashboard-grid { grid-template-columns: 1fr; }
  .faq { gap: 0; }
  .dashboard-header { align-items: start; flex-direction: column; }
}
@media (max-width: 370px) {
  .site-nav nav a:nth-child(2) { display: none; }
  .fields, .qr-grid { grid-template-columns: 1fr; }
}
@media print {
  @page { margin: 18mm; }
  :root { color-scheme: light; }
  .print-page, .qr-page { background: #fff; color: #000; }
  .print-page a { color: #000; }
  .print-page .app-bar, .print-controls { display: none; }
  .qr-page { width: 100%; padding-top: 25mm; }
  .qr-page h1 { font-size: 34pt; }
}

.site-footer > .site-measurement { min-height: 0; display: block; color: var(--muted); font-size: .82rem; padding-bottom: 1.15rem; }
.site-measurement summary { cursor: pointer; width: fit-content; }
.site-measurement p { max-width: 48rem; margin-top: .35rem; }
.report > h2 { font-size: clamp(1.42rem, 2.8vw, 2rem); }
.report-filters { display: flex; flex-wrap: wrap; gap: .65rem; align-items: end; margin-block: .8rem .5rem; }
.report-filters .field { min-width: 126px; flex: 1 1 128px; }
.report-filters .field:has(input[type=search]) { flex: 2 1 200px; }
.report-filters .button { flex: 0 1 auto; }
[data-ops-filters] { max-width: 610px; }
.report-note { margin-top: .4rem; font-size: .86rem; }
.report .numbers { grid-template-columns: repeat(auto-fit, minmax(min(100%, 136px), 1fr)); }
.report .numbers > div { padding: .7rem .8rem; justify-content: space-between; }
.report .numbers strong { font-size: clamp(1.3rem, 2.1vw, 1.9rem); overflow-wrap: anywhere; }
.report-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.report-chart-grid .trend-chart { grid-column: 1 / -1; }
.report-chart { min-width: 0; margin: 0; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: #211b22; }
.report-chart figcaption { font-weight: 750; margin-bottom: .64rem; }
.report-chart canvas { display: block; width: 100%; max-width: 670px; height: auto; margin: .4rem auto 0; }
.report-chart details { font-size: .84rem; color: var(--muted); margin-top: .4rem; }
.report-chart summary { cursor: pointer; }
.report-legend { display: flex; flex-wrap: wrap; gap: .28rem .85rem; color: var(--muted); font-size: .83rem; }
.report-legend span::before { display: inline-block; content: ""; width: 8px; height: 8px; margin-right: .38rem; border-radius: 50%; background: #fac384; }
.report-legend .series-1::before { background: #bfa8ee; }
.report-legend .series-2::before { background: #85dac3; }
.rank-row { margin: .67rem 0 0; font-size: .91rem; overflow-wrap: anywhere; }
.report-table-head, .report-pager { display: flex; justify-content: space-between; align-items: center; gap: .65rem; flex-wrap: wrap; margin-block: 1rem .45rem; }
.report-table-wrap { border: 1px solid var(--line); border-radius: 9px; }
.report-table-wrap table { min-width: 860px; }
.report-table-wrap tr:last-child td { border-bottom: none; }
.report-table-wrap tbody tr:nth-child(even) { background: #251f26; }
.report-table-wrap th, .report-table-wrap td { padding: .62rem .7rem; font-size: .84rem; }
.report-table-wrap td:first-child, .report-table-wrap td:nth-child(2) { white-space: nowrap; }
.sort-column { display: block; white-space: nowrap; border: 0; padding: .2rem 0; background: transparent; color: var(--text); text-align: left; font-weight: 750; }
th[aria-sort] .sort-column { color: var(--gold); }
.report-pager { justify-content: flex-end; font-size: .88rem; }
.ops-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin-top: 1rem; }
.report-audience { min-width: 0; }
.report-audience h3 { font-size: 1.25rem; padding-bottom: .45rem; border-bottom: 1px solid var(--line); }
.report-audience .report-chart + .report-chart { margin-top: .65rem; }
.smtp-form { max-width: 640px; margin-top: 1rem; }
.check { display: flex; gap: .55rem; align-items: center; width: fit-content; }
@media (max-width: 760px) {
  .ops-breakdown { grid-template-columns: 1fr; gap: 1.4rem; }
}
@media (max-width: 520px) {
  .report-chart-grid { grid-template-columns: 1fr; }
}
