:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #202820;
  background: #f2eedf;
  color-scheme: light;
  --ink: #202820;
  --paper: #f2eedf;
  --muted: #687061;
  --line: #bdc0b1;
  --red: #e64c31;
  --blue: #2339ac;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  background: none;
  color: inherit;
  border: 1px solid var(--line);
  padding: 10px 14px;
  min-height: 38px;
  font-size: 12px;
}
button:hover {
  border-color: var(--ink);
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--paper);
  font-weight: 700;
  padding: 15px 22px;
}
.app-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--blue);
  color: var(--paper);
  padding: 18px 35px;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand strong {
  font-size: 25px;
  letter-spacing: -0.07em;
}
.brand span {
  font: 9px monospace;
  border-left: 1px solid #ffffff70;
  margin-left: 18px;
  padding-left: 24px;
}
.storage {
  display: flex;
  gap: 24px;
  font: 9px monospace;
}
h1,
h2,
p {
  margin: 0;
}
.workspace {
  max-width: 1600px;
  margin: auto;
}
main {
  padding: 40px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--ink);
}
.eyebrow {
  font: 10px/1.5 monospace;
  letter-spacing: 0.08em;
}
.heading h1 {
  font-size: clamp(50px, 7vw, 100px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.08em;
  margin-top: 12px;
}
.title-period {
  color: var(--red);
}
.session-tabs {
  display: flex;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 30px;
}
.session-tabs button {
  flex: 1;
  text-align: left;
  border: 0;
  border-right: 1px solid var(--line);
  padding: 20px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}
.session-tabs button:last-child {
  border-right: 0;
}
.session-tabs button span {
  display: block;
  font: 9px monospace;
  font-weight: 400;
  margin-bottom: 8px;
}
.session-tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.session-tabs button[aria-pressed="true"]::after {
  content: "↘";
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 24px;
  color: #e3e7a8;
}
.ledger-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 35px;
  align-items: start;
}
.guest-ledger {
  min-width: 0;
}
.list-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.search {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 130px;
  border-bottom: 1px solid var(--ink);
  gap: 12px;
}
.search span {
  font-size: 24px;
}
.search input {
  padding: 14px 0;
  border: 0;
  width: 100%;
  background: none;
  font-size: 13px;
  color: var(--ink);
}
.status-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 10px monospace;
}
.status-filter select {
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 5px;
  font-size: 12px;
}
.list-toolbar > p {
  font: 10px monospace;
  color: var(--muted);
  white-space: nowrap;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
thead {
  background: #e2e4d3;
}
th {
  font: 9px monospace;
  font-weight: 400;
  letter-spacing: 0.08em;
  padding: 14px 12px;
}
td {
  padding: 22px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-size: 13px;
}
td:first-child {
  width: 40%;
}
td strong {
  display: block;
  font-size: 16px;
  letter-spacing: -0.03em;
}
td p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.4;
}
td:nth-child(2) {
  font: 23px monospace;
  color: var(--blue);
}
td:last-child {
  text-align: right;
  white-space: nowrap;
}
td button {
  font-size: 10px;
  padding: 8px;
  min-height: 34px;
  border: 0;
  border-bottom: 1px solid var(--line);
  margin-left: 5px;
}
td button:first-child {
  color: var(--blue);
  font-weight: 700;
}
.status {
  font: 9px monospace;
  text-transform: uppercase;
  white-space: nowrap;
}
.status::before {
  content: "○";
  margin-right: 6px;
}
.status.arrived {
  color: #315a3f;
}
.status.arrived::before {
  content: "●";
}
.status.canceled {
  color: #806f61;
  text-decoration: line-through;
}
.session-summary {
  padding: 25px;
  background: #e3e7ac;
  border: 1px solid var(--ink);
  box-shadow: 5px 5px 0 #202820;
  position: sticky;
  top: 25px;
}
.session-summary::before {
  content: "SESSION DOCKET / 001";
  display: block;
  font: 9px monospace;
  border-bottom: 1px dashed var(--ink);
  padding-bottom: 17px;
  margin-bottom: 22px;
}
.session-summary .eyebrow {
  font-size: 8px;
}
.session-summary h2 {
  font-size: 33px;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.06em;
  margin-top: 14px;
  max-width: 190px;
}
.docket-disc {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    #202820 0px,
    #202820 4px,
    #44523a 5px,
    #202820 6px
  );
  margin: 22px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
}
.docket-disc span {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background: var(--red);
  font-weight: 900;
  font-size: 22px;
}
#session-time {
  font: 10px/1.6 monospace;
  margin-bottom: 20px;
}
.capacity {
  border-top: 1px dashed;
  padding-top: 20px;
}
.capacity p {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.capacity strong,
.arrived-summary strong {
  font-size: 50px;
  font-weight: 900;
  letter-spacing: -0.07em;
}
.capacity p span {
  font: 10px monospace;
}
.meter {
  height: 6px;
  background: #bbc182;
  margin: 9px 0;
}
.meter > div {
  height: 100%;
  background: var(--blue);
}
#capacity-caption {
  font: 10px monospace;
}
.arrived-summary {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 20px;
}
.arrived-summary span {
  font: 10px monospace;
  max-width: 65px;
  line-height: 1.5;
}
.arrived-summary strong {
  color: var(--blue);
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  margin-top: 30px;
  font: 9px monospace;
}
footer strong {
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}
footer span {
  color: var(--muted);
  line-height: 1.5;
}
.footer-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.footer-actions button {
  font-size: 10px;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.message {
  font-size: 12px;
  color: var(--blue);
  line-height: 1.5;
}
.message:not(:empty) {
  margin-top: 20px;
}
#empty {
  padding: 40px 15px;
  color: var(--muted);
  font-size: 13px;
}
dialog {
  width: min(520px, calc(100% - 32px));
  max-height: 90vh;
  overflow: auto;
  border: 2px solid var(--ink);
  padding: 32px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 8px 8px 0 #20282070;
}
dialog::backdrop {
  background: #20282099;
  backdrop-filter: blur(3px);
}
dialog h2 {
  font-size: 35px;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  line-height: 1;
  margin: 14px 0 25px;
  max-width: 90%;
}
.close {
  position: absolute;
  right: 12px;
  top: 8px;
  border: 0;
  font-size: 28px;
  padding: 4px;
}
form label {
  font: 11px Arial;
  display: block;
  margin: 18px 0;
}
form input,
form select,
form textarea {
  display: block;
  width: 100%;
  padding: 13px;
  background: #fffaf0;
  color: var(--ink);
  border: 1px solid var(--line);
  margin-top: 8px;
  border-radius: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row label {
  margin: 0;
}
form > .primary {
  width: 100%;
  margin-top: 15px;
}
.confirm-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
}
#confirm-copy {
  font-size: 14px;
  line-height: 1.6;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.skip {
  position: fixed;
  left: 10px;
  top: -100px;
  z-index: 10;
  background: var(--paper);
  color: var(--ink);
  padding: 12px;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  main {
    padding: 30px;
  }
  .ledger-layout {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 25px;
  }
  .session-summary {
    padding: 20px;
  }
  td {
    padding: 20px 8px;
  }
  td strong {
    font-size: 14px;
  }
  .list-toolbar {
    flex-wrap: wrap;
  }
  .search {
    flex-basis: 100%;
  }
  .list-toolbar > p {
    margin-left: auto;
  }
  .heading h1 {
    font-size: 70px;
  }
}
@media (max-width: 800px) {
  .app-bar {
    padding: 18px;
  }
  .brand span,
  .storage span:last-child {
    display: none;
  }
  main {
    padding: 20px;
  }
  .heading h1 {
    font-size: 52px;
  }
  .ledger-layout {
    display: flex;
    flex-direction: column-reverse;
  }
  .session-summary {
    position: static;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .session-summary::before {
    grid-column: 1/-1;
    margin: 0;
  }
  .docket-title {
    grid-row: 2/4;
  }
  .docket-disc {
    display: none;
  }
  .capacity {
    border: 0;
    padding: 0;
  }
  .arrived-summary {
    padding: 0;
  }
  .session-tabs button {
    font-size: 12px;
    padding: 16px 12px;
  }
  .session-tabs button[aria-pressed="true"]::after {
    display: none;
  }
  .guest-ledger {
    width: 100%;
  }
  table {
    min-width: 620px;
  }
  footer {
    flex-wrap: wrap;
  }
  .footer-actions {
    flex-wrap: wrap;
  }
  .storage {
    font-size: 8px;
  }
  .heading .primary {
    padding: 14px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
