:root {
  --nav-900: #0b1728;
  --nav-800: #10223a;
  --nav-line: rgba(255, 255, 255, .08);
  --nav-text: #c9d6e6;
  --nav-muted: #788ea9;
  --nav-accent: #6d9bff;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --line: #e6ebf2;
  --line-soft: #eef2f7;
  --ink: #16202f;
  --ink-2: #4a5768;
  --ink-3: #8794a5;
  --blue: #2b5cd9;
  --blue-soft: #eaf0ff;
  --teal: #0d8a6a;
  --teal-soft: #e4f5ef;
  --amber: #b9822b;
  --amber-soft: #fbf1de;
  --rose: #b5484a;
  --rose-soft: #fbecec;
  --violet: #6a5acd;
  --shadow: 0 1px 2px rgba(15, 30, 55, .04), 0 10px 30px rgba(15, 30, 55, .035);
  --shadow-hover: 0 2px 6px rgba(15, 30, 55, .06), 0 16px 36px rgba(15, 30, 55, .07);
  --r-lg: 14px;
  --r-md: 10px;
  --r-sm: 7px;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 14px/1.62 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: #d7e3ff; }

/* ---------- login ---------- */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-hero {
  position: relative; overflow: hidden; padding: 64px 7vw;
  background: linear-gradient(160deg, #0b1728 0%, #102a49 55%, #123a5c 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: center;
}
.login-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(120deg, #000 0%, transparent 78%);
}
.login-hero > * { position: relative; z-index: 1; }
.login-kicker { font-size: 11px; letter-spacing: .22em; color: #8fb3ee; text-transform: uppercase; }
.login-hero h1 { font-size: 38px; line-height: 1.3; font-weight: 500; letter-spacing: -.02em; margin: 20px 0 14px; }
.login-hero h1 span { color: #8fb3ee; }
.login-hero p { color: #b9cde3; max-width: 440px; margin: 0 0 34px; font-size: 14px; }
.hero-stats { display: flex; gap: 36px; margin-bottom: 40px; }
.hero-stat .n { font-size: 26px; font-weight: 500; letter-spacing: -.02em; }
.hero-stat .l { font-size: 11px; color: #8fabcd; letter-spacing: .06em; }
.hero-points { display: grid; gap: 10px; max-width: 460px; }
.hero-point {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md); font-size: 13px; color: #dbe7f5;
}
.hero-point .idx { color: #7fa8e8; font-size: 11px; padding-top: 2px; letter-spacing: .08em; }
.login-panel { display: flex; align-items: center; justify-content: center; padding: 48px 6vw; background: var(--surface); }
.login-card { width: 100%; max-width: 410px; }
.login-card h2 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; margin: 0 0 8px; }
.login-card .hint { color: var(--ink-3); font-size: 13px; margin: 0 0 26px; }
.identity-list { display: grid; gap: 10px; }
.identity {
  width: 100%; text-align: left; padding: 14px 16px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  display: flex; align-items: center; gap: 14px; transition: .18s ease;
}
.identity:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-1px); }
.identity .id-avatar {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(140deg, #e8efff, #d7e4ff); color: var(--blue);
  display: grid; place-items: center; font-size: 12px; font-weight: 500;
}
.identity .id-name { font-weight: 500; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.identity .id-desc { font-size: 12px; color: var(--ink-3); }
.login-foot { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 12px; color: var(--ink-3); line-height: 1.8; }

/* ---------- shell ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 240px; z-index: 20;
  background: linear-gradient(180deg, var(--nav-900), var(--nav-800) 62%, #0d1e33);
  display: flex; flex-direction: column; color: var(--nav-text);
}
.side-brand { display: flex; align-items: center; gap: 12px; padding: 22px 20px 20px; border-bottom: 1px solid var(--nav-line); }
.side-mark {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(140deg, #3f74e8, #6d9bff); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 500; letter-spacing: .04em;
  box-shadow: 0 6px 18px rgba(63, 116, 232, .35);
}
.side-title { font-size: 14px; font-weight: 500; color: #f2f7ff; letter-spacing: -.01em; }
.side-sub { font-size: 10px; color: var(--nav-muted); letter-spacing: .05em; }
.side-scroll { flex: 1; overflow-y: auto; padding: 14px 12px 20px; }
.side-scroll::-webkit-scrollbar { width: 5px; }
.side-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }
.nav-group { font-size: 10px; letter-spacing: .16em; color: #6d84a0; padding: 18px 12px 8px; text-transform: uppercase; }
.nav-item {
  position: relative; width: 100%; display: flex; align-items: center; gap: 11px;
  padding: 9px 12px; border: 0; background: transparent; color: var(--nav-text);
  border-radius: var(--r-sm); font-size: 13px; text-align: left; transition: .16s ease;
}
.nav-item:hover { background: rgba(255,255,255,.055); color: #fff; }
.nav-item.active { background: rgba(109, 155, 255, .16); color: #fff; }
.nav-item.active::before {
  content: ''; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--nav-accent);
}
.nav-ico {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0; display: grid; place-items: center;
  background: rgba(255,255,255,.075); font-size: 10px; color: #9fb8d8; letter-spacing: .02em;
}
.nav-item.active .nav-ico { background: rgba(109,155,255,.28); color: #dce9ff; }
.nav-badge { margin-left: auto; font-size: 10px; color: #9fb8d8; background: rgba(255,255,255,.09); border-radius: 999px; padding: 1px 7px; }
.side-foot { padding: 16px 20px 20px; border-top: 1px solid var(--nav-line); }
.side-foot-line { height: 2px; width: 34px; background: linear-gradient(90deg, #6d9bff, transparent); border-radius: 2px; margin-bottom: 10px; }
.side-foot-text { font-size: 12px; color: #c9d6e6; }
.side-foot-meta { font-size: 10px; color: var(--nav-muted); letter-spacing: .05em; }

.shell { margin-left: 240px; min-height: 100vh; }
.topbar {
  height: 66px; position: sticky; top: 0; z-index: 10; display: flex; align-items: center;
  justify-content: space-between; padding: 0 32px; background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
}
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.crumb-root { color: var(--ink-3); }
.crumb-sep { color: #c8d1dd; }
.crumb-current { font-weight: 500; color: var(--ink); }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.cycle-pill {
  display: flex; align-items: center; gap: 8px; background: var(--surface-3);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 10px;
}
.cycle-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(13,138,106,.14); }
.cycle-pill select { border: 0; background: transparent; outline: none; font-size: 12px; color: var(--ink-2); max-width: 230px; }
.user-block { display: flex; align-items: center; gap: 10px; padding-left: 16px; border-left: 1px solid var(--line); }
.avatar {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(140deg, #dbe6ff, #b9cdfb); color: #1f4bab; font-size: 12px; font-weight: 500;
}
.user-meta { min-width: 0; line-height: 1.35; }
.user-name { font-size: 12px; font-weight: 500; line-height: 1.3; }
.user-role { font-size: 11px; color: var(--ink-3); }
.icon-btn {
  width: 30px; height: 30px; border: 1px solid var(--line); background: var(--surface);
  border-radius: 8px; color: var(--ink-3); font-size: 14px; transition: .16s ease;
}
.icon-btn:hover { color: var(--blue); border-color: var(--blue); }
.content { padding: 26px 32px 60px; max-width: 1440px; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- primitives ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 0 0 5px; }
.page-head p { color: var(--ink-3); font-size: 13px; margin: 0; max-width: 720px; }
.eyebrow { font-size: 11px; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; transition: .2s ease; }
.card:hover { box-shadow: var(--shadow-hover); }
.card + .card { margin-top: 16px; }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.card-head h3 { font-size: 14px; font-weight: 500; margin: 0 0 3px; letter-spacing: -.01em; }
.card-head p { font-size: 12px; color: var(--ink-3); margin: 0; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g23 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.metric {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 18px 20px; position: relative; overflow: hidden;
}
.metric::after { content: ''; position: absolute; right: -18px; top: -18px; width: 74px; height: 74px; border-radius: 50%; background: var(--blue-soft); opacity: .55; }
.metric.teal::after { background: var(--teal-soft); }
.metric.amber::after { background: var(--amber-soft); }
.metric.rose::after { background: var(--rose-soft); }
.metric .label { font-size: 12px; color: var(--ink-3); position: relative; z-index: 1; }
.metric .value { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.25; margin-top: 6px; position: relative; z-index: 1; }
.metric .value small { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-left: 3px; }
.metric .foot { font-size: 11px; color: var(--ink-3); margin-top: 4px; position: relative; z-index: 1; }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bar-row:last-child { margin-bottom: 0; }
.bar-row .name { width: 128px; flex-shrink: 0; font-size: 12px; color: var(--ink-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bar-row .track { flex: 1; height: 7px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.bar-row .track > span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #3a6ce0, #6d9bff); }
.bar-row .track > span.low { background: linear-gradient(90deg, #0d8a6a, #4bb99a); }
.bar-row .track > span.warm { background: linear-gradient(90deg, #b9822b, #ddb168); }
.bar-row .num { width: 42px; text-align: right; font-size: 12px; font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 400; background: var(--surface-3); color: var(--ink-2); white-space: nowrap; }
.chip.blue { background: var(--blue-soft); color: var(--blue); }
.chip.teal { background: var(--teal-soft); color: var(--teal); }
.chip.amber { background: var(--amber-soft); color: var(--amber); }
.chip.rose { background: var(--rose-soft); color: var(--rose); }
.chip.violet { background: #efedff; color: var(--violet); }
.chip.info { background: #eef4fb; color: #356a9e; }
.chip.tag { background: var(--teal-soft); color: var(--teal); }
.chip.rule { background: #f1eefb; color: #6b52b3; }
.chip.mock { background: var(--amber-soft); color: var(--amber); }
.chip.success, .chip.aligned, .chip.sent { background: var(--teal-soft); color: var(--teal); }
.status-chip { font-size: 11px; padding: 3px 9px; border-radius: 999px; }
.status-chip.danger { background: var(--rose-soft); color: var(--rose); }
.btn { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: var(--r-sm); padding: 8px 14px; font-size: 12px; transition: .16s ease; }
.btn:hover { border-color: var(--blue); color: var(--blue); }
.btn-primary { background: linear-gradient(140deg, #2f62dd, #3f74e8); border-color: transparent; color: #fff; box-shadow: 0 4px 12px rgba(47,98,221,.22); }
.btn-primary:hover { color: #fff; box-shadow: 0 6px 16px rgba(47,98,221,.3); }
.btn-sm { padding: 5px 10px; font-size: 11px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }
.link { color: var(--blue); font-size: 12px; cursor: pointer; border: 0; background: transparent; padding: 0; }
.link:hover { text-decoration: underline; }
input.field-input, select.field-input, textarea.field-input {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 11px;
  background: var(--surface); color: var(--ink); font-size: 12px; outline: none;
}
input.field-input:focus, select.field-input:focus, textarea.field-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,92,217,.1); }
textarea.field-input { min-height: 74px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; align-items: end; }
.form-field label { display: block; font-size: 11px; color: var(--ink-3); margin-bottom: 5px; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { text-align: left; font-weight: 400; color: var(--ink-3); background: var(--surface-2); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fbfcfe; }
.table .strong { color: var(--ink); font-weight: 500; }
.notice { border-radius: var(--r-md); padding: 12px 15px; font-size: 12px; background: var(--blue-soft); color: #2c4b8c; line-height: 1.7; }
.notice.warn { background: var(--amber-soft); color: #8a6220; }
.notice.teal { background: var(--teal-soft); color: #0c6b53; }
.divider { height: 1px; background: var(--line-soft); margin: 18px 0; }
.empty { text-align: center; color: var(--ink-3); padding: 34px 0; font-size: 12px; }
.loading { color: var(--ink-3); padding: 40px 0; font-size: 13px; }
.error-box { background: var(--rose-soft); color: var(--rose); border-radius: var(--r-md); padding: 14px 16px; font-size: 13px; }
.kv { display: grid; grid-template-columns: 118px 1fr; gap: 10px 14px; font-size: 12px; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; color: var(--ink-2); }
.code { font-family: Consolas, Monaco, monospace; font-size: 11px; background: var(--surface-3); padding: 2px 6px; border-radius: 4px; }
.toast { position: fixed; right: 26px; bottom: 26px; z-index: 60; background: #16202f; color: #fff; padding: 12px 18px; border-radius: var(--r-md); font-size: 12px; box-shadow: 0 12px 32px rgba(16,32,56,.25); max-width: 380px; animation: fade .2s ease; }
.toast.ok { background: #0d7a5f; }
.toast.err { background: #a83f41; }

/* ---------- flow stepper ---------- */
.stepper { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.step { position: relative; padding: 14px 14px 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); }
.step::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0; background: var(--blue); }
.step.done::before { background: var(--teal); }
.step .s-idx { font-size: 10px; letter-spacing: .1em; color: var(--ink-3); }
.step .s-name { font-size: 12px; font-weight: 500; margin-top: 3px; }
.step .s-meta { font-size: 11px; color: var(--ink-3); margin-top: 3px; }

/* ---------- charts ---------- */
.chart-wrap { width: 100%; }
.chart-wrap svg { display: block; width: 100%; height: auto; overflow: visible; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 11px; color: var(--ink-3); margin-top: 10px; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.donut-row { display: flex; align-items: center; gap: 20px; }
.donut-row .donut-legend { flex: 1; display: grid; gap: 10px; }
.donut-row .dl { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); }
.donut-row .dl b { font-weight: 500; color: var(--ink); }
.matrix { display: grid; grid-template-columns: 56px repeat(3, 1fr); grid-template-rows: repeat(3, 1fr) 28px; gap: 4px; min-height: 290px; }
.matrix .cell { background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 8px; padding: 8px; position: relative; min-height: 84px; }
.matrix .cell.hot { background: linear-gradient(140deg, #eaf6f1, #f4fbf8); border-color: #cde9df; }
.matrix .cell.mid { background: linear-gradient(140deg, #f0f4ff, #f8faff); }
.matrix .cell .cell-label { font-size: 10px; color: var(--ink-3); }
.matrix .cell .dots { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.matrix .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 9px; display: grid; place-items: center; cursor: default; }
.matrix .dot.high { background: var(--teal); }
.matrix .axis-y { grid-column: 1; grid-row: 1 / span 3; writing-mode: vertical-rl; transform: rotate(180deg); display: grid; place-items: center; font-size: 11px; color: var(--ink-3); }
.matrix .axis-x { grid-column: 2 / span 3; display: grid; place-items: center; font-size: 11px; color: var(--ink-3); }

/* ---------- questionnaire ---------- */
.todo-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.todo-item:last-child { border-bottom: 0; }
.todo-avatar { width: 36px; height: 36px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 12px; font-weight: 500; flex-shrink: 0; }
.todo-main { flex: 1; min-width: 0; }
.todo-main .t { font-size: 13px; font-weight: 500; }
.todo-main .m { font-size: 11px; color: var(--ink-3); }
.q-block { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
.q-block:last-of-type { border-bottom: 0; }
.q-text { font-size: 13px; margin-bottom: 11px; }
.q-dim { color: var(--blue); font-size: 11px; margin-right: 8px; }
.score-options { display: flex; gap: 7px; flex-wrap: wrap; }
.score-opt { min-width: 84px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 7px 8px; font-size: 11px; text-align: center; color: var(--ink-3); transition: .15s ease; }
.score-opt:hover { border-color: var(--blue); color: var(--blue); }
.score-opt.selected { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 3px 10px rgba(43,92,217,.22); }
.autosave { font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.autosave .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.matrix-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.matrix-table th { background: var(--surface-2); color: var(--ink-3); font-weight: 400; padding: 9px; border: 1px solid var(--line-soft); }
.matrix-table td { padding: 8px; border: 1px solid var(--line-soft); text-align: center; }
.matrix-table td:first-child { text-align: left; color: var(--ink-2); }
.matrix-table select { border: 1px solid var(--line); border-radius: 6px; padding: 4px 6px; font-size: 11px; background: var(--surface); }

/* ---------- capability matrix ---------- */
.cap-group { margin-bottom: 18px; }
.cap-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cap-num { font-size: 10px; letter-spacing: .1em; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: 5px; }
.cap-name { font-size: 13px; font-weight: 500; }
.cap-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.cap-table th { background: var(--surface-2); color: var(--ink-3); font-weight: 400; text-align: left; padding: 10px 12px; }
.cap-table td { padding: 11px 12px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; }
.cap-table td:first-child { color: var(--ink); font-weight: 500; width: 20%; }
.cap-table .api { font-family: Consolas, monospace; font-size: 10px; color: var(--blue); }

/* ---------- dingtalk department tree ---------- */
.dept-tree { max-height: 320px; overflow-y: auto; border: 1px solid var(--line-soft); border-radius: 8px; padding: 10px 12px; background: var(--surface-2); }
.dept-node { border-bottom: 1px dashed var(--line-soft); }
.dept-node:last-child { border-bottom: 0; }
.dept-label { display: flex; align-items: center; gap: 8px; padding: 7px 4px; cursor: pointer; font-size: 12px; color: var(--ink-2); }
.dept-label input { accent-color: var(--blue); width: 14px; height: 14px; cursor: pointer; }
.dept-label .strong { color: var(--ink); }
.dept-label:hover { background: var(--blue-soft); border-radius: 5px; }
.dept-label .chip { font-size: 10px; padding: 2px 6px; }

@media (max-width: 1080px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g23 { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .login-wrap { grid-template-columns: 1fr; }
  .login-hero { padding: 40px 8vw; }
  .sidebar { width: 62px; }
  .side-brand-text, .nav-group, .nav-item span:last-child, .nav-badge, .side-foot { display: none; }
  .side-brand { justify-content: center; padding: 18px 0; }
  .nav-item { justify-content: center; }
  .shell { margin-left: 62px; }
  .topbar { padding: 0 16px; }
  .content { padding: 20px 16px 48px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .cycle-pill { display: none; }
}
