:root {
  color-scheme:dark;
  --bg:#111412;
  --surface:#1a1e1b;
  --surface-hover:#202620;
  --line:#30362f;
  --muted:#929b90;
  --text:#f2f3eb;
  --green:#b7f56d;
  --green-deep:#203024;
  --red:#f19b87;
  --red-deep:#352722;
  --radius:18px;
  --font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font);
  font-size:14px;
  -webkit-font-smoothing:antialiased;
}

button,input,select {
  font:inherit;
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent;
}

button,a {
  touch-action:manipulation;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:not-allowed;
  opacity:.45;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:2px solid var(--green);
  outline-offset:4px;
}

button {
  color:inherit;
}

button,input,select {
  border-radius:8px;
}

button {
  background:none;
  border:none;
}

button[hidden],[hidden] {
  display:none!important;
}

.topbar {
  height:94px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5.5vw;
}

.brand {
  display:flex;
  align-items:center;
  gap:13px;
  font-size:27px;
  font-weight:740;
  letter-spacing:-1px;
}

.brand-light {
  font-size:21px;
  font-weight:400;
  color:#bcc3b6;
  letter-spacing:-.6px;
}

.header-right {
  display:flex;
  align-items:center;
  gap:22px;
  font-size:12px;
}

.location {
  color:#c0c8ba;
  display:flex;
  align-items:center;
  gap:9px;
}

.tiny-dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 9px #b7f56d20;
}

.header-divider {
  height:17px;
  width:1px;
  background:var(--line);
}

#header-clock {
  font-variant-numeric:tabular-nums;
}

.avatar {
  height:32px;
  width:32px;
  display:grid;
  place-items:center;
  border:1px solid #535c4b;
  border-radius:50%;
  background:#272f23;
  color:#d5e8c1;
  font-size:12px;
}

.demo-pill {
  font-size:9px;
  letter-spacing:1px;
  padding:5px 7px;
  border:1px solid #4a5540;
  border-radius:4px;
  color:#bfcab4;
}

.login-link {
  padding:10px;
  border:1px solid var(--line);
  border-radius:7px;
}

main {
  max-width:1512px;
  margin:auto;
  padding:0 5.5vw;
}

.intro {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:340px;
  padding:48px 0 40px;
}

.eyebrow {
  font-size:10px;
  letter-spacing:1.8px;
  font-weight:600;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:10px;
}

.accent-line {
  width:22px;
  height:2px;
  background:var(--green);
}

h1 {
  font-size:clamp(42px,4.6vw,68px);
  font-weight:450;
  letter-spacing:-3px;
  line-height:1.08;
  margin:22px 0 18px;
}

.serif {
  font-family:Georgia,serif;
  font-style:italic;
  color:var(--green);
  font-weight:400;
}

.intro p {
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
}

.intro-art {
  height:240px;
  width:340px;
  position:relative;
  margin-right:3vw;
  overflow:hidden;
}

.art-grid {
  position:absolute;
  inset:20px;
  background-image:linear-gradient(#697b4513 1px,transparent 1px),linear-gradient(90deg,#697b4513 1px,transparent 1px);
  background-size:30px 30px;
  transform:rotate(-18deg) skew(10deg);
  mask-image:radial-gradient(ellipse,black,transparent 70%);
}

.cube {
  position:absolute;
  width:116px;
  height:116px;
  border:1px solid #5b6d43;
  transform:rotate(-25deg) skew(8deg,8deg);
  border-radius:3px;
}

.cube-back {
  top:27px;
  left:113px;
  background:linear-gradient(135deg,#53613b40,#232c1c20);
}

.cube-front {
  top:65px;
  left:70px;
  border-color:#a7cf75;
  background:linear-gradient(130deg,#607c3b50,#24331c60);
  box-shadow:18px -18px 0 -1px #111412,18px -18px 0 0 #566344;
}

.cube-front span {
  display:block;
  font-size:70px;
  color:#b7f56d38;
  transform:skew(-8deg,-8deg) rotate(25deg);
  text-align:center;
  font-weight:700;
  padding-top:10px;
}

.art-label {
  position:absolute;
  bottom:8px;
  right:20px;
  font-size:8px;
  letter-spacing:2px;
  color:#7a896c;
}

.art-cross {
  position:absolute;
  right:28px;
  top:35px;
  color:var(--green);
  font-size:20px;
  font-weight:200;
}

.section-toolbar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:6px 0 24px;
}

.section-title {
  display:flex;
  align-items:center;
  gap:12px;
}

h2 {
  font-size:20px;
  letter-spacing:-.5px;
  font-weight:500;
  margin:0;
}

.count-pill {
  font-size:10px;
  padding:3px 7px;
  border:1px solid var(--line);
  border-radius:5px;
  color:var(--muted);
}

.toolbar-right {
  display:flex;
  align-items:center;
  gap:20px;
  font-size:11px;
  color:var(--muted);
}

.live-label {
  display:flex;
  align-items:center;
  gap:7px;
  padding-left:20px;
  border-left:1px solid var(--line);
}

.room-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}

.room-card {
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:var(--radius);
  padding:25px 25px 20px;
  position:relative;
  overflow:hidden;
  transition:border-color .2s,transform .2s;
}

.room-card:hover {
  border-color:#667453;
  transform:translateY(-3px);
}

.card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:27px;
}

.status-pill {
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:var(--green-deep);
  color:var(--green);
  border:1px solid #3b5034;
  padding:6px 9px;
  border-radius:5px;
  font-size:10px;
}

.status-pill .tiny-dot {
  width:5px;
  height:5px;
}

.occupied .status-pill {
  background:var(--red-deep);
  border-color:#654133;
  color:var(--red);
}

.occupied .tiny-dot {
  background:var(--red);
}

.unknown .status-pill {
  color:#e4c574;
  border-color:#6e5a32;
  background:#362f20;
}

.card-number {
  font-size:10px;
  letter-spacing:1px;
  color:#677060;
}

.room-name {
  font-size:33px;
  font-weight:480;
  letter-spacing:-1px;
  display:inline-block;
}

.room-meta {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:var(--muted);
  margin-top:8px;
}

.meta-separator {
  color:#596151;
}

.room-glyph {
  position:absolute;
  right:25px;
  top:83px;
  color:#7c8d69;
}

.room-glyph svg {
  width:51px;
  height:51px;
}

.card-availability {
  font-size:12px;
  color:var(--green);
  margin-top:25px;
}

.occupied .card-availability {
  color:var(--red);
}

.card-current {
  font-size:11px;
  color:var(--muted);
  margin-top:6px;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
  min-height:14px;
}

.mini-schedule {
  position:relative;
  margin:28px 0 21px;
}

.mini-axis {
  display:flex;
  justify-content:space-between;
  color:#7f8879;
  font-size:9px;
  letter-spacing:.3px;
  margin-bottom:9px;
}

.mini-track {
  height:24px;
  background:#252b24;
  border-radius:4px;
  position:relative;
  overflow:hidden;
}

.mini-block {
  height:100%;
  position:absolute;
  background:#586848;
  border-left:1px solid #7e9369;
}

.occupied .mini-block.is-current {
  background:#a46f5e;
  border-color:var(--red);
}

.mini-now {
  position:absolute;
  height:34px;
  top:-5px;
  width:1px;
  background:var(--green);
  z-index:2;
}

.mini-now:before {
  content:'';
  position:absolute;
  top:-2px;
  left:-2px;
  width:5px;
  height:5px;
  background:var(--green);
  border-radius:50%;
}

.next-meeting {
  padding-top:17px;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:55px;
}

.next-label {
  font-size:9px;
  color:#89947f;
  letter-spacing:1px;
  white-space:nowrap;
}

.next-title {
  font-size:11px;
  white-space:nowrap;
  text-overflow:ellipsis;
  overflow:hidden;
  text-align:right;
}

.next-title time {
  color:var(--muted);
  margin-right:8px;
}

.button {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:46px;
  border-radius:7px;
  padding:13px 17px;
  font-size:12px;
  font-weight:600;
  gap:16px;
  transition:background .2s;
}

.button.primary {
  background:var(--green);
  color:#182012;
}

.button.primary:hover {
  background:#c7ff83;
}

.button.secondary {
  background:#282f25;
  border:1px solid #46503d;
  color:#edf1e6;
}

.button.secondary:hover {
  background:#333e2d;
}

.card-button {
  width:100%;
  margin-top:15px;
}

.button span {
  font-size:18px;
  font-weight:400;
}

.lower-note {
  display:flex;
  align-items:center;
  gap:15px;
  padding:27px 0 31px;
  margin-top:31px;
  border-top:1px solid var(--line);
}

.note-icon {
  height:36px;
  width:36px;
  border:1px solid var(--line);
  border-radius:10px;
  display:grid;
  place-items:center;
  color:var(--green);
  font-size:20px;
}

.lower-note h3 {
  font-size:12px;
  font-weight:500;
  margin:0 0 5px;
}

.lower-note p {
  font-size:11px;
  color:var(--muted);
  margin:0;
}

.note-tag {
  margin-left:auto;
  color:#697560;
  font-size:8px;
  letter-spacing:1.6px;
}

footer {
  max-width:1512px;
  margin:auto;
  padding:23px 5.5vw;
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  color:#778170;
  font-size:9px;
}

.footer-slash {
  padding:0 9px;
  color:#43503a;
}

.warning {
  padding:12px 16px;
  background:#342e1c;
  border:1px solid #6a582a;
  border-radius:8px;
  color:#edd695;
  font-size:12px;
  margin-bottom:20px;
  line-height:1.5;
}

.loading-panel {
  padding:50px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:var(--radius);
  grid-column:1/-1;
  text-align:center;
}

.room-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin:25px 0 30px;
  font-size:11px;
  color:var(--muted);
}

.room-nav a {
  padding:9px 0;
}

.small-dot {
  color:#4c5744;
}

.text-button {
  font-size:12px;
  min-height:40px;
  padding:8px;
  color:var(--muted);
}

.text-button:hover {
  color:var(--green);
}

.detail-layout {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:5vw;
  min-height:530px;
  margin-bottom:35px;
}

.status-panel {
  display:flex;
  flex-direction:column;
  position:relative;
  min-height:510px;
}

.detail-name {
  font-size:15px;
  letter-spacing:4px;
  font-weight:500;
  margin:0 0 38px;
}

.room-status-word {
  font-size:clamp(44px,5.8vw,86px);
  letter-spacing:-3px;
  font-weight:450;
  color:var(--green);
  margin:22px 0 10px;
  line-height:1;
}

.occupied .room-status-word {
  color:var(--red);
}

.unknown .room-status-word {
  color:#edd695;
}

.status-caption {
  font-size:21px;
  color:#c4ceba;
  font-weight:350;
  margin-bottom:20px;
}

.detail-current {
  margin:0;
  color:var(--text);
  font-size:17px;
}

.detail-organizer {
  color:var(--muted);
  font-size:12px;
  margin-top:8px;
}

.detail-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:30px;
}

.detail-actions .button {
  min-width:170px;
  min-height:54px;
  font-size:13px;
}

.started-label {
  color:var(--green);
  font-size:12px;
  padding:18px 16px;
  border:1px solid #46583a;
  border-radius:7px;
}

.detail-bottom {
  margin-top:auto;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  padding-top:30px;
}

.detail-features {
  font-size:11px;
  color:var(--muted);
  line-height:2.2;
}

.qr-wrap {
  display:flex;
  align-items:center;
  gap:12px;
}

.qr-wrap img {
  height:72px;
  width:72px;
  background:#f0f1e7;
  border-radius:5px;
  padding:4px;
}

.qr-copy {
  color:var(--muted);
  font-size:10px;
  line-height:1.6;
}

.qr-copy strong {
  font-weight:500;
  color:#c0cbb5;
  display:block;
}

.schedule-panel {
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#171b17;
  padding:26px;
  max-height:580px;
  display:flex;
  flex-direction:column;
}

.schedule-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:24px;
  gap:8px;
}

.schedule-heading h2 {
  font-size:17px;
}

.schedule-heading span {
  font-size:10px;
  color:var(--muted);
}

.schedule-list {
  overflow:auto;
  scrollbar-width:thin;
  scrollbar-color:#46543b transparent;
  position:relative;
  padding-right:6px;
  min-height:100px;
}

.schedule-item {
  display:grid;
  grid-template-columns:54px 1fr;
  gap:13px;
  position:relative;
  min-height:66px;
}

.schedule-time {
  font-size:10px;
  color:var(--muted);
  line-height:1.6;
  padding-top:12px;
  font-variant-numeric:tabular-nums;
}

.schedule-time span {
  font-size:9px;
  color:#65715e;
  display:block;
}

.schedule-event {
  border-left:2px solid #5b7047;
  background:#232c20;
  border-radius:0 7px 7px 0;
  padding:12px 14px;
  margin-bottom:8px;
  min-width:0;
}

.schedule-event h3 {
  font-size:12px;
  font-weight:500;
  margin:0 0 6px;
  overflow-wrap:anywhere;
}

.schedule-event p {
  font-size:10px;
  color:var(--muted);
  margin:0;
}

.schedule-item.active .schedule-event {
  background:#352b25;
  border-left-color:var(--red);
}

.schedule-item.past {
  opacity:.5;
}

.schedule-item.free .schedule-event {
  background:transparent;
  border-left:1px dashed #3b4b32;
}

.schedule-item.free .schedule-event h3 {
  color:#889c79;
  font-weight:400;
}

.schedule-event .now-tag {
  color:var(--red);
  font-size:8px;
  letter-spacing:1px;
  float:right;
  margin-left:8px;
}

.now-line {
  display:flex;
  align-items:center;
  color:var(--green);
  font-size:9px;
  gap:10px;
  margin:6px 0 12px;
}

.now-line:after {
  content:'';
  height:1px;
  background:#88b25570;
  flex:1;
}

.now-line:before {
  content:'';
  height:5px;
  width:5px;
  background:var(--green);
  border-radius:50%;
}

dialog {
  background:#1b211b;
  color:var(--text);
  border:1px solid #47543d;
  border-radius:18px;
  padding:30px;
  width:500px;
  max-width:calc(100% - 28px);
  max-height:calc(100dvh - 32px);
  box-shadow:0 30px 100px #0009;
}

dialog::backdrop {
  background:#080d08b8;
  backdrop-filter:blur(8px);
}

.dialog-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:15px;
}

.icon-button {
  font-size:25px;
  width:36px;
  height:36px;
  color:var(--muted);
}

dialog h2 {
  font-size:29px;
  letter-spacing:-1px;
  font-weight:450;
}

dialog p {
  font-size:12px;
  color:var(--muted);
  line-height:1.6;
}

#booking-subtitle {
  margin-bottom:25px;
}

.field-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

label {
  display:block;
  font-size:11px;
  color:#b8c3ad;
  margin-bottom:19px;
}

input,select {
  display:block;
  width:100%;
  min-height:46px;
  background:#111810;
  border:1px solid #3a4732;
  color:var(--text);
  padding:11px;
  margin-top:8px;
  min-width:0;
}

input::placeholder {
  color:#66745b;
  font-size:11px;
}

.duration-label {
  margin-bottom:9px;
}

.duration-options {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.duration-choice {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  padding:13px 4px;
  border:1px solid #3f4d35;
  background:#222b1d;
  min-height:48px;
  font-size:12px;
}

.duration-choice small {font-size:9px;font-weight:400;opacity:.7}

.duration-choice.selected {
  border-color:var(--green);
  color:var(--green);
  background:#2e3d23;
}

.hint {
  font-size:10px!important;
  min-height:16px;
  margin:9px 0 20px;
}

.optional {
  color:#718065;
  font-size:9px;
  margin-left:3px;
}

.confirm-booking {
  width:100%;
  margin-top:6px;
}

.dialog-footnote {
  text-align:center;
  font-size:9px!important;
  color:#78896a!important;
  margin:14px 0 0;
}

.form-error {
  color:var(--red)!important;
  font-size:12px!important;
  min-height:0;
}

.form-error:empty {
  display:none;
}

.signin-notice {
  font-size:13px;
  line-height:1.6;
  color:var(--muted);
  padding:10px 0;
}

.signin-notice a {
  margin-top:16px;
}

.small-dialog {
  width:410px;
}

.small-dialog>.button {
  width:100%;
  margin-top:25px;
}

.cancel-end {
  width:100%;
  margin-top:9px;
}

.toast {
  position:fixed;
  left:50%;
  bottom:30px;
  transform:translateX(-50%);
  display:flex;
  align-items:center;
  gap:12px;
  border:1px solid #70895a;
  background:#293622;
  padding:16px 23px;
  border-radius:10px;
  z-index:5;
  font-size:13px;
  box-shadow:0 10px 40px #0007;
  max-width:90%;
  width:max-content;
}

.toast-icon {
  color:var(--green);
  font-size:18px;
}

.pair-panel {
  max-width:480px;
  margin:65px auto;
}

.pair-panel h1 {
  font-size:49px;
}

.pair-panel>p {
  color:var(--muted);
  line-height:1.7;
  margin-bottom:30px;
}

.pair-panel .button {
  width:100%;
}

@media(min-width:1600px) {
  .intro {
    min-height:380px;
  }
  .room-card {
    padding:30px;
  }
  .card-top {
    margin-bottom:35px;
  }
  .room-name {
    font-size:38px;
  }
}

@media(max-width:1000px) {
  .topbar {
    padding:0 4vw;
    height:80px;
  }
  main {
    padding:0 4vw;
  }
  .room-grid {
    gap:12px;
  }
  .room-card {
    padding:20px 18px;
  }
  .room-name {
    font-size:29px;
  }
  .room-glyph {
    right:18px;
  }
  .room-glyph svg {
    width:39px;
  }
  .intro {
    min-height:300px;
  }
  .intro-art {
    width:260px;
    margin-right:0;
  }
  .detail-layout {
    gap:3vw;
  }
  .qr-wrap {
    gap:8px;
  }
  .qr-copy {
    max-width:75px;
  }
  .schedule-panel {
    padding:19px;
  }
  .room-status-word {
    font-size:58px;
  }
  .detail-actions .button {
    min-width:135px;
  }
  .toolbar-right {
    gap:12px;
  }
  .live-label {
    padding-left:12px;
  }
}

@media(max-width:720px) {
  .topbar {
    height:72px;
    padding:0 6vw;
  }
  .brand {
    font-size:24px;
    gap:9px;
  }
  .brand svg {
    width:23px;
  }
  .brand-light {
    font-size:18px;
  }
  .header-right {
    gap:12px;
  }
  .location,.header-divider {
    display:none;
  }
  main {
    padding:0 6vw;
  }
  .intro {
    padding:36px 0 28px;
    min-height:auto;
  }
  .intro-art {
    display:none;
  }
  h1 {
    font-size:48px;
    letter-spacing:-2px;
  }
  .intro p {
    font-size:12px;
    max-width:290px;
  }
  .eyebrow {
    font-size:8px;
  }
  .section-toolbar {
    margin:10px 0 18px;
  }
  .section-title h2 {
    font-size:18px;
  }
  .toolbar-right #date-label {
    display:none;
  }
  .live-label {
    border:none;
    padding:0;
    font-size:9px;
  }
  .room-grid {
    grid-template-columns:1fr;
    gap:16px;
  }
  .room-card {
    padding:23px;
  }
  .card-top {
    margin-bottom:20px;
  }
  .room-name {
    font-size:35px;
  }
  .room-glyph {
    right:24px;
    top:73px;
  }
  .room-glyph svg {
    width:50px;
    height:50px;
  }
  .card-availability {
    margin-top:18px;
  }
  .mini-schedule {
    margin-top:22px;
  }
  .lower-note {
    margin-top:25px;
    padding:23px 0;
  }
  .lower-note h3 {
    font-size:11px;
  }
  .lower-note p {
    font-size:10px;
    line-height:1.6;
  }
  .note-tag {
    display:none;
  }
  footer {
    padding:20px 6vw;
    flex-wrap:wrap;
    gap:10px;
    font-size:8px;
  }
  footer>span:last-child {
    display:none;
  }
  .room-nav {
    margin:16px 0 23px;
    gap:9px;
  }
  .room-nav .eyebrow {
    display:none;
  }
  .detail-layout {
    grid-template-columns:1fr;
    gap:30px;
    margin-bottom:25px;
  }
  .status-panel {
    min-height:410px;
  }
  .detail-name {
    margin-bottom:25px;
  }
  .room-status-word {
    font-size:65px;
  }
  .status-caption {
    font-size:20px;
  }
  .detail-actions .button {
    flex:1;
  }
  .detail-bottom {
    padding-top:25px;
  }
  .qr-copy {
    max-width:100px;
  }
  .schedule-panel {
    max-height:500px;
    padding:21px;
  }
  .room-nav .text-button {
    font-size:11px;
  }
  .detail-organizer {
    margin-bottom:0;
  }
  dialog {
    padding:22px;
  }
  .field-row {
    gap:10px;
  }
  dialog h2 {
    font-size:27px;
  }
  .duration-choice {
    font-size:11px;
  }
  .toast {
    bottom:20px;
    font-size:12px;
  }
  .intro .eyebrow {
    font-size:9px;
  }
}

@media(min-width:721px) and (max-height:820px) {
  body[data-room]:not([data-room=""]) .topbar {
    height:66px;
  }
  .room-nav {
    margin:12px 0 15px;
  }
  .detail-layout {
    min-height:430px;
    margin-bottom:22px;
  }
  .status-panel {
    min-height:430px;
  }
  .detail-name {
    margin-bottom:23px;
  }
  .schedule-panel {
    max-height:450px;
  }
  .detail-bottom {
    padding-top:20px;
  }
  body[data-room]:not([data-room=""]) footer {
    padding-top:14px;
    padding-bottom:14px;
  }
  .detail-actions {
    margin-top:22px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition:none!important;
    scroll-behavior:auto!important;
  }
}

@media(min-width:541px) and (max-width:900px) and (min-height:800px) and (orientation:portrait) {
  body[data-room]:not([data-room=""]) .topbar {
    height:66px;
  }
  .detail-layout {
    grid-template-columns:1fr;
    grid-template-rows:auto minmax(180px,1fr);
    height:calc(100dvh - 196px);
    min-height:0;
    gap:20px;
    margin-bottom:20px;
  }
  .status-panel {
    min-height:345px;
  }
  .detail-name {
    margin-bottom:18px;
  }
  .room-status-word {
    font-size:60px;
  }
  .detail-bottom {
    padding-top:16px;
  }
  .schedule-panel {
    max-height:none;
    min-height:0;
  }
  body[data-room]:not([data-room=""]) footer {
    padding-top:12px;
    padding-bottom:12px;
  }
  .detail-actions {
    margin-top:20px;
  }
  .room-nav {
    margin:14px 0 18px;
  }
}

.status-panel {
  min-width: 0;
}
.detail-current {
  overflow-wrap: anywhere;
}

.sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.calendar-home .topbar {height:76px;padding:0 4vw}
.calendar-home main {max-width:none;padding:0 4vw}
.calendar-home footer {max-width:none;padding:18px 4vw}
.calendar-section {margin:28px 0 0}
.calendar-toolbar {display:flex;align-items:center;justify-content:space-between;gap:24px}
.calendar-toolbar h1 {font-size:32px;letter-spacing:-1.1px;margin:0;font-weight:500}
.calendar-toolbar p {color:var(--muted);font-size:12px;margin:8px 0 0}
.calendar-navigation {display:flex;align-items:center;gap:12px}
.calendar-control {height:40px;min-width:40px;border:1px solid var(--line);background:var(--surface);padding:8px 14px;font-size:12px}
.calendar-control:hover:not(:disabled),.calendar-book:hover:not(:disabled) {background:#303d29;border-color:#6d8655}
.calendar-arrows {display:flex}
.calendar-arrows button:first-child {border-radius:8px 0 0 8px}
.calendar-arrows button:last-child {border-radius:0 8px 8px 0;border-left:0}
.calendar-date-picker {margin:0}
.calendar-date-picker input {margin:0;min-height:40px;height:40px;padding:8px 10px;width:148px;border-color:var(--line);background:var(--surface);font-size:12px}
.calendar-subbar {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:26px 0 17px}
.calendar-subbar>div:first-child {display:flex;align-items:baseline;gap:16px;flex-wrap:wrap}
.calendar-subbar h2 {font-size:16px;letter-spacing:-.2px}
.calendar-room-count {font-size:11px;color:var(--muted)}
.calendar-legend {display:flex;align-items:center;gap:18px;color:var(--muted);font-size:10px;white-space:nowrap}
.calendar-legend>span {display:flex;gap:7px;align-items:center}
.legend-booked {width:10px;height:10px;background:#35442b;border-left:2px solid var(--green);border-radius:2px}
.legend-now {width:14px;height:1px;background:var(--red)}
.calendar-scroll {overflow:auto;height:calc(100dvh - 288px);min-height:360px;border:1px solid var(--line);border-radius:12px;scrollbar-width:thin;scrollbar-color:#47523d var(--bg);background:#151a15;overscroll-behavior:contain;position:relative}
.calendar-grid {--room-count:2;--gutter:66px;min-width:calc(66px + var(--room-count)*220px)}
.calendar-head,.calendar-all-day,.calendar-body {display:grid;grid-template-columns:var(--gutter) repeat(var(--room-count),minmax(0,1fr))}
.calendar-head {position:sticky;top:0;z-index:5;background:#1b211b;border-bottom:1px solid #3c4638;height:76px}
.calendar-corner {position:sticky;left:0;z-index:2;background:#1b211b;color:var(--muted);font-size:9px;display:flex;align-items:center;justify-content:center;border-right:1px solid var(--line)}
.calendar-room-header {display:flex;align-items:center;justify-content:space-between;padding:14px 18px;gap:14px;min-width:0;border-right:1px solid var(--line)}
.calendar-room-header:last-child,.calendar-day-column:last-of-type {border-right:0}
.calendar-room-header>div {min-width:0}
.calendar-room-name {display:flex;align-items:center;gap:9px;font-size:17px;font-weight:500;letter-spacing:-.3px}
.calendar-room-name:hover {color:var(--room-color)}
.calendar-room-name i {width:8px;height:8px;flex:none;border-radius:50%;background:var(--room-color)}
.calendar-room-name span {color:var(--muted);font-size:12px;font-weight:400}
.calendar-room-header p {font-size:10px;color:var(--muted);margin:7px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.calendar-book {border:1px solid #455239;min-height:34px;padding:7px 12px;font-size:11px;color:var(--green);white-space:nowrap}
.room-color-0 {--room-color:#b7f56d;--event-bg:#2a3b23;--event-hover:#354c2b}
.room-color-1 {--room-color:#91c8f3;--event-bg:#223647;--event-hover:#2c455c}
.room-color-2 {--room-color:#c2a5ef;--event-bg:#352c47;--event-hover:#44375c}
.room-color-3 {--room-color:#f1be8c;--event-bg:#443524;--event-hover:#59452e}
.calendar-all-day {position:sticky;top:76px;z-index:4;background:#192019;border-bottom:1px solid var(--line)}
.calendar-all-day-room {min-height:42px;padding:5px 4px;border-right:1px solid var(--line);min-width:0;display:flex;flex-direction:column;gap:4px}
.calendar-body {position:relative;padding-bottom:14px;background:#151a15}
.calendar-hours {position:sticky;left:0;background:#151a15;z-index:2;border-right:1px solid var(--line)}
.calendar-hour {position:absolute;right:10px;font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;transform:translateY(-50%);white-space:nowrap}
.calendar-hour:first-child {transform:translateY(4px)}
.calendar-hour-end {transform:translateY(-100%)}
.calendar-day-column {position:relative;border-right:1px solid var(--line);background-image:repeating-linear-gradient(to bottom,var(--line) 0,var(--line) 1px,transparent 1px,transparent 35px,#252e2533 35px,#252e2533 36px,transparent 36px,transparent 72px)}
.calendar-unverified {background-color:#242119;background-image:repeating-linear-gradient(135deg,transparent 0,transparent 10px,#bca05609 10px,#bca05609 11px)}
.calendar-event {position:absolute;display:flex;flex-direction:column;align-items:flex-start;gap:4px;text-align:left;min-width:0;border:1px solid #ffffff0c;border-left:3px solid var(--room-color);border-radius:5px;background:var(--event-bg);color:var(--text);padding:7px 10px;overflow:hidden;z-index:1;line-height:1.25}
.calendar-event:hover {background:var(--event-hover);border-top-color:var(--room-color);border-bottom-color:var(--room-color);border-right-color:var(--room-color)}
.calendar-event:focus-visible {z-index:3}
.calendar-event>span {display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex-shrink:0}
.calendar-event-title {font-size:12px;font-weight:550}
.calendar-event-time {font-size:10px;color:var(--room-color);font-variant-numeric:tabular-nums}
.calendar-event-organizer {font-size:10px;color:#b7c0b5}
.calendar-event.event-past {opacity:.72}
.calendar-event.event-short {flex-direction:row;align-items:center;gap:9px;padding:0 6px}
.event-short .calendar-event-title {font-size:10px;flex:1;min-width:0}
.event-short .calendar-event-time {font-size:9px}
.event-short .calendar-event-organizer,.event-medium .calendar-event-organizer {display:none}
.calendar-event.event-medium {padding:3px 8px;gap:2px}
.event-medium .calendar-event-title {font-size:11px}
.all-day-event {position:relative;width:100%;height:auto;min-height:28px;flex-direction:row;align-items:center;padding:5px 8px;gap:10px}
.all-day-event .calendar-event-title {flex:1;min-width:0}
.all-day-event .calendar-event-organizer {display:none}
.calendar-now {position:absolute;left:0;right:0;display:flex;align-items:center;z-index:3;pointer-events:none;height:1px;color:var(--red)}
.calendar-now span {font-size:9px;font-variant-numeric:tabular-nums;background:#3d2922;border-radius:3px;padding:3px 4px;margin:auto 7px auto auto}
.calendar-now:after {content:'';height:1px;background:var(--red);width:calc(100% - var(--gutter));flex-shrink:0}
.calendar-now i {position:absolute;left:calc(var(--gutter) - 3px);height:6px;width:6px;border-radius:50%;background:var(--red)}
.calendar-hint {margin:12px 0 16px;color:var(--muted);font-size:10px;line-height:1.6}
#event-heading {overflow-wrap:anywhere}
#event-room-link {margin-top:25px}
@media(max-width:720px) {
  .calendar-home .topbar {height:66px;padding:0 4vw}
  .calendar-toolbar {align-items:flex-start;gap:18px;flex-direction:column}
  .calendar-section {margin-top:22px}
  .calendar-toolbar h1 {font-size:28px}
  .calendar-toolbar p {font-size:11px;margin-top:5px}
  .calendar-navigation {gap:9px;justify-content:space-between;width:100%}
  .calendar-subbar {margin:20px 0 13px}
  .calendar-subbar>div:first-child {gap:6px;flex-direction:column}
  .calendar-subbar h2 {font-size:13px}
  .calendar-room-count {font-size:9px}
  .calendar-legend {gap:10px;font-size:9px}
  .calendar-legend .live-label {display:none}
  .calendar-scroll {height:calc(100dvh - 320px);min-height:340px}
  .calendar-grid {--gutter:52px;min-width:calc(52px + var(--room-count)*175px)}
  .calendar-room-header {padding:12px 9px;gap:6px}
  .calendar-room-name {font-size:15px;gap:6px}
  .calendar-room-header p {font-size:9px;max-width:115px}
  .calendar-book {font-size:10px;padding:6px 8px}
  .calendar-event {padding-left:6px;padding-right:6px}
  .event-short .calendar-event-time {display:none}
  .calendar-hour {right:6px;font-size:9px}
  .calendar-hint {font-size:9px}
}
