.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: #f8f2e7;
}
.dash-login :focus-visible { outline-color: #9c7439; }
.dash-login-panel {
  display: grid; place-items: center; padding: clamp(24px, 5vw, 72px);
  background: radial-gradient(ellipse at 18% 6%, #fffdfa, transparent 76%);
}
.dash-login-card { width: min(100%, 430px); color: var(--ink); }
.dash-login-brand {
  display: inline-flex; align-items: center; gap: 11px; margin-bottom: clamp(22px, 4vw, 38px);
  color: var(--ink); letter-spacing: .18em; font-size: .94rem; font-weight: 750;
}
.dash-login-brand img { object-fit: contain; padding: 3px 4px; background: var(--ink); border: 1px solid #d5a958; border-radius: 9px; }
.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: var(--ink);
}
.dash-login-card .dash-auth-intro { margin: 10px 0 24px; color: var(--muted); line-height: 1.55; }
.dash-login-card .dash-form { gap: 14px; }
.dash-login-card .dash-field label { color: #4a3a2f; }
.dash-login-card .dash-help { color: var(--muted); }
.dash-login-card input:not([type="checkbox"]):not([type="hidden"]) {
  min-height: 48px; background: #fffdf9; border-color: #cdbfad; border-radius: 9px;
}
.dash-login-card input:not([type="hidden"]):focus-visible { border-color: #9c7439; }
.dash-login-card .password-toggle { color: #6e503d; }
.dash-login-card .password-toggle:hover { background: #f4e7d0; color: #7d332c; }
.dash-login-card .dash-primary {
  min-height: 48px; background: var(--ink); border-color: var(--ink); border-radius: 9px; color: #f4ce90; font-size: .9rem;
}
.dash-login-card .dash-primary:hover { background: #582d26; border-color: #582d26; color: #fff3e0; }
.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: var(--muted); }
.dash-auth-switch a { color: #812c27; 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 {
  display: grid; align-content: center; justify-items: center; gap: clamp(19px, 3vw, 34px);
  min-width: 0; margin: 0; padding: clamp(24px, 4vw, 64px);
  background: radial-gradient(ellipse at 85% 20%, #5d3529, transparent 66%), linear-gradient(150deg, #32221a, var(--ink) 72%);
}
.dash-auth-picture, .dash-auth-caption { width: min(100%, 700px); }
.dash-auth-picture {
  overflow: hidden; border: 1px solid #e8ba6e73; border-radius: 16px;
  background: #261b16; box-shadow: 0 24px 60px #0e080770;
}
.dash-auth-picture img { display: block; width: 100%; height: auto; }
.dash-auth-caption {
  color: #fff6e8; font-family: var(--font-display), Georgia, serif;
  font-size: clamp(2.15rem, 3.65vw, 4.3rem); line-height: .98; letter-spacing: -.032em;
}
.dash-auth-caption em { color: var(--gold); }
.dash-auth-caption::before { content: ""; display: block; width: 32px; height: 2px; margin-bottom: 14px; background: #d35247; }
.dash-auth-art--cabin { position: relative; isolation: isolate; align-content: end; justify-items: start; }
.dash-auth-art--cabin .dash-auth-picture {
  position: absolute; inset: 0; z-index: -1; width: auto;
  border: 0; border-radius: 0; box-shadow: none;
}
.dash-auth-art--cabin .dash-auth-picture img { height: 100%; object-fit: cover; object-position: center 46%; }
.dash-auth-art--cabin::after {
  content: ""; position: absolute; inset: 60% 0 0; z-index: -1; pointer-events: none;
  background: linear-gradient(transparent, #100e0bea);
}
.dash-auth-art--cabin .dash-auth-caption { max-width: 18ch; }
.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; gap: 13px; padding: 18px clamp(16px, 5vw, 36px) 21px; }
  .dash-auth-picture, .dash-auth-caption { width: min(100%, 480px); }
  .dash-auth-picture { border-radius: 11px; }
  .dash-auth-caption { font-size: clamp(1.75rem, 6.6vw, 2.75rem); }
  .dash-auth-caption::before { margin-bottom: 7px; width: 22px; }
  .dash-login-panel { place-items: start center; padding: 22px clamp(17px, 5vw, 38px) 30px; }
  .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: 820px), (max-aspect-ratio: 1/1) {
  .dash-login:has(.dash-auth-art--cabin) { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .dash-auth-art--cabin { grid-row: 1; aspect-ratio: 3 / 2; padding: 14px clamp(16px, 5vw, 36px); }
  .dash-auth-art--cabin .dash-auth-caption { max-width: none; font-size: clamp(1.4rem, 4vw, 2.5rem); }
  .dash-auth-art--cabin .dash-auth-caption::before { display: none; }
}
@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; } }
