:root {
  color-scheme: light;
  --canvas: #f4f6fa;
  --surface: #fff;
  --subtle: #f7f9fc;
  --ink: #17253a;
  --muted: #53647a;
  --border: #dce3ec;
  --strong-border: #aab9cb;
  --navy: #12243d;
  --blue: #2556c8;
  --blue-deep: #19439f;
  --blue-pale: #ebf1ff;
  --teal: #147f77;
  --teal-pale: #e7f5f0;
  --error: #a52832;
  --error-pale: #fff2f3;
  --radius: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
  font-synthesis: none;
  line-height: 1.45;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 280px; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--canvas); color: var(--ink); }
body:has(.ticket-drawer[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .64; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1 { font-size: clamp(1.85rem, 1.35rem + 1.5vw, 2.6rem); letter-spacing: -.045em; }
h2 { font-size: 1.125rem; letter-spacing: -.025em; }
h3 { font-size: 1rem; letter-spacing: -.015em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 5;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  white-space: nowrap;
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: .99rem; font-weight: 720; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: .813rem; line-height: 1.3; }

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 11px;
  background: var(--navy);
}

.brand-mark::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: -3px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 2px;
  transform: rotate(-45deg);
}

.brand-mark::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-radius: 50%;
  background: #70d6c9;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.3;
  white-space: nowrap;
  transition: background-color .14s ease, border-color .14s ease;
}

.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover:not(:disabled) { background: var(--blue-deep); }
.button-outline { color: var(--ink); background: var(--surface); border-color: var(--border); }
.button-outline:hover:not(:disabled) { background: var(--subtle); border-color: var(--strong-border); }
.button-compact { min-height: 38px; padding-inline: 12px; }
.section-description { color: var(--muted); margin-top: 5px; }

.field { display: grid; min-width: 0; gap: 6px; }
.field > span, .check-field { font-size: .875rem; font-weight: 640; }
.field :is(input, select, textarea) {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--strong-border);
  border-radius: 8px;
  padding: 9px 11px;
  background-color: var(--surface);
  color: var(--ink);
  line-height: 1.4;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select {
  appearance: none;
  padding-right: 30px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 50%, calc(100% - 11px) 50%;
  background-size: 4px 4px;
  background-repeat: no-repeat;
  text-overflow: ellipsis;
}
.field textarea { min-height: 86px; resize: vertical; }

.inline-alert {
  margin-bottom: 16px;
  padding: 11px 13px;
  border: 1px solid #bed0ed;
  border-radius: 8px;
  background: var(--blue-pale);
  color: #233f73;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
.alert-error { background: var(--error-pale); border-color: #f1b9bf; color: var(--error); }

/* Sign-in */
.sign-in-view {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  grid-template-rows: auto 1fr;
}

.sign-in-header {
  width: 100%;
  padding: 23px clamp(20px, 5vw, 84px);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  width: min(900px, calc(100% - 48px));
  margin: clamp(36px, 8vh, 92px) auto;
  align-self: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--surface);
  box-shadow: 0 20px 55px rgb(31 50 79 / .1), 0 3px 8px rgb(31 50 79 / .035);
}

.auth-identity {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 432px;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(30px, 4vw, 54px);
  overflow: hidden;
  background: radial-gradient(ellipse at 5% 100%, #205a67, transparent 67%), linear-gradient(150deg, #142a48 26%, #203b62 100%);
  color: #fff;
}

.auth-identity::before {
  content: "";
  position: absolute;
  inset: 35% -15% -33% 14%;
  z-index: -1;
  transform: rotate(-24deg);
  background-image: linear-gradient(rgb(212 237 255 / .13) 1px, transparent 1px), linear-gradient(90deg, rgb(212 237 255 / .13) 1px, transparent 1px);
  background-size: 23px 23px;
  mask-image: radial-gradient(ellipse, #000, #000 25%, transparent 73%);
}

.auth-label { font-size: .875rem; color: #cdddf0; }
.auth-heading {
  margin-top: auto;
  margin-bottom: 44px;
  font-family: "Noto Sans Devanagari", "Devanagari Sangam MN", "Nirmala UI", sans-serif;
  font-size: clamp(2.55rem, 3vw + .9rem, 3.8rem);
  font-weight: 720;
  letter-spacing: -.035em;
  line-height: 1.13;
}

.auth-route {
  position: relative;
  width: min(230px, 85%);
  height: 38px;
  margin-bottom: 5px;
  border-bottom: 1px dashed #7cbdbd;
  transform: rotate(-12deg);
  opacity: .9;
}
.auth-route span {
  position: absolute;
  top: calc(100% - 3px);
  width: 7px;
  height: 7px;
  border: 1px solid #c4f9ed;
  border-radius: 50%;
  background: #71cdbd;
}
.auth-route span:nth-child(2) { left: 48%; }
.auth-route span:nth-child(3) { right: 0; }
.auth-content { align-self: center; min-width: 0; padding: clamp(30px, 4vw, 58px); }
.auth-content h1 { font-size: clamp(1.85rem, 2.1vw + .8rem, 2.5rem); }
.auth-content .section-description { max-width: 32ch; margin-top: 10px; }
.auth-form { display: grid; gap: 17px; margin-top: 27px; }
.auth-content noscript > .inline-alert { margin: 12px 0 0; }
.auth-form :is(input, button) { min-height: 47px; }
.auth-form .inline-alert { margin: 0; }
.auth-form .button-primary { margin-top: 2px; }

/* Workspace shell and filters */
.topbar { border-bottom: 1px solid var(--border); background: var(--surface); }
.topbar-inner {
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) auto minmax(0, 1fr);
  gap: clamp(12px, 2vw, 30px);
  align-items: center;
  width: min(100%, 1536px);
  min-height: 72px;
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 44px);
}
.workspace-nav { min-width: 0; }
.tab-list { display: flex; align-items: center; gap: 4px; }
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 660;
  white-space: nowrap;
}
.tab-button:hover { background: var(--subtle); color: var(--ink); }
.tab-button[aria-selected="true"] { background: var(--blue-pale); color: var(--blue-deep); }
.session { display: flex; align-items: center; justify-content: end; gap: 12px; min-width: 0; }
.session-email { overflow: hidden; color: var(--muted); font-size: .875rem; text-overflow: ellipsis; white-space: nowrap; }

.workspace-content {
  width: min(100%, 1536px);
  margin-inline: auto;
  padding: 32px clamp(18px, 3vw, 44px) 48px;
}

.workspace-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.workspace-heading .section-description { margin-top: 7px; }
.refresh-icon {
  position: relative;
  width: 13px;
  height: 13px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
}
.refresh-icon::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(170px, 1.36fr) repeat(5, minmax(110px, 1fr)) minmax(126px, auto);
  gap: 10px 12px;
  align-items: end;
  margin-bottom: 21px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.filter-bar .field :is(input, select) { min-height: 40px; border-color: var(--border); font-size: .875rem; }
.filter-bar .field :is(input, select):hover { border-color: var(--strong-border); }
.check-field {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 7px;
  padding-inline: 4px;
  white-space: nowrap;
  cursor: pointer;
}
.check-field input { width: 1.05rem; height: 1.05rem; margin: 0; accent-color: var(--blue); }

/* Dashboard */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.metric { min-width: 0; padding: 16px 17px 15px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.metric dt { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: .875rem; font-weight: 650; }
.metric dd { margin-top: 6px; font-size: clamp(1.7rem, 1.3rem + 1.25vw, 2.4rem); font-weight: 730; letter-spacing: -.05em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.status-dot { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.status-dot.queued { background: #b67818; }
.status-dot.in-progress { background: var(--blue); }
.status-dot.closed { background: var(--teal); }
.status-dot.escalated { background: #8c488a; }

.dashboard-geography, .dashboard-trends { display: grid; grid-template-columns: minmax(0, 2fr) minmax(270px, 1fr); gap: 16px; }
.dashboard-trends { margin-top: 16px; }
.card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 17px; }
.card-heading .section-description { font-size: .875rem; }
.map-stage {
  position: relative;
  min-height: clamp(300px, 34vw, 470px);
  margin-inline: 14px;
  border: 1px solid #d6e4ed;
  border-radius: 9px;
  background: #eef4f8;
  overflow: hidden;
}

#map-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
#map-canvas:focus-visible { outline-offset: -4px; }
.map-tooltip {
  position: absolute;
  z-index: 1;
  max-width: min(245px, 85%);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: .813rem;
  box-shadow: 0 3px 10px rgb(18 36 61 / .12);
  pointer-events: none;
}

.map-caption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; color: var(--muted); font-size: .875rem; }
.map-legend { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.legend-scale { display: block; width: clamp(42px, 7vw, 106px); height: 8px; border-radius: 5px; background: linear-gradient(90deg, #deeeec, #147f77); }
.breakdown-list { display: grid; gap: 4px; list-style: none; margin: 0; padding: 0 12px 14px; }
.breakdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 38px;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: .875rem;
  overflow-wrap: anywhere;
}
button.breakdown-item:hover { background: var(--subtle); }
.breakdown-item[aria-pressed="true"], .breakdown-item[aria-current="true"], .breakdown-item.is-selected { background: var(--blue-pale); color: var(--blue-deep); border-color: #c5d5f9; }
.breakdown-item > :first-child { min-width: 0; }
.breakdown-item > :last-child:not(:first-child) { flex: 0 0 auto; font-weight: 660; font-variant-numeric: tabular-nums; }
.topic-list .breakdown-item { border-bottom-color: #edf0f5; border-radius: 0; }
.timeline { display: grid; align-content: start; gap: 7px; min-height: 155px; margin: 0 16px 16px; color: var(--muted); }
.timeline-bar {
  display: grid;
  grid-template-columns: minmax(74px, .9fr) minmax(32px, 3fr) minmax(29px, auto);
  align-items: center;
  gap: 9px;
  min-height: 29px;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.timeline-bar > strong { text-align: right; color: var(--ink); }
.timeline-bar meter { width: 100%; height: 10px; background: #edf3f2; border: 0; border-radius: 3px; }
.timeline-bar meter::-webkit-meter-bar { background: #edf3f2; border: 0; border-radius: 3px; }
.timeline-bar meter::-webkit-meter-optimum-value { background: #428b85; border-radius: 3px; }
.timeline-bar meter::-moz-meter-bar { background: #428b85; border-radius: 3px; }

/* Guidance board */
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.board-column { min-width: 0; min-height: 250px; border: 1px solid var(--border); border-radius: var(--radius); background: #edf1f7; }
.board-column-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 14px 13px; }
.board-column-header h2 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.column-count { min-width: 26px; border-radius: 6px; padding: 2px 7px; background: var(--surface); color: var(--muted); font-size: .813rem; line-height: 1.5; text-align: center; font-variant-numeric: tabular-nums; }
.ticket-list { display: grid; gap: 9px; min-width: 0; padding: 0 10px 12px; }
.ticket-card {
  display: grid;
  gap: 5px;
  justify-items: start;
  width: 100%;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  transition: border-color .14s ease, box-shadow .14s ease;
}
.ticket-card:hover { border-color: #9fb4d5; box-shadow: 0 3px 12px rgb(30 53 83 / .09); }
.ticket-card-title { font-size: 1rem; font-weight: 680; }
.ticket-card-meta { color: var(--muted); font-size: .875rem; }
.ticket-card-meta:has(.badge) { display: flex; flex-wrap: wrap; gap: 4px; padding-top: 2px; }
.ticket-card-ref, .drawer-reference { color: var(--muted); font-size: .813rem; font-weight: 650; letter-spacing: .016em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ticket-card-title, .ticket-card-meta { max-width: 100%; overflow-wrap: anywhere; }
.ticket-list > p:only-child, .empty-state { padding: 13px 11px; border: 1px dashed #becadd; border-radius: 8px; color: var(--muted); font-size: .875rem; }
.badge { display: inline-flex; align-items: center; max-width: 100%; min-height: 23px; border-radius: 5px; padding: 2px 7px; background: #eef2f8; color: #354962; font-size: .813rem; font-weight: 680; }
.badge-priority, .badge-escalated { color: #754374; background: #f8edf8; }
.badge[data-status="queued"] { color: #795510; background: #fbf2dc; }
.badge[data-status="in_progress"] { color: var(--blue-deep); background: var(--blue-pale); }
.badge[data-status="closed"] { color: #1c6961; background: var(--teal-pale); }

/* Ticket drawer */
.ticket-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 568px);
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  box-shadow: -14px 0 55px rgb(18 36 61 / .18);
}
.ticket-drawer::backdrop { background: rgb(18 36 61 / .46); }
.drawer-shell { display: flex; flex-direction: column; height: 100%; }
.drawer-header { display: flex; flex: 0 0 auto; justify-content: space-between; align-items: start; gap: 12px; padding: 21px 22px 17px; border-bottom: 1px solid var(--border); }
.drawer-intro { display: grid; min-width: 0; gap: 6px; justify-items: start; }
.drawer-intro h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.6rem); overflow-wrap: anywhere; }
.drawer-status:empty { display: none; }
.icon-button { min-width: 38px; min-height: 38px; padding: 0; border-color: var(--border); background: var(--surface); color: var(--ink); font-size: 1.45rem; line-height: 1; }
.icon-button:hover { background: var(--subtle); }
.drawer-body { flex: 1 1 auto; min-height: 0; padding: 17px 22px 24px; overflow: auto; overscroll-behavior: contain; }
.ticket-meta { display: grid; grid-template-columns: minmax(105px, .67fr) minmax(0, 1.33fr); gap: 8px 13px; margin-bottom: 18px; padding: 13px; border: 1px solid var(--border); border-radius: 8px; background: var(--subtle); font-size: .875rem; }
.ticket-meta:empty { display: none; }
.ticket-meta dt { color: var(--muted); }
.ticket-meta dd { font-weight: 640; overflow-wrap: anywhere; }
.drawer-section + .drawer-section, .conversation-section { margin-top: 19px; }
.drawer-section h3 { margin-bottom: 8px; }
.ticket-summary { white-space: pre-wrap; overflow-wrap: anywhere; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.action-form, .reply-form { display: grid; justify-items: start; gap: 11px; margin-top: 12px; }
.action-form { padding: 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--subtle); }
.action-form > .field, .reply-form > .field { width: 100%; }
.ticket-messages { display: grid; gap: 8px; max-height: min(375px, 48vh); overflow: auto; padding: 3px; }
.ticket-messages:empty { display: none; }
.ticket-messages > p { color: var(--muted); font-size: .875rem; }
.history-load { min-height: 34px; margin-bottom: 8px; padding: 4px 9px; }
.message { display: grid; justify-self: start; gap: 4px; max-width: 88%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px 9px 9px 3px; background: var(--subtle); white-space: pre-wrap; overflow-wrap: anywhere; }
.message-outbound { justify-self: end; border-color: #cce6df; border-radius: 9px 9px 3px 9px; background: var(--teal-pale); }
.message :is(time, small, .message-meta) { color: var(--muted); font-size: .813rem; white-space: normal; }
.reply-helper, .reply-file-error { color: var(--muted); font-size: .875rem; }
.reply-file-error { color: var(--error); }
.reply-compose-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.reply-form input[type="file"] { min-width: 0; padding: 6px; }
.reply-form input[type="file"]::file-selector-button { margin-inline-end: 8px; border: 0; border-radius: 5px; padding: 6px 9px; background: var(--blue-pale); color: var(--blue-deep); cursor: pointer; font: inherit; }
.message-attachment { display: grid; gap: 7px; min-width: 0; max-width: 100%; padding: 8px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); white-space: normal; }
.message-attachment > strong { font-size: .875rem; overflow-wrap: anywhere; }
.message-attachment .button { justify-self: start; min-height: 34px; padding: 4px 9px; font-size: .875rem; }
.message-attachment a.button { text-decoration: none; }
.message-attachment :is(img, video) { display: block; max-width: 100%; max-height: 260px; border-radius: 4px; object-fit: contain; }
.message-attachment audio { width: min(280px, 100%); max-width: 100%; }

@media (max-width: 1180px) {
  .filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .search-field { grid-column: span 2; }
}

@media (max-width: 900px) {
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; }
  .session-email { display: none; }
  .dashboard-geography, .dashboard-trends { grid-template-columns: minmax(0, 1.6fr) minmax(230px, 1fr); }
  .metric { padding-inline: 12px; }
}

@media (max-width: 720px) {
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto; min-height: auto; padding-block: 12px 9px; row-gap: 9px; }
  .workspace-nav { grid-column: 1 / -1; grid-row: 2; }
  .tab-list { gap: 7px; }
  .tab-button { min-height: 38px; }
  .session { grid-column: 2; grid-row: 1; }
  .workspace-content { padding-top: 24px; }
  .workspace-heading { align-items: start; margin-bottom: 17px; }
  .workspace-heading .section-description { font-size: .875rem; }
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-bar .field :is(input, select) { font-size: 1rem; }
  .metrics-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .dashboard-geography, .dashboard-trends { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .board { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .board-column { min-height: 115px; }
  .auth-layout { max-width: 488px; grid-template-columns: minmax(0, 1fr); }
  .auth-identity { min-height: 150px; padding: 24px 27px; }
  .auth-heading { margin: 9px 0 0; font-size: clamp(1.9rem, 5vw + .55rem, 2.6rem); line-height: 1.22; }
  .auth-heading br { display: none; }
  .auth-route { position: absolute; right: 25px; bottom: 23px; width: 28%; }
}

@media (max-width: 390px) {
  .brand { gap: 8px; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand strong { font-size: .875rem; }
  .auth-layout { width: calc(100% - 30px); }
  .auth-content { padding: 26px 22px; }
  .map-stage { min-height: 250px; margin-inline: 9px; }
  .card-heading { padding: 13px 12px; }
  .drawer-header, .drawer-body { padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
