html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  background-color: #efe6d6;
  background-image: url('/images/brand/topbar-pattern.jpg');
  background-position: center;
  background-repeat: repeat;
  background-size: 420px auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-height: 100vh;
}

.top-menu-bar {
  background:
    radial-gradient(circle at 16% -20%, rgba(222, 174, 73, .14), transparent 32%),
    linear-gradient(180deg, #0b1220 0%, #090a0d 58%, #06070a 100%);
  border-bottom: 1px solid rgba(218, 171, 72, .62);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(255, 255, 255, .06);
  margin-bottom: 0;
  padding: 8px 0;
}

.content-shell {
  flex: 1 0 auto;
}

.content-main {
  backdrop-filter: blur(6px);
  background: rgba(255, 252, 246, .88);
  border: 1px solid rgba(140, 100, 36, .34);
  border-radius: 8px;
  box-shadow:
    0 18px 42px rgba(32, 37, 45, .12),
    inset 0 1px 0 rgba(255, 255, 255, .64);
  margin-bottom: 20px;
  margin-top: 20px;
  padding: 24px;
}

.content-main-home {
  backdrop-filter: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  margin-top: 0;
  padding-bottom: 20px;
  padding-top: 20px;
}

.content-main-auth {
  backdrop-filter: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  margin-top: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.content-main-premium-workspace {
  backdrop-filter: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
  margin-top: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.premium-workspace {
  background: #efe8dc;
  margin: 0 calc(50% - 50vw);
  min-height: calc(100vh - 128px);
  overflow: hidden;
  padding: 30px max(16px, calc((100vw - 1320px) / 2 + 12px)) 64px;
  position: relative;
}

.premium-workspace::before {
  background: url('/images/home/background.jpg');
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(3px) saturate(.82) brightness(.98);
  inset: -12px;
  opacity: .58;
  position: absolute;
  transform: scale(1.02);
  z-index: 0;
}

.premium-workspace::after {
  background:
    radial-gradient(circle at 12% 8%, rgba(218, 171, 72, .26), transparent 28%),
    linear-gradient(90deg, rgba(8, 10, 13, .34), rgba(239, 232, 220, .16) 46%, rgba(8, 10, 13, .3)),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(239, 232, 220, .48));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.premium-workspace > * {
  position: relative;
  z-index: 1;
}

.premium-workspace .alert {
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(18, 32, 50, .12);
}

.premium-workspace .section-kicker {
  color: #9b7439;
}

.premium-page-hero,
.premium-operations-page .ops-hero {
  align-items: center;
  backdrop-filter: blur(16px);
  background:
    radial-gradient(circle at 16% -20%, rgba(218, 171, 72, .22), transparent 35%),
    linear-gradient(135deg, rgba(15, 18, 22, .95) 0%, rgba(27, 37, 48, .94) 52%, rgba(9, 10, 13, .96) 100%);
  border: 1px solid rgba(218, 171, 72, .54);
  border-radius: 8px;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #f4ead9;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 18px;
  padding: 26px;
}

.premium-operations-page .ops-hero {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  overflow: hidden;
}

.premium-operations-page .ops-hero > div:first-child {
  min-width: 0;
}

.premium-page-hero h1,
.premium-operations-page .ops-hero h1 {
  color: #fff7e8;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 780;
  line-height: 1.08;
  margin: 0;
}

.premium-page-hero p,
.premium-operations-page .ops-date {
  color: rgba(244, 234, 217, .76);
}

.premium-workspace .btn-primary {
  background:
    linear-gradient(180deg, #f1d489 0%, #d3a344 100%);
  border-color: #d5aa50;
  box-shadow: 0 10px 22px rgba(27, 37, 48, .14);
  color: #17120d;
  font-weight: 800;
}

.premium-workspace .btn-primary:hover,
.premium-workspace .btn-primary:focus {
  background:
    linear-gradient(180deg, #f5dda0 0%, #dcaf55 100%);
  border-color: #e1b85f;
  color: #100d09;
}

.premium-workspace .btn-primary:disabled {
  background: rgba(107, 114, 128, .18);
  border-color: rgba(107, 114, 128, .26);
  box-shadow: none;
  color: rgba(52, 64, 84, .58);
}

.premium-workspace .btn-outline-primary {
  background: rgba(255, 252, 246, .72);
  border-color: rgba(140, 100, 36, .42);
  color: #8a5f21;
  font-weight: 760;
}

.premium-page-hero .btn-outline-primary,
.premium-operations-page .ops-hero .btn-outline-primary {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(218, 171, 72, .58);
  color: #f3d58d;
}

.premium-workspace .btn-outline-primary:hover,
.premium-workspace .btn-outline-primary:focus {
  background: rgba(218, 171, 72, .16);
  border-color: rgba(140, 100, 36, .7);
  color: #17120d;
}

.premium-page-hero .btn-outline-primary:hover,
.premium-page-hero .btn-outline-primary:focus,
.premium-operations-page .ops-hero .btn-outline-primary:hover,
.premium-operations-page .ops-hero .btn-outline-primary:focus {
  color: #fff7e8;
}

.premium-page-metrics,
.premium-operations-page .metric-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 18px;
}

.premium-metric-tile,
.premium-operations-page .metric-tile {
  backdrop-filter: blur(12px);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .94), rgba(246, 240, 229, .9));
  border: 1px solid rgba(140, 100, 36, .32);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 32, 50, .12);
  min-height: 104px;
  padding: 18px;
}

.premium-metric-tile span,
.premium-operations-page .metric-tile span {
  color: #78582b;
  display: block;
  font-size: .82rem;
  font-weight: 820;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.premium-metric-tile strong,
.premium-operations-page .metric-tile strong {
  color: #17212b;
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1;
}

.premium-workspace .surface-panel {
  backdrop-filter: blur(12px);
  background: rgba(255, 252, 246, .94);
  border: 1px solid rgba(140, 100, 36, .32);
  box-shadow:
    0 18px 42px rgba(18, 32, 50, .14),
    inset 0 1px 0 rgba(255, 255, 255, .76);
}

.premium-workspace .surface-panel h2 {
  color: #17212b;
}

.premium-workspace .panel-heading {
  align-items: flex-start;
}

.premium-workspace .empty-state {
  background: rgba(246, 248, 250, .76);
  border: 1px dashed rgba(140, 100, 36, .3);
  color: #667085;
}

.billing-premium-page {
  display: grid;
  gap: 18px;
}

.billing-premium-page .billing-hero {
  margin-bottom: 0;
}

.billing-premium-page .billing-hero .btn-outline-secondary {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(244, 234, 217, .24);
  color: #f4ead9;
  font-weight: 780;
}

.billing-premium-page .billing-hero .btn-outline-secondary:hover,
.billing-premium-page .billing-hero .btn-outline-secondary:focus {
  background: rgba(218, 171, 72, .16);
  border-color: rgba(218, 171, 72, .58);
  color: #fff7e8;
}

.billing-premium-page .surface-panel {
  overflow: hidden;
  padding: 24px;
}

.billing-premium-page .panel-heading {
  border-bottom: 1px solid rgba(140, 100, 36, .14);
  margin-bottom: 18px;
  padding-bottom: 14px;
}

.billing-premium-page .panel-heading h2 {
  font-size: 1.22rem;
  font-weight: 840;
  line-height: 1.16;
}

.billing-premium-page .channel-settings-grid {
  gap: 12px;
}

.billing-premium-page .channel-setting-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(250, 246, 238, .96));
  border-color: rgba(140, 100, 36, .22);
  box-shadow:
    0 12px 28px rgba(18, 32, 50, .08),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  min-height: 88px;
}

.billing-premium-page .channel-setting-card strong {
  color: #17212b;
  font-weight: 840;
}

.billing-premium-page .channel-setting-card small {
  color: #66543b;
}

.billing-premium-page .form-label {
  color: #5f4b2d;
  font-size: .8rem;
  font-weight: 820;
  margin-bottom: .35rem;
}

.billing-premium-page .form-control,
.billing-premium-page .form-select {
  background: #fffdf8;
  border-color: rgba(140, 100, 36, .24);
  color: #17212b;
  min-height: 44px;
}

.billing-premium-page .form-control:focus,
.billing-premium-page .form-select:focus {
  background: #ffffff;
  border-color: rgba(218, 171, 72, .72);
  box-shadow: 0 0 0 .18rem rgba(218, 171, 72, .2);
  color: #17212b;
}

.billing-premium-page .form-text {
  color: #776044;
  font-size: .78rem;
}

.billing-premium-page .form-check-input:checked {
  background-color: #d8ab48;
  border-color: #d8ab48;
}

.billing-preview-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.billing-selected-amount {
  background:
    linear-gradient(135deg, rgba(23, 33, 43, .96), rgba(40, 50, 62, .94));
  border: 1px solid rgba(218, 171, 72, .46);
  border-radius: 8px;
  box-shadow:
    0 14px 30px rgba(18, 32, 50, .16),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff7e8;
  display: inline-flex;
  font-size: 1.02rem;
  font-weight: 860;
  line-height: 1.25;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 11px 14px;
}

.billing-premium-page [data-grand-total],
.billing-premium-page [data-subscription-line-total],
.billing-premium-page [data-communication-line-total] {
  color: #17212b;
  font-size: 1.05rem;
  font-weight: 860;
}

.billing-premium-page [data-submit-button] {
  min-height: 46px;
  min-width: 180px;
}

.premium-operations-page .operator-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  justify-self: end;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.premium-operations-page .operator-card span,
.premium-operations-page .operator-card strong,
.premium-operations-page .operator-card small {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.premium-operations-page .operator-card span,
.premium-operations-page .operator-card small {
  color: rgba(244, 234, 217, .72);
}

.premium-operations-page .operator-card strong {
  color: #fff7e8;
}

.premium-operations-page .operation-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  margin-bottom: 18px;
}

.premium-operations-page .desk-status,
.premium-operations-page .cashier-entry-form,
.premium-operations-page .cashier-summary-tile,
.premium-operations-page .job-details div,
.premium-operations-page .compact-row,
.premium-operations-page .service-card,
.premium-operations-page .scenario-button {
  background: rgba(246, 248, 250, .76);
  border-color: rgba(214, 223, 232, .92);
}

.premium-operations-page .ticket-focus {
  background:
    radial-gradient(circle at 18% 10%, rgba(218, 171, 72, .25), transparent 32%),
    linear-gradient(135deg, #111827, #17212b);
  border: 1px solid rgba(218, 171, 72, .28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #fff7e8;
}

.premium-operations-page .live-chip {
  background: rgba(22, 163, 74, .12);
  border-color: rgba(22, 163, 74, .26);
  color: #157347;
}

.premium-operations-page .status-called {
  background: rgba(218, 171, 72, .2);
  color: #7b520e;
}

.premium-operations-page .queue-table {
  margin: 0;
}

.premium-operations-page .queue-table th,
.premium-staff-page .management-table th {
  background: rgba(20, 31, 48, .06);
  border-bottom-color: rgba(140, 100, 36, .18);
  color: #78582b;
  font-size: .76rem;
  font-weight: 820;
  text-transform: uppercase;
  white-space: nowrap;
}

.premium-operations-page .queue-table td,
.premium-staff-page .management-table td {
  border-color: rgba(140, 100, 36, .11);
  color: #344054;
}

.premium-operations-page .ticket-chip {
  background: #17212b;
  border: 1px solid rgba(218, 171, 72, .28);
  color: #fff7e8;
}

.cashier-module-locked {
  margin-top: 18px;
}

.cashier-module-locked .empty-state {
  font-weight: 700;
}

.premium-staff-page .management-table-wrap {
  background: rgba(255, 252, 246, .66);
  border-color: rgba(140, 100, 36, .26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
}

.premium-staff-page .management-table {
  margin: 0;
}

.premium-staff-page .management-table tbody tr:hover td {
  background: rgba(255, 250, 241, .88);
}

.premium-staff-page .row-actions .btn {
  font-weight: 760;
}

.status-bar {
  background:
    linear-gradient(180deg, #06070a 0%, #090a0d 42%, #0b1220 100%);
  border-top: 1px solid rgba(218, 171, 72, .54);
  box-shadow:
    0 -10px 28px rgba(0, 0, 0, .18),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  color: #f4ead9;
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 700;
  padding: 7px 0;
}

.status-bar-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: center;
  min-height: 26px;
  text-align: center;
}

.status-bar span {
  min-width: 0;
}

.top-menu-inner {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(132px, 1fr) auto minmax(132px, 1fr);
  min-height: 68px;
}

.top-menu-left {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.brand-icon-link {
  border-radius: 10px;
  display: inline-flex;
  flex: 0 0 auto;
  overflow: visible;
  text-decoration: none;
}

.brand-icon {
  background:
    radial-gradient(circle at 50% 42%, rgba(218, 171, 72, .12), transparent 68%),
    rgba(9, 10, 13, .62);
  border: 1px solid rgba(218, 171, 72, .52);
  border-radius: 10px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .34),
    0 0 0 1px rgba(255, 255, 255, .04);
  display: block;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .42));
  height: 52px;
  object-fit: contain;
  padding: 4px;
  width: 52px;
}

.top-menu-slogan {
  display: block;
  filter:
    drop-shadow(0 2px 4px rgba(0, 0, 0, .55))
    drop-shadow(0 8px 18px rgba(218, 171, 72, .2));
  height: clamp(36px, 5vw, 54px);
  justify-self: center;
  max-width: min(48vw, 420px);
  object-fit: contain;
  width: auto;
}

.top-menu-actions {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.top-icon-button {
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(218, 171, 72, .54);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  color: #f4ead9;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  position: relative;
  text-decoration: none;
  transition: background-color .16s ease, transform .16s ease;
  width: 44px;
}

.top-icon-button:hover,
.top-icon-button:focus {
  background: rgba(218, 171, 72, .14);
  color: #ffffff;
  transform: translateY(-1px);
}

.top-icon-button svg {
  fill: none;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 21px;
}

.notification-badge {
  align-items: center;
  background: #c99b42;
  border: 2px solid #090a0d;
  border-radius: 999px;
  color: #090a0d;
  display: inline-flex;
  font-size: .68rem;
  font-weight: 800;
  height: 18px;
  justify-content: center;
  line-height: 1;
  min-width: 18px;
  padding: 0 4px;
  position: absolute;
  right: 4px;
  top: 4px;
}

.notification-dropdown {
  background: rgba(255, 252, 246, .97);
  border: 1px solid rgba(140, 100, 36, .32);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(22, 32, 48, .18);
  min-width: min(340px, calc(100vw - 24px));
  overflow: hidden;
  padding: 0;
}

.notification-dropdown-head {
  align-items: center;
  border-bottom: 1px solid rgba(140, 100, 36, .18);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 14px;
}

.notification-dropdown-head strong {
  color: #17212b;
}

.notification-dropdown-head span {
  color: #8a6a35;
  font-size: .78rem;
  font-weight: 800;
}

.notification-list {
  display: grid;
  max-height: 340px;
  overflow-y: auto;
}

.notification-item {
  border-bottom: 1px solid rgba(140, 100, 36, .13);
  color: #4e5967;
  display: grid;
  gap: 3px;
  padding: 12px 14px;
}

.notification-item:last-child {
  border-bottom: 0;
}

.notification-item.unread {
  background: rgba(20, 31, 48, .06);
}

.notification-item strong {
  color: #2e3745;
  font-size: .92rem;
  font-weight: 680;
}

.notification-item.unread strong {
  color: #111827;
  font-weight: 850;
}

.notification-item span {
  font-size: .82rem;
  line-height: 1.35;
}

.notification-item small,
.notification-empty {
  color: #667085;
  font-size: .78rem;
}

.notification-empty {
  padding: 16px 14px;
}

.hamburger-button {
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(218, 171, 72, .54);
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  color: #f4ead9;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.hamburger-button .navbar-toggler-icon {
  background-image: none;
  border-bottom: 2px solid #f4ead9;
  border-top: 2px solid #f4ead9;
  height: 16px;
  position: relative;
  width: 20px;
}

.hamburger-button .navbar-toggler-icon::before {
  border-top: 2px solid #f4ead9;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 5px;
}

.app-menu {
  display: grid;
  gap: 8px;
}

.app-menu a {
  border-radius: 8px;
  color: #17212b;
  display: block;
  font-weight: 700;
  padding: 10px 12px;
  text-decoration: none;
}

.app-menu a:hover {
  background: #f2f5f8;
}

.app-menu-group {
  border-top: 1px solid #e6ebf0;
  display: grid;
  gap: 4px;
  margin-top: 8px;
  padding-top: 12px;
}

.app-menu-group span {
  color: #667085;
  font-size: .74rem;
  font-weight: 800;
  padding: 0 12px;
  text-transform: uppercase;
}

.home-heading {
  margin: 8px 0 26px;
  text-align: center;
}

.home-heading h1 {
  color: #17120d;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 780;
  line-height: 1.08;
  margin: 0 auto;
  max-width: 980px;
}

.premium-home {
  background: #efe8dc;
  margin: -20px calc(50% - 50vw);
  min-height: calc(100vh - 128px);
  overflow: hidden;
  padding: 34px max(16px, calc((100vw - 1320px) / 2 + 12px)) 64px;
  position: relative;
}

.premium-home > * {
  position: relative;
  z-index: 1;
}

.premium-home-photo::before {
  background: url('/images/home/background.jpg');
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(3px) saturate(.82) brightness(1.08);
  inset: -12px;
  opacity: .62;
  position: absolute;
  transform: scale(1.02);
  z-index: 0;
}

.premium-home-photo::after {
  background:
    linear-gradient(90deg, rgba(239, 232, 220, .34), rgba(239, 232, 220, .1) 45%, rgba(239, 232, 220, .38)),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(239, 232, 220, .4));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.premium-home .section-kicker {
  color: #8a6a35;
}

.home-hero {
  background: #ffffff;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 32, 50, .06);
  padding: 36px;
}

.home-hero h1 {
  color: #17212b;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 780;
  line-height: 1.08;
  margin-bottom: 12px;
}

.home-hero p {
  color: #596574;
  font-size: 1.08rem;
  max-width: 720px;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

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

.home-tile {
  align-content: end;
  aspect-ratio: 16 / 10;
  background-image:
    linear-gradient(180deg, rgba(10, 8, 6, .08), rgba(10, 8, 6, .78)),
    var(--tile-image);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(214, 179, 109, .22);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .34);
  color: #ffffff;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  padding: 24px;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.home-tile:hover {
  border-color: rgba(214, 179, 109, .62);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .42);
  color: #ffffff;
  transform: translateY(-1px);
}

.home-tile span {
  color: rgba(255, 255, 255, .82);
  font-size: .86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-tile strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.home-tile-operation {
  --tile-image: url('/images/home/operation.jpg');
  background-color: #315f64;
}

.home-tile-display {
  --tile-image: url('/images/home/tv-display.jpg');
  background-color: #30486b;
}

.home-tile-monitor {
  --tile-image: url('/images/home/monitor.jpg');
  background-color: #4f5962;
}

.home-tile-qr {
  --tile-image: url('/images/home/qr-print.jpg');
  background-color: #38624c;
}

.home-tile-reports {
  --tile-image: url('/images/home/reports.jpg');
  background-color: #594f6a;
}

.home-tile-settings {
  --tile-image: url('/images/home/settings.jpg');
  background-color: #665a44;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.auth-shell {
  background: #efe8dc;
  display: grid;
  margin: 0 calc(50% - 50vw);
  min-height: calc(100vh - 128px);
  overflow: hidden;
  padding: 54px max(16px, calc((100vw - 1320px) / 2 + 12px)) 64px;
  place-items: center;
  position: relative;
}

.auth-shell::before {
  background: url('/images/home/background.jpg');
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(2px) saturate(.9) brightness(1.02);
  inset: -10px;
  opacity: .72;
  position: absolute;
  transform: scale(1.02);
  z-index: 0;
}

.auth-shell::after {
  background:
    radial-gradient(circle at 18% 16%, rgba(218, 171, 72, .24), transparent 32%),
    linear-gradient(90deg, rgba(8, 10, 13, .44), rgba(239, 232, 220, .18) 50%, rgba(8, 10, 13, .34)),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(239, 232, 220, .5));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.auth-shell > * {
  position: relative;
  z-index: 1;
}

.auth-panel {
  backdrop-filter: blur(16px);
  background:
    linear-gradient(180deg, rgba(15, 18, 22, .94) 0%, rgba(9, 10, 13, .96) 100%);
  border: 1px solid rgba(218, 171, 72, .56);
  border-radius: 8px;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #f4ead9;
  max-width: 480px;
  padding: 32px;
  width: 100%;
}

.auth-panel-wide {
  max-width: 920px;
}

.auth-panel h1 {
  color: #fff7e8;
  font-size: 2rem;
  font-weight: 760;
  line-height: 1.12;
  margin-bottom: 24px;
}

.auth-panel .form-label {
  color: #f4ead9;
  font-weight: 760;
}

.auth-panel .form-text {
  color: rgba(244, 234, 217, .68);
}

.auth-panel .form-control,
.auth-panel .form-select {
  background-color: rgba(255, 252, 246, .94);
  border-color: rgba(218, 171, 72, .38);
  color: #17120d;
}

.auth-panel .form-control:focus,
.auth-panel .form-select:focus {
  background-color: #fffaf1;
  border-color: rgba(218, 171, 72, .78);
  box-shadow: 0 0 0 .18rem rgba(218, 171, 72, .22);
  color: #17120d;
}

.auth-panel .input-group-text {
  background: rgba(218, 171, 72, .18);
  border-color: rgba(218, 171, 72, .38);
  color: #fff3d0;
  font-weight: 800;
}

.auth-panel .btn-primary {
  background:
    linear-gradient(180deg, #f1d489 0%, #d3a344 100%);
  border-color: #d5aa50;
  box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
  color: #17120d;
  font-weight: 800;
}

.auth-panel .btn-primary:hover,
.auth-panel .btn-primary:focus {
  background:
    linear-gradient(180deg, #f5dda0 0%, #dcaf55 100%);
  border-color: #e1b85f;
  color: #100d09;
}

.auth-panel .btn-primary:disabled {
  background: rgba(218, 171, 72, .34);
  border-color: rgba(218, 171, 72, .3);
  color: rgba(255, 247, 232, .58);
}

.auth-panel .btn-outline-primary {
  border-color: rgba(218, 171, 72, .62);
  color: #f3d58d;
}

.auth-panel .btn-outline-primary:hover,
.auth-panel .btn-outline-primary:focus {
  background: rgba(218, 171, 72, .16);
  border-color: rgba(218, 171, 72, .82);
  color: #fff7e8;
}

.auth-panel .btn-outline-secondary {
  border-color: rgba(244, 234, 217, .34);
  color: rgba(244, 234, 217, .86);
}

.auth-panel .btn-outline-secondary:hover,
.auth-panel .btn-outline-secondary:focus {
  background: rgba(244, 234, 217, .1);
  border-color: rgba(244, 234, 217, .52);
  color: #ffffff;
}

.auth-panel a:not(.btn),
.auth-panel .btn-link {
  color: #f0cf84;
  font-weight: 700;
}

.auth-panel a:not(.btn):hover,
.auth-panel .btn-link:hover {
  color: #fff0c4;
}

.auth-panel .border-top {
  border-color: rgba(218, 171, 72, .3) !important;
}

.auth-panel .form-check-label {
  color: rgba(244, 234, 217, .88);
}

.auth-panel .form-check-input {
  background-color: rgba(255, 252, 246, .94);
  border-color: rgba(218, 171, 72, .52);
}

.auth-panel .form-check-input:checked {
  background-color: #d8ab48;
  border-color: #d8ab48;
}

.auth-panel .alert {
  border-radius: 8px;
}

.auth-panel .alert-warning {
  background: rgba(218, 171, 72, .16);
  border-color: rgba(218, 171, 72, .42);
  color: #fff0c4;
}

.auth-panel .alert-info {
  background: rgba(80, 112, 128, .2);
  border-color: rgba(140, 177, 192, .38);
  color: #d9edf3;
}

.auth-panel .alert-success {
  background: rgba(80, 136, 104, .2);
  border-color: rgba(128, 190, 154, .38);
  color: #dff5e6;
}

.auth-panel .modal-content,
.auth-contract-modal .modal-content {
  background: #fffaf1;
  color: #17212b;
}

.auth-panel .modal-header,
.auth-contract-modal .modal-header {
  border-bottom-color: rgba(140, 100, 36, .22);
}

.auth-form {
  display: grid;
  gap: 18px;
}

.auth-alt {
  align-items: center;
  border-top: 1px solid rgba(218, 171, 72, .3);
  color: rgba(244, 234, 217, .72);
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
  padding-top: 20px;
}

.section-kicker {
  color: #667085;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.surface-panel {
  background: #ffffff;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 32, 50, .06);
  padding: 24px;
}

.surface-panel h2 {
  color: #17212b;
  font-size: 1.18rem;
  font-weight: 760;
  margin: 0;
}

.panel-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.empty-state {
  color: #667085;
  margin: 0;
}

.personnel-form {
  display: grid;
  gap: 16px;
}

.staff-list {
  display: grid;
  gap: 16px;
}

.staff-item {
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  padding: 18px;
}

.staff-item-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 16px;
}

.staff-item-heading strong {
  color: #17212b;
  display: block;
  font-size: 1.05rem;
}

.staff-item-heading span {
  color: #667085;
  font-size: .9rem;
  margin-right: 8px;
}

.management-table-wrap {
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  overflow: hidden;
}

.management-table {
  margin: 0;
}

.management-table th {
  background: #f6f8fa;
  color: #667085;
  font-size: .76rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.management-table td {
  color: #344054;
  vertical-align: middle;
}

.management-table td strong,
.management-table td small {
  display: block;
}

.management-table td strong {
  color: #17212b;
  font-weight: 760;
}

.management-table td small {
  color: #667085;
  font-size: .82rem;
  margin-top: 2px;
}

.row-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.row-actions form {
  margin: 0;
}

.modal-content .personnel-form .modal-body {
  display: grid;
  gap: 16px;
}

.staff-edit-modal .modal-dialog {
  max-width: min(1120px, calc(100vw - 24px));
}

.staff-edit-modal-content {
  background: #fffaf1;
  border: 1px solid rgba(140, 100, 36, .34);
  border-radius: 8px;
  box-shadow:
    0 28px 76px rgba(9, 10, 13, .36),
    inset 0 1px 0 rgba(255, 255, 255, .68);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow: hidden;
}

.staff-edit-form {
  display: grid;
  gap: 0;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  min-height: 0;
}

.staff-edit-modal-header {
  align-items: flex-start;
  background:
    radial-gradient(circle at 14% -24%, rgba(218, 171, 72, .24), transparent 34%),
    linear-gradient(135deg, rgba(15, 18, 22, .98) 0%, rgba(27, 37, 48, .97) 54%, rgba(9, 10, 13, .98) 100%);
  border-bottom: 1px solid rgba(218, 171, 72, .42);
  color: #f4ead9;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: 22px 24px;
}

.staff-edit-title-block {
  min-width: 0;
}

.staff-edit-modal-header .section-kicker {
  color: #f0cf84;
}

.staff-edit-modal-header .modal-title {
  color: #fff7e8;
  font-size: 1.45rem;
  font-weight: 820;
  line-height: 1.12;
  margin: 0;
  overflow-wrap: anywhere;
}

.staff-edit-header-meta,
.staff-edit-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.staff-edit-header-meta {
  margin-top: 10px;
}

.staff-edit-header-meta span {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(244, 234, 217, .16);
  border-radius: 8px;
  color: rgba(244, 234, 217, .84);
  font-size: .82rem;
  font-weight: 760;
  padding: 5px 8px;
}

.staff-edit-status {
  justify-content: flex-end;
  max-width: 360px;
  padding-top: 2px;
}

.staff-edit-close {
  margin: 0;
  opacity: .86;
}

.staff-edit-close:hover,
.staff-edit-close:focus {
  opacity: 1;
}

.staff-edit-modal-body {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .98), rgba(247, 241, 231, .98));
  display: grid !important;
  gap: 16px !important;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px !important;
}

.staff-edit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
}

.staff-edit-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .84), rgba(255, 250, 241, .92));
  border: 1px solid rgba(140, 100, 36, .22);
  border-radius: 8px;
  box-shadow:
    0 14px 34px rgba(18, 32, 50, .08),
    inset 0 1px 0 rgba(255, 255, 255, .72);
  display: grid;
  gap: 16px;
  padding: 18px;
}

.staff-edit-section-main {
  align-content: start;
}

.staff-edit-section-head {
  align-items: flex-end;
  border-bottom: 1px solid rgba(140, 100, 36, .14);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 12px;
}

.staff-edit-section-head span {
  color: #8a6a35;
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.staff-edit-section-head strong {
  color: #17212b;
  font-size: 1.04rem;
  font-weight: 820;
}

.staff-edit-toggle-list {
  display: grid;
  gap: 10px;
}

.staff-edit-toggle-list .form-check {
  align-items: center;
  background: rgba(20, 31, 48, .04);
  border: 1px solid rgba(140, 100, 36, .16);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  margin: 0;
  min-height: 48px;
  padding-bottom: 10px;
  padding-right: 12px;
  padding-top: 10px;
}

.staff-edit-modal .form-label {
  color: #5f4b2d;
  font-size: .8rem;
  font-weight: 820;
  margin-bottom: .35rem;
}

.staff-edit-modal .form-control,
.staff-edit-modal .form-select {
  background: #fffdf8;
  border-color: rgba(140, 100, 36, .24);
  color: #17212b;
  min-height: 42px;
}

.staff-edit-modal .form-control:focus,
.staff-edit-modal .form-select:focus {
  background: #ffffff;
  border-color: rgba(218, 171, 72, .74);
  box-shadow: 0 0 0 .18rem rgba(218, 171, 72, .22);
  color: #17212b;
}

.staff-edit-modal .input-group-text {
  background: rgba(218, 171, 72, .18);
  border-color: rgba(140, 100, 36, .24);
  color: #6e4a14;
  font-weight: 850;
}

.staff-edit-modal .form-check-label {
  color: #2e3745;
  font-weight: 760;
}

.staff-edit-modal .form-check-input:checked {
  background-color: #d8ab48;
  border-color: #d8ab48;
}

.staff-edit-modal .service-type-check-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.staff-edit-modal .service-type-check {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(250, 246, 238, .94));
  border-color: rgba(140, 100, 36, .2);
}

.staff-edit-modal .service-type-check-main .form-check-input {
  margin-top: .22rem;
}

.staff-edit-modal .service-type-check .form-check-label {
  color: #17212b;
  font-weight: 760;
  line-height: 1.25;
}

.staff-edit-modal .service-type-priority,
.staff-edit-modal .form-hint {
  color: #776044;
}

.staff-edit-modal .service-type-priority input {
  background: #fffaf1;
}

.staff-edit-modal-footer {
  background: #fffaf1;
  border-top: 1px solid rgba(140, 100, 36, .2);
  padding: 16px 22px;
}

.staff-edit-modal-footer .btn {
  font-weight: 800;
  min-width: 110px;
}

.staff-edit-modal .btn-primary {
  background:
    linear-gradient(180deg, #f1d489 0%, #d3a344 100%);
  border-color: #d5aa50;
  box-shadow: 0 10px 22px rgba(27, 37, 48, .14);
  color: #17120d;
}

.staff-edit-modal .btn-primary:hover,
.staff-edit-modal .btn-primary:focus {
  background:
    linear-gradient(180deg, #f5dda0 0%, #dcaf55 100%);
  border-color: #e1b85f;
  color: #100d09;
}

.staff-edit-modal .btn-outline-secondary {
  border-color: rgba(140, 100, 36, .34);
  color: #5f4b2d;
  font-weight: 760;
}

.staff-edit-modal .btn-outline-secondary:hover,
.staff-edit-modal .btn-outline-secondary:focus {
  background: rgba(218, 171, 72, .12);
  border-color: rgba(140, 100, 36, .54);
  color: #17120d;
}

.customer-filter-panel .panel-heading {
  margin-bottom: 14px;
}

.customer-filter-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(180px, .75fr) minmax(240px, 1fr) minmax(220px, 1fr) auto;
}

.customer-filter-form .form-label {
  color: #5f4b2d;
  font-size: .8rem;
  font-weight: 820;
}

.customer-filter-form .form-label span {
  color: #8a6a35;
  font-weight: 720;
}

.customer-filter-form .form-control,
.customer-filter-form .form-select {
  background: #fffdf8;
  border-color: rgba(140, 100, 36, .24);
  min-height: 44px;
}

.customer-filter-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.customer-list-count {
  background: rgba(218, 171, 72, .14);
  border: 1px solid rgba(140, 100, 36, .2);
  border-radius: 8px;
  color: #6e4a14;
  font-size: .82rem;
  font-weight: 820;
  padding: 7px 10px;
}

.customer-pagination-bar {
  align-items: center;
  border-top: 1px solid rgba(140, 100, 36, .16);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-top: 14px;
}

.customer-pagination-bar > span {
  color: #776044;
  font-size: .85rem;
  font-weight: 760;
}

.premium-customers-page .pagination .page-link {
  border-color: rgba(140, 100, 36, .22);
  color: #7a541f;
  font-weight: 760;
}

.premium-customers-page .pagination .active .page-link {
  background: #d8ab48;
  border-color: #d8ab48;
  color: #17120d;
}

.customer-type-info-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.customer-type-info {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(250, 246, 238, .94));
  border: 1px solid rgba(140, 100, 36, .2);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 14px;
}

.customer-type-info strong {
  color: #17212b;
  font-size: .96rem;
  font-weight: 840;
}

.customer-type-info span {
  color: #66543b;
  font-size: .86rem;
  line-height: 1.35;
}

.contract-html {
  max-height: min(72vh, 760px);
  overflow: auto;
  overscroll-behavior: contain;
}

.contract-html table,
.contract-html img {
  max-width: 100%;
}

.desk-assignment-list {
  display: grid;
  gap: 14px;
}

.desk-assignment-row {
  align-items: center;
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr) minmax(240px, 2fr);
  padding: 14px;
}

.desk-assignment-row strong {
  color: #17212b;
  display: block;
}

.desk-assignment-row span {
  color: #667085;
  display: block;
  font-size: .9rem;
}

.premium-desks-page .premium-page-hero form {
  margin: 0;
}

.desk-assignment-status {
  background: rgba(218, 171, 72, .14);
  border: 1px solid rgba(140, 100, 36, .28);
  border-radius: 8px;
  color: #78582b;
  font-size: .86rem;
  font-weight: 820;
  padding: .5rem .72rem;
  white-space: nowrap;
}

.premium-desks-page .desk-assignment-list {
  gap: 12px;
}

.premium-desks-page .desk-assignment-row {
  background:
    linear-gradient(90deg, rgba(218, 171, 72, .18), transparent 18px),
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(249, 246, 239, .88));
  border-color: rgba(140, 100, 36, .24);
  box-shadow: 0 14px 30px rgba(18, 32, 50, .08);
  grid-template-columns: minmax(180px, .72fr) minmax(180px, .85fr) minmax(260px, 1fr);
  min-height: 88px;
  padding: 16px 18px;
}

.premium-desks-page .desk-assignment-info {
  min-width: 0;
  padding-left: 8px;
}

.premium-desks-page .desk-number {
  color: #9b7439;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: 0;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.premium-desks-page .desk-assignment-row strong {
  font-size: 1.03rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.premium-desks-page .desk-assignment-row .form-control,
.premium-desks-page .desk-assignment-row .form-select {
  background-color: rgba(255, 252, 246, .92);
  border-color: rgba(140, 100, 36, .24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
  color: #17212b;
  font-weight: 650;
  min-height: 48px;
}

.premium-desks-page .desk-assignment-row .form-control:focus,
.premium-desks-page .desk-assignment-row .form-select:focus {
  border-color: rgba(140, 100, 36, .58);
  box-shadow:
    0 0 0 .2rem rgba(218, 171, 72, .18),
    inset 0 1px 0 rgba(255, 255, 255, .76);
}

.desk-assignment-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.service-type-check-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.service-type-check {
  align-items: flex-start;
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0;
  padding: 10px 12px;
}

.service-type-check-main {
  align-items: flex-start;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.service-type-check small {
  color: #667085;
  display: block;
  font-size: .78rem;
}

.service-type-priority {
  align-items: flex-end;
  color: #667085;
  display: flex;
  flex: 0 0 78px;
  flex-direction: column;
  font-size: .72rem;
  font-weight: 700;
  gap: 4px;
  margin: 0;
}

.service-type-priority input {
  max-width: 72px;
  text-align: center;
}

.form-hint {
  color: #667085;
  font-size: .82rem;
}

.kiosk-device-summary {
  border: 1px solid #e6ebf0;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  padding: 16px;
}

.kiosk-device-summary span {
  color: #667085;
  display: block;
  font-size: .76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.kiosk-device-summary strong,
.kiosk-device-summary small {
  display: block;
}

.kiosk-device-summary strong {
  color: #17212b;
  font-weight: 760;
  margin-top: 4px;
}

.kiosk-device-summary small {
  color: #667085;
  font-size: .82rem;
  margin-top: 2px;
}

.kiosk-pairing-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 1.45rem;
  letter-spacing: 0;
}

.monitor-heading {
  align-items: flex-start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.monitor-heading h2 {
  color: #17212b;
  font-size: 1.45rem;
  font-weight: 760;
  margin: 0;
}

.monitor-refresh {
  color: #667085;
  text-align: right;
}

.monitor-refresh span,
.monitor-refresh strong {
  display: block;
}

.monitor-refresh strong {
  color: #17212b;
  font-size: 1.35rem;
}

.monitor-metrics {
  margin-top: 20px;
}

.monitor-reservation-count {
  background: #f4f7fa;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  color: #425466;
  font-size: .82rem;
  font-weight: 800;
  padding: 7px 10px;
}

.monitor-reservation-table td strong,
.monitor-reservation-table td small {
  display: block;
}

.monitor-reservation-table td small {
  color: #667085;
  font-size: .8rem;
  margin-top: 2px;
}

.monitor-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.monitor-card {
  background: #ffffff;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 32, 50, .06);
  display: grid;
  gap: 18px;
  min-height: 290px;
  padding: 20px;
}

.monitor-card.busy {
  border-color: #97c7ad;
}

.monitor-card-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.monitor-card-head span {
  color: #667085;
  display: block;
  font-size: .86rem;
}

.monitor-card-head strong {
  color: #17212b;
  display: block;
  font-size: 1.2rem;
}

.monitor-ticket {
  color: #17212b;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 850;
  line-height: .95;
}

.monitor-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.monitor-facts div {
  background: #f6f8fa;
  border: 1px solid #e7ecf1;
  border-radius: 8px;
  padding: 12px;
}

.monitor-facts dt {
  color: #667085;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.monitor-facts dd {
  color: #17212b;
  font-size: 1.02rem;
  font-weight: 760;
  margin: 0;
}

.monitor-empty {
  align-content: center;
  color: #667085;
  display: grid;
  gap: 6px;
  min-height: 170px;
}

.monitor-empty strong {
  color: #17212b;
  font-size: 1.6rem;
}

.status-idle {
  background: #eef1f4;
  color: #667085;
}

.settings-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.settings-tile {
  background: #ffffff;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(18, 32, 50, .06);
  color: inherit;
  display: grid;
  gap: 6px;
  min-height: 120px;
  padding: 20px;
  text-decoration: none;
}

.settings-tile:hover {
  border-color: #b9c8d6;
  color: inherit;
}

.settings-tile span {
  color: #667085;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.settings-tile strong {
  color: #17212b;
  font-size: 1.25rem;
}

.channel-settings-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.channel-setting-card {
  align-items: flex-start;
  background: #fbfaf6;
  border: 1px solid #e1d6c6;
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0;
  padding: 16px;
}

.channel-setting-card strong {
  color: #17212b;
  display: block;
  font-size: 1.04rem;
  margin-bottom: 4px;
}

.channel-setting-card small {
  color: #667085;
  display: block;
  line-height: 1.35;
}

.channel-setting-card .form-switch {
  flex: 0 0 auto;
  margin: 2px 0 0;
  min-height: auto;
  padding-left: 2.75em;
}

.setup-wizard-header {
  align-items: flex-start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.trial-badge {
  background: #eef7f1;
  border: 1px solid #cce7d3;
  border-radius: 8px;
  color: #1b5d32;
  display: grid;
  gap: 4px;
  max-width: 360px;
  padding: 14px 16px;
}

.trial-badge strong,
.trial-badge span {
  display: block;
}

.setup-wizard-form {
  display: grid;
  gap: 16px;
}

.setup-progress {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(220px, .45fr) minmax(240px, 1fr);
}

.setup-progress-copy {
  display: grid;
  gap: 3px;
}

.setup-progress-copy span,
.setup-progress-copy small {
  color: #667085;
}

.setup-progress-copy strong {
  color: #17212b;
  font-size: 1.1rem;
}

.setup-progress-track {
  background: #e8eef2;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.setup-progress-track span {
  background: #1f7a4d;
  display: block;
  height: 100%;
  transition: width .2s ease;
  width: 0;
}

.setup-skipped {
  opacity: .46;
  pointer-events: none;
}

.setup-personnel-list {
  display: grid;
  gap: 14px;
}

.setup-personnel-row {
  border: 1px solid #e1e7ec;
  border-radius: 8px;
  padding: 16px;
}

.personnel-row-heading {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
}

.personnel-row-heading strong {
  color: #17212b;
  font-size: 1.02rem;
}

.personnel-row-heading span,
.verification-status {
  color: #667085;
  font-size: .86rem;
}

.shortcut-grid,
.feature-note-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.shortcut-button {
  background: #f8fafb;
  border: 1px solid #dbe4ea;
  border-radius: 8px;
  color: inherit;
  display: grid;
  gap: 5px;
  padding: 16px;
  text-align: left;
}

.shortcut-button:hover,
.shortcut-button:focus {
  border-color: #8fb7a0;
  box-shadow: 0 0 0 3px rgba(31, 122, 77, .12);
}

.shortcut-button strong,
.feature-note strong {
  color: #17212b;
}

.shortcut-button span,
.feature-note span {
  color: #667085;
  font-size: .9rem;
  line-height: 1.35;
}

.sms-service-type-box {
  border: 1px solid #dbe4ea;
  border-radius: 8px;
  padding: 16px;
}

.sms-service-type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sms-service-type-option {
  align-items: center;
  background: #f8fafb;
  border: 1px solid #dbe4ea;
  border-radius: 8px;
  display: inline-flex;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
}

.feature-note {
  background: #f8fafb;
  border: 1px solid #dbe4ea;
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 16px;
}

.setup-navigation {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .setup-wizard-header,
  .setup-navigation {
    align-items: stretch;
    flex-direction: column;
  }

  .trial-badge {
    max-width: none;
  }

  .setup-progress {
    grid-template-columns: 1fr;
  }
}

.profile-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
}

.premium-profile-page .profile-hero .btn-outline-secondary {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(244, 234, 217, .38);
  color: rgba(244, 234, 217, .86);
  font-weight: 760;
}

.premium-profile-page .profile-hero .btn-outline-secondary:hover,
.premium-profile-page .profile-hero .btn-outline-secondary:focus {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(244, 234, 217, .58);
  color: #fff7e8;
}

.profile-hero-actions form {
  margin: 0;
}

.profile-metrics .premium-metric-tile {
  min-height: 112px;
}

.profile-metric-text {
  font-size: clamp(1.02rem, 1.5vw, 1.34rem) !important;
  line-height: 1.15 !important;
  overflow-wrap: anywhere;
}

.profile-identity {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.profile-identity p {
  color: #667085;
  margin: 4px 0 0;
}

.profile-avatar {
  align-items: center;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, .34), transparent 32%),
    linear-gradient(135deg, #17212b 0%, #2a3644 58%, #d5a950 100%);
  border: 1px solid rgba(218, 171, 72, .42);
  border-radius: 8px;
  box-shadow:
    0 16px 30px rgba(18, 32, 50, .2),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  color: #fff7e8;
  display: flex;
  flex: 0 0 auto;
  font-size: 1.35rem;
  font-weight: 860;
  height: 68px;
  justify-content: center;
  width: 68px;
}

.profile-summary-panel {
  align-content: start;
  display: grid;
  gap: 18px;
}

.profile-summary-panel h2 {
  color: #17212b;
  font-size: 1.7rem;
  font-weight: 780;
  margin: 0;
}

.profile-facts {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0;
}

.profile-facts div {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .86), rgba(246, 248, 250, .74));
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72);
  padding: 12px;
}

.profile-facts dt {
  color: #667085;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.profile-facts dd {
  color: #17212b;
  font-weight: 760;
  margin: 0;
}

.profile-reservation-heading {
  align-items: flex-end;
}

.profile-reservation-date-form {
  min-width: min(100%, 320px);
}

.profile-reservation-date-form .form-label {
  color: #667085;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.profile-reservation-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.profile-reservation-meta span {
  background: rgba(246, 248, 250, .86);
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 999px;
  color: #344054;
  font-size: .84rem;
  font-weight: 760;
  padding: 6px 10px;
}

.profile-slot-list {
  display: grid;
  gap: 10px;
}

.profile-slot-item {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .92), rgba(246, 248, 250, .78));
  border: 1px solid rgba(140, 100, 36, .18);
  border-left: 4px solid #98a2b3;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  min-height: 86px;
  padding: 12px 14px;
}

.profile-slot-available {
  border-left-color: #2f8f5b;
}

.profile-slot-reserved {
  border-left-color: #b7791f;
}

.profile-slot-blocked {
  border-left-color: #667085;
}

.profile-slot-closed {
  opacity: .72;
}

.profile-slot-time strong,
.profile-slot-time span,
.profile-slot-content strong,
.profile-slot-content small {
  display: block;
}

.profile-slot-time strong {
  color: #17212b;
  font-size: 1.12rem;
  line-height: 1.05;
}

.profile-slot-time span,
.profile-slot-content small {
  color: #667085;
  font-size: .88rem;
}

.profile-slot-content {
  min-width: 0;
}

.profile-slot-content .badge {
  margin-bottom: 6px;
}

.profile-slot-content strong,
.profile-slot-content small {
  overflow-wrap: anywhere;
}

.profile-slot-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.profile-slot-actions form {
  margin: 0;
}

.profile-service-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.profile-service-item {
  align-items: flex-start;
  background:
    linear-gradient(180deg, rgba(255, 252, 246, .88), rgba(246, 248, 250, .76));
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 8px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  min-height: 94px;
  padding: 14px;
}

.profile-service-item strong {
  display: block;
}

.profile-service-item strong {
  color: #17212b;
}

.profile-service-item > div:first-child span {
  color: #667085;
  display: block;
  font-size: .9rem;
  margin-top: 2px;
}

.profile-service-item .badge {
  display: inline-flex;
  font-weight: 760;
}

.app-help-bot {
  background: #ffffff;
  border: 1px solid rgba(140, 100, 36, .24);
  border-radius: 999px;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

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

.app-help-role-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.app-help-role-card {
  background: rgba(246, 248, 250, .88);
  border: 1px solid rgba(214, 223, 232, .92);
  border-radius: 8px;
  color: #17212b;
  display: grid;
  gap: 5px;
  padding: 16px;
  text-decoration: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.app-help-role-card:hover,
.app-help-role-card:focus {
  border-color: rgba(140, 100, 36, .42);
  box-shadow: 0 10px 24px rgba(18, 32, 50, .08);
  color: #17212b;
  transform: translateY(-1px);
}

.app-help-role-card span {
  color: #667085;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.app-help-role-card strong {
  font-size: 1rem;
}

.app-help-role-card small {
  color: #667085;
  line-height: 1.4;
}

.app-help-list {
  color: #4e5967;
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.1rem;
}

.app-help-support {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-help-support div {
  background: rgba(246, 248, 250, .82);
  border: 1px solid rgba(214, 223, 232, .88);
  border-radius: 8px;
  padding: 14px;
}

.app-help-support strong {
  color: #17212b;
  display: block;
  margin-bottom: 6px;
}

.app-help-support p {
  color: #596574;
  margin: 0;
}

.role-help-page {
  color: #18202a;
}

.role-help-intro {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.role-help-intro p {
  color: #596574;
  margin: 8px 0 0;
}

.role-help-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr);
}

.role-help-steps {
  counter-reset: help-step;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.role-help-steps li {
  align-items: flex-start;
  background: rgba(246, 248, 250, .82);
  border: 1px solid rgba(214, 223, 232, .88);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: 12px;
}

.role-help-steps span {
  align-items: center;
  background: #17212b;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.role-help-steps p {
  color: #4e5967;
  margin: 2px 0 0;
}

.role-help-map-panel {
  overflow: hidden;
}

.role-help-screen-map {
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  border: 1px solid rgba(214, 223, 232, .94);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 12px;
}

.role-help-map-area {
  background: #ffffff;
  border: 1px solid rgba(140, 100, 36, .24);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  min-height: 104px;
  padding: 12px;
}

.role-help-map-area-wide {
  grid-column: 1 / -1;
  min-height: 92px;
}

.role-help-map-area span {
  align-items: center;
  background: rgba(140, 100, 36, .13);
  border: 1px solid rgba(140, 100, 36, .24);
  border-radius: 999px;
  color: #6e4f1e;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 800;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.role-help-map-area strong {
  color: #17212b;
  font-size: .98rem;
}

.role-help-map-area small {
  color: #667085;
  line-height: 1.38;
}

.role-help-notes {
  display: grid;
  gap: 12px;
}

.role-help-notes p {
  background: rgba(246, 248, 250, .82);
  border: 1px solid rgba(214, 223, 232, .88);
  border-radius: 8px;
  color: #4e5967;
  margin: 0;
  padding: 12px 14px;
}

.mindbot-widget {
  bottom: 1rem;
  display: grid;
  gap: .65rem;
  justify-items: end;
  position: fixed;
  right: 1rem;
  z-index: 86;
}

.mindbot-widget [hidden] {
  display: none !important;
}

.mindbot-launcher {
  align-items: center;
  background:
    radial-gradient(circle at 16% 0%, rgba(218, 171, 72, .18), transparent 45%),
    linear-gradient(180deg, #0b1220 0%, #090a0d 100%);
  border: 1px solid rgba(218, 171, 72, .58);
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(18, 32, 50, .22), 0 0 20px rgba(218, 171, 72, .18);
  color: #f4ead9;
  cursor: pointer;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 850;
  gap: .5rem;
  min-height: 3.05rem;
  padding: .42rem .75rem .42rem .42rem;
  text-transform: uppercase;
}

.mindbot-launcher img,
.mindbot-panel-head img {
  background: #ffffff;
  border: 1px solid rgba(218, 171, 72, .46);
  border-radius: 999px;
  object-fit: cover;
}

.mindbot-launcher img {
  height: 2.2rem;
  width: 2.2rem;
}

.mindbot-panel {
  background: #fffaf1;
  border: 1px solid rgba(140, 100, 36, .32);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(18, 32, 50, .24);
  color: #17212b;
  max-width: calc(100vw - 2rem);
  padding: .85rem;
  width: 22rem;
}

.mindbot-panel-head {
  align-items: center;
  display: grid;
  gap: .65rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.mindbot-panel-head img {
  height: 2.55rem;
  width: 2.55rem;
}

.mindbot-panel-head strong,
.mindbot-panel-head span {
  display: block;
}

.mindbot-panel-head strong {
  color: #17212b;
  font-size: 1rem;
  font-weight: 850;
}

.mindbot-panel-head span {
  color: #8a6a35;
  font-size: .84rem;
  font-weight: 800;
}

.mindbot-close {
  align-items: center;
  background: rgba(20, 31, 48, .06);
  border: 1px solid rgba(140, 100, 36, .18);
  border-radius: 999px;
  color: #17212b;
  cursor: pointer;
  display: inline-flex;
  font-size: 1.25rem;
  height: 2rem;
  justify-content: center;
  line-height: 1;
  width: 2rem;
}

.mindbot-thread {
  display: grid;
  gap: .55rem;
  margin: .8rem 0;
  max-height: min(24rem, calc(100vh - 16rem));
  overflow-y: auto;
  padding-right: .2rem;
}

.mindbot-message {
  border: 1px solid rgba(140, 100, 36, .14);
  border-radius: 8px;
  color: #17212b;
  font-size: .9rem;
  line-height: 1.35;
  max-width: 88%;
  padding: .65rem .75rem;
  white-space: pre-wrap;
}

.mindbot-message-bot,
.mindbot-message-system {
  background: rgba(20, 31, 48, .05);
  justify-self: start;
}

.mindbot-message-user,
.mindbot-message-admin {
  background: rgba(218, 171, 72, .2);
  border-color: rgba(140, 100, 36, .2);
  justify-self: end;
}

.mindbot-message-admin {
  background: rgba(51, 105, 137, .14);
}

.mindbot-form {
  display: grid;
  gap: .5rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.mindbot-input {
  background: #ffffff;
  border: 1px solid rgba(140, 100, 36, .22);
  border-radius: 999px;
  color: #17212b;
  min-height: 2.5rem;
  outline: none;
  padding: .55rem .8rem;
}

.mindbot-input:focus {
  border-color: rgba(140, 100, 36, .46);
  box-shadow: 0 0 0 3px rgba(218, 171, 72, .16);
}

.mindbot-send {
  border-radius: 999px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 850;
  min-height: 2.5rem;
  padding: .55rem .8rem;
}

.mindbot-send {
  background: #d8ab48;
  border: 1px solid rgba(140, 100, 36, .28);
  color: #17120d;
}

.mindbot-status {
  color: #667085;
  font-size: .78rem;
  margin: .5rem 0 0;
  min-height: 1rem;
}

@media (max-width: 991.98px) {
  .premium-page-hero,
  .premium-operations-page .ops-hero {
    grid-template-columns: 1fr;
  }

  .premium-page-hero > .d-flex {
    justify-content: flex-start;
  }

  .premium-page-metrics,
  .premium-operations-page .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .premium-operations-page .operation-grid {
    grid-template-columns: 1fr;
  }

  .app-help-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .staff-edit-modal-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .staff-edit-status {
    grid-column: 1 / -1;
    justify-content: flex-start;
    max-width: none;
  }

  .staff-edit-grid {
    grid-template-columns: 1fr;
  }

  .customer-filter-form,
  .customer-type-info-grid {
    grid-template-columns: 1fr;
  }

  .billing-preview-row {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .top-menu-bar {
    padding: 7px 0;
  }

  .top-menu-inner {
    gap: 8px;
    grid-template-columns: minmax(92px, 1fr) auto minmax(92px, 1fr);
    min-height: 56px;
  }

  .top-menu-left {
    gap: 8px;
  }

  .brand-icon {
    height: 42px;
    width: 42px;
  }

  .hamburger-button {
    height: 40px;
    width: 40px;
  }

  .top-menu-actions {
    gap: 6px;
  }

  .top-icon-button {
    height: 40px;
    width: 40px;
  }

  .top-menu-slogan {
    height: 34px;
    max-width: 32vw;
  }

  .home-tile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-tile {
    min-height: 170px;
    padding: 18px;
  }

  .staff-item-heading,
  .panel-heading {
    display: grid;
  }

  .desk-assignment-row {
    grid-template-columns: 1fr;
  }

  .premium-desks-page .desk-assignment-row {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 14px;
  }

  .desk-assignment-status {
    justify-self: start;
    white-space: normal;
  }

  .desk-assignment-actions {
    display: grid;
  }

  .desk-assignment-actions .btn {
    width: 100%;
  }

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

  .profile-reservation-heading,
  .profile-slot-item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-slot-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .profile-slot-actions .btn,
  .profile-slot-actions form,
  .profile-slot-actions form .btn {
    width: 100%;
  }

  .profile-service-item {
    display: grid;
  }

  .app-help-grid,
  .app-help-role-grid,
  .app-help-support {
    grid-template-columns: 1fr;
  }

  .role-help-intro {
    align-items: stretch;
    display: grid;
  }

  .role-help-intro .btn {
    width: 100%;
  }

  .role-help-screen-map {
    grid-template-columns: 1fr;
  }

  .mindbot-widget {
    bottom: .75rem;
    right: .75rem;
  }

  .mindbot-launcher {
    min-height: 2.85rem;
    padding-right: .7rem;
  }

  .mindbot-launcher span {
    font-size: .72rem;
  }

  .mindbot-panel {
    width: min(22rem, calc(100vw - 1.5rem));
  }

  .premium-workspace {
    padding: 18px max(12px, calc((100vw - 1320px) / 2 + 12px)) 52px;
  }

  .premium-page-hero,
  .premium-operations-page .ops-hero {
    padding: 20px;
  }

  .billing-premium-page .surface-panel {
    padding: 18px;
  }

  .billing-selected-amount {
    justify-content: center;
    width: 100%;
  }

  .billing-preview-row .btn {
    width: 100%;
  }

  .premium-page-metrics,
  .premium-operations-page .metric-grid {
    gap: 10px;
  }

  .premium-metric-tile,
  .premium-operations-page .metric-tile {
    min-height: 92px;
    padding: 14px;
  }

  .staff-edit-modal .modal-dialog {
    margin: 6px auto;
    max-width: calc(100vw - 12px);
  }

  .staff-edit-modal-header {
    padding: 18px;
  }

  .staff-edit-modal-body {
    padding: 14px !important;
  }

  .staff-edit-section {
    padding: 14px;
  }

  .staff-edit-section-head {
    align-items: flex-start;
    display: grid;
    gap: 3px;
  }

  .staff-edit-header-meta span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .staff-edit-modal-footer {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .staff-edit-modal-footer .btn {
    width: 100%;
  }

  .customer-filter-actions,
  .customer-pagination-bar {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }
}
