/* Shared appearance for the wide and compact IX Clean layouts. */
:root {
  color-scheme: light;
  --ink: #17243b;
  --muted: #53627b;
  --app-paper: #f3f5fa;
  --card: #fff;
  --app-line: #dfe5ef;
  --control-line: #a5b2c8;
  --action: #2158c5;
  --action-hover: #1748a9;
  --action-ink: #fff;
  --brand-wash: #edf1f8;
  --positive: #dff4ee;
  --positive-ink: #145b48;
  --focus: #2664d3;
  --app-tint: #2257bd;
  --app-fill: #e9eef7;
  --app-bar: rgb(249 251 255 / 90%);
  --tint-fill: #e7efff;
  --control-fill: #f1f4f9;
  --segment-fill: #e9edf5;
  --group-shadow: 0 1px 2px rgb(23 42 76 / 5%);
  --glass-shadow: 0 8px 30px rgb(23 42 76 / 14%), 0 1px 3px rgb(23 42 76 / 9%);
  --sheet-shadow: 0 20px 65px rgb(13 26 51 / 25%);
  --hero-background: radial-gradient(ellipse at 95% -65%, #36649b, transparent 73%), linear-gradient(115deg, #14243f, #1c3558);
  --hero-line: #29466b;
  --hero-shadow: 0 10px 24px rgb(25 49 88 / 14%);
  --radius: 20px;
  font: 100% / 1.35 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #eef3ff;
  --muted: #b0bed5;
  --paper: var(--app-paper);
  --app-paper: #101621;
  --card: #192231;
  --line: var(--app-line);
  --app-line: #2e3c53;
  --control-line: #627798;
  --action: #285dc2;
  --action-hover: #2153b4;
  --brand-wash: #253149;
  --positive: #183a34;
  --positive-ink: #a0e4cc;
  --focus: #9abbff;
  --app-tint: #a5c3ff;
  --app-fill: #2b3952;
  --app-bar: rgb(24 33 48 / 91%);
  --tint-fill: #263c60;
  --control-fill: #223047;
  --segment-fill: #141c2a;
  --group-shadow: 0 1px 2px rgb(0 0 0 / 16%);
  --glass-shadow: 0 8px 30px rgb(0 0 0 / 32%), 0 1px 3px rgb(0 0 0 / 20%);
  --sheet-shadow: 0 18px 65px rgb(0 0 0 / 45%);
  --hero-background: radial-gradient(ellipse at 95% -65%, #2d507c, transparent 73%), linear-gradient(115deg, #192a47, #1c3356);
  --hero-line: #354d70;
  --hero-shadow: 0 10px 24px rgb(0 0 0 / 19%);
}
body, body.front-desk {
  --paper: var(--app-paper);
  --line: var(--app-line);
  --radius: 20px;
  font-family: inherit;
  min-height: 100vh;
}
body:has(#entry:not([hidden])) {
  background: radial-gradient(ellipse at 50% 8%, var(--tint-fill), transparent 44rem), var(--paper);
}
body .topbar {
  position: sticky;
  inset-block-start: 0;
  z-index: 4;
  padding-block-start: env(safe-area-inset-top);
  background: var(--app-bar);
  -webkit-backdrop-filter: saturate(160%) blur(22px);
  backdrop-filter: saturate(160%) blur(22px);
}
.brand strong { letter-spacing: -.045em; }
.brand img { box-shadow: var(--group-shadow); }
.brand .brand-purpose, #user-label { color: var(--muted); font-weight: 500; }
#user-label { overflow-wrap: anywhere; }
body #hotel-switch {
  min-height: var(--control-height);
  padding-inline: .55rem;
  border-radius: 9px;
  color: var(--app-tint);
  font-weight: 650;
}
body #hotel-switch:hover:not(:disabled) { background: var(--control-fill); text-decoration: none; }

body .heading,
:root[data-theme="dark"] body .heading {
  align-items: center;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  padding: 0;
  margin-block-end: 1.15rem;
}
body .heading h1, .entry h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.8rem);
  font-weight: 740;
  letter-spacing: -.052em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}
body .heading p { color: var(--muted); font-size: .94rem; font-weight: 500; }
body .heading :focus-visible { outline-color: var(--focus); }
body .heading h1[tabindex="-1"]:focus { outline: none; }
body :is(#workspace, #statistics-view) > .app-heading {
  padding: clamp(1.15rem, 2.9vw, 2.05rem);
  border: 1px solid var(--hero-line);
  border-radius: 25px;
  background: var(--hero-background);
  box-shadow: var(--hero-shadow);
  color: #fff;
}
body.front-desk .app-heading h1 { font-size: clamp(1.85rem, 3.5vw, 2.8rem); }
body.front-desk .app-heading p, body .app-heading p { margin-block-start: .45rem; color: #dce8fc; }
body .app-heading :focus-visible { outline-color: #adcaff; }

button {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 12px;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
  touch-action: manipulation;
}
body button:is(.secondary, .quiet),
body .heading button.secondary {
  color: var(--app-tint);
  background: var(--tint-fill);
  border-color: transparent;
}
body button:is(.secondary, .quiet):hover:not(:disabled),
body .heading button.secondary:hover:not(:disabled) {
  color: var(--app-tint);
  background: var(--app-fill);
}
body button.quiet,
body .topbar button.quiet,
body .dialog-heading button.secondary { background: transparent; }
body button.theme-toggle, body button.language-toggle, body #mobile-actions { border-radius: 50%; }
body .topbar button.quiet:is(:hover, :active):not(:disabled) { background: var(--control-fill); }
body :is(#mobile-actions, #room-day-prev, #room-day-next, .room-calendar-header button) {
  border-radius: 50%;
  padding-inline: 0;
}
body #mobile-actions { background: var(--tint-fill); color: var(--app-tint); }
body #workspace > .app-heading #mobile-actions,
body :is(#workspace, #statistics-view) > .app-heading button.secondary {
  border: 1px solid rgb(255 255 255 / 21%);
  background: rgb(255 255 255 / 12%);
  color: #f7faff;
}
body :is(#workspace, #statistics-view) > .app-heading button:is(.secondary, #mobile-actions):hover:not(:disabled) {
  background: rgb(255 255 255 / 22%);
  color: #fff;
}
body .app-heading #import { background: #f4f8ff; color: #173b7a; }
body .app-heading #import:hover:not(:disabled) { background: #dceaff; }
body button.secondary.stayover-red { background: #fce7e4; color: #8a2820; }
:root[data-theme="dark"] body button.secondary.stayover-red { background: #442622; color: #ffbeb5; }
body button:active:not(:disabled) { box-shadow: inset 0 0 0 1px var(--control-line); }
body :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
button:disabled { opacity: .62; }

body input:not([type="checkbox"]), body select, body textarea {
  min-inline-size: 0;
  background: var(--control-fill);
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: 11px;
}
input[type="date"], input[type="datetime-local"] { max-inline-size: 100%; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
input[type="file"]::file-selector-button {
  font: inherit;
  color: var(--app-tint);
  background: var(--tint-fill);
  border: 0;
  border-radius: 7px;
  padding: .28rem .55rem;
  margin-inline-end: .55rem;
}
body label { color: var(--muted); font-weight: 600; }
body label:has(> select) { position: relative; }
body label > select { appearance: none; padding-inline-end: 2rem; }
body label:has(> select)::after {
  content: "";
  position: absolute;
  inset-inline-end: .9rem;
  inset-block-end: calc(var(--control-height) / 2 - .09rem);
  width: .42rem;
  height: .42rem;
  border: solid var(--app-tint);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(50%) rotate(45deg);
  pointer-events: none;
}

.card { box-shadow: var(--group-shadow); }
body .entry.card {
  max-width: 26rem;
  margin-block-start: clamp(1.75rem, 10vh, 6rem);
  padding: clamp(1.4rem, 5.5vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--glass-shadow);
}
.entry form { gap: 1rem; margin-block-start: 1.5rem; }
.entry label input { min-height: 50px; padding-inline: .85rem; font-size: 1rem; }
body .entry button { justify-self: stretch; min-height: 50px; margin-block-start: .35rem; border-radius: 14px; }
body .banner { border-radius: 14px; }
.source, .room-note { line-height: 1.4; }
body .source { border-radius: 10px; }
body .room-activity, :root[data-theme="dark"] body .room-activity { background: var(--card); }
.room-activity-heading {
  display: flex;
  align-items: center;
  min-height: 47px;
  gap: .68rem;
  padding: .65rem .95rem;
  border-radius: inherit;
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-size: .82rem;
}
.room-activity-heading::-webkit-details-marker { display: none; }
.room-activity-heading::after {
  content: "";
  width: .42rem;
  height: .42rem;
  border: solid currentColor;
  border-width: 0 1.6px 1.6px 0;
  transform: translateY(-20%) rotate(45deg);
}
.room-activity[open] .room-activity-heading::after { transform: translateY(25%) rotate(225deg); }
.room-activity-title {
  display: flex;
  align-items: center;
  gap: .52rem;
  margin-inline-end: auto;
  color: var(--ink);
  font-size: .98rem;
  font-weight: 680;
  letter-spacing: -.02em;
}
.room-activity-title::before {
  content: "";
  width: .46rem;
  height: .46rem;
  border-radius: 50%;
  background: var(--app-tint);
}
body:has(#connection:not([hidden])) .room-activity-title::before { background: var(--muted); }
.room-activity-empty { padding: 0 .9rem .8rem; }
.room-activity-list {
  margin-inline: .9rem;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  scrollbar-color: var(--control-line) var(--control-fill);
}
.room-activity-list::-webkit-scrollbar-track { background: var(--control-fill); }
.room-activity-list::-webkit-scrollbar-thumb { background: var(--control-line); }
body .room-date-nav { padding: .85rem .95rem; gap: .5rem .8rem; }
body .room-date-label { font-size: .95rem; font-weight: 690; letter-spacing: -.01em; }
body .room-date-nav .source {
  flex: 1 0 100%;
  margin: 0;
  padding: .43rem 0 0;
  border-block-start: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: .79rem;
}
body .room-date-nav .source.warning { color: #805018; }
:root[data-theme="dark"] body .room-date-nav .source.warning { background: transparent; color: #ffd99c; }
body .room-date-actions input {
  min-inline-size: 0;
  font-variant-numeric: tabular-nums;
}
.room-calendar-header button { min-width: var(--control-height); }
.room-calendar-grid button { border-radius: 9px; }
.room-calendar-grid button:disabled { opacity: .76; }

body .filters {
  gap: .2rem;
  padding: .24rem;
  border-radius: 13px;
  background: var(--segment-fill);
}
body .filters button {
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
}
body .filters button[aria-pressed="false"]:hover:not(:disabled) {
  background: var(--control-fill);
  color: var(--ink);
}
body .filters button[aria-pressed="true"],
body .filters button[aria-pressed="true"]:hover:not(:disabled),
:root[data-theme="dark"] body .filters button[aria-pressed="true"],
:root[data-theme="dark"] body .filters button[aria-pressed="true"]:hover:not(:disabled) {
  background: var(--card);
  color: var(--app-tint);
  border-color: var(--line);
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
}
body .filters [id^="count-"]:not(:empty) {
  display: inline-block;
  margin-inline-start: .12rem;
  padding: .05rem .33rem;
  border-radius: 100px;
  background: var(--control-fill);
  color: var(--muted);
  opacity: 1;
  font-size: .85em;
  font-variant-numeric: tabular-nums;
}
body .filters button[aria-pressed="true"] [id^="count-"]:not(:empty) {
  background: var(--tint-fill);
  color: var(--app-tint);
}
body .lookup :is(input, select), body .statistics-filters :is(input, select) {
  background: var(--card);
  border-color: var(--line);
}
.lookup label:has(> input[type="search"]) { position: relative; }
.lookup input[type="search"] { padding-inline-start: 2.05rem; }
.lookup label:has(> input[type="search"])::before,
.lookup label:has(> input[type="search"])::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.lookup label:has(> input[type="search"])::before {
  inset-inline-start: .78rem;
  inset-block-end: calc(var(--control-height) / 2 - .28rem);
  width: .62rem;
  height: .62rem;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
}
.lookup label:has(> input[type="search"])::after {
  inset-inline-start: 1.25rem;
  inset-block-end: calc(var(--control-height) / 2 - .37rem);
  width: .29rem;
  height: 1.5px;
  background: var(--muted);
  transform: rotate(45deg);
}
:dir(rtl) .lookup label:has(> input[type="search"])::after { transform: rotate(-45deg); }

body .floor, body .working-rooms > h2, body .completed-rooms > h2 {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 680;
  letter-spacing: -.01em;
}
.floor::after { display: block; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
body .room-number {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 710;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}
.badge {
  display: inline-block;
  border-radius: 8px;
  font-weight: 650;
  line-height: 1.26;
}
.badge.priority { letter-spacing: .02em; }
body .badge.ready, :root[data-theme="dark"] body .badge.ready { color: var(--positive-ink); }
.room-grid .room-meta .badge:not(.urgent) {
  padding-inline: 0;
  background: transparent;
  color: var(--muted);
}
.room-grid .room-meta .badge:not(.urgent) + .badge:not(.urgent)::before {
  content: "·";
  margin-inline-end: .3rem;
}
.room-grid .room-meta .room-note { margin-block-start: .12rem; }
body .room.mobile.room-expanded:not(.room-priority) { border-inline-start-color: var(--app-tint); }
.statistics-controls {
  display: grid;
  align-items: end;
  gap: .85rem;
  margin-block-end: 1rem;
  padding: .95rem;
}
.statistics-controls .statistics-period-controls, .statistics-controls .statistics-filters { margin: 0; }
body .statistics-controls .statistics-filters :is(input, select) { background: var(--control-fill); }
.statistics-controls #statistics-filter-details {
  padding-block-start: .75rem;
  border-block-start: 1px solid var(--line);
}
body .statistics-metrics .card { border-block-start: 1px solid var(--line); padding: 1.05rem; }
body .statistics-metrics dd { margin-block-start: .42rem; font-size: clamp(1.65rem, 3vw, 2.15rem); font-weight: 730; letter-spacing: -.045em; }
.statistics-table th { background: var(--control-fill); }
.statistics-table table { font-size: .9rem; }
.stayover-day { border-radius: 10px; }

body dialog {
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 27px;
  box-shadow: var(--sheet-shadow);
  overscroll-behavior: contain;
}
body dialog::backdrop, :root[data-theme="dark"] body dialog::backdrop { background: rgb(14 24 44 / 46%); }
body:not(.mini-cleaner) .dialog-heading {
  padding-block-end: .55rem;
  border-block-end: 1px solid var(--line);
}
body .dialog-heading h2 {
  flex: 1 1 auto;
  font-size: 1.3rem;
  letter-spacing: -.036em;
  overflow-wrap: anywhere;
}
.dialog-heading form { flex: none; }
#dialog-body, #dialog-form { min-inline-size: 0; }
#dialog-body :is(.hotel-card, .accounts, .history) { border-radius: 12px; }
#dialog-body .account { flex-wrap: wrap; padding-block: .55rem; }
#dialog-body .account > div { min-inline-size: 0; overflow-wrap: anywhere; }
#dialog-body .event:last-child, #dialog-body .account:last-child { border-block-end: 0; }
body .language-options button[aria-pressed="true"] {
  background: var(--action);
  color: var(--action-ink);
  border-color: transparent;
}

.front-desk .room-grid .room { position: relative; }
body.front-desk .room-grid .actions {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
body.front-desk .room-grid .actions > button,
body.front-desk .room-grid .actions > button:is(:hover, :active):not(:disabled) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  pointer-events: auto;
  background: transparent;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  font-size: 0;
}
body.front-desk .room-grid .actions > button::after {
  content: "";
  position: absolute;
  inset-block-start: 1rem;
  inset-inline-end: .95rem;
  width: .45rem;
  height: .45rem;
  margin: 0;
  border: solid var(--app-tint);
  border-width: 1.6px 1.6px 0 0;
  transform: rotate(45deg);
}
body.front-desk:dir(rtl) .room-grid .actions > button::after { transform: rotate(-135deg); }
.front-desk .room-grid .room { border-radius: 19px; }
body.front-desk .room-grid .room-priority { border-inline-start-width: 3px; }
.front-desk .room-grid .room .room-number { padding-inline-end: 1rem; }

body.mini-cleaner {
  --mini-start-bg: #2359bc;
  --mini-done-bg: #17694f;
  --mini-cancel-bg: #a72b39;
}
body.mini-cleaner #workspace > .heading { padding: 0; }
.mini-cleaner .mini-swipe, .mini-cleaner .mini-room { border-radius: var(--radius); }
.mini-cleaner .mini-next, .mini-cleaner #close-dialog, .mini-cleaner #dialog-save { border-radius: 17px; }
.mini-cleaner #close-dialog { background: var(--control-fill); }
.mini-cleaner .mini-start:hover:not(:disabled) { background: var(--mini-start-bg); }
.mini-cleaner .mini-finish:hover:not(:disabled), .mini-cleaner #dialog-save:hover:not(:disabled) { background: var(--mini-done-bg); }
.mini-cleaner .mini-swipe-cancel:hover:not(:disabled) { background: var(--mini-cancel-bg); }

/* The media conditions match the existing mobile and reception layouts. */
@media (min-width: 951px), (min-width: 741px) and (hover: hover), (min-width: 741px) and (pointer: fine) {
  :root { --control-height: 38px; }
  body .topbar-inner, body main { width: min(calc(100% - 3rem), 1360px); }
  body .topbar-inner { min-height: 66px; }
  body .brand img { width: 42px; height: 42px; border-radius: 11px; }
  body .brand strong { font-size: 1.22rem; }
  body .brand-purpose { font-size: .8rem; }
  body #hotel-switch { min-height: 28px; }
  body .topbar .user-tools { gap: .3rem; }
  body main { padding-block-start: 1.45rem; }
  body .heading > .actions { flex-wrap: wrap; }
  body .heading .actions button { border-radius: 999px; }
  body button { font-size: .9rem; }
  body dialog { padding: 1.45rem; }
  .front-desk #workspace > .room-toolbar { margin-block: .45rem .25rem; }
  #workspace .room-toolbar .filters button { padding-inline: .6rem; }
  .front-desk .room-grid {
    gap: .72rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 171px), 1fr));
  }
  .front-desk .room-grid .room {
    min-height: 130px;
    padding: .83rem .85rem;
  }
  .front-desk .room-grid .room-planned { min-height: 96px; }
  .front-desk .room-grid .room-number { font-size: 1.7rem; }
  .front-desk .room-grid .room .badge { font-size: .78rem; }
  body:not(.front-desk) .rooms {
    gap: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
  }
  body:not(.front-desk) .rooms > .room {
    border: 0;
    border-inline-start: 4px solid transparent;
    border-radius: 0;
    box-shadow: none;
    padding: .75rem .95rem;
  }
  body:not(.front-desk) .rooms > .room:first-child { border-start-start-radius: inherit; border-start-end-radius: inherit; }
  body:not(.front-desk) .rooms > .room:last-child { border-end-start-radius: inherit; border-end-end-radius: inherit; }
  body:not(.front-desk) .rooms > .room + .room { border-block-start: 1px solid var(--line); }
  body:not(.front-desk) .rooms > .room-priority { border-inline-start-color: #a84313; }
  :root[data-theme="dark"] body:not(.front-desk) .rooms > .room-priority { border-inline-start-color: #f0aa64; }
}
@media (min-width: 1120px) {
  .front-desk #workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    gap: .85rem;
  }
  #workspace > :is(.heading, .room-toolbar, #room-list) { grid-column: 1 / -1; }
  #workspace > :is(.heading, .room-date-nav, .room-activity) { margin-block-end: 0; }
  .front-desk #workspace > .room-toolbar { margin-block: .12rem 0; }
  .statistics-controls { grid-template-columns: minmax(0, 1fr) auto; }
  .statistics-controls #statistics-filter-details { grid-column: 1 / -1; }
}
@media (max-width: 740px), (max-width: 950px) and (hover: none) and (pointer: coarse) {
  :root { scroll-padding-block: calc(69px + env(safe-area-inset-top)) calc(76px + env(safe-area-inset-bottom)); }
  body { --mobile-tab-height: 70px; }
  body .topbar-inner, body main {
    width: min(34rem, calc(100% - max(1.75rem, 2 * env(safe-area-inset-left), 2 * env(safe-area-inset-right))));
  }
  body .topbar-inner { min-height: 61px; flex-wrap: nowrap; gap: .35rem; padding-block: 0; }
  body .brand img { width: 36px; height: 36px; border-radius: 10px; }
  body .brand strong { font-size: 1.1rem; }
  body .heading h1, body.front-desk .app-heading h1, .entry h1 { font-size: clamp(1.5rem, 7.5vw, 2.18rem); }
  body #workspace > .heading { margin-block-end: .95rem; align-items: center; }
  body :is(#workspace, #statistics-view) > .app-heading {
    padding: 1rem;
    border-radius: 23px;
  }
  body #hotel-switch { padding: 0; text-overflow: initial; overflow-wrap: anywhere; white-space: normal; }
  body #mobile-nav {
    inset: auto max(.7rem, env(safe-area-inset-right)) max(.6rem, env(safe-area-inset-bottom)) max(.7rem, env(safe-area-inset-left));
    max-width: 25rem;
    min-block-size: 59px;
    margin-inline: auto;
    padding: .28rem;
    gap: .25rem;
    border: 1px solid var(--line);
    border-radius: 100px;
    box-shadow: var(--glass-shadow);
    -webkit-backdrop-filter: saturate(160%) blur(22px);
    backdrop-filter: saturate(160%) blur(22px);
  }
  body #mobile-nav button {
    min-block-size: 49px;
    border-radius: 100px;
    font-size: .73rem;
    font-weight: 650;
  }
  body #mobile-nav button[aria-current="page"] { color: var(--app-tint); background: var(--tint-fill); }
  body #mobile-nav button[aria-current="page"] svg { stroke-width: 2; }
  body .room-date-actions { gap: .35rem; }
  body .room-date-shortcuts { justify-content: flex-end; }
  body .room-date-shortcuts > button { flex: 1 1 auto; min-width: 0; }
  body .lookup label, body .statistics-filters label { font-size: .82rem; min-width: 0; }
  body .room-toolbar .filters button { font-size: .85rem; min-inline-size: 0; }
  .front-desk .room-toolbar { display: grid; gap: .65rem; margin-block-end: .75rem; }
  #workspace .room-toolbar :is(.filters, .lookup) { margin-block-end: 0; }
  .front-desk .floor::after { display: block; }
  body.front-desk .room-grid .room {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    padding: .78rem 2.25rem .78rem .86rem;
    padding-inline: .86rem 2.25rem;
    border-radius: 0;
  }
  body.front-desk .room-grid .room-planned { grid-template-columns: minmax(0, 1fr); }
  body.front-desk .room-grid .room > .room-meta {
    grid-row: auto;
    grid-column: auto;
    align-self: center;
    text-align: end;
    overflow-wrap: anywhere;
  }
  body.front-desk .room-grid .room-meta .badges { justify-content: end; }
  body.front-desk .room-grid .actions > button::after { inset-block-start: calc(50% - .25rem); }
  body.front-desk .room-grid .room .room-number { padding-inline-end: 0; }
  body .rooms > .room { box-shadow: none; }
  body .rooms > .room:focus-within { outline-offset: -2px; }
  body .room .actions button { min-height: 44px; }
  body .room .room-details { color: var(--app-tint); background: transparent; }
  body .statistics-period-controls .filters button { min-inline-size: 0; }
  body .statistics-pagination { flex-wrap: wrap; justify-content: center; }
  body dialog {
    border-block-end: 0;
    border-radius: 30px 30px 0 0;
  }
  body .dialog-heading { min-height: 44px; gap: .5rem; }
  body .mobile-menu { gap: .32rem; padding: .28rem; border-radius: 15px; background: var(--control-fill); }
  body .mobile-menu > button { min-height: 48px; padding-inline: .85rem; }
  body .mobile-menu > button.secondary { background: var(--card); }
  body .mobile-menu > button.secondary:hover:not(:disabled) { background: var(--tint-fill); }
}
@media (min-width: 385px) and (max-width: 740px), (min-width: 741px) and (max-width: 950px) and (hover: none) and (pointer: coarse) {
  body .room-date-actions {
    grid-template-columns: 44px minmax(0, 1fr) 44px 44px minmax(3.25rem, auto);
    gap: .25rem;
  }
  body .room-date-shortcuts { display: contents; }
  #room-date { padding-inline: .28rem; }
  #room-date::-webkit-calendar-picker-indicator { margin: 0; padding: 0; }
  #room-calendar {
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }
  #room-calendar::before {
    content: "";
    width: 17px;
    height: 17px;
    border: 1.6px solid currentColor;
    border-block-start-width: 4px;
    border-radius: 4px;
  }
  #room-day-today { padding-inline: .5rem; }
}
@media (hover: none) and (pointer: coarse) {
  :root { --control-height: 44px; }
  body #hotel-switch { min-height: 44px; }
  body input:not([type="checkbox"]), body select, body textarea { font-size: 1rem; }
}
@media (prefers-reduced-transparency: reduce) {
  body .topbar, body #mobile-nav {
    background: var(--card);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
