body {
  background: var(--rw-bg);
  color: var(--rw-text);
  font-family: var(--rw-font-family);
  margin: 0;
}

a {
  color: var(--rw-accent);
}
a:hover {
  color: var(--rw-accent-hover);
}

a:hover {
  text-decoration: underline;
}

.btn:hover,
.btn:focus,
.btn:active {
  text-decoration: none;
}

.rw-page-shell {
  min-height: calc(100vh - 72px);
}

.rw-has-public-footer {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.rw-has-public-footer .rw-page-shell {
  flex: 1 0 auto;
  min-height: 0;
}

.rw-container {
  max-width: var(--rw-container-width);
}

.rw-admin-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  min-height: 100vh;
}

.rw-admin-sidebar {
  background: linear-gradient(180deg, #ffffff 0%, #f9fbfc 100%);
  border-right: 1px solid var(--rw-border);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.4rem 1.15rem;
  position: sticky;
  top: 0;
  height: 100vh;
}

.rw-admin-sidebar-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 0;
  overflow-y: auto;
}

.rw-admin-sidebar-mobile-header {
  align-items: center;
  border-bottom: 1px solid var(--rw-border);
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.15rem 0.85rem;
}

.rw-admin-sidebar-mobile-lang {
  display: flex;
  justify-content: center;
  padding: 0.85rem 0.95rem 0;
}

.rw-admin-brand {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.35rem 0.45rem 0.85rem;
  width: 100%;
}

.rw-admin-brand-mark {
  display: block;
  text-decoration: none;
  width: 100%;
}

.rw-admin-brand-logo {
  display: block;
  height: auto;
  max-width: 300px;
  object-fit: contain;
  width: 100%;
}

.rw-admin-brand-subtitle {
  color: var(--rw-text-soft);
  font-size: 0.84rem;
  padding-left: 0.1rem;
}

.rw-admin-user {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 18px;
  box-shadow: var(--rw-shadow);
  padding: 1rem;
}

.rw-admin-user-label {
  color: var(--rw-text-soft);
  font-size: 0.78rem;
  margin-bottom: 0.35rem;
}

.rw-admin-user-name {
  font-size: 0.98rem;
  font-weight: 700;
}

.rw-admin-user-profile-label {
  margin-top: 0.55rem;
}

.rw-admin-user-company {
  color: var(--rw-text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
}

.rw-admin-user-email {
  color: var(--rw-text-soft);
  font-size: 0.84rem;
  margin-top: 0.2rem;
  word-break: break-word;
}

.rw-admin-section-title {
  color: var(--rw-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 0.45rem;
  text-transform: uppercase;
}

.rw-admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rw-admin-nav-link,
.rw-admin-logout {
  align-items: center;
  border-radius: 14px;
  color: var(--rw-text);
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.rw-admin-nav-link:hover,
.rw-admin-logout:hover {
  background: rgba(0, 110, 134, 0.08);
  color: var(--rw-accent);
  text-decoration: none;
}

.rw-admin-nav-link.is-active {
  background: rgba(0, 110, 134, 0.12);
  color: var(--rw-accent);
  font-weight: 700;
}

.rw-admin-nav-icon {
  align-items: center;
  color: currentColor;
  display: inline-flex;
  flex: 0 0 auto;
  height: 18px;
  justify-content: center;
  width: 18px;
}

.rw-admin-nav-icon svg {
  display: block;
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 18px;
}

.rw-admin-nav-icon svg path,
.rw-admin-nav-icon svg circle,
.rw-admin-nav-icon svg rect,
.rw-admin-nav-icon svg line,
.rw-admin-nav-icon svg polyline {
  vector-effect: non-scaling-stroke;
}

.rw-admin-sidebar-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--rw-border);
}

.rw-admin-nav-group > summary {
  cursor: pointer;
  list-style: none;
}

.rw-admin-nav-group > summary::-webkit-details-marker { display: none; }
.rw-admin-nav-group > summary::after {
  content: '';
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  width: 7px;
  height: 7px;
  margin-left: auto;
  flex-shrink: 0;
  transform: rotate(45deg);
}
.rw-admin-nav-group[open] > summary::after { transform: rotate(225deg); }
.rw-admin-subnav {
  border-left: 1px solid var(--rw-border);
  margin: 0.35rem 0 0.5rem 1.5rem;
  padding-left: 0.35rem;
}
.rw-admin-subnav .rw-admin-nav-link { font-size: 0.9rem; padding: 0.7rem; }
.rw-admin-subnav .rw-admin-nav-icon { display: none; }
.rw-topbar-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--rw-border);
  border-radius: 12px;
  padding: 0.65rem 0.8rem;
  background: var(--rw-surface);
  color: var(--rw-text);
}
.rw-topbar-nav-button:hover, .rw-topbar-nav-button.is-active {
  background: rgba(0, 110, 134, 0.08);
  color: var(--rw-accent);
}
.rw-topbar-nav-label { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rw-account-icon { width: 18px; height: 18px; flex-shrink: 0; }
.rw-account-menu { border-color: var(--rw-border); border-radius: 12px; padding: 0.5rem; box-shadow: var(--rw-shadow); }
.rw-account-menu .dropdown-item { border-radius: 8px; padding: 0.65rem 0.8rem; }
.rw-account-menu .dropdown-item.active,
.rw-account-menu .dropdown-item:active,
.rw-account-menu .dropdown-item:hover,
.rw-account-menu .dropdown-item:focus {
  background: var(--rw-accent-hover);
  color: #fff;
}
.rw-account-menu .dropdown-header { color: var(--rw-text-soft); }
.rw-admin-mobile-secondary { margin-top: 0.5rem; }
.rw-admin-nav-link:focus-visible, .rw-topbar-nav-button:focus-visible {
  outline: 2px solid var(--rw-accent);
  outline-offset: -2px;
}

.rw-admin-main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

.rw-admin-main > .rw-page-shell {
  flex: 1 0 auto;
  min-height: 0;
}

.rw-admin-main-inner {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 2rem;
}

.rw-admin-content {
  padding: 1.7rem 0 2.2rem;
}

.rw-panel-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rw-admin-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.3fr 0.9fr;
}

.rw-booking-create-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.rw-bookings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.rw-bookings-header > div {
  flex: 1 1 0;
  min-width: 0;
}

.rw-bookings-header > .btn {
  flex-shrink: 0;
}

.rw-bookings-create-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 767.98px) {
  .rw-bookings-header > div {
    flex-basis: 100%;
  }

  .rw-bookings-header > .btn {
    width: 100%;
    justify-content: center;
  }
}

.rw-admin-grid--superadmin {
  grid-template-columns: 1.15fr 0.85fr;
}

.rw-stat-card {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 20px;
  box-shadow: var(--rw-shadow);
  padding: 1.35rem 1.4rem;
}

.rw-stat-card-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rw-stat-card-label {
  color: var(--rw-text-soft);
  font-size: 0.82rem;
  font-weight: 600;
}

.rw-stat-card-pill {
  background: rgba(0, 110, 134, 0.12);
  border-radius: 999px;
  color: var(--rw-accent);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
}

.rw-stat-card-pill--soft {
  background: rgba(0, 110, 134, 0.08);
}

.rw-stat-card-value {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.45rem;
}

.rw-stat-card-text {
  color: var(--rw-text-soft);
  font-size: 0.92rem;
}

.rw-card {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: var(--rw-radius);
  box-shadow: var(--rw-shadow);
  padding: 2rem;
}

.rw-kicker {
  color: var(--rw-accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.rw-input {
  background: var(--rw-surface-alt);
  border: 1px solid var(--rw-border);
  border-radius: 14px;
  color: var(--rw-text);
  padding: 0.85rem 1rem;
}

.rw-input:-webkit-autofill,
.rw-input:-webkit-autofill:hover,
.rw-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--rw-surface-alt) inset;
  -webkit-text-fill-color: var(--rw-text);
  border: 1px solid var(--rw-border);
  transition: background-color 9999s ease-out 0s;
}

.rw-password-field {
  position: relative;
}

.rw-password-field-input {
  padding-right: 3.5rem;
}

.rw-password-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--rw-text-soft);
  display: inline-flex;
  height: 100%;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 1rem;
  top: 0;
  width: 2rem;
}

.rw-password-toggle:hover {
  color: var(--rw-accent);
}

.rw-password-toggle svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 20px;
}

.rw-btn-primary {
  background: var(--rw-accent);
  border: 1px solid var(--rw-accent);
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
}

.rw-btn-primary:hover {
  background: var(--rw-accent-hover);
  border-color: var(--rw-accent-hover);
  color: #fff;
}

.rw-btn-secondary {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 0.5rem;
  color: var(--rw-text);
  font-weight: 500;
  padding: 0.5rem 0.95rem;
}

.rw-btn-secondary:hover {
  background: var(--rw-surface-alt);
  color: var(--rw-text);
}

.rw-feature-list {
  margin: 0;
  padding-left: 1.15rem;
}

.rw-feature-list li + li {
  margin-top: 0.7rem;
}

.rw-admin-profiles {
  display: grid;
  gap: 1.5rem;
}

.rw-admin-profile-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid var(--rw-border);
  border-radius: 20px;
  padding: 1.5rem;
}

.rw-admin-profile-header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.rw-admin-profile-meta {
  color: var(--rw-text-soft);
  font-size: 0.9rem;
}

.rw-badge {
  background: rgba(0, 110, 134, 0.12);
  border-radius: 999px;
  color: var(--rw-accent);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  white-space: nowrap;
}

.rw-badge--muted {
  background: rgba(31, 41, 51, 0.08);
  color: var(--rw-text-soft);
}

.rw-checkbox {
  align-items: center;
  display: inline-flex;
  gap: 0.6rem;
}

.rw-checkbox input {
  accent-color: var(--rw-accent);
}

.rw-module-group-title {
  color: var(--rw-text);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.rw-module-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rw-checkbox--module {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.rw-admin-profile-actions,
.rw-admin-profile-provision,
.rw-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rw-table-wrap {
  border: 1px solid var(--rw-border);
  border-radius: 18px;
  overflow-x: auto;
  overflow-y: hidden;
}

.rw-table {
  margin-bottom: 0;
  min-width: 1080px;
}

.rw-table thead th {
  background: #f9fbfc;
  border-bottom-width: 1px;
  color: var(--rw-text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1rem 1.1rem;
  text-transform: uppercase;
}

.rw-table td {
  padding: 1rem 1.1rem;
  vertical-align: middle;
}

.rw-table-title {
  font-weight: 700;
}

.rw-table-subtitle {
  color: var(--rw-text-soft);
  font-size: 0.86rem;
  margin-top: 0.2rem;
}

.rw-table-actions .btn {
  white-space: nowrap;
}

.rw-table--companies {
  table-layout: fixed;
}

.rw-table-cell-company {
  min-width: 220px;
}

.rw-table-cell-domain {
  min-width: 130px;
}

.rw-table-cell-database {
  min-width: 260px;
  word-break: break-word;
}

.rw-table-cell-admin {
  min-width: 260px;
}

.rw-table-cell-actions {
  min-width: 220px;
}

.rw-table-cell-actions .rw-table-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.rw-action-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: flex-start;
}

.rw-action-form {
  margin: 0;
  width: 100%;
}

.rw-action-link,
.rw-action-button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--rw-accent);
  display: inline-flex;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.rw-action-button {
  cursor: pointer;
}

.rw-action-link:hover,
.rw-action-link:focus,
.rw-action-button:hover,
.rw-action-button:focus {
  color: var(--rw-accent-hover);
  text-decoration: none;
}

.rw-action-button.is-danger,
.rw-action-link.is-danger {
  color: #a45151;
}

.rw-action-button.is-danger:hover,
.rw-action-link.is-danger:hover,
.rw-action-button.is-danger:focus,
.rw-action-link.is-danger:focus {
  color: #8f3f3f;
}

.rw-action-icon {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  height: 16px;
  justify-content: center;
  width: 16px;
}

.rw-action-icon svg {
  display: block;
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 16px;
}

.rw-module-grid {
  display: grid;
  gap: 0.8rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.rw-checkbox--module {
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
}

.rw-admin-profile-actions {
  margin-top: 1.2rem;
}

.rw-admin-profile-provision {
  margin-top: 0.9rem;
}

.rw-topbar {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rw-border);
}

.rw-topbar--admin {
  position: sticky;
  top: 0;
  z-index: 5;
}

.rw-topbar-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.rw-admin-menu-toggle {
  align-items: center;
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 14px;
  color: var(--rw-text);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
}

.rw-admin-menu-toggle:hover {
  background: rgba(0, 110, 134, 0.08);
  color: var(--rw-accent);
}

.rw-admin-menu-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.rw-admin-menu-toggle-icon span {
  background: currentColor;
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 18px;
}

.rw-topbar-brand {
  align-items: center;
  color: var(--rw-text);
  display: inline-flex;
  text-decoration: none;
}

.rw-topbar-brand:hover {
  color: var(--rw-text);
  text-decoration: none;
}

.rw-topbar-brand-logo {
  display: block;
  height: auto;
  max-width: 300px;
  object-fit: contain;
  width: 100%;
}

.rw-topbar-actions {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.rw-admin-footer {
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid var(--rw-border);
  margin-top: auto;
}

.rw-admin-footer-inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 0.95rem 0 1.05rem;
}

.rw-admin-footer-spacer {
  flex: 1 1 auto;
}

.rw-admin-footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: flex-end;
  margin-left: auto;
}

.rw-admin-footer-links a {
  color: var(--rw-text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.rw-admin-footer-links a:hover {
  color: var(--rw-accent-strong);
}

.rw-public-footer {
  background: rgba(255, 255, 255, 0.82);
  border-top: 1px solid var(--rw-border);
  margin-top: auto;
}

.rw-public-footer-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: 1rem 0 1.15rem;
}

.rw-public-footer-brand .rw-topbar-brand-logo {
  max-width: 240px;
}

.rw-public-footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.5rem;
  justify-content: flex-end;
}

.rw-public-footer-links a {
  color: var(--rw-text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.rw-public-footer-links a:hover {
  color: var(--rw-accent-strong);
}

.rw-topbar-label {
  color: var(--rw-text-soft);
  font-size: 0.9rem;
}

.rw-help-text {
  color: var(--rw-text-soft);
  font-size: 0.84rem;
  margin-top: 0.45rem;
}

.rw-lang-switch {
  align-items: center;
  background: var(--rw-surface);
  border: 1px solid var(--rw-border);
  border-radius: 999px;
  display: inline-flex;
  padding: 0.2rem;
}

.rw-lang-switch a {
  border-radius: 999px;
  color: var(--rw-text-soft);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  text-decoration: none;
}

.rw-lang-switch a.is-active {
  background: var(--rw-accent);
  color: #fff;
}

@media (max-width: 767.98px) {
  .rw-topbar-inner {
    gap: 0.75rem;
  }

  .rw-topbar-actions {
    justify-content: flex-end;
    margin-left: auto;
  }

  .rw-topbar-brand-logo {
    max-width: 220px;
  }

  .rw-admin-footer-inner {
    justify-content: flex-end;
  }

  .rw-admin-footer-links {
    justify-content: flex-end;
  }

  .rw-public-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .rw-public-footer-links {
    align-items: flex-start;
    justify-content: flex-start;
  }
}

.rw-chart-placeholder {
  background:
    linear-gradient(180deg, rgba(0, 110, 134, 0.05) 0%, rgba(0, 110, 134, 0.01) 100%),
    #fff;
  border: 1px solid rgba(0, 110, 134, 0.07);
  border-radius: 20px;
  height: 340px;
  overflow: hidden;
  position: relative;
}

.rw-chart-grid {
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
  background-size: 70px 70px;
  inset: 0;
  position: absolute;
}

.rw-chart-line {
  border-radius: 999px;
  height: 4px;
  left: 6%;
  position: absolute;
  width: 88%;
}

.rw-chart-line--primary {
  background: linear-gradient(90deg, rgba(0, 110, 134, 0.1) 0%, var(--rw-accent) 30%, rgba(0, 110, 134, 0.4) 100%);
  clip-path: polygon(0% 79%, 7% 67%, 15% 71%, 23% 55%, 31% 63%, 40% 32%, 48% 44%, 56% 30%, 65% 37%, 73% 18%, 82% 27%, 91% 21%, 100% 25%, 100% 100%, 0 100%);
  bottom: 72px;
}

.rw-chart-line--secondary {
  background: linear-gradient(90deg, rgba(0, 110, 134, 0.05) 0%, rgba(0, 110, 134, 0.45) 45%, rgba(0, 110, 134, 0.18) 100%);
  clip-path: polygon(0% 84%, 7% 74%, 15% 78%, 23% 64%, 31% 69%, 40% 41%, 48% 55%, 56% 44%, 65% 51%, 73% 29%, 82% 39%, 91% 33%, 100% 38%, 100% 100%, 0 100%);
  bottom: 118px;
  opacity: 0.62;
}

@media (max-width: 1199.98px) {
  .rw-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 991.98px) {
  .rw-admin-layout {
    grid-template-columns: 1fr;
  }

  .rw-admin-sidebar {
    height: 100vh;
    max-width: 320px;
    padding: 0 0 1.4rem;
    position: fixed;
  }

  .rw-admin-sidebar-scroll {
    overflow-y: auto;
    padding-bottom: 0.25rem;
  }

  .rw-admin-main-inner {
    padding: 0 1.15rem;
  }

  .rw-admin-main {
    min-height: 0;
    padding-top: 0;
  }

  .rw-admin-brand {
    padding: 0.35rem 1.15rem 0.85rem;
  }

  .rw-topbar--admin {
    position: sticky;
    top: 0;
  }

  .rw-panel-grid {
    grid-template-columns: 1fr;
  }
}
.rw-guide-steps {
  padding-left: 1.75rem;
  margin-bottom: 0;
}

.rw-guide-steps > li {
  padding: 0 0 1.5rem 0.5rem;
}

.rw-guide-steps > li:last-child {
  padding-bottom: 0;
}

.rw-guide-steps > li::marker {
  font-weight: 700;
}

.rw-guide-faq {
  padding: 1rem 0;
  border-top: 1px solid #dfe5ec;
}

.rw-guide-faq summary {
  cursor: pointer;
  font-weight: 600;
}

.rw-guide-faq summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 4px;
}

#first-steps,
#faq {
  scroll-margin-top: 6rem;
}


/* Shared compact button geometry; language switches keep their own styling. */
.btn,
.rw-widget-button {
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 0.5rem 0.95rem;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn.btn-sm {
  padding: 0.4rem 0.75rem;
}

.btn.rw-btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--rw-accent);
  --bs-btn-border-color: var(--rw-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--rw-accent-hover);
  --bs-btn-hover-border-color: var(--rw-accent-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--rw-accent-hover);
  --bs-btn-active-border-color: var(--rw-accent-hover);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--rw-accent);
  --bs-btn-disabled-border-color: var(--rw-accent);
}

.btn.rw-btn-secondary,
.btn.btn-outline-secondary,
.rw-widget-button--secondary {
  background: transparent;
  border-color: var(--rw-border);
  color: var(--rw-accent);
  --bs-btn-active-bg: var(--rw-surface-alt);
  --bs-btn-active-color: var(--rw-accent-hover);
  --bs-btn-active-border-color: var(--rw-accent);
}

.btn.rw-btn-secondary:hover,
.btn.rw-btn-secondary:focus-visible,
.btn.btn-outline-secondary:hover,
.btn.btn-outline-secondary:focus-visible,
.rw-widget-button--secondary:hover,
.rw-widget-button--secondary:focus-visible {
  background: var(--rw-surface-alt);
  border-color: var(--rw-accent);
  color: var(--rw-accent-hover);
  text-decoration: none;
}

.btn.rw-btn-primary:hover,
.btn.rw-btn-primary:focus-visible,
.rw-widget-button:not(.rw-widget-button--secondary):hover,
.rw-widget-button:not(.rw-widget-button--secondary):focus-visible {
  background: var(--rw-accent-hover);
  border-color: var(--rw-accent-hover);
  color: #fff;
}

.btn:focus-visible,
.rw-widget-button:focus-visible {
  outline: 2px solid var(--rw-accent);
  outline-offset: 3px;
}

.rw-widget-button:disabled {
  cursor: default;
  opacity: 0.65;
  pointer-events: none;
}

.rw-topbar-nav-button,
.rw-admin-menu-toggle,
.rw-password-toggle,
.btn-close {
  border-radius: 0.5rem;
  transition: background-color 160ms ease, color 160ms ease;
}

.rw-topbar-nav-button {
  padding: 0.5rem 0.75rem;
}

.rw-action-link,
.rw-action-button {
  border-radius: 0.5rem;
  transition: color 160ms ease;
}

.rw-action-link:focus-visible,
.rw-action-button:focus-visible,
.rw-admin-menu-toggle:focus-visible,
.rw-password-toggle:focus-visible {
  outline: 2px solid var(--rw-accent);
  outline-offset: 3px;
}

.btn-close:hover,
.btn-close:focus-visible {
  background-color: var(--rw-surface-alt);
  opacity: 1;
}

/* Destructive actions use the transparent variant with a red cue. */
.btn.btn-danger,
.btn.btn-outline-danger {
  background: transparent;
  border-color: #dabbbb;
  color: #a45151;
}

.btn.btn-danger:hover,
.btn.btn-danger:focus-visible,
.btn.btn-outline-danger:hover,
.btn.btn-outline-danger:focus-visible {
  background: #f9eeee;
  border-color: #a45151;
  color: #8f3f3f;
}

/* Client booking: weekly availability, with native keyboard-accessible radios. */
.rw-client-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.6rem;
}
.rw-client-day {
  min-width: 0;
  border: 1px solid var(--rw-border);
  border-radius: 0.65rem;
  padding: 0.6rem;
}
.rw-client-day.is-today { border-color: var(--rw-accent); }
.rw-client-day-heading { text-align: center; line-height: 1.5; }
.rw-client-day-slots { display: flex; flex-direction: column; gap: 0.5rem; }
.rw-client-slot { width: 100%; padding: 0.5rem 0.15rem; font-size: 0.8rem; }
.btn-check:checked + .rw-client-slot {
  background: var(--rw-accent);
  border-color: var(--rw-accent);
  color: #fff;
}
.btn-check:focus-visible + .rw-client-slot { outline: 2px solid var(--rw-accent); outline-offset: 2px; }
@media (max-width: 767.98px) {
  .rw-client-week { grid-template-columns: 1fr; }
  .rw-client-day-heading { text-align: left; }
  .rw-client-day-slots { display: grid; grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
}

.rw-staff-name { display:inline-flex; align-items:center; gap:.45rem; }
.rw-staff-color { display:inline-block; width:11px; height:11px; flex:0 0 11px; border-radius:2px; border:1px solid #0002; }
