.dash {
  --dash-ink: #152840;
  --dash-muted: #526579;
  --dash-line: #dce5ec;
  --dash-side: #111e30;
  --dash-accent: #1b5974;
  --dash-sidebar-width: 226px;
  min-height: 100dvh;
  background: #edf2f6;
  color: var(--dash-ink);
  font-family: var(--font-sans), system-ui, sans-serif;
  font-size: .9rem;
}

.dash [hidden] { display: none !important; }
.dash :focus-visible { outline: 2px solid #2181a2; outline-offset: 3px; }
.dash-skip { position: fixed; z-index: 20; top: 8px; left: 8px; padding: 8px 12px; background: white; transform: translateY(-150%); }
.dash-skip:focus { transform: translateY(0); }
.dash-sidebar {
  position: fixed; z-index: 10; inset: 0 auto 0 0; width: var(--dash-sidebar-width);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  background: linear-gradient(165deg, #172c41 0, var(--dash-side) 28%, #0c1928 100%);
  border-right: 1px solid #263d51; color: #d9e3ed;
}
.dash-brand { display: flex; align-items: center; gap: 10px; height: 66px; padding: 0 15px; border-bottom: 1px solid #ffffff14; }
.dash-brand img { object-fit: contain; }
.dash-brand span, .dash-sidebar-footer div { display: grid; min-width: 0; }
.dash-brand b { letter-spacing: .15em; color: #f5f8fc; font-size: 1.01rem; }
.dash-brand small, .dash-sidebar-footer small { color: #aabace; font-size: .72rem; }
.dash-nav { overflow-y: auto; overscroll-behavior: contain; padding: 12px 10px; scrollbar-width: thin; }
.dash-nav :is(a, summary) { display: flex; align-items: center; min-height: 38px; border: 1px solid transparent; border-radius: 7px; padding: 6px 10px; }
.dash-nav a:hover, .dash-nav summary:hover { background: #ffffff10; color: #fff; }
.dash-nav a[aria-current="page"] { color: #fff; border-color: #69c4e539; background: #34658055; box-shadow: inset 2px 0 #83d2e6; }
.dash-nav details { margin-top: 5px; }
.dash-nav summary { justify-content: space-between; list-style: none; cursor: pointer; color: #d0deeb; font-weight: 650; }
.dash-nav summary::-webkit-details-marker { display: none; }
.dash-nav summary span { width: 7px; height: 7px; border: solid #9eb4c9; border-width: 0 1.5px 1.5px 0; rotate: 45deg; margin-right: 4px; }
.dash-nav details[open] summary span { rotate: 225deg; }
.dash-nav-links { display: grid; padding: 2px 0 3px 8px; margin-left: 12px; border-left: 1px solid #ffffff20; gap: 2px; }
.dash-nav-links a { min-height: 35px; font-size: .84rem; }
.dash-overview { font-weight: 650; }
.dash-nav > .dash-overview:last-child { margin-top: 12px; color: #b7c8da; font-size: .8rem; }
.dash-sidebar-footer {
  display: grid; grid-template-columns: 31px minmax(0, 1fr) auto; align-items: center; gap: 7px;
  padding: 12px 10px; border-top: 1px solid #ffffff16;
}
.dash-sidebar-footer strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .79rem; }
.dash-sidebar-footer button { padding: 5px 3px; font-size: .72rem; color: #f0d7b6; }
.dash-sidebar-footer button:hover { text-decoration: underline; }
.dash-avatar { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: #e5f6ff; background: #436581; font-weight: 700; }
.dash-workspace { margin-left: var(--dash-sidebar-width); min-width: 0; }
.dash-top {
  position: sticky; z-index: 5; top: 0; min-height: 60px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  padding: 8px 22px; background: #fbfdfff5; backdrop-filter: blur(12px); border-bottom: 1px solid var(--dash-line);
}
.dash-top h1 { margin-right: auto; font-size: clamp(1.13rem, 2.2vw, 1.51rem); letter-spacing: -.025em; font-weight: 700; }
.dash-menu-toggle, .dash-menu-close { display: none; }
.dash-main { max-width: 1560px; padding: 18px 22px 24px; }
.dash-description { margin-bottom: 13px; color: var(--dash-muted); line-height: 1.5; }
.dash-flash { margin-bottom: 13px; padding: 10px 12px; border: 1px solid #b5dccd; border-radius: 8px; background: #e4f6ee; color: #225847; }
.dash-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.dash-metric {
  --tone: #5584ac;
  display: grid; align-content: start; gap: 6px; min-width: 0; padding: 11px 12px 12px;
  border: 1px solid var(--dash-line); border-top: 2px solid var(--tone); border-radius: 10px; background: #fff;
  box-shadow: 0 2px 5px #163c5610;
}
.dash-metric[data-tone="teal"] { --tone: #3a9687; }
.dash-metric[data-tone="amber"] { --tone: #bd8644; }
.dash-metric[data-tone="violet"] { --tone: #8e75ba; }
.dash-metric[data-tone="rose"] { --tone: #b26775; }
a.dash-metric:hover { background: #fbfdff; box-shadow: 0 2px 9px #163c5620; }
.dash-metric span { color: var(--dash-muted); font-weight: 575; font-size: .8rem; }
.dash-metric strong { font-size: clamp(1.13rem, 2.3vw, 1.78rem); font-variant-numeric: tabular-nums; letter-spacing: -.03em; overflow-wrap: anywhere; }
.dash-overview-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(190px, 1fr); align-items: start; gap: 14px; }
.dash-panel { min-width: 0; border: 1px solid var(--dash-line); border-radius: 10px; background: #fff; box-shadow: 0 3px 9px #19344c09; }
.dash-panel + .dash-panel { margin-top: 14px; }
.dash-overview-grid .dash-panel { margin-top: 0; }
.dash-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; }
.dash-panel-head h2 { font-size: .98rem; letter-spacing: -.01em; font-weight: 680; }
.dash-panel-head a { font-size: .79rem; color: var(--dash-accent); font-weight: 650; white-space: nowrap; }
.dash-panel-head a:hover, .dash-table-link:hover { text-decoration: underline; }
.dash-status-list { margin: 0; }
.dash-status-list div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 13px; border-top: 1px solid var(--dash-line); }
.dash-status-list dt { display: flex; align-items: center; gap: 7px; color: var(--dash-muted); }
.dash-status-list dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.dash-dot { width: 8px; height: 8px; border-radius: 50%; background: #698297; }
.dash-dot[data-tone="success"] { background: #37977d; }
.dash-dot[data-tone="pending"] { background: #ad7a34; }
.dash-dot[data-tone="danger"] { background: #b45c68; }
.dash-table-wrap { overflow: auto; }
.dash-table { width: 100%; border-collapse: collapse; text-align: left; }
.dash-table th, .dash-table td { padding: 8px 12px; border-top: 1px solid var(--dash-line); vertical-align: middle; }
.dash-table th { background: #f1f5f9; color: #465e74; font-size: .73rem; font-weight: 675; white-space: nowrap; }
.dash-table td { font-size: .81rem; }
.dash-table td strong, .dash-table-link { font-weight: 675; }
.dash-table td small { display: block; max-width: 25ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .68rem; color: var(--dash-muted); margin-top: 2px; }
.dash-table tbody tr:hover { background: #f8fbfd; }
.dash-table-link { color: var(--dash-accent); white-space: nowrap; }
.dash-nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; }
.dash-muted { color: var(--dash-muted); }
.dash-status { display: inline-flex; padding: 3px 7px; border-radius: 5px; color: #445a70; background: #eaf0f5; font-size: .72rem; font-weight: 650; white-space: nowrap; }
.dash-status[data-tone="success"] { color: #1b5b4a; background: #e3f3ed; }
.dash-status[data-tone="pending"] { color: #795116; background: #fbefd5; }
.dash-status[data-tone="danger"] { color: #8c3140; background: #fbe9ed; }
.dash-button, .dash-menu-toggle {
  display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; min-height: 35px;
  border-radius: 7px; border: 1px solid #cedae5; color: #2e465d; background: #fff;
  font-size: .79rem; font-weight: 670; white-space: nowrap; cursor: pointer;
}
.dash-menu-toggle { display: none; }
.dash-button:hover, .dash-menu-toggle:hover { background: #edf5f9; }
.dash-primary { color: #fff; border-color: #1b546e; background: #205a75; }
.dash-primary:hover { background: #194b61; }
.dash-danger { color: #fff; border-color: #8e3041; background: #a74053; }
.dash-danger:hover { background: #8e3041; }
.dash-text-danger { color: #9c384b; }
.dash-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; padding: 10px 12px; }
.dash-filters label, .dash-field, .dash-login label { display: grid; gap: 4px; color: #425870; font-size: .8rem; font-weight: 580; }
.dash input:not([type="checkbox"]), .dash select {
  width: 100%; max-width: 100%; min-height: 35px; padding: 6px 9px;
  border-radius: 7px; border: 1px solid #c7d5e0; color: var(--dash-ink); background: #fcfdff;
}
.dash-filters input { width: min(250px, 65vw); }
.dash-row-actions summary { color: var(--dash-accent); cursor: pointer; white-space: nowrap; font-weight: 650; }
.dash-row-actions div { display: grid; justify-items: start; gap: 5px; padding: 6px 0 2px 10px; }
.dash-row-actions :is(a, button):hover { text-decoration: underline; }
.dash-pagination { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 12px; border-top: 1px solid var(--dash-line); color: var(--dash-muted); font-size: .78rem; }
.dash-empty { padding: 17px 13px; color: var(--dash-muted); font-size: .84rem; }
.dash-form-panel { max-width: 550px; padding: 15px; }
.dash-form { display: grid; gap: 11px; }
.dash-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dash-help { color: var(--dash-muted); font-size: .75rem; font-weight: 400; }
.dash-help ul { list-style: disc; margin-left: 16px; }
.dash-error { color: #913247; font-size: .79rem; }
.dash-check { display: flex; flex-direction: row-reverse; justify-content: start; align-items: baseline; gap: 8px; }
.dash-check input { flex: 0 0 auto; accent-color: var(--dash-accent); }
.dash-booking-card .dash-panel-head h2 { font-size: 1.3rem; }
.dash-booking-card .dash-panel-head p { color: var(--dash-muted); font-size: .75rem; overflow-wrap: anywhere; }
.dash-booking-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; gap: 6px 10px; padding: 0 13px 10px; }
.dash-booking-details div { padding: 8px 0 0; border-top: 1px solid var(--dash-line); }
.dash-booking-details dt { font-size: .74rem; color: var(--dash-muted); }
.dash-booking-details dd { font-weight: 625; overflow-wrap: anywhere; }
.dash-full { grid-column: 1/-1; }
.dash-range { display: flex; align-items: center; gap: 6px; }
.dash-range select { min-width: 126px; }
.dash-chart-scroll { overflow: auto; padding: 2px 13px 0; }
.dash-bars { display: grid; grid-template-columns: repeat(var(--days), minmax(12px, 1fr)); gap: 4px; min-width: calc(var(--days) * 16px); }
.dash-bar-col { display: grid; grid-template-rows: 130px 22px; min-width: 0; }
.dash-bar-col small { font-size: .66rem; color: var(--dash-muted); white-space: nowrap; }
.dash-bar-hit {
  position: relative; display: flex; align-items: end; justify-content: center;
  background: repeating-linear-gradient(to top, #e1eaf2 0 1px, transparent 1px 25%); border: 0; cursor: default;
}
.dash-bar-hit .dash-bar { width: 76%; max-width: 31px; height: var(--bar); background: linear-gradient(#46a1aa, #245b78); border-radius: 4px 4px 0 0; }
.dash-bar-hit:is(:hover, :focus-visible) .dash-bar { background: #2a8099; }
.dash-bar-tip { visibility: hidden; z-index: 2; position: absolute; top: 4px; left: 0; width: max-content; white-space: nowrap; padding: 4px 6px; border-radius: 5px; background: #14283f; color: #fff; font-size: .72rem; }
.dash-bar-col:nth-last-child(-n+5) .dash-bar-tip { left: auto; right: 0; }
.dash-bar-hit:is(:hover, :focus-visible) .dash-bar-tip { visibility: visible; }
.dash-report-values { padding: 7px 13px 11px; }
.dash-report-values summary { cursor: pointer; color: var(--dash-accent); font-size: .79rem; }
.dash-report-values .dash-table-wrap { max-height: 230px; margin-top: 6px; }
.dash-login {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 100svh;
  background: #faf8f4;
}
.dash-login-panel {
  display: grid; place-items: center; padding: clamp(24px, 5vw, 72px);
  background: radial-gradient(ellipse at 5% 0%, #fffdf9, transparent 70%);
}
.dash-login-card { width: min(100%, 418px); }
.dash-login-brand {
  display: inline-flex; align-items: center; gap: 11px; margin-bottom: clamp(22px, 4vw, 38px);
  color: #172a3d; letter-spacing: .18em; font-size: .94rem; font-weight: 750;
}
.dash-login-brand img { object-fit: contain; padding: 3px 4px; background: #142638; border-radius: 8px; }
.dash-login h1 {
  font-family: var(--font-display), Georgia, serif; font-size: clamp(2.4rem, 3.65vw, 3.65rem);
  line-height: .96; letter-spacing: -.038em; font-weight: 630; color: #152840;
}
.dash-login-card .dash-auth-intro { margin: 10px 0 24px; color: #475b70; line-height: 1.55; }
.dash-login-card .dash-form { gap: 14px; }
.dash-login-card input:not([type="checkbox"]):not([type="hidden"]) { min-height: 45px; background: #fff; border-color: #bac8d0; }
.dash-login-card .dash-primary { min-height: 45px; background: #172a3d; border-color: #172a3d; font-size: .88rem; }
.dash-login-card .dash-primary:hover { background: #24465b; border-color: #24465b; }
.dash-login-card .dash-error { color: #913247; }
.dash-login-card > .dash-error { margin-block: 12px; }
.dash-login-card .dash-auth-switch { margin: 17px 0 0; font-size: .84rem; color: #475b70; }
.dash-auth-switch a { color: #24465b; font-weight: 680; text-decoration: underline; text-underline-offset: 3px; }
.dash-signup-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 19px; }
.dash-signup-fields > .dash-field { grid-column: 1 / -1; }
.dash-signup-fields > .dash-name-field { grid-column: auto; }
.dash-auth-art { position: relative; isolation: isolate; display: flex; align-items: end; min-width: 0; background: #182b3d; overflow: hidden; }
.dash-auth-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.dash-auth-art::after {
  position: absolute; inset: 0; content: ""; pointer-events: none;
  background: linear-gradient(0deg, #091724df, #101e2c70 24%, transparent 57%);
}
.dash-auth-caption {
  position: relative; z-index: 1; padding: clamp(24px, 5vw, 68px);
  max-width: 18ch; box-sizing: content-box; color: #fff6e8;
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(2.15rem, 4vw, 4.65rem); line-height: .98; letter-spacing: -.028em; font-weight: 530;
  text-wrap: balance; text-shadow: 0 2px 20px #00000078;
}
.dash-auth-caption::before { content: ""; display: block; width: 35px; height: 1px; margin-bottom: 13px; background: #e7c89b; }
.dash-backdrop { display: none; }
@media (max-width: 820px) {
  .dash-login { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .dash-auth-art { grid-row: 1; min-height: clamp(185px, 32svh, 290px); }
  .dash-auth-art img { object-position: center 44%; }
  .dash-auth-caption { max-width: none; padding: 18px 22px; font-size: clamp(1.7rem, 6vw, 2.8rem); }
  .dash-auth-caption::before { margin-bottom: 8px; width: 25px; }
  .dash-login-panel { place-items: start center; padding: 20px clamp(14px, 5vw, 38px) 25px; }
  .dash-login-brand { margin-bottom: 15px; }
  .dash-login-card .dash-auth-intro { margin: 7px 0 16px; }
  .dash-login-card .dash-form { gap: 11px; }
  .dash-signup-fields { margin-top: 13px; }
}
@media (max-width: 1180px) {
  .dash-overview-grid { grid-template-columns: 1fr; }
  .dash-top, .dash-main { padding-inline: 14px; }
}
@media (max-width: 800px) {
  .dash-sidebar { visibility: hidden; transform: translateX(-100%); transition: transform .18s ease; }
  .dash-workspace { margin: 0; }
  .dash-menu-toggle { display: inline-flex; }
  .dash-menu-close { display: grid; place-items: center; position: absolute; right: 9px; top: 16px; width: 30px; height: 30px; border-radius: 6px; color: white; font-size: 1.15rem; }
  .dash-menu-close:hover { background: #ffffff17; }
  .dash[data-menu-open="true"] { overflow: hidden; }
  .dash[data-menu-open="true"] .dash-sidebar { visibility: visible; transform: translateX(0); }
  .dash-backdrop { display: block; position: fixed; inset: 0; z-index: 9; background: #0a162879; }
  .dash-main { padding-top: 12px; }
}
@media (max-width: 550px) {
  .dash-metrics, .dash-booking-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-top, .dash-main { padding-inline: 9px; }
  .dash-top { gap: 6px; min-height: 51px; }
  .dash-metric { padding: 8px; gap: 3px; }
  .dash-table th, .dash-table td { padding-inline: 8px; }
  .dash-customer-table :is(.dash-booking-operator, .dash-booking-price) { display: none; }
  .dash-customer-table td small { max-width: 13ch; }
}
@media (prefers-reduced-motion: reduce) { .dash-sidebar { transition: none; } }
