.asl-app-page {
  overflow-x: clip;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 58%, #eef3f8 100%);
}

[data-theme="dark"] .asl-app-page {
  background: linear-gradient(135deg, #03070d 0%, #071626 58%, #050a12 100%);
}

.asl-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
}

[data-route="login"] .asl-shell {
  display: block;
}

[data-route="login"] .asl-sidebar,
[data-route="login"] .asl-bottom-nav {
  display: none;
}

[data-route="login"] .asl-main {
  min-height: 100vh;
  display: grid;
  align-content: start;
}

.asl-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, .58);
  backdrop-filter: blur(22px);
  padding: 24px;
}

[data-theme="dark"] .asl-sidebar {
  background: rgba(5, 10, 18, .66);
}

.asl-brand {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.asl-brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: var(--brand-orange-contrast, #0d1b2a);
  font-weight: 950;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--orange) 22%, transparent);
}

.asl-brand-copy strong,
.asl-brand-copy small {
  display: block;
}

.asl-brand-copy strong {
  font-size: 1.05rem;
  font-weight: 950;
}

.asl-brand-copy small {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 850;
}

.asl-side-profile {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--card) 88%, var(--orange) 5%);
  padding: 16px;
}

.asl-side-profile strong,
.asl-side-profile small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asl-side-profile > span:not(.asl-avatar) {
  min-width: 0;
}

.asl-side-profile small {
  margin-top: 3px;
  color: var(--muted);
  font-size: .8rem;
}

.asl-avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: var(--brand-orange-contrast, #0d1b2a);
  font-weight: 950;
}

.asl-avatar-lg {
  width: 68px;
  height: 68px;
  border-radius: 24px;
  font-size: 1.35rem;
  box-shadow: 0 20px 38px color-mix(in srgb, var(--orange) 22%, transparent);
}

.asl-nav {
  display: grid;
  gap: 8px;
}

.asl-nav-item {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  padding: 9px 12px;
  font-weight: 850;
}

.asl-nav-item:hover,
.asl-nav-item.is-active {
  border-color: color-mix(in srgb, var(--orange) 25%, transparent);
  background: color-mix(in srgb, var(--orange) 8%, var(--card));
  color: var(--text);
}

.asl-nav-item.is-disabled {
  opacity: .62;
}

.asl-nav-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 8px;
  background: color-mix(in srgb, currentColor 10%, transparent);
  color: var(--orange);
}

[data-icon] svg {
  width: 20px;
  height: 20px;
  display: block;
}

.asl-sidebar-footer {
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  color: var(--muted);
  padding: 16px;
  font-size: .84rem;
  line-height: 1.35;
}

.asl-sidebar-footer strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-weight: 950;
}

.asl-main {
  min-width: 0;
  padding: 28px;
}

.asl-mobile-brand {
  display: none;
}

.asl-topbar,
.asl-content {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.asl-topbar {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.asl-title-block {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}

.asl-title-block p,
.asl-title-block h1 {
  margin: 0;
}

.asl-title-block p {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 750;
}

.asl-title-block h1 {
  font-size: clamp(2.25rem, 4vw, 4.1rem);
  line-height: .95;
  font-weight: 950;
}

.asl-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.asl-content {
  display: grid;
  gap: 22px;
  padding-bottom: 48px;
}

.asl-page-head,
.asl-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
  box-shadow: 0 18px 44px rgba(22, 34, 51, .07);
  padding: 24px;
}

.asl-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.asl-page-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.asl-page-head h2,
.asl-page-head p,
.asl-section-head h2,
.asl-kicker {
  margin: 0;
}

.asl-page-head h2,
.asl-section-head h2 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.1;
}

.asl-page-head p:not(.asl-kicker) {
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.asl-kicker {
  color: var(--orange);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.asl-api-status {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  padding: 0 14px;
  color: var(--muted);
  font-weight: 850;
  white-space: nowrap;
}

.asl-api-status.is-ok {
  color: var(--success);
}

.asl-api-status.is-error {
  color: var(--danger);
}

.asl-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.asl-grid {
  display: grid;
  gap: 16px;
}

.asl-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asl-section {
  display: grid;
  gap: 18px;
}

.asl-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.asl-form-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
}

.asl-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asl-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 18px;
}

.asl-login-panel,
.asl-login-aside,
.asl-session-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow: 0 18px 44px rgba(22, 34, 51, .07);
}

.asl-login-panel {
  min-height: 560px;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(24px, 5vw, 54px);
}

.asl-login-head {
  max-width: 680px;
}

.asl-login-head h2,
.asl-login-head p {
  margin: 0;
}

.asl-login-head h2 {
  margin-top: 6px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  font-weight: 950;
}

.asl-login-head p:not(.asl-kicker) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.asl-login-form {
  max-width: 760px;
}

.asl-auth-message {
  min-height: 24px;
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 800;
}

.asl-auth-message.is-error {
  color: var(--danger);
}

.asl-auth-message.is-ok {
  color: var(--success);
}

.asl-login-form .asl-primary-btn {
  grid-column: 1 / -1;
}

.asl-login-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
}

.asl-login-actions .asl-primary-btn {
  grid-column: auto;
}

.asl-registration-terms {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
}

.asl-registration-terms input {
  inline-size: 18px;
  block-size: 18px;
  margin: 1px 0 0;
}

.asl-channel-group {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.asl-channel-group legend {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 900;
}

.asl-channel-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.asl-channel-option {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  cursor: pointer;
}

.asl-channel-option input {
  grid-row: 1 / span 2;
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.asl-channel-option strong,
.asl-channel-option small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.asl-channel-option small {
  color: var(--muted);
  font-weight: 800;
}

.asl-login-aside {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.asl-login-aside .asl-api-status {
  width: 100%;
}

.asl-login-checklist {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-blue);
  padding: 18px;
}

.asl-login-checklist [data-icon] {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue);
  color: var(--brand-blue-contrast, #fff);
}

.asl-login-checklist strong,
.asl-login-checklist small {
  display: block;
}

.asl-login-checklist small {
  color: var(--muted);
  line-height: 1.4;
}

.asl-session-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.asl-session-list[hidden] {
  display: none;
}

.asl-session-list div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 16px;
}

.asl-session-list dt {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.asl-session-list dd {
  margin: 6px 0 0;
  font-size: 1.05rem;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.asl-session-actions {
  display: flex;
  justify-content: flex-end;
}

.asl-dashboard {
  display: grid;
  gap: 18px;
}

.asl-condutores,
.asl-cotacoes,
.asl-reservas {
  display: grid;
  gap: 18px;
}

.asl-reservas-hero {
  min-height: 172px;
}

.asl-reserva-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.asl-reserva-stats article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  box-shadow: 0 14px 34px rgba(22, 34, 51, .06);
  padding: 18px;
}

.asl-reserva-stats strong,
.asl-reserva-stats span {
  display: block;
}

.asl-reserva-stats span {
  margin-top: 6px;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 780;
  line-height: 1.42;
}

.asl-reserva-filter {
  grid-template-columns: minmax(0, 1fr) auto;
}

.asl-reservas-table {
  min-width: 860px;
}

.asl-checkout-flow[hidden] {
  display: none;
}

.asl-stepper {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.asl-stepper span {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  font-size: .76rem;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.asl-stepper span.is-active {
  border-color: color-mix(in srgb, var(--orange) 34%, var(--line));
  background: var(--soft-orange);
  color: var(--orange);
}

.asl-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 14px;
}

.asl-checkout-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 92%, transparent);
  padding: 18px;
}

.asl-checkout-panel h3,
.asl-checkout-panel h4 {
  margin: 0;
}

.asl-checkout-panel h3 {
  font-size: 1.05rem;
}

.asl-checkout-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.asl-checkout-summary div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 12px;
}

.asl-checkout-summary dt {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.asl-checkout-summary dd {
  margin: 5px 0 0;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.asl-choice-list,
.asl-addon-grid,
.asl-status-timeline {
  display: grid;
  gap: 10px;
}

.asl-choice {
  min-height: 88px;
  display: grid;
  justify-items: start;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  padding: 14px;
  text-align: left;
}

.asl-choice.is-active {
  border-color: color-mix(in srgb, var(--orange) 42%, var(--line));
  background: var(--soft-orange);
}

.asl-choice:disabled {
  cursor: not-allowed;
  opacity: .78;
}

.asl-choice span,
.asl-choice small,
.asl-addon small {
  color: var(--muted);
  font-weight: 800;
}

.asl-addon-grid h4 {
  color: var(--text);
  font-size: .95rem;
}

.asl-addon {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 12px;
}

.asl-addon input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.asl-addon span,
.asl-addon strong,
.asl-addon small {
  min-width: 0;
  display: block;
  overflow-wrap: anywhere;
}

.asl-segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.asl-segmented label {
  min-height: 48px;
  display: grid;
}

.asl-segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.asl-segmented span {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  font-weight: 950;
}

.asl-segmented input:checked + span {
  border-color: color-mix(in srgb, var(--orange) 40%, var(--line));
  background: var(--soft-orange);
  color: var(--orange);
}

.asl-payment-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asl-payment-box {
  display: grid;
  gap: 12px;
}

.asl-pix-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.asl-qr,
.asl-qr-fallback {
  width: 170px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #111827;
  overflow: hidden;
}

.asl-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.asl-qr-fallback {
  padding: 12px;
  font-size: .78rem;
  font-weight: 950;
  text-align: center;
  overflow-wrap: anywhere;
}

.asl-pix-copy {
  display: grid;
  gap: 8px;
}

.asl-pix-copy textarea {
  min-height: 116px;
  font-size: .82rem;
}

.asl-status-timeline {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.asl-status-timeline span {
  min-height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  font-size: .68rem;
  font-weight: 950;
  text-align: center;
  overflow-wrap: anywhere;
}

.asl-status-timeline span.is-active {
  border-color: color-mix(in srgb, var(--success) 34%, var(--line));
  background: color-mix(in srgb, var(--success) 12%, var(--card));
  color: var(--success);
}

.asl-voucher {
  margin-top: 16px;
}

.asl-dashboard-hero {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--orange) 13%, transparent), transparent 42%),
    color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow: 0 18px 44px rgba(22, 34, 51, .07);
  padding: 24px;
}

.asl-dashboard-copy {
  max-width: 820px;
}

.asl-dashboard-copy h2,
.asl-dashboard-copy p,
.asl-empty-state h2,
.asl-empty-state p {
  margin: 0;
}

.asl-dashboard-copy h2 {
  margin-top: 6px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1;
}

.asl-dashboard-copy p:not(.asl-kicker),
.asl-empty-state p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.asl-dashboard-loading {
  min-height: 230px;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  box-shadow: 0 18px 44px rgba(22, 34, 51, .07);
  padding: 24px;
}

.asl-dashboard-body {
  display: grid;
  gap: 18px;
}

.asl-dashboard-body[hidden] {
  display: none;
}

.asl-summary-grid,
.asl-shortcut-grid {
  display: grid;
  gap: 14px;
}

.asl-summary-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asl-summary-card {
  min-height: 132px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 18px;
}

.asl-summary-card strong {
  margin-top: 4px;
  font-size: 1.05rem;
}

.asl-summary-card span:last-child {
  color: var(--muted);
  line-height: 1.35;
}

.asl-shortcut-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asl-shortcut {
  min-width: 0;
  min-height: 138px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  padding: 16px;
  text-align: left;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.asl-shortcut:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--orange) 32%, var(--line));
  box-shadow: 0 14px 34px rgba(22, 34, 51, .08);
}

.asl-shortcut:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-blue) 72%, white);
  outline-offset: 4px;
}

.asl-shortcut [data-icon] {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-orange);
  color: var(--orange);
}

.asl-shortcut strong,
.asl-shortcut small {
  min-width: 0;
  overflow-wrap: anywhere;
}

.asl-shortcut small {
  color: var(--muted);
  font-weight: 800;
}

.asl-empty-state {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px dashed color-mix(in srgb, var(--orange) 34%, var(--line));
  border-radius: 8px;
  background: var(--soft-orange);
  padding: 22px;
}

.asl-empty-state > [data-icon] {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--card);
  color: var(--orange);
}

.asl-empty-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.asl-bottom-nav {
  display: none;
}

@media (max-width: 980px) {
  .asl-shell {
    display: block;
    padding-bottom: calc(var(--bottom-nav) + env(safe-area-inset-bottom));
  }

  .asl-sidebar {
    display: none;
  }

  .asl-main {
    padding: 0;
  }

  .asl-mobile-brand {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px 6px;
  }

  .asl-mobile-brand .asl-brand {
    justify-content: flex-start;
    min-height: 50px;
  }

  .asl-topbar,
  .asl-content {
    max-width: none;
    padding-left: 18px;
    padding-right: 18px;
  }

  .asl-topbar {
    display: block;
    min-height: 0;
    margin-bottom: 0;
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .asl-top-actions {
    display: none;
  }

  .asl-title-block {
    align-items: flex-start;
  }

  .asl-title-block h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .asl-page-head,
  .asl-section-head,
  .asl-page-actions {
    display: grid;
    justify-content: stretch;
  }

  .asl-api-status,
  .asl-search {
    width: 100%;
  }

  .asl-dashboard-hero,
  .asl-grid-3,
  .asl-form,
  .asl-login-layout,
  .asl-summary-grid,
  .asl-session-list,
  .asl-stepper,
  .asl-checkout-grid,
  .asl-checkout-summary,
  .asl-payment-form,
  .asl-pix-layout,
    .asl-status-timeline,
    .asl-reserva-stats,
    .asl-reserva-filter {
    grid-template-columns: 1fr;
  }

  .asl-qr,
  .asl-qr-fallback {
    width: min(100%, 220px);
    justify-self: center;
  }

  .asl-form-actions {
    align-items: stretch;
    display: grid;
  }

  .asl-shortcut-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .asl-login-panel {
    min-height: auto;
  }

  .asl-login-actions {
    grid-template-columns: 1fr;
  }

  .asl-channel-options {
    grid-template-columns: 1fr;
  }

  .asl-bottom-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    z-index: 90;
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--card) 94%, transparent);
    box-shadow: var(--shadow);
    padding: 7px;
  }

  .asl-bottom-nav .asl-nav-item {
    min-height: 52px;
    justify-content: center;
    gap: 3px;
    flex-direction: column;
    padding: 5px 3px;
    font-size: .68rem;
  }

  .asl-bottom-nav .asl-nav-icon {
    width: 28px;
    height: 28px;
  }
}

/* Cotacao/checkout reproduzindo o legado front_carroreserva/pages/cotacao. */
[data-route="cotacoes"] {
  --lp-orange: var(--orange);
  --lp-orange-dark: var(--orange-2);
  --lp-blue: var(--blue);
  --lp-blue-soft: #1d66b2;
  --bg-elevated: var(--card);
  --bg-soft: var(--soft-blue);
  --text-soft: var(--muted);
  --border: var(--line);
  --input-bg: var(--card);
  --hero-gradient: linear-gradient(135deg, color-mix(in srgb, var(--lp-orange) 14%, transparent), color-mix(in srgb, var(--lp-blue) 14%, transparent));
}

[data-route="cotacoes"] .asl-topbar {
  min-height: 74px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
}

[data-route="cotacoes"] .asl-title-block {
  min-width: 0;
}

[data-route="cotacoes"] .asl-title-block .asl-avatar {
  display: none;
}

[data-route="cotacoes"] .topbar__brand-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  padding: 6px;
}

[data-route="cotacoes"] .quote-page {
  display: grid;
  gap: 18px;
}

[data-route="cotacoes"] .hero-card,
[data-route="cotacoes"] .quote-card,
[data-route="cotacoes"] .summary-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

[data-route="cotacoes"] .hero-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background: var(--hero-gradient), var(--bg-elevated);
  transition: padding 180ms ease, min-height 180ms ease;
}

[data-route="cotacoes"] .hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%);
  pointer-events: none;
}

[data-route="cotacoes"] .hero-chip {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
}

[data-theme="dark"][data-route="cotacoes"] .hero-chip {
  border-color: rgba(255, 255, 255, .08);
  background: rgba(17, 29, 45, .86);
}

[data-route="cotacoes"] .hero-title {
  margin: 14px 0 10px;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.08;
  font-weight: 900;
  transition: margin 180ms ease, font-size 180ms ease;
}

[data-route="cotacoes"] .quote-page.is-compact-hero .hero-card {
  min-height: 0;
  padding: 14px 18px;
}

[data-route="cotacoes"] .quote-page.is-compact-hero .hero-title {
  margin: 8px 0 4px;
  font-size: 24px;
}

[data-route="cotacoes"] .quote-page.is-compact-hero .hero-text {
  max-width: 760px;
  font-size: 13px;
}

[data-route="cotacoes"] .hero-text,
[data-route="cotacoes"] .section-text,
[data-route="cotacoes"] .panel__text,
[data-route="cotacoes"] .summary-subtitle {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

[data-route="cotacoes"] .quote-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}

[data-route="cotacoes"] .quote-card,
[data-route="cotacoes"] .summary-card {
  padding: 18px;
}

[data-route="cotacoes"] .summary-card {
  position: sticky;
  top: 84px;
}

[data-route="cotacoes"] .section-title {
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.08;
}

[data-route="cotacoes"] .section-text {
  font-size: 14px;
}

[data-route="cotacoes"] .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 16px 0 18px;
}

[data-route="cotacoes"] .step {
  position: relative;
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: 10px 12px;
  opacity: .66;
  transition: border-color 180ms ease, background-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

[data-route="cotacoes"] .step__number {
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

[data-route="cotacoes"] .step__label {
  font-size: 14px;
  font-weight: 800;
}

[data-route="cotacoes"] .step.is-active {
  border-color: color-mix(in srgb, var(--lp-orange) 58%, var(--border));
  background: color-mix(in srgb, var(--lp-orange) 14%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp-orange) 10%, transparent);
  opacity: 1;
  transform: translateY(-1px);
}

[data-route="cotacoes"] .step.is-active .step__number,
[data-route="cotacoes"] .step.is-active .step__label {
  color: var(--lp-orange-dark);
}

[data-route="cotacoes"] .step.is-done {
  border-color: rgba(31, 157, 85, .18);
  background: rgba(31, 157, 85, .10);
  opacity: .92;
}

[data-route="cotacoes"] .step.is-done::after {
  content: "\2713";
  position: absolute;
  top: 8px;
  right: 10px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

[data-route="cotacoes"] .step.is-done .step__number,
[data-route="cotacoes"] .step.is-done .step__label {
  color: var(--success);
}

[data-route="cotacoes"] .panel {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: color-mix(in srgb, var(--bg-elevated) 92%, transparent);
  padding: 16px;
}

[data-route="cotacoes"] .panel + .panel {
  margin-top: 14px;
}

[data-route="cotacoes"] .panel__title {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.2;
}

[data-route="cotacoes"] .panel__text {
  margin: 0 0 16px;
  font-size: 13px;
}

[data-route="cotacoes"] .step-panel {
  display: none;
}

[data-route="cotacoes"] .step-panel.is-visible {
  display: block;
}

[data-route="cotacoes"] .grid,
[data-route="cotacoes"] .field {
  display: grid;
  gap: 8px;
}

[data-route="cotacoes"] .grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

[data-route="cotacoes"] .field + .field {
  margin-top: 0;
}

[data-route="cotacoes"] .field label {
  font-size: 13px;
  font-weight: 800;
}

[data-route="cotacoes"] .field input,
[data-route="cotacoes"] .field select,
[data-route="cotacoes"] .field textarea {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--input-bg);
  color: var(--text);
  outline: none;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
}

[data-route="cotacoes"] .field textarea {
  min-height: 90px;
  padding: 12px 14px;
  resize: vertical;
}

[data-route="cotacoes"] .field input:focus,
[data-route="cotacoes"] .field select:focus,
[data-route="cotacoes"] .field textarea:focus {
  border-color: color-mix(in srgb, var(--lp-orange) 65%, var(--border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-orange) 12%, transparent);
}

[data-route="cotacoes"] .field input:disabled,
[data-route="cotacoes"] .field select:disabled,
[data-route="cotacoes"] .field textarea:disabled {
  opacity: .72;
  cursor: not-allowed;
  background: color-mix(in srgb, var(--bg-soft) 82%, var(--bg-elevated));
}

[data-route="cotacoes"] .select2-container {
  width: 100% !important;
  max-width: 100%;
  min-width: 0;
}

[data-route="cotacoes"] .select2-container .select2-selection--single {
  min-height: 54px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--input-bg);
  max-width: 100%;
  min-width: 0;
}

[data-route="cotacoes"] .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: block;
  color: var(--text);
  line-height: 52px;
  padding-left: 16px;
  padding-right: 36px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

[data-route="cotacoes"] .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 52px;
  right: 10px;
}

[data-route="cotacoes"] .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: var(--text-soft);
}

[data-route="cotacoes"] .select2-container--default.select2-container--focus .select2-selection--single,
[data-route="cotacoes"] .select2-container--default.select2-container--open .select2-selection--single {
  border-color: color-mix(in srgb, var(--lp-orange) 65%, var(--border));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lp-orange) 12%, transparent);
}

[data-route="cotacoes"] .select2-container--default.select2-container--disabled .select2-selection--single {
  opacity: .65;
  cursor: not-allowed;
}

.select2-dropdown {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(22, 34, 51, .14);
}

.select2-container--default .select2-results__option--selectable {
  color: var(--text);
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background: var(--lp-orange, #ff7a00);
  color: var(--brand-orange-contrast, #0d1b2a);
}

.select2-search--dropdown .select2-search__field {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--input-bg);
  color: var(--text);
  outline: none;
}

[data-route="cotacoes"] .note,
[data-route="cotacoes"] .status-box {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  font-size: 13px;
  line-height: 1.55;
}

[data-route="cotacoes"] .note--info,
[data-route="cotacoes"] .status-box--info {
  border-color: color-mix(in srgb, var(--lp-blue) 22%, var(--border));
  background: color-mix(in srgb, var(--lp-blue) 10%, transparent);
  color: var(--text);
}

[data-route="cotacoes"] .note--warning,
[data-route="cotacoes"] .status-box--warning {
  border-color: rgba(183, 121, 31, .20);
  background: rgba(183, 121, 31, .12);
  color: var(--warning);
}

[data-route="cotacoes"] .status-box--success {
  border-color: rgba(31, 157, 85, .22);
  background: rgba(31, 157, 85, .10);
  color: var(--text);
}

[data-route="cotacoes"] .status-box--error {
  border-color: rgba(214, 59, 59, .22);
  background: rgba(214, 59, 59, .10);
  color: var(--text);
}

[data-route="cotacoes"] .payment-polling-status {
  display: grid;
  gap: 3px;
  margin-top: 10px;
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--soft-blue) 78%, var(--card));
  color: var(--text);
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.4;
}

[data-route="cotacoes"] .payment-polling-status span {
  color: var(--muted);
}

[data-route="cotacoes"] .selection-grid,
[data-route="cotacoes"] .service-grid,
[data-route="cotacoes"] .payment-grid {
  display: grid;
  gap: 12px;
}

[data-route="cotacoes"] .option-card,
[data-route="cotacoes"] .service-card,
[data-route="cotacoes"] .pay-card {
  position: relative;
  display: block;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: 14px;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

[data-route="cotacoes"] .option-card.is-selected,
[data-route="cotacoes"] .service-card.is-selected,
[data-route="cotacoes"] .pay-card.is-selected {
  border-color: color-mix(in srgb, var(--lp-orange) 78%, var(--border));
  background: color-mix(in srgb, var(--lp-orange) 10%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--lp-orange) 10%, transparent), 0 12px 28px rgba(22, 34, 51, .08);
  transform: translateY(-1px);
}

[data-route="cotacoes"] .option-card:focus-within,
[data-route="cotacoes"] .service-card:focus-within,
[data-route="cotacoes"] .pay-card:focus-within {
  outline: 3px solid color-mix(in srgb, var(--lp-orange) 62%, white);
  outline-offset: 3px;
}

[data-route="cotacoes"] .selection-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: transparent;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-3px) scale(.92);
  transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

[data-route="cotacoes"] .selection-check::before {
  content: "\2713";
}

[data-route="cotacoes"] .is-selected > .selection-check {
  border-color: var(--lp-orange);
  background: var(--lp-orange);
  color: var(--brand-orange-contrast, #0d1b2a);
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-route="cotacoes"] .check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

[data-route="cotacoes"] .check-row input {
  margin-top: 4px;
  transform: scale(1.1);
  accent-color: var(--lp-orange);
}

[data-route="cotacoes"] .option-card strong,
[data-route="cotacoes"] .service-card strong,
[data-route="cotacoes"] .pay-card strong {
  display: block;
  font-size: 14px;
}

[data-route="cotacoes"] .option-card span,
[data-route="cotacoes"] .service-card span,
[data-route="cotacoes"] .pay-card span {
  display: block;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

[data-route="cotacoes"] .service-card__description {
  margin-top: 10px;
}

[data-route="cotacoes"] .service-card__price-lines {
  margin-top: 4px;
}

[data-route="cotacoes"] .service-card__price-lines span {
  color: var(--text);
  font-weight: 700;
}

[data-route="cotacoes"] .option-card__media {
  width: 100%;
  aspect-ratio: 16 / 8;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elevated);
  margin-bottom: 12px;
}

[data-route="cotacoes"] .option-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-route="cotacoes"] .option-card__meta,
[data-route="cotacoes"] .service-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

[data-route="cotacoes"] .pill {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-soft);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}

[data-route="cotacoes"] .pill--warning {
  border-color: rgba(180, 83, 9, .28);
  background: rgba(255, 247, 237, .95);
  color: #9a3412;
}

[data-route="cotacoes"] .pill--info {
  border-color: rgba(37, 99, 235, .22);
  background: rgba(239, 246, 255, .95);
  color: #1d4ed8;
}

[data-route="cotacoes"] .panel-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

[data-route="cotacoes"] .panel-actions .btn {
  min-width: 148px;
}

[data-route="cotacoes"] .btn.is-loading {
  opacity: .82;
}

[data-route="cotacoes"] .summary-title {
  margin: 0 0 6px;
  font-size: 22px;
}

[data-route="cotacoes"] .summary-subtitle {
  margin: 0 0 16px;
  font-size: 14px;
}

[data-route="cotacoes"] .summary-box {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: 14px 16px;
}

[data-route="cotacoes"] .summary-box + .summary-box {
  margin-top: 12px;
}

[data-route="cotacoes"] .summary-box strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

[data-route="cotacoes"] .summary-item,
[data-route="cotacoes"] .summary-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

[data-route="cotacoes"] .summary-item {
  border-bottom: 1px solid rgba(128, 128, 128, .12);
  padding: 8px 0;
  font-size: 13px;
}

[data-route="cotacoes"] .summary-item:last-child {
  border-bottom: 0;
}

[data-route="cotacoes"] .summary-item span:first-child {
  color: var(--text-soft);
}

[data-route="cotacoes"] .summary-total {
  align-items: center;
  border-top: 1px solid var(--border);
  margin-top: 14px;
  padding-top: 14px;
}

[data-route="cotacoes"] .summary-item span:last-child,
[data-route="cotacoes"] .summary-total strong:last-child {
  text-align: right;
}

[data-route="cotacoes"] .summary-total strong:last-child {
  color: var(--lp-orange-dark);
  font-size: 20px;
}

[data-route="cotacoes"] .payment-section {
  display: none;
  margin-top: 16px;
}

[data-route="cotacoes"] .payment-section.is-visible {
  display: block;
}

[data-route="cotacoes"] .driver-status-wrap { margin-bottom: 18px; }
[data-route="cotacoes"] .driver-status-actions,
[data-route="cotacoes"] .driver-inline-form { margin-top: 12px; }
[data-route="cotacoes"] .driver-status-actions { display: flex; flex-wrap: wrap; gap: 10px; }
[data-route="cotacoes"] .driver-inline-form { padding: 14px; border: 1px solid color-mix(in srgb, var(--warning) 25%, var(--border)); border-radius: 14px; background: color-mix(in srgb, var(--warning) 7%, var(--card)); }
[data-route="cotacoes"] .driver-inline-form > p { margin: 0 0 12px; }

[data-route="cotacoes"] .voucher-credit-overview,
[data-route="cotacoes"] .voucher-credit-applied { display:grid; gap:7px; margin-top:16px; border:1px solid color-mix(in srgb,var(--success) 30%,var(--border)); border-radius:14px; background:color-mix(in srgb,var(--success) 8%,var(--bg-soft)); padding:13px 14px; }
[data-route="cotacoes"] .voucher-credit-overview strong,[data-route="cotacoes"] .voucher-credit-applied>strong { font-size:14px; }
[data-route="cotacoes"] .voucher-credit-overview span,[data-route="cotacoes"] .voucher-credit-overview small { color:var(--muted); font-size:12px; line-height:1.4; }
[data-route="cotacoes"] .voucher-credit-overview b { color:var(--text); }
[data-route="cotacoes"] .voucher-credit-applied>div { display:flex; justify-content:space-between; gap:12px; color:var(--muted); font-size:13px; }
[data-route="cotacoes"] .voucher-credit-applied b { color:var(--text); text-align:right; }
[data-route="cotacoes"] .voucher-credit-applied__discount b,[data-route="cotacoes"] .summary-voucher-credit span:last-child { color:var(--success); }
[data-route="cotacoes"] .voucher-credit-applied__residual { border-top:1px solid var(--border); margin-top:3px; padding-top:10px; }
[data-route="cotacoes"] .voucher-credit-applied__residual b,[data-route="cotacoes"] .summary-voucher-subtotal span:last-child { font-weight:900; }

body.asl-checkout-processing {
  overflow: hidden;
}

[data-route="cotacoes"] .checkout-processing-overlay,
[data-route="reservas"] .checkout-processing-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 18, 28, .64);
  backdrop-filter: blur(6px);
}

[data-route="cotacoes"] .checkout-processing-dialog,
[data-route="reservas"] .checkout-processing-dialog {
  width: min(100%, 420px);
  display: grid;
  justify-items: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 24px;
  background: #0f1d2b;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  color: #f8fbff;
  padding: 28px 24px;
  text-align: center;
}

[data-route="cotacoes"] .checkout-processing-dialog strong,
[data-route="reservas"] .checkout-processing-dialog strong {
  font-size: 20px;
}

[data-route="cotacoes"] .checkout-processing-dialog p,
[data-route="reservas"] .checkout-processing-dialog p {
  margin: 0;
  color: rgba(248, 251, 255, .82);
  line-height: 1.6;
}

[data-route="cotacoes"] .checkout-processing-spinner,
[data-route="reservas"] .checkout-processing-spinner {
  width: 54px;
  height: 54px;
  border: 4px solid rgba(255, 255, 255, .18);
  border-top-color: var(--lp-orange);
  border-radius: 999px;
  animation: asl-checkout-spin .9s linear infinite;
}

@keyframes asl-checkout-spin {
  to {
    transform: rotate(360deg);
  }
}

[data-route="cotacoes"] .payment-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

[data-route="cotacoes"] .card-payment-panel {
  display: grid;
  gap: 14px;
  border: 1px solid color-mix(in srgb, var(--border) 86%, var(--orange));
  border-radius: 18px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--soft-blue) 74%, transparent), transparent 42%),
    color-mix(in srgb, var(--bg-elevated) 94%, var(--card));
  padding: 16px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .08);
}

[data-route="cotacoes"] .card-payment-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 2px 2px 4px;
}

[data-route="cotacoes"] .card-payment-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

[data-route="cotacoes"] .card-payment-hero .panel__title,
[data-route="cotacoes"] .card-payment-hero .panel__text {
  margin-bottom: 0;
}

[data-route="cotacoes"] .card-payment-trust {
  flex: 0 0 auto;
  max-width: 170px;
  border: 1px solid color-mix(in srgb, var(--success) 30%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--success) 13%, var(--card));
  color: var(--text);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

[data-route="cotacoes"] .card-payment-group {
  display: grid;
  gap: 13px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: color-mix(in srgb, var(--card) 88%, var(--bg-soft));
  padding: 14px;
}

[data-route="cotacoes"] .card-payment-group-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

[data-route="cotacoes"] .card-payment-group-head > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

[data-route="cotacoes"] .card-payment-group-head strong {
  font-size: 15px;
  line-height: 1.2;
}

[data-route="cotacoes"] .card-payment-group-head small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

[data-route="cotacoes"] .card-payment-step {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--brand-blue-contrast, #fff);
  font-size: 13px;
  font-weight: 900;
}

[data-route="cotacoes"] .card-payment-grid {
  gap: 12px;
}

[data-route="cotacoes"] .card-payment-panel .field input,
[data-route="cotacoes"] .card-payment-panel .field select {
  border-radius: 12px;
}

[data-route="cotacoes"] .card-payment-panel .field input::placeholder {
  color: color-mix(in srgb, var(--muted) 76%, transparent);
}

[data-route="cotacoes"] .card-payment-note {
  display: grid;
  gap: 4px;
  border: 1px solid color-mix(in srgb, var(--orange) 28%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--soft-orange) 58%, var(--card));
  padding: 13px 14px;
}

[data-route="cotacoes"] .card-payment-note strong {
  color: var(--text);
  font-size: 13px;
}

[data-route="cotacoes"] .card-payment-note span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

[data-route="cotacoes"] .summary-financial-cost span:last-child,
.asl-prorrogacao-review [data-prorrogacao-card-payment-cost],
.asl-prorrogacao-review [data-prorrogacao-installment-cost],
.asl-prorrogacao-review [data-prorrogacao-installments],
.asl-prorrogacao-review [data-prorrogacao-anticipation-cost] {
  color: var(--brand-blue);
  font-weight: 950;
}

.asl-modal-subtitle {
  max-width: 620px;
  margin-top: 8px !important;
  color: var(--muted);
  line-height: 1.45;
}

[data-route="cotacoes"] .pix-box {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: 16px;
}

[data-route="cotacoes"] .pix-box strong {
  display: block;
  margin-bottom: 4px;
}

[data-route="cotacoes"] .pix-box__image {
  width: min(220px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-elevated);
}

[data-route="cotacoes"] .pix-box__image img,
[data-route="cotacoes"] .pix-box__image canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

[data-route="cotacoes"] .pix-box__timer {
  color: var(--lp-orange-dark);
  font-size: 28px;
  font-weight: 900;
}

@media (min-width: 768px) {
  [data-route="cotacoes"] .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  [data-route="cotacoes"] .field--span-2 {
    grid-column: span 2;
  }

  [data-route="cotacoes"] .selection-grid,
  [data-route="cotacoes"] .service-grid,
  [data-route="cotacoes"] .payment-grid,
  [data-route="cotacoes"] .payment-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [data-route="cotacoes"] .card-payment-grid .field--span-2 {
    grid-column: span 2;
  }

  [data-route="cotacoes"] .panel-actions {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  [data-route="cotacoes"] .quote-layout {
    grid-template-columns: minmax(0, 1.35fr) 360px;
  }
}

@media (max-width: 720px) {
  [data-route="cotacoes"] .steps {
    grid-template-columns: 1fr;
  }

  [data-route="cotacoes"] .summary-card {
    position: static;
  }

  [data-route="cotacoes"] .card-payment-hero {
    display: grid;
  }

  [data-route="cotacoes"] .card-payment-trust {
    max-width: none;
    justify-self: start;
    text-align: left;
  }

}

@media (prefers-reduced-motion: reduce) {
  [data-route="cotacoes"] .hero-card,
  [data-route="cotacoes"] .hero-title,
  [data-route="cotacoes"] .step,
  [data-route="cotacoes"] .option-card,
  [data-route="cotacoes"] .service-card,
  [data-route="cotacoes"] .pay-card,
  [data-route="cotacoes"] .selection-check {
    transition: none;
    transform: none;
  }
}

@media (max-width: 420px) {
  .asl-mobile-brand,
  .asl-topbar,
  .asl-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .asl-title-block {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .asl-avatar-lg {
    width: 50px;
    height: 50px;
    border-radius: 18px;
  }

  .asl-title-block h1 {
    overflow-wrap: anywhere;
  }

  .asl-shortcut-grid,
  .asl-empty-state {
    grid-template-columns: 1fr;
  }
}

/* Fase 4.R - realinhamento visual ao legado front_carroreserva. */
.asl-app-page {
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--brand-orange, var(--orange)) 12%, transparent), transparent 25%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--brand-blue, var(--blue)) 18%, transparent), transparent 24%),
    var(--bg);
}

.asl-shell,
[data-route="login"] .asl-shell {
  min-height: 100vh;
  display: block;
}

.asl-sidebar,
.asl-mobile-brand,
.asl-bottom-nav {
  display: none !important;
}

.asl-main {
  min-width: 0;
  padding: 0;
}

.asl-topbar,
.asl-content {
  width: 100%;
  max-width: none;
}

.asl-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.asl-title-block {
  gap: 10px;
}

.asl-title-block p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 800;
}

.asl-title-block h1 {
  margin-top: 3px;
  max-width: 72vw;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asl-avatar-lg {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  font-size: .78rem;
  box-shadow: var(--shadow);
}

.asl-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.asl-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
  padding: 18px 16px 34px;
}

.asl-page-head,
.asl-dashboard-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-orange, var(--orange)) 18%, transparent), color-mix(in srgb, var(--brand-blue, var(--blue)) 22%, transparent)),
    var(--card);
  box-shadow: var(--shadow);
  padding: 22px;
}

.asl-page-head::after,
.asl-dashboard-hero::after,
.asl-login-aside::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .20), transparent 70%);
  pointer-events: none;
}

.asl-page-head h2,
.asl-dashboard-copy h2 {
  margin-top: 14px;
  font-size: clamp(28px, 5vw, 38px);
  line-height: 1.08;
  font-weight: 950;
}

.asl-page-head p:not(.asl-kicker),
.asl-dashboard-copy p:not(.asl-kicker) {
  color: color-mix(in srgb, var(--text) 74%, var(--muted));
}

.asl-kicker,
.asl-page-head .asl-kicker,
.asl-section-head .asl-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
  color: var(--text);
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.asl-section,
.asl-login-panel,
.asl-login-aside,
.asl-checkout-panel,
.asl-dashboard-loading {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  box-shadow: var(--shadow);
}

.asl-login-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  align-items: stretch;
  margin: 0 auto;
}

.asl-login-panel {
  min-height: 572px;
  align-content: center;
  padding: 24px;
}

.asl-login-head h2 {
  margin-top: 16px;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.05;
}

.asl-login-head p:not(.asl-kicker) {
  font-size: 15px;
}

.asl-login-aside {
  position: relative;
  overflow: hidden;
  align-content: start;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-orange, var(--orange)) 18%, transparent), color-mix(in srgb, var(--brand-blue, var(--blue)) 24%, transparent)),
    var(--card);
}

.asl-login-checklist {
  min-height: 144px;
  border-radius: 18px;
  background: var(--soft-blue);
}

.asl-form {
  gap: 14px;
}

.asl-cotacao-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asl-cotacao-form .asl-field:nth-of-type(1),
.asl-cotacao-form .asl-field:nth-of-type(2),
.asl-cotacao-form .asl-field:nth-of-type(3),
.asl-cotacao-form .asl-field:nth-of-type(4) {
  grid-column: span 2;
}

.asl-cotacao-form .asl-field:nth-of-type(n+9):not(.asl-field-wide) {
  grid-column: span 2;
}

.asl-cotacoes {
  gap: 18px;
}

.asl-cotacoes > .asl-section {
  padding: 18px;
}

.asl-cotacoes > .asl-section[aria-labelledby="nova-cotacao-title"],
.asl-checkout-flow {
  width: min(100%, 780px);
}

.asl-cotacoes > .asl-section[aria-labelledby="lista-cotacoes-title"] {
  width: 100%;
}

.asl-checkout-grid {
  grid-template-columns: minmax(0, 1fr);
}

.asl-stepper {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.asl-stepper span {
  min-height: 58px;
  place-items: start;
  align-content: center;
  border-radius: 18px;
  background: var(--soft-blue);
  padding: 10px 12px;
  text-align: left;
}

.asl-stepper span.is-active {
  border-color: color-mix(in srgb, var(--orange) 32%, var(--line));
  background: color-mix(in srgb, var(--orange) 12%, transparent);
  color: var(--orange);
}

.asl-choice,
.asl-addon,
.asl-segmented span,
.asl-session-list div,
.asl-summary-card,
.asl-shortcut,
.asl-table-wrap,
.asl-alert,
.asl-empty-state,
.asl-status-timeline span,
.asl-checkout-summary div {
  border-radius: 18px;
  background: var(--soft-blue);
}

.asl-choice.is-active,
.asl-segmented input:checked + span {
  border-color: color-mix(in srgb, var(--orange) 32%, var(--line));
  background: color-mix(in srgb, var(--orange) 10%, transparent);
  color: var(--orange);
}

.asl-summary-grid,
.asl-shortcut-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asl-shortcut {
  min-height: 128px;
  align-content: center;
  grid-template-columns: auto minmax(0, 1fr);
}

.asl-shortcut [data-icon] {
  grid-row: 1 / span 2;
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.asl-empty-state {
  border-style: solid;
}

@media (min-width: 1024px) {
  .asl-login-layout {
    width: min(920px, 100%);
  }

  .asl-cotacoes {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
  }

  .asl-cotacoes > .asl-page-head,
  .asl-cotacoes > .asl-section[aria-labelledby="lista-cotacoes-title"] {
    grid-column: 1 / -1;
  }

  .asl-checkout-flow {
    grid-column: 1;
  }
}

@media (max-width: 980px) {
  .asl-shell {
    padding-bottom: 0;
  }

  .asl-topbar {
    display: flex;
    padding: 12px;
  }

  .asl-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .asl-login-layout,
  .asl-cotacao-form,
  .asl-stepper,
  .asl-summary-grid,
  .asl-shortcut-grid {
    grid-template-columns: 1fr;
  }

  .asl-cotacao-form .asl-field,
  .asl-cotacao-form .asl-field:nth-of-type(1),
  .asl-cotacao-form .asl-field:nth-of-type(2),
  .asl-cotacao-form .asl-field:nth-of-type(3),
  .asl-cotacao-form .asl-field:nth-of-type(4),
  .asl-cotacao-form .asl-field:nth-of-type(n+9):not(.asl-field-wide) {
    grid-column: auto;
  }
}


[data-route="cotacoes"] .included-services-panel {
  margin-bottom: 14px;
  border: 1px solid color-mix(in srgb, var(--lp-blue) 35%, var(--border));
  border-radius: 16px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--lp-blue) 10%, var(--bg-soft)), var(--bg-soft));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--text) 7%, transparent);
  padding: 20px;
}

[data-route="cotacoes"] .included-services-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

[data-route="cotacoes"] .included-services-panel__icon {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--lp-blue);
  color: var(--brand-blue-contrast, #fff);
}

[data-route="cotacoes"] .included-services-panel__icon svg { width: 23px; height: 23px; }
[data-route="cotacoes"] .included-services-panel__intro { min-width: 0; }
[data-route="cotacoes"] .included-services-panel__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
[data-route="cotacoes"] .included-services-panel__header .panel__title { margin: 0; font-size: 20px; line-height: 1.15; }
[data-route="cotacoes"] .included-services-panel__header .panel__text { margin: 4px 0 0; }

[data-route="cotacoes"] .included-services-panel__badge {
  flex: 0 0 auto;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lp-blue) 16%, var(--bg-elevated));
  color: var(--lp-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
  padding: 6px 9px;
  text-transform: uppercase;
}

[data-route="cotacoes"] .included-services-list { display: grid; gap: 9px; }

[data-route="cotacoes"] .included-service {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
}

[data-route="cotacoes"] .included-service__check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--lp-blue);
}

[data-route="cotacoes"] .included-service__check svg { width: 18px; height: 18px; }

[data-route="cotacoes"] .included-service p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

[data-route="cotacoes"] .included-services-panel__composition {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--border) 84%, transparent);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

[data-route="cotacoes"] .included-services-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

[data-route="cotacoes"] .included-services-panel__more {
  flex: 0 0 auto;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--lp-blue);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.4;
  padding: 0 0 2px;
}

[data-route="cotacoes"] .included-services-panel__more:hover { color: var(--lp-blue-soft); }

.complete-protection-modal .asl-modal-panel {
  width: min(92vw, 620px);
  text-align: center;
}

.complete-protection-modal .asl-modal-head { justify-content: space-between; }

.complete-protection-modal__icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--lp-blue, var(--brand-blue)) 14%, var(--card));
  color: var(--lp-blue, var(--brand-blue));
}

.complete-protection-modal__icon svg { width: 26px; height: 26px; }

.complete-protection-modal h2 {
  margin: 8px 0 0;
  color: var(--lp-blue, var(--brand-blue));
  font-size: 22px;
  letter-spacing: .02em;
}

.complete-protection-modal__body {
  max-height: min(52vh, 420px);
  margin-top: 16px;
  overflow: auto;
  padding-right: 4px;
  text-align: left;
}

.complete-protection-modal__body p {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.52;
}

.complete-protection-modal .asl-modal-actions { justify-content: center; }

@media (max-width: 560px) {
  [data-route="cotacoes"] .included-services-panel__footer { align-items: flex-start; flex-direction: column; gap: 10px; }
  .complete-protection-modal { padding: 12px; }
  .complete-protection-modal .asl-modal-panel { max-height: calc(100dvh - 24px); padding: 18px; }
  .complete-protection-modal__body { max-height: 50dvh; }
}

@media (max-width: 560px) {
  [data-route="cotacoes"] .included-services-panel { padding: 16px; }
  [data-route="cotacoes"] .included-services-panel__header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  [data-route="cotacoes"] .included-services-panel__intro { flex: 1 1 calc(100% - 54px); }
  [data-route="cotacoes"] .included-services-panel__badge { font-size: 9px; }
  [data-route="cotacoes"] .included-services-panel__header .panel__title { font-size: 18px; }
}
