@font-face {
  font-family: Instrument;
  src: url("./assets/InstrumentSans.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --bg: #f6f7f8;
  --paper: #fff;
  --ink: #222528;
  --muted: #73777c;
  --line: #e8eaed;
  --red: #922331;
  --red-soft: #fbf0f1;
  --green: #2d6c53;
  --green-soft: #edf5f0;
  --amber: #936a2b;
  --radius: 14px;
  --sidebar: 226px;
  --font: Instrument, Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
a {
  color: inherit;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #a7404d;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 550;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 12px;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}
svg use {
  pointer-events: none;
}
small {
  font-size: 12px;
}
.skip {
  position: fixed;
  top: -80px;
  left: 10px;
  background: var(--ink);
  color: #fff;
  z-index: 100;
  padding: 12px;
}
.skip:focus {
  top: 8px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  background: #1c1e20;
  color: #bdc0c4;
  display: flex;
  flex-direction: column;
  padding: 30px 18px 20px;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  text-decoration: none;
  color: white;
  margin-bottom: 52px;
}
.brand img {
  width: 49px;
  height: 43px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.brand span {
  font-size: 21px;
  letter-spacing: 4px;
  font-weight: 550;
  line-height: 1.3;
}
.brand small {
  font-size: 12px;
  letter-spacing: 2.1px;
  display: block;
  color: #a4a7ab;
  margin-top: 4px;
}
.nav-caption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #878c91;
  margin: 0 12px 13px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: none;
  color: #afb3b8;
  font-size: 13px;
  padding: 13px 14px;
  border-radius: 7px;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item .icon {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #292c2f;
  color: #fff;
}
.nav-item.active {
  background: #37393b;
  color: #fff;
  box-shadow: inset 3px 0 #b84654;
}
.nav-dot {
  width: 5px;
  height: 5px;
  background: #d59b69;
  border-radius: 50%;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.aura-mini {
  padding: 17px 15px 16px;
  background: #26292b;
  border: 1px solid #333639;
  border-radius: 10px;
}
.aura-mini strong {
  font-size: 12px;
  color: #ededee;
  display: block;
  margin-top: 10px;
}
.aura-mini p {
  font-size: 12px;
  line-height: 1.6;
  color: #aaaeb3;
  margin: 5px 0 13px;
}
.orb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f7eff0;
  border: 1px solid #ab6571;
  background: radial-gradient(
    circle at 30% 20%,
    #d6a7af 0,
    #8f4654 38%,
    #51232d 76%
  );
  box-shadow:
    inset 0 1px 3px #fff6,
    0 4px 12px #2e12222e;
}
.orb .icon {
  width: 17px;
  height: 17px;
}
.orb.large {
  width: 47px;
  height: 47px;
  flex: none;
}
.orb.large .icon {
  width: 25px;
  height: 25px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.5;
  min-height: 42px;
  transition:
    background 0.2s,
    transform 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn .icon {
  width: 17px;
  height: 17px;
}
.btn.primary {
  background: var(--red);
  color: #fff;
}
.btn.primary:hover {
  background: #7c1b28;
}
.btn.secondary {
  background: var(--paper);
  border-color: #dfe2e5;
  color: #383c40;
}
.btn.secondary:hover {
  background: #f4f5f6;
}
.btn.light {
  background: #fff;
  color: #2d3033;
}
.btn.text {
  background: none;
  padding: 7px 0;
  min-height: 36px;
  font-size: 12px;
}
.btn.sidebar-tour {
  color: white;
  background: #373a3d;
  font-size: 12px;
  width: 100%;
  min-height: 35px;
  padding: 6px;
}
.btn.full {
  width: 100%;
}
.website {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 19px 8px;
  border-bottom: 1px solid #333639;
}
.website .icon {
  width: 15px;
  height: 15px;
}
.powered {
  padding: 20px 8px 0;
  color: #8e9399;
  font-size: 12px;
}
.powered b {
  font-size: 19px;
  letter-spacing: -1px;
  color: #e6e7e8;
  margin-left: 4px;
  font-weight: 500;
}
.powered span {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.workspace {
  margin-left: var(--sidebar);
  min-height: 100vh;
}
.topbar {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 34px;
  gap: 24px;
}
.breadcrumb {
  font-size: 12px;
  flex: 1;
  color: #62666b;
}
.breadcrumb span {
  color: #bfc3c7;
  margin: 0 12px;
}
.profile-switch,
.segmented {
  display: flex;
  padding: 4px;
  background: #f1f2f3;
  border: 1px solid #e9eaec;
  border-radius: 8px;
  gap: 3px;
}
.profile-switch button,
.segmented button {
  border-radius: 5px;
  background: none;
  font-size: 12px;
  padding: 7px 15px;
  color: #71757a;
}
.profile-switch .selected,
.segmented .selected {
  background: #fff;
  color: #25282b;
  box-shadow: 0 1px 4px #2221;
}
.profile {
  display: flex;
  align-items: center;
  background: none;
  gap: 10px;
  text-align: left;
  font-size: 12px;
  padding: 0;
}
.profile small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.profile > .icon {
  width: 13px;
  height: 13px;
  margin-left: 8px;
}
.profile-avatar {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f2eaeb;
  color: #7d3d47;
  font-size: 12px;
  font-weight: 600;
}
.demo-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 34px;
  background: #fcfcfd;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #71767a;
  gap: 12px;
}
.demo-strip > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.demo-strip i {
  height: 10px;
  width: 1px;
  background: #d6d9dc;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a24753;
}
.demo-strip button {
  background: none;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #686d72;
}
.demo-strip .icon {
  width: 13px;
  height: 13px;
}
main {
  max-width: 1570px;
  margin: auto;
  padding: 32px 34px 30px;
  outline: none;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 10px;
}
.subheading {
  margin-top: 10px;
  color: #777c81;
  font-size: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 24px;
  gap: 16px;
}
.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px 22px 18px;
  background: #fff;
  min-width: 0;
}
.stat > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64696f;
  font-size: 12px;
}
.stat .icon {
  width: 17px;
  height: 17px;
  color: #999ea4;
}
.stat > strong {
  font-size: 31px;
  font-weight: 550;
  letter-spacing: -1px;
  display: block;
  margin: 10px 0 7px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat > small {
  font-size: 12px;
  color: #858a8f;
}
.overview-middle {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.hero {
  position: relative;
  min-height: 343px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #171b20;
  color: #fff;
}
.hero > img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 63% center;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 22, 27, 0.94),
    rgba(17, 22, 27, 0.56) 44%,
    rgba(17, 22, 27, 0.04) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 28px 30px;
}
.hero-label {
  font-size: 12px;
  letter-spacing: 1.6px;
  font-weight: 500;
  color: #d5d9dc;
}
.hero h2 {
  font-size: 30px;
  line-height: 1.17;
  letter-spacing: -1px;
  font-weight: 480;
  margin: 17px 0 13px;
}
.hero h2 em {
  font-style: normal;
  color: #c2c7ce;
}
.hero p {
  font-size: 12px;
  color: #d4d7db;
  line-height: 1.6;
  margin-bottom: 21px;
}
.hero .btn {
  font-size: 12px;
  min-height: 37px;
  padding: 9px 14px;
}
.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 20px;
  color: #e3e6e9;
  font-size: 12px;
  letter-spacing: 1.6px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.aura-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.aura-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.aura-head .eyebrow {
  font-size: 12px;
  margin-bottom: 6px;
}
.aura-head h2 {
  font-size: 17px;
  line-height: 1.3;
  max-width: 200px;
}
.aura-card > p {
  font-size: 12px;
  color: #757a80;
  line-height: 1.7;
  margin: 17px 0 13px;
}
.aura-task {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.aura-task > span {
  background: #f7f3f4;
  border-radius: 7px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: #98606a;
}
.aura-task .icon {
  width: 16px;
  height: 16px;
}
.aura-task > div {
  flex: 1;
}
.aura-task strong {
  font-size: 12px;
  display: block;
  font-weight: 550;
}
.aura-task small {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 2px;
}
.aura-task > .icon {
  color: #b0b4b8;
  width: 12px;
}
.aura-card > .btn {
  margin-top: auto;
  font-size: 12px;
  min-height: 36px;
  padding: 9px;
}
.simulation-note {
  font-size: 12px;
  text-align: center;
  color: #8e9399;
  margin-top: 8px;
}
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 22px;
}
.panel-head {
  padding: 21px 23px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.panel-head h2 {
  font-size: 14px;
}
.panel-head p {
  font-size: 12px;
  color: #8b9096;
  margin-top: 5px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-weight: 450;
  font-size: 12px;
  color: #959aa0;
  padding: 10px 20px;
  background: #fdfdfe;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #f0f1f3;
  font-size: 12px;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:hover {
  background: #fcfcfd;
}
.person {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  white-space: nowrap;
}
.person strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.person small {
  display: block;
  font-size: 12px;
  color: #8c9197;
  margin-top: 3px;
}
.avatar {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex: none;
  font-size: 12px;
  background: #f1e9e6;
  color: #8d6859;
}
.tint-1 {
  background: #ebedf4;
  color: #69748d;
}
.tint-2 {
  background: #e9f0ec;
  color: #64806e;
}
.tint-3 {
  background: #f3ecee;
  color: #947381;
}
.plain {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: none;
  color: #72787e;
  flex: none;
}
.icon-btn:hover {
  background: #f0f1f3;
}
.icon-btn .icon {
  width: 17px;
  height: 17px;
}
.muted {
  color: var(--muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  background: #f2f3f5;
  color: #747980;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}
.badge i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.badge.aprobado,
.badge.listo,
.badge.entregado,
.badge.desembolsado {
  background: #edf5ef;
  color: #49755b;
}
.badge.credito,
.badge.evaluacion,
.badge.taller {
  background: #f9f1e6;
  color: #927344;
}
.badge.cotizado,
.badge.confirmada,
.badge.contactado {
  background: #edf1f8;
  color: #5c7194;
}
.badge.documentos,
.badge.pendiente {
  background: #faeeee;
  color: #9b6065;
}
.appointment-list {
  padding: 0 22px;
}
.appointment {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--line);
  background: none;
  width: 100%;
  padding: 16px 0;
  text-align: left;
}
.appointment time {
  font-size: 12px;
  color: #777c82;
  font-variant-numeric: tabular-nums;
}
.appointment > span:nth-child(2) {
  flex: 1;
}
.appointment strong {
  display: block;
  font-size: 12px;
  font-weight: 550;
}
.appointment small {
  display: block;
  font-size: 12px;
  color: #999da2;
  margin-top: 3px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #929eb4;
}
.status-dot.taller {
  background: #be9c68;
}
.status-dot.recibido {
  background: #a08b9c;
}
.status-dot.listo {
  background: #739c80;
}
.performance {
  margin-top: 24px;
}
.team-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 5px 24px 24px;
}
.team-row > div > span {
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}
.team-row b {
  font-size: 12px;
  font-weight: 500;
  color: #7f848a;
}
.team-row small {
  font-size: 12px;
  color: #989da2;
}
.progress {
  height: 5px;
  background: #f0f1f3;
  border-radius: 9px;
  margin: 10px 0 5px;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: #9b4b57;
  border-radius: inherit;
}
.footer {
  padding: 0 34px 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: #989da3;
}
.mobile-brand {
  display: none;
}
.sales-summary {
  display: flex;
  gap: 25px;
  color: #747a80;
  font-size: 12px;
  margin-bottom: 24px;
}
.sales-summary > span:last-child {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}
.sales-summary .icon {
  color: var(--red);
  width: 15px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 14px;
  overflow: auto;
  padding-bottom: 18px;
}
.kanban-column {
  background: #eef0f2;
  border-radius: 10px;
  padding: 12px;
  min-height: 420px;
}
.kanban-column > h2 {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0;
  margin-bottom: 15px;
  font-weight: 550;
}
.kanban-column h2 b {
  font-size: 12px;
  background: #fff;
  color: #838990;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 400;
}
.deal-card {
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
  padding: 13px;
  margin-bottom: 12px;
}
.deal-person {
  display: flex;
  align-items: center;
  gap: 7px;
}
.deal-person .avatar {
  width: 25px;
  height: 25px;
  font-size: 12px;
}
.deal-person strong {
  font-size: 12px;
}
.deal-card img {
  width: 100%;
  margin: 12px 0 6px;
  aspect-ratio: 2;
  object-fit: contain;
}
.deal-model {
  font-size: 12px;
  display: block;
}
.deal-amount {
  font-size: 19px;
  display: block;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 4px 0 11px;
}
.deal-card p,
.deal-source {
  font-size: 12px;
  color: #92979d;
}
.deal-source {
  display: block;
  margin-top: 3px;
}
.deal-card .btn {
  font-size: 12px;
  padding: 7px 8px;
  margin-top: 14px;
  min-height: 32px;
}
.deal-card .btn .icon {
  width: 12px;
}
.column-empty {
  font-size: 12px;
  color: #969ca2;
  line-height: 1.7;
  padding: 15px 5px;
}
.cell-small {
  display: block;
  font-size: 12px;
  color: #90969c;
  margin-top: 5px;
}
.doc-count {
  font-size: 12px;
}
.doc-bars {
  display: flex;
  gap: 3px;
  margin-top: 6px;
  max-width: 80px;
}
.doc-bars i {
  height: 4px;
  background: #e7e9eb;
  flex: 1;
  border-radius: 4px;
}
.doc-bars .done {
  background: #86a18d;
}
.table-note {
  padding: 17px 21px;
  font-size: 12px;
  color: #92989d;
  border-top: 1px solid var(--line);
}
.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.search {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e1e4e7;
  background: #fff;
  border-radius: 7px;
  padding: 10px 15px;
  font-size: 12px;
  max-width: 75%;
}
.search span {
  color: #858b91;
}
.search input {
  border: 0;
  outline: 0;
  min-width: 0;
  background: none;
  width: 230px;
}
.list-toolbar > .muted {
  font-size: 12px;
}
.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.vehicle-photo {
  position: relative;
  background: #fff;
}
.vehicle-photo img {
  width: 100%;
  aspect-ratio: 2;
  object-fit: contain;
  margin-top: 24px;
}
.stock-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #f3f6f4;
  color: #5c7764;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
}
.vehicle-details {
  padding: 20px 24px 24px;
}
.vehicle-details h2 {
  font-size: 25px;
  font-weight: 500;
}
.vehicle-details > p:not(.eyebrow) {
  font-size: 13px;
  margin-top: 8px;
}
.vehicle-details small {
  font-size: 12px;
  color: #8a9096;
}
.stock-locations {
  display: grid;
  gap: 8px;
  margin: 20px 0;
  color: #82898f;
  font-size: 12px;
}
.stock-locations span {
  display: flex;
  justify-content: space-between;
}
.stock-locations b {
  font-weight: 500;
  color: #4a5157;
}
.automation-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.rule {
  padding: 25px;
}
.rule-icon {
  width: 38px;
  height: 38px;
  background: #f8f1f2;
  color: #9d626c;
  display: grid;
  place-items: center;
  border-radius: 9px;
  margin-bottom: 22px;
}
.rule h2 {
  font-size: 15px;
  margin-bottom: 8px;
}
.rule p {
  font-size: 12px;
  color: #7f858b;
  line-height: 1.7;
  min-height: 40px;
}
.rule-state {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #688773;
  margin-top: 22px;
}
.rule-state i {
  width: 5px;
  height: 5px;
  background: #84a18e;
  border-radius: 50%;
}
.message-list {
  padding: 0 23px 10px;
}
.message-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: none;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.message-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: #f4f5f6;
  color: #7e858c;
}
.message-row > span:nth-child(2) {
  flex: 1;
}
.message-row strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.message-row small {
  font-size: 12px;
  color: #8d949a;
  display: block;
  margin-top: 4px;
}
.message-row > .icon {
  width: 15px;
}
.message-tag {
  font-size: 12px;
  color: #9b7b57;
  background: #f8f4ed;
  padding: 4px 7px;
  border-radius: 4px;
}
.empty {
  text-align: center;
  padding: 50px 25px;
  color: #8a9197;
}
.empty > .icon {
  width: 32px;
  height: 32px;
  color: #aa7982;
  margin-bottom: 16px;
}
.empty h3 {
  color: #4b535a;
  font-weight: 500;
  margin-bottom: 8px;
}
.empty p {
  font-size: 12px;
}
.tour-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: #252b31;
  color: #fff;
  border-radius: 10px;
  margin-bottom: 25px;
}
.tour-number {
  font-size: 26px;
  letter-spacing: -1px;
}
.tour-number small {
  font-size: 12px;
  color: #9da7b1;
  margin-left: 4px;
}
.tour-bar > div {
  flex: 1;
}
.tour-bar strong {
  font-size: 12px;
}
.tour-bar p {
  font-size: 12px;
  color: #b3bcc4;
  margin-top: 3px;
}
.tour-bar .icon-btn {
  color: #fff;
}
.tour-bar .btn {
  font-size: 12px;
  min-height: 33px;
  padding: 7px 12px;
}
/* Calendario y recepción, con horarios como eje de la pantalla. */
.workshop-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 20px 0;
  margin-bottom: 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.workshop-stats > div {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-left: 25px;
  border-left: 1px solid #dde1e5;
}
.workshop-stats > div:first-child {
  border: 0;
  padding-left: 0;
}
.workshop-stats b {
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}
.workshop-stats span {
  font-size: 12px;
  color: #80878e;
}
.agenda-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.calendar-toolbar {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.calendar-toolbar > div:first-child {
  display: flex;
  align-items: center;
  gap: 4px;
}
.calendar-toolbar h2 {
  font-size: 14px;
  font-weight: 550;
  margin: 0 10px;
  text-transform: capitalize;
}
.today-button {
  border: 1px solid #e2e5e8;
  border-radius: 5px;
  padding: 5px 9px;
  font-size: 12px;
  background: #fff;
}
.segmented button {
  font-size: 12px;
  padding: 4px 9px;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-block: 1px solid var(--line);
  padding: 15px 18px;
  gap: 10px;
}
.week-strip button {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  padding: 8px 12px;
  border-radius: 8px;
  color: #808890;
  gap: 5px;
}
.week-strip span {
  font-size: 12px;
  text-transform: capitalize;
}
.week-strip strong {
  font-size: 20px;
  font-weight: 500;
  color: #2b3238;
}
.week-strip i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: transparent;
}
.week-strip .has-cites {
  background: #ae5e6b;
}
.week-strip .selected {
  background: #922331;
  color: #f5dce1;
}
.week-strip .selected strong {
  color: #fff;
}
.week-strip .selected .has-cites {
  background: #fff;
}
.calendar-scroll {
  max-height: 600px;
  overflow: auto;
}
.time-grid {
  display: grid;
  grid-template-columns: 54px repeat(var(--days), minmax(0, 1fr));
  padding: 18px 20px 20px 0;
  min-height: 800px;
  gap: 10px;
}
.time-axis {
  display: grid;
  grid-template-rows: repeat(9, 90px);
  font-size: 12px;
  color: #a1a7ad;
  text-align: right;
  line-height: 1;
}
.day-track {
  position: relative;
  background: repeating-linear-gradient(
    to bottom,
    #e9edf0 0,
    #e9edf0 1px,
    transparent 1px,
    transparent 90px
  );
  min-width: 0;
}
.event-position {
  position: absolute;
  left: 9px;
  right: 9px;
  top: calc(var(--row) * 45px + 4px);
}
.calendar-event {
  border-left: 3px solid #96a8c4;
  background: #eef2f9;
  text-align: left;
  border-radius: 5px;
  width: 100%;
  padding: 9px 13px;
  position: relative;
  min-height: 40px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  color: #56647a;
}
.calendar-event > span:first-child {
  font-size: 12px;
}
.calendar-event i {
  font-size: 12px;
  font-style: normal;
  display: block;
  color: #7e8ba0;
}
.calendar-event strong {
  font-size: 12px;
  font-weight: 550;
}
.calendar-event small {
  display: none;
  font-size: 12px;
}
.event-status {
  font-size: 12px;
  white-space: nowrap;
}
.calendar-event.recibido {
  border-color: #b59cbb;
  background: #f4f0f5;
  color: #80678a;
}
.calendar-event.taller {
  border-color: #c7a16c;
  background: #faf4e9;
  color: #8c724c;
}
.calendar-event.listo,
.calendar-event.entregado {
  border-color: #88a594;
  background: #eff6f0;
  color: #668271;
}
.day-label {
  text-align: center;
  font-size: 12px;
  background: #fff;
  margin-top: -16px;
  padding-bottom: 5px;
}
.weekly {
  min-width: 650px;
}
.weekly .calendar-event {
  display: block;
  padding: 7px;
  min-height: 41px;
}
.weekly .calendar-event i,
.weekly .event-status {
  display: none;
}
.weekly .calendar-event strong {
  font-size: 12px;
  display: block;
  line-height: 1.2;
}
.weekly .calendar-event > span:first-child {
  font-size: 12px;
}
.weekly .event-position {
  left: 2px;
  right: 2px;
}
.calendar-empty {
  color: #a4abb1;
  font-size: 12px;
  text-align: center;
  margin-top: 100px;
}
.calendar-legend {
  display: flex;
  gap: 14px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.calendar-legend > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #8d959c;
}
.calendar-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #96a8c4;
}
.calendar-legend i.taller {
  background: #c7a16c;
}
.calendar-legend i.listo {
  background: #88a594;
}
.calendar-legend small {
  font-size: 12px;
  color: #a0a7ae;
  margin-left: auto;
}
.workshop-queue {
  padding: 0 21px 6px;
}
.queue-item {
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.queue-item > div {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.queue-item strong {
  font-size: 12px;
  font-weight: 550;
}
.queue-item p {
  font-size: 12px;
  margin-top: 8px;
  color: #7e878f;
}
.queue-item > small {
  font-size: 12px;
  color: #9da4ab;
  display: block;
  margin-top: 3px;
}
.queue-item .btn {
  margin-top: 13px;
  font-size: 12px;
  min-height: 34px;
  padding: 7px;
}
.queue-item .badge {
  font-size: 12px;
}
.email-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 17px;
  background: #f1edf0;
  border: 1px solid #e9e1e5;
  border-radius: 10px;
  color: #8b6273;
}
.email-hint > .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.email-hint strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
}
.email-hint span {
  font-size: 12px;
  line-height: 1.7;
  display: block;
  margin-top: 5px;
  color: #977d89;
}
/* Paneles de detalle y formularios. */
dialog {
  border: 0;
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100vw;
  width: 480px;
  padding: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: -12px 0 80px #19212820;
  overflow: auto;
}
dialog::backdrop {
  background: #151c2466;
  backdrop-filter: blur(3px);
}
dialog[open] {
  animation: slide-in 0.24s ease-out;
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}
.drawer-top > span {
  font-size: 12px;
  letter-spacing: 1px;
  color: #9299a0;
}
.drawer-body {
  padding: 30px;
}
.drawer-body > h2 {
  font-size: 26px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-bottom: 26px;
}
.panel-intro {
  font-size: 13px;
  color: #7e8790;
  line-height: 1.7;
  margin-bottom: 24px;
}
.field {
  display: block;
  margin-bottom: 18px;
}
.field > span {
  display: block;
  font-size: 12px;
  font-weight: 550;
  margin-bottom: 7px;
  color: #5d6770;
}
.field input,
.field select {
  border: 1px solid #dfe4e8;
  border-radius: 7px;
  padding: 12px;
  background: #fff;
  color: #343d46;
  width: 100%;
  font-size: 13px;
  min-height: 43px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.quote-estimate {
  background: #f7f4f5;
  border: 1px solid #eee5e8;
  border-radius: 10px;
  padding: 22px;
  margin: 8px 0 17px;
}
.quote-estimate > span {
  font-size: 12px;
  color: #947c85;
}
.quote-estimate > strong {
  display: block;
  font-size: 41px;
  font-weight: 500;
  letter-spacing: -1.7px;
  margin: 6px 0 15px;
}
.quote-estimate strong small {
  font-size: 15px;
  letter-spacing: 0;
  color: #9f8d94;
  font-weight: 400;
  margin-left: 5px;
}
.quote-estimate > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #9c8991;
}
.fine-print {
  font-size: 12px;
  line-height: 1.8;
  color: #9a9398;
  margin: 16px 0 22px;
}
.form-error {
  font-size: 12px;
  color: #a82b3a;
  margin: 15px 0;
}
.detail-person {
  padding: 12px 0 20px;
}
.detail-person .avatar {
  width: 44px;
  height: 44px;
  font-size: 13px;
}
.detail-person .person strong {
  font-size: 15px;
}
.detail-person .person small {
  font-size: 12px;
}
.customer-car,
.service-vehicle img {
  width: 100%;
  aspect-ratio: 2;
  object-fit: contain;
}
.service-vehicle {
  margin-bottom: 20px;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 16px;
  padding: 25px 0;
  border-block: 1px solid var(--line);
  margin: 20px 0 28px;
}
.detail-facts span {
  display: block;
  font-size: 12px;
  color: #9aa2aa;
  margin-bottom: 5px;
}
.detail-facts b {
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.service-progress {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  gap: 4px;
}
.service-progress > div {
  flex: 1;
  font-size: 12px;
  color: #a9afb5;
  text-align: center;
  position: relative;
}
.service-progress > div:after {
  content: "";
  height: 1px;
  background: #e5e9ed;
  position: absolute;
  top: 12px;
  left: 65%;
  width: 70%;
  z-index: 0;
}
.service-progress > div:last-child:after {
  display: none;
}
.service-progress i {
  border-radius: 50%;
  width: 25px;
  height: 25px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
  background: #f3f5f7;
  color: transparent;
  position: relative;
  z-index: 1;
}
.service-progress .icon {
  width: 13px;
  height: 13px;
}
.service-progress .done {
  color: #87747b;
}
.service-progress .done i {
  background: #f2e7eb;
  color: #a06778;
}
.detail-note {
  display: flex;
  gap: 10px;
  padding: 17px;
  background: #f7f8f9;
  border-radius: 8px;
  margin: 20px 0;
  color: #8c969f;
  font-size: 12px;
  line-height: 1.7;
}
.detail-note .icon {
  color: #a57585;
  width: 18px;
  height: 18px;
  flex: none;
}
.credit-amount {
  padding: 25px 0;
  margin: 15px 0 28px;
  border-bottom: 1px solid var(--line);
}
.credit-amount small {
  color: #949ea7;
  font-size: 12px;
  display: block;
}
.credit-amount strong {
  font-size: 39px;
  font-weight: 500;
  letter-spacing: -1px;
  display: block;
  margin: 5px 0;
}
.credit-amount > span {
  font-size: 12px;
  color: #8b969f;
}
.document-list {
  display: grid;
  gap: 10px;
}
.document {
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  text-align: left;
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}
.checkbox {
  width: 22px;
  height: 22px;
  border: 1px solid #d8dee3;
  border-radius: 5px;
  flex: none;
  display: grid;
  place-items: center;
}
.checkbox.checked {
  background: #8e3d50;
  color: white;
  border-color: #8e3d50;
}
.checkbox .icon {
  width: 14px;
  height: 14px;
}
.document > span:last-child {
  font-size: 12px;
}
.document small {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #929da6;
}
.detail-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  margin: 10px 0 24px;
  font-size: 12px;
}
.detail-link .badge {
  margin-left: 10px;
}
.timeline {
  list-style: none;
  padding: 0;
}
.timeline li {
  display: flex;
  gap: 12px;
  padding-bottom: 23px;
  position: relative;
}
.timeline li:not(:last-child):before {
  content: "";
  position: absolute;
  left: 4px;
  top: 12px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.timeline i {
  width: 9px;
  height: 9px;
  border: 2px solid #a57b89;
  border-radius: 50%;
  margin-top: 4px;
  flex: none;
}
.timeline strong {
  font-size: 12px;
  font-weight: 500;
}
.timeline p {
  font-size: 12px;
  color: #9aa4ad;
  margin-top: 5px;
}
.action-stack {
  display: grid;
  gap: 12px;
}
.preview-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #a58862;
  font-size: 12px;
  letter-spacing: 1px;
  background: #fbf7f0;
  padding: 12px;
  border-radius: 7px;
  margin-bottom: 24px;
}
.preview-label .icon {
  width: 15px;
  height: 15px;
}
.mail {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.mail-brand {
  padding: 22px;
  background: #22262b;
  color: white;
  letter-spacing: 3px;
  font-size: 19px;
}
.mail-brand small {
  font-size: 12px;
  letter-spacing: 2px;
  display: block;
  margin-top: 5px;
  color: #b3bac2;
}
.mail-meta {
  padding: 20px;
  font-size: 12px;
  color: #8d98a2;
  line-height: 1.8;
  border-bottom: 1px solid var(--line);
}
.mail-meta strong {
  font-weight: 500;
  color: #63707b;
}
.mail h2 {
  font-size: 20px;
  padding: 24px 20px 0;
  font-weight: 500;
  line-height: 1.3;
}
.mail-body {
  padding: 20px;
  font-size: 13px;
  line-height: 1.9;
  color: #75818c;
}
.mail-signature {
  padding: 0 20px 24px;
  font-size: 12px;
  line-height: 1.8;
  color: #8b97a2;
}
.mail footer {
  background: #f7f8fa;
  font-size: 12px;
  padding: 15px 20px;
  color: #9ba5af;
}
.profile-options {
  display: grid;
  gap: 12px;
}
.profile-options > button {
  display: flex;
  align-items: center;
  gap: 13px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  border-radius: 9px;
  text-align: left;
}
.profile-options > button > span:nth-child(2) {
  flex: 1;
}
.profile-options strong {
  display: block;
  font-size: 13px;
}
.profile-options small {
  display: block;
  font-size: 12px;
  color: #8a969f;
  margin-top: 5px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: calc(50% + 80px);
  transform: translate(-50%, 20px);
  background: #252c33;
  color: #fff;
  border: 1px solid #434e57;
  padding: 13px 20px;
  border-radius: 9px;
  z-index: 99;
  font-size: 12px;
  box-shadow: 0 8px 25px #1c283133;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100vw - 40px);
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes slide-in {
  from {
    transform: translateX(50px);
    opacity: 0.5;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (min-width: 1700px) {
  :root {
    --sidebar: 246px;
  }
  main {
    padding-top: 40px;
  }
  .hero {
    min-height: 365px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .hero-content {
    padding: 33px;
  }
  .aura-card {
    padding: 30px;
  }
  .stat {
    padding: 25px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 196px;
  }
  .sidebar {
    padding-inline: 12px;
  }
  .brand {
    padding-inline: 9px;
    gap: 8px;
  }
  .brand img {
    width: 40px;
  }
  .brand span {
    font-size: 18px;
  }
  .topbar {
    padding-inline: 24px;
    gap: 16px;
  }
  .profile > span:nth-child(2) {
    display: none;
  }
  .demo-strip {
    padding-inline: 24px;
  }
  main {
    padding: 28px 24px;
  }
  .overview-middle {
    grid-template-columns: 1.2fr 1fr;
    gap: 18px;
  }
  .hero-content {
    padding: 25px;
  }
  .hero h2 {
    font-size: 27px;
  }
  .two-columns {
    grid-template-columns: 1.6fr 1fr;
    gap: 18px;
  }
  .stat {
    padding: 18px 16px;
  }
  .stat > small {
    font-size: 12px;
  }
  .stat > strong {
    font-size: 27px;
  }
  .person .avatar {
    width: 28px;
    height: 28px;
  }
  .person {
    gap: 8px;
  }
  td {
    padding: 14px 16px;
  }
  th {
    padding-inline: 16px;
  }
  .agenda-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
  }
  .calendar-toolbar {
    padding: 15px 12px;
  }
  .calendar-toolbar h2 {
    font-size: 12px;
    margin-inline: 5px;
  }
  .calendar-event {
    grid-template-columns: 50px 1fr;
    gap: 8px;
  }
  .event-status {
    display: none;
  }
  .calendar-legend small {
    display: none;
  }
  .workshop-queue {
    padding-inline: 15px;
  }
  .queue-item > div {
    flex-wrap: wrap;
  }
}
@media (max-width: 1000px) {
  .breadcrumb {
    display: none;
  }
  .topbar {
    justify-content: space-between;
  }
  .overview-middle {
    grid-template-columns: 1fr;
  }
  .hero {
    min-height: 310px;
  }
  .hero-content {
    padding: 25px 30px;
  }
  .hero > img {
    object-position: 55% center;
  }
  .aura-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 25px;
    row-gap: 10px;
  }
  .aura-head,
  .aura-card > p {
    grid-column: 1;
  }
  .aura-task {
    grid-column: 2;
    margin: 0;
  }
  .aura-task:nth-of-type(2) {
    grid-row: 1;
  }
  .aura-task:nth-of-type(3) {
    grid-row: 2;
  }
  .aura-card > .btn {
    grid-column: 2;
    grid-row: 3;
  }
  .simulation-note {
    grid-column: 1;
    grid-row: 3;
    text-align: left;
    align-self: center;
  }
  .aura-card > p {
    margin: 0;
  }
  .two-columns {
    grid-template-columns: 1fr;
  }
  .appointment-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
  }
  .stats {
    gap: 10px;
  }
  .stat > div {
    font-size: 12px;
  }
  .stat > small {
    display: block;
    line-height: 1.6;
    min-height: 28px;
  }
  .inventory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .automation-rules {
    gap: 12px;
  }
  .rule {
    padding: 20px;
  }
  .agenda-layout {
    grid-template-columns: 1fr;
  }
  .workshop-queue {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 20px;
  }
  .calendar-event {
    grid-template-columns: 70px 1fr auto;
  }
  .event-status {
    display: block;
  }
  .footer {
    flex-direction: column;
    gap: 5px;
  }
  .sales-summary > span:last-child {
    display: none;
  }
  .workshop-stats > div {
    padding-left: 15px;
    gap: 8px;
  }
  .workshop-stats span {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
  }
  .sidebar {
    width: 230px;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .menu-open .sidebar {
    transform: translateX(0);
    box-shadow: 20px 0 50px #12151a44;
  }
  .workspace {
    margin-left: 0;
  }
  .mobile-brand {
    display: block;
    background: none;
    padding: 5px;
  }
  .mobile-brand .icon {
    width: 23px;
    height: 23px;
  }
  .topbar {
    height: 67px;
    padding: 0 18px;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 20;
  }
  .profile-switch button {
    font-size: 12px;
    padding: 7px 12px;
  }
  .profile > .icon {
    display: none;
  }
  .profile-avatar {
    width: 29px;
    height: 29px;
    font-size: 12px;
  }
  .demo-strip {
    padding: 10px 20px;
    font-size: 12px;
  }
  .demo-strip > span {
    gap: 6px;
  }
  .demo-strip button {
    font-size: 0;
    gap: 0;
  }
  .demo-strip button .icon {
    width: 16px;
    height: 16px;
  }
  .demo-strip i {
    display: none;
  }
  main {
    padding: 25px 20px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 22px;
  }
  .page-heading > div {
    flex: 1;
    min-width: 230px;
  }
  .page-heading > .btn {
    font-size: 12px;
    padding: 9px 13px;
    min-height: 36px;
  }
  h1 {
    font-size: 29px;
    letter-spacing: -1px;
    max-width: 400px;
  }
  .eyebrow {
    font-size: 12px;
    margin-bottom: 9px;
  }
  .subheading {
    font-size: 12px;
    line-height: 1.7;
    margin-top: 9px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }
  .stat {
    padding: 16px 18px;
  }
  .stat > div {
    font-size: 12px;
  }
  .stat > strong {
    font-size: 29px;
  }
  .stat > small {
    font-size: 12px;
    min-height: 0;
  }
  .hero {
    min-height: 330px;
  }
  .hero-content {
    padding: 25px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .hero > img {
    object-position: 60% center;
  }
  .hero-shade {
    background: linear-gradient(90deg, #14191feb, #14191f66 80%, #14191f33);
  }
  .hero-label {
    font-size: 12px;
    letter-spacing: 1.1px;
  }
  .hero-caption {
    font-size: 12px;
    right: 18px;
    bottom: 17px;
  }
  .aura-card {
    display: flex;
    padding: 24px;
    gap: 0;
  }
  .aura-head h2 {
    max-width: none;
  }
  .aura-card > p {
    margin: 17px 0;
  }
  .aura-task {
    margin-bottom: 16px;
  }
  .aura-card > .btn {
    min-height: 42px;
    margin-top: 4px;
  }
  .simulation-note {
    text-align: center;
    margin-top: 10px;
    align-self: auto;
  }
  .panel-head {
    padding: 19px 18px 15px;
  }
  .panel-head h2 {
    font-size: 13px;
  }
  .panel-head .btn {
    font-size: 12px;
  }
  .panel-head p {
    font-size: 12px;
  }
  .two-columns {
    gap: 20px;
  }
  .appointment-list {
    display: block;
    padding: 0 20px;
  }
  .appointment {
    padding: 15px 0;
  }
  .appointment strong,
  .person strong {
    font-size: 12px;
  }
  .appointment small,
  .person small {
    font-size: 12px;
  }
  .team-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 5px 20px 22px;
  }
  .team-row > div > span {
    font-size: 12px;
  }
  .team-row small {
    font-size: 12px;
  }
  .footer {
    padding: 0 20px 24px;
    font-size: 12px;
  }
  .sales-summary {
    font-size: 12px;
    gap: 15px;
  }
  .inventory-grid {
    grid-template-columns: 1fr;
  }
  .vehicle-photo img {
    margin-top: 20px;
  }
  .vehicle-details {
    padding: 16px 24px 22px;
  }
  .automation-rules {
    grid-template-columns: 1fr;
  }
  .rule {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 5px 15px;
    padding: 22px;
  }
  .rule-icon {
    grid-row: 1/4;
    margin: 0;
  }
  .rule h2 {
    font-size: 14px;
  }
  .rule p {
    font-size: 12px;
    min-height: 0;
  }
  .rule-state {
    margin: 8px 0 0;
    grid-column: 2;
  }
  .message-list {
    padding-inline: 18px;
  }
  .message-row {
    gap: 10px;
  }
  .message-row strong {
    font-size: 12px;
  }
  .message-row small {
    font-size: 12px;
  }
  .message-tag {
    display: none;
  }
  .message-icon {
    width: 30px;
    height: 30px;
  }
  .search {
    padding: 9px 12px;
    gap: 8px;
  }
  .search input {
    width: 170px;
    font-size: 12px;
  }
  .search span {
    display: none;
  }
  .list-toolbar > .muted {
    font-size: 12px;
  }
  .workshop-stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    padding: 18px 0;
  }
  .workshop-stats > div {
    padding-left: 20px;
  }
  .workshop-stats > div:nth-child(3) {
    border: 0;
    padding-left: 0;
  }
  .workshop-stats b {
    font-size: 26px;
  }
  .workshop-stats span {
    font-size: 12px;
  }
  .calendar-toolbar {
    padding: 15px 10px;
    gap: 3px;
  }
  .calendar-toolbar h2 {
    font-size: 12px;
  }
  .calendar-toolbar .icon-btn {
    width: 24px;
    height: 32px;
  }
  .calendar-toolbar .today-button {
    font-size: 12px;
    padding: 4px 6px;
  }
  .segmented {
    padding: 3px;
  }
  .segmented button {
    padding: 4px 7px;
    font-size: 12px;
  }
  .week-strip {
    padding: 12px 8px;
    gap: 3px;
  }
  .week-strip button {
    padding: 8px;
  }
  .week-strip strong {
    font-size: 18px;
  }
  .week-strip span {
    font-size: 12px;
  }
  .calendar-scroll {
    max-height: 510px;
  }
  .time-grid {
    grid-template-columns: 41px repeat(var(--days), minmax(0, 1fr));
    padding-right: 8px;
    gap: 5px;
  }
  .calendar-event {
    grid-template-columns: 43px minmax(0, 1fr);
    padding: 8px;
    gap: 7px;
  }
  .calendar-event strong {
    font-size: 12px;
  }
  .calendar-event .event-status {
    display: none;
  }
  .calendar-event > span:first-child {
    font-size: 12px;
  }
  .calendar-event i {
    font-size: 12px;
  }
  .event-position {
    left: 4px;
    right: 4px;
  }
  .calendar-legend {
    padding: 12px;
    gap: 12px;
  }
  .calendar-legend > span {
    font-size: 12px;
  }
  .workshop-queue {
    display: block;
    padding: 0 18px 6px;
  }
  .queue-item > div {
    flex-wrap: nowrap;
  }
  .queue-item strong {
    font-size: 13px;
  }
  .queue-item .badge {
    font-size: 12px;
  }
  .queue-item p {
    font-size: 12px;
  }
  .queue-item > small {
    font-size: 12px;
  }
  .queue-item .btn {
    min-height: 42px;
    font-size: 12px;
  }
  .tour-bar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
  }
  .tour-bar > div {
    min-width: 190px;
  }
  .tour-bar > div strong {
    font-size: 12px;
  }
  .tour-bar p {
    font-size: 12px;
  }
  .tour-bar .btn {
    margin-left: 40px;
  }
  .tour-bar .icon-btn {
    margin-left: auto;
  }
  dialog {
    width: 100%;
    max-width: 480px;
  }
  .drawer-body {
    padding: 25px;
  }
  .drawer-top {
    padding: 15px 23px;
  }
  .drawer-body > h2 {
    font-size: 25px;
  }
  #toast {
    left: 50%;
    font-size: 12px;
    width: max-content;
    bottom: 20px;
  }
  .profile-options small {
    font-size: 12px;
  }
  .mail h2 {
    font-size: 20px;
  }
  .btn {
    min-height: 44px;
  }
  .icon-btn {
    min-width: 36px;
    min-height: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Ajustes tras la primera revisión visual. */
.mobile-scrim {
  display: none;
}
.event-position {
  right: auto;
  left: calc(5px + (100% - 10px) * var(--column) / var(--count));
  width: calc((100% - 10px) / var(--count) - 3px);
}
.calendar-event {
  height: 41px;
  min-height: 41px;
  padding-block: 5px;
}
.calendar-event strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-toolbar h2 {
  text-transform: none;
}
.calendar-toolbar h2::first-letter {
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .menu-open .mobile-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #16202a66;
    z-index: 25;
  }
  .calendar-event strong {
    font-size: 12px;
  }
  .calendar-event > span:first-child {
    font-size: 12px;
  }
  .calendar-event i {
    font-size: 12px;
  }
  .calendar-event {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .weekly .calendar-event {
    display: block;
  }
  .weekly .calendar-event strong {
    font-size: 12px;
  }
  .footer {
    font-size: 12px;
  }
}

/* Legibilidad validada sobre la página publicada. */
:root{--muted:#616b74}
.brand small{font-size:11px;letter-spacing:1px}.nav-caption{font-size:10px}.hero-label{font-size:10px}.hero-caption{font-size:10px}.powered{font-size:11px}.powered span{font-size:11px}
.subheading,.eyebrow,.stat>div,.stat>small,.panel-head p,.person small,.appointment small,.appointment time,.simulation-note,.aura-card>p,.aura-task small,.team-row small,.team-row b,.footer,.cell-small,.table-note,.list-toolbar>.muted,.column-empty,.deal-card p,.deal-source,.vehicle-details small,.stock-locations,.rule p,.message-row small,.workshop-stats span,.time-axis,.calendar-empty,.calendar-legend>span,.calendar-legend small,.queue-item p,.queue-item>small,.panel-intro,.field>span,.fine-print,.detail-facts span,.document small,.timeline p,.profile-options small,.mail-meta,.mail-body,.mail-signature,.mail footer{color:#616b74}
th{color:#65717b}.profile-switch button,.segmented button{color:#5e6770}.demo-strip,.demo-strip button{color:#646c74}.person strong,.appointment strong{font-size:12px}.hero-label{display:block;max-width:320px}.detail-note{color:#66727e}.preview-label{color:#806239}.quote-estimate>span,.quote-estimate>div,.quote-estimate strong small{color:#79616b}.email-hint span{color:#765665}.message-tag{color:#80603d}.calendar-event i{color:inherit}.stock-badge{color:#496652}.rule-state{color:#50765c}.aura-task strong{font-size:12px}
@media(max-width:760px){.profile-switch button{padding-inline:9px}.demo-strip{font-size:10px}.demo-strip button{font-size:0}.hero-label{font-size:9px}.hero-caption{font-size:9px}.calendar-toolbar h2{font-size:12px}.calendar-toolbar .today-button,.segmented button{font-size:11px}.week-strip span{font-size:11px}.calendar-event strong{font-size:11px}.calendar-event>span:first-child{font-size:10px}.calendar-event i{font-size:9px}.weekly .calendar-event strong{font-size:10px}.calendar-legend>span{font-size:10px}.calendar-legend{gap:8px}.queue-item .badge{font-size:11px}.profile-options small{font-size:11px}}
/* Contraste final de etiquetas y estados. */
.nav-caption{font-size:12px;letter-spacing:1px}.hero-label,.hero-caption,.powered,.powered span{font-size:12px}.hero-caption{letter-spacing:1px}.aura-head h2{max-width:none;text-wrap:balance}.tint-1{color:#536078}.tint-2{color:#486653}.tint-3{color:#775461}.badge{color:#5e636b}.badge.credito,.badge.evaluacion,.badge.taller{color:#775a30}.badge.cotizado,.badge.confirmada,.badge.contactado{color:#4c6183}
@media(max-width:760px){.hero-label{font-size:11px}.hero-caption{font-size:11px}}
