/* ============================================================
   FCC HQ — Design System v1  (mobile-first)
   Brand: ink #141414 · orange #FF751F · Oswald display · Inter body
   ============================================================ */

:root {
  --ink: #141414;
  --ink-2: #1c1c22;
  --ink-3: #26262e;
  --orange: #FF751F;
  --orange-dark: #e5660f;
  --orange-soft: #fff3ea;
  --bg: #f5f6f8;
  --card: #ffffff;
  --line: #e7e9ee;
  --text: #1a1d23;
  --muted: #6b7280;
  --green: #1c7a3f;
  --green-soft: #e7f6ec;
  --red: #b02a2a;
  --red-soft: #fdecec;
  --blue: #1d4ed8;
  --blue-soft: #e7effe;
  --amber: #92400e;
  --amber-soft: #fef3c7;
  --radius: 12px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 18, 24, .05), 0 4px 16px rgba(16, 18, 24, .06);
  --sidebar-w: 248px;
  --topbar-h: 60px;
  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { font-family: inherit; }

/* ---------- App frame ---------- */
.hq { min-height: 100vh; }
.hq-main { min-height: 100vh; display: flex; flex-direction: column; }
.hq-content { flex: 1; padding: 18px 16px 56px; width: 100%; max-width: 1280px; margin: 0 auto; }

@media (min-width: 980px) {
  .hq-main { margin-left: var(--sidebar-w); }
  .hq-content { padding: 26px 30px 64px; }
}

/* ---------- Sidebar ---------- */
.sb {
  position: fixed; inset: 0 auto 0 0; z-index: 90;
  width: var(--sidebar-w);
  background: var(--ink);
  color: #d7d9de;
  display: flex; flex-direction: column;
  transform: translateX(-100%);
  transition: transform .25s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.sb.is-open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,.35); }
@media (min-width: 980px) {
  .sb { transform: none; }
}
.sb-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 18px 16px;
  border-bottom: 1px solid #23232b;
}
.sb-brand img { height: 40px; width: auto; display: block; border-radius: 6px; }
.sb-brand .tag {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .14em; color: #9ca0aa; text-transform: uppercase;
}
.sb-nav { flex: 1; padding: 14px 12px 20px; }
.sb-sec {
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #6d717c;
  padding: 16px 10px 6px;
}
.sb-item {
  display: flex; align-items: center; gap: 11px;
  min-height: 44px; padding: 0 10px;
  border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 500; color: #c9ccd4;
  position: relative;
  transition: background .15s, color .15s;
}
.sb-item svg { width: 18px; height: 18px; flex: 0 0 18px; stroke: currentColor; }
.sb-item:hover { background: var(--ink-2); color: #fff; }
.sb-item.is-active {
  background: var(--ink-3); color: #fff;
}
.sb-item.is-active::before {
  content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 2px; background: var(--orange);
}
.sb-item.is-active svg { stroke: var(--orange); }
.sb-item.is-soon { opacity: .45; cursor: default; }
.sb-item .soon {
  margin-left: auto; font-size: 9.5px; font-weight: 700; letter-spacing: .06em;
  color: #8b8f9a; border: 1px solid #33333d; border-radius: 999px; padding: 1px 7px;
  text-transform: uppercase;
}
.sb-user {
  border-top: 1px solid #23232b;
  padding: 14px; display: flex; align-items: center; gap: 10px;
}
.sb-user-link {
  display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0;
  border-radius: var(--radius-sm); padding: 4px; margin: -4px;
}
.sb-user-link:hover { background: var(--ink-2); }
.sb-user .avatar {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
}
.sb-user .who { min-width: 0; }
.sb-user .who .n { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user .who .r { font-size: 11px; color: #8b8f9a; text-transform: capitalize; }
.sb-user .out {
  margin-left: auto; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm); color: #8b8f9a;
}
.sb-user .out:hover { background: var(--ink-2); color: #fff; }
.sb-user .out svg { width: 17px; height: 17px; stroke: currentColor; }

.sb-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(10, 10, 12, .5);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.sb-overlay.is-open { opacity: 1; pointer-events: auto; }
@media (min-width: 980px) { .sb-overlay { display: none; } }

/* ---------- Topbar ---------- */
.tb {
  height: var(--topbar-h);
  background: var(--card);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  position: sticky; top: 0; z-index: 60;
}
@media (min-width: 980px) { .tb { padding: 0 26px; } }
.tb-burger {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  border-radius: var(--radius-sm); color: var(--text);
}
.tb-burger:hover { background: var(--bg); }
.tb-burger svg { width: 22px; height: 22px; stroke: currentColor; }
@media (min-width: 980px) { .tb-burger { display: none; } }
.tb-title {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  letter-spacing: .02em; text-transform: uppercase;
}
.tb-search {
  display: none; flex: 1; max-width: 420px; margin-left: 8px; position: relative;
}
@media (min-width: 760px) { .tb-search { display: block; } }
.tb-search input {
  width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); padding: 0 12px 0 38px; font-size: 13.5px; font-family: inherit;
}
.tb-search input:focus { outline: 2px solid var(--orange); outline-offset: -1px; background: #fff; }
.tb-search svg {
  position: absolute; left: 12px; top: 11px; width: 17px; height: 17px;
  stroke: var(--muted); pointer-events: none;
}
.tb-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tb-new {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 15px; border: none; cursor: pointer;
  background: var(--orange); color: #fff;
  border-radius: 10px; font-weight: 700; font-size: 13.5px; font-family: inherit;
}
.tb-new:hover { background: var(--orange-dark); }
.tb-new svg { width: 15px; height: 15px; stroke: #fff; }
.tb-new span { display: none; }
@media (min-width: 560px) { .tb-new span { display: inline; } }
.tb-ico {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--radius-sm); border: none;
  background: none; cursor: pointer; color: var(--muted);
}
.tb-ico:hover { background: var(--bg); color: var(--text); }
.tb-ico svg { width: 19px; height: 19px; stroke: currentColor; }

/* ---------- Dropdown ---------- */
.dd { position: relative; }
.dd-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 100;
  min-width: 210px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 6px;
  display: none;
}
.dd.is-open .dd-menu { display: block; }
.dd-menu a, .dd-menu button {
  display: flex; align-items: center; gap: 10px; width: 100%;
  min-height: 42px; padding: 0 12px; border: none; background: none; cursor: pointer;
  border-radius: 8px; font-size: 13.5px; font-family: inherit; color: var(--text); text-align: left;
}
.dd-menu a:hover, .dd-menu button:hover { background: var(--bg); }
.dd-menu .dis { opacity: .45; cursor: default; }
.dd-menu .dis:hover { background: none; }
.dd-menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }

/* ---------- Page head ---------- */
.page-head { margin-bottom: 20px; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 600; font-size: 24px;
  letter-spacing: .01em; text-transform: uppercase;
}
.page-head .sub { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* ---------- Cards & KPIs ---------- */
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px;
}
.card + .card { margin-top: 16px; }
.card h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px;
}
.kpis {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin-bottom: 18px;
}
.kpi {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 18px;
}
.kpi .l { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kpi .v { font-family: var(--font-display); font-weight: 600; font-size: 30px; margin-top: 4px; }
.kpi .s { font-size: 12px; color: var(--muted); margin-top: 2px; }

.grid-2 { display: grid; gap: 16px; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: #c9cdd6; background: var(--bg); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #8f1f1f; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 12.5px; }

/* ---------- Forms ---------- */
/* Selects match inputs everywhere (incl. iOS Safari, which ignores height on
   native selects — appearance:none + custom chevron fixes the mismatch). */
select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 42px;
  border: 1px solid #cfd3da;
  border-radius: var(--radius-sm);
  background-color: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 0 34px 0 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%236b7280' stroke-width='2'><path d='M2 4l4 4 4-4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 11px;
}
select:focus { outline: 2px solid var(--orange); outline-offset: -1px; }

.fld { margin-bottom: 14px; }
.fld label {
  display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px;
}
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 44px; padding: 0 13px;
  border: 1px solid #cfd3da; border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; background-color: #fff; color: var(--text);
}
.fld select { padding-right: 34px; }
.fld textarea { padding: 11px 13px; min-height: 90px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: 2px solid var(--orange); outline-offset: -1px;
}
.form-row { display: grid; gap: 12px; }
@media (min-width: 720px) {
  .form-row { grid-template-columns: repeat(var(--cols, 2), 1fr); align-items: end; }
  .form-row .span2 { grid-column: span 2; }
}

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-block; font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap; text-transform: capitalize;
}
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-blue { background: var(--blue-soft); color: var(--blue); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-gray { background: #eef0f3; color: #4b5563; }
.pill-orange { background: var(--orange-soft); color: var(--orange-dark); }

/* ---------- Tables (mobile = card rows) ---------- */
.tbl-wrap { overflow: visible; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th {
  text-align: left; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  padding: 10px 12px; border-bottom: 1px solid var(--line); background: #fafbfc;
}
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl .muted { color: var(--muted); font-size: 12.5px; }
.tbl .actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

@media (max-width: 767px) {
  .tbl thead { display: none; }
  .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
  .tbl tr {
    border: 1px solid var(--line); border-radius: var(--radius);
    margin-bottom: 12px; padding: 6px 0; background: #fff;
  }
  .tbl td { border: none; padding: 8px 14px; }
  .tbl td[data-label]::before {
    content: attr(data-label);
    display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
  }
}

/* ---------- Flash ---------- */
.flash {
  display: flex; align-items: flex-start; gap: 10px;
  border-radius: var(--radius); padding: 13px 16px; margin-bottom: 16px;
  font-size: 13.5px; font-weight: 500;
}
.flash-ok { background: var(--green-soft); color: var(--green); border: 1px solid #bfe6cc; }
.flash-err { background: var(--red-soft); color: var(--red); border: 1px solid #f3c1c1; }
.flash .x { margin-left: auto; background: none; border: none; cursor: pointer; color: inherit; font-size: 16px; line-height: 1; padding: 2px; }

/* ---------- Roadmap / activity ---------- */
.road li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--line); list-style: none; font-size: 13.5px;
}
.road li:last-child { border-bottom: 0; }
.feed { list-style: none; }
.feed li { display: flex; gap: 11px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.feed li:last-child { border-bottom: 0; }
.feed .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 6px; flex: 0 0 8px; }
.feed .t { color: var(--muted); font-size: 11.5px; }
.empty { text-align: center; color: var(--muted); padding: 26px 10px; font-size: 13.5px; }

/* ---------- Tabs ---------- */
.tabbar { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.tab {
  min-height: 40px; display: inline-flex; align-items: center; padding: 0 15px;
  border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1px solid transparent;
}
.tab:hover { background: #eceef2; color: var(--text); }
.tab.is-active { background: var(--ink); color: #fff; }

/* ---------- Filter bar (shared) ---------- */
.filterbar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 0 0 16px; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.filterbar select, .filterbar input[type=text], .filterbar input[type=search] {
  height: 42px; border: 1px solid #cfd3da; border-radius: var(--radius-sm);
  padding: 0 11px; font-size: 13.5px; font-family: inherit; background: #fff;
}
.filterbar input[type=text], .filterbar input[type=search] { flex: 1; min-width: 190px; }
.filterbar select:focus, .filterbar input:focus { outline: 2px solid var(--orange); outline-offset: -1px; }
.filterbar .fbtn {
  height: 42px; padding: 0 18px; border: none; border-radius: var(--radius-sm);
  background: var(--orange); color: #fff; font-weight: 700; font-size: 13.5px; cursor: pointer; font-family: inherit;
}
.filterbar .fbtn:hover { background: var(--orange-dark); }
.filterbar .fclear { color: var(--muted); font-size: 13px; padding: 0 8px; }
.cellchips { max-width: 320px; }
.tag {
  display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px;
  border-radius: 6px; background: #eef1f4; color: #374151; margin: 2px 3px 2px 0; white-space: nowrap;
}
.tag.st { background: var(--blue-soft); color: var(--blue); }
.crumb { font-size: 12.5px; color: var(--muted); font-weight: 600; display: inline-block; margin-bottom: 4px; }
.crumb:hover { color: var(--orange); }
.right { text-align: right; }
.inline-form { display: inline; }

/* ---------- Detail definition list ---------- */
.dl-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.dl-row:last-child { border-bottom: 0; }
.dl-k { color: var(--muted); font-weight: 600; font-size: 12.5px; }
@media (max-width: 560px) { .dl-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Checkbox chip grids (tag editors) ---------- */
.lbl-sm { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.chipgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.chipgrid .chk {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; cursor: pointer; background: #fff;
}
.chipgrid .chk:hover { border-color: var(--orange); }
.chipgrid .chk input { width: 15px; height: 15px; accent-color: var(--orange); }
.chipgrid.tight .chk { padding: 5px 9px; font-size: 12px; }
.stategrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.stategroup { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: #fafbfc; }
.stategroup .h { font-size: 11.5px; font-weight: 700; margin-bottom: 8px; }

/* ---------- Milestones / tasks ---------- */
.mstone { list-style: none; }
.mstone li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.mstone li:last-child { border-bottom: 0; }
.mstone .mark {
  width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; cursor: pointer;
  border: 2px solid #cfd3da; background: #fff; color: #fff; font-size: 14px; line-height: 1;
}
.mstone li.done .mark { background: var(--green); border-color: var(--green); }
.mstone li.done .nm { text-decoration: line-through; color: var(--muted); }
.mstone .nm { flex: 1; min-width: 0; }
.mstone .due { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- Stage strip (dashboard) ---------- */
.stage-strip { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.stage-cell {
  text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px;
  transition: border-color .15s, background .15s;
}
.stage-cell:hover { border-color: var(--orange); background: var(--orange-soft); }
.stage-cell .n { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.stage-cell .t { font-size: 10.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Kanban ---------- */
.kanban {
  display: flex; gap: 12px; align-items: flex-start;
  overflow-x: auto; padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
}
.kb-col {
  flex: 0 0 262px; width: 262px;
  background: #eef0f4; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px;
}
.kb-head {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: 12.5px;
  letter-spacing: .06em; text-transform: uppercase; padding: 2px 4px 10px;
}
.kb-count {
  font-family: var(--font-body); font-size: 11px; font-weight: 700;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; color: var(--muted);
}
.kb-cards { min-height: 30px; display: flex; flex-direction: column; gap: 8px; }
.kb-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; box-shadow: 0 1px 2px rgba(16,18,24,.05);
  cursor: grab;
}
.kb-card:active { cursor: grabbing; }
.kb-card:hover { border-color: #c9cdd6; }
.kb-num { font-size: 10.5px; font-weight: 700; color: var(--orange-dark); letter-spacing: .04em; }
.kb-name { font-size: 13px; font-weight: 600; margin: 2px 0 3px; }
.kb-meta, .kb-loc { font-size: 11.5px; color: var(--muted); }
.kb-ghost { opacity: .4; }

/* ============================================================
   Auth screens (login / invite) — standalone, ink background
   ============================================================ */
.auth-body {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(255, 117, 31, .13), transparent 55%),
    radial-gradient(700px 400px at 0% 110%, rgba(255, 117, 31, .07), transparent 50%),
    var(--ink);
  padding: 24px 16px;
}
.auth-card {
  width: 100%; max-width: 400px;
  background: var(--card); border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  padding: 34px 30px 30px;
}
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-brand img { height: 44px; }
.auth-brand .hq-mark {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}
.auth-card h1 {
  font-family: var(--font-display); font-weight: 600; font-size: 21px;
  text-transform: uppercase; letter-spacing: .02em; text-align: center; margin-bottom: 4px;
}
.auth-card .sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.auth-card .btn { width: 100%; margin-top: 6px; min-height: 46px; font-size: 14.5px; }
.auth-err {
  background: var(--red-soft); color: var(--red); border: 1px solid #f3c1c1;
  border-radius: var(--radius-sm); padding: 10px 13px; font-size: 13px; margin-bottom: 14px;
}
.auth-foot { text-align: center; margin-top: 18px; font-size: 12px; color: var(--muted); }
