/* ============================================================
   Ideal Hub — sistema visual
   ============================================================ */
:root {
  --bg: #F3F5F9;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --ink: #0B1220;
  --ink-2: #3D4A5C;
  --muted: #8592A6;
  --line: #E4E9F0;
  --line-2: #EEF1F6;

  --brand: #3483FA;
  --brand-ink: #1F5FD6;
  --brand-soft: #EAF2FF;
  --yellow: #FFE600;
  --green: #00A650;
  --green-soft: #E6F7EE;
  --red: #E5364A;
  --red-soft: #FDECEE;
  --orange: #F07A1A;
  --orange-soft: #FFF2E6;
  --violet: #7C5CFF;

  --side: #0B1220;
  --side-2: #121B2E;
  --side-ink: #C9D2E3;
  --side-muted: #6B7891;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 12px 32px -8px rgba(16, 24, 40, .18), 0 4px 8px -4px rgba(16, 24, 40, .08);
  --font: "Inter", ui-sans-serif, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); font-size: 14px; line-height: 1.45; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1, "cv11" 1;
}
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }
.mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--muted); }
.ink2 { color: var(--ink-2); }
.pos { color: var(--green); }
.neg { color: var(--red); }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.sp { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.hide { display: none !important; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.side {
  background: var(--side); color: var(--side-ink); position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; padding: 18px 14px; gap: 6px;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--brand);
  display: grid; place-items: center; box-shadow: inset 0 -2px 0 rgba(0,0,0,.15);
}
.brand-name { font-weight: 700; color: #fff; font-size: 15.5px; letter-spacing: -.01em; }
.brand-sub { font-size: 11.5px; color: var(--side-muted); }
.nav-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--side-muted); padding: 14px 10px 6px; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 9px;
  color: var(--side-ink); font-weight: 500; font-size: 13.5px; text-decoration: none; position: relative;
}
.nav a:hover { background: var(--side-2); color: #fff; }
.nav a.on { background: #1A2540; color: #fff; }
.nav a.on::before {
  content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--yellow);
}
.nav a svg { width: 18px; height: 18px; opacity: .85; }
.nav .count {
  margin-left: auto; background: var(--yellow); color: #111; font-size: 11px; font-weight: 700;
  border-radius: 99px; padding: 1px 7px; min-width: 20px; text-align: center;
}
.side-foot { margin-top: auto; border-top: 1px solid #1C2740; padding-top: 12px; display: flex; flex-direction: column; gap: 4px; }
.side-foot .user { display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
.avatar {
  width: 30px; height: 30px; border-radius: 50%; background: #23314F; color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 12px;
}

.main { min-width: 0; display: flex; flex-direction: column; }
.top {
  position: sticky; top: 0; z-index: 20; background: rgba(243,245,249,.86); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line); padding: 14px 28px; display: flex; align-items: center; gap: 14px;
}
.top h1 { font-size: 19px; margin: 0; letter-spacing: -.015em; }
.top .sub { color: var(--muted); font-size: 12.5px; }
.content { padding: 24px 28px 48px; max-width: 1480px; width: 100%; }

.live {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--green);
  background: var(--green-soft); border-radius: 99px; padding: 4px 10px 4px 9px;
}
.live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(0,166,80,.6); animation: pulse 1.8s infinite; }
.live.off { color: var(--muted); background: #EDF0F5; }
.live.off i { background: var(--muted); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,166,80,.55);} 70% { box-shadow: 0 0 0 7px rgba(0,166,80,0);} 100% { box-shadow: 0 0 0 0 rgba(0,166,80,0);} }

/* ---------- account chips ---------- */
.acc-filter { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; user-select: none; transition: .12s;
}
.chip:hover { border-color: #CBD3DF; }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.chip.off { opacity: .5; background: transparent; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 36px; padding: 0 14px;
  border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-weight: 600; font-size: 13px; cursor: pointer; white-space: nowrap; transition: background .12s, border-color .12s, box-shadow .12s;
  box-shadow: var(--shadow-sm); text-decoration: none !important;
}
.btn:hover { border-color: #CAD2DE; background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 16px; height: 16px; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.dark:hover { background: #1C2638; }
.btn.yellow { background: var(--yellow); border-color: #E8D200; color: #1A1A1A; }
.btn.yellow:hover { background: #F5DD00; }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--ink-2); }
.btn.ghost:hover { background: #E9EDF3; }
.btn.danger { color: var(--red); }
.btn.sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn.lg { height: 44px; padding: 0 20px; font-size: 14.5px; border-radius: 11px; }
.btn.icon { width: 36px; padding: 0; }
.side .btn.ghost { color: var(--side-ink); justify-content: flex-start; }
.side .btn.ghost:hover { background: var(--side-2); color: #fff; }

/* ---------- inputs ---------- */
.input, select.input {
  height: 36px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); padding: 0 11px;
  outline: none; min-width: 0; transition: border-color .12s, box-shadow .12s;
}
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(52,131,250,.18); }
.input.num { text-align: right; width: 110px; font-variant-numeric: tabular-nums; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.search { position: relative; }
.search svg { position: absolute; left: 10px; top: 10px; width: 16px; height: 16px; color: var(--muted); }
.search .input { padding-left: 34px; width: 280px; }

.seg { display: inline-flex; background: #E8ECF2; border-radius: 10px; padding: 3px; gap: 2px; }
.seg button {
  border: 0; background: transparent; height: 30px; padding: 0 12px; border-radius: 8px; font-weight: 600; font-size: 12.5px;
  color: var(--ink-2); cursor: pointer;
}
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; gap: 10px; padding: 16px 18px 0; }
.card-h h3 { margin: 0; font-size: 14px; letter-spacing: -.005em; }
.card-h .hint { color: var(--muted); font-size: 12px; }
.card-b { padding: 16px 18px 18px; }
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }

.kpi { padding: 16px 18px; position: relative; overflow: hidden; }
.kpi .lbl { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.kpi .val { font-size: 26px; font-weight: 700; letter-spacing: -.025em; margin-top: 6px; }
.kpi .val small { font-size: 14px; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.kpi .foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.kpi.hero { background: linear-gradient(135deg, #0B1220 0%, #16233F 100%); color: #fff; border-color: #0B1220; }
.kpi.hero .lbl { color: #8FA0BF; }
.kpi.hero .val small { color: #B8C4DA; }
.kpi.hero .foot { color: #8FA0BF; }
.kpi.hero::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,230,0,.22), transparent 70%);
}
.delta { white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; font-weight: 700; font-size: 11.5px; padding: 2px 7px; border-radius: 99px; }
.delta.up { color: #00843F; background: var(--green-soft); }
.delta.down { color: #C4243A; background: var(--red-soft); }
.delta.flat { color: var(--ink-2); background: #EDF0F5; }
.kpi.hero .delta.up { background: rgba(0,166,80,.18); color: #4ADE80; }
.kpi.hero .delta.down { background: rgba(229,54,74,.2); color: #FF8A98; }

/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 6px;
  font-size: 11.5px; font-weight: 650; white-space: nowrap; background: #EEF1F6; color: var(--ink-2);
}
.badge.green { background: var(--green-soft); color: #00843F; }
.badge.red { background: var(--red-soft); color: #C4243A; }
.badge.orange { background: var(--orange-soft); color: #B85600; }
.badge.blue { background: var(--brand-soft); color: var(--brand-ink); }
.badge.yellow { background: #FFF9C2; color: #6B5D00; }
.badge.violet { background: #F0ECFF; color: #5B3FD6; }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.acc-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.acc-tag .dot { width: 8px; height: 8px; border-radius: 3px; }

/* ---------- table ---------- */
.table-wrap { overflow: auto; }
table.t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; }
.t th {
  text-align: left; font-size: 11.5px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1; white-space: nowrap;
}
.t td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t tbody tr { transition: background .1s; }
.t tbody tr.click { cursor: pointer; }
.t tbody tr:hover td { background: #FAFBFD; }
.t tbody tr.sel td { background: #F2F7FF; }
.t .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.t tfoot td { font-weight: 700; background: var(--surface-2); border-top: 1px solid var(--line); }
.prod { display: flex; flex-direction: column; min-width: 0; }
.prod .ti { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 380px; }
.prod .sb { font-size: 12px; color: var(--muted); }
.check { width: 16px; height: 16px; accent-color: var(--brand); cursor: pointer; }

/* ---------- feed ---------- */
.feed { display: flex; flex-direction: column; }
.feed-i { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.feed-i:last-child { border-bottom: 0; }
.feed-ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.feed-ic svg { width: 16px; height: 16px; }
.feed-ic.sale { background: var(--green-soft); color: var(--green); }
.feed-ic.q { background: var(--brand-soft); color: var(--brand); }
.feed-ic.warn { background: var(--orange-soft); color: var(--orange); }
.feed-t { font-weight: 650; font-size: 13px; }
.feed-b { font-size: 12.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feed-time { font-size: 11.5px; color: var(--muted); white-space: nowrap; margin-left: auto; }
.feed-i.flash { animation: flash 2.2s ease-out; }
@keyframes flash { 0% { background: #FFF9C2; } 100% { background: transparent; } }

/* ---------- charts ---------- */
.chart { width: 100%; position: relative; }
.chart svg text { font-family: var(--font); font-size: 11px; fill: var(--muted); }
.chart .tip {
  position: absolute; pointer-events: none; background: var(--ink); color: #fff; font-size: 12px; padding: 8px 10px;
  border-radius: 8px; box-shadow: var(--shadow-lg); white-space: nowrap; transform: translate(-50%, -100%); margin-top: -10px; z-index: 5;
}
.chart .tip b { font-weight: 700; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bars-h .bh { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 8px 0; }
.bars-h .bh .track { grid-column: 1 / -1; height: 6px; background: #EEF1F6; border-radius: 99px; overflow: hidden; }
.bars-h .bh .fill { height: 100%; border-radius: 99px; background: var(--brand); }

/* ---------- waterfall (financeiro) ---------- */
.wf { display: flex; flex-direction: column; gap: 2px; }
.wf-r { display: grid; grid-template-columns: 190px 1fr 120px 64px; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.wf-r:last-child { border-bottom: 0; }
.wf-r .nm { font-weight: 600; display: flex; align-items: center; gap: 8px; }
.wf-r .bar { height: 10px; border-radius: 99px; background: #EEF1F6; position: relative; overflow: hidden; }
.wf-r .bar span { position: absolute; top: 0; bottom: 0; border-radius: 99px; }
.wf-r .v { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.wf-r .p { text-align: right; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wf-r.total { border-top: 2px solid var(--ink); margin-top: 4px; padding-top: 12px; }
.wf-r.total .nm, .wf-r.total .v { font-size: 15px; }

/* ---------- expedição ---------- */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sticky-bar {
  position: sticky; bottom: 16px; z-index: 15; margin-top: 16px; background: var(--ink); color: #fff; border-radius: 14px;
  padding: 12px 14px 12px 20px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-lg);
}
.sticky-bar .muted { color: #8FA0BF; }
.dropzone {
  border: 1.5px dashed #C3CDDB; border-radius: var(--r); padding: 22px; text-align: center; background: var(--surface-2);
  color: var(--ink-2); cursor: pointer; transition: .15s;
}
.dropzone:hover, .dropzone.over { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.dropzone b { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.step .n { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--yellow); font-weight: 800; display: grid; place-items: center; flex: none; font-size: 13px; }
.step .tt { font-weight: 700; font-size: 13px; }
.step .ds { font-size: 12.5px; color: var(--ink-2); }

/* ---------- drawer / modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(11,18,32,.38); z-index: 50; animation: fade .15s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--surface); z-index: 51;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .2s ease-out;
}
@keyframes slide { from { transform: translateX(30px); opacity: 0; } }
.drawer-h { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 12px; }
.drawer-h h2 { margin: 0; font-size: 17px; }
.drawer-b { padding: 20px 22px; overflow: auto; flex: 1; display: flex; flex-direction: column; gap: 18px; }
.modal {
  position: fixed; left: 50%; top: 12vh; transform: translateX(-50%); width: min(520px, 94vw); background: var(--surface);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); z-index: 51; animation: fade .15s; max-height: 76vh; display: flex; flex-direction: column;
}
.modal-h { padding: 18px 20px 0; font-size: 16px; font-weight: 700; }
.modal-b { padding: 14px 20px; overflow: auto; }
.modal-f { padding: 14px 20px 18px; display: flex; justify-content: flex-end; gap: 8px; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 8px 14px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.sec-t { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.money-box { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.money-box .mr { display: flex; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.money-box .mr:last-child { border-bottom: 0; background: var(--surface-2); font-weight: 700; font-size: 14px; }

/* ---------- toasts ---------- */
#toasts { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.toast {
  background: var(--ink); color: #fff; border-radius: 12px; padding: 12px 14px; min-width: 280px; max-width: 380px; box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: flex-start; animation: up .25s ease-out;
}
.toast .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,.1); }
.toast.sale .ic { background: var(--green); }
.toast.err .ic { background: var(--red); }
.toast .tt { font-weight: 700; font-size: 13.5px; }
.toast .ds { font-size: 12.5px; color: #B8C4DA; }
@keyframes up { from { transform: translateY(12px); opacity: 0; } }

/* ---------- misc ---------- */
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .big { width: 54px; height: 54px; border-radius: 16px; background: #EEF1F6; display: grid; place-items: center; margin: 0 auto 12px; color: var(--ink-2); }
.empty h4 { margin: 0 0 4px; color: var(--ink); font-size: 15px; }
.skel { background: linear-gradient(90deg, #EEF1F6 25%, #F6F8FB 50%, #EEF1F6 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--brand-soft); color: #1B4FA8; font-size: 13px; }
.note.warn { background: var(--orange-soft); color: #8A4300; }
.note.ok { background: var(--green-soft); color: #006B34; }
.note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); padding: 0 18px; }
.tabs button { border: 0; background: none; padding: 12px 10px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--ink); }
.tabs .n { font-size: 11px; background: #EEF1F6; padding: 1px 6px; border-radius: 99px; margin-left: 5px; color: var(--ink-2); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-art {
  background: radial-gradient(1200px 600px at -10% 110%, #1F5FD6 0%, transparent 60%), radial-gradient(800px 500px at 110% -10%, #3B2A8C 0%, transparent 60%), #0B1220;
  color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between;
}
.login-art h2 { font-size: 38px; line-height: 1.1; letter-spacing: -.03em; margin: 0 0 14px; max-width: 520px; }
.login-art p { color: #A8B5CC; font-size: 15px; max-width: 460px; }
.login-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 520px; }
.login-feats div { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px; font-size: 13px; color: #C9D2E3; }
.login-feats b { display: block; color: #fff; margin-bottom: 2px; }
.login-form { display: grid; place-items: center; padding: 40px; }
.login-card { width: min(380px, 100%); display: flex; flex-direction: column; gap: 16px; }
.login-card h1 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.login-card .input { height: 44px; }
.err { color: var(--red); font-size: 13px; font-weight: 600; }

@media (max-width: 1180px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g-main { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 10px; scrollbar-width: none; }
  .top .sub { display: none; }
  .side .brand, .side .nav-label, .side-foot { display: none; }
  .nav { display: flex; gap: 4px; }
  .content { padding: 16px; }
  .top { padding: 12px 16px; flex-wrap: wrap; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .login { grid-template-columns: 1fr; } .login-art { display: none; }
  .steps { grid-template-columns: 1fr; }
  .wf-r { grid-template-columns: 130px 1fr 100px; } .wf-r .p { display: none; }
}
@media print { .side, .top, .sticky-bar { display: none !important; } }
