@font-face {
  font-family: "Dashboard Inter";
  src: url("/assets/dashboard/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --dash-bg: #242424;
  color-scheme: dark;
  background: var(--dash-bg);
}
.dashboard {
  --dash-card: #171818;
  --dash-border: #373737;
  --dash-muted: #b5b5b5;
  --dash-violet: #aa7aff;
  --dash-teal: #45ebc6;
  --dash-yellow: #ffda62;
  --dash-pink: #ed9df6;
  --dash-fg: #f7f7f7;
  font-family: "Dashboard Inter", system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  background: var(--dash-bg);
  color: var(--dash-fg);
  min-height: 100vh;
  min-height: 100dvh;
}
.dashboard :is(button,input,select,textarea,a,summary,[tabindex]):focus-visible { outline: 2px solid var(--dash-teal); outline-offset: 3px; }
.dashboard .skip:focus { color: #191919; }
.dashboard .demo { background: #101615; }
.dash-frame {
  flex: 1;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
}
.dash-rail { background: var(--dash-card); padding-top: 24px; }
.dash-brand { display: flex; margin: 0 auto 20px; min-height: 44px; width: 76px; align-items: center; }
.dash-brand img { width: 100%; height: auto; }
.dash-rail nav { display: grid; gap: .45rem; padding-inline: .65rem; }
.dash-rail nav a {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .3rem;
  min-height: 53px;
  text-decoration: none;
  border-radius: .65rem;
  font-size: .68rem;
  color: var(--dash-muted);
}
.dash-rail nav a:hover, .dash-rail nav a[aria-current="page"] { background: #080909; color: #fff; }
.dash-icon { flex: 0 0 auto; object-fit: contain; }
.dash-rail .dash-icon { opacity: .85; }
.dash-main { min-width: 0; padding: clamp(.75rem, 2.2vw, 2.5rem); }
.dash-top {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 48px;
  margin-bottom: clamp(1.2rem, 2.4vw, 2rem);
}
.dash-search {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  max-width: 300px;
  padding-inline: .35rem;
  border-radius: 999px;
  background: #323232;
}
.dash-search input { margin: 0; min-height: 44px; flex: 1; padding: .45rem .7rem .45rem .25rem; }
.dash-search button, .dash-month a {
  border: 0;
  color: var(--dash-fg);
  background: transparent;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  min-height: 44px;
  text-decoration: none;
}
.dashboard :is(input,select,textarea) { color: var(--dash-fg); background: #272727; border-color: #535353; color-scheme: dark; }
.dashboard .dash-search input { background: transparent; border: 0; }
.dash-search input::placeholder { color: #bbb; }
.dash-wordmark { color: #f5f5f3; text-decoration: none; font: italic 1.32rem Georgia, serif; }
.dash-profile { justify-self: end; position: relative; z-index: 3; }
.dash-profile summary { display: flex; align-items: center; gap: .55rem; list-style: none; cursor: pointer; min-height: 44px; }
.dashboard summary::-webkit-details-marker { display: none; }
.dash-profile-label { display: grid; text-align: right; font-size: .78rem; overflow-wrap: anywhere; }
.dash-profile-label small { color: var(--dash-muted); font-size: .7rem; }
.dash-avatar {
  display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 auto; border-radius: 50%;
  color: #161616; background: var(--dash-yellow); font-weight: 750;
}
.dash-profile form, .dash-filter form {
  position: absolute; right: 0; z-index: 4; margin-top: .35rem; padding: .8rem;
  background: #242424; border: 1px solid #4a4a4a; border-radius: .6rem; box-shadow: 0 15px 25px #0007;
}
.dash-profile form { white-space: nowrap; }
.dash-layout { display: grid; grid-template-columns: minmax(0, 3.15fr) minmax(210px, 1fr); gap: clamp(.85rem, 1.6vw, 1.5rem); }
.dash-primary { display: grid; min-width: 0; gap: clamp(.85rem, 1.6vw, 1.5rem); }
.dash-primary h1 { font-size: clamp(1.6rem, 2.65vw, 2.25rem); font-weight: 570; margin-bottom: -.15em; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.65rem, 1vw, 1rem); }
.dash-kpi {
  isolation: isolate; position: relative; display: grid; align-items: center; overflow: hidden; min-height: 145px;
  border-radius: 24px; padding: clamp(.7rem, 1.3vw, 1.2rem); color: #181818;
}
.dash-kpi::before {
  content: ""; position: absolute; inset: 12% 0 0 auto; width: 65%; z-index: -2; opacity: .19;
  transform: rotate(-13deg) scale(1.15);
  background: repeating-linear-gradient(0deg,transparent 0 24px, #fff 25px 32px, transparent 33px 52px);
}
.dash-kpi-solicitudes { background: #07ebc3; }
.dash-kpi-seguimiento { background: var(--dash-yellow); }
.dash-kpi-viajeros { background: var(--dash-pink); }
.dash-kpi > div { min-width: 0; }
.dash-kpi p { margin-bottom: .35rem; max-width: 19ch; font-size: .83rem; font-weight: 660; }
.dash-kpi strong { display: block; font-size: clamp(1.75rem, 3.2vw, 2.48rem); font-weight: 740; line-height: 1.08; }
.dash-kpi a { display: inline-flex; align-items: center; min-height: 33px; font-size: .74rem; font-weight: 650; }
.dash-kpi img { position: absolute; z-index: -1; width: 48%; height: 83%; object-fit: contain; object-position: right bottom; right: -2%; bottom: -1%; }
.dash-kpi-viajeros img { width: 42%; height: 97%; right: -1%; }
.dash-middle, .dash-bottom { display: grid; min-width: 0; gap: clamp(.8rem, 1.45vw, 1.4rem); }
.dash-middle { grid-template-columns: minmax(0, 1.95fr) minmax(179px, 1fr); }
.dash-bottom { grid-template-columns: minmax(165px, .9fr) minmax(0, 2fr); }
.dash-panel { min-width: 0; background: var(--dash-card); border-radius: 25px; padding: clamp(.85rem, 1.55vw, 1.45rem); }
.dash-panel-title { display: flex; justify-content: space-between; align-items: center; gap: .45rem; flex-wrap: wrap; margin-bottom: .65rem; }
.dash-panel h2 { font-size: clamp(.95rem, 1.25vw, 1.22rem); font-weight: 730; line-height: 1.2; margin: 0; letter-spacing: -.025em; }
.dash-panel-title > span, .dash-muted { color: var(--dash-muted); font-size: .74rem; }
.dash-line-wrap { position: relative; }
.dash-line-wrap svg { display: block; width: 100%; min-height: 118px; }
.dash-line-wrap svg text { fill: var(--dash-muted); font-size: 8px; }
.dash-grid-line { stroke: #3a3b3e; stroke-width: .5; }
.dash-line-main, .dash-line-alt { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.dash-line-main { stroke: var(--dash-violet); stroke-width: 2.5; }
.dash-line-alt { stroke: var(--dash-teal); stroke-width: 1.7; stroke-dasharray: 4 4; }
.dash-analyst { position: absolute; height: 77%; bottom: 12%; right: 0; object-fit: contain; pointer-events: none; }
.dash-line-wrap:has(.dash-analyst) svg { width: 87%; }
.dash-legend { display: flex; flex-wrap: wrap; gap: .35rem 1rem; color: var(--dash-muted); font-size: .72rem; }
.dash-legend span::before { content: ""; display: inline-block; width: 16px; border-top: 2px solid var(--dash-violet); vertical-align: middle; margin-right: .35rem; }
.dash-legend span:nth-child(2)::before { border-top: 2px dashed var(--dash-teal); }
.dash-chart-details { margin-top: .5rem; color: var(--dash-muted); font-size: .72rem; }
.dash-chart-details summary { cursor: pointer; width: fit-content; text-decoration: underline; min-height: 24px; }
.dash-chart-details dl { display: grid; grid-template-columns: 1fr auto; margin-bottom: 0; }
.dash-chart-details dd { margin: 0; }
.dash-month { display: grid; grid-template-columns: 37px minmax(0,1fr) 37px; align-items: center; margin-bottom: .4rem; }
.dash-month a { font-size: 1.4rem; width: 37px; min-height: 36px; border-radius: .38rem; }
.dash-month a:hover { background: #303030; }
.dash-month > span:nth-child(2) { display: flex; justify-content: center; align-items: center; gap: .32rem; font-size: .78rem; }
.dash-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); font-size: .76rem; }
.dash-days > * { display: grid; min-height: 28px; place-items: center; text-decoration: none; border-radius: .5rem; }
.dash-weekday, .dash-outside { color: var(--dash-muted); }
.dash-outside { opacity: .65; }
.dash-days a:hover { background: #373737; }
.dash-days a.dash-has-leads { box-shadow: inset 0 -2px #986aff; }
.dash-days a.dash-today { border: 1px solid #80629c; }
.dash-days a[aria-current] { background: var(--dash-yellow); color: #191919; }
.dash-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .24rem; text-align: center; }
.dash-bars div { display: grid; justify-items: center; align-items: end; gap: .2rem; font-size: .66rem; }
.dash-bars svg { width: min(100%, 23px); height: auto; max-height: 106px; }
.dash-bar-track { fill: #303030; }
.dash-bars strong { color: var(--dash-muted); font-weight: 570; }
.dash-summary { align-self: stretch; }
.dash-summary-brand { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.15rem; }
.dash-summary-brand img { width: 34px; height: 36px; border-radius: .4rem; object-fit: cover; }
.dash-summary-brand span { color: var(--dash-muted); font-size: .78rem; }
.dash-channel-chart { display: flex; align-items: center; gap: .6rem; justify-content: space-around; flex-wrap: wrap; }
.dash-channel-chart svg { width: min(100%, 140px); }
.dash-channel-chart circle { fill: none; stroke: var(--channel, #393939); stroke-width: 21; }
.dash-channel-chart svg text { fill: var(--dash-fg); font-size: 14px; font-weight: 720; }
.dash-channel-chart ul { list-style: none; padding: 0; margin: 0; max-width: 100%; font-size: .74rem; color: var(--dash-muted); }
.dash-channel-chart li { display: flex; align-items: center; gap: .35rem; overflow-wrap: anywhere; max-width: 100%; }
.dash-channel-chart li span { background: var(--channel); width: 8px; height: 8px; border-radius: 2px; flex: 0 0 auto; }
.dash-channel-chart li strong { margin-left: auto; color: var(--dash-fg); }
.dash-channel-0 { --channel: #ffa1ba; }
.dash-channel-1 { --channel: var(--dash-teal); }
.dash-channel-2 { --channel: #ceef8f; }
.dash-channel-3 { --channel: #ffb481; }
.dash-channel-4 { --channel: var(--dash-violet); }
.dash-metrics { display: grid; grid-template-columns: 1fr auto; gap: .55rem; padding-block: 1rem; margin-block: 1.65rem 1rem; border-block: 1px solid var(--dash-border); font-size: .81rem; }
.dash-metrics dd { margin: 0; text-align: right; font-weight: 690; }
.dash-progress { display: grid; margin-top: 1.15rem; gap: .2rem; font-size: .76rem; }
.dash-progress strong { font-size: 1.64rem; line-height: 1.08; }
.dash-progress progress { appearance: none; width: 100%; height: 7px; border: 0; border-radius: 9px; background: #30283c; overflow: hidden; }
.dash-progress progress::-webkit-progress-bar { background: #30283c; }
.dash-progress progress::-webkit-progress-value { background: linear-gradient(90deg,#a36dff,#628bff); border-radius: 9px; }
.dash-progress progress::-moz-progress-bar { background: linear-gradient(90deg,#a36dff,#628bff); border-radius: 9px; }
.dash-actions { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.dash-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: .3rem .6rem;
  border: 1px solid #505050; background: #202020; color: var(--dash-fg); border-radius: .48rem;
  font-size: .74rem; font-weight: 680; cursor: pointer; text-decoration: none;
}
.dash-btn:hover { background: #353535; }
.dash-download { color: #191919; border-color: transparent; background: var(--dash-yellow); }
.dash-download:hover { background: #ffe794; }
.dash-filter { position: relative; }
.dash-filter form { min-width: min(215px, 70vw); font-size: .8rem; }
.dash-filter input, .dash-filter select, .dash-stage select { min-height: 36px; padding: .35rem; font-size: .8rem; }
.dash-current, .dash-empty { font-size: .82rem; color: var(--dash-muted); }
.dash-current a { margin-left: .4rem; }
.dash-empty { border-top: 1px solid var(--dash-border); padding-block: .8rem .1rem; }
.dash-table-wrap { overflow: auto; max-height: 235px; }
.dash-table-wrap table { border-collapse: collapse; width: 100%; font-size: .77rem; min-width: 395px; }
.dash-table-wrap :is(th,td) { text-align: left; vertical-align: top; padding: .65rem .35rem; border-bottom: 1px solid var(--dash-border); }
.dash-table-wrap th { position: sticky; top: 0; z-index: 1; background: var(--dash-card); font-weight: 570; color: var(--dash-muted); }
.dash-table-wrap td p { max-width: 24ch; margin: .35rem 0 0; color: var(--dash-muted); }
.dash-table-wrap summary { cursor: pointer; }
.dash-stage form { margin-top: .35rem; gap: .4rem; }
.dash-status { color: var(--dash-yellow); }
.dash-stage-contactado { color: var(--dash-teal); }
.dash-stage-cotizado { color: #c7a8ff; }
.dash-stage-cerrado { color: #89bdff; }

@media (max-width: 1130px) {
  .dash-kpi img { opacity: .68; width: 41%; }
  .dash-layout { grid-template-columns: minmax(0, 1fr) 190px; }
  .dash-frame { grid-template-columns: 73px minmax(0, 1fr); }
  .dash-brand { width: 61px; }
  .dash-rail nav { padding-inline: .3rem; }
}
@media (max-width: 980px) {
  .dash-layout { grid-template-columns: minmax(0, 1fr); }
  .dash-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem; }
  .dash-metrics { margin: 0; grid-column: 1 / -1; }
  .dash-summary-brand { margin: 0; }
}
@media (max-width: 690px) {
  .dash-frame { display: block; }
  .dash-rail { display: flex; align-items: center; padding: .35rem .55rem; gap: .3rem; }
  .dash-brand { width: 58px; flex: 0 0 auto; margin: 0; }
  .dash-rail nav { display: flex; flex-wrap: wrap; justify-content: end; min-width: 0; flex: 1; gap: .15rem; padding: 0; }
  .dash-rail nav a { min-height: 45px; min-width: 43px; padding: .25rem; font-size: .63rem; }
  .dash-top { grid-template-columns: minmax(0, 1fr) auto; gap: .65rem; margin-bottom: 1rem; }
  .dash-profile-label, .dash-wordmark { display: none; }
  .dash-search { max-width: 100%; }
  .dash-middle, .dash-bottom { grid-template-columns: minmax(0, 1fr); }
  .dash-kpis { gap: .43rem; }
  .dash-kpi { min-height: 125px; border-radius: 16px; padding: .55rem; }
  .dash-kpi p { font-size: .72rem; }
  .dash-kpi a { font-size: .65rem; }
  .dash-kpi img { width: 48%; height: 41%; opacity: .65; }
  .dash-panel { border-radius: 18px; }
  .dash-calendar .dash-days > * { min-height: 36px; }
  .dash-bars svg { width: 21px; }
  .dash-summary { display: block; }
  .dash-summary-brand { margin-bottom: 1rem; }
  .dash-metrics { margin-top: 1rem; }
}

.dash-section { min-width: 0; }
.dash-section h1 {
  margin-bottom: .4em;
  font-size: clamp(1.6rem, 2.65vw, 2.25rem);
  font-weight: 570;
  overflow-wrap: anywhere;
}
.dash-section h2 { font-size: clamp(1.05rem, 1.55vw, 1.35rem); font-weight: 720; }
.dash-section .eyebrow { margin-bottom: .45rem; color: var(--dash-muted); }
.dash-section .workspace-title { margin-bottom: 1.25rem; }
.dash-section .workspace-title p:not(.eyebrow),
.dash-section .form-card > p:not(.notice),
.dash-section .lead p,
.dash-section .history-source { color: var(--dash-muted); }
.dash-section :is(.form-card, .lead, .empty, .history-search) {
  background: var(--dash-card);
  color: var(--dash-fg);
  border: 1px solid var(--dash-border);
  border-radius: clamp(16px, 2vw, 25px);
}
.dash-section .history-search { padding: clamp(.85rem, 1.55vw, 1.45rem); }
.dash-section :is(.button.accent, .button.outline) { border-radius: .55rem; font-size: .84rem; }
.dash-section .button.accent { color: #191919; border-color: transparent; background: var(--dash-yellow); }
.dash-section .button.accent:hover { background: #ffe794; }
.dash-section .button.outline { color: var(--dash-fg); border-color: #545454; background: #242424; }
.dash-section .button.outline:hover { background: #353535; }
.dash-section .text-link, .dash-section .login p a { color: var(--dash-teal); }
.dash-section .login p:last-child { margin-bottom: 0; }
.dash-section .login form + p { margin: 1.15rem 0 0; }
.dash-section .notice { border-color: #8c5158; background: #41272e; color: #ffd3d8; }
.dash-section .notice[role="status"] { border-color: #435c57; background: #213b36; color: #c6ffef; }
.dash-section .admin-grid { grid-template-columns: minmax(215px, .85fr) minmax(0, 1.6fr); }
.dash-section .admin-grid > * { min-width: 0; }
.dash-section :is(.catalog-list li, .departures li, .history-sheet-list li) { border-color: var(--dash-border); }
.dash-section .catalog-list li a { overflow-wrap: anywhere; }
.dash-section .catalog-list [aria-current="true"] { color: var(--dash-yellow); font-weight: 700; }
.dash-section .pill { background: #332a42; color: #e0cdff; flex: 0 0 auto; }
.dash-section .history-source { min-width: 0; }
.dash-section .history-amounts { color: var(--dash-muted); }
.dash-section .history-sheet-list { margin-block: 1rem; }
.dash-section .history-sheet-list a { color: var(--dash-teal); }
.dash-section .history-sheet-list li:last-child { border-bottom: 0; }
.dash-section .history-table-wrap { border-color: var(--dash-border); border-radius: .85rem; }
.dash-section .history-table { background: var(--dash-card); }
.dash-section .history-table th { background: #2a2a2a; }
.dash-section .history-table :is(th, td) { border-color: var(--dash-border); }
.dash-section .history-table tr:target { background: #3d3624; }
.dash-section .history-table tr:target th { color: var(--dash-yellow); }
.dash-section .history-pages { color: var(--dash-muted); }
.dash-section .history-source p { margin-bottom: .2rem; }
.dash-section .dash-error { width: min(100%, 615px); }
.dash-guest .dash-wordmark { grid-column: 2; }
.dash-guest .login { margin: clamp(1rem, 5vh, 4rem) auto 1rem; width: min(100%, 465px); }
.dash-guest .dash-error { margin: clamp(.75rem, 4vh, 2rem) auto; }
@media (max-width: 795px) {
  .dash-section .admin-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 690px) {
  .dash-section .workspace-title { align-items: flex-start; }
  .dash-guest .dash-top { display: none; }
}

.dash-section .inbox { background: var(--dash-card); border-color: var(--dash-border); }
.dash-section .inbox aside { border-color: var(--dash-border); }
.dash-section .thread:is(.active, :hover), .dash-section .message { background: #2a2a2a; }
.dash-section .message.out { background: #214038; }
.dash-section .thread span, .dash-section .message small { color: var(--dash-muted); }
.dash-section .conversation { min-width: 0; overflow-wrap: anywhere; }
.wa-linked { border-top: 1px solid var(--dash-border); margin-block: 1rem; padding-block: 1rem; }
