:root {
  color-scheme: light;
  --paper: #f6f7f0;
  --ink: #102e29;
  --muted: #526860;
  --rule: #d8e1d7;
  --deep: #134b40;
  --light: #f7faed;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-height: 100%; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Approval Sans", "Malgun Gothic", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
button, select, input { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button, select {
  min-height: 44px;
  padding: 9px 14px;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 11px;
  background: #fff;
}
button { cursor: pointer; font-weight: 650; }
button:disabled { cursor: default; opacity: .55; }
button:not(:disabled):hover, select:hover { border-color: #7f9789; }
:focus-visible { outline: 3px solid #27749a; outline-offset: 3px; }
h1, h2, p { margin: 0; }
.wall-sr, .wall-skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wall-skip:focus { position: fixed; inset: 12px auto auto 12px; z-index: 5; background: #fff; padding: 10px; }
.wall-wrap { width: min(100%, 2080px); margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 78px) 12px; }
.wall-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: clamp(58px, 9vh, 92px); border-bottom: 1px solid var(--rule);
}
.wall-brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: clamp(17px, 1.4vw, 24px); font-weight: 770; letter-spacing: -.055em; }
.wall-brand img { width: 1.6em; height: 1.6em; }
.wall-indicators { display: flex; align-items: center; gap: clamp(12px, 1.5vw, 25px); }
#wall-clock { font-size: clamp(16px, 1.65vw, 30px); font-weight: 650; font-variant-numeric: tabular-nums; }
#wall-connection { color: var(--muted); font-size: clamp(12px, .95vw, 17px); display: inline-flex; align-items: center; gap: 7px; }
#wall-connection::before { content: ""; width: 8px; height: 8px; background: #8c9a93; border-radius: 50%; }
#wall-connection[data-state="live"]::before, #wall-connection[data-state="demo"]::before { background: #347858; }
#wall-connection[data-state="offline"]::before { background: #ad661e; }
.wall-toolbar, .wall-tools, .wall-demo, .wall-panel-heading, .wall-panel-foot, .wall-footer, .wall-footer nav, .wall-dialog-head, .wall-volume-label { display: flex; align-items: center; }
.wall-toolbar, .wall-demo, .wall-panel-heading, .wall-footer, .wall-dialog-head, .wall-volume-label { justify-content: space-between; }
.wall-toolbar { gap: 12px; flex-wrap: wrap; padding-block: clamp(15px, 2.4vh, 32px); }
.wall-toolbar h1 { letter-spacing: -.05em; font-weight: 730; font-size: clamp(23px, 2.05vw, 39px); }
.wall-tools { gap: 7px; flex-wrap: wrap; font-size: clamp(13px, .88vw, 16px); }
.wall-tools select { width: 100%; max-width: 260px; }
.wall-tools button[aria-pressed="true"] { color: #1f5a43; border-color: #b8cfc0; background: #e9f4e8; }
.wall-demo, .wall-alert { padding: 9px 14px; margin-bottom: 12px; border-radius: 13px; font-size: 14px; }
.wall-demo { gap: 12px; background: #e7f1e5; color: #294d39; }
.wall-demo strong { margin-right: 10px; }
.wall-demo button { flex: 0 0 auto; min-height: 38px; }
.wall-alert { border: 1px solid #e7caa2; background: #fff2db; color: #6c410e; }
.wall-panels { display: grid; align-items: stretch; grid-template-columns: minmax(0, 1.26fr) minmax(0, 1fr); gap: clamp(12px, 1.5vw, 27px); }
.wall-panel { min-width: 0; padding: clamp(20px, 2.4vw, 49px); border-radius: clamp(19px, 1.8vw, 35px); }
.wall-panel-heading { gap: 10px; margin-bottom: clamp(16px, 2.5vh, 28px); }
.wall-panel h2 { line-height: 1.15; font-size: clamp(26px, 2.6vw, 52px); letter-spacing: -.045em; font-weight: 715; }
.wall-eyebrow { display: block; font-size: clamp(12px, .93vw, 17px); line-height: 1.35; font-weight: 620; color: var(--muted); margin-bottom: 5px; }
.wall-current-panel { display: flex; flex-direction: column; min-height: clamp(305px, 63vh, 770px); color: var(--light); background: var(--deep); }
.wall-current-panel .wall-eyebrow { color: #bfd8c6; }
.wall-buddy { width: clamp(46px, 4.5vw, 84px); height: auto; }
#wall-current { display: grid; align-content: center; flex: 1; min-width: 0; }
.call-card { min-width: 0; padding: 12px 0; }
.call-card + .call-card { border-top: 1px solid #538375; }
.call-card > * { display: block; }
.call-board { font-size: clamp(19px, 1.65vw, 34px); font-weight: 620; color: #d6e9d6; }
.call-number { margin: .05em 0; color: #fffef4; font-variant-numeric: tabular-nums; font-size: clamp(34px, 5.8vw, 115px); font-weight: 730; letter-spacing: -.055em; line-height: 1.06; }
.call-card:only-child .call-number { font-size: clamp(45px, 7.7vw, 151px); }
.call-state { font-size: clamp(15px, 1.25vw, 25px); font-weight: 560; }
.wall-panel-foot { gap: 8px; padding-top: 16px; margin-top: 16px; border-top: 1px solid #538375; color: #d9e9dd; font-size: clamp(12px, 1.2vw, 23px); }
.wall-panel-foot svg { flex: none; }
.wall-next-panel { border: 1px solid var(--rule); background: #fff; }
.wall-count { padding: 4px 10px; border-radius: 30px; background: #edf3e9; color: #385541; font-size: clamp(12px, 1vw, 20px); font-weight: 650; }
.wall-count:empty { display: none; }
#wall-next { min-width: 0; }
.wait-row { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: center; gap: 2px 12px; padding: clamp(12px, 1.4vh, 22px) 0; border-top: 1px solid var(--rule); }
.wait-number { color: var(--ink); font-size: clamp(21px, 2.7vw, 55px); letter-spacing: -.045em; font-weight: 710; font-variant-numeric: tabular-nums; line-height: 1.15; }
.wait-board { justify-self: end; text-align: right; color: #43574e; font-size: clamp(14px, 1.2vw, 22px); font-weight: 590; }
.wait-time { grid-column: 1 / -1; color: var(--muted); font-size: clamp(12px, .95vw, 18px); }
.wall-empty { color: var(--muted); padding: clamp(14px, 2vh, 24px) 0; font-size: clamp(17px, 1.55vw, 30px); }
.wall-current-panel .wall-empty { color: #dcece1; }
.wall-footer { flex-wrap: wrap; gap: 10px; margin-top: 14px; color: var(--muted); font-size: clamp(12px, .9vw, 16px); }
.wall-footer small { font-size: inherit; }
.wall-footer nav { gap: 16px; }
.wall-footer a { color: var(--muted); text-underline-offset: 3px; padding-block: 6px; }
#wall-dialog { width: min(445px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow-y: auto; margin: auto; padding: clamp(18px, 3vw, 29px); border: 1px solid #d5ded3; border-radius: 20px; background: #fffefb; color: var(--ink); box-shadow: 0 15px 55px #193d312b; }
#wall-dialog::backdrop { background: #0d27249c; }
.wall-dialog-head { gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.wall-dialog-head h2 { font-size: 23px; letter-spacing: -.045em; }
.wall-dialog-head .wall-eyebrow { font-size: 12px; }
.wall-dialog-head button { font-size: 13px; }
.wall-fields { display: grid; gap: 7px; }
.wall-fields > label, .wall-volume-label { font-size: 14px; font-weight: 640; }
.wall-fields > label:not(:first-child), .wall-volume-label { margin-top: 10px; }
.wall-sound-picker { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.wall-sound-picker button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 14px; }
.wall-fields select { min-width: 0; width: 100%; }
#wall-volume { width: 100%; min-height: 44px; margin: 0; accent-color: #235c48; }
#wall-volume-value { font-variant-numeric: tabular-nums; }
.wall-muted { display: flex; align-items: center; gap: 8px; min-height: 42px; }
.wall-muted input { width: 19px; height: 19px; accent-color: #235c48; }
#wall-settings-status { min-height: 1.5em; color: var(--muted); font-size: 13px; }
@media (max-width: 800px) {
  .wall-tools { gap: 5px; }
  .wall-tools button, .wall-tools select { padding-inline: 10px; }
  .wall-panel { padding: 17px; }
}
@media (max-width: 660px) {
  .wall-wrap { padding-inline: 12px; }
  .wall-toolbar { align-items: flex-start; gap: 10px; }
  .wall-tools { width: 100%; }
  .wall-select-label { flex: 1 1 110px; min-width: 0; }
  .wall-demo { align-items: flex-start; }
  .wall-demo span { display: block; font-size: 12px; }
  .wall-panels { grid-template-columns: minmax(0, 1fr); }
  .wall-current-panel { min-height: 262px; }
  .call-card:only-child .call-number { font-size: clamp(43px, 12vw, 76px); }
  .wall-footer { margin-top: 9px; }
}
@media (max-width: 370px) {
  .wall-tools { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .wall-header { gap: 7px; }
  .wall-indicators { gap: 7px; }
}
@media (min-width: 661px) and (max-height: 600px) {
  .wall-header { min-height: 48px; }
  .wall-toolbar { padding-block: 10px; }
  .wall-panel { padding: 16px; }
  .wall-current-panel { min-height: 245px; }
}

