
/* Pacioli Booking v3.7 — corporate dark theme
   Palette derived from the supplied Pacioli identity:
   graphite + turquoise / teal accents.
*/

:root {
  --p-bg: #08282d;
  --p-bg-deep: #061e23;
  --p-panel: #0c3338;
  --p-panel-2: #0f3d43;
  --p-panel-3: #12474b;
  --p-border: rgba(131, 211, 214, .16);
  --p-border-strong: rgba(30, 202, 205, .34);
  --p-text: #f2f9f9;
  --p-text-soft: #b6ccd0;
  --p-text-muted: #7d9fa4;
  --p-turquoise: #09b7ba;
  --p-turquoise-bright: #18d1d1;
  --p-teal: #00737a;
  --p-teal-deep: #00555e;
  --p-gray-logo: #5b5b5d;
  --p-ok: #2bd39f;
  --p-danger: #ff7f78;
  --p-warning: #f3c969;
}

html {
  background: var(--p-bg-deep);
}

body {
  min-height: 100vh;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  color: var(--p-text);
  background:
    linear-gradient(180deg, rgba(4, 31, 35, .97), rgba(5, 24, 29, .99)),
    #061e23;
}

a {
  color: #7de4e4;
}

a:hover {
  color: var(--p-turquoise-bright);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 31, 36, .96);
  border-bottom: 1px solid var(--p-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .20);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  gap: 24px;
}

.brand-with-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand-logo {
  width: 126px;
  height: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, .14);
}

.brand-with-logo .brand-sub {
  color: #c8d7db;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
}

.main-nav {
  margin-left: auto;
  gap: 5px;
}

.nav-link {
  color: #b8c8cc;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #dffeff;
  background: rgba(11, 174, 179, .12);
  border-color: rgba(23, 202, 205, .18);
}

.nav-link.active {
  color: var(--p-turquoise-bright);
}

.header-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  margin-left: 5px;
  border-left: 1px solid rgba(255,255,255,.12);
}

.header-user-avatar {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #dff;
  background: linear-gradient(145deg, #0d7d84, #075660);
  border: 1px solid rgba(50, 218, 219, .24);
  font-size: 12px;
  font-weight: 800;
}

.header-user-name {
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #d7e5e7;
  font-size: 12px;
}

.nav-logout-button:hover {
  color: #ffc2bf;
  background: rgba(255, 127, 120, .10);
  border-color: rgba(255, 127, 120, .14);
}

.page-shell {
  width: min(100% - 44px, 1500px);
  margin: 0 auto;
  padding-top: 30px;
  padding-bottom: 54px;
}

/* Typography */

h1, h2, h3 {
  color: #eef8f9;
}

h1 {
  letter-spacing: -.025em;
}

.muted,
small {
  color: var(--p-text-muted);
}

label {
  color: #b7c9cd;
}

/* Generic dark surfaces */

.card,
.table-wrap,
.booking-item,
.admin-item,
.workplace-admin-card,
.empty-card,
.empty-state,
.admin-create-grid,
.admin-booking-card,
.workplace-day-card,
.login-card {
  background: rgba(9, 39, 44, .92);
  border-color: var(--p-border);
  box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.table-wrap {
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
}

table th {
  color: #c9d9dc;
}

table td,
table th {
  border-bottom-color: rgba(148, 196, 202, .10);
}

.audit-table th,
.admin-table th {
  color: #bcd0d4;
  background: #092a2f;
  border-bottom-color: var(--p-border);
}

.audit-action,
code {
  color: #cfe2e5;
}

.booking-when {
  color: #9eb3b8;
}

/* Inputs */

input[type="date"],
input[type="email"],
input[type="text"],
input[type="number"],
input[type="password"],
select {
  color: #edf7f8;
  background: #0a2f35;
  border-color: rgba(151, 201, 206, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
}

input:focus,
select:focus {
  border-color: var(--p-turquoise);
  box-shadow: 0 0 0 3px rgba(9, 183, 186, .14);
}

select option {
  color: #e8f2f3;
  background: #0c3137;
}

button {
  color: #03282b;
  background: linear-gradient(180deg, #1bd0d0, #0db7ba);
  border-color: rgba(60, 236, 236, .35);
  box-shadow: 0 8px 18px rgba(0, 160, 164, .16);
}

button:hover {
  background: linear-gradient(180deg, #24dddd, #12c1c4);
}

.secondary {
  color: #c7d7da;
  background: #0b2026;
  border-color: rgba(153, 203, 209, .20);
}

.secondary:hover {
  color: #e7ffff;
  background: #0f2b31;
  border-color: var(--p-border-strong);
}

.danger-button {
  color: #ffaaa5;
  background: rgba(105, 24, 24, .14);
  border-color: rgba(255, 127, 120, .38);
}

.danger-button:hover {
  color: #ffd0cc;
  background: rgba(163, 41, 35, .20);
}

/* Alerts */

.alert.ok {
  color: #8cf0cb;
  background: rgba(14, 117, 83, .18);
  border-color: rgba(43, 211, 159, .28);
}

.alert.error {
  color: #ffb8b4;
  background: rgba(139, 41, 36, .17);
  border-color: rgba(255, 127, 120, .28);
}

/* Main landing */

.booking-start-v37 {
  display: grid;
  gap: 22px;
}

.hero-panel {
  position: relative;
  min-height: 270px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  overflow: hidden;
  border: 1px solid rgba(141, 220, 221, .20);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(3, 65, 72, .90) 0%, rgba(3, 65, 72, .78) 46%, rgba(3, 65, 72, .44) 100%),
    url("/static/pacioli_brand_bg.jpg") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}


.hero-copy {
  position: relative;
  z-index: 2;
  padding: 42px 44px;
}

.hero-kicker {
  margin-bottom: 15px;
  color: #a7d5d8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.05;
  font-weight: 800;
}

.hero-copy h1 span {
  color: var(--p-turquoise-bright);
}

.hero-copy p {
  max-width: 690px;
  margin: 22px 0 0;
  color: #d1e5e7;
  font-size: 17px;
  line-height: 1.65;
}

.hero-mark {
  position: relative;
  z-index: 1;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 36px 48px;
  background: linear-gradient(90deg, rgba(3,87,95,0), rgba(1,45,49,.10));
}

.hero-mark-ring { display: none; }

.hero-mark-word {
  color: rgba(240, 250, 250, .70);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: .05em;
}

.hero-mark-caption {
  width: 240px;
  margin-top: 18px;
  color: #b4d4d6;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .13em;
  text-align: right;
}

.booking-choice-grid-v37 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.booking-choice-card-v37 {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(132, 217, 219, .20);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(3, 59, 65, .88), rgba(5, 45, 50, .94)),
    url("/static/pacioli_brand_bg.jpg") center / cover no-repeat;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}


.booking-choice-card-v37:hover {
  transform: translateY(-3px);
  color: inherit;
  border-color: rgba(30, 211, 213, .36);
  box-shadow: 0 20px 40px rgba(0,0,0,.20), 0 0 0 1px rgba(20, 200, 202, .04);
}

.choice-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 22px;
  padding: 30px 30px 20px;
}

.booking-choice-icon-v37 {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(25, 214, 216, .17);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(6, 59, 65, .70), rgba(4, 40, 46, .72));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.booking-choice-icon-v37 svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: var(--p-turquoise-bright);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.choice-eyebrow {
  margin-bottom: 7px;
  color: #5f868c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.booking-choice-card-v37 h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.14;
}

.booking-choice-card-v37 p {
  max-width: 520px;
  margin: 0;
  color: #a9c0c4;
  line-height: 1.6;
}

.choice-footer {
  position: relative;
  z-index: 1;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 26px 16px 30px;
  border-top: 1px solid rgba(151, 205, 209, .10);
  color: #9db4b8;
  font-size: 13px;
}

.choice-arrow {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(28, 222, 222, .45);
  border-radius: 50%;
  color: var(--p-turquoise-bright);
  font-size: 22px;
}

.start-quick-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}

.quick-link-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "label arrow"
    "note arrow";
  align-items: center;
  gap: 4px 18px;
  padding: 16px 18px 16px 22px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--p-border);
  border-radius: 16px;
  background: rgba(8, 34, 39, .80);
}

.quick-link-card:hover {
  color: inherit;
  background: rgba(15, 76, 83, .92);
  border-color: rgba(30, 202, 205, .30);
}

.quick-link-label {
  grid-area: label;
  color: #dfecef;
  font-weight: 750;
}

.quick-link-note {
  grid-area: note;
  color: #718b91;
  font-size: 12px;
}

.quick-link-card .choice-arrow {
  grid-area: arrow;
  width: 34px;
  height: 34px;
  font-size: 18px;
}

/* Booking matrices */

.page-head {
  padding: 18px 20px;
  border: 1px solid var(--p-border);
  border-radius: 18px;
  background: rgba(11, 30, 36, .72);
}

.days-overview {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--p-border);
  border-radius: 18px;
  background: rgba(9, 26, 32, .62);
}

.day-card {
  color: #b6c8cc;
  background: #0c3137;
  border-color: rgba(145, 199, 204, .14);
}

.day-card:hover {
  color: #e4f8f9;
  border-color: rgba(22, 208, 210, .28);
  background: #102b32;
}

.day-selected {
  border-color: rgba(21, 216, 218, .48);
  box-shadow: 0 0 0 1px rgba(11, 188, 191, .18);
}

.load-track {
  background: #061519;
}

.load-fill {
  background: linear-gradient(90deg, var(--p-teal), var(--p-turquoise-bright));
}

.schedule-help,
.mobile-summary {
  color: #829da3;
}

.mobile-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(131, 211, 214, .12);
  border-radius: 16px;
  background: rgba(9, 39, 44, .92);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

.summary-legend span {
  color: #9eb9bd;
}

.schedule thead th,
.sticky-place,
.equipment-col {
  background: #0a1c22 !important;
}

.floor-row th,
.floor-row td {
  background: #135159 !important;
  color: #8bb2b7 !important;
}

.schedule td.free {
  background: rgba(72, 132, 118, .30);
}

.schedule td.free:hover,
.schedule td.free.clickable:hover {
  background: rgba(50, 168, 147, .38);
}

.schedule td.busy {
  background: rgba(117, 73, 73, .38);
}

.schedule td.inactive {
  background: rgba(22, 32, 36, .78);
}

.schedule td.selected {
  background: linear-gradient(180deg, #12d0d1, #08adb2) !important;
  box-shadow: inset 0 0 0 1px rgba(174,255,255,.30);
}

.bt-badge {
  color: #ffd995;
  background: rgba(146, 96, 19, .18);
  border-color: rgba(243, 201, 105, .26);
}

/* Admin */

.admin-view-tabs {
  background: #0b3439;
  border: 1px solid var(--p-border);
}

.admin-view-tab {
  color: #8ca4aa;
}

.admin-view-tab:hover {
  color: #dcebed;
  background: #12474e;
}

.admin-view-tab.active {
  color: #0b292c;
  background: linear-gradient(180deg, #1ed0d0, #10b6b9);
  box-shadow: 0 6px 16px rgba(0,160,165,.14);
}

.workplace-day-card.workplace-off,
.workplace-admin-card.workplace-off {
  background: #0a181d;
}

.workplace-day-free {
  color: #7ce8c0;
  background: rgba(15, 122, 86, .18);
}

/* Login */

.login-shell {
  margin-top: 8vh;
}

.login-card {
  border-radius: 20px;
}

/* Responsive */

@media (max-width: 1180px) {
  .header-user-name {
    display: none;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
  }

  .header-inner {
    gap: 10px;
  }

  .brand-logo {
    width: 110px;
  }

  .header-user {
    display: none;
  }

  .booking-choice-grid-v37,
  .start-quick-row {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 32px 28px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: calc(100% - 18px);
    margin: 0 auto;
  }

  .brand-divider {
    display: none;
  }

  .brand-with-logo .brand-sub {
    font-size: 12px;
  }

  .hero-panel {
    min-height: 0;
    border-radius: 18px;
  }

  .hero-copy {
    padding: 26px 20px;
  }

  .hero-copy h1 {
    font-size: 35px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .choice-content {
    grid-template-columns: 58px 1fr;
    gap: 15px;
    padding: 22px 18px 16px;
  }

  .booking-choice-icon-v37 {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  .booking-choice-icon-v37 svg {
    width: 31px;
    height: 31px;
  }

  .booking-choice-card-v37 {
    min-height: 230px;
    border-radius: 18px;
  }

  .choice-footer {
    padding-left: 18px;
  }
}


.start-choice-page .card, .resource-switch-card, .resource-card, .site-card {
  background: rgba(9, 39, 44, .92) !important;
  border-color: rgba(131, 211, 214, .16) !important;
  color: var(--p-text) !important;
}
.start-choice-page .card p, .resource-switch-card p, .resource-card p, .site-card p {
  color: #a9c0c4 !important;
}


/* v3.7.4 — darker cards for workplace site selection */
.booking-choice-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(131, 211, 214, .16);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(8, 42, 47, .96), rgba(6, 30, 35, .96));
  color: var(--p-text);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.booking-choice-card:hover {
  transform: translateY(-2px);
  color: var(--p-text);
  border-color: rgba(30, 202, 205, .30);
  background: linear-gradient(145deg, rgba(10, 51, 57, .96), rgba(7, 35, 41, .98));
  box-shadow: 0 18px 36px rgba(0,0,0,.18);
}

.booking-choice-card h2 {
  margin: 0 0 10px;
  color: var(--p-text);
}

.booking-choice-card p {
  color: #a9c0c4;
}

.booking-choice-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 28px;
  border: 1px solid rgba(25, 214, 216, .16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(6, 59, 65, .50), rgba(4, 40, 46, .56));
}

.booking-choice-action {
  margin-top: auto;
  padding-top: 22px;
  color: #9fcdd0;
}

.booking-start-footer .secondary-link {
  color: #9fe6ea;
}

.booking-start-footer .secondary-link:hover {
  color: #c3f4f6;
}


/* v3.7.5 — calmer booking grid */
.schedule-wrap,
.schedule {
  background: #052c31 !important;
}

.schedule thead th,
.sticky-place,
.equipment-col {
  color: #d8e5e7 !important;
  background: #062d33 !important;
  border-color: rgba(177, 220, 222, .14) !important;
}

.floor-row th,
.floor-row td {
  color: #b8d1d4 !important;
  background: #0b4a50 !important;
}

.schedule td,
.schedule th {
  border-color: rgba(224, 245, 246, .10) !important;
}

/* Free cells: no more pale mint / white contrast */
.schedule td.free {
  background: #245a56 !important;
}

.schedule td.free.clickable:hover,
.schedule td.free:hover {
  background: #307069 !important;
}

/* Busy stays distinct, but not aggressively red */
.schedule td.busy {
  background: #514347 !important;
}

/* Unavailable */
.schedule td.inactive {
  background: #223135 !important;
}

/* Selected remains the strongest state */
.schedule td.selected {
  background: linear-gradient(180deg, #1dc5ca, #0caab0) !important;
  box-shadow: inset 0 0 0 1px rgba(190, 255, 255, .22) !important;
}

/* Slightly calm the area label and helper text */
.schedule-help {
  color: #87a4a8 !important;
}

.bt-badge {
  color: #e6c57f !important;
  background: rgba(116, 82, 24, .32) !important;
  border-color: rgba(214, 178, 95, .24) !important;
}


/* ============================================================
   v3.8 — unified Pacioli corporate visual system
   ============================================================ */

:root {
  --u-page: #242829;
  --u-shell: #052f34;
  --u-panel: #073a40;
  --u-panel-2: #0a444a;
  --u-panel-3: #0e5157;
  --u-border: rgba(128, 207, 210, .18);
  --u-border-strong: rgba(25, 196, 201, .34);
  --u-text: #f2f7f7;
  --u-copy: #c7d8da;
  --u-muted: #8faeb2;
  --u-brand: #11c5ca;
  --u-brand-soft: #2bd0d4;
  --u-brand-deep: #03575f;
}

/* Global */
html {
  background: var(--u-page) !important;
}

body {
  color: var(--u-text) !important;
  background:
    linear-gradient(180deg, #242829 0%, #202526 100%) !important;
}

.page-shell {
  width: min(100% - 44px, 1500px) !important;
}

h1, h2, h3 {
  color: var(--u-text) !important;
}

.muted,
small {
  color: var(--u-muted) !important;
}

a {
  color: #83e7e9 !important;
}

a:hover {
  color: #c2f4f5 !important;
}

/* Header */
.site-header {
  background: rgba(5, 47, 52, .97) !important;
  border-bottom: 1px solid var(--u-border) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.20) !important;
}

.nav-link {
  color: #bdd0d3 !important;
}

.nav-link:hover,
.nav-link.active {
  color: #edffff !important;
  background: rgba(17, 197, 202, .12) !important;
  border-color: rgba(43, 208, 212, .18) !important;
}

.nav-link.active {
  color: var(--u-brand-soft) !important;
}

.header-user-name,
.brand-with-logo .brand-sub {
  color: #d7e5e7 !important;
}

/* Hero — match approved screenshot */
.hero-panel {
  max-width: 1040px !important;
  min-height: 470px !important;
  display: block !important;
  border: 1px solid rgba(140, 213, 215, .20) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background:
    linear-gradient(90deg, rgba(3,87,95,.95) 0%, rgba(3,87,95,.90) 39%, rgba(3,87,95,.30) 72%, rgba(3,87,95,.08) 100%),
    url("/static/pacioli_brand_bg.jpg") center right / cover no-repeat !important;
  box-shadow: 0 16px 38px rgba(0,0,0,.24) !important;
}

.hero-copy {
  max-width: 610px !important;
  padding: 38px 44px 42px !important;
}

.hero-kicker {
  color: #a8d7da !important;
  letter-spacing: .15em !important;
}

.hero-copy h1 {
  margin: 0 !important;
  font-size: clamp(44px, 5vw, 72px) !important;
  line-height: 1.02 !important;
  color: var(--u-text) !important;
}

.hero-copy h1 .hero-accent {
  color: var(--u-brand) !important;
}

.hero-copy p {
  max-width: 520px !important;
  margin-top: 22px !important;
  color: #eef6f6 !important;
  font-size: 17px !important;
  line-height: 1.62 !important;
}

.hero-mark {
  display: none !important;
}

/* Shared panel language */
.card,
.booking-item,
.booking-card,
.empty-card,
.empty-state,
.workplace-admin-card,
.workplace-day-card,
.admin-create-grid,
.admin-result-card,
.admin-edit-panel,
.user-create-panel,
.user-admin-summary,
.user-summary-item,
.booking-choice-card,
.booking-choice-card-v37,
.quick-link-card,
.days-overview,
.page-head,
.mobile-summary,
.table-wrap,
.login-card,
.booking-form {
  color: var(--u-text) !important;
  background:
    linear-gradient(145deg, rgba(7,58,64,.98), rgba(5,47,52,.99)) !important;
  border-color: var(--u-border) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.15) !important;
}

.booking-choice-card:hover,
.booking-choice-card-v37:hover,
.quick-link-card:hover,
.card:hover {
  border-color: var(--u-border-strong) !important;
}

.booking-choice-card h2,
.booking-choice-card-v37 h2,
.quick-link-label,
.booking-card strong {
  color: var(--u-text) !important;
}

.booking-choice-card p,
.booking-choice-card-v37 p,
.quick-link-note,
.choice-footer,
.booking-choice-action {
  color: #afc5c8 !important;
}

.booking-choice-icon,
.booking-choice-icon-v37 {
  background: rgba(3,87,95,.50) !important;
  border-color: rgba(43,208,212,.18) !important;
}

/* Inputs */
input[type="date"],
input[type="email"],
input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
  color: #edf7f8 !important;
  background: #082f34 !important;
  border-color: rgba(149,208,211,.22) !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--u-brand) !important;
  box-shadow: 0 0 0 3px rgba(17,197,202,.13) !important;
}

select option {
  color: #edf7f8 !important;
  background: #082f34 !important;
}

label {
  color: #c0d2d4 !important;
}

/* Buttons */
button,
.nav-button,
.quick-book-bar button {
  color: #062c30 !important;
  background: linear-gradient(180deg, #2bd0d4, #10b8bd) !important;
  border-color: rgba(83,231,233,.30) !important;
  box-shadow: 0 7px 16px rgba(0,130,135,.14) !important;
}

button:hover,
.nav-button:hover,
.quick-book-bar button:hover {
  background: linear-gradient(180deg, #3adadd, #17c1c6) !important;
}

.secondary {
  color: #c9dadd !important;
  background: #09373c !important;
  border-color: rgba(149,208,211,.20) !important;
}

.secondary:hover {
  color: #f2ffff !important;
  background: #0c444a !important;
}

/* Workplaces / rooms selection */
.workplace-site-grid .booking-choice-card,
.booking-choice-grid .booking-choice-card {
  background:
    linear-gradient(145deg, rgba(7,58,64,.98), rgba(5,47,52,.99)) !important;
}

.booking-start-footer .secondary-link {
  color: #8fe6e8 !important;
}

/* Booking matrices */
.schedule-wrap,
.schedule {
  background: #052f34 !important;
}

.schedule thead th,
.sticky-place,
.equipment-col {
  color: #d7e5e7 !important;
  background: #063239 !important;
  border-color: rgba(177,220,222,.14) !important;
}

.floor-row th,
.floor-row td {
  color: #b8d1d4 !important;
  background: #0a484e !important;
}

.schedule td,
.schedule th {
  border-color: rgba(224,245,246,.09) !important;
}

.schedule td.free {
  background: #245b57 !important;
}

.schedule td.free:hover,
.schedule td.free.clickable:hover {
  background: #30716a !important;
}

.schedule td.busy {
  background: #524548 !important;
}

.schedule td.inactive {
  background: #223135 !important;
}

.schedule td.selected {
  background: linear-gradient(180deg, #22cbd0, #0caab0) !important;
  box-shadow: inset 0 0 0 1px rgba(190,255,255,.22) !important;
}

.mobile-summary,
.schedule-help,
.days-overview {
  background: #073a40 !important;
}

.summary-legend span,
.schedule-help {
  color: #9cb8bc !important;
}

.day-card {
  color: #bfd2d5 !important;
  background: #08383e !important;
  border-color: rgba(149,208,211,.14) !important;
}

.day-card:hover,
.day-selected {
  background: #0a474d !important;
  border-color: rgba(43,208,212,.30) !important;
}

.load-track {
  background: #05262b !important;
}

.load-fill {
  background: linear-gradient(90deg, #057f87, #1bc4c9) !important;
}

/* Admin / users / audit */
.admin-view-tabs {
  background: #052f34 !important;
  border-color: var(--u-border) !important;
}

.admin-view-tab {
  color: #9fb8bc !important;
}

.admin-view-tab:hover {
  color: #e1f1f2 !important;
  background: #0a4248 !important;
}

.admin-view-tab.active {
  color: #053137 !important;
  background: linear-gradient(180deg, #25cbd0, #10b5bb) !important;
}

.audit-table,
.admin-table,
.user-admin-table {
  color: #d7e5e7 !important;
  background: #063239 !important;
}

.audit-table th,
.admin-table th,
.user-admin-table th {
  color: #cfe0e2 !important;
  background: #052f34 !important;
  border-color: var(--u-border) !important;
}

.audit-table td,
.admin-table td,
.user-admin-table td {
  color: #c4d5d7 !important;
  background: #073a40 !important;
  border-color: rgba(148,205,208,.11) !important;
}

.user-row-disabled td {
  background: #303b3e !important;
  color: #8fa0a3 !important;
}

.user-table-wrap {
  border-color: var(--u-border) !important;
  background: #052f34 !important;
}

.status-pill,
.current-user-badge {
  color: #bce8e9 !important;
  background: rgba(17,197,202,.12) !important;
  border-color: rgba(43,208,212,.18) !important;
}

/* Alerts */
.alert.ok {
  color: #a9eed2 !important;
  background: rgba(25,113,82,.30) !important;
  border-color: rgba(71,192,145,.25) !important;
}

.alert.error {
  color: #ffc2be !important;
  background: rgba(111,52,49,.30) !important;
  border-color: rgba(215,116,111,.26) !important;
}

.quick-book-bar {
  background: rgba(5,47,52,.97) !important;
  border-top-color: rgba(43,208,212,.20) !important;
}

/* Consistent radius */
.page-head,
.days-overview,
.mobile-summary,
.booking-form,
.card,
.table-wrap,
.booking-choice-card,
.booking-choice-card-v37 {
  border-radius: 18px !important;
}

@media (max-width: 900px) {
  .hero-panel {
    max-width: none !important;
    min-height: 390px !important;
    background-position: 65% center !important;
  }

  .hero-copy {
    max-width: 520px !important;
    padding: 30px 28px 34px !important;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 42px !important;
  }

  .hero-copy p {
    font-size: 14px !important;
  }
}


/* v3.8.1 — calmer hero proportions */
.hero-panel {
  min-height: 430px !important;
}

.hero-copy h1 {
  font-size: clamp(36px, 4.2vw, 58px) !important;
  line-height: 0.98 !important;
}

@media (max-width: 900px) {
  .hero-panel {
    min-height: 360px !important;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 6vw, 50px) !important;
  }
}

@media (max-width: 640px) {
  .hero-panel {
    min-height: 340px !important;
  }

  .hero-copy h1 {
    font-size: 36px !important;
    line-height: 1.0 !important;
  }
}


/* v3.8.4 — automatic admin filters */
.js-auto-filter.filter-loading {
  opacity: .72;
  pointer-events: none;
  transition: opacity .12s ease;
}

.js-auto-filter select,
.js-auto-filter input[type="date"] {
  cursor: pointer;
}


/* v3.8.6 — meeting-room conflict hint */
.room-conflict-note {
  line-height: 1.55;
}

.room-conflict-note strong {
  display: inline-block;
  margin-bottom: 4px;
}


/* v3.8.8 — admin-only recurring meeting-room bookings */
.admin-series-controls {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border: 1px solid rgba(126, 219, 210, .18);
  border-radius: 14px;
  background: rgba(4, 50, 55, .52);
}

.admin-series-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.admin-series-check input {
  width: auto;
}

.admin-series-note {
  margin-top: 6px;
}

#repeatUntilWrap {
  margin-top: 12px;
  max-width: 320px;
}

.series-summary-card {
  margin-bottom: 16px;
}

.series-summary-card p {
  line-height: 1.7;
}

.series-date-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.series-date-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.series-date-list span {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 10px;
  background: rgba(83, 190, 181, .12);
  border: 1px solid rgba(83, 190, 181, .18);
}

.series-date-list-conflict span {
  background: rgba(188, 114, 114, .12);
  border-color: rgba(188, 114, 114, .22);
}

.series-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

@media (max-width: 760px) {
  .series-date-columns {
    grid-template-columns: 1fr;
  }
}


/* v3.9.0 — 30-minute meeting-room grid */
.schedule .room-half-hour-head {
  min-width: 64px;
  font-size: 12px;
}

.schedule td[data-slot] {
  min-width: 64px;
}


/* v3.9.1 — admin entry point for recurring meeting-room bookings */
.booking-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.booking-form-head h2 {
  margin: 0;
}

.admin-series-entry-hint {
  grid-column: 1 / -1;
  margin: 0;
}


/* v3.9.4 — self-edit booking actions */
.booking-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.booking-card-actions form { margin: 0; }


/* v3.9.6 — compact two-line user name in header */
.header-user-name {
  max-width: 135px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.12;
}

.header-user-name > span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-with-logo .brand-sub {
  text-transform: none;
}


/* v3.9.7 — clearer two-level header for 30-minute meeting-room grid */
.room-schedule-head .room-name-head {
  vertical-align: middle;
  min-width: 150px;
  z-index: 5;
}

.room-hour-row .room-hour-group {
  min-width: 128px;
  padding: 9px 6px;
  text-align: center;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  color: #e7f5f6;
  background: rgba(4, 48, 54, .98);
  border-right: 2px solid rgba(142, 210, 214, .22);
  border-bottom: 1px solid rgba(142, 210, 214, .14);
}

.room-half-row .room-half-hour-head {
  min-width: 64px;
  padding: 7px 4px;
  text-align: center;
  font-size: 11px;
  font-weight: 650;
  color: #bdd0d3;
  background: rgba(5, 42, 48, .98);
}

.schedule .room-hour-boundary {
  border-right: 2px solid rgba(142, 210, 214, .22) !important;
}

.room-half-row th:not(.room-hour-boundary),
.schedule tbody td:not(.room-hour-boundary) {
  border-right-color: rgba(142, 210, 214, .08);
}


/* ============================================================
   v3.10.1 — responsive landing + light/dark theme system
   Dark palette follows the approved UI palette from testing.
   ============================================================ */

/* Landing: three first-class resources need real desktop width. */
.booking-start-v37 {
  width: 100%;
  max-width: 1180px !important;
  margin-left: auto;
  margin-right: auto;
}

.booking-start-v37 .hero-panel {
  width: 100%;
  max-width: none !important;
}

.booking-start-v37 .booking-choice-grid-v37 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.booking-start-v37 .booking-choice-card-v37 {
  min-width: 0;
}

.booking-start-v37 .choice-content {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  padding: 28px 24px 20px;
}

.booking-start-v37 .booking-choice-icon-v37 {
  width: 58px;
  height: 58px;
}

.booking-start-v37 .booking-choice-icon-v37 svg {
  width: 33px;
  height: 33px;
}

.booking-start-v37 .booking-choice-card-v37 h2 {
  font-size: clamp(22px, 2vw, 30px) !important;
  overflow-wrap: normal;
  word-break: normal;
}

.booking-start-v37 .booking-choice-card-v37 p {
  font-size: 14px;
}

.booking-start-v37 .choice-footer {
  padding-left: 24px;
}

@media (max-width: 1120px) {
  .booking-start-v37 {
    max-width: 900px !important;
  }

  .booking-start-v37 .booking-choice-grid-v37 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  .booking-start-v37 .booking-choice-grid-v37,
  .booking-start-v37 .start-quick-row {
    grid-template-columns: 1fr !important;
  }

  .booking-start-v37 .choice-content {
    grid-template-columns: 58px minmax(0, 1fr);
    padding: 22px 18px 16px;
  }
}

/* Theme toggle */
.theme-toggle {
  width: 38px;
  height: 38px;
  min-height: 38px;
  flex: 0 0 38px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px !important;
  box-shadow: none !important;
  cursor: pointer;
}

.theme-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-theme="dark"] .theme-icon-moon,
html[data-theme="light"] .theme-icon-sun {
  display: none;
}

/* ---------- DARK ----------
   Palette:
   page #08111E; header #101B2B; card #111D2C; nested #0E1928;
   input #111D2C; border #29384C; text #F1F5F9;
   secondary #A7B2C2; muted #7E8A9B; accent #3264D9.
*/
html[data-theme="dark"] {
  --u-page: #08111E;
  --u-shell: #101B2B;
  --u-panel: #111D2C;
  --u-panel-2: #0E1928;
  --u-panel-3: #16263A;
  --u-border: #29384C;
  --u-border-strong: #4B91FF;
  --u-text: #F1F5F9;
  --u-copy: #A7B2C2;
  --u-muted: #7E8A9B;
  --u-brand: #3264D9;
  --u-brand-soft: #4B91FF;
  --u-brand-deep: #16396B;

  --theme-bg: #08111E;
  --theme-header: #101B2B;
  --theme-card: #111D2C;
  --theme-nested: #0E1928;
  --theme-input: #111D2C;
  --theme-border: #29384C;
  --theme-divider: #314054;
  --theme-text: #F1F5F9;
  --theme-secondary: #A7B2C2;
  --theme-muted: #7E8A9B;
  --theme-accent: #3264D9;
  --theme-accent-hover: #3B73F0;
  --theme-link: #4B91FF;
  --theme-free: #194B37;
  --theme-free-strong: #0D4B35;
  --theme-free-text: #72E2A6;
  --theme-ok: #27D17F;
  --theme-busy: #7A373A;
  --theme-danger: #FF554D;
  --theme-info: #16396B;
  --theme-unavailable: #738096;
  --theme-scrollbar: #536174;
}

html[data-theme="dark"],
html[data-theme="dark"] body {
  color-scheme: dark;
  background: #08111E !important;
  color: #F1F5F9 !important;
}

html[data-theme="dark"] body {
  background: linear-gradient(180deg, #08111E 0%, #0A1421 100%) !important;
}

html[data-theme="dark"] .site-header {
  background: rgba(16, 27, 43, .97) !important;
  border-bottom-color: #29384C !important;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .admin-result-title,
html[data-theme="dark"] .booking-card strong,
html[data-theme="dark"] .quick-link-label {
  color: #F1F5F9 !important;
}

html[data-theme="dark"] .muted,
html[data-theme="dark"] small,
html[data-theme="dark"] .admin-result-meta,
html[data-theme="dark"] .booking-when,
html[data-theme="dark"] .quick-link-note {
  color: #7E8A9B !important;
}

html[data-theme="dark"] .admin-result-place,
html[data-theme="dark"] label,
html[data-theme="dark"] .choice-footer,
html[data-theme="dark"] .booking-choice-card-v37 p,
html[data-theme="dark"] .booking-choice-card p {
  color: #A7B2C2 !important;
}

html[data-theme="dark"] a {
  color: #4B91FF !important;
}

html[data-theme="dark"] a:hover {
  color: #79ACFF !important;
}

html[data-theme="dark"] .card,
html[data-theme="dark"] .booking-item,
html[data-theme="dark"] .booking-card,
html[data-theme="dark"] .empty-card,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .workplace-admin-card,
html[data-theme="dark"] .workplace-day-card,
html[data-theme="dark"] .admin-create-grid,
html[data-theme="dark"] .user-create-panel,
html[data-theme="dark"] .user-admin-summary,
html[data-theme="dark"] .user-summary-item,
html[data-theme="dark"] .booking-choice-card,
html[data-theme="dark"] .booking-choice-card-v37,
html[data-theme="dark"] .quick-link-card,
html[data-theme="dark"] .days-overview,
html[data-theme="dark"] .page-head,
html[data-theme="dark"] .mobile-summary,
html[data-theme="dark"] .table-wrap,
html[data-theme="dark"] .login-card,
html[data-theme="dark"] .booking-form,
html[data-theme="dark"] .admin-disclosure {
  color: #F1F5F9 !important;
  background: #111D2C !important;
  border-color: #29384C !important;
}

html[data-theme="dark"] .admin-result-card,
html[data-theme="dark"] .admin-edit-panel {
  color: #F1F5F9 !important;
  background: #0E1928 !important;
  border-color: #29384C !important;
}

html[data-theme="dark"] input[type="date"],
html[data-theme="dark"] input[type="email"],
html[data-theme="dark"] input[type="text"],
html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] input[type="password"],
html[data-theme="dark"] select,
html[data-theme="dark"] textarea {
  color: #F1F5F9 !important;
  background: #111D2C !important;
  border-color: #29384C !important;
}

html[data-theme="dark"] input:focus,
html[data-theme="dark"] select:focus,
html[data-theme="dark"] textarea:focus {
  border-color: #4B91FF !important;
  box-shadow: 0 0 0 3px rgba(75, 145, 255, .16) !important;
}

html[data-theme="dark"] select option {
  color: #F1F5F9 !important;
  background: #111D2C !important;
}

html[data-theme="dark"] button:not(.danger-button):not(.secondary):not(.nav-logout-button):not(.theme-toggle) {
  color: #FFFFFF !important;
  background: #3264D9 !important;
  border-color: #3264D9 !important;
}

html[data-theme="dark"] button:not(.danger-button):not(.secondary):not(.nav-logout-button):not(.theme-toggle):hover {
  background: #3B73F0 !important;
  border-color: #3B73F0 !important;
}

html[data-theme="dark"] .secondary {
  color: #F1F5F9 !important;
  background: #0E1928 !important;
  border-color: #29384C !important;
}

html[data-theme="dark"] .danger-button,
html[data-theme="dark"] .nav-link-logout {
  color: #FF756E !important;
}

html[data-theme="dark"] .theme-toggle {
  color: #A7B2C2 !important;
  background: #0E1928 !important;
  border: 1px solid #29384C !important;
}

html[data-theme="dark"] .theme-toggle:hover {
  color: #F1F5F9 !important;
  background: #16263A !important;
  border-color: #4B91FF !important;
}

html[data-theme="dark"] .schedule-wrap,
html[data-theme="dark"] .schedule {
  background: #0E1928 !important;
}

html[data-theme="dark"] .schedule thead th,
html[data-theme="dark"] .sticky-place,
html[data-theme="dark"] .equipment-col {
  color: #F1F5F9 !important;
  background: #101B2B !important;
  border-color: #314054 !important;
}

html[data-theme="dark"] .schedule td,
html[data-theme="dark"] .schedule th {
  border-color: #314054 !important;
}

html[data-theme="dark"] .schedule td.free {
  background: #194B37 !important;
}

html[data-theme="dark"] .schedule td.free:hover,
html[data-theme="dark"] .schedule td.free.clickable:hover {
  background: #236146 !important;
}

html[data-theme="dark"] .schedule td.busy {
  background: #7A373A !important;
}

html[data-theme="dark"] .schedule td.inactive {
  background: #273446 !important;
}

html[data-theme="dark"] .schedule td.selected {
  background: #3264D9 !important;
  box-shadow: inset 0 0 0 1px #4B91FF !important;
}

html[data-theme="dark"] .workplace-day-free {
  color: #72E2A6 !important;
  background: #0D4B35 !important;
}

html[data-theme="dark"] .audit-table,
html[data-theme="dark"] .admin-table,
html[data-theme="dark"] .user-admin-table {
  color: #F1F5F9 !important;
  background: #0E1928 !important;
}

html[data-theme="dark"] .audit-table th,
html[data-theme="dark"] .admin-table th,
html[data-theme="dark"] .user-admin-table th {
  color: #F1F5F9 !important;
  background: #101B2B !important;
  border-color: #314054 !important;
}

html[data-theme="dark"] .audit-table td,
html[data-theme="dark"] .admin-table td,
html[data-theme="dark"] .user-admin-table td {
  color: #A7B2C2 !important;
  background: #0E1928 !important;
  border-color: #314054 !important;
}

html[data-theme="dark"] .admin-view-tabs {
  background: #101B2B !important;
  border-color: #29384C !important;
}

html[data-theme="dark"] .admin-view-tab {
  color: #A7B2C2 !important;
}

html[data-theme="dark"] .admin-view-tab:hover {
  color: #F1F5F9 !important;
  background: #16263A !important;
}

html[data-theme="dark"] .admin-view-tab.active {
  color: #FFFFFF !important;
  background: #3264D9 !important;
}

html[data-theme="dark"] .alert.ok {
  color: #A4F0C8 !important;
  background: rgba(13, 75, 53, .72) !important;
  border-color: rgba(39, 209, 127, .42) !important;
}

html[data-theme="dark"] .alert.error {
  color: #FFD0CD !important;
  background: rgba(122, 55, 58, .72) !important;
  border-color: rgba(255, 85, 77, .42) !important;
}

html[data-theme="dark"] * {
  scrollbar-color: #536174 #0E1928;
}

/* Keep the branded hero intentionally stable in both themes. */
html[data-theme="dark"] .hero-panel,
html[data-theme="light"] .hero-panel {
  color: #F1F5F9 !important;
}

/* ---------- LIGHT ---------- */
html[data-theme="light"] {
  --u-page: #F4F6F8;
  --u-shell: #FFFFFF;
  --u-panel: #FFFFFF;
  --u-panel-2: #F8FAFC;
  --u-panel-3: #EEF3F8;
  --u-border: #D8DEE8;
  --u-border-strong: #4B91FF;
  --u-text: #172033;
  --u-copy: #526174;
  --u-muted: #7D8998;
  --u-brand: #3264D9;
  --u-brand-soft: #4B91FF;
  --u-brand-deep: #16396B;

  --theme-bg: #F4F6F8;
  --theme-header: #FFFFFF;
  --theme-card: #FFFFFF;
  --theme-nested: #F8FAFC;
  --theme-input: #FFFFFF;
  --theme-border: #D8DEE8;
  --theme-divider: #E1E6ED;
  --theme-text: #172033;
  --theme-secondary: #526174;
  --theme-muted: #7D8998;
  --theme-accent: #3264D9;
  --theme-accent-hover: #3B73F0;
  --theme-link: #245FCC;
  --theme-free: #E3F3EA;
  --theme-free-strong: #D7EFE2;
  --theme-free-text: #16784D;
  --theme-ok: #15945B;
  --theme-busy: #F4DADB;
  --theme-danger: #D6413A;
  --theme-info: #E7EFFB;
  --theme-unavailable: #E8ECF2;
  --theme-scrollbar: #A8B1BF;
}

html[data-theme="light"],
html[data-theme="light"] body {
  color-scheme: light;
  background: #F4F6F8 !important;
  color: #172033 !important;
}

html[data-theme="light"] body {
  background: linear-gradient(180deg, #F4F6F8 0%, #EEF2F6 100%) !important;
}

html[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, .97) !important;
  border-bottom-color: #D8DEE8 !important;
  box-shadow: 0 8px 24px rgba(23, 32, 51, .08) !important;
}

html[data-theme="light"] .brand-divider {
  background: #D8DEE8 !important;
}

html[data-theme="light"] .brand-with-logo .brand-sub,
html[data-theme="light"] .header-user-name {
  color: #526174 !important;
}

html[data-theme="light"] .nav-link {
  color: #526174 !important;
}

html[data-theme="light"] .nav-link:hover,
html[data-theme="light"] .nav-link.active {
  color: #245FCC !important;
  background: #EEF4FF !important;
  border-color: #D8E5FC !important;
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] .admin-result-title,
html[data-theme="light"] .booking-card strong,
html[data-theme="light"] .quick-link-label {
  color: #172033 !important;
}

html[data-theme="light"] .muted,
html[data-theme="light"] small,
html[data-theme="light"] .admin-result-meta,
html[data-theme="light"] .booking-when,
html[data-theme="light"] .quick-link-note {
  color: #7D8998 !important;
}

html[data-theme="light"] .admin-result-place,
html[data-theme="light"] label,
html[data-theme="light"] .choice-footer,
html[data-theme="light"] .booking-choice-card-v37 p,
html[data-theme="light"] .booking-choice-card p {
  color: #526174 !important;
}

html[data-theme="light"] a {
  color: #245FCC !important;
}

html[data-theme="light"] a:hover {
  color: #174EAE !important;
}

html[data-theme="light"] .card,
html[data-theme="light"] .booking-item,
html[data-theme="light"] .booking-card,
html[data-theme="light"] .empty-card,
html[data-theme="light"] .empty-state,
html[data-theme="light"] .workplace-admin-card,
html[data-theme="light"] .workplace-day-card,
html[data-theme="light"] .admin-create-grid,
html[data-theme="light"] .user-create-panel,
html[data-theme="light"] .user-admin-summary,
html[data-theme="light"] .user-summary-item,
html[data-theme="light"] .booking-choice-card,
html[data-theme="light"] .booking-choice-card-v37,
html[data-theme="light"] .quick-link-card,
html[data-theme="light"] .days-overview,
html[data-theme="light"] .page-head,
html[data-theme="light"] .mobile-summary,
html[data-theme="light"] .table-wrap,
html[data-theme="light"] .login-card,
html[data-theme="light"] .booking-form,
html[data-theme="light"] .admin-disclosure {
  color: #172033 !important;
  background: #FFFFFF !important;
  border-color: #D8DEE8 !important;
  box-shadow: 0 8px 24px rgba(23, 32, 51, .07) !important;
}

html[data-theme="light"] .admin-result-card,
html[data-theme="light"] .admin-edit-panel {
  color: #172033 !important;
  background: #F8FAFC !important;
  border-color: #D8DEE8 !important;
}

html[data-theme="light"] input[type="date"],
html[data-theme="light"] input[type="email"],
html[data-theme="light"] input[type="text"],
html[data-theme="light"] input[type="number"],
html[data-theme="light"] input[type="password"],
html[data-theme="light"] select,
html[data-theme="light"] textarea {
  color: #172033 !important;
  background: #FFFFFF !important;
  border-color: #D8DEE8 !important;
}

html[data-theme="light"] input:focus,
html[data-theme="light"] select:focus,
html[data-theme="light"] textarea:focus {
  border-color: #4B91FF !important;
  box-shadow: 0 0 0 3px rgba(75, 145, 255, .15) !important;
}

html[data-theme="light"] select option {
  color: #172033 !important;
  background: #FFFFFF !important;
}

html[data-theme="light"] button:not(.danger-button):not(.secondary):not(.nav-logout-button):not(.theme-toggle) {
  color: #FFFFFF !important;
  background: #3264D9 !important;
  border-color: #3264D9 !important;
}

html[data-theme="light"] button:not(.danger-button):not(.secondary):not(.nav-logout-button):not(.theme-toggle):hover {
  background: #3B73F0 !important;
  border-color: #3B73F0 !important;
}

html[data-theme="light"] .secondary {
  color: #172033 !important;
  background: #FFFFFF !important;
  border-color: #D8DEE8 !important;
}

html[data-theme="light"] .danger-button,
html[data-theme="light"] .nav-link-logout {
  color: #D6413A !important;
}

html[data-theme="light"] .theme-toggle {
  color: #526174 !important;
  background: #F8FAFC !important;
  border: 1px solid #D8DEE8 !important;
}

html[data-theme="light"] .theme-toggle:hover {
  color: #245FCC !important;
  background: #EEF4FF !important;
  border-color: #4B91FF !important;
}

html[data-theme="light"] .hero-copy h1,
html[data-theme="light"] .hero-copy p {
  color: #F1F5F9 !important;
}

html[data-theme="light"] .hero-copy h1 .hero-accent {
  color: #53D9DD !important;
}

html[data-theme="light"] .hero-kicker {
  color: #B9E7E8 !important;
}

html[data-theme="light"] .booking-choice-icon-v37,
html[data-theme="light"] .booking-choice-icon {
  background: #EEF4FF !important;
  border-color: #D8E5FC !important;
}

html[data-theme="light"] .booking-choice-icon-v37 svg {
  stroke: #3264D9 !important;
}

html[data-theme="light"] .choice-eyebrow {
  color: #7D8998 !important;
}

html[data-theme="light"] .choice-arrow {
  color: #3264D9 !important;
  border-color: #AFCBFA !important;
}

html[data-theme="light"] .schedule-wrap,
html[data-theme="light"] .schedule {
  background: #FFFFFF !important;
}

html[data-theme="light"] .schedule thead th,
html[data-theme="light"] .sticky-place,
html[data-theme="light"] .equipment-col {
  color: #172033 !important;
  background: #EEF3F8 !important;
  border-color: #D8DEE8 !important;
}

html[data-theme="light"] .floor-row th,
html[data-theme="light"] .floor-row td {
  color: #344054 !important;
  background: #DDE8F0 !important;
}

html[data-theme="light"] .schedule td,
html[data-theme="light"] .schedule th {
  border-color: #D8DEE8 !important;
}

html[data-theme="light"] .schedule td.free {
  background: #E3F3EA !important;
}

html[data-theme="light"] .schedule td.free:hover,
html[data-theme="light"] .schedule td.free.clickable:hover {
  background: #D1ECDD !important;
}

html[data-theme="light"] .schedule td.busy {
  background: #F4DADB !important;
}

html[data-theme="light"] .schedule td.inactive {
  background: #E8ECF2 !important;
}

html[data-theme="light"] .schedule td.selected {
  background: #3264D9 !important;
  box-shadow: inset 0 0 0 1px #4B91FF !important;
}

html[data-theme="light"] .workplace-day-free {
  color: #16784D !important;
  background: #E3F3EA !important;
}

html[data-theme="light"] .audit-table,
html[data-theme="light"] .admin-table,
html[data-theme="light"] .user-admin-table {
  color: #172033 !important;
  background: #FFFFFF !important;
}

html[data-theme="light"] .audit-table th,
html[data-theme="light"] .admin-table th,
html[data-theme="light"] .user-admin-table th {
  color: #344054 !important;
  background: #EEF3F8 !important;
  border-color: #D8DEE8 !important;
}

html[data-theme="light"] .audit-table td,
html[data-theme="light"] .admin-table td,
html[data-theme="light"] .user-admin-table td {
  color: #526174 !important;
  background: #FFFFFF !important;
  border-color: #E1E6ED !important;
}

html[data-theme="light"] .admin-view-tabs {
  background: #FFFFFF !important;
  border-color: #D8DEE8 !important;
}

html[data-theme="light"] .admin-view-tab {
  color: #526174 !important;
}

html[data-theme="light"] .admin-view-tab:hover {
  color: #245FCC !important;
  background: #EEF4FF !important;
}

html[data-theme="light"] .admin-view-tab.active {
  color: #FFFFFF !important;
  background: #3264D9 !important;
}

html[data-theme="light"] .alert.ok {
  color: #11653F !important;
  background: #E3F3EA !important;
  border-color: #B7DFC9 !important;
}

html[data-theme="light"] .alert.error {
  color: #9F2F2A !important;
  background: #FCE8E8 !important;
  border-color: #F0C2C0 !important;
}

html[data-theme="light"] * {
  scrollbar-color: #A8B1BF #EEF2F6;
}

/* Header spacing with the added theme toggle. */
.main-nav {
  align-items: center;
}

@media (max-width: 1180px) {
  .theme-toggle {
    margin-left: 2px;
  }
}

@media (max-width: 900px) {
  .theme-toggle {
    order: 90;
  }
}


/* ============================================================
   v3.10.3 — centered three-zone desktop header
   brand | navigation | user actions
   ============================================================ */

@media (min-width: 901px) {
  .header-inner {
    width: min(1500px, calc(100% - 44px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(245px, 1fr) auto minmax(245px, 1fr);
    align-items: center;
    gap: 18px;
  }

  .brand-with-logo {
    justify-self: start;
  }

  .main-nav {
    justify-self: center;
    margin-left: 0 !important;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 5px;
  }

  .header-actions {
    justify-self: end;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
  }

  .header-actions .header-user {
    margin-left: 0;
  }
}

/* On narrower desktop widths the centre navigation remains centred,
   while secondary action text is progressively compacted. */
@media (min-width: 901px) and (max-width: 1320px) {
  .header-inner {
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    gap: 10px;
  }

  .brand-logo {
    width: 108px;
  }

  .brand-with-logo {
    gap: 10px;
  }

  .brand-with-logo .brand-sub {
    font-size: 13px;
  }

  .main-nav {
    gap: 2px;
  }

  .nav-link {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }

  .header-actions {
    gap: 5px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    display: flex;
  }

  .header-actions {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
  }

  .header-actions .header-user {
    display: none;
  }

  .header-actions .nav-logout-form {
    flex: 0 0 auto;
  }
}


/* ============================================================
   v3.10.4 — adaptive landing cards + admin booking form layout
   ============================================================ */

/* The number of cards depends on user permissions. Do not force three
   columns: let the available width decide whether 3, 2 or 1 fit. */
.booking-start-v37 .booking-choice-grid-v37 {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)) !important;
  gap: 18px !important;
}

/* Three cards at a medium width become 2 + 1. The last card is centred,
   instead of looking accidentally stuck to the left. */
@media (min-width: 761px) and (max-width: 1120px) {
  .booking-start-v37 .booking-choice-card-v37:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 440px);
    justify-self: center;
  }
}

/* Two cards (for a user without meeting-room access) naturally occupy
   the whole row and remain visually balanced. */
@media (max-width: 760px) {
  .booking-start-v37 .booking-choice-grid-v37 {
    grid-template-columns: 1fr !important;
  }

  .booking-start-v37 .booking-choice-card-v37:last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
  }
}

/* Admin: create a booking for an employee.
   Desktop = two clean rows:
   employee | resource | date
   from     | to       | action
*/
.admin-disclosure-body .admin-create-grid {
  grid-template-columns:
    minmax(230px, 1.15fr)
    minmax(300px, 1.55fr)
    minmax(190px, .85fr) !important;
  gap: 14px 16px !important;
  align-items: end;
  width: 100%;
  min-width: 0;
}

.admin-create-grid > div {
  min-width: 0;
}

.admin-create-grid select,
.admin-create-grid input[type="date"] {
  width: 100%;
  min-width: 0;
}

.admin-create-user {
  grid-column: 1;
}

.admin-create-resource {
  grid-column: 2;
}

.admin-create-date {
  grid-column: 3;
}

.admin-create-start {
  grid-column: 1;
}

.admin-create-end {
  grid-column: 2;
}

.admin-create-submit {
  grid-column: 3;
  align-self: end;
}

.admin-create-submit button {
  width: 100%;
  min-height: 42px;
  white-space: nowrap;
}

.admin-create-grid .admin-series-entry-hint,
.admin-create-grid .admin-series-controls {
  grid-column: 1 / -1;
}

/* Medium screens: two columns; the resource selector gets a full row
   because its labels are usually the longest. */
@media (min-width: 701px) and (max-width: 1050px) {
  .admin-disclosure-body .admin-create-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .admin-create-user {
    grid-column: 1;
  }

  .admin-create-date {
    grid-column: 2;
  }

  .admin-create-resource {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .admin-create-start {
    grid-column: 1;
  }

  .admin-create-end {
    grid-column: 2;
  }

  .admin-create-submit {
    grid-column: 1 / -1;
  }

  .admin-create-submit button {
    width: auto;
    min-width: 190px;
    margin-left: auto;
  }
}

/* Mobile: one field per line, no clipped edges. */
@media (max-width: 700px) {
  .admin-disclosure-body .admin-create-grid {
    grid-template-columns: 1fr !important;
  }

  .admin-create-user,
  .admin-create-resource,
  .admin-create-date,
  .admin-create-start,
  .admin-create-end,
  .admin-create-submit {
    grid-column: 1 !important;
  }

  .admin-create-submit button {
    width: 100%;
  }
}


/* ============================================================
   v3.10.5 — Russian calendar/date picker
   Monday first, dd.mm.yyyy, independent of browser locale.
   ============================================================ */

.ru-date-picker {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.ru-date-display {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 9px 40px 9px 12px !important;
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  text-align: left;
  font: inherit;
  line-height: 1.2;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: none !important;
}

.ru-date-display-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ru-date-display.is-placeholder .ru-date-display-text {
  opacity: .65;
}

.ru-date-icon {
  position: absolute;
  right: 11px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
}

.ru-date-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ru-calendar {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 7px);
  left: 0;
  width: min(310px, calc(100vw - 28px));
  padding: 12px;
  border: 1px solid;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .25);
}

.ru-calendar[hidden] {
  display: none !important;
}

.ru-calendar-head {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.ru-calendar-title {
  text-align: center;
  font-size: 14px;
  font-weight: 750;
}

.ru-calendar-nav {
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  border-radius: 9px !important;
  font-size: 25px;
  line-height: 1;
  box-shadow: none !important;
}

.ru-calendar-nav:disabled {
  opacity: .28;
  cursor: default;
}

.ru-calendar-weekdays,
.ru-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.ru-calendar-weekdays {
  margin-bottom: 4px;
}

.ru-calendar-weekdays span {
  padding: 4px 0;
  text-align: center;
  font-size: 11px;
  font-weight: 750;
}

.ru-calendar-day {
  width: 100%;
  aspect-ratio: 1;
  min-height: 32px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center !important;
  border-radius: 9px !important;
  font-size: 12px;
  font-weight: 650;
  box-shadow: none !important;
}

.ru-calendar-day:disabled {
  opacity: .27;
  cursor: default;
}

.ru-calendar-day.today {
  box-shadow: inset 0 0 0 1px currentColor !important;
}

.ru-calendar-day.selected {
  font-weight: 800;
}

.ru-calendar-blank {
  aspect-ratio: 1;
}

/* Dark */
html[data-theme="dark"] .ru-date-display {
  color: #F1F5F9 !important;
  background: #111D2C !important;
  border: 1px solid #29384C !important;
}

html[data-theme="dark"] .ru-date-display:hover,
html[data-theme="dark"] .ru-date-display:focus-visible {
  background: #16263A !important;
  border-color: #4B91FF !important;
}

html[data-theme="dark"] .ru-calendar {
  color: #F1F5F9;
  background: #101B2B;
  border-color: #29384C;
}

html[data-theme="dark"] .ru-calendar-weekdays span {
  color: #A7B2C2;
}

html[data-theme="dark"] .ru-calendar-weekdays .weekend,
html[data-theme="dark"] .ru-calendar-day.weekend {
  color: #FF8B85 !important;
}

html[data-theme="dark"] .ru-calendar-day {
  color: #F1F5F9 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}

html[data-theme="dark"] .ru-calendar-day:hover:not(:disabled) {
  background: #16263A !important;
  border-color: #314054 !important;
}

html[data-theme="dark"] .ru-calendar-day.today {
  color: #72E2A6 !important;
}

html[data-theme="dark"] .ru-calendar-day.selected {
  color: #FFFFFF !important;
  background: #3264D9 !important;
  border-color: #4B91FF !important;
}

html[data-theme="dark"] .ru-calendar-nav {
  color: #A7B2C2 !important;
  background: #0E1928 !important;
  border: 1px solid #29384C !important;
}

html[data-theme="dark"] .ru-calendar-nav:hover:not(:disabled) {
  color: #F1F5F9 !important;
  background: #16263A !important;
  border-color: #4B91FF !important;
}

/* Light */
html[data-theme="light"] .ru-date-display {
  color: #172033 !important;
  background: #FFFFFF !important;
  border: 1px solid #D8DEE8 !important;
}

html[data-theme="light"] .ru-date-display:hover,
html[data-theme="light"] .ru-date-display:focus-visible {
  background: #F8FAFC !important;
  border-color: #4B91FF !important;
}

html[data-theme="light"] .ru-calendar {
  color: #172033;
  background: #FFFFFF;
  border-color: #D8DEE8;
  box-shadow: 0 18px 42px rgba(23, 32, 51, .16);
}

html[data-theme="light"] .ru-calendar-weekdays span {
  color: #526174;
}

html[data-theme="light"] .ru-calendar-weekdays .weekend,
html[data-theme="light"] .ru-calendar-day.weekend {
  color: #D6413A !important;
}

html[data-theme="light"] .ru-calendar-day {
  color: #172033 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
}

html[data-theme="light"] .ru-calendar-day:hover:not(:disabled) {
  background: #EEF4FF !important;
  border-color: #D8E5FC !important;
}

html[data-theme="light"] .ru-calendar-day.today {
  color: #16784D !important;
}

html[data-theme="light"] .ru-calendar-day.selected {
  color: #FFFFFF !important;
  background: #3264D9 !important;
  border-color: #4B91FF !important;
}

html[data-theme="light"] .ru-calendar-nav {
  color: #526174 !important;
  background: #F8FAFC !important;
  border: 1px solid #D8DEE8 !important;
}

html[data-theme="light"] .ru-calendar-nav:hover:not(:disabled) {
  color: #245FCC !important;
  background: #EEF4FF !important;
  border-color: #4B91FF !important;
}

/* Calendar inside narrow/right-hand form cells should not escape viewport. */
.admin-create-date .ru-calendar,
.admin-series-controls .ru-calendar {
  left: auto;
  right: 0;
}

@media (max-width: 700px) {
  .ru-calendar {
    left: 0;
    right: auto;
  }
}


/* ============================================================
   v3.11.0 — recurring series management
   ============================================================ */
.series-my-list {
  display: grid;
  gap: 16px;
  margin-bottom: 20px;
}

.my-series-card {
  padding: 20px;
}

.my-series-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.series-eyebrow {
  margin-bottom: 6px;
  color: var(--theme-link, #4B91FF);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.my-series-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.my-series-summary {
  color: var(--theme-secondary, #A7B2C2);
  font-size: 13px;
}

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

.my-series-actions form {
  margin: 0;
}

.my-series-details {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--theme-border, #29384C);
}

.my-series-details summary {
  cursor: pointer;
  color: var(--theme-secondary, #A7B2C2);
  font-size: 13px;
  font-weight: 700;
}

.my-series-bookings {
  margin-top: 12px;
}

.my-series-bookings .booking-item {
  box-shadow: none !important;
}

.standalone-bookings {
  margin-top: 20px;
}

.series-edit-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
}

.series-edit-note {
  margin-bottom: 18px;
  padding: 12px 14px;
  color: var(--theme-secondary, #A7B2C2);
  background: var(--theme-nested, #0E1928);
  border: 1px solid var(--theme-border, #29384C);
  border-radius: 10px;
  line-height: 1.5;
}

.series-edit-form {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) minmax(190px, .9fr) minmax(140px, .6fr) minmax(140px, .6fr);
  gap: 14px;
  align-items: end;
}

.series-edit-form > div {
  min-width: 0;
}

.series-edit-form select,
.series-edit-form input {
  width: 100%;
  min-width: 0;
}

.series-edit-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.series-edit-conflicts {
  max-width: 980px;
  margin: 0 auto 14px;
  padding: 16px;
}

.series-conflict-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.series-conflict-chips span {
  padding: 5px 8px;
  border: 1px solid var(--theme-border, #29384C);
  border-radius: 8px;
  font-size: 12px;
}

@media (max-width: 850px) {
  .my-series-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .my-series-actions {
    justify-content: flex-start;
  }
  .series-edit-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .series-edit-room {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .series-edit-form {
    grid-template-columns: 1fr;
  }
  .series-edit-room,
  .series-edit-submit {
    grid-column: 1;
  }
  .series-edit-submit button {
    width: 100%;
  }
}


/* ============================================================
   v3.11.2 — bugfix polish
   ============================================================ */

/* Admin tabs: match the rounded visual language used elsewhere. */
.admin-view-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px !important;
  border-radius: 14px !important;
  overflow: hidden;
}

.admin-view-tab {
  border-radius: 10px !important;
  border: 1px solid transparent;
}

html[data-theme="dark"] .admin-view-tabs {
  background: #101B2B !important;
  border: 1px solid #29384C !important;
}

html[data-theme="dark"] .admin-view-tab {
  color: #A7B2C2 !important;
  background: #0E1928 !important;
}

html[data-theme="dark"] .admin-view-tab:hover {
  color: #F1F5F9 !important;
  background: #16263A !important;
  border-color: #314054 !important;
}

html[data-theme="dark"] .admin-view-tab.active {
  color: #FFFFFF !important;
  background: #3264D9 !important;
  border-color: #4B91FF !important;
}

html[data-theme="light"] .admin-view-tabs {
  background: #FFFFFF !important;
  border: 1px solid #D8DEE8 !important;
}

html[data-theme="light"] .admin-view-tab {
  color: #526174 !important;
  background: #F8FAFC !important;
}

html[data-theme="light"] .admin-view-tab:hover {
  color: #245FCC !important;
  background: #EEF4FF !important;
  border-color: #D8E5FC !important;
}

html[data-theme="light"] .admin-view-tab.active {
  color: #FFFFFF !important;
  background: #3264D9 !important;
  border-color: #4B91FF !important;
}

@media (max-width: 700px) {
  .admin-view-tabs {
    display: flex;
    width: 100%;
  }

  .admin-view-tab {
    flex: 1 1 auto;
    text-align: center;
  }
}
