:root {
  --navy: #112239;
  --blue: #2259e6;
  --blue-light: #edf2ff;
  --ink: #16283d;
  --muted: #6b788c;
  --line: #e4e9f1;
  --bg: #f3f5fa;
  --green: #16785c;
  --green-light: #e6f5ef;
  --orange: #a16611;
  --orange-light: #fff3db;
  --red: #b4454a;
  --red-light: #fcebed;
  --calendar-free: #d5efdc;
  --calendar-reserved: #ffed99;
  --calendar-booked: #cbe5ff;
  --calendar-invoiced: #214e86;
  --calendar-blocked: #c64250;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
a {
  color: var(--blue);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #92aef8;
  outline-offset: 3px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #b6c9ff;
  border-color: var(--blue);
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 220px;
  background: var(--navy);
  color: #d2dceb;
  padding: 22px 16px;
  z-index: 10;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  color: white;
  font-weight: 750;
  font-size: 25px;
  letter-spacing: -0.7px;
}
.brand-icon {
  width: 39px;
  height: 39px;
  border-radius: 11px;
  background: var(--blue);
  color: white;
  display: inline-grid;
  place-items: center;
  font-size: 31px;
  line-height: 1;
  padding-bottom: 5px;
}
.brand-light {
  display: block;
  font-size: 12px;
  letter-spacing: 1.1px;
  font-weight: 500;
  color: #9faec1;
}
.workspace-name {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 1.5px;
  padding: 27px 10px 16px;
  color: #a4b4c9;
}
.workspace-name span {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  padding-top: 6px;
  color: #73869e;
}
nav {
  display: grid;
  gap: 7px;
}
nav a {
  display: flex;
  gap: 13px;
  align-items: center;
  color: #b7c5d7;
  font-size: 14px;
  padding: 11px 12px;
  border-radius: 8px;
  font-weight: 550;
}
nav a svg {
  width: 19px;
  height: 19px;
  opacity: 0.86;
}
nav a.active {
  color: white;
  background: #245be5;
  box-shadow: 0 4px 14px #0001;
}
nav a:hover:not(.active) {
  background: #ffffff09;
  color: white;
}
.nav-count {
  margin-left: auto;
  font-size: 12px;
  background: #ffffff1c;
  padding: 2px 6px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #ffffff15;
  padding: 20px 9px 0;
}
.connection {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #9fb0c6;
}
.connection-dot {
  width: 7px;
  height: 7px;
  background: #73c4a2;
  border-radius: 50%;
  flex: none;
}
.logout {
  border: 0;
  background: transparent;
  color: #aebcd0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0 0;
  font-size: 13px;
}
.app-shell {
  margin-left: 220px;
}
.topbar {
  height: 64px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 14px;
}
.breadcrumb strong {
  font-weight: 550;
  color: var(--ink);
}
.breadcrumb span {
  color: #c5ccd7;
}
.topbar-right {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.avatar {
  background: #e9eff9;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 650;
  color: #4c6689;
}
main {
  padding: 24px 24px 48px;
  max-width: 1920px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 21px;
}
.eyebrow {
  font-size: 12px;
  color: var(--muted);
  font-weight: 650;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
h1 {
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 0 0 9px;
  font-weight: 700;
}
h2 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 16px;
  margin: 0;
}
p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
small {
  font-size: 12px;
  color: var(--muted);
}
.button {
  border: 1px solid var(--line);
  border-radius: 7px;
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: white;
  color: var(--ink);
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}
.button:hover {
  filter: brightness(0.975);
}
.button svg {
  width: 17px;
  height: 17px;
}
.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 3px 7px #245be520;
}
.button.danger {
  color: var(--red);
}
.button.small {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 13px;
}
.button.full {
  width: 100%;
}
.button.ghost {
  border: 0;
  background: transparent;
  color: var(--blue);
}
.heading-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px 18px;
  position: relative;
}
.stat-label {
  color: #637085;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.stat-label svg {
  height: 19px;
  width: 19px;
  color: #8093b0;
}
.stat-value {
  font-size: 30px;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 12px 0 8px;
  font-weight: 650;
}
.stat-value span {
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0;
  font-weight: 400;
}
.stat-foot {
  font-size: 12px;
  color: var(--muted);
}
.stat-foot.green {
  color: var(--green);
}
.stat-foot.orange {
  color: var(--orange);
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}
.panel-head small {
  display: block;
  margin-top: 4px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}
.stack {
  display: grid;
  gap: 18px;
}
.tabs {
  display: flex;
  gap: 21px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 14px;
  padding: 13px 0;
  color: var(--muted);
  font-weight: 550;
}
.tabs button.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.tabs span {
  margin-left: 7px;
  font-size: 12px;
  background: var(--blue-light);
  border-radius: 4px;
  padding: 2px 5px;
}
.guest-row {
  display: grid;
  grid-template-columns: 39px minmax(0, 1fr) auto;
  gap: 13px;
  padding: 15px 18px;
  border-bottom: 1px solid #eef1f6;
  align-items: center;
  cursor: pointer;
}
.guest-row:last-child {
  border-bottom: 0;
}
.guest-row:hover {
  background: #fafbff;
}
.guest-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  background: #eef2fa;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
  color: #5a7297;
}
.guest-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.guest-meta {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.5;
}
.guest-side {
  text-align: right;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
  line-height: 1.3;
}
.tag.blue {
  background: var(--blue-light);
  color: #285dc0;
}
.tag.green {
  background: var(--green-light);
  color: var(--green);
}
.tag.orange {
  background: var(--orange-light);
  color: var(--orange);
}
.tag.red {
  background: var(--red-light);
  color: var(--red);
}
.tag.gray {
  background: #eef1f6;
  color: #68758a;
}
.panel-footer {
  padding: 12px 18px;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.room-summary {
  padding: 18px;
}
.progress-bar {
  height: 11px;
  background: #edf0f5;
  border-radius: 9px;
  display: flex;
  overflow: hidden;
  margin: 17px 0;
}
.progress-bar span {
  height: 100%;
}
.legend {
  display: grid;
  gap: 14px;
}
.legend-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}
.legend-row .left {
  display: flex;
  align-items: center;
  gap: 9px;
}
.swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.note-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.note-row:last-child {
  border-bottom: 0;
}
.note-icon {
  background: var(--blue-light);
  padding: 8px;
  border-radius: 7px;
  color: var(--blue);
  display: flex;
}
.note-icon svg {
  width: 17px;
  height: 17px;
}
.note-row strong {
  font-size: 14px;
  display: block;
  margin-bottom: 5px;
}
.note-row p {
  font-size: 13px;
  line-height: 1.5;
}
.sync-strip {
  padding: 11px 15px;
  background: #eaf0fa;
  border: 1px solid #dce5f3;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  color: #50647e;
}
.sync-strip svg {
  height: 16px;
  width: 16px;
  vertical-align: middle;
  margin-right: 7px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar .search {
  flex: 1;
  min-width: 200px;
  max-width: 450px;
}
.toolbar select,
.toolbar input {
  width: auto;
  min-height: 42px;
  margin: 0;
  background: white;
}
.filters-end {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
}
.search {
  position: relative;
}
.search input {
  padding-left: 39px;
  width: 100%;
}
.search svg {
  position: absolute;
  left: 13px;
  top: 12px;
  width: 17px;
  height: 17px;
  color: #8190a4;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
th {
  color: #798599;
  font-weight: 550;
  font-size: 12px;
  white-space: nowrap;
  background: #fbfcfe;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 13px 16px;
  border-bottom: 1px solid #edf0f5;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr.clickable {
  cursor: pointer;
}
tbody tr.clickable:hover {
  background: #fafbff;
}
.table-primary {
  font-weight: 550;
  max-width: 310px;
  line-height: 1.45;
}
.table-secondary {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 21px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.empty svg {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto 14px;
  color: #94a8c9;
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.room-card {
  padding: 17px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  position: relative;
  overflow: hidden;
}
.room-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #a5b2c4;
}
.room-card.ready:before {
  background: #2caa80;
}
.room-card.dirty:before {
  background: #dea644;
}
.room-card.cleaning:before {
  background: #5288ef;
}
.room-card.blocked:before {
  background: #ca6670;
}
.room-card-top {
  display: flex;
  justify-content: space-between;
  gap: 9px;
  align-items: center;
}
.room-number {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.5px;
}
.room-description {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 13px;
  min-height: 17px;
}
.room-info {
  font-size: 13px;
  line-height: 1.6;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  min-height: 57px;
}
.room-actions {
  display: flex;
  gap: 7px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.room-actions button {
  flex: 1;
}
.room-note {
  font-size: 13px;
  color: var(--orange);
  margin-bottom: 8px;
}
.room-updated {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.status-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.chip {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--muted);
}
.chip.active {
  background: var(--blue-light);
  color: var(--blue);
  border-color: #c5d4fe;
}
.calendar {
  table-layout: fixed;
}
.calendar-room-column {
  width: 175px;
}
.calendar th {
  padding: 9px 2px;
  text-align: center;
}
.calendar td {
  padding: 3px 2px;
  border-right: 1px solid var(--line);
  height: 42px;
}
.calendar th:first-child,
.calendar td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: white;
  min-width: 175px;
  padding: 5px 12px;
  text-align: left;
}
.calendar td:first-child .table-secondary {
  margin-top: 2px;
  font-size: 11px;
}
.calendar th.weekend {
  background: #f0f2f7;
}
.calendar th.today {
  background: var(--blue-light);
  color: var(--blue);
}
.calendar-block {
  width: 100%;
  border: 0;
  border-left: 3px solid #6ba9dd;
  background: var(--calendar-booked);
  color: #164b78;
  border-radius: 4px;
  padding: 7px 6px;
  min-height: 34px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  display: block;
  text-align: left;
}
.calendar-block.reserved,
.calendar-swatch.reserved {
  background: var(--calendar-reserved);
  border-color: #cfa922;
  color: #665016;
}
.calendar-block.booked,
.calendar-swatch.booked {
  background: var(--calendar-booked);
  border-color: #6ba9dd;
  color: #164b78;
}
.calendar-block.invoiced,
.calendar-swatch.invoiced {
  background: var(--calendar-invoiced);
  border-color: #16375e;
  color: white;
}
.calendar-free {
  border: 1px solid #a4d3b2;
  background: var(--calendar-free);
  color: #23633b;
  width: 100%;
  height: 34px;
  border-radius: 4px;
  font-size: 17px;
}
.calendar-free:hover {
  background: #bfe5c9;
  color: #164c2a;
}
.calendar-block:hover {
  filter: brightness(0.96);
}
.calendar-unavailable {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 34px;
  border: 1px solid #dce2eb;
  border-radius: 4px;
  background: #edf0f5;
  color: #68758a;
  font-size: 18px;
  line-height: 1;
}
.calendar-block.blocked,
.calendar-unavailable.blocked,
.calendar-swatch.blocked {
  background: var(--calendar-blocked);
  border-color: #a52f3c;
  color: white;
}
.calendar-clash {
  display: block;
  background: var(--red-light);
  color: var(--red);
  padding: 8px 2px;
  text-align: center;
  font-size: 12px;
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  align-items: center;
  margin: 0 0 14px;
  font-size: 12px;
  color: #536178;
}
.calendar-legend > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.calendar-swatch {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1px solid transparent;
  border-radius: 3px;
  flex: none;
}
.calendar-swatch.free {
  background: var(--calendar-free);
  border-color: #a4d3b2;
}
.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-grid .wide {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 550;
  color: #536178;
}
input,
select,
textarea {
  display: block;
  border: 1px solid #dbe2ed;
  border-radius: 6px;
  padding: 11px 12px;
  margin-top: 7px;
  width: 100%;
  background: white;
  color: var(--ink);
  font-size: 14px;
  min-height: 43px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: var(--blue);
  margin: 0;
  flex: none;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  line-height: 1.5;
  font-size: 14px;
  font-weight: 400;
}
.room-pick {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  max-height: 200px;
  overflow: auto;
  padding: 2px;
}
.room-pick label {
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 6px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.room-pick label:has(:checked) {
  border-color: #91aaf5;
  background: var(--blue-light);
}
.room-pick label:has(:disabled) {
  opacity: 0.5;
}
.form-section {
  margin-top: 22px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.form-section h3 {
  margin-bottom: 15px;
}
.form-help {
  font-size: 12px;
  margin-top: 7px;
  line-height: 1.5;
}
.form-error {
  font-size: 14px;
  background: var(--red-light);
  color: var(--red);
  border-radius: 6px;
  padding: 12px;
  margin: 14px 0;
}
.form-info {
  font-size: 13px;
  background: var(--blue-light);
  color: #486492;
  border-radius: 6px;
  padding: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}
.form-warning {
  font-size: 13px;
  background: var(--orange-light);
  color: #916426;
  border-radius: 6px;
  padding: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}
dialog {
  border: 0;
  border-radius: 13px;
  width: min(740px, calc(100vw - 32px));
  max-height: 92vh;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 30px 100px #102d4640;
}
dialog::backdrop {
  background: #0f203866;
  backdrop-filter: blur(2px);
}
.dialog-head {
  padding: 23px 27px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.dialog-head h2 {
  font-size: 22px;
  margin-bottom: 5px;
}
.close {
  border: 0;
  background: #f0f3f8;
  border-radius: 6px;
  font-size: 22px;
  color: #748198;
  line-height: 1;
  width: 31px;
  height: 31px;
  flex: none;
}
.dialog-body {
  padding: 24px 27px;
}
.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 19px 27px;
  border-top: 1px solid var(--line);
  background: #fafbfe;
}
.detail-item {
  padding: 12px;
  background: #f6f8fb;
  border-radius: 6px;
}
.detail-item small {
  display: block;
  margin-bottom: 6px;
}
.detail-item strong {
  font-size: 14px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.message-preview {
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.75;
  background: #f7f9fc;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 17px;
  max-height: 280px;
  overflow: auto;
}
.code-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.code-row .check-label {
  grid-column: 1/-1;
  font-size: 13px;
}
.toast {
  position: fixed;
  right: 30px;
  bottom: 28px;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  padding: 15px 22px;
  max-width: min(500px, 90vw);
  font-size: 14px;
  line-height: 1.5;
  z-index: 99;
  box-shadow: 0 5px 30px #0002;
}
.toast.error {
  background: #923b46;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
.settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 22px;
}
.panel-body {
  padding: 18px;
}
.setting-line {
  padding: 16px 0;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: center;
}
.setting-line:last-child {
  border: 0;
}
.setting-line p {
  font-size: 13px;
  margin-top: 5px;
}
.audit-row {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.audit-row small {
  white-space: nowrap;
}
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: linear-gradient(125deg, #102137 0, #193757 48%, #eef2f9 48%);
  padding: 24px;
}
.login-card {
  background: white;
  width: min(450px, 100%);
  border-radius: 15px;
  padding: 39px;
  box-shadow: 0 25px 100px #071b3633;
}
.login-card .brand {
  color: var(--ink);
  margin-bottom: 40px;
}
.login-card h1 {
  font-size: 28px;
}
.login-card p {
  font-size: 14px;
  margin-bottom: 26px;
}
.login-card label {
  margin-bottom: 18px;
}
.login-card small {
  display: block;
  text-align: center;
  margin-top: 25px;
}
.login-card .button {
  margin-top: 9px;
}
.import-area {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  min-height: 160px;
}
.results-count {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0;
}
.muted {
  color: var(--muted);
}
@media (min-width: 1600px) {
  main {
    padding: 24px 32px 48px;
  }
  .guest-name {
    font-size: 15px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(340px, 1fr);
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 212px;
    padding: 25px 14px;
  }
  .app-shell {
    margin-left: 212px;
  }
  main {
    padding: 24px;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 16px;
  }
  .stat-value {
    font-size: 29px;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .stack {
    grid-template-columns: 1fr 1fr;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .guest-name {
    white-space: normal;
  }
  .room-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    height: 70px;
    padding: 0;
    background: white;
    color: var(--ink);
    border-top: 1px solid var(--line);
    display: block;
  }
  .sidebar > .brand,
  .workspace-name,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 0;
    justify-content: space-around;
    height: 100%;
  }
  .sidebar nav a {
    flex: 1;
    max-width: 90px;
    border-radius: 0;
    background: none;
    box-shadow: none;
    padding: 10px 4px;
    color: #8793a6;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 10px;
    justify-content: center;
  }
  .sidebar nav a.active {
    color: var(--blue);
    background: #f1f5ff;
  }
  .sidebar nav a svg {
    width: 19px;
    height: 19px;
  }
  .nav-count {
    display: none;
  }
  .app-shell {
    margin-left: 0;
  }
  .topbar {
    height: 62px;
    padding: 0 19px;
  }
  .topbar-right {
    gap: 12px;
  }
  .topbar-right > span:first-child {
    display: none;
  }
  .breadcrumb {
    font-size: 13px;
    gap: 10px;
  }
  main {
    padding: 23px 16px 100px;
  }
  .page-heading {
    margin-bottom: 22px;
    gap: 13px;
    align-items: center;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 11px;
  }
  .heading-actions .button {
    font-size: 12px;
    padding: 10px;
    white-space: nowrap;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 16px;
  }
  .stat-label {
    font-size: 12px;
  }
  .stat-label svg {
    width: 16px;
    height: 16px;
  }
  .stat-value {
    font-size: 29px;
    margin: 12px 0 7px;
  }
  .stat-foot {
    font-size: 11px;
  }
  .dashboard-grid {
    gap: 18px;
  }
  .stack {
    grid-template-columns: 1fr;
  }
  .panel-head {
    padding: 17px;
  }
  .panel-head h2 {
    font-size: 16px;
  }
  .guest-row {
    padding: 16px;
    gap: 10px;
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }
  .guest-icon {
    width: 32px;
    height: 34px;
  }
  .guest-name {
    font-size: 13px;
  }
  .guest-meta {
    font-size: 11px;
  }
  .tag {
    font-size: 11px;
    padding: 4px 6px;
  }
  .sync-strip {
    font-size: 12px;
    padding: 12px;
    line-height: 1.5;
    display: block;
  }
  .sync-strip > a {
    display: block;
    margin-top: 5px;
  }
  .toolbar {
    gap: 8px;
  }
  .toolbar input,
  .toolbar select {
    font-size: 13px;
    padding: 10px;
    min-width: 0;
  }
  .toolbar .search {
    min-width: 100%;
    max-width: none;
  }
  .search input {
    padding-left: 38px;
  }
  .filters-end {
    margin-left: 0;
    flex-wrap: wrap;
  }
  .room-grid {
    grid-template-columns: 1fr;
  }
  .room-card {
    padding: 17px;
  }
  .room-actions .button {
    min-height: 45px;
    font-size: 14px;
  }
  .form-grid,
  .details-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .wide {
    grid-column: auto;
  }
  .dialog-head {
    padding: 20px;
  }
  .dialog-head h2 {
    font-size: 20px;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-footer {
    padding: 16px 20px;
    flex-wrap: wrap;
  }
  .dialog-footer .button {
    flex: 1;
  }
  .room-pick {
    grid-template-columns: 1fr;
  }
  .toast {
    right: 16px;
    bottom: 86px;
  }
  .pagination {
    gap: 10px;
    flex-wrap: wrap;
  }
  .page-heading:has(.heading-actions select) {
    align-items: flex-start;
  }
  .room-card .tag {
    font-size: 12px;
  }
  .setting-line {
    align-items: flex-start;
  }
  .login-card {
    padding: 28px;
  }
  .code-row {
    grid-template-columns: 1fr;
  }
  .code-row .check-label {
    grid-column: auto;
  }
}
.panel-head > svg {
  width: 21px;
  height: 21px;
  flex: none;
  color: #8193ab;
}
.nav-short {
  display: none;
}
.source-review {
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 15px;
  padding: 14px;
  background: #f5f7fb;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.source-review summary {
  cursor: pointer;
  font-weight: 600;
}
.source-review dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 6px;
  margin: 12px 0 0;
}
.source-review dt {
  color: var(--muted);
}
.source-review dd {
  margin: 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .sidebar nav a {
    min-width: 0;
  }
  .sidebar nav .nav-full {
    display: none;
  }
  .sidebar nav .nav-short {
    display: block;
    white-space: nowrap;
    font-size: 10px;
  }
  .sidebar nav a svg {
    flex: none;
  }
  .source-review dl {
    grid-template-columns: 70px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.brand {
  font-size: 20px;
  letter-spacing: -0.5px;
}
.brand-icon {
  font-size: 23px;
  padding-bottom: 3px;
  flex: none;
}
.brand-light {
  font-size: 10px;
  letter-spacing: 1.8px;
  margin-top: 3px;
}
.cleaning-task {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  margin: -5px 0 12px;
}
.cleaning-task small {
  font-size: 12px;
}
