/* ==========================================================================
   LTL AI — member portal
   Same component contract as the portal's app.js, dressed in the ltl-ai.com
   design system: near-black navy ground, brushed-silver type, one blue accent,
   square corners and hairline rules. Tokens mirror /assets/css/site.css so the
   portal and the public site read as one product.
   ========================================================================== */

:root {
  /* Ground */
  --ink:        #04070e;
  --ink-2:      #070c17;
  --panel:      #0a1120;
  --panel-2:    #0d1728;
  --panel-hi:   #111e33;

  /* Brand */
  --blue:       #2c8cf0;
  --blue-hi:    #58a8ff;
  --blue-deep:  #1257c9;

  /* Type */
  --silver:     #e8edf5;
  --silver-2:   #c3cdda;
  --muted:      #8b9bb2;
  --muted-2:    #64748b;

  /* Lines */
  --line:       rgba(255, 255, 255, 0.09);
  --line-2:     rgba(255, 255, 255, 0.045);
  --line-blue:  rgba(44, 140, 240, 0.38);

  /* Semantic */
  --green:      #35c98a;
  --green-dim:  rgba(53, 201, 138, 0.12);
  --red:        #e2687c;
  --red-dim:    rgba(226, 104, 124, 0.12);

  /* Metrics */
  --nav-h:      74px;
  --gutter:     clamp(20px, 5vw, 64px);
  --maxw:       1280px;

  --ease:       cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
          Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(90% 70% at 82% -8%, rgba(44, 140, 240, 0.16), transparent 62%),
    radial-gradient(70% 60% at 4% 102%, rgba(18, 87, 201, 0.10), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--silver-2);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--silver);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.025em;
}
h1, h2, h3, p { overflow-wrap: anywhere; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--blue-deep); color: #fff; }
:focus-visible { outline: 1px solid var(--blue-hi); outline-offset: 3px; }

code {
  color: var(--blue);
  font-family: var(--mono);
  font-size: 0.92em;
  letter-spacing: 0;
}

.wrap { width: min(var(--maxw), calc(100% - 40px)); margin-inline: auto; }

/* ----------------------------------------------------------------- nav -- */

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-2);
  background: rgba(5, 9, 18, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
}
.nav-inner {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.brand { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.brand__logo { height: 44px; width: auto; flex: none; }
.brand__rule {
  width: 1px;
  height: 28px;
  flex: none;
  background: linear-gradient(180deg, transparent, var(--line), transparent);
}
.brand b {
  color: var(--blue);
  font-size: 9.5px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-grid;
  place-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s var(--ease);
}
.menu-toggle:hover { border-color: var(--line-blue); }
.menu-toggle span { display: block; width: 18px; height: 1px; background: var(--silver); }

.nav-links {
  position: fixed;
  top: var(--nav-h);
  bottom: 0;
  left: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1px;
  width: min(320px, calc(100vw - 40px));
  padding: 26px 18px 40px;
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(9, 15, 27, 0.98), rgba(4, 7, 14, 0.99));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--muted);
  font-size: 13.5px;
  transform: translateX(-105%);
  transition: transform 0.4s var(--ease);
}
.menu-title {
  display: block;
  padding: 0 14px 14px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.menu-account { display: none; }
.nav-links a {
  display: block;
  padding: 13px 14px;
  border-left: 1px solid transparent;
  color: var(--silver-2);
  transition: color 0.28s var(--ease), background 0.28s var(--ease),
              border-color 0.28s var(--ease);
}
.nav-links a:hover {
  color: #fff;
  background: rgba(44, 140, 240, 0.07);
  border-left-color: var(--blue);
}
.nav-links a.active {
  color: #fff;
  background: rgba(44, 140, 240, 0.10);
  border-left-color: var(--blue);
}
.menu-open .nav-links { transform: translateX(0); }
.menu-open { overflow: hidden; }
.menu-overlay {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 20;
  border: 0;
  background: rgba(4, 7, 14, 0.62);
  cursor: pointer;
}
.menu-overlay[hidden] { display: none; }

.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* ------------------------------------------------------------- buttons -- */

.btn {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  padding: 12px 24px;
  background: transparent;
  color: var(--silver);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease),
              background 0.35s var(--ease);
}
.btn:hover { color: #fff; border-color: var(--line-blue); background: rgba(44, 140, 240, 0.10); }
.btn-primary {
  border-color: transparent;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  color: #fff;
}
.btn-primary:hover {
  border-color: transparent;
  background: linear-gradient(120deg, var(--blue), var(--blue-hi));
}
.btn-dark { background: var(--panel); border-color: var(--line); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.18); }
.btn-danger { border-color: transparent; background: #8c2f3f; color: #fff; }
.btn-danger:hover { border-color: transparent; background: #a5394b; }
.btn-block { width: 100%; }
.btn-small { min-height: 32px; padding: 7px 13px; font-size: 10px; letter-spacing: 0.14em; }
.btn:disabled { cursor: not-allowed; opacity: 0.45; }
.btn:disabled:hover { color: var(--silver); border-color: var(--line); background: transparent; }

/* ---------------------------------------------------------- type bits -- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--blue);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, var(--blue), transparent);
}

h1 {
  margin: 20px 0 18px;
  max-width: 20ch;
  font-size: clamp(34px, 5.2vw, 60px);
  font-weight: 200;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.62;
}
.quiet { margin: 16px 0 0; color: var(--muted-2); font-size: 13px; line-height: 1.66; }

.list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; }
.list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--silver-2);
  font-size: 14.5px;
  line-height: 1.6;
}
.tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1px solid var(--line-blue);
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
}

/* ------------------------------------------------------------ surfaces -- */

.card {
  position: relative;
  border: 1px solid var(--line-2);
  background: linear-gradient(165deg, var(--panel), var(--ink-2));
}
.panel { padding: clamp(22px, 2.4vw, 32px); }
.card h2 {
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 300;
  letter-spacing: -0.02em;
}
.card .eyebrow + h2 { margin-top: 14px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  padding: 6px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.pill strong { color: var(--silver); font-weight: 500; }

.badge {
  display: inline-flex;
  width: max-content;
  border: 1px solid var(--line);
  padding: 3px 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.badge.green { border-color: rgba(53, 201, 138, 0.4); background: var(--green-dim); color: var(--green); }
.badge.red { border-color: rgba(226, 104, 124, 0.4); background: var(--red-dim); color: var(--red); }

.empty {
  padding: 22px;
  border: 1px dashed var(--line);
  background: rgba(255, 255, 255, 0.015);
  color: var(--muted-2);
  font-size: 14px;
}

/* -------------------------------------------------------- auth screens -- */

.auth-hero { padding: clamp(48px, 7vw, 92px) 0 clamp(60px, 8vw, 104px); }
.auth-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: clamp(34px, 5vw, 64px);
  align-items: center;
}
.auth-card { padding: clamp(26px, 3vw, 36px); }
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.card-top h2 { margin: 14px 0 0; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 9px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.field small { display: block; margin-top: 7px; color: var(--muted-2); font-size: 12px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  color: var(--silver);
  padding: 13px 15px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: rgba(44, 140, 240, 0.05);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none'%3E%3Cpath d='M2 4l3 3 3-3' stroke='%232c8cf0' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
}
.field select option { background: var(--panel); color: var(--silver); }
input[type="date"] { color-scheme: dark; }

.input-wrap { position: relative; }
.input-wrap input { padding-right: 48px; }

/* Reveal toggle. Both icons ship in the markup and CSS picks one, so the
   button never flashes the wrong state before app.js binds it. */
.pw-toggle {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted-2);
  cursor: pointer;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
              background 0.3s var(--ease);
}
.pw-toggle svg { width: 19px; height: 19px; }
.pw-toggle:hover { color: var(--blue); background: rgba(44, 140, 240, 0.08); }
.pw-toggle:focus-visible { border-color: var(--line-blue); outline: none; }
.pw-toggle .pw-eye-off { display: none; }
.pw-toggle.is-on { color: var(--blue); }
.pw-toggle.is-on .pw-eye { display: none; }
.pw-toggle.is-on .pw-eye-off { display: block; }

.remember {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 6px 0 20px;
  color: var(--muted);
  font-size: 13.5px;
  cursor: pointer;
}
.remember input, .switch-label input, .check input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
  flex: none;
}

.status {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--muted-2);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
}
.status.ok { border-color: rgba(53, 201, 138, 0.3); border-left-color: var(--green); background: var(--green-dim); color: #a9e6c9; }
.status.error { border-color: rgba(226, 104, 124, 0.3); border-left-color: var(--red); background: var(--red-dim); color: #f0b3bd; }

.helper-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.helper-links a { transition: color 0.3s var(--ease); }
.helper-links a:hover { color: var(--blue); }

.trust {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.65;
  text-align: center;
}

/* ---------------------------------------------------------- page shell -- */

.page { padding: clamp(30px, 4vw, 46px) 0 clamp(60px, 8vw, 96px); }
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: clamp(26px, 3vw, 40px);
}
.page-head h1 { margin: 18px 0 0; max-width: 24ch; font-size: clamp(30px, 4vw, 48px); }
.page-head p { margin: 16px 0 0; max-width: 78ch; color: var(--muted); font-size: 15px; line-height: 1.65; }
.page-head p a { color: var(--blue); }

.back-link { margin-bottom: 26px; }
.back-link a {
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.back-link a:hover { color: var(--blue); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* --------------------------------------------------------------- stats -- */

.stat {
  padding: clamp(18px, 2vw, 26px);
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  transition: border-color 0.45s var(--ease);
}
.stat:hover { border-color: var(--line-blue); }
.stat b {
  display: block;
  color: var(--silver);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.stat span {
  display: block;
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.6;
}

/* --------------------------------------------------------- share link -- */

.share-link {
  display: flex;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.share-link input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 14px 15px;
  color: var(--blue);
  font-family: var(--mono);
  font-size: 13px;
  outline: none;
}
.share-link .btn { border: 0; border-left: 1px solid var(--line); }

/* -------------------------------------------------------------- tables -- */

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line-2); }
.card .table-wrap { margin-top: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 14px; }
th, td { padding: 15px 18px; text-align: left; vertical-align: top; }
thead th {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--line-2); transition: background 0.3s; }
tbody tr:last-child { border-bottom: 0; }
tbody tr:hover { background: rgba(44, 140, 240, 0.04); }
td strong { color: var(--silver); font-weight: 500; }
td small { color: var(--muted-2); font-size: 12px; }
.table-link { color: var(--blue); }
.table-link:hover { text-decoration: underline; }

.status-select, .inline-input, td input[type="date"], td select {
  min-height: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 9px;
  color: var(--silver);
  font-size: 12px;
  outline: none;
}
.inline-input { width: 140px; }
.status-select:focus, .inline-input:focus, td input:focus, td select:focus { border-color: var(--blue); }
.status-select option, td select option { background: var(--panel); color: var(--silver); }

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.pagination-actions { display: flex; gap: 8px; }

/* -------------------------------------------------------- genealogy -- */

.tree, .tree ul { list-style: none; padding: 0; margin: 0; }
.tree { display: grid; gap: 12px; }
.tree ul { display: grid; gap: 12px; margin-top: 12px; padding-left: 34px; border-left: 1px solid var(--line-2); }
.node {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  padding: 15px;
  transition: border-color 0.4s var(--ease);
}
.node:hover { border-color: var(--line-blue); }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-blue);
  background: rgba(44, 140, 240, 0.08);
  color: var(--blue);
  font-size: 15px;
  font-weight: 400;
}
.node strong { display: block; color: var(--silver); font-weight: 400; }
.node small { display: block; margin-top: 4px; color: var(--muted-2); font-size: 12.5px; }
.node-meta {
  display: grid;
  gap: 3px;
  color: var(--muted-2);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: right;
}

/* ------------------------------------------------------- detail lists -- */

.formula-list { display: grid; margin-top: 22px; border-top: 1px solid var(--line-2); }
.formula-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 13.5px;
}
.formula-list strong { color: var(--silver); font-weight: 400; text-align: right; }

/* Document library on the dashboard. Same rhythm as .formula-list, but each
   row is the download link itself rather than a label and a value. */
.doc-list { display: grid; margin-top: 22px; border-top: 1px solid var(--line-2); }
.doc-list .doc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 13.5px;
  text-decoration: none;
  transition: color 0.18s ease;
}
.doc-list .doc:hover, .doc-list .doc:focus-visible { color: var(--silver); }
.doc-list .doc strong {
  flex: none;
  color: var(--muted-2);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.doc-list .quiet { padding: 14px 0; margin: 0; }

/* Icon in front of a Links-row label. brand icons (WhatsApp/Android/Apple)
   render in their own brand color regardless of hover state — a colored mark
   is how a member spots "that's the WhatsApp one" at a glance; the two
   Vantage-platform actions (register, copy trading) share the app's own
   accent instead, since they are not a third-party brand. */
.doc-label { display: flex; align-items: center; gap: 12px; min-width: 0; }
.doc-icon { flex: none; width: 20px; height: 20px; }
.doc-icon--whatsapp { color: #25d366; }
.doc-icon--android { color: #3ddc84; }
.doc-icon--apple { color: var(--silver-2); }
.doc-icon--vantage { color: var(--blue); }
.doc-icon--pdf { color: var(--red); }

.profile-details { display: grid; margin: 8px 0 0; }
.profile-details div {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.profile-details dt {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.profile-details dd { margin: 0; min-width: 0; color: var(--silver-2); font-size: 14px; overflow-wrap: anywhere; }

.action-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.action-row + .status { margin-top: 16px; }
.switch-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }

/* ------------------------------------------------------ notifications -- */

.notification {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-2);
}
.notification.unread { border-left: 2px solid var(--blue); padding-left: 18px; }
.notification h3 { margin: 12px 0 6px; font-size: 16px; font-weight: 400; }
.notification p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.notification small { display: block; margin-top: 10px; color: var(--muted-2); font-size: 11.5px; letter-spacing: 0.1em; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .auth-grid, .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .nav-inner { gap: 12px; }
  .brand__rule, .brand b { display: none; }
  .nav-right .pill { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .page-head { display: grid; align-items: start; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, var(--maxw)); }
  .brand__logo { height: 38px; }
  .auth-card, .panel { padding: 20px; }
  .action-row .btn { width: 100%; }
  .nav-right .pill { display: none; }
  .menu-account {
    display: grid;
    gap: 4px;
    margin: 0 14px 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-2);
  }
  .menu-account span { color: var(--muted-2); font-size: 10px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; }
  .menu-account strong { color: var(--silver); font-size: 15px; font-weight: 400; line-height: 1.35; }
  .menu-account small { color: var(--blue); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
  .node { grid-template-columns: 38px minmax(0, 1fr); }
  .avatar { width: 38px; height: 38px; }
  .node-meta { grid-column: 2; text-align: left; }
  .tree ul { padding-left: 18px; }
  .helper-links { flex-direction: column; gap: 10px; }
}
