:root {
  --white: #ffffff;
  --black: #0b0b0c;
  --ink: #18181b;
  --ink-soft: #3f3f46;
  --muted: #5f5f68;
  --line: #e4e4e7;
  --line-strong: #c9c9d0;
  --surface: #fafafa;
  --surface-2: #f4f4f5;

  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-hover: #1e40af;
  --blue-50: #eff5ff;
  --blue-100: #dbe7fe;

  --orange: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 11, 12, 0.06);
  --shadow: 0 1px 2px rgba(11, 11, 12, 0.05), 0 8px 24px rgba(11, 11, 12, 0.06);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--orange-600);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

main:focus {
  outline: none;
}

h1,
h2,
h3 {
  color: var(--black);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  line-height: 1.15;
  margin: 0 0 10px;
}

h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--blue);
}

.wrap {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 16px;
}

.wrap.wide {
  max-width: 72rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.topbar.dark {
  background: var(--black);
  border-bottom: 3px solid var(--orange);
  color: var(--white);
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  flex-wrap: wrap;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--black);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius-sm);
}

.topbar.dark .logo {
  color: var(--white);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--white);
}

.logo-sub {
  font-weight: 500;
  color: var(--orange);
  margin-left: 4px;
}

.topbar-tag {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 4px 12px;
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions[hidden] {
  display: none;
}

.signed-in {
  font-size: 0.9rem;
  color: #d4d4d8;
}

.hero {
  padding: 40px 0 28px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  border-radius: 2px;
  background: var(--orange);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
}

.lead {
  max-width: 38rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.layout {
  display: grid;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 56px;
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }

  .aside {
    position: sticky;
    top: 24px;
  }
}

.stack {
  display: grid;
  gap: 20px;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.panel-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 2px;
}

.step {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-weight: 800;
}

.field-grid {
  display: grid;
  gap: 0 16px;
}

@media (min-width: 640px) {
  .field-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--black);
}

input,
textarea {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #8b8b94;
}

input:hover,
textarea:hover {
  border-color: #a1a1aa;
}

input:focus-visible,
textarea:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-100);
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--orange-600);
  background: var(--orange-50);
}

.field-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-700);
}

.field-error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange-600);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
}

.field-error[hidden] {
  display: none;
}

.field-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.counter {
  margin: 6px 0 0 auto;
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.counter.near-limit {
  color: var(--orange-700);
  font-weight: 700;
}

.quick {
  margin-bottom: 16px;
}

.quick-label {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--muted);
  margin-bottom: 8px;
}

.quick-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 40px;
  padding: 7px 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-50);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.05s ease;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.button.primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
}

.button.dark {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.button.dark:hover {
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}

.button.ghost {
  background: var(--white);
  border-color: var(--line-strong);
  color: var(--black);
}

.button.ghost:hover {
  border-color: var(--black);
}

.button.ghost-inverse {
  background: transparent;
  border-color: #52525b;
  color: var(--white);
}

.button.ghost-inverse:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.button.small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 0.92rem;
}

.button.block {
  width: 100%;
}

.button[aria-disabled="true"] {
  opacity: 0.7;
  cursor: progress;
}

.spinner {
  display: inline-block;
  flex: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.result:empty {
  display: none;
}

.result {
  margin-top: 18px;
}

.notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--surface);
}

.notice > svg,
.notice > .spinner {
  flex: none;
  margin-top: 2px;
}

.notice-title {
  font-weight: 700;
  color: var(--black);
}

.notice-text {
  margin-top: 4px;
  color: var(--ink-soft);
}

.notice.loading {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue-100);
}

.notice.success {
  color: var(--blue);
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.notice.warning {
  color: var(--orange-700);
  background: var(--orange-50);
  border-color: var(--orange-100);
}

.notice.error {
  color: var(--orange-700);
  background: var(--white);
  border-color: var(--orange-600);
  border-left-width: 5px;
}

.order-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.order-title {
  font-weight: 700;
  color: var(--black);
}

.eta {
  display: grid;
  gap: 2px;
  padding: 18px 18px 6px;
}

.eta-label {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.eta-date {
  font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
}

.order-card.cancelled .eta-date {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--orange-700);
}

.order-help {
  padding: 4px 18px 16px;
  font-size: 0.92rem;
  color: var(--muted);
}

.tracker {
  list-style: none;
  margin: 0;
  padding: 18px 18px 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: none;
}

.tracker-step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.tracker-step::before {
  content: "";
  position: absolute;
  top: 13px;
  right: 50%;
  width: 100%;
  height: 3px;
  background: var(--line);
  z-index: 0;
}

.tracker-step:first-child::before {
  display: none;
}

.tracker-step.done::before,
.tracker-step.current::before {
  background: var(--blue);
}

.tracker-dot {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--line-strong);
  color: var(--white);
}

.tracker-dot svg {
  width: 16px;
  height: 16px;
}

.tracker-step.done .tracker-dot {
  background: var(--blue);
  border-color: var(--blue);
}

.tracker-step.current .tracker-dot {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-100);
}

.tracker-step.current .tracker-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}

.tracker-step.current .tracker-dot:has(svg) {
  background: var(--blue);
}

.tracker-step.current .tracker-dot:has(svg)::after {
  display: none;
}

.tracker-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}

.tracker-step.done .tracker-label {
  color: var(--ink);
}

.tracker-step.current .tracker-label {
  color: var(--blue);
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid transparent;
}

.pill-blue {
  color: var(--blue-dark);
  background: var(--blue-50);
  border-color: var(--blue-100);
}

.pill-orange {
  color: var(--orange-700);
  background: var(--orange-50);
  border-color: var(--orange-100);
}

.pill-dark {
  color: var(--white);
  background: var(--black);
}

.pill-muted {
  color: var(--muted);
  background: var(--surface-2);
  border-color: var(--line);
}

.ticket-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--blue-100);
  background: var(--blue-50);
}

.ticket-badge {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
}

.ticket-card-label {
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ticket-card-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.ticket-card-text {
  margin-top: 6px;
  color: var(--ink-soft);
}

.aside {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.aside h2 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.tips li {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.tip-icon {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  color: var(--orange-700);
  font-weight: 800;
  font-size: 0.9rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-note {
  margin-top: 4px;
  font-size: 0.82rem;
  color: #71717a;
}

.page-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 32px;
  color: var(--muted);
}

.login-wrap {
  display: grid;
  place-items: center;
  padding: 48px 16px 64px;
}

.login-card {
  width: 100%;
  max-width: 26rem;
}

.login-card h1 {
  font-size: 1.6rem;
}

.login-card .panel-sub {
  margin-bottom: 22px;
}

.dashboard {
  padding-top: 28px;
  padding-bottom: 56px;
}

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.dash-head h1 {
  margin-bottom: 2px;
}

.dash-head h1:focus {
  outline: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.stat {
  display: grid;
  gap: 2px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 4px solid var(--line-strong);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.stat-open {
  border-top-color: var(--orange);
}

.stat-resolved {
  border-top-color: var(--blue);
}

.stat-total {
  border-top-color: var(--black);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-open .stat-value {
  color: var(--orange-700);
}

.stat-resolved .stat-value {
  color: var(--blue);
}

.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.segment {
  min-height: 38px;
  padding: 6px 16px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.segment:hover {
  color: var(--black);
}

.segment[aria-pressed="true"] {
  background: var(--black);
  color: var(--white);
}

.search {
  flex: 1 1 18rem;
  max-width: 26rem;
}

.search input {
  min-height: 46px;
}

.tickets-status {
  margin: 12px 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.ticket-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.ticket {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease;
}

.ticket:hover {
  box-shadow: var(--shadow);
}

.ticket.resolved {
  border-left-color: var(--blue);
}

.ticket-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 18px;
  font: inherit;
  text-align: left;
  color: inherit;
  background: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.ticket-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ticket-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ticket-id {
  font-weight: 800;
  color: var(--black);
  font-variant-numeric: tabular-nums;
}

.ticket-who {
  font-weight: 650;
  color: var(--ink);
}

.ticket-preview {
  color: var(--muted);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
}

.ticket-toggle[aria-expanded="true"] .ticket-preview {
  display: none;
}

.ticket-side {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: var(--muted);
}

.ticket-time {
  font-size: 0.88rem;
  white-space: nowrap;
}

.ticket-chevron {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--black);
  transition: transform 0.2s ease;
}

.ticket-toggle[aria-expanded="true"] .ticket-chevron {
  transform: rotate(180deg);
}

.ticket-body {
  padding: 0 18px 18px;
}

.ticket-message {
  margin-bottom: 16px;
  padding: 14px 16px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 12px 20px;
  margin: 0 0 16px;
}

.fact dt {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fact dd {
  margin: 2px 0 0;
  font-weight: 600;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.emails {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
}

.emails-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.email-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.email-label {
  font-weight: 650;
  color: var(--ink);
  padding-top: 2px;
}

.email-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.email-detail {
  font-size: 0.88rem;
  color: var(--muted);
}

.ticket-actions:empty {
  display: none;
}

.confirm {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--orange-50);
  border: 1.5px solid var(--orange-100);
}

.confirm-text {
  font-weight: 650;
  color: var(--black);
  margin-bottom: 12px;
}

.confirm-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 560px) {
  .panel {
    padding: 18px;
    border-radius: var(--radius);
  }

  .hero {
    padding: 28px 0 22px;
  }

  .button.primary,
  .button.dark {
    width: 100%;
  }

  .confirm-buttons .button {
    width: 100%;
  }

  .tracker {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0;
    padding: 14px 18px 10px;
  }

  .tracker-step {
    grid-template-columns: 28px 1fr;
    justify-items: start;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    text-align: left;
  }

  .tracker-step::before {
    top: auto;
    bottom: calc(100% - 14px);
    right: auto;
    left: 12.5px;
    width: 3px;
    height: 100%;
  }

  .tracker-label {
    font-size: 0.92rem;
  }

  .stats {
    gap: 8px;
  }

  .stat {
    padding: 10px 12px;
  }

  .stat-value {
    font-size: 1.45rem;
  }

  .segmented {
    width: 100%;
  }

  .segment {
    flex: 1;
  }

  .search {
    max-width: none;
  }

  .ticket-toggle {
    padding: 14px;
  }

  .ticket-body {
    padding: 0 14px 14px;
  }

  .email-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .signed-in {
    display: none;
  }

  .topbar-row {
    flex-wrap: nowrap;
  }

  .logo {
    font-size: 0.95rem;
    line-height: 1.2;
    min-width: 0;
  }

  .logo-mark {
    flex: none;
  }

  .topbar-tag {
    display: none;
  }

  .header-actions {
    flex: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition: none !important;
  }

  .spinner {
    animation: none;
    border-right-color: currentColor;
    opacity: 0.6;
  }
}
