/* entroom design tokens. No remote fonts, images, CSS frameworks or runtime dependencies. */

:root {
  --canvas: #f8f9fb;
  --surface: #fff;
  --ink: #20242e;
  --muted: #727781;
  --border: #e5e8ed;
  --subtle: #f0f2f6;
  --blue: #3155ce;
  --blue-hover: #2446b7;
  --blue-soft: #edf1ff;
  --green: #27765c;
  --amber: #936316;
  --purple: #73568d;
  --red: #b14848;
  --focus: #56647a;
  --sidebar: 218px;
  --radius: 12px;
  --shadow: 0 2px 5px #24314a05,0 14px 35px #24314a04;
  --font: -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,input,select,textarea {
  font: inherit;
}

button {
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

button,a,input,select,textarea,summary {
  touch-action: manipulation;
}

button {
  border: 0;
  background: none;
}

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

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible,[tabindex]:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

a {
  color: var(--blue);
}

h1,h2,h3,h4,p {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 600;
}

h1 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1.3px;
}

h2 {
  font-size: 18px;
  letter-spacing: -.35px;
  line-height: 1.35;
}

h3 {
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: -.15px;
}

small {
  font-size: 13px;
}

strong {
  font-weight: 600;
}

.icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.sr-only {
  position: absolute!important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 240px;
  z-index: 9999;
  padding: 12px;
  background: white;
}

.skip-link:focus {
  top: 8px;
}

.muted {
  color: var(--muted);
}

.grow {
  flex: 1;
}

.full {
  width: 100%;
}

.wide {
  flex: 1;
}

.separator {
  margin: 0 4px;
}

.accent {
  color: var(--blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 17px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.35;
  white-space: normal;
  transition: background .15s,box-shadow .15s,transform .15s;
  border: 1px solid transparent;
  text-align: center;
}

.btn.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 2px 4px #203ea41a;
}

.btn.primary:hover:not(:disabled) {
  background: var(--blue-hover);
  box-shadow: 0 4px 12px #3155ce20;
}

.btn.secondary {
  background: white;
  border-color: var(--border);
  box-shadow: 0 1px 2px #00000003;
}

.btn.secondary:hover {
  background: #f7f8fb;
  border-color: #c9d2e5;
}

.btn.soft {
  background: var(--blue-soft);
  color: var(--blue);
}

.btn.text {
  color: var(--muted);
  background: none;
}

.btn.small {
  padding: 7px 12px;
  min-height: 40px;
  font-size: 13px;
}

.btn.danger {
  background: var(--red);
  color: white;
}

.btn.danger:hover {
  background: #993838;
}

.btn.danger-ghost {
  color: var(--red);
  background: #fff6f5;
  border-color: #eed6d5;
}

.icon-btn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #686e78;
  transition: background .15s,color .15s;
}

.icon-btn:hover {
  color: var(--ink);
  background: #eff2f7;
}

.icon-btn.is-favorite {
  color: #886630;
}

.icon-btn.is-favorite .icon {
  fill: #f1e4c7;
  stroke: #a98742;
}

.icon-btn.selected {
  background: var(--blue-soft);
  color: var(--blue);
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 550;
  min-height: 36px;
  padding: 4px 0;
  text-align: left;
  line-height: 1.4;
}

.text-link:hover {
  color: #1e3b9b;
}

.text-button {
  text-align: left;
  padding: 0;
  background: none;
  color: inherit;
}

.button-row,.heading-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tiny-label {
  font-size: 11px;
  letter-spacing: .04em;
  font-weight: 500;
  color: #686d75;
  background: #f0f2f6;
  padding: 3px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.25px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #686d76;
}

.live-dot,.tiny-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  flex-shrink: 0;
}

.live-dot {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 4px #e9f3ee;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8edf7;
  color: #49618b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.avatar.small {
  width: 29px;
  height: 29px;
  font-size: 10px;
}

.avatar.tone-violin {
  background: #eee6f3;
  color: #845c95;
}

.avatar.tone-cello {
  background: #e1eeeb;
  color: #3a7867;
}

.avatar.tone-flute {
  background: #f0e7d9;
  color: #846941;
}

.avatar.tone-clarinet {
  background: #e4e8f7;
  color: #595e98;
}

.avatar.tone-percussion {
  background: #f0e0df;
  color: #a15856;
}

.avatar-stack {
  display: inline-flex;
  padding-left: 5px;
}

.avatar-stack .avatar {
  border: 2px solid white;
  margin-left: -5px;
  box-sizing: content-box;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.3;
  padding: 5px 8px;
  white-space: nowrap;
  max-width: 100%;
}

.badge.confirmed {
  color: #267454;
  background: #e9f4ef;
}

.badge.pending {
  color: #8c641f;
  background: #faf0da;
}

.badge.cancelled {
  color: #6a6d75;
  background: #f0f1f4;
}

.badge.rejected {
  color: #a54545;
  background: #fae9e9;
}

.room-symbol {
  width: 43px;
  height: 43px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #edf1fa;
  color: #576ca0;
}

.room-symbol.small {
  width: 33px;
  height: 33px;
  border-radius: 7px;
}

.room-symbol.large {
  width: 65px;
  height: 65px;
  border-radius: 15px;
}

.room-symbol.hall {
  background: #f2ecf5;
  color: #7c648c;
}

.room-symbol.ensemble {
  background: #eaf1ec;
  color: #587365;
}

.room-symbol.studio {
  background: #efedf5;
  color: #75678c;
}

.room-symbol.special {
  background: #f4eddf;
  color: #7a6b4a;
}

.room-symbol.warning {
  background: #f9e8e4;
  color: var(--red);
}

/* App chrome */

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #fdfdfd;
  border-right: 1px solid var(--border);
  z-index: 40;
  display: flex;
  flex-direction: column;
  padding: 0 15px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 89px;
  padding: 0 15px;
  font-size: 29px;
  letter-spacing: -1.45px;
  font-weight: 650;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand,.mobile-brand {
  font-family: "Avenir Next", Avenir, var(--font);
}


.workspace-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px 12px;
  margin: 0 2px 28px;
}

.workspace-lockup strong {
  display: block;
  font-size: 13px;
}

.workspace-lockup small {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.workspace-lockup>.icon {
  margin-left: auto;
}

.workspace-dot {
  width: 9px;
  height: 9px;
  background: #d95957;
  border-radius: 2px;
  flex-shrink: 0;
}

.nav-label {
  font-size: 10px;
  letter-spacing: 1.15px;
  text-transform: uppercase;
  padding: 0 15px 11px;
  color: #666d78;
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-item {
  display: flex;
  align-items: center;
  position: relative;
  gap: 11px;
  width: 100%;
  padding: 12px 13px;
  min-height: 44px;
  border-radius: 7px;
  color: #686e78;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
}

.nav-item:hover {
  background: #f4f5f8;
  color: var(--ink);
}

.nav-item.active {
  background: #edf1fc;
  color: var(--blue);
  font-weight: 600;
}

.nav-item.active:before {
  content: '';
  position: absolute;
  left: -15px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--blue);
}

.nav-count {
  margin-left: auto;
  min-width: 19px;
  padding: 1px 5px;
  font-size: 11px;
  background: #edf0f5;
  color: #676e7b;
  text-align: center;
  border-radius: 4px;
}

.sidebar-bottom {
  margin-top: auto;
  padding-bottom: 15px;
}

.sidebar-quota {
  padding: 17px 12px;
  width: 100%;
  text-align: left;
  margin: 26px 0 10px;
}

.sidebar-quota>div:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}

.sidebar-quota strong {
  margin-left: auto;
  color: var(--blue);
  font-weight: 600;
}

.sidebar-quota small {
  display: block;
  font-size: 10px;
  color: #676e78;
  margin-top: 7px;
}

.quota-track {
  width: 100%;
  height: 5px;
  border-radius: 4px;
  background: #e9edf7;
  overflow: hidden;
}

.quota-track i {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 4px;
  transition: width .3s;
}

.sidebar-quota .quota-track {
  margin-top: 12px;
  height: 4px;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 5px 9px;
  border-top: 1px solid var(--border);
  margin: 13px 8px 0;
}

.sidebar-profile strong {
  display: block;
  font-size: 12px;
}

.sidebar-profile small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  max-width: 95px;
}

.sidebar-profile .icon-btn {
  width: 26px;
  min-width: 26px;
  margin-left: auto;
}

.sidebar-profile .avatar {
  width: 32px;
  height: 32px;
}

.sidebar-footnote {
  font-size: 10px;
  color: #686e78;
  padding: 0 13px;
  line-height: 1.6;
  max-width: 180px;
}

.app-main {
  margin-left: var(--sidebar);
  min-width: 0;
}

.topbar {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  border-bottom: 1px solid var(--border);
  background: #ffffffed;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
}

.desktop-breadcrumb {
  font-size: 12px;
  color: #676d78;
}

.desktop-breadcrumb i {
  font-style: normal;
  color: #656d7a;
  padding: 0 14px;
}

.desktop-breadcrumb strong {
  color: #646b77;
  font-size: 12px;
  font-weight: 500;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}

.global-search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666d79;
  font-size: 12px;
  min-height: 40px;
  padding: 0 8px;
}

.global-search-trigger kbd {
  font: 10px var(--font);
  padding: 2px 4px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #f9fafc;
  margin-left: 25px;
}

.demo-time {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e8eaf0;
  background: #fafbfc;
  padding: 7px 9px;
  border-radius: 6px;
  min-height: 32px;
  color: #676d77;
  font-size: 11px;
  white-space: nowrap;
}

.demo-time .tiny-dot {
  width: 4px;
  height: 4px;
  background: #b49c69;
}

.demo-time strong {
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  color: #646d80;
  font-size: 11px;
}

.header-language select {
  font-size: 11px;
  width: 47px;
  min-height: 36px;
  padding: 0 5px;
  background: none;
  border: 0;
  color: #666e7b;
  cursor: pointer;
}

.notification-button {
  position: relative;
  width: 34px;
  min-width: 34px;
}

.notification-button i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  top: 8px;
  right: 7px;
  border: 1px solid white;
}

.profile-trigger {
  padding: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.mobile-brand,.mobile-nav {
  display: none;
}

.page {
  padding: 33px 35px 24px;
  max-width: 1690px;
  margin: 0 auto;
}

.page:focus {
  outline: none;
}

.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}

.page-heading .eyebrow {
  margin-bottom: 10px;
}

.page-description {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.7;
  max-width: 680px;
}

.page-heading>.btn {
  flex-shrink: 0;
}

.page-footnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--border);
  padding: 19px 0 0;
  margin-top: 32px;
  font-size: 11px;
  color: #686d78;
}

.page-footnote button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #646d7e;
  font-size: 11px;
  min-height: 30px;
  text-align: right;
}

.data-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #646d7f;
  font-size: 11px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  white-space: nowrap;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}

.section-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.count {
  font-size: 11px;
  color: #666e7b;
  background: #edeff4;
  min-width: 20px;
  border-radius: 4px;
  padding: 2px 5px;
  text-align: center;
  letter-spacing: 0;
}

.section-description {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.6;
}

.section-heading .section-description {
  margin-bottom: -6px;
}

/* Dashboard */

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(310px, 2fr);
  gap: 22px;
  margin-bottom: 28px;
}
.next-session {
  container-type: inline-size;
  --hero-background: #edf2ff;
  --hero-border: #dce3f5;
  --hero-ink: #263a62;
  --hero-secondary: #475d86;
  --hero-muted: #5a6d8e;
  --hero-accent: #536ca1;
  --hero-track: #dce4f8;
  --hero-pill: #dfe8ff;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--hero-border);
  background: var(--hero-background);
  border-radius: 12px;
}
.next-session[data-day-period="morning"] {
  --hero-background: #fbf2e9;
  --hero-border: #eedfce;
  --hero-ink: #614935;
  --hero-secondary: #71543f;
  --hero-muted: #79634e;
  --hero-accent: #85613f;
  --hero-track: #edddcd;
  --hero-pill: #f2e3d4;
}
.next-session[data-day-period="evening"] {
  --hero-background: #f1eef9;
  --hero-border: #e2dcef;
  --hero-ink: #443658;
  --hero-secondary: #5b4b72;
  --hero-muted: #6c5e7f;
  --hero-accent: #735b91;
  --hero-track: #e0d7ed;
  --hero-pill: #e6def3;
}
.next-session .live-pill { color: var(--hero-secondary); background: var(--hero-pill); }
.next-session .allowance-summary .quota-track > i { background: var(--hero-accent); }
.next-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 18px 24px;
  flex: 1;
  min-width: 0;
}
.next-copy > .eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 10px;
  color: var(--hero-accent);
  margin-bottom: 12px;
}
.hero-time {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -1.4px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  color: var(--hero-ink);
  margin-bottom: 8px;
  white-space: nowrap;
}
.hero-time > span { color: var(--hero-accent); padding: 0 8px; font-size: .75em; font-weight: 300; }
.next-copy h2 { font-size: 14px; letter-spacing: 0; color: var(--hero-secondary); margin-bottom: 3px; overflow-wrap: anywhere; }
.next-copy > p { font-size: 12px; color: var(--hero-muted); line-height: 1.6; }
.hero-room { display: flex; align-items: center; align-self: flex-start; gap: 5px; padding: 0; color: var(--hero-muted); font-size: 12px; min-height: 27px; text-align: left; }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: auto; padding-top: 16px; }
.hero-actions { display: flex; flex: 0 0 auto; }
.hero-actions .btn { min-height: 38px; padding: 9px 13px; font-size: 12px; }
.allowance-summary {
  width: 264px;
  max-width: 55%;
  min-width: 0;
  padding: 0;
}
.allowance-summary-heading { display: flex; flex-direction: column; gap: 6px; margin-bottom: 13px; color: var(--hero-muted); }
.allowance-summary-heading .text-link { width: 100%; justify-content: space-between; font-size: 12px; line-height: 1.4; font-weight: 500; color: var(--hero-secondary); text-align: left; min-width: 0; min-height: 24px; gap: 8px; }
.allowance-summary-heading .text-link:hover { color: var(--hero-ink); }
.allowance-summary-heading .text-link>.icon { flex-shrink: 0; }
.allowance-summary-heading>span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 7px; line-height: 1.2; font-size: 12px; }
.allowance-summary-heading strong { color: var(--hero-ink); font-size: 28px; font-weight: 550; letter-spacing: -.7px; font-variant-numeric: tabular-nums; }
.allowance-summary-heading>span>span { white-space: nowrap; }
.allowance-summary .quota-track { height: 6px; background: var(--hero-track); border-radius: 4px; }
@container (min-width: 520px) {
  .next-copy > :is(.hero-time,h2,p,.hero-room) { max-width: calc(100% - 244px); }
  .hero-actions { max-width: calc(100% - 244px); }
  .allowance-summary { position: absolute; right: 24px; bottom: 18px; width: 220px; max-width: none; }
  .allowance-summary-heading strong { font-size: 26px; }
}

.dashboard-agenda { margin-bottom: 28px; }
.free-section { min-width: 0; padding: 17px 20px 9px; background: white; border: 1px solid var(--border); border-radius: 12px; }
.free-section .section-heading { margin-bottom: 7px; gap: 14px; }
.free-section .section-heading h2 { font-size: 14px; }
.free-section .section-heading .text-link { font-size: 11px; min-height: 28px; flex-shrink: 0; }
.free-room-list article { display: flex; align-items: center; gap: 11px; border-bottom: 1px solid var(--border); min-height: 53px; padding: 8px 0; }
.free-room-list article:last-child { border-bottom: 0; }
.free-room-name { flex: 1; min-width: 0; display: flex; flex-direction: column; text-align: left; gap: 3px; padding: 0; }
.free-room-name strong { font-size: 13px; font-weight: 550; line-height: 1.4; overflow-wrap: anywhere; }
.free-room-name small { font-size: 11px; line-height: 1.4; color: #537465; }
.free-room-list .btn { min-height: 34px; padding: 5px 10px; font-size: 11px; gap: 7px; flex-shrink: 0; }
.free-room-list .room-symbol { width: 30px; height: 30px; border-radius: 7px; }
@media (min-width: 761px) and (max-width: 1100px) {
  .dashboard-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .free-room-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .free-room-list article { flex-wrap: wrap; align-content: start; border-bottom: 0; gap: 8px; }
  .free-room-list .room-symbol { display: none; }
  .free-room-name { flex-basis: 100%; }
  .free-room-list .btn { width: 100%; margin-top: auto; }
}
@media (max-width: 760px) {
  .dashboard-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 25px; }
  .next-copy { padding: 21px 20px; }
  .hero-time { font-size: 30px; letter-spacing: -1.2px; }
  .hero-time > span { padding: 0 6px; }
  .hero-room { font-size: 11px; min-height: 29px; }
  .hero-actions .btn { min-height: 41px; }
  .hero-bottom { gap: 18px; }
  .free-section { padding: 15px 17px 6px; }
  .free-section .section-heading .text-link { min-height: 36px; }
  .allowance-summary-heading .text-link { min-height: 32px; }
  .free-room-list article { min-height: 66px; gap: 10px; padding: 10px 0; }
  .free-room-list .btn { min-height: 42px; padding: 8px 11px; }
}
@media (max-width: 460px) {
  .hero-bottom { flex-wrap: wrap; gap: 17px; }
  .allowance-summary { width: 100%; max-width: none; padding: 8px 0 0; }
  .allowance-summary-heading { margin-bottom: 12px; gap: 4px; }
  .allowance-summary-heading .text-link { font-size: 12px; }
}

.session-art {
  display: block;
  position: absolute;
  right: -35px;
  bottom: -60px;
  width: clamp(220px, 24vw, 330px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  opacity: .5;
  mask-image: linear-gradient(to right, transparent, #000 45%);
  pointer-events: none;
  user-select: none;
}

@media (max-width: 760px) {
  .session-art {
    right: -28px;
    bottom: -35px;
    width: 240px;
    opacity: .45;
  }
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 4px;
  padding: 3px 6px;
  background: #dfe8ff;
  color: #566c99;
  font-size: 10px;
  white-space: nowrap;
  font-weight: 500;
}

.section-kicker {
  font-size: 11px;
  color: #646d7f;
  display: flex;
  align-items: center;
  gap: 7px;
}

.section-kicker>.icon-btn {
  margin-left: auto;
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
}

.sidebar-quota strong {
  flex-shrink: 0;
  white-space: nowrap;
}

.dashboard-agenda {
  min-width: 0;
}

.agenda-surface {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.agenda-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 18px 18px;
  min-height: 86px;
  border-bottom: 1px solid var(--border);
  background: white;
  position: relative;
}

.agenda-row:last-child {
  border-bottom: 0;
}

.agenda-time {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 43px;
  font-variant-numeric: tabular-nums;
}

.agenda-time strong {
  font-size: 14px;
  font-weight: 550;
}

.agenda-time span {
  color: #666d7a;
  font-size: 12px;
  margin-top: 1px;
}

.agenda-time small {
  font-size: 11px;
  color: #646e80;
  margin-bottom: 3px;
}

.agenda-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  gap: 5px;
  min-height: 44px;
  justify-content: center;
}

.agenda-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 550;
  min-width: 0;
  overflow-wrap: anywhere;
}

.agenda-title .icon {
  color: #616d80;
}

.agenda-room {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #656e7e;
  line-height: 1.5;
}

.agenda-room>.icon {
  margin-right: 1px;
}

.agenda-trailing {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.agenda-trailing .avatar-stack+.icon-btn {
  display: none;
}

.agenda-trailing .btn {
  font-size: 11px;
  min-height: 34px;
  padding: 7px 9px;
}

.small-note {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #656e7e;
  font-size: 11px;
  margin-top: 14px;
}

.small-note strong {
  font-size: 11px;
  color: #616e85;
  background: #eef1f7;
  padding: 0 4px;
  border-radius: 3px;
}

.availability-indicator {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  margin-inline: 3px;
  border-radius: 50%;
  background: #389b6b;
  box-shadow: 0 0 0 3px rgb(56 155 107 / 18%);
  animation: availability-breathe 1.8s ease-out infinite;
}

@keyframes availability-breathe {
  0% { transform: scale(.9); box-shadow: 0 0 0 0 rgb(56 155 107 / 42%); }
  55% { transform: scale(1.12); box-shadow: 0 0 0 6px rgb(56 155 107 / 16%); }
  85%, 100% { transform: scale(.9); box-shadow: 0 0 0 8px rgb(56 155 107 / 0%); }
}

.favorites-section {
  margin-top: 8px;
}

.favorites-section>.section-heading {
  margin-bottom: 18px;
}

.mobile-glance {
  display: none;
}

.checked-label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 11px;
  max-width: 90px;
  line-height: 1.2;
}

.cancelled-row .agenda-title {
  text-decoration: line-through;
  color: #656e7d;
}

/* Timeline: horizontal overflow intentionally remains inside its own region. */

.schedule-container {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  overflow: hidden;
}

.schedule-scroll {
  overflow: auto;
  max-height: 660px;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #d4dbe7 #f7f9fc;
  position: relative;
}

.schedule-grid {
  min-width: calc(var(--time-width) + 210px);
}

.schedule-header {
  display: flex;
  height: 45px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fbfcfe;
  border-bottom: 1px solid var(--border);
}

.schedule-corner {
  width: 210px;
  flex-shrink: 0;
  position: sticky;
  left: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 17px;
  background: #fbfcfe;
  border-right: 1px solid var(--border);
  font-size: 11px;
  color: #656d7d;
}

.time-header {
  position: relative;
  flex: 1;
  min-width: var(--time-width);
}

.time-header>span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 8px;
  font-size: 11px;
  line-height: 16px;
  color: #646d7e;
  font-variant-numeric: tabular-nums;
}

.time-header>span.now-label {
  transform: translate(-50%, -50%);
  margin: 0;
  background: #5576cd;
  color: white;
  padding: 4px 6px;
  border-radius: 4px;
  z-index: 2;
}

.schedule-row {
  display: flex;
  min-height: 62px;
  border-bottom: 1px solid #eef0f5;
}

.schedule-row:last-child {
  border-bottom: 0;
}

.schedule-room {
  display: flex;
  align-items: center;
  gap: 0;
  position: sticky;
  left: 0;
  width: 210px;
  min-width: 210px;
  flex-shrink: 0;
  background: white;
  border-right: 1px solid var(--border);
  z-index: 5;
  padding: 0 7px 0 13px;
}

.schedule-room-open {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 9px 0;
  text-align: left;
  min-height: 60px;
}

.schedule-room-open>span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.schedule-room-open strong {
  font-size: 12px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-room-open small {
  font-size: 10px;
  color: #666e7d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.schedule-room .icon-btn {
  width: 29px;
  min-width: 29px;
  height: 40px;
}

.schedule-room .icon-btn .icon {
  width: 13px;
  height: 13px;
}

.schedule-room .room-symbol {
  width: 28px;
  height: 28px;
  background: #f0f3f9;
}

.time-lane {
  position: relative;
  flex: 1;
  min-width: var(--time-width);
  background: repeating-linear-gradient(90deg,transparent 0,transparent calc(100%/var(--hours) - 1px),#eff1f6 calc(100%/var(--hours) - 1px),#eff1f6 calc(100%/var(--hours)));
  cursor: crosshair;
  min-height: 62px;
}

.time-lane:hover {
  background-color: #fbfcff;
}

.time-lane.ineligible {
  background-color: #f8f8fa;
  cursor: default;
}

.event-block {
  position: absolute;
  top: 10px;
  height: 41px;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
  gap: 3px;
  border-radius: 5px;
  padding: 5px 8px;
  color: #656e7e;
  background: #edf0f4;
  overflow: hidden;
  z-index: 2;
  min-width: 3px;
}

.event-block:hover {
  filter: brightness(.97);
  box-shadow: 0 2px 6px #33415b1c;
  z-index: 4;
}

.event-block strong {
  font-weight: 500;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 3px;
}

.event-block small {
  font-size: 10px;
  color: inherit;
  opacity: .8;
  white-space: nowrap;
}

.event-block.kind-lesson {
  color: #786689;
  background: #f1edf6;
}

.event-block.kind-performance {
  color: #786a64;
  background: #f3eee9;
}

.event-block.mine {
  background: #e2eaff;
  color: #4f6ba8;
}

.event-block.mine.kind-ensemble {
  background: #e1efea;
  color: #4d7464;
}

.event-block.mine.kind-lesson {
  background: #e9e3f3;
  color: #7e5c9c;
}

.pending-block {
  position: absolute;
  top: 45px;
  height: 15px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 3;
  border-bottom: 2px dashed #c49e5a;
  color: #826a3e;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-align: left;
  padding: 0 4px;
  background: #fff8eebf;
}

.now-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #89a1df;
  pointer-events: none;
  z-index: 4;
  opacity: .8;
}

.timeline-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 15px;
  background: #fdfefe;
  border-top: 1px solid var(--border);
  font-size: 10px;
  color: #656d7c;
}

.legend {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.legend>span {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.legend-mine {
  background: #7795d7;
}

.legend-lesson {
  background: #c4b0d4;
}

.legend-other {
  background: #c8cdd5;
}

.legend-pending {
  background: #e2cfa4;
  border: 1px dashed #b19462;
}

.timeline-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}

.timeline-keyboard-book {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 20;
}

.timeline-keyboard-book:focus-visible {
  clip-path: none;
  width: auto;
  height: 34px;
  top: 12px;
  left: 5px;
  background: var(--blue);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
}

.compact-schedule .schedule-scroll {
  max-height: none;
}

.compact-schedule .schedule-row,.compact-schedule .time-lane {
  min-height: 61px;
}

/* Availability finder */

.finder-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  box-shadow: var(--shadow);
}

.finder-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 20px;
  border-bottom: 1px solid #eff1f5;
  gap: 15px;
}

.date-strip {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-strip>.icon-btn {
  width: 29px;
  min-width: 29px;
  height: 44px;
}

.day-chip {
  width: auto;
  min-width: 49px;
  height: 59px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 5px 10px;
  color: #656e7f;
  border: 1px solid transparent;
}

.day-chip:hover {
  background: #f3f5fb;
}

.day-chip small {
  font-size: 10px;
  max-width: 100%;
  white-space: nowrap;
  line-height: 1.25;
}

.day-label-compact {
  display: none;
}

.day-chip strong {
  font-weight: 550;
  font-size: 17px;
  line-height: 1.1;
}

.day-chip.selected {
  background: var(--blue);
  color: white;
  box-shadow: 0 3px 8px #3155ce25;
}

.date-field {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  color: #646e7d;
  gap: 6px;
}

.date-field>span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.date-field input {
  border: 0;
  color: #5d6b85;
  font-size: 13px;
  background: transparent;
  min-height: 29px;
  max-width: 145px;
}

.finder-main {
  padding: 18px 23px;
  display: flex;
  align-items: flex-end;
  gap: 25px;
  border-bottom: 1px solid #eff1f5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field>span,.field-label {
  font-size: 12px;
  letter-spacing: .05px;
  color: #666d7b;
  line-height: 1.4;
  font-weight: 500;
}

.field>span>small {
  float: right;
  font-size: 11px;
  color: #656d7c;
  font-weight: 400;
}

.field input,.field select,.field textarea,.type-select select,.campus-field select,.setting-row select {
  width: 100%;
  min-height: 43px;
  border: 1px solid #dfe4ed;
  background: white;
  border-radius: 7px;
  padding: 10px 12px;
  color: #4b566b;
  outline-offset: 2px;
  font-size: 13px;
  line-height: 1.4;
}

.field input::placeholder,.field textarea::placeholder {
  color: #656e7f;
}

.field textarea {
  resize: vertical;
  min-height: 83px;
  line-height: 1.65;
}

.field input:hover,.field select:hover,.field textarea:hover {
  border-color: #bbc6da;
}

.time-field {
  width: 132px;
  flex-shrink: 0;
}

.input-with-icon {
  display: flex;
  align-items: center;
  position: relative;
}

.input-with-icon>.icon {
  position: absolute;
  left: 11px;
  color: #606e89;
}

.input-with-icon>input {
  padding-left: 35px;
}

.duration-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.duration-options {
  display: flex;
  align-items: center;
  border: 1px solid #dfe4ed;
  background: #f7f8fb;
  border-radius: 7px;
  padding: 3px;
  gap: 3px;
}

.duration-options button {
  min-height: 35px;
  padding: 8px 13px;
  color: #626e82;
  font-size: 13px;
  border-radius: 5px;
  display: flex;
  gap: 3px;
  align-items: baseline;
}

.duration-options button small {
  font-size: 10px;
  opacity: .8;
}

.duration-options button.selected {
  background: white;
  color: var(--blue);
  box-shadow: 0 1px 4px #1d325519;
}

.duration-options button:hover {
  background: white;
  color: var(--blue);
}

.campus-field {
  flex: 1;
  min-width: 125px;
}

.finder-location-row {
  display: contents;
}

.find-now-btn {
  min-height: 43px;
  font-size: 13px;
  padding: 10px 15px;
  flex-shrink: 0;
}

.finder-filters {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 150px;
  flex: 1;
  min-height: 37px;
  color: #636e81;
}

.search-input input {
  border: 0;
  min-height: 35px;
  padding: 6px 0;
  width: 100%;
  min-width: 0;
  outline-offset: 0;
  font-size: 12px;
  color: #606d86;
  background: none;
}

.search-input input::placeholder {
  color: #636d7e;
}

.type-select select {
  min-height: 32px;
  border: 0;
  font-size: 11px;
  color: #656e7f;
  width: 130px;
  background: #f8f9fb;
  padding: 6px 8px;
  border-radius: 5px;
}

.filter-chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  min-height: 33px;
  border: 1px solid #e9ecf2;
  border-radius: 5px;
  padding: 6px 9px;
  color: #626d82;
  background: #fcfdff;
}

.filter-chip:hover {
  background: #f3f5fb;
}

.filter-chip.selected {
  background: #edf2ff;
  border-color: #cdd9f6;
  color: #4b6cad;
}

.catalog-switch {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  margin-top: 22px;
}

.catalog-switch>button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 10px 0;
  font-size: 12px;
  color: #636e80;
}

.catalog-switch>button>span {
  font-size: 10px;
  padding: 1px 4px;
  background: #edeff4;
  border-radius: 3px;
  color: #636e81;
}

.catalog-switch>button.active {
  color: #516ca1;
}

.catalog-switch>button.active:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: #5577bf;
}

.catalog-switch>button.catalog-info {
  margin-left: auto;
  min-width: 36px;
  justify-content: center;
}

.results-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  gap: 10px;
  font-size: 12px;
  color: #636d80;
}

.results-toolbar>span>strong {
  color: #606e87;
  font-weight: 600;
}

.results-toolbar>span>small {
  font-size: 10px;
  margin-left: 6px;
  color: #636e80;
}

.view-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.view-controls .icon-btn {
  width: 30px;
  min-width: 30px;
  height: 30px;
}

.range-control {
  font-size: 11px;
  color: #5e6e8a;
  min-height: 30px;
}

.segmented {
  display: inline-flex;
  align-items: center;
  background: #eef0f5;
  border-radius: 6px;
  padding: 3px;
  gap: 3px;
  max-width: 100%;
  flex-shrink: 0;
}

.segmented>button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: #616e85;
  padding: 7px 10px;
  border-radius: 4px;
  min-height: 29px;
  line-height: 1.2;
}

.segmented>button.selected {
  background: white;
  color: #586d95;
  box-shadow: 0 1px 4px #24375110;
}

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

.room-card {
  border: 1px solid var(--border);
  background: white;
  border-radius: 10px;
  padding: 15px 17px 0;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 2px 5px #31435d02;
  transition: box-shadow .15s,border-color .15s;
}


.room-card-header { display: grid; grid-template-columns: 36px minmax(0, 1fr) 32px; align-items: center; gap: 10px; }
.room-card-header > .room-symbol { width: 36px; height: 36px; border-radius: 8px; }
.room-card-header > .icon-btn { width: 32px; min-width: 32px; height: 36px; align-self: start; }
.room-card-header > .icon-btn .icon { width: 17px; height: 17px; }
.room-card-heading { min-width: 0; }
.room-card-name { display: flex; align-items: center; width: 100%; min-height: 25px; padding: 0; text-align: left; }
.room-card-name h3 { font-size: 15px; font-weight: 550; letter-spacing: -.25px; overflow-wrap: anywhere; }
.room-card-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 5px; margin-top: 2px; font-size: 10px; line-height: 1.5; color: #5f6e85; }
.room-card-meta > span { overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .room-card-header { grid-template-columns: 36px minmax(0, 1fr) 40px; gap: 10px; }
  .room-card-header > .icon-btn { width: 40px; min-width: 40px; height: 40px; }
  .room-card-name h3 { font-size: 16px; }
  .room-card-meta { font-size: 11px; }
}

.room-card:hover {
  border-color: #cbd7eb;
  box-shadow: 0 5px 15px #293d5b07;
}

.room-card-facts {
  font-size: 11px;
  color: #626e81;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  line-height: 1.5;
  min-height: 16px;
}

.room-card-state {
  margin-top: 15px;
  margin-bottom: 10px;
}

.availability-label {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: #656e7f;
  font-weight: 450;
}

.availability-label>i {
  width: 5px;
  height: 5px;
  background: #c4ccd8;
  display: block;
  border-radius: 50%;
  flex-shrink: 0;
}

.availability-label.is-free {
  color: #5b7365;
}

.availability-label.is-free>i {
  background: #719682;
}

.availability-label.is-busy {
  color: #786c57;
}

.availability-label.is-busy>i {
  background: #c9b796;
}

.room-schedule-preview { margin: 13px 0 15px; min-width: 0; }
.room-schedule-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2px 9px; margin-bottom: 8px; }
.room-schedule-heading > span { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #657084; font-size: 10px; }
.preview-current-time { color: #ab5c4b; font-variant-numeric: tabular-nums; }
.room-schedule-heading .text-link { font-size: 10px; min-height: 28px; gap: 2px; }
.room-time-axis { position: relative; height: 24px; color: #6a7486; font-size: 11px; font-variant-numeric: tabular-nums; }
.room-time-axis > span { position: absolute; transform: translateX(-50%); }
.room-time-axis > span:first-child { transform: none; }
.room-time-axis > span:last-child { transform: translateX(-100%); }
.room-time-track { position: relative; height: 36px; isolation: isolate; }
.room-time-segment { position: absolute; top: 0; height: 36px; min-width: 0; padding: 0 3px; display: flex; align-items: center; justify-content: center; border: 1px solid white; border-radius: 4px; overflow: hidden; font-size: 11px; line-height: 1.2; white-space: nowrap; container: room-segment / inline-size; }
.segment-caption { display: none; }
@container room-segment (min-width: 76px) { .segment-caption { display: block; } }
.room-time-segment.free,.room-schedule-legend .free { background: #e0eee5; color: #386a4d; }
.room-time-segment.busy,.room-schedule-legend .busy { background: #e5e9ef; color: #616d80; }
.room-time-segment.mine,.room-schedule-legend .mine { background: #cbd8fa; color: #36579a; }
.room-time-segment.closed,.room-schedule-legend .closed { background: repeating-linear-gradient(135deg,#f6f7f9 0 4px,#e7eaf0 4px 5px); color: #6b7586; }
button.room-time-segment:hover { filter: brightness(.96); box-shadow: inset 0 0 0 1px #57796355; }
button.room-time-segment:focus-visible { outline-offset: 2px; z-index: 3; }
.room-current-line { position: absolute; top: -5px; bottom: -3px; width: 2px; margin-left: -1px; background: #bd6b56; box-shadow: 0 0 0 1px #fff9; z-index: 2; pointer-events: none; }
.room-current-line::before { content: ''; position: absolute; width: 6px; height: 6px; top: -3px; left: -2px; background: #bd6b56; border-radius: 50%; }
.room-schedule-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 10px; font-size: 9px; color: #677286; line-height: 1.5; }
.room-schedule-legend > span { display: inline-flex; align-items: center; gap: 4px; }
.room-schedule-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; }
.room-booking-choices { margin: 0 0 16px; }
.room-booking-choices > p { color: #657084; font-size: 10px; margin: 0 0 7px; }
.room-choice-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.room-choice { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 38px; padding: 8px; border: 1px solid #e1e7ee; border-radius: 6px; background: #fafbfd; color: #50617e; font-size: 11px; font-variant-numeric: tabular-nums; }
.room-choice > span { white-space: nowrap; }
.room-choice.recommended-choice { grid-column: 1 / -1; justify-content: space-between; min-height: 42px; padding: 10px 12px; background: #edf6f0; border-color: #d5e7dc; color: #365f49; }
.recommended-choice > span:last-child { display: flex; align-items: center; gap: 7px; }
.room-choice:last-child:nth-child(even) { grid-column: 1 / -1; }
.room-choice:hover { background: #eef3fa; border-color: #cbd7e8; }
.room-choice.recommended-choice:hover { background: #e1f0e7; border-color: #bad6c6; }
.room-booking-choices .no-room-choice { line-height: 1.5; padding: 10px 0; }
@media (max-width:760px) {
  .room-time-track,.room-time-segment { height: 40px; }
  .room-choice { min-height: 44px; }
  .room-choice.recommended-choice { min-height: 46px; }
  .room-schedule-heading .text-link { min-height: 32px; }
  .room-schedule-legend { font-size: 10px; gap: 5px 10px; }
}

.slot-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 9px;
  min-height: 36px;
  border: 1px solid #e5eaf3;
  background: #f8faff;
  border-radius: 5px;
  color: #586e93;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex: 1;
  transition: background .1s;
}

.slot-btn:hover {
  background: #eaf0ff;
  border-color: #bcccec;
  color: #4566a4;
}

.slot-btn>.icon {
  color: #566e96;
}

.room-card-bottom {
  border-top: 1px solid #eef0f5;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 37px;
  margin: 0 -17px;
  padding: 8px 17px;
  font-size: 10px;
  color: #636e81;
  background: #fdfefe;
}

.room-card-bottom .tiny-label {
  margin-left: auto;
  font-size: 10px;
}

.demo-room {
  border-style: dashed;
}

.load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 25px 0;
  color: #606f83;
  font-size: 12px;
}

/* Personal agenda, ensembles, requests */

.tabs-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  overflow: auto;
  scrollbar-width: none;
}

.tabs-toolbar>.tabs {
  margin-bottom: 0;
  border: 0;
  flex: 1;
}

.tabs>button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 47px;
  padding: 10px 0;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  color: #626d81;
}

.tabs>button>span {
  font-size: 10px;
  color: #5e6e86;
  background: #edf0f5;
  border-radius: 4px;
  padding: 1px 5px;
}

.tabs>button.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.booking-list {
  max-width: 1050px;
}

.agenda-group {
  margin-bottom: 26px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: white;
  overflow: hidden;
}

.day-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 20px;
  border-bottom: 1px solid #eef0f5;
  background: #fbfcfe;
}

.day-heading h3 {
  font-size: 12px;
  color: #606e86;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: .1px;
}

.day-heading>span {
  font-size: 10px;
  color: #5d6f85;
  border-radius: 3px;
  background: #f0f3f8;
  padding: 1px 4px;
}

.booking-list .agenda-row {
  min-height: 90px;
  padding: 20px;
}

.booking-list .agenda-title {
  font-size: 14px;
}

.booking-list .agenda-room {
  font-size: 12px;
}

.week-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #606e86;
}

.week-toolbar>.btn:last-child {
  margin-left: auto;
}

.week-scroll {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7,minmax(138px,1fr));
  min-height: 390px;
}

.week-day {
  border-right: 1px solid var(--border);
  padding: 0 8px 15px;
  min-width: 0;
}

.week-day:last-child {
  border: 0;
}

.week-day>header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 5px;
  border-bottom: 1px solid #eef0f5;
  margin: 0 -8px 15px;
  gap: 6px;
  color: #606d81;
}

.week-day>header small {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .8px;
}

.week-day>header strong {
  font-size: 22px;
  font-weight: 500;
  color: #5d6e89;
}

.week-day.is-today>header {
  background: #eff4ff;
}

.week-event {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  width: 100%;
  margin-bottom: 10px;
  border-radius: 6px;
  padding: 11px 9px;
  background: #e9f0ff;
  color: #556d99;
}

.week-event small {
  font-size: 10px;
}

.week-event strong {
  font-size: 12px;
  overflow-wrap: anywhere;
}

.week-event span {
  font-size: 10px;
  color: #586e96;
}

.week-event.kind-ensemble {
  background: #edf5f0;
  border-color: #9abcaa;
  color: #5c7367;
}

.week-event.kind-lesson {
  background: #f2edf8;
  border-color: #b298ce;
  color: #7c6394;
}

.week-event.pending {
  background: #faf4e7;
  border-color: #d3b573;
  color: #7c6a49;
}

.week-empty {
  display: block;
  text-align: center;
  color: #566e8f;
  margin: 35px 0;
}

.ensembles-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 25px;
}

.ensemble-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.ensemble-banner {
  position: relative;
  min-height: 117px;
  background: #ecf0f8;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 23px;
  color: #556d9b;
  overflow: hidden;
}

.ensemble-banner:before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid #bbc9e54d;
  right: -35px;
  top: 0;
  box-shadow: 0 0 0 25px #dae2f129,0 0 0 55px #dbe4f13b,0 0 0 80px #e2e8f227;
}

.ensemble-banner.ensemble-1 {
  background: #edf2ed;
  color: #54755d;
}

.ensemble-banner.ensemble-1:before {
  border-color: #bdd3c345;
  box-shadow: 0 0 0 25px #d8e5dd50,0 0 0 55px #d7e4dc3b,0 0 0 80px #e2eee327;
}

.ensemble-monogram {
  position: absolute;
  right: 27px;
  top: -3px;
  font-size: 93px;
  letter-spacing: -10px;
  color: #b7c5e132;
  font-weight: 700;
  line-height: 1.3;
}

.ensemble-banner>.avatar-stack {
  position: relative;
  z-index: 1;
}

.ensemble-content {
  padding: 25px;
}

.ensemble-content h2 {
  font-size: 21px;
  letter-spacing: -.4px;
  margin-bottom: 6px;
}

.ensemble-content>p {
  font-size: 12px;
  color: #606e83;
  line-height: 1.6;
}

.ensemble-members {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 22px 0;
}

.ensemble-members>span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #616d82;
}

.ensemble-members .tiny-dot {
  background: #cad4e3;
  width: 4px;
  height: 4px;
}

.ensemble-members small {
  margin-left: auto;
  font-size: 11px;
  color: #5f6d83;
}

.ensemble-content>.btn {
  font-size: 12px;
  width: 100%;
  min-height: 40px;
}

.ensemble-agenda {
  padding: 0 25px 8px;
  border-top: 1px solid var(--border);
}

.ensemble-agenda>h3 {
  font-size: 11px;
  color: #5e6e89;
  margin: 17px 0 5px;
}

.ensemble-agenda>.muted {
  font-size: 12px;
  min-height: 84px;
  padding: 20px 0;
}

.ensemble-agenda .agenda-row {
  padding: 14px 0;
  gap: 12px;
}

.ensemble-agenda .avatar-stack {
  display: none;
}

.ensemble-agenda .agenda-title {
  font-size: 12px;
}

.ensemble-agenda .agenda-room {
  font-size: 10px;
}

.footnote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  color: #5f6e87;
  margin-top: 20px;
  line-height: 1.7;
}

.footnote .icon {
  margin-top: 2px;
}

.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #edf2fb;
  border: 1px solid #dce5f5;
  border-radius: 8px;
  color: #566e94;
  font-size: 12px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.info-banner>.icon {
  margin-top: 2px;
}

.info-banner.amber {
  background: #fcf6e8;
  color: #7b6b4a;
  border-color: #efe4c8;
}

.info-banner.error {
  background: #fbebeb;
  color: #a44f4f;
  border-color: #f0d2d2;
}

.request-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.request-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 23px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.request-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 65px;
  border-radius: 8px;
  background: #f4f6fa;
  color: #5d6f8c;
}

.request-date strong {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
}

.request-date small {
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .8px;
  margin-top: 3px;
}

.request-main {
  flex: 1;
  min-width: 0;
}

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

.request-title h3 {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.request-main>p {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  color: #5c6e88;
  font-size: 12px;
  margin-top: 8px;
}

.request-owner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #5f6d85;
  margin-top: 14px;
}

.request-owner .avatar {
  width: 23px;
  height: 23px;
  font-size: 10px;
}

.request-actions .btn {
  font-size: 12px;
}

.rejection-reason {
  color: var(--red)!important;
}

.empty-state {
  text-align: center;
  padding: 58px 22px;
  color: #5e6e85;
}

.empty-state>.icon {
  color: #546f95;
  margin-bottom: 13px;
}

.empty-state h3 {
  font-size: 16px;
  color: #5c6e89;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 13px;
  max-width: 350px;
  margin: 0 auto 19px;
  line-height: 1.8;
}

.dashboard-agenda .empty-state {
  padding: 25px;
}

/* Settings */

.settings-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 35px;
  align-items: start;
}

.settings-main {
  min-width: 0;
}

.settings-section {
  border-bottom: 1px solid var(--border);
  padding: 0 0 27px;
  margin-bottom: 27px;
}

.settings-section>h2 {
  font-size: 16px;
  margin-bottom: 16px;
}

.settings-section>p {
  font-size: 12px;
  color: #606d84;
  line-height: 1.8;
  margin: 0 0 17px;
}

.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid #edf0f5;
}

.setting-row:last-child {
  border: 0;
  padding-bottom: 0;
}

.setting-row h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #5f6e85;
}

.setting-row p {
  font-size: 11px;
  color: #606e82;
  margin-top: 5px;
  max-width: 360px;
}

.setting-row select {
  width: 136px;
  font-size: 12px;
  flex-shrink: 0;
}

.switch {
  min-width: 41px;
  height: 24px;
  background: #d9e0eb;
  border-radius: 20px;
  padding: 3px;
  display: flex;
  align-items: center;
  transition: background .15s;
}

.switch>span {
  width: 18px;
  height: 18px;
  display: block;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px #27385620;
  transition: transform .15s;
}

.switch.on {
  background: #718fcc;
}

.switch.on>span {
  transform: translateX(17px);
}

.profile-options {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}

.profile-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  text-align: left;
  min-width: 0;
}

.profile-option>span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.profile-option strong {
  display: block;
  font-size: 12px;
  color: #5e6e86;
}

.profile-option small {
  display: block;
  font-size: 10px;
  color: #5c6f89;
  line-height: 1.5;
  margin-top: 2px;
}

.profile-option>.icon {
  color: var(--blue);
  width: 15px;
}

.profile-option.selected {
  background: #f1f5ff;
  border-color: #c1d1f4;
}

.profile-option:hover {
  border-color: #b0c5e6;
}

.demo-clock-display {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: white;
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: 9px;
  color: #5a6e8e;
  margin-bottom: 14px;
}

.demo-clock-display strong {
  font-size: 24px;
  font-weight: 500;
  color: #566e95;
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}

.demo-clock-display>span {
  font-size: 12px;
}

.settings-section>.button-row .btn {
  font-size: 11px;
}

.policy-card {
  background: white;
  padding: 25px;
  border: 1px solid var(--border);
  border-radius: 11px;
}

.policy-card>.room-symbol {
  margin-bottom: 17px;
}

.policy-card>h2 {
  font-size: 16px;
  margin-bottom: 24px;
}

.policy-card>h3 {
  font-size: 12px;
  margin-top: 17px;
  margin-bottom: 6px;
  color: #5b6e8b;
}

.policy-card>p {
  font-size: 11px;
  color: #5b6e88;
  line-height: 1.8;
}

.policy-card>.text-link {
  font-size: 11px;
  margin-top: 18px;
}

.source-info>h2 {
  margin-bottom: 20px;
}

.source-fact-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 13px;
  margin: 18px 0 25px;
}

.source-fact-grid>div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px;
}

.source-fact-grid strong {
  display: block;
  font-size: 25px;
  color: #566f91;
  font-weight: 500;
}

.source-fact-grid span {
  display: block;
  font-size: 10px;
  color: #5d6f89;
  line-height: 1.5;
  margin-top: 5px;
}

.source-info>h3 {
  margin: 20px 0 10px;
  font-size: 14px;
}

.source-info>p {
  color: #5d6e87;
  font-size: 12px;
  line-height: 1.9;
  margin-bottom: 12px;
}

.category-details {
  border-top: 1px solid var(--border);
  margin-top: 25px;
  padding-top: 10px;
}

.category-details summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 13px;
  color: #586e8d;
  cursor: pointer;
}

.category-details summary>span {
  margin-left: auto;
}

.category-details>p {
  font-size: 11px;
  color: #5a6f88;
  margin: 8px 0 14px;
  line-height: 1.7;
}

.source-categories {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.source-categories>span {
  font-size: 11px;
  color: #5a6e88;
  border-bottom: 1px solid #eef1f6;
  padding: 9px 0;
}

/* Sheets and forms */

.app-dialog {
  inset: 0 0 0 auto;
  margin: 0;
  width: 530px;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border: 0;
  border-left: 1px solid var(--border);
  border-radius: 0;
  padding: 0;
  color: var(--ink);
  background: white;
  box-shadow: -18px 0 60px #15274718;
  overflow: hidden;
}

.app-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: sheet-in 220ms cubic-bezier(.2,.8,.2,1);
}

.app-dialog[open]::backdrop { animation: backdrop-in 180ms ease-out; }

.app-dialog::backdrop {
  background: #1b294740;
  backdrop-filter: blur(2px);
}

.sheet-handle {
  display: none;
}

.sheet-header {
  padding: 26px 26px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e9edf4;
  flex-shrink: 0;
}

.sheet-header .eyebrow {
  font-size: 10px;
  color: #5b6e8a;
  margin-bottom: 9px;
}

.sheet-header h2 {
  font-size: 23px;
  font-weight: 550;
  letter-spacing: -.6px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sheet-header>.icon-btn {
  margin: -5px -8px 0 0;
  flex-shrink: 0;
}

.sheet-body {
  padding: 24px 26px;
  overflow: auto;
  flex: 1;
  min-height: 0;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #d8e0ed transparent;
}

.allowance-balance { margin-bottom: 22px; }
.allowance-balance>div:first-child { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.allowance-balance strong { font-size: 36px; line-height: 1.2; font-weight: 550; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.allowance-balance span,.allowance-balance p { color: var(--muted); font-size: 13px; }
.allowance-balance p { margin: 9px 0 15px; }
.allowance-balance .quota-track { height: 6px; }
.allowance-explanation,.allowance-rules p { color: var(--muted); font-size: 13px; line-height: 1.65; }
.allowance-bookings { margin: 26px 0 22px; }
.allowance-bookings h3 { font-size: 14px; font-weight: 550; margin-bottom: 9px; }
.allowance-bookings>p { font-size: 13px; line-height: 1.6; }
.allowance-booking { display: flex; align-items: center; gap: 16px; width: 100%; padding: 15px 0; border-bottom: 1px solid var(--border); text-align: left; }
.allowance-booking:hover .allowance-booking-description strong { color: var(--blue); }
.allowance-booking-description { flex: 1; min-width: 0; display: grid; gap: 5px; }
.allowance-booking-description strong { font-size: 14px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.allowance-booking-description>span { font-size: 12px; color: var(--muted); line-height: 1.5; }
.allowance-booking-charge { display: flex; align-items: center; justify-content: flex-end; gap: 8px; max-width: 34%; font-size: 13px; font-variant-numeric: tabular-nums; }
.allowance-booking-charge .icon { flex-shrink: 0; }
.allowance-rules { margin-top: 22px; border-top: 1px solid var(--border); }
.allowance-rules summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; cursor: pointer; font-size: 13px; list-style: none; }
.allowance-rules summary::-webkit-details-marker { display: none; }
.allowance-rules summary .icon { flex-shrink: 0; }
.allowance-rules[open] summary .icon { transform: rotate(180deg); }

.sheet-footer {
  padding: 17px 26px max(18px,env(safe-area-inset-bottom));
  border-top: 1px solid #e8edf5;
  background: #ffffffed;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.sheet-footer>.btn+.btn {
  margin-top: 4px;
}

.sheet-footer .form-footnote {
  margin: 9px 0 0;
  font-size: 10px;
}

.sheet-footer .btn {
  font-size: 13px;
  min-height: 44px;
}

.sheet-body form>.field {
  margin-bottom: 17px;
}

.sheet-body .field>span {
  font-size: 12px;
  color: #606e85;
}

.sheet-body .field input,.sheet-body .field select,.sheet-body .field textarea {
  font-size: 13px;
  color: #596e8c;
  background: #fefeff;
  border-color: #dde5f1;
}

.form-room-policy {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: -6px 0 19px;
  font-size: 11px;
  color: #5a6e8c;
}

.form-room-policy>.text-link {
  margin-left: auto;
  font-size: 11px;
  min-height: 25px;
  color: #516f95;
}

.form-datetime {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 11px;
  margin-bottom: 12px;
}

.form-datetime input {
  padding: 10px 8px;
  font-size: 13px;
  width: 100%;
  min-width: 0;
}

.form-durations {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.form-durations button {
  border-radius: 5px;
  border: 1px solid #e6ebf4;
  font-size: 11px;
  color: #5a6f8c;
  min-height: 33px;
  padding: 6px 12px;
}

.form-durations button.selected {
  background: #eff4ff;
  border-color: #c9d9f5;
  color: #4e6f9f;
}

.form-two-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 15px;
  margin-bottom: 19px;
}

.duration-summary {
  height: 43px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: #596f8f;
  font-size: 13px;
  border: 1px solid #e8edf5;
  background: #f8faff;
  border-radius: 7px;
  font-variant-numeric: tabular-nums;
}

.form-disclosure {
  border-top: 1px solid #e9eef6;
  margin-bottom: 0;
}

.form-disclosure>summary {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 54px;
  padding: 12px 0;
  font-size: 13px;
  color: #576e8f;
  cursor: pointer;
  list-style: none;
}

.form-disclosure summary::-webkit-details-marker {
  display: none;
}

.form-disclosure>summary>span {
  margin-left: auto;
  font-size: 11px;
  color: #586e8d;
}

.form-disclosure[open]>summary>.icon:last-child {
  transform: rotate(180deg);
}

.disclosure-body {
  padding: 6px 0 21px;
}

.disclosure-body>.field {
  margin-bottom: 17px;
}

.participant-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
}

.participant-option {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e6ebf4;
  border-radius: 7px;
  padding: 10px 8px;
  min-width: 0;
  cursor: pointer;
  min-height: 53px;
}

.participant-option:has(input:checked) {
  background: #f0f5ff;
  border-color: #cbdcf7;
}

.participant-option input {
  margin: 0;
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.participant-option .avatar {
  width: 25px;
  height: 25px;
  font-size: 10px;
}

.participant-option>span:last-child {
  min-width: 0;
}

.participant-option strong {
  display: block;
  font-size: 11px;
  line-height: 1.4;
  color: #566f8f;
  overflow-wrap: anywhere;
}

.participant-option small {
  display: block;
  font-size: 10px;
  color: #586f8c;
  line-height: 1.4;
}

.form-footnote {
  font-size: 11px;
  color: #5a6f8b;
  line-height: 1.75;
  margin-top: 14px;
}

.form-footnote>.icon {
  margin-right: 5px;
  vertical-align: -2px;
}

.validation-errors {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #efd4d3;
  background: #fff3f1;
  border-radius: 7px;
  padding: 11px 12px;
  color: #a05858;
  font-size: 11px;
  line-height: 1.7;
  margin: 16px 0;
}

.validation-errors>.icon {
  margin-top: 2px;
}

.validation-errors p+p {
  margin-top: 4px;
}

.validation-errors small {
  font-size: 10px;
  margin-left: 4px;
  opacity: .85;
}

.validation-ok {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 0;
  color: #4f7563;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
}

.booking-cost {
  background: #f5f8fe;
  border: 1px solid #e7eef9;
  padding: 12px 14px;
  border-radius: 7px;
  margin-top: 6px;
}

.booking-cost>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: #566f90;
  padding: 4px 0;
}

.booking-cost strong {
  color: #556e92;
  font-size: 12px;
  font-weight: 550;
  text-align: right;
}

.series-preview {
  background: #f8faff;
  border-radius: 7px;
  padding: 12px;
  border: 1px solid #eaf0f8;
  margin-top: 10px;
}

.series-preview>strong {
  display: block;
  font-size: 11px;
  color: #556f92;
  margin-bottom: 9px;
}

.series-preview>div {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.series-preview span {
  font-size: 10px;
  border: 1px solid #e2eaf6;
  background: white;
  padding: 4px 6px;
  border-radius: 4px;
  color: #526f93;
}

.room-detail-lead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 23px;
}

.room-detail-lead>div {
  flex: 1;
}

.room-detail-lead h3 {
  font-size: 16px;
}

.room-detail-lead p {
  font-size: 12px;
  color: #586e8d;
  margin-top: 5px;
}

.room-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  border-top: 1px solid #e7edf5;
  border-bottom: 1px solid #e7edf5;
  padding: 19px 0;
  margin-bottom: 18px;
}

.room-metrics>div {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 7px;
  font-size: 11px;
  color: #576e8c;
}

.room-metrics strong {
  grid-column: 2;
  font-size: 14px;
  color: #556e90;
  font-weight: 500;
  line-height: 1.45;
}

.detail-note {
  font-size: 11px;
  color: #58708d;
  line-height: 1.8;
}

.detail-section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #edf1f7;
}

.detail-section>h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #556e8e;
  margin-bottom: 12px;
}

.detail-section>h3>small {
  font-size: 11px;
  font-weight: 400;
  color: #596e8c;
}

.detail-section>p {
  font-size: 12px;
  color: #576f92;
  line-height: 1.8;
}

.detail-section>p.detail-note {
  font-size: 11px;
  color: #5a6f8d;
  margin-top: 8px;
}

.equipment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.equipment-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #556f92;
}

.equipment-list li>.icon {
  color: #536e91;
}

.policy-line {
  display: flex;
  gap: 7px;
  align-items: center;
}

.sheet-body .agenda-row {
  padding: 14px 0;
  gap: 11px;
}

.sheet-body .agenda-row .agenda-title {
  font-size: 12px;
}

.sheet-body .agenda-trailing .avatar-stack {
  display: none;
}

.sheet-body .agenda-room {
  font-size: 10px;
}

.restricted-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #5a6f8e;
}

.booking-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 10px;
}

.subtle-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #576e8f;
  font-size: 11px;
}

.event-detail-time>p {
  font-size: 13px;
  color: #566e90;
  margin-bottom: 10px;
  text-transform: capitalize;
}

.event-detail-time>strong {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -1.2px;
  color: #557091;
  display: block;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.event-detail-time>strong>span {
  font-weight: 300;
  color: #506f97;
  padding: 0 7px;
}

.event-detail-time>small {
  color: #546e90;
  font-size: 12px;
  display: block;
  margin-top: 9px;
}

.booking-room-link {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid #e1eaf7;
  border-radius: 9px;
  background: #f7faff;
  text-align: left;
  width: 100%;
  margin: 23px 0;
}

.booking-room-link>span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.booking-room-link strong {
  font-size: 13px;
  color: #536e95;
  display: block;
}

.booking-room-link small {
  display: block;
  font-size: 11px;
  color: #516f97;
  margin-top: 5px;
}

.booking-room-link>.icon {
  color: #4b6e9e;
}

.checkin-panel {
  border: 1px solid #cdddf6;
  border-radius: 9px;
  background: #f0f6ff;
  padding: 19px;
  margin: 23px 0;
}

.checkin-panel>h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #506e9a;
}

.checkin-panel>p {
  font-size: 12px;
  line-height: 1.85;
  color: #516f97;
  margin: 13px 0;
}

.checkin-panel>.btn {
  font-size: 12px;
}

.checkin-panel.complete {
  background: #f0f8f3;
  border-color: #d1e7d9;
}

.checkin-panel.complete>h3 {
  color: #527463;
}

.detail-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-people>div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-people strong {
  display: block;
  font-size: 12px;
  color: #536f90;
}

.detail-people small {
  font-size: 10px;
  color: #546d95;
  display: block;
  margin-top: 4px;
}

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

.detail-section+.btn {
  margin-top: 23px;
}

.center-dialog {
  inset: 0;
  margin: auto;
  width: 440px;
  max-width: calc(100% - 32px);
  height: auto;
  max-height: 90dvh;
  border: 1px solid #dee7f3;
  border-radius: 15px;
  box-shadow: 0 20px 70px #19344a35;
}

.center-dialog[open] {
  animation: dialog-in 200ms cubic-bezier(.2,.8,.2,1);
}

.center-dialog .sheet-header {
  padding-top: 23px;
}

.center-dialog .sheet-header h2 {
  font-size: 20px;
}

.success-body {
  text-align: center;
  padding: 5px 0 9px;
}

.success-mark {
  width: 81px;
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f5ef;
  border-radius: 50%;
  color: #4d755f;
  margin: 0 auto 23px;
  box-shadow: 0 0 0 9px #f5faf7;
}

.success-mark.pending {
  background: #faf1dd;
  color: #7f6b43;
  box-shadow: 0 0 0 9px #fffaf0;
}

.success-body h3 {
  font-size: 20px;
  color: #576e8c;
  margin-bottom: 13px;
}

.success-body>p {
  font-size: 13px;
  color: #576e92;
  line-height: 1.8;
  margin-top: 12px;
}

.success-time {
  font-size: 29px;
  color: #546f93;
  letter-spacing: -.9px;
  margin: 11px 0 14px;
}

.success-body>.form-footnote {
  font-size: 10px;
  margin-top: 20px;
}

.confirm-body {
  padding: 10px 0 15px;
}

.confirm-body>.room-symbol {
  margin-bottom: 17px;
}

.confirm-body>h3 {
  font-size: 16px;
  color: #5b6e89;
  margin-bottom: 8px;
}

.confirm-body>p {
  color: #5a6d8b;
  font-size: 13px;
  margin: 12px 0;
  line-height: 1.9;
}

.cancel-options {
  border: 1px solid #e6ecf6;
  border-radius: 8px;
  padding: 10px 14px;
  margin: 22px 0 0;
}

.cancel-options>legend {
  font-size: 11px;
  color: #586e8d;
  padding: 0 4px;
}

.cancel-options>label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #586f8f;
  min-height: 43px;
  cursor: pointer;
}

.cancel-options input {
  accent-color: var(--blue);
}

.search-dialog {
  inset: 85px 0 auto;
  margin: 0 auto;
  width: 600px;
  max-width: calc(100% - 32px);
  height: auto;
  max-height: 76dvh;
  border: 1px solid #dce6f3;
  border-radius: 13px;
  box-shadow: 0 30px 100px #15365633;
}

.search-dialog .sheet-header {
  padding: 16px 22px 13px;
}

.search-dialog .sheet-header h2 {
  font-size: 16px;
}

.search-dialog .sheet-body {
  padding: 8px 22px 22px;
}

.global-search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e7edf7;
  padding: 11px 0 14px;
  position: sticky;
  top: -8px;
  background: white;
  z-index: 2;
  color: #536f97;
}

.global-search-field input {
  border: 0;
  outline-offset: 3px;
  background: none;
  min-height: 38px;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #526f95;
}

.global-search-field input::placeholder {
  color: #596e8e;
}

.global-search-field kbd {
  font-size: 11px;
  color: #506f97;
  padding: 2px 5px;
  border: 1px solid #e4eaf4;
  border-radius: 4px;
}

.search-empty {
  text-align: center;
  color: #556f94;
  font-size: 12px;
  line-height: 1.8;
  padding: 30px 10px;
}

.search-group {
  margin-top: 20px;
}

.search-group>h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4f6e9c;
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 11px;
}

.search-group>button,.search-person {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 7px;
  text-align: left;
  border-radius: 6px;
  min-height: 54px;
}

.search-group>button:hover {
  background: #f2f6fe;
}

.search-group>button>span:nth-child(2),.search-person>span:last-child {
  flex: 1;
  min-width: 0;
}

.search-group strong {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #516f99;
}

.search-group small {
  display: block;
  font-size: 10px;
  color: #506f98;
  margin-top: 3px;
}

.search-group>button>.icon {
  color: #506f9a;
}

.notice-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  text-align: left;
  min-height: 82px;
  padding: 16px 12px;
  width: 100%;
  border-bottom: 1px solid #edf2f8;
  border-radius: 7px;
}

.notice-item.unread {
  background: #f5f8ff;
}

.notice-item>span:nth-child(2) {
  flex: 1;
}

.notice-item strong {
  display: block;
  font-size: 12px;
  color: #526f96;
  line-height: 1.65;
}

.notice-item small {
  display: block;
  font-size: 11px;
  color: #546f94;
  margin-top: 5px;
}

.notice-icon {
  color: #4d6ea0;
  width: 28px;
  display: flex;
  justify-content: center;
  padding-top: 3px;
  flex-shrink: 0;
}

.notice-dot {
  width: 5px;
  height: 5px;
  background: #8caae1;
  display: block;
  flex-shrink: 0;
  margin-top: 10px;
  border-radius: 50%;
}

.notice-list {
  margin-top: 18px;
}

.mobile-more {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.toast {
  position: fixed;
  left: calc(50% + var(--sidebar)/2);
  bottom: 25px;
  transform: translate(-50%,20px);
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: min(90vw,450px);
  padding: 14px 19px;
  border-radius: 10px;
  background: #293b58;
  color: white;
  box-shadow: 0 7px 32px #16274229;
  font-size: 13px;
  line-height: 1.5;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 160ms ease-out,transform 220ms cubic-bezier(.2,.8,.2,1);
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%,0);
}

.toast small {
  font-size: 11px;
  display: block;
  color: #496ea2;
  margin-top: 2px;
}

.toast>.icon {
  color: #40795a;
}

.toast:empty {
  display: none;
}

@keyframes sheet-in {
  from {
    transform: translateX(24px);
    opacity: .6;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes dialog-in {
  from { opacity: .5; transform: translateY(8px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.room-save-toggle>.icon,.icon-btn[data-action="favorite"]>.icon,.success-mark,.toast>.icon,.checkin-panel.complete h3>.icon {
  transform-origin: center;
  transform-box: fill-box;
}

.time-picker-popover:popover-open { animation: fade-in 160ms cubic-bezier(.2,.8,.2,1); }
.form-disclosure[open]>.disclosure-body { animation: fade-in 160ms cubic-bezier(.2,.8,.2,1); }

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet and compact desktop */

@media(min-width:1650px) {
  :root {
    --sidebar: 238px;
  }
  .page {
    padding: 40px 50px;
  }
  .topbar {
    padding: 0 50px;
  }
  .rooms-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }
}

@media(max-width:1200px) {
  :root {
    --sidebar: 198px;
  }
  .page {
    padding: 27px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .brand {
    font-size: 27px;
    padding: 0 9px;
  }
  .sidebar {
    padding: 0 12px;
  }
  .nav-item {
    font-size: 12px;
    padding-left: 10px;
    gap: 9px;
  }
  .nav-item.active:before {
    left: -12px;
  }
  .sidebar-footnote {
    font-size: 10px;
  }
  .agenda-row {
    gap: 12px;
    padding: 15px 14px;
  }
  .agenda-trailing {
    gap: 5px;
  }
  .agenda-trailing .avatar-stack {
    display: none;
  }
  .finder-main {
    gap: 15px;
    padding: 17px;
  }
  .duration-options button {
    padding: 8px 10px;
  }
  .finder-top {
    padding: 15px 16px;
  }
  .date-strip {
    gap: 3px;
  }
  .day-chip {
    min-width: 43px;
  }
  .finder-filters {
    padding: 12px 16px;
  }
  .settings-layout {
    grid-template-columns: minmax(0,1fr) 260px;
    gap: 24px;
  }
  .policy-card {
    padding: 20px;
  }
  .profile-options {
    grid-template-columns: 1fr;
  }
  .profile-option {
    padding: 10px;
  }
  .profile-option .avatar {
    width: 30px;
    height: 30px;
  }
  .global-search-trigger kbd {
    margin-left: 10px;
  }
  .rooms-grid {
    gap: 13px;
  }
  .room-card {
    padding: 14px 13px 0;
  }
  .room-card-bottom {
    margin: 0 -13px;
    padding: 8px 13px;
  }
  .slot-btn {
    font-size: 11px;
    padding: 7px;
    gap: 6px;
  }
}

@media(max-width:1020px) and (min-width:761px) {
  :root {
    --sidebar: 180px;
  }
  .sidebar {
    padding: 0 9px;
  }
  .workspace-lockup {
    padding: 10px 8px;
    margin-bottom: 20px;
  }
  .sidebar-footnote {
    padding: 0 9px;
  }
  .sidebar-profile {
    margin-left: 4px;
    margin-right: 4px;
  }
  .sidebar-profile .icon-btn {
    display: none;
  }
  .nav-item {
    font-size: 11px;
    gap: 8px;
    padding: 10px;
  }
  .nav-item.active:before {
    left: -9px;
  }
  .brand {
    height: 78px;
    font-size: 25px;
    gap: 9px;
  }
  .sidebar-quota {
    padding: 13px 8px;
  }
  .sidebar-bottom>.nav-item {
    font-size: 10px;
  }
  .page {
    padding: 25px 22px;
  }
  .topbar {
    padding: 0 22px;
    height: 63px;
  }
  .global-search-trigger {
    width: 34px;
    padding: 0;
    justify-content: center;
  }
  .global-search-trigger>span,.global-search-trigger kbd {
    display: none;
  }
  .desktop-breadcrumb {
    font-size: 11px;
  }
  .desktop-breadcrumb i {
    padding: 0 9px;
  }
  .desktop-breadcrumb strong {
    font-size: 11px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .profile-trigger {
    display: none;
  }
  .section-kicker {
    font-size: 10px;
  }
  .finder-main {
    gap: 12px;
    flex-wrap: wrap;
  }
  .campus-field {
    flex: 1;
  }
  .time-field {
    width: 119px;
  }
  .duration-options button {
    padding: 7px 9px;
  }
  .date-field {
    display: none;
  }
  .date-strip {
    width: 100%;
    justify-content: space-between;
  }
  .date-strip .day-chip {
    min-width: 45px;
  }
  .rooms-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .rooms-grid .room-card {
    padding: 15px 16px 0;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .settings-aside .policy-card {
    padding: 23px;
  }
  .profile-options {
    grid-template-columns: 1fr 1fr;
  }
  .tabs-toolbar {
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 10px;
  }
  .tabs {
    gap: 19px;
  }
  .tabs>button {
    font-size: 12px;
  }
  .request-card {
    padding: 18px;
    gap: 15px;
  }
  .request-actions {
    width: 100%;
    padding-left: 70px;
  }
  .request-card {
    flex-wrap: wrap;
  }
  .request-main {
    min-width: 220px;
  }
  .ensemble-content {
    padding: 21px;
  }
  .ensemble-agenda {
    padding: 0 21px 8px;
  }
  .ensembles-grid {
    gap: 17px;
  }
  .heading-actions .btn {
    font-size: 11px;
  }
  .heading-actions .btn:first-child {
    padding: 10px 12px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading .heading-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
    max-width: 155px;
  }
  .page-heading .heading-actions .btn {
    min-height: 36px;
  }
  h1 {
    font-size: 29px;
  }
  .page-description {
    font-size: 12px;
  }
}

/* Phone: navigation at the thumb edge, availability cards instead of a shrunken spreadsheet. */

@media(max-width:760px) {
  :root {
    --sidebar: 0px;
  }
  html {
    scrollbar-gutter: auto;
  }
  .sidebar {
    display: none;
  }
  .app-main {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding: 0 17px;
    padding-top: env(safe-area-inset-top);
    box-sizing: content-box;
    background: #ffffffef;
  }
  .desktop-breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0;
    font-size: 22px;
    letter-spacing: -1.2px;
    font-weight: 650;
    min-height: 44px;
  }
  .mobile-brand .brand-mark {
    width: 30px;
    height: 30px;
  }
  .topbar-actions {
    gap: 6px;
  }
  .global-search-trigger,.profile-trigger {
    display: none;
  }
  .demo-time {
    font-size: 10px;
    gap: 4px;
    padding: 6px;
    min-height: 30px;
    border-color: #edf0f5;
    background: #f8faff;
  }
  .demo-time strong {
    font-size: 10px;
  }
  .header-language select {
    width: 42px;
    min-height: 44px;
    font-size: 11px;
    padding: 0 3px;
  }
  .notification-button {
    min-width: 35px;
    width: 35px;
    height: 44px;
  }
  .notification-button i {
    top: 10px;
    right: 8px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    min-height: 68px;
    align-items: center;
    padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
    background: #ffffffed;
    border-top: 1px solid #e2e8f2;
    backdrop-filter: blur(18px);
    box-shadow: 0 -4px 18px #273f6510;
  }
  .mobile-nav .nav-item {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 10px;
    padding: 8px 3px;
    min-height: 56px;
    color: #5c6e8a;
    border-radius: 8px;
    line-height: 1.3;
    text-align: center;
  }
  .mobile-nav .nav-item.active {
    background: transparent;
    color: var(--blue);
  }
  .mobile-nav .nav-item.active:before {
    display: none;
  }
  .mobile-nav .nav-item.active>.icon {
    background: #eaf0ff;
    box-shadow: 0 0 0 6px #eaf0ff;
    border-radius: 4px;
  }
  .mobile-nav .nav-item>span {
    margin-top: 2px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bottom-dot {
    position: absolute;
    right: calc(50% - 13px);
    top: 7px;
    width: 5px;
    height: 5px;
    background: var(--blue);
    border-radius: 50%;
  }
  .page {
    padding: 25px 18px calc(92px + env(safe-area-inset-bottom));
    max-width: 600px;
  }
  .page-heading {
    gap: 13px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  .page-heading>div:first-child {
    flex: 1;
    min-width: 200px;
  }
  .page-heading .eyebrow {
    font-size: 10px;
    letter-spacing: 1.3px;
    margin-bottom: 10px;
  }
  h1 {
    font-size: 29px;
    line-height: 1.13;
    letter-spacing: -1.1px;
  }
  .page-description {
    font-size: 12px;
    line-height: 1.75;
    margin-top: 9px;
  }
  .page-heading>.btn.primary {
    min-height: 42px;
    font-size: 12px;
    padding: 10px 12px;
  }
  .page-heading>.btn.primary>span {
    max-width: 85px;
  }
  .page-today .page-heading>div:first-child {
    min-width: 190px;
  }
  .page-today .page-heading {
    align-items: flex-end;
    flex-wrap: nowrap;
  }
  .page-today .page-heading>.btn.primary {
    width: 43px;
    min-width: 43px;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 4px;
  }
  .page-today .page-heading>.btn.primary>span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
  }
  .page-heading>.data-label {
    display: none;
  }
  .page-footnote {
    display: block;
    margin-top: 26px;
    font-size: 10px;
    line-height: 1.75;
    padding-top: 16px;
  }
  .page-footnote button {
    font-size: 10px;
    display: flex;
    min-height: 35px;
    padding: 4px 0;
    text-align: left;
  }
  .heading-actions {
    gap: 8px;
    width: 100%;
    justify-content: space-between;
    margin-top: 4px;
  }
  .heading-actions>.btn {
    min-height: 41px;
    font-size: 12px;
    flex: 1;
    padding: 9px 11px;
  }
  .live-pill {
    font-size: 10px;
    padding: 2px 5px;
  }
  .section-kicker {
    font-size: 11px;
    color: #5a6e89;
    grid-column: 1;
  }
  .section-kicker>.icon-btn {
    display: none;
  }
  .section-heading {
    gap: 9px;
    margin-bottom: 14px;
  }
  .section-heading h2 {
    font-size: 15px;
    gap: 8px;
  }
  .section-heading .text-link {
    font-size: 11px;
    min-height: 34px;
  }
  .count {
    font-size: 10px;
    padding: 1px 4px;
    min-width: 17px;
  }
  .agenda-row {
    gap: 14px;
    padding: 17px 16px;
    min-height: 86px;
  }
  .agenda-title {
    font-size: 13px;
    line-height: 1.4;
  }
  .agenda-time {
    width: 37px;
  }
  .agenda-time strong {
    font-size: 13px;
  }
  .agenda-time span {
    font-size: 11px;
  }
  .agenda-room {
    font-size: 11px;
    gap: 2px;
    line-height: 1.5;
  }
  .agenda-trailing .btn {
    min-height: 39px;
    font-size: 11px;
    padding: 7px 8px;
    gap: 4px;
  }
  .agenda-trailing .btn .icon {
    width: 14px;
  }
  .agenda-trailing .avatar-stack {
    display: none;
  }
  .agenda-trailing .icon-btn {
    width: 25px;
    min-width: 25px;
  }
  .small-note {
    font-size: 10px;
    margin-top: 12px;
  }
  .favorites-section {
    margin-top: 0;
  }
  .favorites-section>.section-heading h2 {
    font-size: 15px;
  }
  .favorites-section>.section-heading .section-description {
    font-size: 11px;
    margin-bottom: 0;
  }
  .favorites-section>.section-heading {
    align-items: flex-start;
  }
  .favorites-section>.section-heading .text-link {
    font-size: 10px;
    white-space: nowrap;
    max-width: 115px;
  }
  .desktop-glance {
    display: none;
  }
  .mobile-glance {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .mobile-glance .room-card {
    padding: 16px 17px 0;
  }
  .mobile-glance .room-card-facts {
    display: none;
  }
  .mobile-glance .room-card {
    position: relative;
  }
  .mobile-glance .room-card-state {
    clear: both;
    padding-top: 16px;
    margin-top: 0;
  }
  .finder-panel {
    border-radius: 10px;
  }
  .finder-top {
    padding: 13px 10px;
    display: block;
  }
  .date-strip {
    width: 100%;
    display: grid;
    grid-template-columns: 22px repeat(7, minmax(0, 1fr)) 22px;
    gap: 2px;
  }
  .date-strip>.icon-btn {
    width: 24px;
    min-width: 24px;
    height: 44px;
  }
  .day-chip {
    width: 100%;
    min-width: 0;
    height: 53px;
    padding: 4px 0;
    gap: 6px;
    border-radius: 7px;
  }
  .day-chip small {
    font-size: 10px;
    max-width: 100%;
  }
  .day-label-wide {
    display: none;
  }
  .day-label-compact {
    display: inline;
  }
  .day-chip strong {
    font-size: 17px;
  }
  .date-field {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    margin: 11px 0 0;
    border-top: 1px solid #f0f3f7;
    padding: 9px 7px 0;
    justify-content: space-between;
  }
  .date-field span {
    font-size: 10px;
  }
  .date-field input {
    font-size: 12px;
    min-height: 32px;
    text-align: right;
    color: #526f96;
    max-width: 140px;
    padding: 0;
  }
  .finder-main {
    padding: 14px;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 15px 13px;
    align-items: flex-end;
  }
  .time-field {
    width: 110px;
  }
  .field>span,.field-label {
    font-size: 11px;
  }
  .field input,.field select,.field textarea {
    font-size: 16px;
    min-height: 44px;
    padding: 10px;
  }
  .input-with-icon>input {
    padding-left: 31px;
    font-size: 14px;
  }
  .input-with-icon>.icon {
    left: 9px;
    width: 15px;
  }
  .duration-field {
    min-width: 0;
    width: 100%;
    gap: 8px;
  }
  .duration-options {
    padding: 3px;
    gap: 1px;
    min-height: 44px;
  }
  .duration-options button {
    flex: 1;
    padding: 8px 3px;
    gap: 0;
    min-width: 0;
    font-size: 13px;
    min-height: 36px;
    justify-content: center;
  }
  .duration-options button>small {
    display: none;
  }
  .duration-field>.field-label:after {
    content: ' · min';
    font-size: 10px;
    color: #576f91;
  }
  .campus-field {
    grid-column: 1/3;
    grid-row: 2;
    margin-right: 63px;
    min-width: 0;
  }
  .campus-field>span {
    display: none;
  }
  .campus-field select {
    font-size: 13px;
    min-height: 41px;
    color: #536e96;
    background: #fbfcfe;
    padding: 9px 10px;
  }
  .find-now-btn {
    grid-column: 2;
    grid-row: 2;
    width: 54px;
    margin-left: auto;
    min-height: 41px;
    padding: 9px 7px;
    font-size: 11px;
    gap: 3px;
  }
  .find-now-btn>.icon {
    display: none;
  }
  .finder-filters {
    padding: 11px 14px;
    gap: 10px;
    display: grid;
    grid-template-columns: 1fr 119px;
  }
  .search-input {
    min-height: 37px;
    min-width: 0;
    gap: 7px;
  }
  .search-input input {
    font-size: 12px;
    min-height: 37px;
  }
  .type-select select {
    width: 119px;
    font-size: 11px;
    min-height: 37px;
    padding: 8px 5px;
  }
  .filter-chips {
    grid-column: 1/3;
    display: flex;
    gap: 7px;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-bottom: 2px;
  }
  .filter-chip {
    min-height: 38px;
    font-size: 10px;
    padding: 7px 7px;
    gap: 4px;
    flex: 1;
    justify-content: center;
    line-height: 1.3;
  }
  .filter-chip .icon {
    width: 12px;
  }
  .catalog-switch {
    margin-top: 16px;
    gap: 20px;
  }
  .catalog-switch>button {
    font-size: 11px;
    min-height: 45px;
    gap: 6px;
  }
  .catalog-switch>button>span {
    font-size: 10px;
  }
  .results-toolbar {
    padding: 13px 0;
    min-height: 61px;
  }
  .results-toolbar>span {
    font-size: 11px;
  }
  .results-toolbar>span>small {
    display: none;
  }
  .view-controls {
    gap: 5px;
  }
  .view-controls>.icon-btn,.range-control {
    display: none;
  }
  .segmented {
    gap: 2px;
    padding: 3px;
  }
  .segmented>button {
    min-height: 35px;
    padding: 7px 8px;
    gap: 5px;
    font-size: 10px;
  }
  .segmented>button .icon {
    width: 15px;
    height: 15px;
  }
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .room-card {
    padding: 17px 18px 0;
    border-radius: 11px;
  }
  .room-card-facts {
    font-size: 12px;
    margin-top: 12px;
  }
  .room-card-state {
    margin-top: 16px;
    margin-bottom: 12px;
  }
  .availability-label {
    font-size: 12px;
  }
  .slot-btn {
    min-height: 44px;
    font-size: 13px;
    gap: 12px;
    padding: 10px;
  }
  .room-card-bottom {
    font-size: 11px;
    min-height: 41px;
    margin: 0 -18px;
    padding: 9px 18px;
  }
  .room-card-bottom .tiny-label {
    font-size: 10px;
  }
  .room-card-bottom>.icon {
    width: 14px;
  }
  .schedule-grid {
    min-width: calc(var(--time-width) + 104px);
  }
  .schedule-corner,.schedule-room {
    width: 104px;
    min-width: 104px;
  }
  .schedule-corner {
    padding: 0 12px;
    font-size: 11px;
  }
  .schedule-room {
    padding: 0 10px;
  }
  .schedule-room-open {
    gap: 7px;
    min-height: 65px;
  }
  .schedule-room-open .room-symbol {
    display: none;
  }
  .schedule-room-open strong {
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .schedule-room-open small,
  .schedule-room > .icon-btn,
  .schedule-corner > .icon {
    display: none;
  }
  .schedule-room .icon-btn {
    width: 24px;
    min-width: 24px;
    height: 44px;
  }
  .schedule-room .icon-btn .icon {
    width: 13px;
  }
  .time-lane,.schedule-row {
    min-height: 65px;
  }
  .event-block {
    min-height: 44px;
    top: 9px;
  }
  .timeline-footer {
    padding: 12px;
    font-size: 10px;
    display: block;
  }
  .legend {
    gap: 12px;
  }
  .timeline-hint {
    margin-top: 9px;
    font-size: 10px;
  }
  .schedule-scroll {
    max-height: 530px;
  }
  .schedule-header {
    height: 43px;
  }
  .event-block strong {
    font-size: 11px;
  }
  .event-block small {
    font-size: 10px;
  }
  .load-more {
    margin: 20px 0;
    font-size: 11px;
  }
  .load-more .btn {
    font-size: 12px;
  }
  .tabs-toolbar {
    display: block;
    padding-bottom: 13px;
    margin-bottom: 20px;
  }
  .tabs-toolbar>.segmented {
    margin-top: 14px;
    display: flex;
    width: fit-content;
  }
  .tabs {
    gap: 20px;
    margin-bottom: 18px;
  }
  .tabs>button {
    font-size: 12px;
    gap: 5px;
    min-height: 46px;
  }
  .tabs>button>span {
    font-size: 10px;
    padding: 1px 4px;
  }
  .booking-list .agenda-row {
    padding: 17px 14px;
    gap: 12px;
    min-height: 87px;
  }
  .booking-list .agenda-title {
    font-size: 13px;
  }
  .booking-list .agenda-room {
    font-size: 11px;
  }
  .day-heading {
    padding: 13px 15px;
  }
  .day-heading h3 {
    font-size: 11px;
  }
  .agenda-group {
    margin-bottom: 20px;
  }
  .checked-label {
    font-size: 10px;
    max-width: 56px;
    gap: 4px;
  }
  .checked-label .icon {
    width: 13px;
  }
  .week-toolbar {
    font-size: 11px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .week-toolbar>.btn:last-child {
    font-size: 11px;
    padding: 6px 10px;
    min-height: 37px;
  }
  .week-toolbar>.icon-btn {
    width: 30px;
    min-width: 30px;
  }
  .week-toolbar>strong {
    font-size: 11px;
    flex: 1;
  }
  .week-grid {
    grid-template-columns: repeat(7,150px);
    min-height: 355px;
  }
  .week-event {
    padding: 13px 9px;
    min-height: 78px;
  }
  .ensembles-grid {
    grid-template-columns: 1fr;
    gap: 21px;
  }
  .ensemble-banner {
    min-height: 116px;
    padding: 23px;
  }
  .ensemble-content {
    padding: 23px;
  }
  .ensemble-content>h2 {
    font-size: 22px;
  }
  .ensemble-content>p {
    font-size: 13px;
  }
  .ensemble-members>span {
    font-size: 13px;
  }
  .ensemble-members small {
    font-size: 12px;
  }
  .ensemble-content>.btn {
    min-height: 44px;
    font-size: 13px;
  }
  .ensemble-agenda {
    padding: 0 23px 10px;
  }
  .ensemble-agenda>h3 {
    font-size: 12px;
  }
  .footnote {
    font-size: 11px;
    margin-top: 20px;
  }
  .info-banner {
    font-size: 12px;
    padding: 14px;
    gap: 9px;
    line-height: 1.8;
    margin-bottom: 20px;
  }
  .request-card {
    padding: 18px 15px;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .request-date {
    width: 45px;
    height: 59px;
    border-radius: 7px;
  }
  .request-date strong {
    font-size: 24px;
  }
  .request-date small {
    font-size: 10px;
  }
  .request-main {
    width: calc(100% - 59px);
    flex: initial;
  }
  .request-title {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .request-title h3 {
    font-size: 14px;
  }
  .request-title .badge {
    font-size: 10px;
  }
  .request-main>p {
    font-size: 11px;
    gap: 4px;
    margin-top: 12px;
  }
  .request-owner {
    font-size: 11px;
    margin-top: 12px;
  }
  .request-actions {
    width: 100%;
    padding-left: 59px;
    margin-top: 0;
  }
  .request-actions>.btn {
    width: 100%;
    min-height: 41px;
    font-size: 12px;
  }
  .settings-layout {
    display: block;
  }
  .settings-section {
    padding-bottom: 24px;
    margin-bottom: 25px;
  }
  .settings-section>h2 {
    font-size: 16px;
  }
  .settings-section>p {
    font-size: 12px;
  }
  .setting-row {
    gap: 13px;
  }
  .setting-row>div {
    flex: 1;
  }
  .setting-row h3 {
    font-size: 12px;
  }
  .setting-row p {
    font-size: 11px;
    line-height: 1.7;
  }
  .setting-row select {
    width: 118px;
    min-height: 44px;
    font-size: 13px;
  }
  .profile-options {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }
  .profile-option {
    padding: 12px 9px;
    gap: 7px;
    flex-wrap: wrap;
  }
  .profile-option .avatar {
    width: 29px;
    height: 29px;
    font-size: 10px;
  }
  .profile-option strong {
    font-size: 11px;
  }
  .profile-option small {
    font-size: 10px;
  }
  .profile-option>.icon {
    position: absolute;
    clip: rect(0,0,0,0);
  }
  .settings-section .button-row {
    gap: 8px;
  }
  .settings-section .button-row .btn {
    font-size: 11px;
    min-height: 43px;
    flex: 1;
  }
  .demo-clock-display {
    gap: 10px;
    padding: 15px;
  }
  .demo-clock-display>span {
    font-size: 11px;
  }
  .demo-clock-display>strong {
    font-size: 23px;
  }
  .settings-aside {
    margin-top: 32px;
  }
  .policy-card {
    padding: 23px;
  }
  .policy-card>h3 {
    font-size: 13px;
  }
  .policy-card>p {
    font-size: 12px;
  }
  .policy-card>.text-link {
    font-size: 12px;
    min-height: 44px;
  }
  .switch {
    min-height: 30px;
    min-width: 46px;
    padding: 5px;
  }
  .switch>span {
    width: 20px;
    height: 20px;
  }
  .switch.on>span {
    transform: translateX(16px);
  }
  .empty-state {
    padding: 40px 18px;
  }
  .empty-state p {
    font-size: 12px;
  }
  .app-dialog,.app-dialog.center-dialog {
    inset: auto 0 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100dvh - 12px - env(safe-area-inset-top));
    border: 0;
    border-top: 1px solid #e4ebf6;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 50px #18395528;
  }
  .app-dialog[open] {
    animation: fade-in 220ms cubic-bezier(.2,.8,.2,1);
  }
  .app-dialog:not(.center-dialog) {
    height: calc(100dvh - 16px - env(safe-area-inset-top));
  }
  .sheet-handle {
    display: block;
    width: 32px;
    min-height: 4px;
    height: 4px;
    background: #d4deec;
    border-radius: 4px;
    margin: 8px auto 0;
    flex-shrink: 0;
  }
  .sheet-header {
    padding: 16px 20px 17px;
    gap: 12px;
  }
  .sheet-header h2 {
    font-size: 22px;
    letter-spacing: -.5px;
    line-height: 1.3;
  }
  .sheet-header .eyebrow {
    font-size: 10px;
    margin-bottom: 6px;
  }
  .sheet-header>.icon-btn {
    height: 42px;
    width: 42px;
    min-width: 42px;
    margin: -4px -5px 0 0;
  }
  .sheet-body {
    padding: 20px;
    overflow: auto;
  }
  .sheet-footer {
    padding: 15px 20px calc(17px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 12px #243c5603;
  }
  .sheet-footer .btn {
    min-height: 46px;
    font-size: 13px;
  }
  .sheet-body .field input,.sheet-body .field select,.sheet-body .field textarea {
    font-size: 16px;
    min-height: 46px;
    border-radius: 8px;
    padding: 11px;
  }
  .sheet-body .field select {
    font-size: 14px;
  }
  .sheet-body .field textarea {
    font-size: 14px;
  }
  .sheet-body .field>span {
    font-size: 12px;
  }
  .form-room-policy {
    font-size: 11px;
    min-height: 30px;
    margin-top: -3px;
    margin-bottom: 16px;
  }
  .form-datetime {
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }
  .form-datetime .field input {
    font-size: 13px;
    padding: 10px 7px;
    min-width: 0;
    width: 100%;
  }
  .form-datetime .field>span {
    font-size: 11px;
  }
  .form-durations {
    gap: 7px;
    margin-bottom: 20px;
  }
  .form-durations button {
    font-size: 11px;
    min-height: 42px;
    padding: 8px 6px;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
  }
  .form-two-columns {
    grid-template-columns: 1.3fr 1fr;
    gap: 13px;
  }
  .duration-summary {
    height: 46px;
    font-size: 13px;
  }
  .form-disclosure>summary {
    min-height: 59px;
    font-size: 13px;
    gap: 8px;
  }
  .participant-grid {
    gap: 8px;
    grid-template-columns: 1fr 1fr;
  }
  .participant-option {
    gap: 6px;
    padding: 10px 7px;
    min-height: 59px;
    flex-wrap: wrap;
  }
  .participant-option>.avatar {
    display: none;
  }
  .participant-option input {
    width: 16px;
    height: 16px;
  }
  .participant-option strong {
    font-size: 12px;
  }
  .participant-option small {
    font-size: 10px;
  }
  .participant-option>span:last-child {
    flex: 1;
  }
  .form-footnote {
    font-size: 11px;
    line-height: 1.8;
  }
  .validation-errors {
    font-size: 12px;
    padding: 12px;
    line-height: 1.65;
  }
  .validation-errors>.icon {
    width: 17px;
  }
  .validation-ok {
    font-size: 12px;
    line-height: 1.75;
  }
  .booking-cost {
    padding: 13px 14px;
  }
  .booking-cost>div {
    font-size: 11px;
  }
  .booking-cost strong {
    font-size: 12px;
  }
  .series-preview span {
    font-size: 11px;
  }
  .room-detail-lead {
    gap: 13px;
  }
  .room-detail-lead .room-symbol.large {
    height: 58px;
    width: 58px;
    border-radius: 13px;
  }
  .room-detail-lead h3 {
    font-size: 15px;
  }
  .room-detail-lead p {
    font-size: 11px;
  }
  .room-metrics {
    gap: 16px;
    padding: 20px 0;
  }
  .room-metrics strong {
    font-size: 13px;
  }
  .detail-section>h3 {
    font-size: 14px;
  }
  .detail-section>p {
    font-size: 13px;
  }
  .detail-note,.detail-section>p.detail-note {
    font-size: 12px;
  }
  .equipment-list li {
    font-size: 13px;
    line-height: 1.7;
  }
  .event-detail-time>strong {
    font-size: 35px;
  }
  .event-detail-time>p {
    font-size: 13px;
  }
  .booking-room-link {
    padding: 16px;
    gap: 11px;
  }
  .booking-room-link strong {
    font-size: 13px;
  }
  .booking-room-link small {
    font-size: 11px;
  }
  .checkin-panel {
    padding: 17px;
  }
  .checkin-panel>p {
    font-size: 13px;
  }
  .detail-people {
    gap: 15px 10px;
  }
  .detail-people>div {
    gap: 8px;
  }
  .detail-people strong {
    font-size: 12px;
  }
  .detail-people small {
    font-size: 10px;
  }
  .center-dialog .sheet-header h2 {
    font-size: 21px;
  }
  .success-body {
    padding: 11px 0 10px;
  }
  .success-body h3 {
    font-size: 21px;
  }
  .success-body>p {
    font-size: 13px;
  }
  .success-time {
    font-size: 31px;
  }
  .confirm-body>p {
    font-size: 13px;
  }
  .cancel-options>label {
    min-height: 49px;
    font-size: 13px;
  }
  .center-dialog .button-row {
    gap: 8px;
  }
  .center-dialog .button-row>.btn {
    font-size: 12px;
  }
  .search-dialog {
    inset: auto 0 0;
    max-height: 90dvh;
    width: 100%;
    max-width: 100%;
    border-radius: 18px 18px 0 0;
  }
  .search-dialog .sheet-header {
    padding: 14px 20px;
  }
  .search-dialog .sheet-body {
    padding: 9px 20px 23px;
  }
  .global-search-field {
    gap: 10px;
  }
  .global-search-field input {
    font-size: 16px;
  }
  .global-search-field kbd {
    display: none;
  }
  .search-group>button {
    min-height: 64px;
  }
  .search-group strong {
    font-size: 13px;
  }
  .search-group small {
    font-size: 11px;
  }
  .search-group>h3 {
    font-size: 11px;
  }
  .notice-item {
    padding: 16px 9px;
    min-height: 87px;
  }
  .notice-item strong {
    font-size: 13px;
  }
  .notice-item small {
    font-size: 12px;
  }
  .source-fact-grid {
    gap: 8px;
  }
  .source-fact-grid>div {
    padding: 13px 10px;
  }
  .source-fact-grid strong {
    font-size: 25px;
  }
  .source-fact-grid span {
    font-size: 10px;
  }
  .source-info>p {
    font-size: 13px;
  }
  .source-info>h3 {
    font-size: 14px;
  }
  .source-categories>span {
    font-size: 12px;
    line-height: 1.6;
  }
  .toast {
    left: 50%;
    bottom: calc(84px + env(safe-area-inset-bottom));
    font-size: 12px;
    padding: 13px 15px;
    width: max-content;
    max-width: calc(100vw - 28px);
  }
  .toast small {
    font-size: 10px;
  }
  .skip-link {
    left: 10px;
  }
}

@media(max-width:365px) {
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }
  .topbar {
    padding-left: 13px;
    padding-right: 13px;
  }
  .mobile-brand {
    font-size: 20px;
    gap: 6px;
  }
  .topbar-actions {
    gap: 4px;
  }
  .demo-time {
    padding: 5px 4px;
    font-size: 10px;
  }
  .demo-time strong {
    font-size: 10px;
  }
  .header-language select {
    width: 35px;
  }
  .notification-button {
    width: 30px;
    min-width: 30px;
  }
  .date-strip>.icon-btn {
    width: 22px;
    min-width: 22px;
  }
  .finder-main {
    padding: 12px;
    gap: 12px 9px;
    grid-template-columns: 103px 1fr;
  }
  .time-field {
    width: 103px;
  }
  .duration-options button {
    font-size: 12px;
  }
  .filter-chip {
    font-size: 10px;
    padding: 7px 5px;
  }
  .filter-chip .icon {
    width: 11px;
  }
  .catalog-switch {
    gap: 14px;
  }
  .catalog-switch>button {
    font-size: 10px;
  }
  .page-today .page-heading>div:first-child {
    min-width: 175px;
  }
  h1 {
    font-size: 27px;
  }
  .form-datetime {
    grid-template-columns: 1fr 1fr;
  }
  .form-datetime>.field:first-child {
    grid-column: 1/3;
  }
  .form-datetime .field input {
    font-size: 14px;
  }
  .sheet-body {
    padding: 18px;
  }
  .sheet-header {
    padding: 16px 18px;
  }
  .sheet-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .profile-options {
    grid-template-columns: 1fr;
  }
  .profile-option strong {
    font-size: 13px;
  }
  .profile-option small {
    font-size: 11px;
  }
  .mobile-nav .nav-item {
    font-size: 10px;
  }
}

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

.reduce-motion,.reduce-motion *,.reduce-motion::before,.reduce-motion::after,.reduce-motion *::before,.reduce-motion *::after,.reduce-motion *::backdrop {
  animation: none!important;
  transition: none!important;
  scroll-behavior: auto!important;
}

@media print {
  .sidebar,.topbar,.mobile-nav,.page-footnote,.page-heading>.btn,.heading-actions,.tabs-toolbar,.sheet-footer {
    display: none!important;
  }
  .app-main {
    margin: 0;
  }
  .page {
    padding: 0;
  }
  .app-dialog {
    position: static;
    width: 100%;
    height: auto;
  }
  .page-footnote {
    display: block;
  }
  body {
    background: white;
  }
}

/* Final usability pass: above-the-fold availability on phones. */

.mobile-filter-toggle {
  display: none;
}

.footer-validation {
  font-size: 11px;
  line-height: 1.5;
  color: #93484b;
  padding: 0 0 11px;
}

.footer-validation[hidden] {
  display: none;
}

@media(max-width:760px) {
  .page-rooms .page-heading .eyebrow {
    display: none;
  }
  .page-rooms .page-heading {
    margin-bottom: 19px;
  }
  .page-rooms h1 {
    font-size: 27px;
  }
  .page-rooms .page-description {
    font-size: 12px;
    margin-top: 8px;
  }
  .finder-top {
    padding: 10px 9px;
  }
  .finder-top .date-field {
    display: none;
  }
  .finder-panel.filters-open .date-field {
    display: flex;
  }
  .finder-main {
    grid-template-columns: 126px 1fr;
    padding: 13px 14px;
    gap: 13px;
  }
  .time-field {
    width: 126px;
  }
  .time-field .input-with-icon>.icon {
    display: none;
  }
  .time-field .input-with-icon>input {
    padding: 9px 7px;
    font-size: 12px;
  }
  .finder-main .campus-field,.finder-main .find-now-btn {
    display: none;
  }
  .finder-location-row {
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    gap: 10px;
    align-items: flex-end;
  }
  .finder-panel.filters-open .finder-location-row {
    display: flex;
  }
  .finder-panel.filters-open .campus-field {
    display: flex;
    margin-right: 0;
  }
  .finder-panel.filters-open .find-now-btn {
    display: flex;
    width: auto;
    margin-left: 0;
    padding: 9px 12px;
    white-space: nowrap;
  }
  .finder-filters {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 10px 14px;
    gap: 8px;
  }
  .finder-filters .search-input {
    min-height: 39px;
  }
  .finder-filters .type-select,.finder-filters .filter-chips {
    display: none;
  }
  .mobile-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 42px;
    padding: 9px;
    border: 1px solid #e5ebf5;
    border-radius: 6px;
    font-size: 11px;
    color: #617898;
    background: #f8faff;
  }
  .mobile-filter-toggle.selected {
    background: #edf3ff;
    border-color: #b8ccef;
    color: #385e9b;
  }
  .finder-panel.filters-open .finder-filters .type-select {
    display: block;
    grid-column: 1/3;
  }
  .finder-panel.filters-open .type-select select {
    width: 100%;
    min-height: 40px;
    font-size: 12px;
    padding: 8px 10px;
  }
  .finder-panel.filters-open .finder-filters .filter-chips {
    display: flex;
  }
  .catalog-switch {
    margin-top: 14px;
  }
  .results-toolbar {
    min-height: 58px;
    padding: 11px 0;
  }
  .rooms-grid .room-card {
    position: relative;
    padding: 16px 18px 0;
  }
  .rooms-grid .unknown-facts {
    display: none;
  }
  .rooms-grid .room-card-facts {
    clear: both;
    padding-top: 12px;
    margin: 0;
    font-size: 11px;
  }
  .rooms-grid .room-card-state {
    clear: both;
    padding-top: 16px;
    margin: 0 0 12px;
  }
  .rooms-grid .room-card-facts:not(.unknown-facts)+.room-card-state {
    padding-top: 12px;
  }
  .rooms-grid .room-card-bottom {
    min-height: 39px;
    font-size: 11px;
  }
  .rooms-grid .availability-label {
    font-size: 12px;
  }
}

@media(max-width:365px) {
  .finder-main {
    grid-template-columns: 115px 1fr;
    padding: 12px;
    gap: 9px;
  }
  .time-field {
    width: 115px;
  }
  .time-field .input-with-icon>input {
    font-size: 11px;
  }
  .duration-options button {
    font-size: 11px;
  }
}

.footer-summary {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 11px;
}

.footer-summary>span:last-child {
  text-align: right;
  color: #4d6284;
}

/* Find a room: a compact search strip and comparable, bookable results. */
.page-rooms { max-width: 1180px; }
.finder-heading { margin-bottom: 24px; }
.quick-finder { position: relative; padding: 16px 6px; background: white; border: 1px solid #dfe5ed; border-radius: 10px; }
.finder-time-fields { display: grid; grid-template-columns: 1.35fr 1.15fr 1fr 1fr; align-items: start; min-width: 0; }
.quick-finder .field { gap: 2px; min-width: 0; padding: 0 18px; }
.quick-finder .field+.field { border-left: 1px solid #e8ecf2; }
.quick-finder .field>label,.quick-finder .field>span,.finder-field-label { font-size: 12px; color: #717c8e; line-height: 22px; font-weight: 400; min-height: 26px; }
.finder-field-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.finder-field-label>label { min-width: 0; }
.finder-now { color: #3155ce; font-size: 11px; font-weight: 500; min-height: 28px; margin: -2px -5px; padding: 2px 6px; border-radius: 4px; }
.finder-now:hover { background: #eef2ff; }
#finder-session-length { font-size: 11px; color: #758196; white-space: nowrap; font-variant-numeric: tabular-nums; }
.quick-finder .field input,.quick-finder .field select { width: 100%; min-width: 0; height: 38px; min-height: 38px; padding: 5px 7px; margin-left: -7px; color: #303d52; font-size: 16px; font-weight: 500; background-color: transparent; border: 1px solid transparent; border-radius: 5px; }
.quick-finder .field select { padding-right: 28px; }
.quick-finder .field input:hover,.quick-finder .field select:hover { background-color: #f7f9fc; }
.quick-finder .time-picker-toggle { right: 7px; color: #7b889b; }
.quick-finder .time-picker-control input { padding-right: 38px; }
.finder-search-bar { display: flex; align-items: center; gap: 18px; padding: 8px 0; margin-top: 8px; border-bottom: 1px solid #e2e7ee; }
.finder-name-search { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; max-width: 340px; color: #7b879a; border-bottom: 1px solid transparent; }
.finder-name-search .icon { flex-shrink: 0; }
.finder-name-search input { width: 100%; min-width: 0; min-height: 38px; padding: 8px 0; background: transparent; border: 0; color: #34425b; font-size: 13px; }
.finder-name-search input::placeholder { color: #768296; }
.finder-needs-button { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; margin-left: auto; padding: 8px 0 8px 10px; border-radius: 6px; font-size: 12px; color: #556680; }
.finder-needs-button:hover,.finder-needs-button.selected { color: #3155ce; }
.finder-needs-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 4px; background: #3155ce; color: white; font-size: 10px; }
.finder-needs-count[hidden] { display: none; }
.finder-needs { display: flex; align-items: end; flex-wrap: wrap; gap: 14px; padding: 16px; margin-top: 12px; background: #f0f3f8; border: 1px solid #e2e7ef; border-radius: 8px; }
.finder-needs[hidden] { display: none; }
.finder-needs .field { flex: 1; max-width: 270px; }
.finder-needs .text-link { font-size: 12px; min-height: 43px; }
.finder-saved-filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 43px; padding: 9px 12px; border: 1px solid #d5deed; border-radius: 6px; background: white; font-size: 12px; color: #5b6d89; }
.finder-saved-filter[aria-pressed="true"] { color: #3155ce; border-color: #aabdea; background: #edf2ff; }
.finder-results-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 24px 0 14px; }
.finder-results-heading h2 { color: #303b4e; font-size: 17px; line-height: 1.4; font-weight: 550; }
.finder-results-heading p { margin-top: 4px; color: #6b788d; font-size: 12px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.finder-results-heading p strong { font-weight: 500; color: #4f617e; }
.finder-room-list { overflow: hidden; border: 1px solid #dfe5ed; border-radius: 10px; background: white; }
.finder-room-row { display: grid; grid-template-columns: 36px minmax(150px,1fr) minmax(175px,.45fr) auto; align-items: center; gap: 14px; min-height: 90px; padding: 16px 20px; }
.finder-room-row+.finder-room-row { border-top: 1px solid #e9edf3; }
.finder-room-row>.room-symbol { width: 36px; height: 38px; border-radius: 7px; background: #f2f5fa; color: #697e9c; }
.finder-room-identity { min-width: 0; }
.finder-room-identity .text-button { text-align: start; color: #303d53; }
.finder-room-identity .text-button:hover { color: #3155ce; }
.finder-room-identity h3 { font-size: 15px; line-height: 1.4; font-weight: 550; overflow-wrap: anywhere; }
.finder-room-identity p { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: #718097; }
.finder-room-availability { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin: 0; color: #40516b; font-size: 13px; line-height: 1.5; font-variant-numeric: tabular-nums; }
.finder-room-availability strong { font-size: 14px; font-weight: 500; }
.finder-room-availability .finder-free-until { display: inline-flex; align-items: center; gap: 6px; color: #4d7b68; font-size: 11px; }
.finder-status-dot { width: 5px; height: 5px; border-radius: 50%; background: #409776; flex-shrink: 0; }
.finder-book { min-height: 40px; padding: 9px 13px; font-size: 12px; white-space: normal; line-height: 1.4; }
.finder-later-row .finder-room-availability>span { font-size: 12px; color: #778397; }
.finder-later-row .finder-book { max-width: 180px; }
.finder-empty { padding: 18px 20px; border: 1px solid #e0e6ef; border-radius: 9px; background: white; }
.finder-empty>p { margin: 0; color: #5f6e83; font-size: 13px; line-height: 1.6; }
.finder-empty-actions { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-top: 8px; }
.finder-empty-actions .text-link { font-size: 12px; min-height: 36px; }
.finder-notice { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 20px; border: 1px solid #e3e6eb; border-radius: 9px; background: white; }
.finder-notice>.icon { color: #8b784e; flex-shrink: 0; }
.finder-notice h2 { font-size: 15px; }
.finder-notice p { margin: 4px 0 0; color: #697a92; font-size: 13px; }
.finder-notice>.btn { margin-left: auto; }
.finder-alternatives { margin-top: 30px; }
@media(max-width:1100px) {
 .quick-finder .field { padding: 0 12px; }
 .finder-room-row { grid-template-columns: 32px minmax(130px,1fr) minmax(160px,.6fr) auto; gap: 12px; padding: 15px 16px; }
 .finder-room-row>.room-symbol { width: 32px; height: 36px; }
}
@media(max-width:900px) and (min-width:761px), (max-width:620px) {
 .quick-finder { padding: 4px 14px; }
 .finder-time-fields { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
 .quick-finder .field { padding: 12px 0; }
 .quick-finder .field:nth-child(2n) { padding-left: 18px; }
 .quick-finder .field:nth-child(2n+1) { border-left: 0; padding-right: 18px; }
 .quick-finder .finder-start,.quick-finder .finder-end { border-top: 1px solid #e8ecf2; }
}
@media(max-width:760px) {
 .quick-finder .field input,.quick-finder .field select,.finder-name-search input,.finder-needs select { font-size: 16px; }
 .finder-name-search input::placeholder { font-size: 12px; }
 .finder-results-heading { flex-wrap: wrap; margin-top: 20px; }
 .finder-needs .field { max-width: none; }
 .finder-room-row { grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; padding: 14px; }
 .finder-room-row>.room-symbol { width: 30px; height: 34px; }
 .finder-room-identity { grid-column: 2 / -1; }
 .finder-room-availability { grid-column: 1 / 3; font-size: 12px; }
 .finder-room-identity h3 { font-size: 14px; }
 .finder-room-identity p { font-size: 11px; }
 .finder-book { grid-column: 3; min-height: 44px; padding: 9px 12px; }
 .finder-later-row .finder-book { max-width: 140px; }
 .finder-notice { flex-wrap: wrap; padding: 16px; }
 .finder-notice>.btn { margin: 0 0 0 34px; }
}
@media(max-width:540px) {
 .finder-search-bar { gap: 8px; margin-top: 6px; }
 .finder-needs-button { gap: 5px; padding: 8px 0 8px 4px; min-height: 44px; }
 .finder-needs-button>.icon:last-child { display: none; }
 .finder-needs-button>span:first-of-type { max-width: 90px; font-size: 11px; }
 .finder-needs { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 12px; padding: 12px; }
 .finder-results-heading h2 { font-size: 16px; }
 .finder-empty { padding: 15px; }
}
@media(max-width:380px) {
 .quick-finder .finder-location,.quick-finder .finder-date { grid-column: 1 / -1; padding: 10px 0; border-left: 0; }
 .quick-finder .finder-date { border-top: 1px solid #e8ecf2; }
 .finder-field-label { flex-wrap: wrap; gap: 0 4px; }
 .finder-needs .field { grid-column: 1 / -1; }
 .finder-room-row { padding: 12px; }
 .finder-later-row .finder-book { max-width: 117px; font-size: 11px; padding: 8px; }
 .finder-room-availability { font-size: 11px; }
}

/* Independent clock fields, followed by the room’s actual free period. */
.booking-when {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.booking-when .field { min-width: 0; }
.booking-when .field > label { color: #606e85; font-size: 12px; }
.booking-when .field input,.booking-when .field select { min-width: 0; width: 100%; height: 44px; }
.booking-end-summary { margin: 9px 0 12px; color: #56667e; font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }

.time-picker { position: relative; min-width: 0; width: 100%; }
.time-picker-control { position: relative; width: 100%; }
.time-picker .time-picker-control input { padding-right: 38px; font-variant-numeric: tabular-nums; width: 100%; min-width: 0; }
.time-picker .time-picker-control input[aria-invalid="true"] { border-color: #b35b52; }
.time-picker-toggle { position: absolute; inset: 1px 1px 1px auto; width: 36px; display: grid; place-items: center; border-radius: 0 7px 7px 0; color: #5b6d85; }
.time-picker-toggle:hover { background: #eff3fb; color: #2d50cc; }
.time-picker-error { display: block; color: #9b493f; font-size: 11px; line-height: 1.4; margin-top: 6px; }
.time-picker-error[hidden] { display: none; }
.time-picker-popover {
  position: fixed;
  inset: auto;
  margin: 0;
  padding: 16px;
  width: min(308px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 1px solid #dbe2ef;
  border-radius: 14px;
  background: white;
  color: #303d53;
  box-shadow: 0 12px 42px #20344c28, 0 2px 7px #20344c12;
}
.time-picker-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; font-size: 13px; }
.time-picker-title strong { font-weight: 550; }
.time-picker-title output { font-size: 19px; color: #2d4fb6; font-variant-numeric: tabular-nums; }
.time-picker-unit + .time-picker-unit { margin-top: 15px; }
.time-picker-unit > span { display: block; font-size: 11px; font-weight: 550; color: #68778c; margin-bottom: 6px; }
.time-picker-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 4px; }
.time-picker-grid button { min-height: 36px; border-radius: 6px; font-size: 13px; font-variant-numeric: tabular-nums; color: #445570; }
.time-picker-grid button:hover { background: #f0f3fa; }
.time-picker-grid button[aria-pressed="true"] { background: #3154d5; color: white; font-weight: 550; }
.time-picker-grid button:focus-visible { outline-offset: 1px; }
.time-picker-footer { display: flex; align-items: center; gap: 12px; border-top: 1px solid #e9edf4; margin-top: 15px; padding-top: 12px; }
.time-picker-footer small { flex: 1; color: #6b788d; font-size: 11px; line-height: 1.45; }
.time-picker-footer .btn { min-height: 36px; padding: 8px 13px; font-size: 12px; }
@media (max-width: 540px) {
  .booking-when { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .booking-when > .booking-date { grid-column: 1 / -1; }
  .sheet-body .booking-when .field input { font-size: 16px; height: 46px; }
  .sheet-body .booking-when .time-picker-control input { padding-right: 38px; }
  .time-picker-grid button { min-height: 40px; }
}

/* Clear room access, saved-room actions and booking choices. */
.dashboard-room-access { margin: 0 0 28px; }
.dashboard-room-access > .section-heading { gap: 16px; margin-bottom: 14px; align-items: flex-start; }
.dashboard-room-access .section-description { margin-top: 5px; font-size: 12px; color: #687387; line-height: 1.5; }
.dashboard-room-access .section-heading > .text-link { flex-shrink: 0; }
.access-room-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.access-room { min-width: 0; border: 1px solid var(--border); border-radius: 10px; background: white; }
.access-room-link { display: flex; width: 100%; height: 100%; min-height: 112px; flex-direction: column; align-items: stretch; gap: 15px; padding: 16px; text-align: left; border-radius: inherit; }
.access-room-link:hover { background: #f9faff; }
.access-room-identity { display: flex; gap: 10px; align-items: center; min-width: 0; }
.access-room-identity > span:last-child { display: grid; gap: 4px; min-width: 0; }
.access-room-identity strong { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.access-room-identity small { font-size: 10px; color: #687387; line-height: 1.45; overflow-wrap: anywhere; }
.access-room-action { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; color: var(--blue); font-size: 11px; font-weight: 550; }
.room-card-header { grid-template-columns: 36px minmax(0,1fr) auto; }
.room-save-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 4px; align-self: start; min-height: 36px; padding: 6px 7px; border-radius: 6px; color: #667187; font-size: 10px; }
.room-save-toggle:hover { background: #f4f6fa; }
.room-save-toggle.is-favorite { color: #84662e; }
.room-save-toggle.is-favorite .icon { fill: #f1e4c7; stroke: #a98742; }
.room-favorite-remove { display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 5px 0; color: #6b7484; font-size: 10px; line-height: 1.4; text-align: left; }
.room-favorite-remove:hover { color: #293b5b; text-decoration: underline; text-underline-offset: 3px; }
.room-card-favorite-action { margin-top: -5px; padding-bottom: 9px; }
.favorites-schedule .schedule-room { display: grid; grid-template-columns: minmax(0,1fr); align-content: center; padding-top: 5px; padding-bottom: 5px; }
.favorites-schedule .schedule-room-open { min-height: 42px; padding: 4px 0; }
.favorites-schedule .room-favorite-remove { justify-self: start; padding-left: 38px; }
.favorites-schedule .schedule-row,.favorites-schedule .time-lane { min-height: 88px; }
.favorites-empty { padding: 20px; color: #687387; border: 1px solid var(--border); border-radius: 10px; background: white; font-size: 13px; }
.room-booking-choices { margin: 0 0 14px; }
.room-booking-choices > p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; margin: 0 0 5px; font-size: 10px; line-height: 1.5; color: #6a7487; }
.room-booking-choices > p > span { white-space: nowrap; }
.room-choice-list { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
.room-choice-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 7px 10px; padding: 9px 0; }
.room-choice-row + .room-choice-row { border-top: 1px solid #edf0f5; }
.room-choice-time { color: #34435e; font-size: 12px; font-weight: 550; font-variant-numeric: tabular-nums; white-space: nowrap; }
.room-choice-action.btn { flex: 0 1 auto; min-width: 0; max-width: 100%; min-height: 36px; padding: 7px 9px; font-size: 10px; color: #365da1; border-color: #dce4f1; gap: 5px; }
.room-choice-action > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width:1100px) {
 .access-room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
 .dashboard-room-access { margin-bottom: 24px; }
 .dashboard-room-access .section-description { font-size: 11px; }
 .access-room-link { min-height: 116px; padding: 13px; gap: 12px; }
 .access-room-identity { gap: 8px; align-items: flex-start; }
 .access-room-identity .room-symbol { width: 25px; height: 28px; border-radius: 6px; }
 .access-room-identity strong { font-size: 13px; }
 .room-save-toggle { min-height: 40px; }
 .room-favorite-remove { min-height: 40px; font-size: 11px; }
 .room-choice-action.btn { min-height: 42px; font-size: 11px; }
 .room-booking-choices > p { font-size: 11px; }
 .room-choice-time { font-size: 13px; }
 .favorites-schedule .schedule-corner,.favorites-schedule .schedule-room { width: 144px; min-width: 144px; }
 .favorites-schedule .schedule-grid { min-width: calc(var(--time-width) + 144px); }
 .favorites-schedule .room-favorite-remove { padding-left: 0; font-size: 10px; }
}
@media (max-width:380px) {
 .access-room-grid { grid-template-columns: minmax(0,1fr); gap: 8px; }
 .access-room-link { flex-direction: row; align-items: center; min-height: 78px; }
 .access-room-identity { flex: 1; align-items: center; }
 .access-room-action { margin-top: 0; flex-shrink: 0; }
 .room-save-toggle { gap: 3px; padding: 5px; font-size: 9px; }
}

/* Keep booking states explicit and action labels readable across languages. */
.week-empty-summary { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.5; }
.week-event .badge { display: inline-flex; align-self: flex-start; width: auto; white-space: normal; text-align: left; line-height: 1.4; padding: 3px 5px; gap: 4px; color: inherit; }
.week-event.cancelled,.week-event.rejected { background: #f2f3f6; color: #737a87; }
.week-event.cancelled>strong,.week-event.rejected>strong { text-decoration: line-through; }
.ensemble-content h2,.ensemble-content>p { overflow-wrap: anywhere; }
.ensemble-member-name { min-width: 0; overflow-wrap: anywhere; }
.ensemble-members .tiny-dot { flex: 0 0 4px; }
.ensemble-members small { flex: 0 1 auto; text-align: right; }
@media(max-width:600px) {
 .agenda-trailing .btn { max-width: 115px; white-space: normal; line-height: 1.35; }
}

.toast-undo { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; padding: 9px 11px; color: white; border: 1px solid #ffffff65; background: #ffffff12; border-radius: 6px; font-size: 12px; }
.toast-undo:hover { background: #ffffff25; }
.demo-time { cursor: default; }
.favorites-schedule .event-block { top: 50%; transform: translateY(-50%); }
.favorites-schedule .pending-block { top: auto; bottom: 3px; }
.toast.visible { pointer-events: auto; }
.toast small { color: #cfdbed; }
.toast>.icon { color: #96d9b5; }
/* Room availability respects the complete requested session. */
.booking-room-window { margin: 0; padding: 14px 16px; background: #f6f8fb; border: 1px solid #e1e6ee; border-radius: 10px; color: #3d4d66; }
.booking-room-window.window-free { background: #f3f9f6; border-color: #d8e9df; }
.booking-room-window.window-warning { background: #fcf8f0; border-color: #ebdec3; }
.booking-window-heading { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; color: #667587; font-size: 11px; }
.window-free .booking-window-heading { color: #5d796c; }
.window-warning .booking-window-heading { color: #89734c; }
.booking-room-window > strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.booking-room-window > p { margin: 4px 0 0; color: #637287; font-size: 12px; line-height: 1.5; }
.booking-room-window > .booking-person-conflict { margin-top: 10px; color: #866232; }
.time-picker-midnight { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; margin-top: 10px; min-height: 38px; padding: 8px 10px; border: 1px solid #e1e6ee; border-radius: 7px; color: #526782; font-size: 12px; }
.time-picker-midnight[aria-pressed="true"] { color: #2d4fb6; border-color: #a7bae7; background: #eef3ff; }
.time-picker-midnight:hover { background: #eef3ff; }
@media(max-width:600px) {
 .booking-room-window { padding: 13px; }
}

.booking-availability-context { margin-bottom: 22px; }
.booking-room-window > .booking-range-mismatch { margin-top: 10px; padding-top: 9px; border-top: 1px solid #eadfc9; color: #78633e; }

/* Booking identity: consistent symbols across forms, agendas and schedules. */
.booking-marker { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; vertical-align: middle; color: inherit; line-height: 1; }
.booking-marker.with-label { justify-content: flex-start; gap: 7px; line-height: 1.4; font-size: 12px; min-width: 0; }
.booking-marker.with-label > span { min-width: 0; overflow-wrap: anywhere; }
.booking-event-title { display: flex; align-items: center; gap: 6px; min-width: 0; }
.booking-title-text { min-width: 0; }
.event-block .booking-title-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.agenda-title > .booking-marker { align-self: flex-start; margin-top: 2px; }
.week-event .booking-event-title { align-items: flex-start; }
.week-event .booking-event-title > .booking-marker { margin-top: 2px; }
.week-event .booking-event-title span { font-size: inherit; color: inherit; }
.room-time-segment { gap: 4px; }
.booking-status-row { justify-content: flex-start; flex-wrap: wrap; }
.booking-status-row > .booking-marker { color: #5a6f8e; }
.booking-kind-control { position: relative; width: 100%; min-width: 0; }
.booking-kind-control > span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); display: flex; pointer-events: none; color: #5a6f8e; }
.sheet-body .booking-kind-control select { padding-left: 42px; }
.booking-type-key { margin: -4px 0 12px; color: #5f6c80; font-size: 11px; }
.booking-type-key > summary { display: flex; align-items: center; gap: 6px; width: fit-content; min-height: 32px; cursor: pointer; list-style: none; border-radius: 4px; }
.booking-type-key > summary::-webkit-details-marker { display: none; }
.booking-type-key[open] > summary > .icon:last-child { transform: rotate(180deg); }
.booking-type-key-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px 18px; padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (max-width: 600px) {
  .booking-type-key > summary { min-height: 44px; }
  .booking-type-key-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
.booking-room-alternatives { margin-top: 16px; }
.booking-alternatives-heading { margin-bottom: 10px; }
.booking-alternatives-heading h3 { font-size: 13px; line-height: 1.5; font-weight: 600; color: #354863; margin: 0; }
.booking-alternatives-heading p { font-size: 12px; color: #56756a; margin: 3px 0 0; font-variant-numeric: tabular-nums; }
.booking-room-alternatives > ul { margin: 0; padding: 0; list-style: none; border: 1px solid #dfe5ee; border-radius: 10px; background: white; }
.booking-room-option { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 10px; align-items: center; padding: 12px; }
.booking-room-option + .booking-room-option { border-top: 1px solid #e8ecf2; }
.booking-option-symbol { width: 30px; height: 34px; display: grid; place-items: center; border-radius: 7px; color: #637da3; background: #f1f4f9; }
.booking-option-name { min-width: 0; }
.booking-option-name > strong { display: block; font-size: 13px; font-weight: 600; color: #34425b; line-height: 1.4; overflow-wrap: anywhere; }
.booking-option-name > span { display: block; margin-top: 3px; font-size: 11px; color: #748095; line-height: 1.45; }
.booking-room-option > button { padding: 8px 10px; min-height: 36px; border: 1px solid #d9e2ef; background: white; border-radius: 7px; color: #365b9a; font-size: 12px; font-weight: 500; line-height: 1.4; }
.booking-room-option > button:hover { background: #f2f6fe; border-color: #a5bce1; }
.booking-room-switch-note { margin: 9px 0 0; color: #738096; font-size: 11px; line-height: 1.5; }
.booking-no-matching-room { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: #65748b; }
@media(max-width:600px) {
 .booking-room-option { grid-template-columns: 26px minmax(0,1fr) auto; gap: 8px; padding: 11px 9px; }
 .booking-option-symbol { width: 26px; }
 .booking-room-option > button { min-height: 44px; padding: 8px; }
}

/* Focus follows the control: a fitted field border, search underline, or keyboard outline. */
:is(.field,.setting-row,.type-select,.campus-field) :is(input,select,textarea):focus,
.quick-finder .field input:focus {
  outline: var(--field-focus-outline, none);
  outline-offset: 2px;
  border-color: var(--control-focus, var(--focus));
  box-shadow: inset 0 0 0 1px var(--control-focus, var(--focus));
}

[aria-invalid="true"] { --control-focus: #9b493f; }

:is(.finder-name-search,.global-search-field,.search-input):focus-within {
  border-bottom-color: var(--focus);
  box-shadow: 0 1px 0 var(--focus);
  color: var(--focus);
}

:is(.finder-name-search,.global-search-field,.search-input) input:focus {
  outline: var(--field-focus-outline, none);
  outline-offset: 2px;
  box-shadow: none;
}

.form-disclosure>summary:focus-visible {
  outline-offset: -2px;
  border-radius: inherit;
}

.schedule-scroll:focus-visible,.week-scroll:focus-visible { outline-offset: -2px; }
.toast { --focus: #fff; }

@media (forced-colors: active) {
  :root {
    --focus: Highlight;
    --field-focus-outline: 2px solid Highlight;
  }
  .toast { --focus: Highlight; }
}

/* Small, immediate responses on controls; room cards and schedules stay still. */
:is(.btn,.icon-btn,.text-link,.text-button,.finder-now,.finder-needs-button,.booking-room-option > button) {
  transition: background-color 140ms ease-out, border-color 140ms ease-out,
    color 140ms ease-out, box-shadow 140ms ease-out, transform 120ms ease-out;
}

:is(.field,.setting-row,.type-select,.campus-field) :is(input,select,textarea),
:is(.finder-name-search,.global-search-field,.search-input),
.participant-option,.profile-option,
:is(.segmented,.duration-options,.form-durations) > button,
.time-picker-grid > button,.time-picker-midnight,.time-picker-toggle {
  transition: background-color 140ms ease-out, border-color 140ms ease-out,
    color 140ms ease-out, box-shadow 140ms ease-out, transform 120ms ease-out;
}

.switch { transition: background-color 160ms ease-out; }
.switch > span { transition: transform 160ms cubic-bezier(.2,.7,.2,1), scale 100ms ease-out; }
input:is([type="checkbox"],[type="radio"]) { transition: transform 100ms ease-out; }

.time-picker-toggle > .icon,
.finder-needs-button > .icon:last-child,
:is(.form-disclosure,.booking-type-key,.allowance-rules) > summary > .icon:last-child {
  transition: transform 160ms cubic-bezier(.2,.7,.2,1);
}
.time-picker-toggle[aria-expanded="true"] > .icon,
.finder-needs-button[aria-expanded="true"] > .icon:last-child { transform: rotate(180deg); }

/* Only directional icons move, so booking-type symbols keep their meaning. */
.text-link:is([data-action="room"],[data-action="free-rooms"],[data-action="eligible-rooms"],[data-action="favorite-rooms"],[data-action="bookings"],[data-action="allowance"]) > .icon:last-child,
.hero-room > .icon:last-child,
.access-room-action > .icon,
.booking-room-link > .icon:last-child,
.allowance-booking-charge > .icon {
  transition: transform 140ms ease-out;
}

@media (prefers-reduced-motion: no-preference) {
  html:not(.reduce-motion) .btn:not(:disabled):active { transform: translateY(1px); }
  html:not(.reduce-motion) .icon-btn:not([data-action="favorite"]):not([data-action="remove-favorite"]):not(:disabled):active { transform: scale(.96); }
  html:not(.reduce-motion) :is(.time-picker-grid > button,.time-picker-midnight):not(:disabled):active { transform: scale(.97); }
  html:not(.reduce-motion) input:is([type="checkbox"],[type="radio"]):not(:disabled):active { transform: scale(.92); }
  html:not(.reduce-motion) .switch:not(:disabled):active > span { scale: .92; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:not(.reduce-motion) .btn:not(:disabled):not(:active):hover { transform: translateY(-1px); }
  html:not(.reduce-motion) .text-link:is([data-action="room"],[data-action="free-rooms"],[data-action="eligible-rooms"],[data-action="favorite-rooms"],[data-action="bookings"],[data-action="allowance"]):hover > .icon:last-child,
  html:not(.reduce-motion) .hero-room:hover > .icon:last-child,
  html:not(.reduce-motion) .access-room-link:hover .access-room-action > .icon,
  html:not(.reduce-motion) .booking-room-link:hover > .icon:last-child,
  html:not(.reduce-motion) .allowance-booking:hover .allowance-booking-charge > .icon { transform: translateX(2px); }
}

/* The campus explorer pairs the official building geometry with the room finder. */
.page-rooms { max-width: 1580px; }
.finder-heading { gap: 14px; }
.finder-view-switch { display: inline-flex; flex-shrink: 0; gap: 3px; padding: 4px; background: #e9edf4; border: 1px solid #e1e6ee; border-radius: 11px; }
.finder-view-switch button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 13px; border-radius: 7px; color: #637188; font-size: 13px; font-weight: 500; }
.finder-view-switch button[aria-pressed="true"] { color: #294ab1; background: white; box-shadow: 0 1px 4px #25385815; }
.finder-workspace { margin-top: 22px; }
.finder-workspace.with-map { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 28px; align-items: start; }
#campus-explorer[hidden] { display: none; }
#campus-explorer { min-width: 0; position: sticky; top: 88px; }
#room-results { min-width: 0; scroll-margin-top: 90px; }
#room-results:focus { outline: none; }
.finder-workspace .finder-results-heading:first-child { margin-top: 0; }
.finder-building-scope { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; margin-bottom: 16px; padding: 8px 12px; background: #eaf0fe; border: 1px solid #dbe4fb; border-radius: 9px; font-size: 13px; color: #3355b1; }
.finder-building-scope>span,.finder-building-scope button { display: inline-flex; align-items: center; gap: 7px; }
.finder-building-scope button { min-height: 32px; padding: 4px 0 4px 6px; font-size: 12px; }
.finder-locate { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: #617599; text-decoration: underline; text-decoration-color: #b6c4db; text-underline-offset: 3px; }
.finder-locate:hover { color: var(--blue); }
.with-map .finder-room-row { grid-template-columns: 34px minmax(0,1fr) auto; gap: 8px 12px; padding: 16px; }
.with-map .finder-room-identity { grid-column: 2 / -1; }
.with-map .finder-room-availability { grid-column: 2; }
.with-map .finder-book { grid-column: 3; grid-row: 2; min-height: 42px; }
.with-map .finder-room-identity h3 { font-size: 16px; }
.with-map .finder-room-identity p { margin-top: 2px; }
.with-map .finder-alternatives { margin-top: 26px; }
.with-map .finder-results-heading { margin-top: 20px; }
.with-map .finder-later-row .finder-book { max-width: 130px; }
.campus-card { min-width: 0; }
.campus-card-heading { display: flex; align-items: center; gap: 11px; padding: 0 0 18px; }
.campus-heading-icon { display: flex; flex-shrink: 0; color: #607caa; }
.campus-card-heading h2 { font-size: 16px; letter-spacing: -.3px; }
.campus-card-heading p { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #758299; font-size: 12px; margin-top: 3px; }
.campus-map-wrap { position: relative; background: #f2f5fb; border: 1px solid #e0e7f2; border-radius: 8px; overflow: hidden; }
.campus-map-viewport { position: relative; width: 100%; overflow: hidden; scrollbar-width: thin; scrollbar-color: #c1cce0 #f2f5fb; }
.campus-map-viewport[data-zoomed="true"] { overflow: auto; cursor: grab; }
.campus-map-canvas { user-select: none; position: absolute; top: 0; left: 0; min-width: 100%; background-color: #f2f5fb; background-image: radial-gradient(#d7dfed 0.7px,transparent 0.7px); background-size: 18px 18px; }
.campus-plan { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.campus-context { fill: none; stroke: #b6c4d9; stroke-width: .8; stroke-dasharray: 1.5 2; stroke-linecap: round; opacity: .8; }
.campus-context-shape { fill: #e9eef6; stroke: #becadd; stroke-width: .65; }
.campus-footprint { fill: #e0e7f3; stroke: #a4b5d1; stroke-width: .75; stroke-linejoin: round; cursor: pointer; transition: fill .2s,stroke .2s; }
.campus-building { cursor: pointer; outline: none; }
.campus-building.has-rooms .campus-footprint { fill: #dce9e6; stroke: #94b8af; }
.campus-building-number { position: absolute; transform: translate(-50%,-50%); color: #4e6387; font-size: 12px; line-height: 1; font-family: var(--font); font-weight: 600; pointer-events: none; }
.campus-building-number[data-building="13"] { font-size: 10px; }
.campus-building-number[data-available="true"] { color: #3f6b60; }
.campus-building:hover .campus-footprint { fill: #cfddf7; stroke: #5476b4; }
.campus-building[aria-pressed="true"] .campus-footprint { fill: #c6d6f7; stroke: #3155ce; stroke-width: 1.4; }
.campus-building-number[data-selected="true"] { color: #2446b7; }
.campus-building:focus-visible .campus-footprint { stroke: #2446b7; stroke-width: 2; stroke-dasharray: 3 1.5; }
.campus-street { position: absolute; pointer-events: none; white-space: nowrap; color: #7b89a0; font-size: clamp(10px,.85vw,12px); letter-spacing: .35px; }
.campus-map-tools { position: absolute; right: 12px; bottom: 12px; z-index: 4; display: flex; align-items: center; gap: 0; padding: 3px; background: #fffffff5; border: 1px solid #d7e0ee; border-radius: 10px; box-shadow: 0 2px 8px #31466f10; }
.campus-map-tools button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 6px; color: #57709b; }
.campus-map-tools button:hover:not(:disabled) { background: #ecf1fb; color: #3155ce; }
.campus-map-tools>span { height: 19px; width: 1px; background: #dfe5ef; margin: 0 2px; }
.campus-map-viewport.is-panning,.campus-map-viewport.is-panning * { cursor: grabbing !important; }
.campus-map-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-height: 42px; padding: 12px 0; color: #718096; font-size: 12px; }
.campus-map-legend>span { display: inline-flex; align-items: center; gap: 6px; }
.campus-map-legend i { width: 10px; height: 10px; border-radius: 2px; }
.campus-legend-available { background: #dce9e6; border: 1px solid #94b8af; }
.campus-map-legend .campus-legend-selected { background: #c6d6f7; border: 1px solid #3155ce; }
.campus-building-picker { display: flex; align-items: center; gap: 9px; padding: 0; margin: 0; color: #647c9f; border-bottom: 1px solid #dce4f0; }
.campus-building-picker select { flex: 1; min-width: 0; min-height: 44px; border: 0; background: transparent; color: #405777; font-size: 14px; padding: 8px 0; }
.campus-building-detail { padding: 18px 0; min-height: 116px; }
.campus-detail-title { display: flex; align-items: center; gap: 10px; }
.campus-detail-title>div { min-width: 0; }
.campus-detail-title p { color: #7586a0; font-size: 12px; }
.campus-detail-title h3 { font-size: 16px; line-height: 1.35; margin-top: 1px; overflow-wrap: anywhere; }
.campus-detail-title>.icon-btn { margin-left: auto; flex-shrink: 0; }
.campus-detail-facts { margin-top: 13px; font-size: 13px; line-height: 1.6; color: #6a7c96; }
.campus-see-rooms { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 44px; margin-top: 10px; padding: 10px 0 0; border-top: 1px solid #e8edf5; text-align: left; font-size: 13px; color: #3155ce; }
.campus-see-rooms>span { display: flex; align-items: center; gap: 7px; }
.campus-see-rooms i { display: block; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: #328269; }
.campus-detail-intro { display: flex; align-items: center; gap: 10px; padding-top: 2px; }
.campus-detail-intro>.icon { color: #6682b2; }
.campus-detail-intro p { font-size: 14px; color: #405778; }
.campus-scope { font-size: 12px; line-height: 1.65; color: #7b879b; padding: 9px 0 0 30px; max-width: 350px; }
.campus-source { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 12px 0; border-top: 1px solid #e1e7f0; font-size: 11px; color: #8b96a9; }
.campus-source a { display: inline-flex; align-items: center; gap: 4px; color: #71819e; text-decoration-color: #c9d2e1; text-underline-offset: 3px; }
@media (min-width: 1600px) {
 .finder-workspace.with-map { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 36px; }
 .campus-card-heading { padding-bottom: 20px; }
 .with-map .finder-room-row { padding: 20px; min-height: 116px; }
}
@media (max-width: 1150px) and (min-width: 761px) {
 .finder-workspace.with-map { gap: 20px; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
 .with-map .finder-room-row { padding: 13px; gap: 8px; grid-template-columns: 28px minmax(0,1fr) auto; }
 .with-map .finder-room-availability { grid-column: 1 / 3; }
 .with-map .finder-book { max-width: 110px; padding: 8px 10px; }
 .campus-card-heading { gap: 9px; }
 .campus-card-heading h2 { font-size: 14px; }
 .campus-card-heading p { font-size: 11px; }
}
@media (max-width: 1000px) {
 .finder-workspace.with-map { grid-template-columns: minmax(0,1fr); }
 #campus-explorer { position: static; }
 .campus-map-canvas { max-width: none; }
 .campus-building-detail { min-height: 0; }
 .campus-detail-intro { padding-top: 0; }
 .campus-scope { max-width: none; }
 .with-map .finder-room-row { grid-template-columns: 34px minmax(0,1fr) auto; }
}
@media (max-width: 760px) {
 .finder-heading { margin-bottom: 18px; }
 .finder-view-switch { padding: 3px; gap: 2px; }
 .finder-view-switch button { min-height: 38px; padding: 7px 11px; font-size: 12px; gap: 5px; }
 .finder-view-switch .icon { width: 15px; height: 15px; }
 .finder-workspace { margin-top: 18px; }
 .finder-workspace.with-map { gap: 22px; }
 .campus-card-heading { padding-bottom: 14px; }
 .campus-card-heading h2 { font-size: 15px; }
 .campus-card-heading p { font-size: 12px; }
 .campus-map-tools { right: 8px; bottom: 8px; }
 .campus-map-tools button { width: 40px; height: 40px; }
 .campus-map-legend { padding: 12px 0; font-size: 12px; }
 .campus-building-picker select { font-size: 16px; }
 .campus-building-detail { padding: 16px 0; }
 .campus-detail-title h3 { font-size: 15px; }
 .campus-source { padding: 12px 0; font-size: 12px; }
 .campus-source>span { display: none; }
 .campus-street { font-size: 10px; }
 .with-map .finder-room-row { padding: 15px; }
 .with-map .finder-room-availability { grid-column: 1 / 3; }
 .with-map .finder-room-identity h3 { font-size: 16px; }
 .with-map .finder-book { min-height: 44px; }
 .finder-building-scope button { min-height: 36px; }
 #room-results { scroll-margin-top: 76px; }
}
@media (max-width: 365px) {
 .finder-heading { flex-wrap: wrap; }
 .campus-card-heading h2 { font-size: 14px; }
 .campus-map-tools button { width: 34px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
 .campus-footprint { transition: none; }
}
.reduce-motion .campus-footprint { transition: none; }


/* Booking controls stay on one flat line at every width. */
.bookings-toolbar-shell { container-type: inline-size; margin-bottom: 24px; }
.bookings-toolbar { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 48px; border-bottom: 1px solid #dfe5ee; }
.bookings-status-tabs { display: flex; align-items: stretch; gap: 24px; min-width: 0; }
.bookings-status-tabs>button { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; position: relative; min-height: 48px; padding: 8px 0; color: #69778e; font-size: 14px; line-height: 1.4; white-space: nowrap; }
.bookings-status-tabs>button>span { font-size: 12px; color: #8592a6; font-variant-numeric: tabular-nums; }
.bookings-status-tabs>button[aria-pressed="true"] { color: #3155ce; font-weight: 500; }
.bookings-status-tabs>button[aria-pressed="true"]>span { color: #657fc2; }
.bookings-status-tabs>button::after,.bookings-view-switch>button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; }
.bookings-status-tabs>button[aria-pressed="true"]::after,.bookings-view-switch>button[aria-pressed="true"]::after { background: #3155ce; }
.bookings-status-tabs>button:hover,.bookings-view-switch>button:hover { color: #3155ce; }
.bookings-status-picker { display: none; flex: 1; align-items: center; min-width: 0; }
.bookings-status-picker select { width: 100%; min-width: 0; min-height: 48px; padding: 8px 28px 8px 0; color: #344860; font-size: 15px; font-weight: 500; border: 0; border-radius: 0; background-color: transparent; text-overflow: ellipsis; cursor: pointer; }
.bookings-view-switch { display: flex; align-items: stretch; flex: 0 0 auto; gap: 2px; margin-left: auto; }
.bookings-view-switch>button { display: grid; place-items: center; position: relative; width: 42px; min-height: 48px; padding: 0; color: #8793a7; }
.bookings-view-switch>button[aria-pressed="true"] { color: #3155ce; }
.bookings-view-switch>button::after { left: 9px; right: 9px; }
@container (max-width: 820px) {
 .bookings-status-tabs { display: none; }
 .bookings-status-picker { display: flex; }
 .bookings-toolbar { gap: 20px; }
}
@media (max-width: 760px) {
 .bookings-toolbar-shell { margin-bottom: 22px; }
 .bookings-toolbar { gap: 12px; }
 .bookings-status-picker select { font-size: 16px; }
 .bookings-view-switch>button { width: 42px; }
}
@media print {
 .bookings-toolbar-shell { display: none; }
}

/* Room alerts, current-session controls and problem reporting: flat, contextual tools. */
.dashboard-alerts { margin: 0 0 30px; }
.dashboard-alerts>.section-heading { flex-wrap: wrap; gap: 8px 22px; margin-bottom: 9px; }
.dashboard-alerts>.section-heading h2 { display: flex; align-items: center; gap: 9px; min-width: 0; }
.dashboard-alerts>.section-heading .text-link { min-height: 36px; font-size: 12px; }
.alert-empty { max-width: 76ch; font-size: 13px; color: #647185; line-height: 1.65; }
.alert-list,.issue-queue-list { border-top: 1px solid var(--border); }
.alert-row,.issue-queue-row { display: grid; grid-template-columns: 24px minmax(0,1fr) auto 16px; align-items: center; gap: 13px; width: 100%; min-height: 66px; padding: 13px 0; border-bottom: 1px solid var(--border); text-align: left; }
.alert-row-icon,.issue-queue-symbol { display: flex; justify-content: center; color: #718097; }
.alert-row-copy,.issue-queue-name { display: grid; gap: 4px; min-width: 0; }
.alert-row-copy strong,.issue-queue-name strong { font-size: 13px; line-height: 1.45; font-weight: 550; overflow-wrap: anywhere; }
.alert-row-copy small,.issue-queue-name>span { font-size: 12px; line-height: 1.5; color: #647185; overflow-wrap: anywhere; }
.alert-row-status { color: #647185; font-size: 12px; line-height: 1.4; text-align: right; max-width: 24ch; }
.alert-row.available .alert-row-icon,.alert-row.available .alert-row-status { color: var(--green); }
.alert-row>.icon:last-child,.issue-queue-row>.icon:last-child { color: #7a879b; }
.alert-row:hover .alert-row-copy strong,.issue-queue-row:hover .issue-queue-name strong { color: var(--blue); }

.session-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; }
.session-actions>.btn { white-space: normal; text-align: left; line-height: 1.45; }
.hero-actions:has(.session-actions) { flex: 1 1 auto; flex-direction: column; align-items: flex-start; min-width: 0; gap: 8px; }
.session-actions.compact { align-items: flex-start; gap: 0 18px; width: 100%; margin: 0; }
.session-actions.compact>.btn { padding: 5px 0; min-height: 32px; max-width: 100%; background: transparent; border: 0; border-radius: 3px; color: var(--hero-secondary); box-shadow: none; font-size: 11px; line-height: 1.5; gap: 6px; }
.session-actions.compact>.btn:hover { color: var(--hero-ink); text-decoration: underline; text-underline-offset: 3px; }
.session-actions.compact>.btn>.icon { width: 15px; height: 15px; }
@container (max-width: 519px) {
 .next-copy:has(.session-actions.compact) .hero-bottom { flex-wrap: wrap; gap: 18px; }
 .hero-actions:has(.session-actions.compact) { width: 100%; max-width: none; }
 .next-copy:has(.session-actions.compact) .allowance-summary { width: 100%; max-width: none; }
}
.session-action-description { color: #42516a; font-size: 15px; line-height: 1.65; }
.session-action-time { font-size: 13px; font-variant-numeric: tabular-nums; color: #647185; margin: 10px 0 24px; }
.session-action-note { color: #647185; font-size: 13px; line-height: 1.65; margin-top: 12px; }
.session-action-content>.field { margin: 18px 0 0; }
.booking-problem-action { margin-top: 19px; padding-top: 12px; border-top: 1px solid var(--border); }
.booking-problem-action>.btn.text-link { min-height: 40px; padding: 7px 0; border: 0; color: #617087; white-space: normal; text-align: left; }

.alert-form-intro { margin: 0 0 22px; font-size: 13px; color: #647185; line-height: 1.65; }
#alert-form .booking-when { margin-bottom: 19px; }
.alert-specific-room { display: flex; align-items: center; gap: 9px; margin: 0 0 17px; color: #52627a; font-size: 13px; }
.alert-specific-room>span { min-width: 0; overflow-wrap: anywhere; }
#alert-form>p.muted { margin: 0 0 14px; font-size: 12px; line-height: 1.5; }
.alert-needs { border-top: 1px solid var(--border); }
.alert-needs>summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 0; min-height: 48px; color: #42516a; font-size: 13px; list-style: none; cursor: pointer; }
.alert-needs>summary::-webkit-details-marker { display: none; }
.alert-needs>summary>.icon { transition: transform 140ms ease; }
.alert-needs[open]>summary>.icon { transform: rotate(180deg); }
.alert-needs>.muted { font-size: 12px; line-height: 1.6; margin: 0 0 9px; }
.alert-needs-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0 0 17px; }
.alert-equipment { margin: 0 0 20px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; min-width: 0; }
.alert-equipment legend { padding: 0; margin-bottom: 6px; color: #606e85; font-size: 12px; }
.alert-equipment label,.alert-participants label { display: flex; align-items: center; gap: 9px; min-height: 38px; font-size: 13px; color: #42516a; cursor: pointer; }
.alert-equipment input,.alert-participants input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.alert-equipment>p { flex-basis: 100%; font-size: 12px; line-height: 1.5; color: #647185; margin-top: 3px; }
.alert-participants { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3px 15px; margin: 0 0 17px; }
.alert-participants label>span { min-width: 0; overflow-wrap: anywhere; }
.alert-detail-heading { padding-bottom: 17px; border-bottom: 1px solid var(--border); }
.alert-detail-heading>p { font-size: 13px; line-height: 1.65; color: #647185; overflow-wrap: anywhere; }
.alert-detail-heading h3 { font-size: 28px; font-weight: 550; letter-spacing: -.6px; font-variant-numeric: tabular-nums; margin: 4px 0 8px; }
.alert-detail-status { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #5a6b82; margin: 20px 0 12px; }
.alert-detail-status.available { color: var(--green); }
.alert-detail>h4 { font-size: 12px; font-weight: 500; color: #647185; margin: 18px 0 0; }
.alert-detail>.muted { font-size: 13px; line-height: 1.65; }
.alert-match { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.alert-match .room-symbol { width: 30px; height: 32px; border-radius: 6px; }
.alert-match-copy { display: grid; gap: 4px; min-width: 0; }
.alert-match-copy strong { font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.alert-match-copy small { font-size: 11px; color: #647185; line-height: 1.45; }
.alert-match>.btn { gap: 6px; padding: 8px 10px; min-height: 38px; max-width: 165px; font-size: 12px; white-space: normal; line-height: 1.4; text-align: left; }
.alert-stop { margin-top: 20px; color: #647185; min-height: 40px; font-size: 12px; }
.alert-stop:hover { color: var(--ink); }
.practice-feedback:empty,#room-issue-feedback:empty { display: none; }
.practice-feedback:not(:empty),.alert-form-error:not([hidden]),#room-issue-feedback:not(:empty) { margin-top: 17px; color: var(--red); font-size: 13px; line-height: 1.6; }

.issue-booking-context { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 13px; padding-bottom: 18px; margin-bottom: 21px; border-bottom: 1px solid var(--border); }
.issue-booking-context strong { font-size: 19px; font-weight: 550; overflow-wrap: anywhere; }
.issue-booking-context>span { font-size: 12px; color: #647185; font-variant-numeric: tabular-nums; }
.issue-categories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; min-width: 0; border: 0; margin: 0 0 22px; padding: 0; }
.issue-categories legend { font-size: 13px; color: #42516a; padding: 0; margin-bottom: 8px; }
.issue-categories label { display: flex; align-items: center; gap: 9px; min-height: 51px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: #52627a; cursor: pointer; }
.issue-categories label>span { min-width: 0; overflow-wrap: anywhere; }
.issue-categories input { flex: 0 0 16px; width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.issue-categories label:has(input:checked) { color: var(--ink); font-weight: 550; }
#room-issue-form .field { margin-bottom: 6px; }
#room-issue-form .field-help,.issue-detail .field-help,.issue-recovery .field-help,.issue-move-review .field-help { font-size: 12px; line-height: 1.6; color: #647185; margin: 7px 0; }
.issue-recovery { margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--border); }
.issue-recovery>h3 { font-size: 15px; font-weight: 550; }
.issue-recovery>p { margin: 7px 0 13px; color: #647185; font-size: 13px; line-height: 1.6; }
.issue-room-options { list-style: none; padding: 0; margin: 0; }
.issue-room-options>li { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.issue-room-symbol { color: #617899; }
.issue-room-options>li>div { display: grid; gap: 3px; min-width: 0; }
.issue-room-options strong { font-size: 13px; overflow-wrap: anywhere; }
.issue-room-options>li>div>span { font-size: 12px; color: #647185; }
.issue-room-options .btn { min-height: 38px; max-width: 180px; padding: 8px 11px; font-size: 12px; white-space: normal; line-height: 1.4; text-align: left; }
.issue-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.issue-detail-heading>div { min-width: 0; }
.issue-detail-heading strong { font-size: 22px; font-weight: 550; overflow-wrap: anywhere; }
.issue-detail-heading p { margin-top: 4px; font-size: 13px; color: #647185; }
.issue-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; line-height: 1.5; color: var(--amber); }
.issue-status.reviewing { color: #526b94; }
.issue-status.resolved { color: var(--green); }
.issue-report-history>article:last-child { border-bottom: 0; }
.issue-report-history>article { padding: 17px 0; border-bottom: 1px solid var(--border); }
.issue-report-history>article>strong { font-size: 13px; }
.issue-description { margin: 9px 0; font-size: 14px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.issue-admin-actions { padding-top: 21px; }
.issue-admin-actions>.button-row { margin-top: 16px; }
.issue-admin-actions .btn { white-space: normal; text-align: left; }
.issue-resolution { padding: 18px 0 0; }
.issue-resolution>h3 { color: var(--green); font-size: 14px; margin-bottom: 7px; }
.issue-resolution>p { font-size: 13px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.room-issues-queue { margin-top: 26px; }
.room-issues-queue>.section-heading { gap: 12px; margin-bottom: 12px; }
.room-issues-queue>.section-heading h2 { font-size: 17px; }
.issue-move-review { display: grid; justify-items: start; gap: 12px; }
.issue-move-review>h3 { font-size: 24px; font-weight: 550; overflow-wrap: anywhere; }
.issue-move-review>p { font-size: 13px; line-height: 1.65; color: #52627a; }

@media (max-width: 760px) {
 .dashboard-alerts { margin-bottom: 27px; }
 .dashboard-alerts>.section-heading h2 { font-size: 17px; }
 .dashboard-alerts>.section-heading .text-link { min-height: 42px; }
 .session-actions.compact { gap: 0 17px; }
 .session-actions.compact>.btn { min-height: 42px; font-size: 12px; }
 #alert-form .booking-when>.field:first-child { grid-column: 1 / -1; }
 #alert-form .field input,#alert-form .field select,#room-issue-form .field textarea,.issue-admin-actions .field textarea,.session-action-content .field select { font-size: 16px; }
 .alert-equipment label,.alert-participants label { min-height: 44px; }
 .alert-stop { min-height: 44px; }
 .alert-match>.btn,.issue-room-options .btn { min-height: 44px; }
}
@media (max-width: 600px) {
 .alert-row,.issue-queue-row { grid-template-columns: 23px minmax(0,1fr) 16px; gap: 5px 11px; padding: 14px 0; }
 .alert-row-icon,.issue-queue-symbol { grid-row: 1 / 3; align-self: start; padding-top: 2px; }
 .alert-row-status,.issue-queue-row>.issue-status { grid-column: 2; grid-row: 2; text-align: left; max-width: none; font-size: 11px; }
 .alert-row>.icon:last-child,.issue-queue-row>.icon:last-child { grid-column: 3; grid-row: 1 / 3; }
 .alert-row-copy strong { font-size: 13px; }
 .alert-participants { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 420px) {
 .alert-match { grid-template-columns: 28px minmax(0,1fr); gap: 8px 10px; }
 .alert-match>.btn { grid-column: 2; justify-self: start; max-width: 100%; }
 .alert-needs-fields { grid-template-columns: minmax(0,1fr); gap: 15px; }
 .issue-room-options>li { grid-template-columns: 24px minmax(0,1fr); }
 .issue-room-options .btn { grid-column: 2; justify-self: start; max-width: 100%; }
 .issue-categories { gap: 0 13px; }
 .issue-categories label { gap: 7px; font-size: 12px; }
 .issue-categories label>.icon { width: 16px; height: 16px; }
}
@media (prefers-reduced-motion: reduce) {
 .alert-needs>summary>.icon { transition: none; }
}
.reduce-motion .alert-needs>summary>.icon { transition: none; }
