/* ==========================================================================
   VRTICE 360° — BASE STYLES
   Tokens Globales Suizo Editorial (lab.), Reset, Topbar, Controles, Toast & Print
   ========================================================================== */

:root {
  /* ==================== SISTEMA EDITORIAL SUIZO GLOBAL ==================== */
  --bg-canvas: #F2F2F0;
  --surface-card: #FFFFFF;
  --surface-white: #FFFFFF;
  --surface-subtle: #EAEAE6;
  --surface-soft: #EAEAE6;
  --switch-bg: #E5E5E0;

  --ink-primary: #111111;
  --text-ink: #111111;
  --text-primary: #111111;
  --ink-secondary: #555552;
  --text-secondary: #555552;
  --text-muted: #767672;

  --accent-primary: #111111;
  --accent-primary-hover: #262626;
  --accent-vermilion: #EE4222;
  --accent-vermilion-hover: #D9381A;
  --accent-vermilion-soft: rgba(238, 66, 34, 0.10);

  --border-hairline: 1px solid rgba(17, 17, 17, 0.12);
  --border-light: rgba(17, 17, 17, 0.12);
  --border-soft: rgba(17, 17, 17, 0.08);
  --border-focus: #111111;
  --glass-light: rgba(242, 242, 240, 0.88);
  --glass-border: rgba(17, 17, 17, 0.12);
  --glass-border-soft: rgba(17, 17, 17, 0.08);

  --shadow-soft: 0 2px 8px rgba(17, 17, 17, 0.03);
  --shadow-card: 0 12px 28px -14px rgba(17, 17, 17, 0.10);
  --shadow-elevated: 0 20px 44px -16px rgba(17, 17, 17, 0.16);

  --radius-window: 10px;
  --radius-card: 8px;
  --radius-btn: 6px;
  --radius-pill: 999px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Proporción uniforme del acento bermellón editorial (Hero y Acceso Privado) */
  --vermilion-plate-offset: 14px;
  --vermilion-plate-top: 16px;
  --vermilion-plate-left: 26%;
  --vermilion-plate-radius: 3px;

  /* Jerarquía estricta de capas (z-index) */
  --z-topbar: 40;
  --z-tour-root: 500;
  --z-drawer-backdrop: 520;
  --z-drawer: 530;
  --z-modal-backdrop: 600;
  --z-qr-modal: 700;
  --z-studio: 750;
  --z-qr-fullscreen: 800;
  --z-tooltip: 900;
  --z-toast: 950;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

/* ==================== LIENZO GLOBAL ==================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--ink-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-canvas);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(16px + var(--safe-top)) 18px calc(96px + var(--safe-bottom));
  position: relative;
}

body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

:is(button, a, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--accent-vermilion);
  outline-offset: 2px;
}

.input-glass input:focus-visible,
.input-glass select:focus-visible {
  outline: none;
}

body::before {
  display: none;
}

body.silo-microsite {
  padding: 0 0 calc(40px + var(--safe-bottom));
  background-color: var(--bg-canvas);
  width: 100%;
  overflow-x: clip;
}
body.silo-microsite .b2b-topbar,
body.silo-microsite .b2b-dock-wrap {
  display: none !important;
}
body.silo-microsite .app-shell {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
  margin: 0;
  max-width: 100%;
  border-radius: 0;
}

body.silo-tour {
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #10151C;
}
body.silo-tour::before {
  display: none !important;
}
body.silo-tour .b2b-topbar,
body.silo-tour .app-shell,
body.silo-tour .b2b-dock-wrap {
  display: none !important;
}

body.silo-demos {
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--bg-canvas);
}
body.silo-demos::before {
  display: none !important;
}
body.silo-demos .b2b-topbar,
body.silo-demos .b2b-dock-wrap {
  display: none !important;
}
body.silo-demos .app-shell {
  padding: 0;
  max-width: 100%;
  border: none;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  margin: 0;
}

body.silo-panel {
  padding: 0 0 calc(44px + var(--safe-bottom));
  background-color: var(--bg-canvas);
  width: 100%;
  overflow-x: clip;
}
body.silo-panel .b2b-dock-wrap {
  display: none !important;
}
body.silo-panel .b2b-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: calc(14px + var(--safe-top)) max(24px, calc((100% - 1120px) / 2)) 14px;
  background-color: rgba(242, 242, 240, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
body.silo-panel .b2b-topbar .landing-nav-item {
  display: none !important;
}
body.silo-panel .brand-btn {
  color: var(--ink-primary);
}
body.silo-panel .app-shell {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  max-width: 1168px;
  padding: 20px 24px 32px;
  margin: 0 auto;
  border-radius: 0;
}

body.silo-landing {
  background-color: var(--bg-canvas);
  padding: 0;
  margin: 0;
  width: 100%;
  overflow-x: clip;
}
body.silo-landing::before {
  display: none !important;
}
body.silo-landing .b2b-dock-wrap {
  display: none !important;
}
body.silo-landing .b2b-topbar .brand-btn {
  color: var(--ink-primary);
}
body.silo-landing .app-shell {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

button:active,
a.btn-pill:active,
.space-card.clickable:active {
  transform: scale(0.985);
}

/* ==================== SUPERFICIE EDITORIAL POR DEFECTO ==================== */
.spatial-glass {
  background: var(--surface-card);
  border: var(--border-hairline);
  box-shadow: none;
}

/* ==================== TOOLTIPS (SOLO EN DISPOSITIVOS CON MOUSE) ==================== */
.has-tip {
  position: relative;
}
@media (hover: hover) and (pointer: fine) {
  .has-tip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translate(-50%, 6px);
    width: max-content;
    max-width: 245px;
    padding: 8px 12px;
    border-radius: var(--radius-btn);
    font-size: 0.74rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    color: #FFFFFF;
    background: var(--ink-primary);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 95;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  }
  .has-tip::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--ink-primary);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 95;
    transition: opacity 0.18s ease, visibility 0.18s;
  }
  .has-tip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }
  .has-tip:hover::before {
    opacity: 1;
    visibility: visible;
  }
  .has-tip.tip-right::after {
    left: auto;
    right: 0;
    transform: translate(0, 6px);
    text-align: left;
  }
  .has-tip.tip-right:hover::after {
    transform: translate(0, 0);
  }
}

/* ==================== TOPBAR B2B ==================== */
.b2b-topbar {
  width: 100%;
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 14px;
  gap: 10px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 4px 0;
  color: var(--ink-primary);
}
.brand-logo {
  height: 24px;
  width: auto;
  display: block;
}
.top-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink-primary);
  text-decoration: none;
  cursor: pointer;
  background: #FFFFFF;
  border: var(--border-hairline);
  box-shadow: none;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.top-pill-btn:hover {
  background: rgba(17, 17, 17, 0.05);
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}

/* ==================== VENTANA CONTENEDORA ==================== */
.app-shell {
  width: 100%;
  max-width: 1120px;
  border-radius: var(--radius-window);
  padding: 28px 32px 32px;
  min-height: 580px;
  position: relative;
  overflow: visible;
}
.fade-in {
  animation: fadeSlide 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== SWITCH SEGMENTADO ==================== */
.mode-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: var(--radius-card);
  background: var(--switch-bg);
  border: var(--border-hairline);
}
.mode-btn {
  position: relative;
  z-index: 2;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  color: var(--ink-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.mode-btn:hover:not(.active) {
  color: var(--ink-primary);
}
.mode-btn.active {
  background: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: none;
}
.mode-btn.active::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-vermilion);
  flex-shrink: 0;
}
.mode-count {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(17, 17, 17, 0.07);
  color: var(--ink-secondary);
  font-variant-numeric: tabular-nums;
}
.mode-btn.active .mode-count {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

/* ==================== ESTADOS Y BADGES SEMÁNTICOS ==================== */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 4px;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.st-disponible {
  background: #ECFDF5;
  color: #15803D;
  border: 1px solid rgba(21, 128, 61, 0.25);
}
.st-reducido,
.st-reservada {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid rgba(180, 83, 9, 0.28);
}
.st-vendida,
.st-agotada,
.st-alquilada {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid rgba(153, 27, 27, 0.26);
}
.st-pausada {
  background: var(--surface-subtle);
  color: var(--ink-secondary);
  border: var(--border-hairline);
}
.st-vip {
  background: var(--accent-vermilion);
  color: #FFFFFF;
  border: 1px solid var(--accent-vermilion);
}

.quality-seal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-secondary);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-hairline);
  box-shadow: none;
  user-select: none;
  pointer-events: none;
}

/* ==================== BOTONES GLOBALES ==================== */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn-solid {
  background: var(--accent-primary);
  color: #FFFFFF;
  border-color: var(--accent-primary);
  box-shadow: none;
}
.btn-solid:hover {
  background: var(--accent-vermilion);
  border-color: var(--accent-vermilion);
  color: #FFFFFF;
}
.btn-vermilion {
  background: var(--accent-vermilion);
  color: #FFFFFF;
  border-color: var(--accent-vermilion);
  box-shadow: none;
}
.btn-vermilion:hover {
  background: var(--accent-vermilion-hover);
  border-color: var(--accent-vermilion-hover);
  color: #FFFFFF;
}
.btn-frosted {
  background: #FFFFFF;
  color: var(--ink-primary);
  border: 1px solid rgba(17, 17, 17, 0.18);
  box-shadow: none;
}
.btn-frosted:hover {
  background: rgba(17, 17, 17, 0.04);
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}
.btn-sm {
  min-height: 36px;
  padding: 6px 13px;
  font-size: 0.80rem;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: var(--radius-btn);
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.18);
  color: var(--ink-primary);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.back-btn:hover {
  background: rgba(17, 17, 17, 0.04);
  border-color: var(--ink-primary);
  color: var(--ink-primary);
}

/* ==================== CONTROLES DE FORMULARIO ==================== */
.input-glass {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: var(--radius-card);
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 17, 0.16);
  color: var(--ink-primary);
  box-shadow: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-glass:focus-within {
  border-color: var(--ink-primary);
  box-shadow: 0 0 0 3px var(--accent-vermilion-soft);
}
.input-glass input,
.input-glass select {
  border: 0;
  background: transparent;
  color: var(--ink-primary);
  font-size: 0.87rem;
  outline: none;
  width: 100%;
  font-family: inherit;
}
.input-glass input::placeholder {
  color: var(--text-muted);
}
.input-glass select option {
  background: #FFFFFF;
  color: var(--ink-primary);
}
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.65;
}

/* Botón de cierre modal/drawer (mínimo táctil 44×44px) */
.dt-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-btn);
  background: var(--surface-subtle);
  border: var(--border-hairline);
  color: var(--ink-primary);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.dt-close:hover {
  background: var(--ink-primary);
  border-color: var(--ink-primary);
  color: #FFFFFF;
}

/* ==================== PANTALLAS DE FALLBACK / RUTA NO ENCONTRADA ==================== */
.route-fallback-wrap {
  width: 100%;
  min-height: 62vh;
  min-height: 62dvh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}
.route-fallback-card {
  width: min(460px, 100%);
  background: var(--surface-card);
  border: var(--border-hairline);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.route-fallback-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-secondary);
}
.route-fallback-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-vermilion);
}
.route-fallback-card h2 {
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}
.route-fallback-card p {
  font-size: 0.90rem;
  line-height: 1.5;
  color: var(--ink-secondary);
  max-width: 360px;
}
.route-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  width: 100%;
}

/* ==================== ÍCONOS SVG Y PORTAL GLOBAL DE TOOLTIPS ==================== */
.vrt-icon {
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}

.label-with-tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}

/* Ícono de ayuda suizo minimalista: 16x16px sin caja ni borde, hit-area invisible */
.info-tip-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: rgba(17, 17, 17, 0.45);
  cursor: help;
  flex-shrink: 0;
  vertical-align: middle;
  transition: color 0.16s ease;
}
.info-tip-btn::after {
  content: "";
  position: absolute;
  inset: -14px;
}
.info-tip-btn:hover,
.info-tip-btn:focus-visible,
.info-tip-btn[aria-expanded="true"] {
  color: var(--accent-vermilion);
  outline: none;
}

.vrt-tooltip-portal {
  position: fixed;
  top: -9999px;
  left: -9999px;
  z-index: var(--z-tooltip, 900);
  max-width: min(240px, calc(100vw - 24px));
  padding: 8px 11px;
  border-radius: 6px;
  background: #111111;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 2px solid var(--accent-vermilion);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.24);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease, visibility 0s linear 0.12s;
}
.vrt-tooltip-portal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.12s ease, visibility 0s linear 0s;
}

/* ==================== TOAST ==================== */
.toast {
  position: fixed;
  top: calc(18px + var(--safe-top));
  left: 50%;
  transform: translate(-50%, -20px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  font-size: 0.84rem;
  font-weight: 500;
  color: #FFFFFF;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.22);
  z-index: var(--z-toast);
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: calc(100vw - 32px);
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==================== REPORTE PDF ==================== */
#printReportRoot {
  display: none;
}
@media print {
  body {
    background: #fff !important;
    color: #111 !important;
    padding: 0 !important;
  }
  body::before {
    display: none !important;
  }
  header, main, nav, .toast, #directTourRoot {
    display: none !important;
  }
  #printReportRoot {
    display: block !important;
    width: 100%;
    padding: 28px 32px;
    color: #111111;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  .rep-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #111111;
    padding-bottom: 16px;
    margin-bottom: 22px;
  }
  .rep-brand {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.03em;
  }
  .rep-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 20px 0;
  }
  .rep-box {
    border: 1px solid rgba(17, 17, 17, 0.16);
    border-radius: 8px;
    padding: 14px;
  }
  .rep-box small {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #555552;
  }
  .rep-box strong {
    display: block;
    font-size: 1.5rem;
    margin-top: 4px;
  }
  .rep-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
  }
  .rep-table th, .rep-table td {
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
    padding: 10px 8px;
    text-align: left;
    font-size: 0.9rem;
    color: #111111;
  }
  .rep-foot {
    margin-top: 30px;
    padding-top: 12px;
    border-top: 1px solid rgba(17, 17, 17, 0.12);
    font-size: 0.8rem;
    color: #555552;
    display: flex;
    justify-content: space-between;
  }
}

/* ==================== RESPONSIVE BASE (<= 768px) ==================== */
@media (max-width: 768px) {
  body {
    padding: calc(10px + var(--safe-top)) 10px calc(88px + var(--safe-bottom));
  }
  body.silo-microsite {
    padding: 0 0 calc(28px + var(--safe-bottom));
  }
  body.silo-panel {
    padding: 0 0 calc(32px + var(--safe-bottom));
  }
  body.silo-panel .b2b-topbar {
    padding: calc(12px + var(--safe-top)) 14px 12px;
  }
  body.silo-panel .app-shell {
    padding: 14px 14px 24px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .app-shell {
    padding: 16px 14px 20px;
    border-radius: var(--radius-window);
    min-height: auto;
    background: var(--surface-card);
    border: var(--border-hairline);
    box-shadow: none;
  }
  .mode-switch {
    width: 100%;
  }
  .mode-btn {
    flex: 1;
    min-height: 44px;
    padding: 9px 10px;
    font-size: 0.82rem;
  }
  .btn-pill,
  .btn-sm,
  .back-btn,
  .top-pill-btn {
    min-height: 44px;
  }
  .info-tip-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: -14px -10px;
    border: none;
    background: transparent;
  }
  .info-tip-btn::after {
    inset: 0;
  }
  .input-glass {
    min-height: 44px;
    padding: 8px 12px;
  }
  .input-glass input,
  .input-glass select {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  :root {
    --vermilion-plate-offset: 10px;
    --vermilion-plate-top: 12px;
    --vermilion-plate-left: 26%;
  }
}
