:root {
  --bg: #f2f6fb;
  --panel: #ffffff;
  --ink: #081225;
  --muted: #63708a;
  --line: #d7e1ef;
  --line-strong: #bdcce0;
  --blue: #155cff;
  --blue-2: #0a3cc2;
  --navy: #071632;
  --green: #0c8f54;
  --orange: #d97706;
  --red: #c5221f;
  --soft: #f7faff;
  --shadow: 0 16px 42px rgba(9, 24, 54, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

body {
  background-image:
    linear-gradient(90deg, rgba(10, 30, 70, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(10, 30, 70, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.asgd-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 16px;
}

.asgd-open-strip {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(5, auto) minmax(260px, 420px) auto;
  align-items: stretch;
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  min-height: 54px;
}

.asgd-open-cell,
.asgd-open-link,
.asgd-open-select,
.asgd-open-button {
  border-right: 1px solid var(--line-strong);
  display: grid;
  align-items: center;
  padding: 8px 12px;
  min-height: 54px;
}

.asgd-open-cell strong,
.asgd-open-select span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 950;
  color: #52627c;
}

.asgd-open-cell small {
  color: var(--muted);
  line-height: 1.35;
}

.asgd-open-link {
  text-decoration: none;
  font-weight: 900;
  color: #253047;
}

.asgd-open-link:hover {
  background: #eef4ff;
  color: var(--blue);
}

.asgd-open-select {
  grid-template-columns: auto 1fr;
  gap: 10px;
}

.asgd-open-select select {
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #ffffff;
  padding: 0 10px;
  font-weight: 800;
}

.asgd-open-button {
  border: 0;
  border-right: 1px solid var(--line-strong);
  background: #ffffff;
  font-weight: 950;
  padding: 0 18px;
}

.asgd-gate {
  min-height: calc(100vh - 205px);
  display: grid;
  align-items: center;
}

.asgd-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(390px, 0.65fr);
  gap: 20px;
  align-items: stretch;
}

.asgd-hero-copy,
.asgd-login-card,
.asgd-card,
.asgd-work-head,
.asgd-sidebar {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.asgd-hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 54px);
}

.asgd-hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(21, 92, 255, 0.17), transparent 34rem),
    radial-gradient(circle at bottom left, rgba(7, 22, 50, 0.08), transparent 26rem);
}

.asgd-kicker {
  position: relative;
  display: inline-flex;
  width: max-content;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 950;
  color: var(--blue);
  padding: 8px 11px;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #f1f6ff;
}

.asgd-hero-copy h1 {
  position: relative;
  margin: 16px 0 12px;
  max-width: 1120px;
  font-size: clamp(42px, 5.6vw, 96px);
  line-height: 0.93;
  letter-spacing: -0.07em;
}

.asgd-hero-copy p {
  position: relative;
  margin: 0;
  max-width: 960px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 18px;
}

.asgd-hero-actions,
.asgd-button-row {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.asgd-btn,
.asgd-open-button,
.asgd-side-tabs button,
.aig-nav-link,
.aig-link-btn,
.aig-mega-cta,
.asgd-link-list a {
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
}

.asgd-btn:active,
.asgd-open-button:active,
.asgd-side-tabs button:active,
.aig-nav-link:active,
.aig-link-btn:active,
.aig-mega-cta:active,
.asgd-link-list a:active,
.is-clicking {
  animation: asgButtonShake 220ms ease;
}

@keyframes asgButtonShake {
  0% { transform: translateX(0) scale(1); }
  30% { transform: translateX(-2px) scale(0.985); }
  60% { transform: translateX(2px) scale(0.985); }
  100% { transform: translateX(0) scale(1); }
}

.asgd-btn {
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 17px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 950;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 8px;
}

.asgd-btn:hover {
  box-shadow: 0 8px 20px rgba(9, 24, 54, 0.08);
}

.asgd-btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.asgd-btn.light {
  background: #ffffff;
}

.asgd-btn.danger {
  color: var(--red);
  border-color: #f0b8b4;
  background: #fff5f5;
}

.asgd-btn.wide {
  width: 100%;
  border-radius: 15px;
}

.asgd-offer-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.asgd-offer-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  padding: 16px;
}

.asgd-offer-grid i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #eef4ff;
  color: var(--blue);
  margin-bottom: 12px;
}

.asgd-offer-grid strong {
  display: block;
  font-size: 17px;
}

.asgd-offer-grid span {
  display: block;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 5px;
}

.asgd-login-card {
  padding: 26px;
  display: grid;
  gap: 12px;
}

.asgd-login-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.asgd-login-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 7px;
  background: #ffffff;
}

.asgd-login-head span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 950;
  color: var(--muted);
}

.asgd-login-head strong {
  display: block;
  font-size: 25px;
  letter-spacing: -0.04em;
}

.asgd-member-caution {
  border: 1px solid #fac5c2;
  background: #fff4f3;
  color: #84231d;
  border-radius: 16px;
  padding: 12px;
  line-height: 1.45;
  font-size: 13px;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-weight: 850;
  font-size: 13px;
}

label small {
  font-weight: 650;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid #b9c5d6;
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

input {
  height: 46px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.5;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 92, 255, 0.10);
}

.asgd-recovery-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  background: #fafcff;
}

.asgd-recovery-box summary {
  font-weight: 950;
  cursor: pointer;
}

.asgd-recovery-box p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.45;
}

.asgd-output,
.asgd-raw {
  white-space: pre-wrap;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #071632;
  color: #dce8ff;
  padding: 12px;
  min-height: 70px;
  font-size: 12px;
}

.asgd-dashboard {
  display: grid;
  grid-template-columns: 304px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  width: 100%;
}

.asgd-sidebar {
  position: sticky;
  top: 102px;
  padding: 14px;
  max-height: calc(100vh - 125px);
  overflow: auto;
}

.asgd-side-brand {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  margin-bottom: 12px;
}

.asgd-side-brand > span {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: var(--navy);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 950;
}

.asgd-side-brand strong,
.asgd-side-brand small {
  display: block;
}

.asgd-side-brand small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.asgd-side-tabs {
  display: grid;
  gap: 7px;
}

.asgd-side-tabs button {
  height: 43px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  color: #344054;
  font-weight: 900;
}

.asgd-side-tabs button:hover {
  background: #eef4ff;
  color: var(--blue);
}

.asgd-side-tabs button i {
  width: 18px;
  color: var(--blue);
}

.asgd-side-tabs button.active {
  background: #0b1426;
  color: #ffffff;
}

.asgd-side-tabs button.active i {
  color: #8db0ff;
}

.asgd-side-footer {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.asgd-side-footer button {
  border: 1px solid #f0b8b4;
  background: #fff5f5;
  color: var(--red);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 950;
}

.asgd-mini-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #a7dfc2;
  background: #effdf5;
  color: #087344;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 950;
  font-size: 12px;
}

.asgd-workspace {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.asgd-work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px;
}

.asgd-work-head h2 {
  margin: 14px 0 5px;
  font-size: clamp(36px, 3vw, 58px);
  letter-spacing: -0.055em;
}

.asgd-work-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  max-width: 1020px;
}

.asgd-work-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.asgd-clock {
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #ffffff;
  padding: 9px 12px;
  text-align: right;
}

.asgd-clock span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 950;
  color: var(--muted);
}

.asgd-clock strong {
  display: block;
  font-size: 21px;
}

.asgd-clock small {
  color: var(--muted);
}

.asgd-panel {
  display: none;
  gap: 16px;
  max-height: calc(100vh - 218px);
  overflow: auto;
  padding-right: 2px;
}

.asgd-panel.active {
  display: grid;
}

.asgd-proof-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.asgd-proof-grid a,
.asgd-kpi-grid article,
.asgd-list-item,
.asgd-route-item,
.asgd-asset,
.asgd-readonly > div,
.asgd-reward-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 14px;
  text-decoration: none;
}

.asgd-proof-grid a {
  min-height: 120px;
  display: grid;
  align-content: space-between;
}

.asgd-proof-grid a:hover,
.asgd-list-item:hover,
.asgd-route-item:hover {
  border-color: #b9cbec;
  box-shadow: 0 8px 22px rgba(9, 24, 54, 0.06);
}

.asgd-proof-grid i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef4ff;
  color: var(--blue);
}

.asgd-proof-grid strong {
  display: block;
  font-size: 16px;
}

.asgd-proof-grid small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.asgd-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.asgd-kpi-grid.rich {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.asgd-kpi-grid span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--muted);
  font-weight: 950;
}

.asgd-kpi-grid strong {
  display: block;
  font-size: clamp(26px, 2.1vw, 42px);
  letter-spacing: -0.05em;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.asgd-kpi-grid small {
  color: var(--muted);
}

.asgd-two-col,
.asgd-three-col {
  display: grid;
  gap: 16px;
}

.asgd-two-col {
  grid-template-columns: 1fr 1fr;
}

.asgd-two-col.uneven {
  grid-template-columns: 1.2fr 0.8fr;
}

.asgd-three-col {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
}

.asgd-card {
  padding: 18px;
  min-width: 0;
}

.asgd-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.asgd-muted,
.asgd-card p.asgd-muted {
  color: var(--muted);
  line-height: 1.55;
}

.asgd-section-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 14px;
}

.asgd-section-head p {
  margin: 5px 0 0;
  color: var(--muted);
}

.asgd-list {
  display: grid;
  gap: 9px;
}

.asgd-list.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asgd-list.capped,
.asgd-assets.capped,
.scroll-form {
  max-height: 480px;
  overflow: auto;
  padding-right: 4px;
}

.asgd-list.tall,
.asgd-assets.tall {
  max-height: 620px;
}

.asgd-list.xlong,
.asgd-assets.xlong {
  max-height: calc(100vh - 330px);
}

.asgd-list-item b {
  display: block;
  margin-bottom: 5px;
}

.asgd-list-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.asgd-readonly {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.asgd-readonly span,
.asgd-route-item span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 10px;
  color: var(--muted);
  font-weight: 950;
}

.asgd-readonly b,
.asgd-route-item b {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.asgd-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.asgd-form-grid {
  display: grid;
  gap: 12px;
}

.asgd-form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asgd-form-grid .full {
  grid-column: 1 / -1;
}

.asgd-assets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.asgd-asset textarea {
  min-height: 170px;
  font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.asgd-totp-box {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.asgd-totp-qr {
  width: 210px;
  height: 210px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  object-fit: contain;
}

.asgd-totp-box input {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.04em;
}

.asgd-link-list {
  display: grid;
  gap: 9px;
}

.asgd-link-list a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  text-decoration: none;
  font-weight: 950;
  background: #ffffff;
}

.asgd-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2000;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  font-weight: 900;
  max-width: min(520px, calc(100vw - 44px));
}

.asgd-toast.ok {
  border-color: #9fe0be;
  background: #f0fdf5;
  color: #087344;
}

.asgd-toast.bad {
  border-color: #f0b8b4;
  background: #fff5f5;
  color: var(--red);
}

.asgd-raw {
  max-height: calc(100vh - 260px);
  min-height: 520px;
}

.asgd-panel::-webkit-scrollbar,
.asgd-sidebar::-webkit-scrollbar,
.asgd-list::-webkit-scrollbar,
.asgd-assets::-webkit-scrollbar,
.scroll-form::-webkit-scrollbar,
.asgd-raw::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.asgd-panel::-webkit-scrollbar-thumb,
.asgd-sidebar::-webkit-scrollbar-thumb,
.asgd-list::-webkit-scrollbar-thumb,
.asgd-assets::-webkit-scrollbar-thumb,
.scroll-form::-webkit-scrollbar-thumb,
.asgd-raw::-webkit-scrollbar-thumb {
  background: #bed0e8;
  border-radius: 999px;
}

.asgd-panel::-webkit-scrollbar-track,
.asgd-sidebar::-webkit-scrollbar-track,
.asgd-list::-webkit-scrollbar-track,
.asgd-assets::-webkit-scrollbar-track,
.scroll-form::-webkit-scrollbar-track,
.asgd-raw::-webkit-scrollbar-track {
  background: #edf3fb;
  border-radius: 999px;
}

@media (min-width: 2200px) {
  .asgd-main {
    padding: 18px 24px;
  }

  .asgd-dashboard {
    grid-template-columns: 330px minmax(0, 1fr);
  }

  .asgd-proof-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .asgd-kpi-grid.rich {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 1450px) {
  .asgd-open-strip {
    grid-template-columns: minmax(220px, 1fr) repeat(3, auto) minmax(240px, 1fr) auto;
  }

  .asgd-open-link:nth-of-type(n + 4) {
    display: none;
  }

  .asgd-proof-grid,
  .asgd-kpi-grid.rich {
    grid-template-columns: repeat(3, 1fr);
  }

  .asgd-hero-card,
  .asgd-dashboard,
  .asgd-two-col,
  .asgd-two-col.uneven,
  .asgd-three-col {
    grid-template-columns: 1fr;
  }

  .asgd-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .asgd-side-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .asgd-work-head {
    display: grid;
  }

  .asgd-work-actions {
    justify-content: start;
  }
}

@media (max-width: 820px) {
  .asgd-main {
    padding: 8px;
  }

  .asgd-open-strip {
    grid-template-columns: 1fr;
  }

  .asgd-open-cell,
  .asgd-open-link,
  .asgd-open-select,
  .asgd-open-button {
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .asgd-hero-copy {
    padding: 24px;
  }

  .asgd-hero-copy h1 {
    font-size: 42px;
  }

  .asgd-offer-grid,
  .asgd-proof-grid,
  .asgd-kpi-grid,
  .asgd-kpi-grid.rich,
  .asgd-list.wide,
  .asgd-readonly,
  .asgd-route-grid,
  .asgd-assets,
  .asgd-form-grid.two,
  .asgd-side-tabs {
    grid-template-columns: 1fr;
  }

  .asgd-panel {
    max-height: none;
  }
}


/* =========================================================
   V6 client cockpit: compact premium typography + visual panels
========================================================= */
:root {
  --compact-text: 13px;
  --compact-small: 11px;
  --card-radius: 16px;
}

html,
body {
  font-size: 14px;
  letter-spacing: -0.012em;
}

.asgd-main {
  padding: 10px 10px 0;
}

.asgd-dashboard {
  grid-template-columns: 318px minmax(0, 1fr);
  gap: 10px;
}

.asgd-sidebar,
.asgd-card,
.asgd-work-head,
.asgd-hero-copy,
.asgd-login-card {
  border-radius: var(--card-radius);
}

.asgd-workspace {
  gap: 10px;
}

.asgd-work-head {
  padding: 18px 20px;
  min-height: 150px;
}

.asgd-work-head h2 {
  margin: 10px 0 5px;
  font-size: clamp(32px, 2.15vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 680;
}

.asgd-work-head p {
  font-size: 14px;
  line-height: 1.52;
  max-width: 1080px;
}

.asgd-btn,
.asgd-open-link,
.asgd-open-button,
.asgd-side-tabs button,
.aig-nav-link,
.aig-link-btn {
  font-weight: 730;
}

.asgd-side-tabs button {
  height: 39px;
  border-radius: 12px;
  font-size: 14px;
}

.asgd-side-brand strong,
.asgd-list-item b,
.asgd-proof-grid strong,
.asgd-route-item b,
.asgd-readonly b {
  font-weight: 700;
}

.asgd-card {
  padding: 14px;
}

.asgd-card h3 {
  font-size: 18px;
  font-weight: 720;
  letter-spacing: -0.035em;
  margin-bottom: 10px;
}

.asgd-kicker.small {
  padding: 5px 8px;
  font-size: 9px;
}

.asgd-kpi-grid,
.asgd-proof-grid,
.asgd-two-col,
.asgd-three-col,
.asgd-visual-grid,
.asgd-summary-grid {
  gap: 10px;
}

.asgd-kpi-grid.rich {
  grid-template-columns: repeat(9, minmax(142px, 1fr));
}

.asgd-kpi-grid article {
  min-height: 112px;
  padding: 12px;
}

.asgd-kpi-grid span,
.asgd-readonly span,
.asgd-route-item span,
.asgd-open-cell strong,
.asgd-open-select span {
  font-size: 9.5px;
  font-weight: 760;
  letter-spacing: 0.09em;
}

.asgd-kpi-grid strong {
  font-size: clamp(22px, 1.55vw, 34px);
  line-height: 1.05;
  font-weight: 650;
  margin-top: 7px;
  word-break: break-word;
}

.asgd-kpi-grid small,
.asgd-proof-grid small,
.asgd-list-item p,
.asgd-muted,
.asgd-card p,
.asgd-open-cell small {
  font-size: 12.5px;
  line-height: 1.43;
}

.asgd-proof-grid a {
  min-height: 104px;
  padding: 12px;
}

.asgd-proof-grid i {
  width: 32px;
  height: 32px;
  border-radius: 12px;
}

.asgd-list-item,
.asgd-route-item,
.asgd-asset,
.asgd-readonly > div,
.asgd-reward-box,
.asgd-proof-grid a,
.asgd-kpi-grid article {
  border-radius: 14px;
}

.asgd-panel {
  max-height: calc(100vh - 205px);
  padding-right: 6px;
}

.asgd-list.capped,
.asgd-assets.capped,
.scroll-form {
  max-height: 430px;
}

.asgd-list.xlong,
.asgd-assets.xlong {
  max-height: calc(100vh - 300px);
}

.asgd-window-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  padding: 10px 12px;
  box-shadow: 0 10px 28px rgba(9,24,54,.055);
}

.asgd-window-bar strong {
  display: block;
  font-size: 13px;
  font-weight: 740;
}

.asgd-window-bar small {
  color: var(--muted);
  font-size: 12px;
}

.asgd-window-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.asgd-window-buttons button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  min-height: 34px;
  padding: 0 12px;
  font-weight: 720;
  color: #20304d;
}

.asgd-window-buttons button.active {
  background: #081225;
  color: #fff;
  border-color: #081225;
}

.asgd-summary-card {
  overflow: hidden;
}

.compact-head {
  align-items: center;
  margin-bottom: 10px;
}

.asgd-score-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 8px solid #e5eeff;
  background: #fff;
  color: #0b3fae;
  font-size: 21px;
  font-weight: 760;
  box-shadow: inset 0 0 0 1px var(--line);
}

.asgd-summary-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.asgd-summary-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfdff;
  padding: 11px;
}

.asgd-summary-grid span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: 9.5px;
  font-weight: 760;
}

.asgd-summary-grid strong {
  display: block;
  margin-top: 5px;
  font-size: 19px;
  font-weight: 700;
}

.asgd-visual-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
}

.asgd-bars {
  display: grid;
  gap: 10px;
}

.asgd-bar-row {
  display: grid;
  gap: 6px;
}

.asgd-bar-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.asgd-bar-track {
  height: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eef4fb;
  overflow: hidden;
}

.asgd-bar-fill {
  height: 100%;
  width: var(--bar, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, #155cff, #67a3ff);
}

.asgd-mini-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  min-height: 180px;
  align-items: end;
  padding-top: 8px;
}

.asgd-mini-chart span {
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
}

.asgd-mini-chart i {
  display: block;
  width: 100%;
  min-height: 8px;
  height: var(--h, 8px);
  border-radius: 10px 10px 3px 3px;
  background: linear-gradient(180deg, #155cff, #8db5ff);
}

.asgd-billing-note {
  border: 1px dashed #b8c8de;
  border-radius: 14px;
  padding: 12px;
  background: #fbfdff;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

@media (min-width: 2200px) {
  .asgd-main { padding: 8px 10px 0; }
  .asgd-dashboard { grid-template-columns: 330px minmax(0, 1fr); }
  .asgd-kpi-grid.rich { grid-template-columns: repeat(12, minmax(136px, 1fr)); }
  .asgd-summary-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

@media (max-width: 1450px) {
  .asgd-kpi-grid.rich,
  .asgd-summary-grid { grid-template-columns: repeat(3, 1fr); }
  .asgd-visual-grid { grid-template-columns: 1fr; }
}




/* =========================================================
   V8 CLIENT COCKPIT HERO + BIG SCREEN VALUE SECTIONS
   Uses real dashboard data only; empty states remain honest.
========================================================= */
body.asg-unlocked {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.asg-unlocked .asgd-main {
  flex: 1 0 auto;
}

.asg-unlocked .aig-footer {
  display: block;
  flex: 0 0 auto;
  margin-top: 14px;
  border-top: 1px solid rgba(183, 199, 222, 0.55);
  background: #071632;
}

.asgd-main {
  min-height: calc(100vh - 1px);
}

.asgd-workspace {
  min-height: calc(100vh - 92px);
}

.asgd-work-head {
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(9, 24, 54, 0.055);
}

.asgd-work-head h2 {
  font-size: clamp(24px, 1.6vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: 8px 0 4px;
  font-weight: 820;
}

.asgd-work-head p,
.asgd-card p,
.asgd-muted {
  font-size: 12.5px;
  line-height: 1.55;
}

.asgd-cockpit-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
  gap: 14px;
  border: 1px solid rgba(24, 58, 118, 0.14);
  border-radius: 24px;
  background:
    radial-gradient(circle at 10% 0%, rgba(21, 92, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 90% 18%, rgba(37, 99, 235, 0.12), transparent 28rem),
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(240,246,255,0.94));
  box-shadow: 0 18px 52px rgba(7, 22, 50, 0.08);
  padding: 18px;
  min-height: 250px;
}

.asgd-cockpit-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(8, 18, 37, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(8, 18, 37, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 88%);
}

.asgd-cockpit-hero-copy,
.asgd-cockpit-hero-metrics {
  position: relative;
  z-index: 1;
}

.asgd-cockpit-brandline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(21, 92, 255, 0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  padding: 6px 10px 6px 7px;
  color: #155cff;
  font-size: 10.5px;
  font-weight: 860;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.asgd-cockpit-brandline img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.asgd-cockpit-hero h2 {
  max-width: 1000px;
  margin: 14px 0 10px;
  color: #071632;
  font-size: clamp(28px, 2.65vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.058em;
  font-weight: 860;
}

.asgd-cockpit-hero p {
  max-width: 1000px;
  margin: 0;
  color: #41506a;
  font-size: clamp(13px, 0.78vw, 16px);
  line-height: 1.6;
}

.asgd-cockpit-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.asgd-cockpit-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-self: stretch;
}

.asgd-cockpit-hero-metrics article {
  display: grid;
  align-content: space-between;
  min-height: 104px;
  border: 1px solid rgba(124, 144, 172, 0.22);
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  padding: 12px;
  box-shadow: 0 10px 24px rgba(9, 24, 54, 0.045);
}

.asgd-cockpit-hero-metrics i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #edf4ff;
  color: #155cff;
  font-size: 13px;
}

.asgd-cockpit-hero-metrics span {
  color: #68758b;
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.asgd-cockpit-hero-metrics strong {
  color: #071632;
  font-size: clamp(18px, 1.2vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.asgd-kpi-grid article,
.asgd-proof-grid a,
.asgd-card,
.asgd-list-item,
.asgd-route-item,
.asgd-asset,
.asgd-readonly > div,
.asgd-reward-box {
  border-radius: 14px;
}

.asgd-kpi-grid span,
.asgd-summary-grid span,
.asgd-readonly span {
  font-size: 9.5px;
  letter-spacing: 0.105em;
  font-weight: 760;
}

.asgd-kpi-grid strong {
  font-size: clamp(17px, 0.95vw, 26px);
  line-height: 1.08;
  font-weight: 780;
  letter-spacing: -0.035em;
}

.asgd-summary-grid strong {
  font-size: clamp(15px, 0.86vw, 23px);
  font-weight: 760;
}

.asgd-card h3 {
  font-size: clamp(16px, 0.95vw, 22px);
  font-weight: 760;
  letter-spacing: -0.025em;
}

.asgd-list-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 11px;
}

.asgd-list-item > b,
.asgd-list-item > p {
  grid-column: 2;
}

.asgd-list-item:not(.with-icon)::before {
  content: "i";
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: #edf4ff;
  color: #155cff;
  font-size: 11px;
  font-weight: 850;
  font-style: normal;
}

.asgd-list-item.with-icon .asgd-item-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #edf4ff;
  color: #155cff;
  font-size: 13px;
}

.asgd-list-item.with-icon.is-known .asgd-item-icon {
  background: #edfdf5;
  color: #0c8f54;
}

.asgd-list-item.with-icon.is-unknown .asgd-item-icon {
  background: #fff7ed;
  color: #d97706;
}

.asgd-list-item b {
  font-size: 12.5px;
  font-weight: 760;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

.asgd-list-item p,
.asgd-list-item small {
  font-size: 11.6px;
  line-height: 1.42;
}

.asgd-registry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.asgd-registry-badges span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border: 1px solid #d7e1ef;
  border-radius: 999px;
  background: #ffffff;
  color: #55627a;
  font-size: 10.5px;
  font-weight: 700;
}

.asgd-credit-summary-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(244,248,255,0.96));
}

.asgd-value-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.asgd-guidance-card,
.asgd-worth-card {
  min-height: 250px;
}

.asgd-guidance-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.asgd-guidance-list div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px;
  border: 1px solid #dfe8f5;
  border-radius: 14px;
  background: #fbfdff;
  color: #3d4e68;
  font-size: 12.4px;
  line-height: 1.45;
}

.asgd-guidance-list i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #eef4ff;
  color: #155cff;
}

.asgd-worth-card p {
  color: #43536a;
  font-size: 13px;
  line-height: 1.65;
}

.asgd-worth-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.asgd-worth-pills span {
  display: inline-flex;
  border: 1px solid #d7e1ef;
  border-radius: 999px;
  padding: 7px 10px;
  background: #ffffff;
  color: #344054;
  font-size: 11px;
  font-weight: 760;
}

.asgd-billing-note {
  margin-top: 12px;
  padding: 11px;
  border: 1px solid #d7e1ef;
  border-radius: 14px;
  background: #f8fbff;
  color: #536178;
  font-size: 12px;
  line-height: 1.5;
}

@media (min-width: 2200px) {
  .asgd-main { padding: 14px 16px; }
  .asgd-dashboard { grid-template-columns: 320px minmax(0, 1fr); }
  .asgd-proof-grid { grid-template-columns: repeat(12, minmax(150px, 1fr)); }
  .asgd-kpi-grid.rich { grid-template-columns: repeat(10, minmax(132px, 1fr)); }
  .asgd-visual-grid { grid-template-columns: 0.9fr 1.1fr; }
  .asgd-panel { max-height: none; overflow: visible; }
  .asgd-list.capped,
  .asgd-assets.capped { max-height: 520px; overflow: auto; }
}

@media (max-width: 1280px) {
  .asgd-cockpit-hero { grid-template-columns: 1fr; }
  .asgd-cockpit-hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .asgd-value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .asgd-cockpit-hero { padding: 14px; border-radius: 18px; }
  .asgd-cockpit-hero h2 { font-size: 30px; }
  .asgd-cockpit-hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .asgd-list-item { grid-template-columns: 1fr; }
  .asgd-list-item > b,
  .asgd-list-item > p { grid-column: 1; }
  .asgd-list-item::before,
  .asgd-list-item.with-icon .asgd-item-icon { display: none; }
}


/* V8.1 footer + traffic icon correction */
body.asg-unlocked .aig-footer-inner {
  min-height: 72px;
  padding: 14px 18px;
  align-items: center;
}

body.asg-unlocked .aig-footer strong {
  font-size: 12px;
  letter-spacing: -0.01em;
}

body.asg-unlocked .aig-footer p,
body.asg-unlocked .aig-footer a {
  font-size: 11px;
}

body.asg-unlocked .aig-footer p {
  max-width: 820px;
  line-height: 1.35;
}

.asgd-list-item.with-icon.is-normal .asgd-item-icon {
  background: #edf4ff;
  color: #155cff;
}

.asgd-list-item.with-icon.is-message .asgd-item-icon {
  background: #eef4ff;
  color: #155cff;
}

.asgd-list-item.with-icon.is-route .asgd-item-icon {
  background: #f2f7ff;
  color: #0a3cc2;
}

/* =========================================================
   V8.3 security restore: profile gate + mobile OTP controls
========================================================= */
.asgd-edit-requirements {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.asgd-edit-requirements span {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  background: #f8fbff;
  color: #4f5f7a;
  font-size: 12px;
  font-weight: 850;
}

.asgd-edit-requirements span.ok {
  color: #087344;
  background: #effdf5;
  border-color: #a7dfc2;
}

.asgd-edit-requirements span.bad {
  color: #a1241e;
  background: #fff4f3;
  border-color: #fac5c2;
}

.asgd-edit-otp-row {
  max-width: 520px;
  margin-bottom: 12px;
}

.asgd-edit-gate-card.locked .scroll-form,
.asgd-edit-gate-card.locked #saveProfileDraftBtn {
  opacity: 0.52;
}

.asgd-edit-gate-card.locked .scroll-form input,
.asgd-edit-gate-card.locked .scroll-form textarea,
.asgd-edit-gate-card.locked #saveProfileDraftBtn {
  pointer-events: none;
}

.asgd-mobile-verify-box {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.asgd-button-row.compact {
  margin-top: 0;
  align-items: center;
}

.asgd-muted.small {
  font-size: 12px;
  margin: 0;
}

.asgd-readonly b {
  font-weight: 760;
  font-size: 14px;
}
