/* =========================================================
   LDC Uplift Realty — CRM
   Design system + layout
   ========================================================= */

:root {
  --navy-900: #0f1c2e;
  --navy-800: #16263c;
  --navy-700: #1e3350;
  --navy-600: #274267;
  --teal-500: #2456c7;
  --teal-600: #1e3a8a;
  --teal-050: #eef3fd;
  --gold-500: #c99a3b;
  --gold-050: #f8f1e1;

  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #f9fafb;
  --border: #e3e8ef;
  --border-strong: #cbd5e1;

  --text: #1a2433;
  --text-soft: #55627a;
  --text-mute: #8a95a8;

  --green: #16a34a;
  --green-bg: #e7f6ec;
  --amber: #d97706;
  --amber-bg: #fdf1e0;
  --red: #dc2626;
  --red-bg: #fbe9e9;
  --blue: #2563eb;
  --blue-bg: #e8eefc;
  --purple: #7c3aed;
  --purple-bg: #f0e9fc;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 28, 46, .06), 0 1px 3px rgba(15, 28, 46, .08);
  --shadow-md: 0 4px 12px rgba(15, 28, 46, .08);
  --shadow-lg: 0 12px 32px rgba(15, 28, 46, .16);

  --sidebar-w: 244px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal-600); text-decoration: none; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* ---------- Utility ---------- */
.hidden { display: none !important; }
.text-mute { color: var(--text-mute); }
.text-soft { color: var(--text-soft); }
.right { text-align: right; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mono { font-variant-numeric: tabular-nums; }

/* =========================================================
   LOGIN
   ========================================================= */
.auth-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--navy-900);
}
.auth-hero {
  position: relative;
  padding: 56px;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(13,148,136,.35), transparent 60%),
    radial-gradient(900px 500px at 90% 110%, rgba(201,154,59,.28), transparent 55%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.auth-hero .brand-lg { display: flex; align-items: center; gap: 14px; }
.auth-hero .brand-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-500), var(--gold-500));
  display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.auth-hero h1 { font-size: 40px; line-height: 1.1; margin: 0 0 14px; font-weight: 800; letter-spacing: -.5px; }
.auth-hero p { font-size: 16px; color: rgba(255,255,255,.78); max-width: 420px; }
.auth-hero .hero-stats { display: flex; gap: 30px; }
.auth-hero .hero-stats .n { font-size: 26px; font-weight: 800; }
.auth-hero .hero-stats .l { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; }

.auth-panel {
  background: var(--surface);
  display: grid;
  place-items: center;
  padding: 40px;
}
.auth-card { width: 100%; max-width: 360px; }
.auth-card h2 { margin: 0 0 6px; font-size: 24px; }
.auth-card .sub { color: var(--text-soft); margin: 0 0 26px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-soft); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-050);
}
.auth-error {
  background: var(--red-bg); color: var(--red);
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 13px; margin-bottom: 16px;
}
.auth-hint { margin-top: 18px; font-size: 12.5px; color: var(--text-mute); text-align: center; }
.auth-hint code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; border: 1px solid var(--border); }

/* =========================================================
   APP SHELL
   ========================================================= */
.app { display: grid; grid-template-columns: var(--sidebar-w) 1fr; min-height: 100vh; }

.sidebar {
  background: var(--navy-900);
  color: #cdd6e4;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  display: flex; align-items: center; gap: 11px;
  padding: 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.sidebar .brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--teal-500), var(--gold-500));
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 16px;
}
.sidebar .brand-txt b { color: #fff; font-size: 15px; display: block; letter-spacing: -.2px; }
.sidebar .brand-txt span { font-size: 11px; color: #8595ad; }

.nav { flex: 1; overflow-y: auto; padding: 12px 10px; }
.nav-group-label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: #64748b; padding: 14px 10px 6px; font-weight: 700;
}
.nav-item {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 11px; margin: 2px 0;
  border-radius: 9px; cursor: pointer;
  color: #b4c0d4; font-weight: 500; font-size: 13.5px;
  transition: background .12s, color .12s;
  border: none; background: none; width: 100%; text-align: left;
}
.nav-item svg { width: 18px; height: 18px; flex-shrink: 0; opacity: .85; }
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav-item.active { background: linear-gradient(90deg, rgba(13,148,136,.9), rgba(13,148,136,.55)); color: #fff; }
.nav-item.active svg { opacity: 1; }
.nav-item .badge-count {
  margin-left: auto; background: var(--gold-500); color: #3a2c07;
  font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 20px;
}

.sidebar-foot { padding: 12px; border-top: 1px solid rgba(255,255,255,.07); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 9px; }
.user-chip .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--navy-600));
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px;
}
.user-chip .who b { color: #fff; font-size: 13px; display: block; }
.user-chip .who span { font-size: 11px; color: #8595ad; }
.btn-logout {
  margin-left: auto; background: none; border: none; color: #8595ad; cursor: pointer;
  padding: 6px; border-radius: 7px;
}
.btn-logout:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Main ---------- */
.main { display: flex; flex-direction: column; min-width: 0; }
.topbar {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 28px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 20;
}
.topbar h1 { font-size: 20px; margin: 0; font-weight: 700; letter-spacing: -.3px; }
.topbar .crumb { color: var(--text-mute); font-size: 12.5px; }
.topbar .spacer { flex: 1; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 14px; min-width: 220px;
}
.search-box input { border: none; background: none; outline: none; width: 100%; }
.search-box svg { width: 15px; height: 15px; color: var(--text-mute); }

.view { padding: 24px 28px 60px; }

/* =========================================================
   COMPONENTS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: all .13s;
}
.btn:hover { border-color: var(--text-mute); box-shadow: var(--shadow-sm); }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.btn-primary:hover { background: var(--teal-500); border-color: var(--teal-500); }
.btn-navy { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-danger { color: var(--red); border-color: transparent; background: transparent; }
.btn-danger:hover { background: var(--red-bg); border-color: var(--red-bg); }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border); }
.btn-sm { padding: 6px 11px; font-size: 12.5px; }
.btn-icon { padding: 8px; border-radius: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-bottom: 1px solid var(--border);
}
.card-head h3 { margin: 0; font-size: 15px; font-weight: 700; }
.card-head .spacer { flex: 1; }
.card-body { padding: 18px; }

/* KPI cards */
.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 22px; }
.kpi {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.kpi .kpi-icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px;
}
.kpi .kpi-icon svg { width: 20px; height: 20px; }
.kpi .kpi-label { font-size: 12.5px; color: var(--text-soft); font-weight: 600; }
.kpi .kpi-value { font-size: 27px; font-weight: 800; letter-spacing: -.5px; margin-top: 2px; }
.kpi .kpi-sub { font-size: 12px; margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.kpi .up { color: var(--green); } .kpi .down { color: var(--red); }
.ic-teal { background: var(--teal-050); color: var(--teal-600); }
.ic-gold { background: var(--gold-050); color: var(--gold-500); }
.ic-blue { background: var(--blue-bg); color: var(--blue); }
.ic-green { background: var(--green-bg); color: var(--green); }
.ic-red { background: var(--red-bg); color: var(--red); }
.ic-purple { background: var(--purple-bg); color: var(--purple); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dash-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
@media (max-width: 1100px) { .dash-cols, .grid-2 { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
table.data th {
  text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-mute); font-weight: 700; padding: 11px 14px;
  border-bottom: 1px solid var(--border); background: var(--surface-2);
  position: sticky; top: 0;
}
table.data td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tbody tr:hover { background: var(--surface-2); }
table.data tbody tr:last-child td { border-bottom: none; }
.cell-main { font-weight: 600; color: var(--text); }
.cell-sub { font-size: 12px; color: var(--text-mute); }
.avatar-sm {
  width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 12px; flex-shrink: 0;
}
.person { display: flex; align-items: center; gap: 10px; }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.b-green { background: var(--green-bg); color: #15803d; }
.b-amber { background: var(--amber-bg); color: #b45309; }
.b-red { background: var(--red-bg); color: #b91c1c; }
.b-blue { background: var(--blue-bg); color: #1d4ed8; }
.b-purple { background: var(--purple-bg); color: #6d28d9; }
.b-gray { background: #eef1f5; color: #556; }
.b-teal { background: var(--teal-050); color: var(--teal-600); }

.pill { padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 600; background: #eef1f5; color: #556; }

/* Toolbar / filters */
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.toolbar .spacer { flex: 1; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--border); border-radius: 9px; padding: 3px; }
.seg button {
  border: none; background: none; padding: 6px 13px; border-radius: 7px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--text-soft);
}
.seg button.active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.filter-select {
  padding: 8px 11px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); font-weight: 500; color: var(--text);
}

/* Empty state */
.empty { text-align: center; padding: 50px 20px; color: var(--text-mute); }
.empty svg { width: 44px; height: 44px; margin-bottom: 12px; opacity: .4; }
.empty h4 { margin: 0 0 4px; color: var(--text-soft); }

/* Progress bar */
.bar { height: 7px; background: var(--surface-2); border-radius: 20px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 20px; background: var(--teal-500); }

/* =========================================================
   MODAL
   ========================================================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(15,28,46,.5);
  display: grid; place-items: center; padding: 20px; z-index: 100;
  backdrop-filter: blur(2px);
}
.modal {
  background: var(--surface); border-radius: 16px; width: 100%; max-width: 540px;
  box-shadow: var(--shadow-lg); max-height: 90vh; display: flex; flex-direction: column;
  animation: pop .16s ease;
}
.modal.wide { max-width: 720px; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.modal-head { display: flex; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.modal-head h3 { margin: 0; font-size: 17px; }
.modal-head .x { margin-left: auto; background: none; border: none; cursor: pointer; color: var(--text-mute); padding: 6px; border-radius: 7px; }
.modal-head .x:hover { background: var(--surface-2); }
.modal-body { padding: 22px; overflow-y: auto; }
.modal-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 22px; border-top: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }

/* =========================================================
   TOAST
   ========================================================= */
.toast-wrap { position: fixed; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 10px; z-index: 200; }
.toast {
  background: var(--navy-900); color: #fff; padding: 12px 16px; border-radius: 10px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-size: 13.5px;
  animation: slidein .2s ease; max-width: 340px;
}
.toast.ok { border-left: 3px solid var(--green); }
.toast.err { border-left: 3px solid var(--red); }
.toast.info { border-left: 3px solid var(--teal-500); }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }

/* =========================================================
   CALENDAR
   ========================================================= */
.cal-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.cal-head h2 { margin: 0; font-size: 18px; min-width: 200px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cal-dow { background: var(--surface-2); padding: 9px; text-align: center; font-size: 11.5px; font-weight: 700; color: var(--text-mute); text-transform: uppercase; }
.cal-cell { background: var(--surface); min-height: 108px; padding: 7px; position: relative; }
.cal-cell.other { background: var(--surface-2); }
.cal-cell .cal-num { font-size: 12.5px; font-weight: 600; color: var(--text-soft); }
.cal-cell.today .cal-num { background: var(--teal-600); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; }
.cal-ev {
  font-size: 11px; padding: 3px 7px; border-radius: 6px; margin-top: 4px; cursor: pointer;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600;
}
.ev-showing { background: var(--blue-bg); color: #1d4ed8; }
.ev-meeting { background: var(--purple-bg); color: #6d28d9; }
.ev-closing { background: var(--green-bg); color: #15803d; }
.ev-inspection { background: var(--amber-bg); color: #b45309; }
.ev-other { background: #eef1f5; color: #556; }

/* Reminders */
.reminder { display: flex; align-items: flex-start; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--border); }
.reminder:last-child { border-bottom: none; }
.rem-check { width: 20px; height: 20px; border: 2px solid var(--border-strong); border-radius: 6px; cursor: pointer; flex-shrink: 0; margin-top: 1px; display: grid; place-items: center; background: var(--surface); }
.rem-check.done { background: var(--teal-600); border-color: var(--teal-600); }
.rem-check svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.rem-check.done svg { opacity: 1; }
.reminder .rem-body { flex: 1; min-width: 0; }
.reminder .rem-title { font-weight: 600; }
.reminder.is-done .rem-title { text-decoration: line-through; color: var(--text-mute); }
.reminder .rem-meta { font-size: 12px; color: var(--text-mute); margin-top: 2px; display: flex; gap: 10px; align-items: center; }

/* Activity feed */
.feed-item { display: flex; gap: 12px; padding: 11px 0; }
.feed-item .fi-dot { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.feed-item .fi-dot svg { width: 16px; height: 16px; }
.feed-item .fi-body { flex: 1; }
.feed-item .fi-body b { font-weight: 600; }
.feed-item .fi-time { font-size: 11.5px; color: var(--text-mute); }

/* Simple bar chart */
.chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding-top: 10px; }
.chart-bars .cb { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; justify-content: flex-end; }
.chart-bars .cb .bar-fill { width: 100%; max-width: 42px; border-radius: 7px 7px 0 0; background: linear-gradient(180deg, var(--teal-500), var(--teal-600)); transition: height .4s; min-height: 3px; }
.chart-bars .cb .cb-label { font-size: 11.5px; color: var(--text-mute); font-weight: 600; }
.chart-bars .cb .cb-val { font-size: 12px; font-weight: 700; }

/* Donut legend */
.legend { display: flex; flex-direction: column; gap: 9px; }
.legend .lg { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.legend .lg .sw { width: 11px; height: 11px; border-radius: 3px; }
.legend .lg .lg-val { margin-left: auto; font-weight: 700; }

/* Property cards */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.prop-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prop-photo { height: 158px; position: relative; display: grid; place-items: center; color: #fff; font-weight: 700; }
.prop-photo .prop-price { position: absolute; bottom: 10px; left: 12px; background: rgba(15,28,46,.82); padding: 5px 11px; border-radius: 8px; font-size: 15px; }
.prop-photo .prop-status { position: absolute; top: 10px; right: 10px; }
.prop-info { padding: 15px; }
.prop-info h4 { margin: 0 0 3px; font-size: 15px; }
.prop-info .addr { color: var(--text-mute); font-size: 12.5px; margin-bottom: 12px; }
.prop-specs { display: flex; gap: 16px; font-size: 12.5px; color: var(--text-soft); border-top: 1px solid var(--border); padding-top: 11px; }
.prop-specs span { display: flex; align-items: center; gap: 5px; }
.prop-actions { display: flex; gap: 6px; margin-top: 12px; }

/* Detail rows */
.detail-list { display: flex; flex-direction: column; gap: 0; }
.detail-list .dl { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.detail-list .dl:last-child { border: none; }
.detail-list .dl .k { color: var(--text-soft); }
.detail-list .dl .v { font-weight: 600; }

/* Sync page */
.sync-status { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.sync-status.on { background: var(--green-bg); color: #15803d; }
.sync-status.off { background: #eef1f5; color: var(--text-soft); }
.sync-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.code-block { background: var(--navy-900); color: #d7e0ee; border-radius: 10px; padding: 16px; font-family: "SF Mono", Consolas, monospace; font-size: 12px; overflow-x: auto; white-space: pre; line-height: 1.55; }
.entity-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.entity-row:last-child { border: none; }
.entity-row .er-ic { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; }
.entity-row .er-name b { display: block; }
.entity-row .er-name span { font-size: 12px; color: var(--text-mute); }
.entity-row .spacer { flex: 1; }

.step { display: flex; gap: 13px; margin-bottom: 16px; }
.step .num { width: 26px; height: 26px; border-radius: 50%; background: var(--teal-050); color: var(--teal-600); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.step .st-body b { display: block; margin-bottom: 2px; }
.step .st-body p { margin: 0; color: var(--text-soft); font-size: 13px; }

@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 50; transform: translateX(-100%); transition: transform .2s; width: var(--sidebar-w); }
  .sidebar.open { transform: none; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-hero { display: none; }
}
