.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  color: #25231f;
  background: #f4f1ea;
}

.admin-auth-screen {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 14%, rgba(204, 55, 37, 0.12), transparent 30%),
    rgba(26, 25, 22, 0.9);
  backdrop-filter: blur(14px);
}

.admin-auth-card {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.admin-auth-card > img {
  width: 64px;
  height: 64px;
  border: 1px solid #e6ded3;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.admin-auth-card form,
.admin-auth-status {
  width: 100%;
  display: grid;
  gap: 15px;
  text-align: center;
}

.admin-auth-card h1 {
  margin: 0;
  color: #211f1b;
  font-size: clamp(22px, 4vw, 28px);
}

.admin-auth-card p {
  margin: 0;
  color: #756f66;
  font-size: 12px;
  line-height: 1.65;
}

.admin-auth-card form label {
  display: grid;
  gap: 7px;
  text-align: left;
}

.admin-auth-card form label span {
  color: #5c574f;
  font-size: 10px;
  font-weight: 800;
}

.admin-auth-card form input {
  width: 100%;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #ddd5ca;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: #211f1b;
  font: inherit;
  font-size: 13px;
}

.admin-auth-card form input:focus {
  border-color: #bd3124;
  box-shadow: 0 0 0 3px rgba(189, 49, 36, 0.1);
}

.admin-auth-card form > button,
.admin-auth-actions button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #b92f22;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.admin-auth-card form > button.is-secondary {
  color: #504a43;
  background: #eee9e2;
}

.admin-auth-card button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.admin-auth-card .admin-auth-error {
  color: #a62a20;
  font-weight: 700;
}

.admin-auth-spinner {
  width: 32px;
  height: 32px;
  justify-self: center;
  border: 3px solid #e9e1d7;
  border-top-color: #bc3023;
  border-radius: 50%;
  animation: admin-auth-spin 700ms linear infinite;
}

.admin-auth-symbol {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  color: #a62a20;
  background: #f8e3df;
  font-weight: 900;
}

.admin-auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.admin-auth-actions button.is-secondary {
  color: #504a43;
  background: #eee9e2;
}

@keyframes admin-auth-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .admin-auth-spinner {
    animation-duration: 1.8s;
  }
}

.admin-sidebar {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px 14px;
  color: rgba(255, 255, 255, 0.68);
  background: #1a1916;
}

.admin-brand {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.admin-brand > span {
  display: grid;
  gap: 3px;
}

.admin-brand b {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.admin-brand small {
  color: rgba(255, 255, 255, 0.4);
  font-size: 7px;
}

.admin-sidebar nav {
  display: grid;
  gap: 3px;
  margin-top: 22px;
}

.admin-sidebar nav a {
  position: relative;
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease;
}

.admin-sidebar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.admin-sidebar nav a.is-active {
  color: #fff;
  background: #d84a32;
}

.admin-sidebar nav a > span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  flex: 0 0 auto;
}

.admin-sidebar nav a > span svg {
  width: 16px;
  height: 16px;
}

.admin-sidebar nav a.is-active > span {
  color: #fff;
}

.admin-sidebar nav a > i {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-style: normal;
}

.admin-sidebar nav a > em {
  width: 6px;
  height: 6px;
  margin-left: auto;
  border-radius: 50%;
  background: #20d16b;
  box-shadow: 0 0 0 4px rgba(32, 209, 107, 0.09);
}

.admin-sidebar__bottom {
  display: grid;
  margin-top: auto;
}

.admin-profile {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 12px 8px 0;
  border-top: 1px solid rgba(255,255,255,.1);
}

.admin-profile > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #6c5447;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
}

.admin-profile > div {
  display: grid;
  gap: 2px;
}

.admin-profile b {
  color: #fff;
  font-size: 9px;
}

.admin-profile small {
  color: rgba(255,255,255,.4);
  font-size: 7px;
}

.admin-profile button {
  border: 0;
  color: rgba(255,255,255,.5);
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.admin-profile > .admin-profile-mode {
  color: rgba(255,255,255,.38);
  font-size: 6px;
  text-align: right;
}

.admin-workspace {
  min-width: 0;
}

.live-count i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #18bb60;
  box-shadow: 0 0 0 4px rgba(24, 187, 96, 0.08);
}

.admin-main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 30px 60px;
}

.admin-page-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-page-title h1 {
  margin: 0;
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.admin-page-title > div > span {
  display: block;
  margin-top: 6px;
  color: #756e64;
  font-size: 9px;
}

.admin-browser-notification-prompt {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -10px 0 20px;
  padding: 10px 12px;
  border: 1px solid #eadfd2;
  border-radius: 7px;
  background: #fffaf3;
  box-shadow: 0 8px 24px rgba(82, 61, 38, 0.06);
}

.admin-browser-notification-prompt > span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: #f9e9e2;
}

.admin-browser-notification-prompt svg {
  width: 17px;
  height: 17px;
}

.admin-browser-notification-prompt > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin-right: auto;
}

.admin-browser-notification-prompt strong {
  font-size: 9px;
}

.admin-browser-notification-prompt small {
  color: #756e64;
  font-size: 8px;
  line-height: 1.45;
}

.admin-browser-notification-prompt button {
  min-height: 34px;
  flex: 0 0 auto;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #24221e;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.admin-primary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 8px 18px rgba(215, 72, 47, 0.17);
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.admin-primary > span {
  font-size: 13px;
}

.admin-page-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-secondary-action {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #d8d0c5;
  border-radius: 4px;
  color: #514b43;
  background: #fff;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.admin-secondary-action:hover {
  border-color: #c9b8a9;
  background: #faf7f2;
}

.admin-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.admin-stat-grid article {
  position: relative;
  min-height: 126px;
  display: grid;
  align-content: start;
  padding: 17px;
  overflow: hidden;
  border: 1px solid #e3ddd3;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(51, 40, 24, 0.035);
}

.admin-stat-grid article > span {
  color: #7f786e;
  font-size: 8px;
  font-weight: 700;
}

.admin-stat-grid article > strong {
  margin-top: 10px;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.admin-stat-grid article > small {
  margin-top: 10px;
  color: #8b8379;
  font-size: 7px;
}

.stat-symbol {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #4d443e;
  background: #f0ebe1;
  font-family: "Songti SC", serif;
  font-size: 12px;
}

.stat-symbol--1 {
  color: #985221;
  background: #fff0dc;
}

.stat-symbol--2 {
  color: #397353;
  background: #e7f6ed;
}

.stat-symbol--3 {
  color: #a13c2c;
  background: #fae7e2;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, 0.75fr);
  gap: 13px;
  margin-top: 13px;
}

.admin-card {
  min-width: 0;
  border: 1px solid #e3ddd3;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(51, 40, 24, 0.035);
}

.admin-card__heading {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border-bottom: 1px solid #eee9e1;
}

.admin-card__heading h2 {
  margin: 0;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.admin-card__heading a,
.admin-card__heading > span,
.admin-card__heading button {
  border: 0;
  color: #837c72;
  background: transparent;
  font-size: 7px;
  font-weight: 700;
}

.schedule-card {
  padding-bottom: 15px;
}

.schedule-axis {
  height: 26px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  margin: 0 16px 0 150px;
  color: #aaa299;
  font-family: Arial, sans-serif;
  font-size: 6px;
}

.schedule-axis span:not(:first-child) {
  text-align: center;
}

.schedule-row {
  min-height: 48px;
  display: grid;
  grid-template-columns: 135px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.schedule-row + .schedule-row {
  border-top: 1px solid #f0ebe4;
}

.schedule-row > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.schedule-row > div:first-child b {
  overflow: hidden;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-code {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 4px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 9px;
  font-style: italic;
}

.room-code--red {
  background: #c8422f;
}

.room-code--ink {
  background: #2c2a26;
}

.room-code--gold {
  background: #aa7a46;
}

.schedule-track {
  position: relative;
  height: 28px;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, #f7f4ef 0 calc(20% - 1px), #e8e2d9 calc(20% - 1px) 20%);
  border-radius: 3px;
}

.schedule-block {
  position: absolute;
  top: 4px;
  bottom: 4px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  overflow: hidden;
  border-radius: 3px;
  color: #7a3d2b;
  background: #f7ded6;
  font-size: 6px;
  font-weight: 800;
  white-space: nowrap;
}

button.schedule-block {
  border: 0;
  text-align: left;
  cursor: pointer;
}

.schedule-block--1 {
  color: #fff;
  background: #2d2a26;
}

.schedule-block--2 {
  color: #6d4d27;
  background: #f1dfc3;
}

.schedule-block--3 {
  color: #657068;
  background: #ecefec;
}

.activity-card ul {
  margin: 0;
  padding: 8px 16px 14px;
  list-style: none;
}

.activity-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 9px;
  padding: 10px 0;
  color: #605a52;
  font-size: 7px;
  line-height: 1.5;
}

.activity-card li + li {
  border-top: 1px solid #f0ece5;
}

.activity-card li b {
  color: #25231f;
}

.activity-card li small {
  display: block;
  margin-top: 2px;
  color: #a19a90;
  font-size: 6px;
}

.activity-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 900;
}

.activity-icon.is-green {
  color: #34724e;
  background: #e5f5eb;
}

.activity-icon.is-orange {
  color: #9e6024;
  background: #fff0db;
}

.activity-icon.is-red {
  color: #a23d2d;
  background: #f8e5e0;
}

.activity-icon.is-ink {
  color: #48443e;
  background: #ebe8e1;
}

.recent-card {
  min-height: 265px;
}

.compact-bookings {
  padding: 4px 16px 12px;
}

.compact-bookings > button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px minmax(100px, 1fr) auto 55px;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.compact-bookings > button + button {
  border-top: 1px solid #f0ece5;
}

.compact-bookings > button > div {
  display: grid;
  gap: 2px;
}

.compact-bookings b {
  font-size: 8px;
}

.compact-bookings small {
  color: #9a9389;
  font-size: 6px;
}

.compact-bookings > button > strong {
  font-family: Arial, sans-serif;
  font-size: 8px;
  text-align: right;
}

.admin-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 99px;
  color: #946023;
  background: #fff1dc;
  font-size: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.admin-status i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e69a42;
}

.admin-status--confirmed {
  color: #33704c;
  background: #e6f5eb;
}

.admin-status--confirmed i {
  background: #17b75c;
}

.admin-status--cancelled {
  color: #a04234;
  background: #f9e6e2;
}

.admin-status--cancelled i {
  background: #d64e3a;
}

.admin-status--completed {
  color: #5e5a54;
  background: #ece9e3;
}

.admin-status--completed i {
  background: #858078;
}

.health-card {
  padding-bottom: 7px;
}

.health-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 15px;
}

.health-row + .health-row {
  border-top: 1px solid #f0ece5;
}

.health-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #656057;
  font-size: 7px;
}

.health-row span i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.health-row span i.is-green {
  background: #17b75c;
}

.health-row span i.is-orange {
  background: #e69a42;
}

.health-row span i.is-muted {
  background: #aaa39a;
}

.health-row b {
  font-family: Arial, sans-serif;
  font-size: 7px;
}

.bookings-table-card {
  overflow: hidden;
}

.table-toolbar {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-bottom: 1px solid #eae5dd;
}

.table-toolbar label {
  width: min(360px, 40vw);
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  border: 1px solid #ded7cb;
  border-radius: 4px;
  background: #fbfaf7;
}

.table-toolbar label span {
  color: #8d857a;
  font-size: 14px;
}

.table-toolbar label input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 8px;
}

.table-toolbar > select,
.table-toolbar > button {
  height: 36px;
  padding: 0 11px;
  border: 1px solid #ded7cb;
  border-radius: 4px;
  color: #514c45;
  background: #fff;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
}

.table-toolbar > button span {
  margin-left: 7px;
}

.table-toolbar .export-button {
  margin-left: auto;
}

.table-toolbar > button:disabled {
  color: #aaa39a;
  background: #f1ede7;
  cursor: not-allowed;
}

.admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 8px;
}

.admin-table th {
  height: 38px;
  padding: 0 12px;
  color: #8b8479;
  background: #faf9f6;
  border-bottom: 1px solid #e9e4dc;
  font-size: 7px;
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.admin-table td {
  height: 63px;
  padding: 8px 12px;
  color: #5e5951;
  border-bottom: 1px solid #eeeae3;
  white-space: nowrap;
}

.admin-table tbody tr {
  transition: background 140ms ease;
}

.admin-table tbody tr:hover {
  background: #fffaf7;
}

.admin-table td > b {
  display: block;
  color: #2a2823;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 8px;
}

.admin-table td > small {
  display: block;
  margin-top: 4px;
  color: #999188;
  font-size: 6px;
}

.customer-cell,
.room-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.customer-cell > span {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #766458;
  font-size: 9px;
  font-weight: 800;
}

.customer-avatar {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

.customer-avatar > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.customer-cell > div {
  display: grid;
  gap: 2px;
}

.customer-cell b,
.room-cell b {
  color: #2b2823;
  font-size: 8px;
}

.customer-cell small {
  color: #979087;
  font-size: 6px;
}

.source-pill,
.locale-pill {
  display: inline-flex;
  padding: 4px 7px;
  border-radius: 99px;
  color: #6c5849;
  background: #eee8df;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: 900;
}

.source-pill--ai {
  color: #fff;
  background: #24221e;
}

.row-action {
  width: 28px;
  height: 28px;
  border: 1px solid #e1dbd1;
  border-radius: 4px;
  color: #716a61;
  background: #fff;
  font-size: 8px;
  cursor: pointer;
}

.table-footer {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: #8f887f;
  font-family: Arial, sans-serif;
  font-size: 7px;
}

.table-footer > div {
  display: flex;
  gap: 4px;
}

.table-footer button,
.table-footer .table-page-current {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #dfd9cf;
  border-radius: 4px;
  background: #fff;
  font-size: 8px;
}

.table-footer .table-page-current {
  color: #fff;
  border-color: #2b2925;
  background: #2b2925;
}

.admin-booking-management {
  display: grid;
  gap: 14px;
}

.admin-booking-overview {
  display: grid;
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.35fr);
  align-items: stretch;
  gap: 14px;
}

.admin-booking-calendar,
.booking-summary-card,
.booking-list-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3ddd3;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(51, 40, 24, 0.035);
}

.admin-booking-calendar {
  padding: 17px;
}

.admin-booking-calendar > header,
.calendar-toolbar {
  min-height: 34px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-booking-calendar > header h2,
.calendar-toolbar h2 {
  margin: 0;
  color: #2b2823;
  font-size: 12px;
  letter-spacing: -0.02em;
  text-align: center;
}

.admin-booking-calendar > header button,
.calendar-toolbar button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #e3ddd3;
  border-radius: 50%;
  color: #5f5951;
  background: #fbfaf7;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.admin-booking-calendar > header button:hover,
.calendar-toolbar button:hover {
  border-color: #d8a39a;
  color: #a62e21;
  background: #fff8f6;
}

.admin-booking-calendar__grid,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.admin-booking-calendar__grid > .is-weekday,
.calendar-weekday {
  min-height: 24px;
  display: grid;
  place-items: center;
  color: #999188;
  font-size: 7px;
  font-weight: 800;
}

.admin-booking-calendar__grid > button,
.calendar-day {
  position: relative;
  min-width: 0;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  color: #4f4a43;
  background: #fbfaf7;
  font: inherit;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 8px;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}

.admin-booking-calendar__grid > button:hover,
.calendar-day:hover {
  border-color: #e4c7c1;
  color: #9f3024;
  background: #fff8f6;
}

.admin-booking-calendar__grid > button.is-selected,
.calendar-day.is-selected {
  border-color: #b93629;
  color: #fff;
  background: #bd392b;
  box-shadow: 0 6px 14px rgba(185, 47, 34, 0.16);
}

.admin-booking-calendar__grid > button.is-outside,
.calendar-day.is-outside {
  color: #c4bdb4;
  background: transparent;
}

.admin-booking-calendar__grid > button > small,
.calendar-day-count {
  position: absolute;
  right: 3px;
  bottom: 3px;
  min-width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  padding: 0 3px;
  border-radius: 99px;
  color: #fff;
  background: #2c2924;
  font-family: Arial, sans-serif;
  font-size: 5px;
  font-weight: 900;
}

.admin-booking-calendar__grid > button.is-selected > small,
.calendar-day.is-selected .calendar-day-count {
  color: #a62e21;
  background: #fff;
}

.admin-booking-calendar > button {
  width: 100%;
  min-height: 34px;
  margin-top: 12px;
  border: 1px solid #ded7cc;
  border-radius: 4px;
  color: #5f5951;
  background: #fff;
  font: inherit;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.admin-booking-calendar > button.is-all-active {
  border-color: #2a2823;
  color: #fff;
  background: #2a2823;
}

.booking-summary-card {
  display: grid;
  align-content: start;
}

.booking-summary-card > header,
.booking-list-heading,
.booking-list-toolbar {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 17px;
  border-bottom: 1px solid #eee9e1;
}

.booking-summary-card > header h2,
.booking-list-heading h2,
.booking-list-toolbar h2 {
  margin: 0;
  color: #2b2823;
  font-size: 12px;
  letter-spacing: -0.02em;
}

.booking-summary-card > header span,
.booking-summary-card > header small,
.booking-list-heading p,
.booking-list-toolbar p {
  margin: 3px 0 0;
  color: #8c857b;
  font-size: 7px;
  line-height: 1.5;
}

.booking-summary-card > header > div {
  display: grid;
  gap: 5px;
}

.booking-summary-card > header > div > small {
  color: #8c857b;
  font-size: 7px;
  font-weight: 800;
}

.booking-summary-card > header > div > strong {
  color: #2a2823;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.booking-summary-card > header > span {
  align-self: flex-start;
  padding: 5px 8px;
  border-radius: 99px;
  color: #9c3024;
  background: #fbe9e5;
  font-size: 6px;
  font-weight: 900;
}

.booking-summary-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #eee9e1;
}

.booking-summary-split > div {
  min-height: 68px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 11px 17px;
}

.booking-summary-split > div + div {
  border-left: 1px solid #eee9e1;
}

.booking-summary-split small {
  color: #8c857b;
  font-size: 7px;
  font-weight: 700;
}

.booking-summary-split b {
  color: #2a2823;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 15px;
}

.booking-summary-total,
.booking-summary-card__total {
  min-height: 118px;
  display: grid;
  align-content: center;
  padding: 20px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.15), transparent 28%),
    linear-gradient(135deg, #c74735, #a82d22);
}

.booking-summary-total span,
.booking-summary-card__total span {
  font-size: 8px;
  font-weight: 800;
}

.booking-summary-total strong,
.booking-summary-card__total strong {
  margin-top: 8px;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.booking-summary-total small,
.booking-summary-card__total small {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 7px;
}

.booking-room-counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
}

.booking-room-counts > h3,
.booking-room-counts > p {
  grid-column: 1 / -1;
}

.booking-room-counts > h3 {
  margin: 0 0 2px;
  color: #37332e;
  font-size: 8px;
}

.booking-room-counts > p {
  margin: 0;
  padding: 16px 10px;
  border: 1px dashed #dfd8ce;
  border-radius: 5px;
  color: #8b847a;
  background: #fbfaf7;
  font-size: 7px;
  text-align: center;
}

.booking-room-count,
.booking-room-counts > div {
  min-width: 0;
  min-height: 66px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid #e8e2d9;
  border-radius: 5px;
  background: #fbfaf7;
}

.booking-room-count span,
.booking-room-counts > div span {
  overflow: hidden;
  color: #7d766d;
  font-size: 7px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-room-count strong,
.booking-room-counts > div strong,
.booking-room-counts > div b {
  color: #2a2823;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 9px;
}

.booking-list-card {
  overflow: visible;
}

.booking-list-card .admin-table-wrap {
  overflow: visible;
}

.booking-list-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #ebe6de;
}

.booking-tabs {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border-radius: 5px;
  background: #eeeae3;
}

.booking-tab,
.booking-tabs > button {
  min-height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border: 0;
  border-radius: 4px;
  color: #756e65;
  background: transparent;
  font: inherit;
  font-size: 7px;
  font-weight: 900;
  cursor: pointer;
}

.booking-tab > span,
.booking-tab > small {
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 99px;
  color: #6d665d;
  background: rgba(255, 255, 255, 0.72);
  font-family: Arial, sans-serif;
  font-size: 5px;
}

.booking-tabs > button > span,
.booking-tabs > button > small {
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  border-radius: 99px;
  color: #6d665d;
  background: rgba(255, 255, 255, 0.72);
  font-family: Arial, sans-serif;
  font-size: 5px;
}

.booking-tab.is-active,
.booking-tabs > button.is-active {
  color: #fff;
  background: #24221e;
  box-shadow: 0 4px 10px rgba(36, 34, 30, 0.13);
}

.booking-tab.is-active > span,
.booking-tab.is-active > small,
.booking-tabs > button.is-active > span,
.booking-tabs > button.is-active > small {
  color: #a62e21;
  background: #fff;
}

.booking-list-search {
  min-width: 200px;
  height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 0 10px;
  border: 1px solid #ded7cb;
  border-radius: 4px;
  background: #fbfaf7;
}

.booking-list-search > span {
  color: #8d857a;
  font-size: 13px;
}

.booking-list-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #413d37;
  background: transparent;
  font: inherit;
  font-size: 8px;
}

.booking-row-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.booking-row-actions button {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 8px;
  border: 1px solid #ddd6cc;
  border-radius: 4px;
  color: #5e5850;
  background: #fff;
  font: inherit;
  font-size: 6px;
  font-weight: 900;
  white-space: nowrap;
  cursor: pointer;
}

.booking-row-actions button:hover {
  border-color: #bcb3a8;
  background: #fbfaf7;
}

.booking-row-actions button.is-confirm,
.booking-row-actions button.is-success {
  border-color: #bfe3cd;
  color: #287448;
  background: #eef9f2;
}

.booking-row-actions button.is-slip {
  border-color: #d9d1c5;
  color: #4f4941;
  background: #fff;
}

.booking-action-more {
  position: relative;
}

.booking-row-actions button.booking-actions-toggle {
  width: 29px;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.booking-actions-menu {
  position: absolute;
  z-index: 40;
  top: calc(100% + 5px);
  right: 0;
  min-width: 122px;
  display: grid;
  gap: 2px;
  padding: 5px;
  border: 1px solid #ddd6cc;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(45, 36, 28, 0.18);
}

.booking-row-actions .booking-actions-menu button {
  width: 100%;
  min-height: 29px;
  justify-content: flex-start;
  padding-inline: 9px;
  border: 0;
  color: #514b43;
  background: transparent;
  text-align: left;
}

.booking-row-actions .booking-actions-menu button:hover {
  border: 0;
  background: #f7f3ed;
}

.booking-row-actions .booking-actions-menu button.is-danger {
  color: #a53427;
  background: transparent;
}

.booking-row-actions .booking-actions-menu button.is-danger:hover {
  background: #fff3f1;
}

.booking-row-actions .booking-actions-menu button.is-delete {
  margin-top: 3px;
  border-top: 1px solid #eee7de;
  border-radius: 0 0 3px 3px;
  color: #8f2118;
}

.booking-row-actions .booking-actions-menu button.is-delete:hover {
  border-top-color: #eee7de;
  background: #fce8e5;
}

.booking-row-actions button.is-edit {
  border-color: #dfd6c8;
  color: #705a43;
  background: #fbf5eb;
}

.booking-row-actions button.is-complete {
  border-color: #d5d0c8;
  color: #4e4a44;
  background: #f1efeb;
}

.booking-row-actions button.is-cancel,
.booking-row-actions button.is-danger {
  border-color: #efcbc5;
  color: #a53427;
  background: #fff3f1;
}

.booking-row-actions button:disabled {
  border-color: #e5e0d8;
  color: #aaa39a;
  background: #f4f1ec;
  cursor: not-allowed;
}

.booking-id-link {
  display: block;
  max-width: 130px;
  overflow: hidden;
  padding: 0;
  border: 0;
  color: #9f3024;
  background: transparent;
  font: inherit;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 8px;
  font-weight: 900;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.booking-id-link:hover {
  text-decoration: underline;
}

.booking-note-cell {
  display: block;
  max-width: 190px;
  overflow: hidden;
  color: #716a61;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table td.admin-table-empty {
  height: 120px;
  color: #918a81;
  text-align: center;
}

.booking-invariant-note,
.room-service-invariant {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0 14px 14px;
  padding: 10px 12px;
  border: 1px solid #ead8bd;
  border-radius: 5px;
  color: #6d5c45;
  background: #fff9ef;
  font-size: 7px;
  line-height: 1.65;
}

.booking-invariant-note::before,
.room-service-invariant::before {
  content: "!";
  width: 19px;
  height: 19px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #b27632;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 900;
}

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

.room-management-page {
  display: grid;
  gap: 18px;
}

.service-settings {
  overflow: hidden;
  border: 1px solid #ded8ce;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(51, 40, 24, 0.035);
}

.service-settings__heading {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid #e8e2d9;
}

.service-settings__heading > div,
.service-settings-card > header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-settings__heading > div > span,
.service-settings-card > header > div > span {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: #df4a32;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
}

.service-settings__heading h2,
.service-settings-card h3 {
  margin: 0;
  color: #28251f;
  font-size: 14px;
}

.service-settings__heading p,
.service-settings-card header p {
  margin: 4px 0 0;
  color: #81796f;
  font-size: 8px;
}

.service-settings__heading > small {
  color: #81796f;
  font-size: 8px;
  white-space: nowrap;
}

.service-settings__error {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 20px 0;
  padding: 9px 11px;
  border: 1px solid #f0c9c1;
  border-radius: 5px;
  color: #a22f24;
  background: #fff5f2;
  font-size: 8px;
  font-weight: 700;
}

.service-settings__error > span {
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #c83f2d;
  font-family: Arial, sans-serif;
}

.service-settings__error > b {
  min-width: 0;
  flex: 1;
}

.service-settings__error > button {
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid #e7b5ac;
  border-radius: 4px;
  color: #9c3024;
  background: #fff;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.service-settings__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
}

.service-settings__grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.service-settings-card {
  min-width: 0;
  padding: 20px;
}

.service-settings-card + .service-settings-card {
  border-left: 1px solid #e8e2d9;
}

.service-settings-card > header {
  min-height: 44px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee9e2;
}

.service-settings-card > header > div > span {
  color: #b53a29;
  background: #faece7;
}

.weekly-hours-list {
  display: grid;
}

.weekly-hours-row {
  min-height: 52px;
  display: grid;
  grid-template-columns: minmax(110px, .7fr) minmax(230px, 1.3fr);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #f0ece6;
}

.weekly-hours-row.is-closed {
  color: #9d958b;
  background: #fcfaf7;
}

.weekly-day-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.weekly-day-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weekly-day-toggle > span {
  position: relative;
  width: 26px;
  height: 15px;
  flex: 0 0 auto;
  border-radius: 99px;
  background: #d8d2c9;
  transition: background 150ms ease;
}

.weekly-day-toggle > span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform 150ms ease;
}

.weekly-day-toggle input:checked + span {
  background: #17a95a;
}

.weekly-day-toggle input:checked + span::after {
  transform: translateX(11px);
}

.weekly-day-toggle input:focus-visible + span {
  outline: 2px solid rgba(223, 74, 50, .28);
  outline-offset: 2px;
}

.weekly-day-toggle b {
  font-size: 9px;
}

.weekly-time-fields {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
}

.weekly-time-fields label,
.booking-policy-fields > label,
.closed-date-control,
.payment-settings-fields label {
  display: grid;
  gap: 5px;
}

.weekly-time-fields label > span,
.booking-policy-fields > label > span,
.closed-date-control > span,
.payment-settings-fields label > span {
  color: #81796f;
  font-size: 7px;
  font-weight: 700;
}

.weekly-time-fields input,
.booking-policy-fields input,
.closed-date-control input,
.payment-settings-fields input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #ddd6cc;
  border-radius: 4px;
  color: #292620;
  background: #fff;
  font: 8px Arial, sans-serif;
}

.weekly-time-fields i {
  padding-bottom: 10px;
  color: #9a9288;
  font-size: 7px;
  font-style: normal;
}

.weekly-hours-row > em {
  color: #9a9288;
  font-size: 8px;
  font-style: normal;
}

.booking-policy-fields {
  display: grid;
  grid-template-columns: minmax(150px, .65fr) minmax(250px, 1.35fr);
  gap: 14px;
  padding: 17px 0 12px;
}

.booking-policy-fields > label > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.booking-policy-fields > label input {
  max-width: 110px;
}

.booking-policy-fields > label b {
  font-size: 8px;
}

.closed-date-control > div {
  display: flex;
  gap: 7px;
}

.closed-date-control button {
  min-width: 82px;
  border: 1px solid #d8d0c5;
  border-radius: 4px;
  color: #554f47;
  background: #f8f5f0;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.closed-date-list {
  min-height: 35px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 9px;
  border: 1px dashed #ddd6cc;
  border-radius: 4px;
  background: #fcfaf7;
}

.closed-date-list > small {
  color: #9a9288;
  font-size: 7px;
}

.closed-date-list > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border: 1px solid #e2dacf;
  border-radius: 99px;
  color: #554f47;
  background: #fff;
  font-size: 7px;
  font-weight: 700;
}

.closed-date-list > span button {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #a73b2e;
  background: #faece7;
  cursor: pointer;
}

.service-settings-card > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid #eee9e2;
}

.service-settings-card > footer > small {
  color: #81796f;
  font-size: 7px;
  line-height: 1.45;
}

.service-settings-card > footer .admin-primary {
  min-width: 145px;
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 11px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #d94731;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.service-settings-card button:disabled,
.service-settings-card input:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.payment-settings-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding-top: 17px;
}

.payment-settings-fields .is-wide {
  grid-column: 1 / -1;
}

.payment-settings-fields label > small {
  color: #91897f;
  font-size: 7px;
}

.payment-qr-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px;
  border: 1px solid #e4ddd2;
  border-radius: 5px;
  background: #fcfaf7;
}

.payment-qr-preview img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border: 1px solid #e5ded4;
  border-radius: 4px;
  background: #fff;
}

.payment-qr-preview div {
  display: grid;
  gap: 4px;
}

.payment-qr-preview b {
  font-size: 8px;
}

.payment-qr-preview small {
  color: #8c847a;
  font-size: 7px;
}

.admin-room-card,
.add-room-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ded8ce;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(51, 40, 24, 0.035);
}

.admin-room-card[role="button"] {
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-room-card[role="button"]:hover,
.admin-room-card[role="button"]:focus-visible {
  border-color: #cfb9ad;
  box-shadow: 0 14px 32px rgba(51, 40, 24, 0.09);
  transform: translateY(-2px);
  outline: 0;
}

.admin-room-art {
  position: relative;
  height: 205px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background-position: center;
  background-size: cover;
}

.admin-room-art::before,
.admin-room-art::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.admin-room-art::after {
  width: 150px;
  height: 150px;
}

.admin-room-art--red {
  background-color: #b33b2b;
  background-image: linear-gradient(140deg, #dc5c42, #96291f);
}

.admin-room-art--ink {
  background-color: #292722;
  background-image: linear-gradient(140deg, #46413a, #161513);
}

.admin-room-art--gold {
  background-color: #9d7347;
  background-image: linear-gradient(140deg, #d1a36b, #8a603d);
}

.admin-room-art > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72);
}

.admin-room-art--photo::before,
.admin-room-art--photo::after {
  content: none;
}

.admin-room-art--photo > img {
  filter: none;
}

.admin-room-art > span {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 17px;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .18em;
}

.admin-room-art > b {
  position: relative;
  z-index: 2;
  font-family: "Songti SC", serif;
  font-size: 76px;
  font-weight: 400;
}

.admin-room-art > em {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 99px;
  color: #59534b;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.admin-room-art > em i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #858078;
}

.admin-room-art > em.is-active {
  color: #34704d;
}

.admin-room-art > em.is-active i {
  background: #18b95e;
}

.admin-room-card__body {
  padding: 17px;
}

.admin-room-card__body > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.admin-room-card__body h2 {
  margin: 0;
  font-size: 14px;
  letter-spacing: -.025em;
}

.admin-room-card__body > div:first-child button {
  border: 0;
  color: #81796f;
  background: transparent;
  font-size: 8px;
}

.admin-room-card__body dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 15px 0;
  padding: 12px 0;
  border-block: 1px solid #eee9e2;
}

.admin-room-card__body dl div {
  min-width: 0;
  padding: 7px 0;
}

.admin-room-card__body dl div:nth-child(even) {
  padding-left: 14px;
  border-left: 1px solid #eee9e2;
}

.admin-room-card__body dl div:nth-child(n + 3) {
  border-top: 1px solid #f1ede7;
}

.admin-room-card__body dt {
  color: #8f877d;
  font-size: 7px;
}

.admin-room-card__body dd {
  margin: 3px 0 0;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
}

.admin-room-card__body ul {
  min-height: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-room-card__body li {
  padding: 4px 6px;
  border: 1px solid #e4ddd2;
  border-radius: 3px;
  color: #776f66;
  font-family: Arial, sans-serif;
  font-size: 6px;
}

.admin-room-card__body > button {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding: 0 10px;
  border: 1px solid #ddd6cb;
  border-radius: 4px;
  color: #36332e;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.add-room-card {
  min-height: 380px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 9px;
  border-style: dashed;
  color: #756e65;
  background: transparent;
  cursor: pointer;
}

.add-room-card > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 7px;
  border: 1px solid #d6cfc4;
  border-radius: 50%;
  background: #fff;
  font-size: 18px;
}

.add-room-card b {
  color: #34312c;
  font-size: 10px;
}

.add-room-card small {
  max-width: 210px;
  font-size: 7px;
  line-height: 1.6;
  text-align: center;
}

.admin-room-empty {
  min-height: 380px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed #d7cfc4;
  border-radius: 7px;
  color: #7d756c;
  background: rgba(255, 255, 255, 0.4);
  text-align: center;
}

.admin-room-empty > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
  border-radius: 50%;
  color: #a53b2d;
  background: #f8e5e1;
  font-family: "Songti SC", serif;
  font-size: 22px;
}

.admin-room-empty h2 {
  margin: 0;
  color: #34312c;
  font-size: 12px;
}

.admin-room-empty p {
  margin: 0;
  font-size: 7px;
  line-height: 1.6;
}

.chatbot-page,
.customer-management-page {
  display: grid;
  gap: 14px;
}

.chatbot-settings-card {
  overflow: hidden;
}

.chatbot-settings-card > header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  border-bottom: 1px solid #eee9e2;
}

.chatbot-settings-card > header > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.chatbot-settings-card__icon {
  width: 36px;
  height: 36px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  color: #fff;
  background: #24211d;
}

.chatbot-settings-card__icon svg {
  width: 18px;
  height: 18px;
}

.chatbot-settings-card h2,
.chatbot-setting-row h3 {
  margin: 0;
}

.chatbot-settings-card h2 {
  font-size: 13px;
}

.chatbot-settings-card p {
  margin: 3px 0 0;
  color: #847d73;
  font-size: 7px;
  line-height: 1.5;
}

.chatbot-settings-card > header > strong {
  padding: 5px 8px;
  border-radius: 99px;
  color: #33704c;
  background: #e6f5eb;
  font-size: 7px;
  white-space: nowrap;
}

.chatbot-setting-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.chatbot-setting-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 17px 20px;
}

.chatbot-setting-row + .chatbot-setting-row {
  border-left: 1px solid #eee9e2;
}

.chatbot-setting-row h3 {
  font-size: 9px;
}

.chatbot-setting-row p {
  max-width: 260px;
  font-size: 7px;
}

.knowledge-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 14px;
}

.knowledge-drop {
  min-height: 130px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 7px;
  margin-bottom: 14px;
  border: 1px dashed #cfc5b8;
  border-radius: 7px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}

.knowledge-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.knowledge-drop > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-size: 17px;
}

.knowledge-drop b {
  font-size: 9px;
}

.knowledge-drop small {
  color: #8d857a;
  font-size: 7px;
}

.knowledge-table-card {
  overflow: hidden;
}

.knowledge-table-card .admin-card__heading > span {
  font-family: Arial, sans-serif;
  font-weight: 500;
}

.knowledge-table {
  min-width: 740px;
}

.document-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}

.document-cell > span {
  width: 32px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #e1dacf;
  border-radius: 3px;
  color: #b14433;
  background: #faf6f0;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: 900;
}

.document-cell b {
  color: #2e2b26;
  font-size: 8px;
}

.category-pill {
  padding: 4px 7px;
  border-radius: 99px;
  color: #5d554b;
  background: #ece7de;
  font-size: 6px;
  font-weight: 800;
}

.index-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #33704c;
  font-size: 7px;
  font-weight: 800;
}

.index-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #18b95e;
}

.index-status--indexing {
  color: #936024;
}

.index-status--indexing i {
  background: #e69a42;
  box-shadow: 0 0 0 4px rgba(230, 154, 66, 0.1);
}

.knowledge-layout > aside {
  display: grid;
  gap: 14px;
}

.index-summary {
  display: grid;
  justify-items: center;
  padding: 24px 20px 18px;
  text-align: center;
}

.index-ring {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 61%, transparent 62%),
    conic-gradient(#18b95e 0 98%, #e8e3da 98%);
}

.index-ring strong {
  font-family: Arial, sans-serif;
  font-size: 20px;
}

.index-ring span {
  margin-top: 2px;
  color: #8e877d;
  font-size: 6px;
}

.index-summary h2 {
  margin: 15px 0 5px;
  font-size: 12px;
}

.index-summary p {
  margin: 0;
  color: #817a70;
  font-size: 7px;
  line-height: 1.65;
}

.index-summary dl {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 18px 0 0;
  padding-top: 13px;
  border-top: 1px solid #ece7df;
}

.index-summary dt {
  color: #968f86;
  font-size: 6px;
}

.index-summary dd {
  margin: 3px 0 0;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 800;
}

.knowledge-test {
  padding: 18px;
}

.knowledge-test h2 {
  margin: 0 0 12px;
  font-size: 11px;
}

.knowledge-test textarea {
  width: 100%;
  resize: vertical;
  padding: 10px;
  border: 1px solid #ded7cd;
  border-radius: 4px;
  outline: 0;
  font-size: 8px;
  line-height: 1.6;
}

.knowledge-test > button {
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #25231f;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.knowledge-test > button:disabled {
  color: #aaa299;
  background: #eae5dd;
}

.search-result {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #cce7d5;
  border-radius: 4px;
  color: #356b4b;
  background: #edf8f1;
}

.search-result > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #18b95e;
  font-size: 8px;
}

.search-result b {
  font-size: 7px;
}

.search-result small {
  display: block;
  margin-top: 4px;
  color: #718578;
  font-size: 6px;
  line-height: 1.6;
}

.bot-mode {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 99px;
  color: #33704c;
  background: #e6f5eb;
  font-size: 6px;
  font-weight: 800;
}

.bot-mode i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #18b95e;
}

.bot-mode--human {
  color: #7f5326;
  background: #fff0dc;
}

.bot-mode--human i {
  background: #e69a42;
}

.customer-handoff-queue {
  overflow: hidden;
  border-color: #ead4b8;
  background: #fffaf2;
}

.customer-handoff-queue > header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid #efdfca;
}

.customer-handoff-queue > header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.customer-handoff-queue > header > div > span {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #d27c2d;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.customer-handoff-queue h2 {
  margin: 0;
  font-size: 12px;
}

.customer-handoff-queue header p,
.customer-handoff-more {
  margin: 3px 0 0;
  color: #877766;
  font-size: 7px;
  line-height: 1.5;
}

.customer-handoff-queue header strong {
  padding: 5px 9px;
  border-radius: 99px;
  color: #8b5622;
  background: #f5e2c8;
  font-size: 8px;
  white-space: nowrap;
}

.customer-handoff-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 18px;
}

.customer-handoff-list > button {
  min-width: 0;
  min-height: 54px;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border: 1px solid #eadcc9;
  border-radius: 5px;
  color: #37312b;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.customer-handoff-list > button:hover {
  border-color: #d99a5d;
  background: #fffdf9;
}

.customer-handoff-list > button > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #8a6550;
  font-size: 9px;
  font-weight: 900;
}

.customer-handoff-list > button > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.customer-handoff-list b,
.customer-handoff-list small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-handoff-list b {
  font-size: 8px;
}

.customer-handoff-list small {
  color: #8a8176;
  font-size: 6px;
}

.customer-handoff-list em {
  color: #a45e20;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.customer-handoff-more {
  margin: 0;
  padding: 0 18px 14px;
}

.admin-table tr.is-waiting-admin {
  background: #fffaf2;
}

.agent-layout {
  display: grid;
  gap: 14px;
}

.agent-hero-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 25px;
  overflow: hidden;
  border-radius: 7px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 10%, rgba(218, 73, 50, 0.32), transparent 17rem),
    #1d1b18;
}

.agent-orb {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  background: #d84a32;
  font-family: "Songti SC", serif;
  font-size: 35px;
  box-shadow: 0 0 0 8px rgba(255,255,255,.04);
}

.agent-orb span {
  position: absolute;
  right: 3px;
  bottom: 6px;
  width: 12px;
  height: 12px;
  border: 3px solid #1d1b18;
  border-radius: 50%;
  background: #1bd168;
}

.agent-hero-card > div:nth-child(2) p {
  margin: 0 0 6px;
  color: #e8735e;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.agent-hero-card > div:nth-child(2) h2 {
  margin: 0;
  font-size: 20px;
}

.agent-hero-card > div:nth-child(2) > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  color: rgba(255,255,255,.55);
  font-family: Arial, sans-serif;
  font-size: 7px;
}

.agent-hero-card > div:nth-child(2) > span i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1bd168;
}

.agent-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.agent-metrics > div {
  display: grid;
  gap: 4px;
}

.agent-metrics strong {
  font-family: Arial, sans-serif;
  font-size: 19px;
}

.agent-metrics small {
  color: rgba(255,255,255,.45);
  font-size: 6px;
}

.agent-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.agent-main-grid--single {
  grid-template-columns: 1fr;
}

.live-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4d725e !important;
}

.conversation-list > article {
  min-height: 70px;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0 16px;
}

.conversation-list > article + article {
  border-top: 1px solid #eee9e2;
}

.conversation-avatar {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #756054;
  font-size: 9px;
  font-weight: 800;
}

.conversation-avatar i {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #18b95e;
}

.conversation-list article > div {
  min-width: 0;
}

.conversation-list article b {
  font-size: 8px;
}

.conversation-list article p {
  margin: 3px 0;
  overflow: hidden;
  color: #6d675e;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-list article small {
  color: #9e978e;
  font-size: 6px;
}

.conversation-state {
  padding: 5px 7px;
  border-radius: 99px;
  color: #fff;
  background: #26241f;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: 900;
}

.conversation-state.is-human {
  color: #8c5924;
  background: #fff0dc;
}

.tool-trace-card {
  overflow: hidden;
}

.trace-line {
  min-height: 57px;
  display: grid;
  grid-template-columns: 52px 8px 1fr auto;
  align-items: center;
  gap: 9px;
  margin: 0 16px;
  font-family: Arial, sans-serif;
}

.trace-line + .trace-line {
  border-top: 1px solid #eee9e2;
}

.trace-line > span {
  color: #9a9389;
  font-size: 6px;
}

.trace-line > i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.trace-line > i.is-green {
  background: #18b95e;
}

.trace-line > i.is-orange {
  background: #e69a42;
}

.trace-line > div {
  display: grid;
  gap: 3px;
}

.trace-line b {
  font-size: 7px;
}

.trace-line small {
  color: #8c857a;
  font-size: 6px;
}

.trace-line em {
  color: #8c857a;
  font-size: 6px;
  font-style: normal;
}

.tools-card .admin-card__heading {
  min-height: 64px;
}

.tools-card .admin-card__heading > div p {
  margin: 3px 0 0;
  color: #918a80;
  font-size: 6px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: #ece7df;
}

.tools-grid article {
  min-height: 72px;
  display: grid;
  grid-template-columns: 27px 1fr;
  align-items: center;
  gap: 8px;
  padding: 11px;
  background: #fff;
}

.tools-grid article > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #5c554c;
  background: #eee9e1;
  font-size: 9px;
}

.tools-grid article > div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.tools-grid b {
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 6px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tools-grid small {
  color: #979087;
  font-size: 6px;
}

.tools-grid em {
  grid-column: 2;
  width: fit-content;
  padding: 3px 5px;
  border-radius: 99px;
  color: #4b6d59;
  background: #e6f5eb;
  font-size: 5px;
  font-style: normal;
  font-weight: 900;
}

.tools-grid em.is-write {
  color: #935b20;
  background: #fff0dc;
}

.guardrails-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.guardrails-card .admin-card__heading {
  grid-column: 1 / -1;
}

.guardrails-card > div:not(.admin-card__heading) {
  min-height: 100px;
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 8px;
  padding: 16px;
}

.guardrails-card > div:not(.admin-card__heading) + div {
  border-left: 1px solid #eee9e2;
}

.guardrails-card > div > span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #18b95e;
  font-size: 7px;
}

.guardrails-card p {
  margin: 1px 0 0;
}

.guardrails-card p b {
  display: block;
  margin-bottom: 4px;
  font-size: 7px;
}

.guardrails-card p small {
  color: #817a70;
  font-size: 6px;
  line-height: 1.55;
}

.settings-layout {
  display: grid;
  gap: 14px;
}

.settings-section {
  overflow: hidden;
}

.settings-section__heading {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 20px;
  border-bottom: 1px solid #eee9e2;
}

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

.settings-section__heading > div > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
}

.settings-section__heading h2 {
  margin: 0;
  font-size: 13px;
}

.settings-section__heading p {
  margin: 0;
  color: #8d867c;
  font-size: 7px;
}

.integration-row,
.template-row {
  min-height: 60px;
  display: grid;
  grid-template-columns: 34px 1fr auto auto;
  align-items: center;
  gap: 10px;
  margin: 0 20px;
}

.integration-row + .integration-row,
.template-row + .template-row {
  border-top: 1px solid #eee9e2;
}

.integration-logo {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  background: #2a2823;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.integration-logo.is-green {
  background: #299059;
}

.integration-logo.is-orange {
  background: #be7433;
}

.integration-row > div,
.template-row > div {
  display: grid;
  gap: 3px;
}

.integration-row b,
.template-row b {
  font-size: 8px;
}

.integration-row small,
.template-row small {
  color: #8f887f;
  font-size: 6px;
}

.integration-row em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #377050;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.integration-row em i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #18b95e;
}

.integration-row button {
  min-height: 29px;
  padding: 0 9px;
  border: 1px solid #ded7cc;
  border-radius: 4px;
  color: #615b53;
  background: #fff;
  font-size: 6px;
  font-weight: 700;
  cursor: pointer;
}

.template-preview {
  width: 34px;
  height: 41px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 5px;
  border-radius: 3px;
  background: #eee7dc;
}

.template-preview i {
  height: 3px;
  border-radius: 99px;
  background: #a99c8b;
}

.template-preview i:first-child {
  width: 70%;
  background: var(--red);
}

.admin-switch {
  position: relative;
  width: 34px;
  height: 20px;
  display: inline-flex;
  cursor: pointer;
}

.admin-switch input {
  position: absolute;
  opacity: 0;
}

.admin-switch span {
  width: 100%;
  border-radius: 99px;
  background: #d2cbc0;
  transition: background 150ms ease;
}

.admin-switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform 150ms ease;
}

.admin-switch input:checked + span {
  background: #18b95e;
}

.admin-switch input:checked + span::after {
  transform: translateX(14px);
}

.admin-switch input:disabled + span {
  opacity: .48;
  cursor: not-allowed;
}

.notification-save-state {
  color: #33704c;
  font-size: 7px;
  font-weight: 800;
  white-space: nowrap;
}

.notification-save-state.is-saving {
  color: #9a6b2f;
}

.notification-template-row {
  min-height: 68px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  transition: opacity 150ms ease, background 150ms ease;
}

.notification-template-row.is-disabled > :not(.admin-switch) {
  opacity: .52;
}

.notification-reminder-hours {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  color: #6f675d;
  font-size: 6px;
  font-weight: 800;
}

.notification-reminder-hours select {
  height: 24px;
  padding: 0 18px 0 7px;
  border: 1px solid #dcd5ca;
  border-radius: 4px;
  color: #312e29;
  background: #fff;
  font-size: 7px;
  font-weight: 800;
}

.notification-settings-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  border-top: 1px solid #eee9e2;
  background: #faf8f3;
}

.notification-settings-footer > div {
  display: grid;
  gap: 3px;
}

.notification-settings-footer b {
  color: #3d3933;
  font-size: 7px;
}

.notification-settings-footer small {
  color: #8d867c;
  font-size: 6px;
  line-height: 1.5;
}

.notification-flex-modal {
  width: min(560px, 100%);
}

.notification-flex-preview-body {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 18px 20px 22px;
  background: #ece9e2;
}

.notification-flex-preview-body > p {
  margin: 0;
  color: #777067;
  font-size: 7px;
  text-align: center;
}

.notification-language-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid #d9d2c7;
  border-radius: 99px;
  background: rgba(255,255,255,.76);
}

.notification-language-tabs button {
  min-height: 28px;
  padding: 0 11px;
  border: 0;
  border-radius: 99px;
  color: #70695f;
  background: transparent;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.notification-language-tabs button.is-active {
  color: #fff;
  background: #25231f;
}

.flex-message-preview {
  width: min(350px, 100%);
  overflow: hidden;
  border-radius: 10px;
  background: #fffdf7;
  box-shadow: 0 16px 40px rgba(31,27,22,.16);
}

.flex-message-preview > header {
  display: grid;
  gap: 8px;
  min-height: 180px;
  align-content: end;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02) 12%, rgba(0,0,0,.52) 100%),
    url("/brand/zhong-logo-96.png") calc(100% - 22px) 22px / 72px 72px no-repeat,
    linear-gradient(135deg, #d94b34 0%, #b92f22 48%, #29241f 100%);
}

.flex-message-preview > header small {
  color: #f7f0df;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .13em;
}

.flex-message-preview > header h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.flex-message-preview > header span {
  color: rgba(255,255,255,.78);
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 800;
}

.flex-message-preview__body {
  padding: 20px;
}

.flex-message-preview__body > small {
  color: #8b8377;
  font-size: 7px;
}

.flex-message-preview__body > strong {
  display: block;
  margin-top: 4px;
  color: #25221e;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.flex-message-preview__body hr {
  margin: 16px 0;
  border: 0;
  border-top: 1px solid #e8e1d5;
}

.flex-message-preview__body dl {
  display: grid;
  gap: 11px;
  margin: 0;
}

.flex-message-preview__body dl div {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
}

.flex-message-preview__body dt,
.flex-message-preview__body dd {
  margin: 0;
  font-size: 7px;
}

.flex-message-preview__body dt {
  color: #8b8377;
}

.flex-message-preview__body dd {
  color: #292620;
  font-weight: 800;
  text-align: right;
}

.flex-message-preview__body em {
  display: block;
  margin: 0 0 16px;
  padding: 10px;
  border-radius: 5px;
  color: #d7482f;
  background: #d7482f18;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
}

.flex-message-preview__body em.is-confirmed,
.flex-message-preview__body em.is-completed {
  color: #278155;
  background: #27815518;
}

.flex-message-preview__body em.is-cancelled,
.flex-message-preview__body em.is-expired {
  color: #766d63;
  background: #8d817518;
}

.flex-message-preview__body em.is-upcoming_reminder {
  color: #9b591c;
  background: #b66a2218;
}

.flex-message-preview > footer {
  display: grid;
  gap: 7px;
  padding: 0 16px 16px;
}

.flex-message-preview > footer b,
.flex-message-preview > footer span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-size: 8px;
  text-align: center;
}

.flex-message-preview > footer b {
  color: #fff;
  background: #d7482f;
}

.flex-message-preview > footer span {
  color: #d7482f;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  padding: 18px 20px;
}

.security-grid article {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid #e7e1d8;
  border-radius: 5px;
}

.security-grid article > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #6c584c;
  font-size: 8px;
  font-weight: 800;
}

.security-grid article > div {
  display: grid;
  gap: 3px;
}

.security-grid b {
  font-size: 8px;
}

.security-grid small {
  color: #90897f;
  font-size: 6px;
}

.security-grid em {
  color: #397152;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.security-grid > button {
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px dashed #d2c9bd;
  border-radius: 5px;
  color: #625c53;
  background: #faf8f3;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.admin-drawer-backdrop,
.admin-modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  justify-content: flex-end;
  background: rgba(20, 18, 15, 0.48);
  backdrop-filter: blur(2px);
}

.admin-drawer {
  width: min(450px, 100vw);
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background: #fbfaf7;
  box-shadow: -18px 0 60px rgba(0,0,0,.14);
}

.admin-drawer > header,
.admin-modal > header {
  position: sticky;
  z-index: 3;
  top: 0;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 20px;
  border-bottom: 1px solid #e6e0d7;
  background: #fff;
}

.admin-drawer > header small,
.admin-modal > header small {
  color: #948d83;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .13em;
}

.admin-drawer > header h2,
.admin-modal > header h2 {
  margin: 4px 0 0;
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 17px;
}

.admin-drawer > header button,
.admin-modal > header button {
  position: relative;
  z-index: 4;
  width: 32px;
  height: 32px;
  border: 1px solid #e1dbd1;
  border-radius: 50%;
  color: #6e675e;
  background: #fff;
  font-size: 17px;
  cursor: pointer;
  touch-action: manipulation;
}

.drawer-room-art {
  position: relative;
  height: 145px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.drawer-room-art--red {
  background: linear-gradient(140deg, #dc5c42, #96291f);
}

.drawer-room-art--ink {
  background: linear-gradient(140deg, #46413a, #161513);
}

.drawer-room-art--gold {
  background: linear-gradient(140deg, #d1a36b, #8a603d);
}

.drawer-room-art > img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-room-art--photo::before,
.drawer-room-art--photo::after {
  content: none;
}

.drawer-room-art::before,
.drawer-room-art::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
}

.drawer-room-art::after {
  width: 140px;
  height: 140px;
}

.drawer-room-art span {
  position: absolute;
  top: 14px;
  left: 16px;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: .16em;
}

.drawer-room-art b {
  position: relative;
  font-family: "Songti SC", serif;
  font-size: 65px;
  font-weight: 400;
}

.drawer-room-art__fallback {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 5px;
  max-width: calc(100% - 40px);
  text-align: center;
}

.drawer-room-art__fallback svg {
  width: 28px;
  height: 28px;
  opacity: .86;
}

.drawer-room-art__fallback strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 18px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-room-art__fallback small {
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.drawer-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid #e8e2d9;
}

.drawer-status-row > span:last-child {
  padding: 4px 7px;
  border-radius: 99px;
  color: #fff;
  background: #25231f;
  font-family: Arial, sans-serif;
  font-size: 6px;
  font-weight: 900;
}

.drawer-section {
  padding: 18px 20px;
  border-bottom: 1px solid #e8e2d9;
}

.drawer-section h3 {
  margin: 0 0 13px;
  font-size: 10px;
}

.drawer-section dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.drawer-section dl > div {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 10px;
}

.drawer-section dt {
  color: #8b847a;
  font-size: 7px;
}

.drawer-section dd {
  margin: 0;
  color: #302d28;
  font-size: 8px;
  font-weight: 700;
  text-align: right;
}

.drawer-section dd small {
  display: block;
  margin-top: 3px;
  color: #8b847a;
  font-size: 6px;
  font-weight: 500;
}

.slip-preview {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid #d7e9dd;
  border-radius: 5px;
  background: #f0f8f3;
}

.slip-preview > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #fff;
  background: #2f7c50;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.slip-preview > div {
  display: grid;
  gap: 3px;
}

.slip-preview b {
  font-family: Arial, sans-serif;
  font-size: 7px;
}

.slip-preview small {
  color: #7a8d80;
  font-size: 6px;
}

.slip-preview button {
  border: 0;
  color: #387154;
  background: transparent;
  font-size: 6px;
  font-weight: 800;
}

.slip-preview button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.drawer-note {
  margin: 0;
  padding: 10px;
  border-radius: 4px;
  color: #655f56;
  background: #f0ece5;
  font-size: 7px;
  line-height: 1.6;
}

.history-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-list li {
  position: relative;
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 8px;
  padding: 0 0 15px;
}

.history-list li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 9px;
  bottom: -1px;
  left: 4px;
  width: 1px;
  background: #d7d0c5;
}

.history-list li > i {
  position: relative;
  z-index: 2;
  width: 9px;
  height: 9px;
  border: 2px solid #fbfaf7;
  border-radius: 50%;
  background: #18b95e;
  box-shadow: 0 0 0 1px #18b95e;
}

.history-list li > div {
  display: grid;
  gap: 3px;
}

.history-list b {
  font-size: 7px;
}

.history-list small {
  color: #918a80;
  font-size: 6px;
}

.admin-drawer > footer {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: auto;
  padding: 14px 20px;
  border-top: 1px solid #e2dcd2;
  background: rgba(255,255,255,.96);
}

.admin-drawer > footer button {
  min-height: 38px;
  border: 1px solid #ddd6cc;
  border-radius: 4px;
  color: #4e4942;
  background: #fff;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.admin-drawer > footer .confirm-button {
  grid-column: 1 / -1;
  color: #fff;
  border-color: #23814e;
  background: #23814e;
}

.admin-drawer > footer .danger-button {
  color: #b44231;
}

.admin-drawer > footer .delete-button {
  grid-column: 1 / -1;
  color: #fff;
  border-color: #98291f;
  background: #98291f;
}

.customer-profile-hero {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 11px;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid #e8e2d9;
}

.customer-profile-hero > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #765d50;
  font-size: 17px;
  font-weight: 800;
}

.customer-profile-hero > div {
  display: grid;
  gap: 4px;
}

.customer-profile-hero b {
  font-size: 10px;
}

.customer-profile-hero small {
  color: #8b847a;
  font-size: 6px;
}

.customer-profile-hero em {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #33704c;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.customer-profile-hero em i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #18b95e;
}

.customer-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 14px 20px;
  border-bottom: 1px solid #e8e2d9;
}

.customer-stat-row > div + div {
  padding-left: 14px;
  border-left: 1px solid #e8e2d9;
}

.customer-stat-row small {
  display: block;
  margin-bottom: 5px;
  color: #8f887e;
  font-size: 6px;
}

.customer-stat-row strong {
  font-family: Arial, "Thonburi", sans-serif;
  font-size: 10px;
}

.bot-control {
  position: relative;
}

.bot-control > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-control p {
  max-width: 250px;
  margin: 9px 0 0;
  color: #837c72;
  font-size: 7px;
}

.bot-control > .admin-switch {
  position: absolute;
  right: 20px;
  bottom: 18px;
}

.customer-booking-history {
  display: grid;
  gap: 7px;
}

.customer-history-empty {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px dashed #ddd6cc;
  border-radius: 4px;
  color: #8e877d;
  background: #fff;
  font-size: 7px;
  text-align: center;
}

.customer-booking-history > button {
  min-height: 52px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 9px;
  padding: 7px;
  border: 1px solid #e3ddd3;
  border-radius: 4px;
  background: #fff;
  text-align: left;
}

.customer-booking-history > button > div {
  display: grid;
  gap: 3px;
}

.customer-booking-history b {
  font-family: Arial, sans-serif;
  font-size: 7px;
}

.customer-booking-history small {
  color: #8e877d;
  font-size: 6px;
}

.admin-modal-backdrop {
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.admin-modal {
  width: min(620px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: 0 30px 90px rgba(0,0,0,.24);
}

.payment-slip-modal-backdrop {
  z-index: 160;
}

.admin-modal.payment-slip-modal {
  width: min(720px, 100%);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
}

.payment-slip-modal__body {
  min-height: 360px;
  height: min(68vh, 700px);
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: auto;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 42%),
    #24211d;
}

.payment-slip-modal__body > img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 5px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.34);
}

.payment-slip-modal__error {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.payment-slip-modal__error > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  color: #fff;
  background: #b43d2f;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 900;
}

.payment-slip-modal__error b {
  color: #fff;
  font-size: 10px;
}

.payment-slip-modal__error small {
  font-size: 7px;
}

.admin-modal > .payment-slip-modal__body + footer {
  align-items: center;
  justify-content: space-between;
}

.payment-slip-modal__booking {
  min-width: 0;
  display: grid;
  gap: 4px;
  margin-right: auto;
}

.payment-slip-modal__booking b,
.payment-slip-modal__booking small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.payment-slip-modal__booking b {
  color: #34312c;
  font-size: 8px;
}

.payment-slip-modal__booking small {
  color: #8a8379;
  font-size: 7px;
}

.room-photo-upload {
  position: relative;
  display: block;
  height: 190px;
  margin: 20px 20px 0;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
}

.room-photo-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.room-photo-upload > img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-photo-processing {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(28, 25, 22, 0.58);
  backdrop-filter: blur(3px);
  font-size: 8px;
  font-style: normal;
  font-weight: 900;
}

.room-photo-placeholder {
  height: 100%;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  color: rgba(255,255,255,.9);
}

.room-photo-help,
.room-photo-error {
  margin: 8px 20px 0;
  font-size: 9px;
  line-height: 1.45;
}

.room-photo-help {
  color: #746b61;
}

.room-photo-error {
  color: #b62f23;
  font-weight: 800;
}

.room-photo-placeholder--red {
  background: linear-gradient(140deg, #dc5c42, #96291f);
}

.room-photo-placeholder--ink {
  background: linear-gradient(140deg, #46413a, #161513);
}

.room-photo-placeholder--gold {
  background: linear-gradient(140deg, #d1a36b, #8a603d);
}

.room-photo-placeholder > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  font-size: 17px;
}

.room-photo-placeholder b {
  font-size: 8px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px;
}

.admin-form-grid label {
  display: grid;
  gap: 7px;
}

.admin-form-grid label > span {
  color: #716a61;
  font-size: 7px;
  font-weight: 800;
}

.admin-form-grid input:not([type="checkbox"]),
.admin-form-grid select,
.admin-form-grid textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #ddd6cc;
  border-radius: 4px;
  outline: 0;
  background: #fff;
  font-size: 8px;
}

.admin-form-grid input:focus,
.admin-form-grid select:focus,
.admin-form-grid textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(215,72,47,.08);
}

.admin-form-grid select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #81796f 50%),
    linear-gradient(135deg, #81796f 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 16px,
    calc(100% - 9px) 16px;
  background-repeat: no-repeat;
  background-size: 4px 4px, 4px 4px;
}

.booking-edit-modal {
  width: min(680px, 100%);
}

.admin-form-grid .is-wide {
  grid-column: 1 / -1;
}

.admin-users-card {
  overflow: hidden;
}

.admin-role-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 7px;
  font-weight: 900;
}

.admin-role-pill--admin {
  color: #9f2d20;
  background: #fbe7e2;
}

.admin-role-pill--staff {
  color: #4b5d52;
  background: #e7f2eb;
}

.admin-user-actions {
  display: flex;
  gap: 6px;
}

.admin-user-actions button {
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid #ddd6cc;
  border-radius: 4px;
  color: #5c554d;
  background: #fff;
  font-size: 7px;
  font-weight: 800;
  cursor: pointer;
}

.admin-user-actions button.is-danger {
  color: #ad3528;
}

.admin-user-actions button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.admin-user-modal {
  width: min(640px, 100%);
}

.payment-account-modal {
  width: min(520px, 100%);
}

.admin-form-grid label > small {
  color: #918a81;
  font-size: 6px;
  line-height: 1.5;
}

.admin-user-active-field {
  padding: 12px;
  border: 1px solid #e1dbd1;
  border-radius: 4px;
  background: #fff;
}

.admin-user-active-control {
  display: flex;
  align-items: center;
  gap: 9px;
}

.admin-user-active-control input {
  width: 17px;
  height: 17px;
  accent-color: var(--red);
}

.admin-user-active-control b {
  color: #4f4942;
  font-size: 8px;
}

.room-active-field {
  grid-column: 1 / -1;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid #e1dbd1;
  border-radius: 4px;
  background: #fff;
}

.room-active-field input {
  width: 17px;
  height: 17px;
  accent-color: var(--red);
}

.admin-modal > footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid #e5dfd5;
  background: #fff;
}

.admin-modal > footer > button:not(.admin-primary) {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #ddd6cc;
  border-radius: 4px;
  color: #615b53;
  background: #fff;
  font-size: 8px;
  font-weight: 800;
  cursor: pointer;
}

.admin-modal > footer .delete-room-button {
  margin-right: auto;
  color: #b44231 !important;
}

.admin-toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-radius: 6px;
  color: #fff;
  background: #24221e;
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
  font-size: 8px;
  font-weight: 800;
  animation: toast-in 220ms ease both;
}

.admin-toast span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #18b95e;
  font-size: 8px;
}

.admin-neutral,
.trace-neutral,
.settings-neutral {
  margin: 0;
  padding: 22px 18px;
  color: #777067;
  font-size: 7px;
  line-height: 1.65;
}

.trace-neutral,
.settings-neutral {
  display: grid;
  gap: 5px;
}

.trace-neutral b,
.settings-neutral b {
  color: #302d28;
  font-size: 8px;
}

.trace-neutral small,
.settings-neutral small {
  color: #8f887f;
  font-size: 7px;
  line-height: 1.6;
}

.search-result.is-neutral {
  border-color: #d9d3ca;
  color: #5f5951;
  background: #f5f2ed;
}

.search-result.is-neutral > span {
  background: #8d867d;
}

.search-result.is-neutral small {
  color: #777067;
}

.agent-orb span.is-unknown,
.agent-hero-card > div:nth-child(2) > span i.is-unknown {
  background: #9a958e;
}

.integration-row em.is-unverified {
  color: #817a72;
}

.integration-row em.is-unverified i {
  background: #a9a299;
}

.integration-row button:disabled,
.template-row > button:disabled,
.admin-drawer footer button:disabled {
  color: #9b948b;
  background: #f1ede7;
  cursor: not-allowed;
}

.configuration-note {
  color: #655f57;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
}

.room-calendar-backdrop {
  padding: 18px;
}

.admin-modal.room-calendar-modal {
  width: min(1180px, 100%);
  height: min(860px, calc(100vh - 36px));
  max-height: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.admin-modal > .room-calendar-header {
  position: static;
  min-height: 74px;
  flex: 0 0 auto;
  padding: 13px 18px;
}

.room-calendar-heading,
.room-calendar-header__actions {
  display: flex;
  align-items: center;
}

.room-calendar-heading {
  min-width: 0;
  gap: 11px;
}

.room-calendar-heading > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #a73527;
  background: #f9e9e4;
}

.room-calendar-heading > span svg {
  width: 19px;
  height: 19px;
}

.room-calendar-heading > div {
  min-width: 0;
}

.room-calendar-heading h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-calendar-header__actions {
  gap: 8px;
}

.admin-modal > .room-calendar-header .room-calendar-edit {
  width: auto;
  min-width: 112px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: 5px;
  color: #514b43;
  font-size: 8px;
  font-weight: 900;
}

.admin-modal > .room-calendar-header .room-calendar-edit svg {
  width: 13px;
  height: 13px;
}

.admin-modal > .room-calendar-header .room-calendar-close {
  width: 36px;
  height: 36px;
}

.room-calendar-close svg {
  width: 16px;
  height: 16px;
}

.room-calendar-toolbar {
  min-height: 59px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  padding: 10px 18px;
  border-bottom: 1px solid #ebe6de;
  background: #fcfbf8;
}

.room-calendar-toolbar > strong {
  color: #34312c;
  font-size: 11px;
  text-align: center;
}

.room-calendar-navigation,
.room-calendar-view-switch {
  display: inline-flex;
  align-items: center;
}

.room-calendar-navigation {
  justify-self: start;
  gap: 4px;
}

.room-calendar-navigation button,
.room-calendar-view-switch button {
  height: 32px;
  border: 1px solid #ddd6cb;
  color: #5d574f;
  background: #fff;
  font: inherit;
  font-size: 7px;
  font-weight: 900;
  cursor: pointer;
}

.room-calendar-navigation button {
  min-width: 32px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  border-radius: 4px;
}

.room-calendar-navigation button svg {
  width: 14px;
  height: 14px;
}

.room-calendar-navigation button:hover,
.room-calendar-view-switch button:hover {
  border-color: #c9bdb0;
  background: #faf6f0;
}

.room-calendar-view-switch {
  justify-self: end;
  padding: 3px;
  border-radius: 5px;
  background: #ebe7e0;
}

.room-calendar-view-switch button {
  min-width: 76px;
  border: 0;
  border-radius: 4px;
  background: transparent;
}

.room-calendar-view-switch button.is-active {
  color: #fff;
  background: #282621;
  box-shadow: 0 4px 10px rgba(36, 34, 30, 0.14);
}

.room-calendar-summary {
  min-height: 43px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
  padding: 8px 18px;
  border-bottom: 1px solid #eee9e2;
  color: #716a61;
  background: #fff;
  font-size: 7px;
}

.room-calendar-summary > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.room-calendar-summary > span:first-child {
  color: #37332e;
}

.room-calendar-summary b {
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.room-calendar-summary i,
.room-calendar-footer i {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 2px;
  background: #9d958b;
}

.room-calendar-summary .is-pending i,
.room-calendar-footer i.is-pending {
  background: #d08d37;
}

.room-calendar-summary .is-confirmed i,
.room-calendar-footer i.is-confirmed {
  background: #429268;
}

.room-calendar-footer i.is-completed {
  background: #777e86;
}

.room-calendar-summary > small {
  margin-left: auto;
  color: #9a9389;
  font-size: 6px;
}

.room-calendar-scroll {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  background: #fff;
}

.room-calendar-canvas {
  min-width: 1040px;
}

.room-calendar-scroll.is-day-view .room-calendar-canvas {
  min-width: 364px;
}

.room-calendar-days {
  position: sticky;
  z-index: 8;
  top: 0;
  min-height: 51px;
  display: grid;
  grid-template-columns: 64px repeat(7, minmax(132px, 1fr));
  border-bottom: 1px solid #ddd7ce;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.room-calendar-scroll.is-day-view .room-calendar-days {
  grid-template-columns: 64px minmax(300px, 1fr);
}

.room-calendar-days > span {
  border-right: 1px solid #ebe6de;
}

.room-calendar-days > div {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 7px;
  border-right: 1px solid #eeeae3;
  color: #625c54;
}

.room-calendar-days > div b {
  font-size: 8px;
  white-space: nowrap;
}

.room-calendar-days > div small {
  padding: 3px 5px;
  border-radius: 99px;
  color: #b2392b;
  background: #f9e5e1;
  font-size: 5px;
  font-weight: 900;
}

.room-calendar-days > div.is-today {
  color: #a83326;
  background: #fff9f7;
}

.room-calendar-timeline {
  position: relative;
  min-height: 600px;
  margin-left: 64px;
}

.room-calendar-hours {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: -64px;
  width: 64px;
  border-right: 1px solid #e5dfd6;
  background: #fbfaf7;
}

.room-calendar-hours span {
  position: absolute;
  right: 8px;
  color: #8c857c;
  font-family: Arial, sans-serif;
  font-size: 6px;
  transform: translateY(-50%);
  white-space: nowrap;
}

.room-calendar-hours span:first-child {
  transform: translateY(3px);
}

.room-calendar-columns {
  position: absolute;
  inset: 0;
  display: grid;
}

.room-calendar-columns > div {
  position: relative;
  min-width: 0;
  border-right: 1px solid #e9e4dc;
  background: #fff;
}

.room-calendar-columns > div.is-today {
  background: #fffaf8;
}

.room-calendar-columns > div > i {
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: #eeeae3;
}

.room-calendar-event {
  position: absolute;
  z-index: 3;
  right: 4px;
  left: 4px;
  min-height: 38px;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 7px 8px;
  overflow: hidden;
  border: 1px solid #dfbe87;
  border-left: 4px solid #c27b24;
  border-radius: 5px;
  color: #67461c;
  background: #fff1d9;
  box-shadow: 0 4px 10px rgba(91, 64, 27, 0.08);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.room-calendar-event:hover,
.room-calendar-event:focus-visible {
  z-index: 4;
  filter: saturate(1.08);
  box-shadow: 0 8px 18px rgba(70, 48, 22, 0.15);
  outline: 2px solid rgba(171, 59, 43, 0.2);
  outline-offset: 1px;
}

.room-calendar-event.is-confirmed {
  border-color: #9ecdb1;
  border-left-color: #378b5d;
  color: #275e40;
  background: #e7f5ec;
}

.room-calendar-event.is-completed {
  border-color: #c9cdd1;
  border-left-color: #727a83;
  color: #4f565d;
  background: #eef0f2;
}

.room-calendar-event b,
.room-calendar-event span,
.room-calendar-event small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-calendar-event b,
.room-calendar-event small {
  display: flex;
  align-items: center;
  gap: 4px;
}

.room-calendar-event b {
  font-family: Arial, sans-serif;
  font-size: 7px;
}

.room-calendar-event > span {
  font-size: 7px;
  font-weight: 900;
}

.room-calendar-event small {
  opacity: 0.78;
  font-size: 6px;
}

.room-calendar-event svg {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
}

.room-calendar-empty {
  position: sticky;
  z-index: 6;
  left: 64px;
  width: calc(100vw - 190px);
  max-width: 910px;
  min-height: 190px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  margin-top: -520px;
  padding: 18px;
  pointer-events: none;
  color: #8c857b;
  text-align: center;
}

.room-calendar-empty svg {
  width: 29px;
  height: 29px;
  margin-bottom: 3px;
  color: #b8afa4;
}

.room-calendar-empty b {
  color: #5c564e;
  font-size: 9px;
}

.room-calendar-empty span {
  font-size: 7px;
}

.admin-modal > .room-calendar-footer {
  min-height: 42px;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  gap: 15px;
  padding: 9px 18px;
}

.room-calendar-footer > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #716a61;
  font-size: 6px;
  font-weight: 800;
}

.room-calendar-footer > small {
  margin-left: auto;
  color: #999188;
  font-size: 6px;
}

.admin-room-card__body > button > svg {
  width: 13px;
  height: 13px;
  color: #b03c2e;
}

.admin-room-card__body > button > span {
  margin-left: auto;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px); }
}

@media (max-width: 1150px) {
  .admin-shell {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .admin-sidebar {
    padding-inline: 9px;
  }

  .admin-brand {
    justify-content: center;
    padding-inline: 0;
  }

  .admin-brand > span,
  .admin-sidebar nav a:not(.is-active)::after,
  .admin-sidebar nav a {
    font-size: 0;
  }

  .admin-sidebar nav a {
    justify-content: center;
    padding: 0;
  }

  .admin-sidebar nav a > span {
    width: 31px;
    height: 31px;
  }

  .admin-sidebar nav a > i {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 15px;
    height: 15px;
    font-size: 5px;
  }

  .admin-sidebar nav a > em {
    position: absolute;
    top: 7px;
    right: 8px;
  }

  .admin-profile {
    display: flex;
    justify-content: center;
    padding-inline: 0;
  }

  .admin-profile > div,
  .admin-profile button {
    display: none;
  }

  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-room-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .service-settings__grid {
    grid-template-columns: 1fr;
  }

  .service-settings-card + .service-settings-card {
    border-top: 1px solid #e8e2d9;
    border-left: 0;
  }

  .admin-booking-overview {
    grid-template-columns: 1fr;
  }

  .booking-summary-card {
    grid-template-columns: 1fr 1fr;
  }

  .booking-summary-card > header,
  .booking-summary-split,
  .booking-invariant-note {
    grid-column: 1 / -1;
  }

  .booking-room-counts {
    grid-column: 1 / -1;
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-dashboard-grid,
  .agent-main-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-layout {
    grid-template-columns: 1fr;
  }

  .knowledge-layout > aside {
    grid-template-columns: 1fr 1fr;
  }

  .chatbot-setting-list {
    grid-template-columns: 1fr;
  }

  .chatbot-setting-row + .chatbot-setting-row {
    border-top: 1px solid #eee9e2;
    border-left: 0;
  }

  .agent-hero-card {
    grid-template-columns: auto 1fr;
  }

  .agent-metrics {
    grid-column: 1 / -1;
  }

  .guardrails-card {
    grid-template-columns: 1fr 1fr;
  }

  .guardrails-card > div:not(.admin-card__heading):nth-child(4) {
    border-top: 1px solid #eee9e2;
    border-left: 0;
  }

  .guardrails-card > div:not(.admin-card__heading):nth-child(5) {
    border-top: 1px solid #eee9e2;
  }

  .security-grid {
    grid-template-columns: 1fr 1fr;
  }

  .security-grid > button {
    min-height: 50px;
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .service-settings__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
  }

  .service-settings-card {
    padding: 15px;
  }

  .weekly-hours-row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px 0;
  }

  .weekly-time-fields {
    max-width: 330px;
  }

  .booking-policy-fields,
  .payment-settings-fields {
    grid-template-columns: 1fr;
  }

  .payment-settings-fields .is-wide {
    grid-column: auto;
  }

  .closed-date-control > div,
  .service-settings-card > footer {
    align-items: stretch;
    flex-direction: column;
  }

  .closed-date-control button,
  .service-settings-card > footer .admin-primary {
    min-height: 36px;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    height: 62px;
    padding: 6px 8px;
    box-shadow: 0 -8px 28px rgba(0,0,0,.16);
  }

  .admin-brand,
  .admin-sidebar__bottom {
    display: none;
  }

  .admin-sidebar nav {
    grid-template-columns: repeat(7, 1fr);
    margin: 0;
  }

  .admin-sidebar nav a {
    min-height: 48px;
  }

  .admin-sidebar nav a.is-active {
    background: rgba(216, 74, 50, 0.95);
  }

  .admin-main {
    padding: 20px 14px 90px;
  }

  .admin-page-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-page-title > .admin-primary {
    width: 100%;
  }

  .admin-browser-notification-prompt {
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: -8px;
  }

  .admin-browser-notification-prompt > div {
    width: calc(100% - 46px);
  }

  .admin-browser-notification-prompt button {
    width: 100%;
  }

  .admin-page-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .admin-page-actions > button {
    width: 100%;
  }

  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .admin-stat-grid article {
    min-height: 115px;
    padding: 14px;
  }

  .admin-stat-grid article > strong {
    font-size: 21px;
  }

  .stat-symbol {
    display: none;
  }

  .schedule-axis {
    margin-left: 100px;
  }

  .schedule-row {
    grid-template-columns: 90px 1fr;
    padding-inline: 10px;
  }

  .schedule-row > div:first-child b {
    display: none;
  }

  .activity-card {
    display: none;
  }

  .compact-bookings > button {
    grid-template-columns: 28px 1fr auto;
  }

  .compact-bookings > button > strong {
    display: none;
  }

  .admin-room-grid {
    grid-template-columns: 1fr;
  }

  .admin-booking-calendar {
    padding: 13px;
  }

  .admin-booking-calendar__grid,
  .calendar-grid {
    gap: 2px;
  }

  .admin-booking-calendar__grid > button,
  .calendar-day {
    height: 38px;
  }

  .booking-summary-card {
    display: block;
  }

  .booking-room-counts {
    grid-template-columns: 1fr;
  }

  .booking-room-counts > h3,
  .booking-room-counts > p {
    grid-column: auto;
  }

  .booking-list-heading,
  .booking-list-toolbar,
  .booking-list-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .booking-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .booking-tab,
  .booking-tabs > button {
    padding-inline: 7px;
  }

  .booking-list-search {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .booking-row-actions {
    min-width: max-content;
  }

  .booking-list-card .admin-table-wrap {
    overflow-x: auto;
  }

  .booking-invariant-note,
  .room-service-invariant {
    margin-inline: 10px;
  }

  .admin-room-art {
    height: 180px;
  }

  .add-room-card {
    min-height: 200px;
  }

  .table-toolbar {
    flex-wrap: wrap;
  }

  .table-toolbar label {
    width: 100%;
  }

  .table-toolbar .export-button {
    margin-left: auto;
  }

  .knowledge-drop {
    text-align: center;
    padding-inline: 20px;
  }

  .chatbot-settings-card > header,
  .customer-handoff-queue > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chatbot-setting-row {
    min-height: 78px;
    padding: 14px;
  }

  .customer-handoff-list {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .knowledge-layout > aside {
    grid-template-columns: 1fr;
  }

  .agent-hero-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .agent-metrics {
    width: 100%;
  }

  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }

  .guardrails-card {
    grid-template-columns: 1fr;
  }

  .guardrails-card > div:not(.admin-card__heading) + div {
    border-top: 1px solid #eee9e2;
    border-left: 0;
  }

  .settings-section__heading {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .integration-row {
    grid-template-columns: 34px 1fr auto;
    margin-inline: 12px;
  }

  .integration-row em {
    display: none;
  }

  .template-row {
    grid-template-columns: 34px 1fr auto;
    margin-inline: 12px;
  }

  .notification-template-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
  }

  .notification-settings-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 12px;
  }

  .security-grid {
    grid-template-columns: 1fr;
    padding-inline: 12px;
  }

  .security-grid > button {
    grid-column: auto;
  }

  .admin-drawer {
    width: 100%;
  }

  .admin-modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .admin-modal {
    width: 100%;
    max-height: 94vh;
    border-radius: 12px 12px 0 0;
  }

  .room-calendar-backdrop {
    padding: 0;
  }

  .admin-modal.room-calendar-modal {
    height: 94vh;
    border-radius: 12px 12px 0 0;
  }

  .admin-modal.payment-slip-modal {
    max-height: 94vh;
    border-radius: 12px 12px 0 0;
  }

  .payment-slip-modal__body {
    min-height: 280px;
    height: 64vh;
    padding: 12px;
  }

  .payment-slip-modal__booking {
    max-width: calc(100% - 72px);
  }

  .admin-modal > .room-calendar-header {
    min-height: 66px;
    padding: 10px 12px;
  }

  .room-calendar-heading > span {
    width: 34px;
    height: 34px;
  }

  .admin-modal > .room-calendar-header .room-calendar-edit {
    min-width: 36px;
    width: 36px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    font-size: 0;
  }

  .admin-modal > .room-calendar-header .room-calendar-edit svg {
    color: #514b43;
  }

  .room-calendar-toolbar {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px 10px;
  }

  .room-calendar-toolbar > strong {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    font-size: 9px;
  }

  .room-calendar-view-switch button {
    min-width: 61px;
  }

  .room-calendar-summary {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding: 7px 11px;
  }

  .room-calendar-summary > small {
    display: none;
  }

  .room-calendar-canvas {
    min-width: 1010px;
  }

  .room-calendar-scroll.is-day-view .room-calendar-canvas {
    min-width: 364px;
  }

  .room-calendar-days {
    grid-template-columns: 54px repeat(7, minmax(132px, 1fr));
  }

  .room-calendar-scroll.is-day-view .room-calendar-days {
    grid-template-columns: 54px minmax(310px, 1fr);
  }

  .room-calendar-timeline {
    margin-left: 54px;
  }

  .room-calendar-hours {
    left: -54px;
    width: 54px;
  }

  .room-calendar-hours span {
    right: 6px;
  }

  .admin-modal > .room-calendar-footer {
    gap: 10px;
    padding-inline: 11px;
  }

  .room-calendar-footer > small {
    display: none;
  }

  .room-photo-upload {
    height: 150px;
    margin: 14px 14px 0;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .admin-form-grid .is-wide,
  .room-active-field {
    grid-column: auto;
  }

  .admin-toast {
    right: 14px;
    bottom: 76px;
    left: 14px;
  }
}
