* {
  box-sizing:border-box
}

body {
  margin:0;
  background:#f2f5f8;
  color:#152c40;
  font:16px/1.55 Arial,sans-serif
}

header {
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:16px max(20px,calc((100vw - 1190px)/2));
  border-bottom:1px solid #dce5ed;
  white-space:nowrap
}

.brand {
  font-size:20px;
  font-weight:bold;
  color:#17354a
}

.brand span {
  font-size:13px;
  color:#546b7c;
  margin-right:8px
}

nav {
  display:flex;
  gap:17px
}

a {
  color:#12666c;
  text-decoration:none
}

a:hover {
  text-decoration:underline
}

.badge,.chip {
  font-size:13px;
  border-radius:100px;
  padding:5px 10px;
  background:#e1f2ef;
  color:#165d54;
  display:inline-block
}

.chip.wait {
  background:#eef2f6;
  color:#4a6274
}

main {
  max-width:1200px;
  margin:auto;
  padding:32px 20px 60px
}

h1 {
  font-size:clamp(29px,4vw,46px);
  line-height:1.15;
  margin:8px 0 13px
}

h2 {
  line-height:1.2
}

h3 {
  margin:0
}

.lead,.muted {
  color:#4d6577
}

.lead {
  font-size:18px
}

.hero {
  background:linear-gradient(122deg,#13364e,#0b5759);
  border-radius:18px;
  color:white;
  padding:32px
}

.hero .lead {
  color:#e0eff2
}

.grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:19px
}

.card {
  background:#fff;
  border:1px solid #dbe5eb;
  border-radius:14px;
  padding:20px
}

.narrow {
  max-width:760px;
  margin:20px auto
}

.topline,.row,.actions {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap
}

.row {
  padding:12px 0;
  border-bottom:1px solid #e6edf1
}

.row:last-of-type {
  margin-bottom:12px
}

button,.button {
  display:inline-block;
  border:1px solid transparent;
  border-radius:8px;
  padding:9px 14px;
  background:#086970;
  color:white;
  font:inherit;
  font-weight:bold;
  cursor:pointer;
  text-align:center
}

.secondary {
  color:#145960;
  background:#edf6f5;
  border-color:#d2e5e3
}

button:disabled {
  opacity:.48;
  cursor:default
}

button:focus-visible,a:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid #f1aa42;
  outline-offset:3px
}

select,textarea {
  width:100%;
  padding:13px;
  font:inherit;
  border:1px solid #8fa8b8;
  border-radius:9px;
  color:inherit;
  background:white
}

textarea {
  resize:vertical;
  min-height:235px
}

label {
  display:block;
  font-weight:bold;
  margin:12px 0 6px
}

.raw {
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.stats {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:14px 0
}

.stats span {
  background:#fff;
  border-radius:8px;
  padding:8px 12px;
  border:1px solid #dce5ed
}

.eyebrow {
  font-size:13px;
  letter-spacing:.035em;
  font-weight:bold;
  color:#086970
}

.hero .eyebrow {
  color:#bce3e0
}

details {
  margin-top:8px
}

summary {
  cursor:pointer;
  color:#086970
}

.projection {
  min-height:70vh;
  background:#102f44;
  color:white;
  border-radius:20px;
  padding:clamp(24px,5vw,65px)
}

.projection .eyebrow {
  color:#a8d9d6
}

.projection li {
  font-size:clamp(21px,3vw,39px);
  margin:12px 0;
  overflow-wrap:anywhere
}

.projection h1 {
  font-size:clamp(35px,6vw,80px)
}

.projection .lead {
  color:#dbedf3
}

.projection .badge {
  background:#dceff0
}

.report li {
  overflow-wrap:anywhere
}

body.projecting header {
  display:none
}

body.projecting main {
  max-width:none;
  padding:0
}

body.projecting .projection {
  min-height:100vh;
  border-radius:0
}

@media(max-width:740px) {
  header {
    flex-wrap:wrap
  }
  .grid {
    grid-template-columns:1fr
  }
  .hero {
    padding:22px
  }
}

[hidden] {
  display:none!important
}

.table-picker {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:7px
}

.table-picker a {
  display:flex;
  align-items:center;
  min-height:44px;
  padding:8px 14px;
  text-align:start
}

.summary-sections {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-top:15px
}

.summary-sections li {
  margin-bottom:8px
}

.projection li {
  font-size:clamp(17px,2vw,29px)
}

.group-result {
  border-top:1px solid #dbe5eb;
  margin-top:16px;
  padding-top:15px
}

.word-cloud {
  position: relative;
  min-height: 75vh;
  padding: clamp(20px, 4vw, 60px);
  border-radius: 18px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.projecting .word-cloud { min-height: 100dvh; border-radius: 0; }
.word-cloud h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: clamp(23px, 3.1vw, 48px);
  text-shadow: 0 2px 16px #211614;
}
.cloud-flow, .cloud-top { position: absolute; inset: 0; }
.cloud-flow { pointer-events: none; }
.cloud-particle {
  position: absolute;
  top: var(--y);
  left: 0;
  color: #ffe6cd;
  font-size: clamp(12px, 2.2vw, var(--size));
  font-weight: 600;
  opacity: var(--opacity);
  white-space: nowrap;
  text-shadow: 0 1px 9px #211614;
  animation: cloud-drift var(--duration) var(--delay) linear infinite;
}
.cloud-particle-reverse { animation-direction: reverse; }
.cloud-top {
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 16px;
  margin: 0;
  list-style: none;
  pointer-events: none;
}
.cloud-top li {
  max-width: 100%;
  padding: clamp(16px, 5vw, 70px);
  color: #ffe1ad;
  background: radial-gradient(ellipse, #211614e8 5%, #211614a8 46%, transparent 74%);
  text-shadow: 0 4px 28px #140c08;
  animation: cloud-feature 3.4s ease-in-out both;
}
.cloud-top strong {
  display: block;
  font-size: clamp(34px, 9vw, 154px);
  line-height: 1.08;
  overflow-wrap: anywhere;
}
.cloud-top small { display: block; margin-top: 8px; color: #fff4e2; font-size: clamp(14px, 1.6vw, 24px); }
@keyframes cloud-drift {
  from { transform: translate3d(calc(-100% - 18px), 0, 0); }
  to { transform: translate3d(calc(100vw + 18px), var(--rise), 0); }
}
@keyframes cloud-feature {
  0% { opacity: 0; transform: scale(.58); }
  22% { opacity: 1; transform: scale(1.02); }
  72% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.64); }
}
@media (max-width: 640px) {
  .cloud-particle:nth-child(n + 91) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cloud-particle { left: var(--x); }
  .cloud-particle, .cloud-top li { animation: none; }
}

@media(max-width:640px) {
  .summary-sections {
    grid-template-columns:1fr;
    gap:8px
  }
}

.demo-tools{display:flex;align-items:center;gap:8px}.demo-tools button{font-size:13px;padding:4px 10px}
.producer-logo {
  position: relative;
  box-sizing: content-box;
  display: block;
  flex: none;
  width: 42px;
  aspect-ratio: 1669 / 1420;
  overflow: hidden;
  margin: 3px;
}
body[data-view="table"] .producer-logo { width: clamp(34px, 5vw, 62px); }
.producer-logo img {
  /* Frame the visible artwork within the transparent square source. */
  position: absolute;
  width: 297.24%;
  max-width: none;
  height: auto;
  left: -98.8%;
  top: -120.7%;
}
#access-key{width:100%;padding:13px;font:inherit;border:1px solid #8fa8b8;border-radius:9px;color:inherit;background:white}

/* Internal screens share the event artwork and warm palette. */
body:not([data-view="display"]) {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  background: #faf7f3;
  color: #291d1c;
  isolation: isolate;
}
body:not([data-view="display"])::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("/assets/event-background.png") center bottom / cover no-repeat;
  opacity: .10;
}
body:not([data-view="display"]) main { flex: 1; width: 100%; margin-block: 0; }
body:not([data-view="display"]) .site-header { background: transparent; border-bottom-color: #d6c5b660; }
body[data-view="table"] .brand { display: flex; align-items: center; gap: 16px; color: #291d1c; }
body[data-view="table"] .brand span { margin: 0; }
body[data-view="table"] .brand strong { display: block; font-size: 19px; color: #291d1c; }
body[data-view="table"] .brand small { display: block; font-size: 13px; color: #67534c; }
.organization-logo { width: clamp(110px, 13vw, 172px); height: auto; display: block; }
.pixel-logo { width: clamp(86px, 10vw, 120px); height: auto; display: block; }
body[data-view="table"] .card { border-color: #e6d8ca; box-shadow: 0 14px 36px #3d1f1512; padding: clamp(18px, 4vw, 34px); }
body:not([data-view="display"]) :is(.brand, .eyebrow, a:not(.button), summary) { color: #753e2c; }
body:not([data-view="display"]) .badge { background: #f4e9db; color: #653b28; }
body:not([data-view="display"]) .secondary { background: #fcf7f0; border-color: #e7d8c7; color: #693a28; }
body[data-view="table"] textarea, body[data-view="table"] #access-key { border-color: #b8a090; }
body[data-view="table"] .table-picker a:hover { background: #f4e9db; text-decoration: none; }
body:not([data-view="display"]) .muted { color: #68554d; }
nav a[aria-current="page"] { font-weight: bold; text-decoration: underline; text-underline-offset: 6px; }
.home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-grid .card { display: flex; flex-direction: column; align-items: flex-start; }
.home-grid .card .button { margin-top: auto; }
@media (max-width: 740px) { .home-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) {
  body[data-view="table"] .site-header { gap: 10px; padding: 10px 14px; }
  body[data-view="table"] .brand { gap: 8px; }
  body[data-view="table"] .brand strong { font-size: 15px; }
  body[data-view="table"] .brand small { font-size: 11px; }
  body:not([data-view="display"])::before { background-position: 40% bottom; }
}
@media (max-height: 800px) and (min-width: 741px) {
  body[data-view="table"] .site-header { padding-block: 10px; }
  body[data-view="table"] main { padding-block: 20px 35px; }
  body[data-view="table"] .narrow { margin-top: 10px; padding: 24px; }
  body[data-view="table"] .narrow h1 { font-size: 36px; }
}

/* Shared visual language: light surfaces, quiet borders and clear controls. */
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; background: #f5f5f7; color: #1d1d1f; }
.site-header { padding-block: 12px; min-height: 68px; background: #ffffffeb; border-color: #d9d9de; }
.brand { letter-spacing: -.02em; }
nav { gap: 6px; }
nav a { padding: 7px 12px; border-radius: 9px; color: #414249; font-size: 14px; }
nav a[aria-current="page"] { background: #eeedf0; color: #202126; text-decoration: none; }
main { padding-top: clamp(18px, 3.8vw, 42px); }
h1, h2, h3 { letter-spacing: -.025em; }
.hero { padding: clamp(24px, 4vw, 44px); border-radius: 24px; background: linear-gradient(135deg, #151e28, #2b3c50); box-shadow: 0 12px 28px #141f2c19; }
.card { border-radius: 20px; border-color: #dedee4; padding: clamp(18px, 2.5vw, 28px); box-shadow: 0 9px 26px #151e280b; }
button, .button { border-radius: 11px; }
button:not(.secondary), .button:not(.secondary) { background: #1863a5; }
button:not(.secondary):not(:disabled):hover, .button:not(.secondary):hover { background: #144f82; }
.secondary { background: #f1f2f5; border-color: #dfe2e8; color: #28394d; }
.secondary:not(:disabled):hover { background: #e8ebf0; text-decoration: none; }
body:not([data-view="display"]) :is(button, .button):not(.secondary) { background: #6e3729; }
body:not([data-view="display"]) :is(button, .button):not(.secondary):not(:disabled):hover { background: #55291e; }
body:not([data-view="display"]) .secondary:not(:disabled):hover { background: #f4e9db; }
body:not([data-view="display"]) .card { border-color: #e6d8ca; box-shadow: 0 12px 30px #3d1f1512; }
body:not([data-view="display"]) .hero { background: linear-gradient(135deg, #2f211e, #57372d); }
body:not([data-view="display"]) .hero .eyebrow { color: #f2d0ac; }
body:not([data-view="display"]) .hero .lead { color: #f5e8de; }
body[data-view="table"] textarea { border-radius: 13px; background: #fdfbf8; }
body[data-view="table"] .brand { gap: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stats span { display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 13px; color: #555963; }
.stats strong { font-size: clamp(17px, 2vw, 24px); line-height: 1.3; color: #24232a; }
.admin-group .topline .eyebrow { color: #75513a; background: #f7efe5; border-radius: 30px; padding: 4px 10px; }
.admin-group h2 { margin-top: 12px; }
.report { margin-top: 16px; padding-top: 6px; border-top: 1px solid #e8e8ec; }
.report > button { margin-top: 12px; }

.summary-sections { gap: clamp(12px, 2vw, 22px); align-items: stretch; }
.summary-panel { min-width: 0; border-radius: 15px; padding: clamp(12px, 2vw, 24px); background: #faf2e8; border: 1px solid #ead8c6; }
.summary-panel.solutions-panel { background: #eef4f2; border-color: #dbe8e3; }
.summary-panel h3 { margin: 0 0 12px; color: #282936; font-size: 1.12em; }
.summary-panel ul { margin: 0; padding-inline-start: 1.25em; }
.summary-panel li { overflow-wrap: anywhere; }
.summary-panel li:last-child { margin-bottom: 0; }
.group-result h2 { font-size: clamp(23px, 3.4vw, 38px); margin: 8px 0 14px; }

body.projecting { background: #211614; }
.projection, .word-cloud {
  color: #fff9f3;
  background:
    linear-gradient(160deg, #211614df, #211614c4),
    url("/assets/event-background.png") center bottom / cover no-repeat,
    #211614;
}
.projection { padding: clamp(26px, 4.4vw, 80px); }
.projection-idle { display: grid; place-content: center; text-align: center; }
.projection-heading { text-align: center; }
.projection-group-label { margin: 0; color: #f1d7b6; font-size: clamp(18px, 2vw, 34px); font-weight: 700; }
.projection h1 { max-width: 25ch; font-size: clamp(36px, 4.6vw, 82px); margin-block: 16px 24px; }
.projection-heading h1 { max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.projection .summary-panel { background: #faf2e8; border: 0; border-radius: 22px; color: #291d1c; padding: clamp(18px, 2.7vw, 42px); }
.projection .summary-panel.solutions-panel { background: #eef4f2; }
.projection .summary-panel h3 { font-size: clamp(19px, 1.9vw, 34px); }
.projection li { font-size: clamp(19px, 1.85vw, 32px); margin-block: 12px; }
.projecting .projection-report { min-height: 100dvh; padding: clamp(16px, 4vh, 50px) clamp(14px, 4vw, 68px); }
.projecting .projection-report h1 { font-size: clamp(26px, min(3.8vw, 7vh), 72px); margin-block: 0.25em 0.5em; }
.projecting .projection-report .summary-panel { padding: clamp(12px, 2.6vh, 34px); min-width: 0; }
.projecting .projection-report li { font-size: clamp(18px, min(2vw, 3.5vh), 32px); line-height: 1.35; margin-block: .4em; overflow-wrap: anywhere; }
.projection-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-block-start: 14px; }
.connection-warning { margin: 6px 14px; padding: 8px 12px; border-radius: 10px; background: #fff4df; color: #533322; }
.submission-warning {
  max-width: 410px;
  padding: 8px 12px;
  border: 1px solid #e4bd85;
  border-radius: 10px;
  background: #fff4df;
  color: #533322;
  text-align: center;
  font-size: clamp(12px, 1.35vw, 16px);
}
.submission-timer-control { display: inline-flex; align-items: center; gap: 5px; }
[data-countdown] { font-weight: 700; font-variant-numeric: tabular-nums; }
@media(max-width:740px){ .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-header { gap: 10px; } }

body[data-view="table"].choosing-table::before { opacity: .75; }
.choosing-table .site-header {
  min-height: 0;
  padding: 6px clamp(14px, 4vw, 64px);
}
.choosing-table .organization-logo { width: clamp(108px, 12vw, 156px); }
body.choosing-table main { padding-block: clamp(8px, 2dvh, 18px); }
.table-entry {
  max-width: 1100px;
  margin-inline: auto;
}
body[data-view="table"] .entry-selection {
  width: min(100%, 580px);
  padding: clamp(14px, 2.2dvh, 24px);
  background: #fffbf6f5;
  border-color: #ead3b8;
  box-shadow: 0 18px 55px #2d120e45;
}
.entry-selection .table-picker a {
  background: #fffaf4;
  border-color: #dec3a9;
  color: #603322;
}
.table-picker strong { flex: 0 0 auto; }
.table-topic { min-width: 0; padding-inline-start: .35em; font-weight: 400; overflow-wrap: anywhere; }
.entry-selection h1 { font-size: clamp(28px, 3vw, 38px); }
.entry-selection h1 { margin-block: 5px 8px; }
.entry-selection p { margin-block: 0 12px; }
.organization-logo {
  clip-path: inset(3.65% 1.65% 4.85% 1.65% round 21% / 50%);
}
body[data-view="table"] main { max-width: 1540px; }
.table-workspace { max-width: 1360px; margin-inline: auto; }
.table-workspace h1 { margin-block: 18px 24px; }
#answer textarea {
  display: block;
  flex: 1 1 0;
  min-height: 72px;
  resize: none;
  padding: 16px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
}
body[data-view="table"].editing-table .site-header { padding-block: 5px; }
.editing-table .organization-logo { width: clamp(94px, 11vw, 135px); }
body[data-view="table"].editing-table main {
  display: flex;
  flex: 1;
  width: 100%;
  padding-block: clamp(5px, 1dvh, 12px);
}
body[data-view="table"].editing-table .table-workspace {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: clamp(12px, 2dvh, 24px);
}
.editing-table .table-workspace h1 {
  font-size: clamp(22px, 3.2vw, 44px);
  margin-block: 8px 12px;
}
#answer, .editor-field { display: flex; flex: 1; min-width: 0; flex-direction: column; }
#answer { gap: clamp(6px, 1.2dvh, 13px); }
.editor-field label { margin-block: 0 4px; }
.editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.editor-actions p { margin: 0; font-size: 13px; }
@media (max-width: 560px) {
  body[data-view="table"].editing-table main { padding-inline: 10px; }
  #answer textarea { padding: 10px; }
  .editor-actions p { font-size: 12px; }
}
@media (min-width: 741px) and (max-height: 900px) {
  .table-picker { gap: 5px; }
  .table-picker a { min-height: 36px; padding-block: 5px; }
}
@media (max-width: 560px), (max-height: 720px) {
  body[data-view="table"] .entry-selection { width: min(100%, 920px); }
  .table-picker {
    grid-auto-flow: column;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(6, auto);
    gap: 6px;
  }
}
@media (max-width: 560px) {
  body.choosing-table main { padding-inline: 10px; }
  .table-picker a { display: block; min-height: 44px; padding: 6px 8px; font-size: 14px; }
  .table-picker strong, .table-topic { display: block; }
  .table-topic { padding-inline-start: 0; font-size: 12px; line-height: 1.25; }
}
@media (max-width: 560px) and (max-height: 620px) {
  body[data-view="table"].choosing-table .site-header { padding-block: 4px; }
  .choosing-table .organization-logo { width: 84px; }
  .entry-selection .eyebrow { display: none; }
  body[data-view="table"] .entry-selection { padding: 12px; }
  .entry-selection h1 { font-size: 24px; margin-block: 0 5px; }
  .entry-selection p { margin-bottom: 8px; font-size: 14px; }
  .table-picker a { padding: 4px 6px; line-height: 1.2; }
  .table-picker { gap: 4px; }
}
@media (min-width: 561px) and (max-height: 480px) {
  .table-picker { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); }
}
.site-header, .actions > div { min-width: 0; }
.site-header nav, .actions > div { flex-wrap: wrap; }
.actions > div { display: flex; gap: 6px; }
.card, .stats span, .home-grid .card { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 740px) {
  .site-header nav { justify-content: center; }
  .projection h1 { font-size: clamp(28px, 7vw, 50px); }
}
@media (max-width: 560px) {
  .site-header { white-space: normal; }
  .site-header nav { order: 3; flex-basis: 100%; }
  .site-header nav a { padding: 6px 8px; }
  .site-header .brand span { display: none; }
  .actions > div { flex-basis: 100%; }
  .projection, .word-cloud { padding-inline: 16px; }
}
.submit-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  margin: auto;
  padding: clamp(20px, 5vw, 30px);
  border: 1px solid #e6d8ca;
  border-radius: 20px;
  background: #fffcf8;
  color: #291d1c;
  box-shadow: 0 24px 72px #291d1c45;
}
.submit-dialog::backdrop { background: #261c1966; }
.submit-dialog h2 { margin: 0 0 10px; }
.submit-dialog p { margin: 0 0 22px; color: #68554d; }
.submit-dialog form { display: flex; flex-wrap: wrap; gap: 9px; }
.settings-page { max-width: 1100px; margin-inline: auto; display: grid; gap: 14px; }
.settings-page h1, .settings-page h2 { margin: 0; }
.settings-page .card { padding: 18px clamp(14px, 3vw, 24px); }
.settings-page p { margin-block: 6px 14px; }
.settings-prompts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.settings-prompts label { display: block; margin-block-end: 6px; font-weight: 700; }
.settings-prompts textarea { display: block; width: 100%; height: 245px; resize: vertical; }
.settings-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.settings-demo { border-color: #dec3a9; }
@media (max-width: 740px) { .settings-prompts { grid-template-columns: 1fr; } }
#notice {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
  margin: 6px 14px;
  width: max-content;
  max-width: min(390px, calc(100vw - 28px));
  padding: 7px 11px;
  border: 1px solid #e6d8ca;
  border-radius: 14px;
  background: #fffcf8;
  color: #291d1c;
  box-shadow: 0 16px 44px #291d1c35;
}
#notice-message { overflow-wrap: anywhere; min-width: 0; }
.notice-close { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; padding: 0; }
.notice-close svg { display: block; }
#loading-bar {
  flex: 0 0 4px;
  height: 4px;
  overflow: hidden;
  background: #ead7c5;
  pointer-events: none;
}
#loading-bar::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, #bd865e, #6e3729);
  animation: loading-sweep 1.1s ease-in-out infinite;
}
@keyframes loading-sweep {
  from { transform: translateX(110vw) scaleX(.45); }
  to { transform: translateX(-45vw) scaleX(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  #loading-bar::after { animation: none; }
}
body[data-view="admin"] main {
  max-width: 1680px;
  padding-block: 12px 20px;
}
.admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; align-items: start; }
.admin-group { padding: clamp(10px, 1.2vw, 17px); border-radius: 15px; }
.admin-group .topline { gap: 5px; }
.admin-group h2 { font-size: clamp(16px, 1.4vw, 22px); margin-block: 8px 5px; }
.admin-group h3 { font-size: 15px; }
.admin-group .row { padding: 6px 0; gap: 4px; }
.admin-group .row:last-of-type { margin-bottom: 8px; }
.admin-group .chip { font-size: 12px; padding: 2px 7px; }
.admin-group details { margin-top: 3px; font-size: 13px; }
.admin-group .table-source { width: 100%; }
.admin-group button, .admin-actions button, .admin-actions .button { padding: 6px 9px; font-size: 13px; }
.admin-group .report { margin-top: 8px; padding-top: 3px; }
.admin-group .report > button { margin-top: 7px; }
.admin-note { font-size: 12px; margin: 8px 0 0; }
body[data-view="admin"] .stats { margin: 0 0 9px; gap: 8px; }
body[data-view="admin"] .stats span { padding: 6px 10px; font-size: 13px; }
@media (min-width: 980px) {
  .admin-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 980px) and (min-height: 840px) {
  .admin-grid { align-items: stretch; }
  .admin-group { display: flex; flex-direction: column; min-height: min(58dvh, 620px); }
  .admin-group h2 { min-height: 2.4em; }
  .admin-group .row { flex: 1; align-content: center; }
  .admin-group > button, .admin-group .report > button { align-self: flex-start; }
}
@media (max-width: 420px) {
  .admin-grid { grid-template-columns: 1fr; }
}
.site-copyright {
  padding: 3px 10px 5px;
  color: #51443d;
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
}
body[data-view="display"] .site-copyright { display: none; }
.choosing-table .site-copyright { color: #fff; text-shadow: 0 1px 4px #21100a; }
@media (min-width: 741px) and (max-height: 800px) {
  body.choosing-table main { padding-block: 5px; }
  .table-picker { gap: 4px; }
}
@media (max-width: 560px) and (max-height: 620px) {
  body.choosing-table main { padding-block: 2px; }
}
body[data-view="admin"] main.admin-login { display: grid; place-items: center; }
.admin-login .narrow { width: min(100%, 420px); margin: 0; padding: clamp(22px, 4vw, 32px); }
.admin-login h1 { text-align: center; font-size: clamp(26px, 3vw, 35px); margin: 0 0 20px; }
.password-field { position: relative; }
.admin-login #access-key { padding-inline-end: 52px; border-color: #b8a090; }
.password-toggle { position: absolute; inset-inline-end: 5px; inset-block-start: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 38px; padding: 0; }
.password-toggle svg { width: 21px; height: 21px; }
.password-toggle .eye-slash { display: none; }
.password-toggle.is-visible .eye-slash { display: inline; }
.access-submit { margin-top: 14px; }
.admin-login .access-submit { width: 100%; }
