/* ==========================================================================
   Painel da engenharia
   ========================================================================== */

/* ---------- Topbar ---------- */
.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 2px 12px rgba(20, 34, 75, .18);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none !important; flex: none; }
.brand img { height: 38px; width: auto; display: block; transition: transform .2s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.brand-sub { font-size: .82em; font-weight: 600; color: #c7d2ef; border-left: 1px solid rgba(255,255,255,.2); padding-left: 12px; }

.nav-links { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav-links a {
  position: relative;
  color: #d6def3;
  font-weight: 500;
  font-size: .92em;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; background: rgba(255,255,255,.12); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: -13px;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--yellow);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.btn-top {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 36px; padding: 6px 12px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06); color: #fff;
  font: inherit; font-size: .85em; font-weight: 600; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-top:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }
.btn-top svg { width: 16px; height: 16px; }
.btn-top.on { border-color: rgba(94,224,176,.5); color: #b5f3dc; }
.btn-top.accent { background: var(--yellow); color: var(--navy-900); border-color: var(--yellow); }
.btn-top.accent:hover { background: #ffd23a; }

.user-menu { position: relative; }
.user-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #fff; font: inherit; font-size: .85em; font-weight: 600; cursor: pointer;
}
.avatar {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--navy-900); font-weight: 800; font-size: .8em;
}
.dropdown {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 210px; padding: 6px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.dropdown.open { opacity: 1; transform: none; pointer-events: auto; }
.dropdown a, .dropdown button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 9px 12px; border-radius: 8px; border: 0; background: none;
  color: var(--text); font: inherit; font-size: .9em; font-weight: 500; text-align: left; cursor: pointer; text-decoration: none;
}
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.dropdown .danger { color: var(--danger); }
.dropdown hr { border: 0; border-top: 1px solid var(--border); margin: 6px 0; }
.dropdown .who { padding: 8px 12px 10px; font-size: .82em; color: var(--muted); border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.dropdown .who strong { display: block; color: var(--text); font-size: 1.05em; }

.menu-toggle {
  display: none;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.install-banner {
  display: none;
  background: var(--yellow-soft);
  color: #6b4d00;
  border-bottom: 1px solid #f3e1a4;
  font-size: .88em;
}
.install-banner.show { display: block; animation: fadeIn .3s var(--ease); }
.install-banner .inner { max-width: 1200px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.install-banner .inner span { flex: 1; min-width: 200px; }

/* ---------- Layout ---------- */
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 28px 20px 64px; }
.page-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 22px;
}
.page-head h1 { margin: 0; font-size: 1.6em; font-weight: 700; color: var(--navy); }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: .92em; }
.breadcrumb { font-size: .85em; margin-bottom: 8px; }
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--teal); }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.kpi {
  position: relative;
  display: block;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  color: var(--text) !important;
  text-decoration: none !important;
  overflow: hidden;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.kpi:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.kpi.active { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,128,118,.12); }
.kpi::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--kpi-color, var(--teal)); }
.kpi .label { font-size: .8em; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi .value { font-size: 1.9em; font-weight: 800; line-height: 1.2; margin-top: 2px; font-variant-numeric: tabular-nums; }
.kpi .hint { font-size: .8em; color: var(--muted); }
.kpi.highlight .value { color: var(--teal); }

/* ---------- Filtros ---------- */
.toolbar {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  margin-bottom: 14px;
}
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search-box svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-box input {
  width: 100%; min-height: 42px; padding: 8px 12px 8px 38px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: .92em; background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}
.search-box input:focus { outline: none; border-color: var(--teal-600); box-shadow: var(--ring); }
.segmented { display: inline-flex; padding: 3px; gap: 2px; background: #e8ecf3; border-radius: 10px; }
.segmented a {
  padding: 7px 14px; border-radius: 8px; font-size: .86em; font-weight: 600; color: var(--text-2);
  text-decoration: none; transition: background .15s, color .15s, box-shadow .15s;
}
.segmented a:hover { color: var(--text); text-decoration: none; }
.segmented a.active { background: var(--surface); color: var(--navy); box-shadow: var(--shadow-xs); }
.toolbar .spacer { flex: 1; }

/* ---------- Tabela de envios ---------- */
.table-card { padding: 0; overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left; font-size: .74em; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--muted); padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border);
}
.data-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; font-size: .92em; }
.data-table tbody tr { transition: background .12s; }
.data-table tbody tr:hover { background: #fafbfd; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--teal); }
.row-link { color: var(--text) !important; font-weight: 600; }
.row-link:hover { color: var(--teal) !important; }
.cell-sub { display: block; font-size: .82em; color: var(--muted); font-weight: 400; margin-top: 2px; }
.form-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: .84em; font-weight: 600; color: var(--text-2);
}
.form-tag::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--navy); }
.form-tag.sanitario::before { background: var(--teal); }
.mini-progress { display: flex; align-items: center; gap: 10px; min-width: 120px; }
.mini-progress .progress-bar-track { flex: 1; height: 6px; }
.mini-progress span { font-size: .8em; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 34px; text-align: right; }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 8px; display: inline-grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-2); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.icon-btn:hover { background: var(--teal-50); border-color: var(--teal-400); color: var(--teal); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- Detalhe ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.detail-side { display: grid; gap: 16px; position: sticky; top: 84px; }
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.detail-head h1 { margin: 0; font-size: 1.55em; color: var(--navy); }
.detail-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; color: var(--muted); font-size: .88em; }

.link-box {
  border: 1px solid #bfe3dc;
  background: linear-gradient(180deg, var(--teal-50), #fff);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.link-box.is-new { animation: popIn .45s var(--ease-spring) both; box-shadow: 0 0 0 4px rgba(0,128,118,.10), var(--shadow); }
.link-box h3 { margin: 0 0 4px; font-size: 1em; }
.link-box p { margin: 0 0 14px; color: var(--muted); font-size: .88em; }
.link-row { display: flex; gap: 8px; }
.link-row input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: .9em; color: var(--text-2); background: #fff;
}
.link-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.email-send-row { display: flex; gap: 8px; }
.email-send-row input {
  flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  font: inherit; font-size: .9em; color: var(--text-2); background: #fff;
}

.answers-step { margin-bottom: 16px; padding: 0; overflow: hidden; }
.answers-step > header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.answers-step > header h3 { margin: 0; font-size: .98em; }
.step-num {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--navy); color: #fff; font-size: .72em; font-weight: 700;
}
.answer-list { margin: 0; padding: 6px 20px; }
.answer-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; padding: 11px 0; border-bottom: 1px solid #f0f2f6; }
.answer-row:last-child { border-bottom: 0; }
.answer-row dt { color: var(--muted); font-size: .88em; }
.answer-row dd { margin: 0; font-weight: 600; font-size: .92em; white-space: pre-wrap; word-break: break-word; }
.answer-row.depth-1 dt, .answer-row.depth-2 dt { padding-left: 14px; border-left: 2px solid var(--teal-100); }
.file-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2);
  font-size: .88em; font-weight: 600; color: var(--text) !important;
}
.file-chip:hover { border-color: var(--teal-400); background: var(--teal-50); text-decoration: none; }
.file-chip svg { width: 16px; height: 16px; color: var(--teal); }

.side-card { padding: 18px; }
.side-card h3 { margin: 0 0 12px; font-size: .9em; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.kv { display: grid; gap: 10px; margin: 0; }
.kv div { display: grid; gap: 1px; }
.kv dt { font-size: .78em; color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; font-size: .92em; word-break: break-word; }
.status-actions { display: grid; gap: 8px; }
.status-actions .btn { justify-content: flex-start; }
.status-actions .btn.current { border-color: var(--teal); background: var(--teal-50); color: var(--teal); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline li { position: relative; padding: 0 0 14px 26px; font-size: .86em; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border-strong);
}
.timeline li.cliente::before { border-color: var(--teal); background: var(--teal-50); }
.timeline li.first::before { border-color: var(--teal); background: var(--teal); }
.timeline .when { display: block; color: var(--muted); font-size: .9em; }

.banner-progress { display: flex; align-items: center; gap: 16px; }
.banner-progress .progress-bar-track { flex: 1; }

/* ---------- Formulários do painel ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.form-grid .full { grid-column: 1 / -1; }
.template-choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.template-choice .option-item { height: 100%; }
.template-choice .option-row { padding: 16px; }
.template-choice .tpl-title { display: block; font-weight: 700; color: var(--navy); }
.template-choice .tpl-desc { display: block; font-size: .84em; color: var(--muted); font-weight: 400; margin-top: 2px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tip-list { margin: 0; padding-left: 18px; color: var(--text-2); font-size: .9em; }
.tip-list li { margin-bottom: 8px; }

/* ---------- Login ---------- */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 90% 110%, rgba(0,150,138,.55), transparent 60%),
    radial-gradient(500px 360px at 0% 0%, rgba(249,196,0,.16), transparent 60%),
    linear-gradient(145deg, var(--navy-900), var(--navy));
  color: #fff;
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  pointer-events: none;
}
.login-hero > * { position: relative; z-index: 1; }
.login-hero img { height: 62px; width: auto; align-self: flex-start; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.login-hero h2 { color: #fff; font-size: 2em; line-height: 1.2; margin: 0 0 12px; max-width: 460px; }
.login-hero p { color: #c9d4f0; max-width: 440px; margin: 0; }
.login-hero .features { display: grid; gap: 12px; margin-top: 28px; }
.login-hero .features div { display: flex; gap: 12px; align-items: center; color: #e5ebfa; font-size: .95em; }
.login-hero .features span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,.1); }
.login-hero small { color: #8f9ec6; }

.login-side { display: grid; place-items: center; padding: 32px 20px; background: var(--surface); }
.login-card { width: 100%; max-width: 380px; animation: fadeUp .5s var(--ease) both; }
.login-card h1 { margin: 0 0 6px; font-size: 1.6em; color: var(--navy); }
.login-card > p { margin: 0 0 26px; color: var(--muted); }
.login-card .logo-mobile { display: none; height: 40px; margin-bottom: 24px; }
.password-wrap { position: relative; }
.password-wrap button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: var(--muted); cursor: pointer; padding: 8px; border-radius: 6px; font-size: .82em; font-weight: 600;
}
.password-wrap button:hover { color: var(--teal); background: var(--teal-50); }
.password-wrap input { padding-right: 70px !important; }

/* ---------- Impressão (salvar respostas em PDF) ---------- */
@media print {
  body { background: #fff; font-size: 12px; }
  .admin-topbar, .install-banner, .detail-side, .link-box, .no-print, .toast-stack { display: none !important; }
  .admin-wrap { padding: 0; max-width: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .card { box-shadow: none; border-color: #ddd; break-inside: avoid; }
  .print-only { display: block !important; }
}
.print-only { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-side { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .login-page { grid-template-columns: 1fr; }
  .login-hero { display: none; }
  .login-card .logo-mobile { display: block; }

  .menu-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  .brand-sub { display: none; }
  .nav-links, .nav-actions {
    display: none;
  }
  .admin-topbar.menu-open .topbar-inner { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 14px; row-gap: 10px; }
  .admin-topbar.menu-open .nav-links,
  .admin-topbar.menu-open .nav-actions {
    display: flex; flex-direction: column; align-items: stretch; width: 100%; flex-basis: 100%;
    animation: fadeUp .25s var(--ease);
  }
  .admin-topbar.menu-open .nav-links a { padding: 12px; }
  .admin-topbar.menu-open .nav-links a.active::after { display: none; }
  .admin-topbar.menu-open .nav-actions { gap: 8px; }
  .admin-topbar.menu-open .btn-top, .admin-topbar.menu-open .user-chip { justify-content: center; min-height: 42px; }
  .admin-topbar.menu-open .user-menu { width: 100%; }
  .admin-topbar.menu-open .user-chip { width: 100%; }
  .admin-topbar.menu-open .dropdown { position: static; margin-top: 8px; box-shadow: none; }
}

@media (max-width: 760px) {
  .admin-wrap { padding: 20px 14px 48px; }
  .page-head h1 { font-size: 1.35em; }
  .kpi { padding: 14px; }
  .kpi .value { font-size: 1.6em; }
  .toolbar .segmented { width: 100%; overflow-x: auto; }
  .search-box { max-width: none; }
  .form-grid, .template-choice { grid-template-columns: 1fr; }
  .answer-row { grid-template-columns: 1fr; gap: 3px; }
  .link-row, .email-send-row { flex-direction: column; }

  /* tabela vira lista de cards */
  .data-table thead { display: none; }
  .data-table, .data-table tbody, .data-table tr, .data-table td { display: block; width: 100%; }
  .data-table tr { padding: 14px 16px; border-bottom: 1px solid var(--border); position: relative; }
  .data-table tbody tr:last-child { border-bottom: 0; }
  .data-table td { padding: 3px 0; border: 0; }
  .data-table td[data-label]::before {
    content: attr(data-label); display: inline-block; min-width: 92px;
    font-size: .76em; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  }
  .data-table td.cell-main { padding-right: 90px; margin-bottom: 6px; }
  .data-table td.cell-actions { position: absolute; top: 12px; right: 12px; width: auto; }
  .data-table tr.is-new td:first-child { box-shadow: none; }
  .data-table tr.is-new { box-shadow: inset 3px 0 0 var(--teal); }
  .mini-progress { display: inline-flex; width: calc(100% - 100px); vertical-align: middle; }
}

/* ==========================================================================
   Refinos de responsividade
   ========================================================================== */
.install-close {
  flex: none;
  width: 32px; height: 32px; border-radius: 8px;
  border: 0; background: transparent; color: #6b4d00;
  font-size: 1.4em; line-height: 1; cursor: pointer;
}
.install-close:hover { background: rgba(0,0,0,.06); }

.table-card { overflow-x: auto; }
.toast-stack { bottom: calc(20px + env(safe-area-inset-bottom)); }

/* Notebooks pequenos / tablet deitado: topo mais enxuto */
@media (max-width: 1180px) and (min-width: 861px) {
  .brand-sub { display: none; }
  .btn-push .lbl, .chip-name { display: none; }
  .btn-push { padding: 6px 10px; }
  .user-chip { padding: 4px; }
  .topbar-inner { gap: 16px; }
}

@media (max-width: 860px) {
  .brand img { height: 34px; }
  .admin-topbar.menu-open .nav-actions .btn-top { width: 100%; }
}

@media (max-width: 760px) {
  .page-head { align-items: stretch; }
  .page-head .btn { width: 100%; }
  .kpis { gap: 10px; margin-bottom: 16px; }
  .kpi .hint { display: none; }
  .kpi .label { font-size: .72em; }
  .icon-btn { width: 40px; height: 40px; }
  .detail-head h1 { font-size: 1.3em; }
  .detail-head .btn { display: none; }
  .link-box { padding: 16px; border-radius: var(--radius); }
  .link-actions .btn { flex: 1 1 100%; }
  .answers-step > header { padding: 12px 16px; }
  .answer-list { padding: 4px 16px; }
  .side-card { padding: 16px; }
  .install-banner { font-size: .82em; }
  .install-banner .inner { padding: 8px 12px 8px 14px; flex-wrap: nowrap; gap: 10px; }
  .install-banner .inner > svg { display: none; }
  .install-banner .inner span { min-width: 0; }
  .login-side { place-items: start center; padding-top: 12vh; }
}

@media (max-width: 380px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 12px; }
  .kpi .value { font-size: 1.4em; }
  .segmented a { padding: 7px 10px; }
}

@media (min-width: 1600px) {
  .login-hero { padding: 72px 88px; }
  .login-hero img { height: 76px; }
  .login-hero h2 { font-size: 2.5em; max-width: 560px; }
  .login-hero p { font-size: 1.08em; max-width: 520px; }
  .login-hero .features div { font-size: 1.02em; }
  .login-card { max-width: 400px; }
}
