:root {
  --bg: #050607;
  --panel: #0d0f12;
  --text: #f5f5f0;
  --muted: #9a9da4;
  --yellow: #f4e500;
  --line: rgba(255, 255, 255, 0.1);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 24%, rgba(244, 229, 0, 0.12), transparent 28%),
    linear-gradient(180deg, #050607, #090b0e);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
.auth-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 38px 0;
}
.auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.auth-brand span {
  color: var(--yellow);
  font-size: 25px;
  font-weight: 850;
}
.auth-brand small {
  padding-left: 14px;
  border-left: 1px solid rgba(244, 229, 0, 0.28);
  color: var(--muted);
}
.flash-list {
  position: fixed;
  top: 24px;
  right: max(24px, calc((100vw - 1120px) / 2));
  z-index: 100;
  display: grid;
  gap: 10px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}
.flash-message {
  padding: 16px 18px;
  border: 1px solid rgba(244, 229, 0, 0.34);
  border-radius: 6px;
  background: rgba(13, 15, 18, 0.96);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.38);
  color: var(--text);
  line-height: 1.45;
  animation: toast-lifecycle 6.4s ease forwards;
  backdrop-filter: blur(16px);
}
.flash-success {
  border-color: rgba(72, 187, 120, 0.38);
  background:
    linear-gradient(90deg, rgba(72, 187, 120, 0.14), rgba(13, 15, 18, 0.96) 34%),
    rgba(13, 15, 18, 0.96);
}
.flash-warning {
  border-color: rgba(244, 229, 0, 0.42);
  background:
    linear-gradient(90deg, rgba(244, 229, 0, 0.13), rgba(13, 15, 18, 0.96) 38%),
    rgba(13, 15, 18, 0.96);
}
.error-page {
  display: grid;
  align-content: center;
  min-height: calc(100vh - 140px);
  padding: 70px 0;
}
.error-page h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
}
.error-page .lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
@keyframes toast-lifecycle {
  0% {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  8% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  78% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    visibility: hidden;
  }
}
.auth-card {
  width: min(480px, 100%);
  margin: 72px auto 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.9);
  backdrop-filter: blur(16px);
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 54px);
  line-height: 1.02;
}
.lead {
  margin: 18px 0 30px;
  color: var(--muted);
  line-height: 1.6;
}
form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: #c8c9ce; font-size: 13px; }
input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #07090b;
  color: var(--text);
  font: inherit;
}
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #07090b;
  color: var(--text);
  font: inherit;
  resize: vertical;
}
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--yellow);
}
input:focus {
  outline: 1px solid rgba(244, 229, 0, 0.55);
  border-color: rgba(244, 229, 0, 0.55);
}
textarea:focus {
  outline: 1px solid rgba(244, 229, 0, 0.55);
  border-color: rgba(244, 229, 0, 0.55);
}
button {
  min-height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  color: #08090b;
  cursor: pointer;
  font-weight: 800;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}
.auth-switch { margin: 22px 0 0; color: var(--muted); }
.auth-switch a, .logout-link { color: var(--yellow); text-decoration: none; }
.notice-box {
  margin-top: 26px;
  padding: 16px;
  border: 1px solid rgba(244, 229, 0, 0.28);
  border-radius: 6px;
  background: rgba(244, 229, 0, 0.055);
}
.notice-box strong {
  color: var(--yellow);
}
.notice-box p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.content-page {
  margin-top: 72px;
}
.content-hero {
  margin-bottom: 26px;
}
.author-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr);
  align-items: end;
  min-height: 520px;
  overflow: hidden;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 35%, rgba(34, 117, 255, 0.22), transparent 34%),
    linear-gradient(115deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.92) 44%, rgba(5, 6, 7, 0.58) 100%),
    #050607;
}
.author-hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
}
.author-hero .lead {
  max-width: 760px;
}
.author-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}
.author-hero-points span {
  position: relative;
  min-height: 0;
  display: inline-flex;
  align-items: center;
  padding-left: 12px;
  color: #b8d9ca;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}
.author-hero-points span::before {
  content: "";
  position: absolute;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(138, 232, 194, 0.78);
  box-shadow: 0 0 16px rgba(138, 232, 194, 0.32);
}
.author-photo {
  position: absolute;
  inset: 0 0 0 40%;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  gap: 0;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0.72;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 11%, #000 25%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.32) 11%, #000 25%, #000 100%);
  pointer-events: none;
}
.author-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.72), rgba(5, 6, 7, 0.1) 42%, rgba(5, 6, 7, 0.36)),
    linear-gradient(180deg, rgba(5, 6, 7, 0.04), rgba(5, 6, 7, 0.68));
  z-index: 2;
  pointer-events: none;
}
.author-photo-strip {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  width: auto;
  min-height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: none;
}
.author-photo-strip.strip-one {
  background-image: url("../images/author-strip-1.66ecd0c38c38.jpg");
  opacity: 0.68;
}
.author-photo-strip.strip-two {
  background-image: url("../images/author-strip-2.740b74471fc6.jpg");
  opacity: 0.78;
}
.author-photo-strip.strip-three {
  background-image: url("../images/author-strip-3.75961bd85a99.jpg");
  flex-grow: 1.15;
  opacity: 0.62;
}
.content-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(138, 232, 194, 0.035), rgba(255, 255, 255, 0.014)),
    rgba(13, 15, 18, 0.86);
}
.author-layout {
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  gap: 12px;
  margin-bottom: 12px;
}
.author-statement h2,
.content-section-head h2,
.content-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}
.author-statement span,
.author-card span,
.content-section-head span {
  display: block;
  margin-bottom: 12px;
  color: #8af0c3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.author-statement p,
.author-card p,
.principle-grid p,
.use-case-list p,
.faq-question-list p {
  color: var(--muted);
  line-height: 1.6;
}
.author-card {
  display: grid;
  align-content: start;
  gap: 12px;
}
.author-card strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.18;
}
.content-section-head {
  margin-bottom: 18px;
}
.author-proof {
  margin-bottom: 12px;
  background:
    linear-gradient(135deg, rgba(138, 232, 194, 0.06), rgba(244, 229, 0, 0.028)),
    rgba(13, 15, 18, 0.9);
}
.author-proof-grid,
.author-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.author-proof-grid article,
.author-steps article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}
.author-proof-grid strong,
.author-steps strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  line-height: 1.22;
}
.author-proof-grid p,
.author-steps p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.author-steps b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(244, 229, 0, 0.32);
  border-radius: 50%;
  color: rgba(244, 229, 0, 0.76);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 16px;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.principle-grid article,
.faq-question-list article,
.use-case-list article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}
.principle-grid b {
  color: rgba(244, 229, 0, 0.68);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.principle-grid strong,
.use-case-list strong,
.faq-question-list strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.3;
}
.principle-grid p,
.use-case-list p,
.faq-question-list p {
  margin: 10px 0 0;
}
.use-case-list,
.faq-question-list {
  display: grid;
  gap: 10px;
}
.faq-story {
  display: grid;
  gap: 12px;
}
.faq-story-section {
  display: grid;
  gap: 20px;
  align-items: start;
}
.faq-story-section .content-section-head {
  margin-bottom: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-question-list article {
  display: block;
}
.faq-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.content-page > .content-panel + .content-panel,
.faq-category-grid + .content-cta,
.faq-story + .content-cta {
  margin-top: 12px;
}
.content-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 24px;
  border: 1px solid rgba(244, 229, 0, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 229, 0, 0.07), rgba(138, 232, 194, 0.035)),
    rgba(13, 15, 18, 0.88);
}
.content-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.methodology-hero {
  background:
    radial-gradient(circle at 86% 18%, rgba(138, 232, 194, 0.12), transparent 32%),
    radial-gradient(circle at 76% 78%, rgba(244, 229, 0, 0.1), transparent 30%),
    linear-gradient(135deg, rgba(13, 15, 18, 0.96), rgba(7, 9, 11, 0.9));
}
.methodology-hero .header-actions {
  align-self: flex-start;
  padding-top: 10px;
  padding-right: 6px;
}
.methodology-formula {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 12px;
}
.methodology-formula span {
  display: block;
  margin-bottom: 12px;
  color: #8af0c3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.methodology-formula h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}
.methodology-formula p,
.methodology-note {
  color: var(--muted);
  line-height: 1.6;
}
.formula-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(244, 229, 0, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 229, 0, 0.08), rgba(244, 229, 0, 0.025)),
    rgba(5, 6, 7, 0.72);
}
.formula-card small {
  color: #8af0c3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.formula-card strong {
  color: var(--yellow);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.1;
}
.formula-card p {
  margin: 0;
  color: #c7d8ce;
}
.methodology-axis-grid,
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.methodology-axis-grid article,
.methodology-steps article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}
.methodology-axis-grid b,
.methodology-steps span {
  color: rgba(244, 229, 0, 0.68);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 850;
}
.methodology-axis-grid strong,
.methodology-steps strong {
  display: block;
  margin-top: 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}
.methodology-axis-grid p,
.methodology-steps p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.methodology-axis-grid ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.methodology-axis-grid li,
.scenario-pill-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(138, 232, 194, 0.2);
  border-radius: 999px;
  background: rgba(138, 232, 194, 0.045);
  color: #c9f4de;
  font-size: 12px;
  font-weight: 750;
}
.methodology-flow .methodology-steps {
  grid-template-columns: repeat(4, 1fr);
}
.scenario-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scenario-pill-grid + .methodology-note {
  margin-top: 18px;
}
.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.42fr;
  gap: 12px;
}
.request-source-note {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(138, 232, 194, 0.2);
  border-radius: 8px;
  background: rgba(138, 232, 194, 0.07);
}
.request-source-note span {
  color: #8af0c3;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.request-source-note strong {
  color: var(--text);
  font-size: 17px;
}
.request-source-note p {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  line-height: 1.45;
}
.request-form {
  display: grid;
  gap: 16px;
}
.request-form button {
  width: fit-content;
  min-width: 220px;
  padding: 0 22px;
}
.request-aside {
  align-self: start;
}
.request-aside span {
  display: block;
  margin-bottom: 12px;
  color: #8af0c3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.request-aside ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.request-aside li {
  color: var(--text);
  line-height: 1.45;
}
.request-aside li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--yellow);
}
.request-aside p {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.request-flow-note {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(138, 232, 194, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(138, 232, 194, 0.07), rgba(244, 229, 0, 0.02)),
    rgba(8, 10, 12, 0.72);
}
.request-flow-note strong {
  display: block;
  color: #8ae8c2;
  font-size: 13px;
}
.request-flow-note p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
}
.checkbox-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.checkbox-row a { color: var(--yellow); text-decoration: none; }
.form-errors {
  padding: 12px 14px;
  border: 1px solid rgba(241, 72, 35, 0.35);
  border-radius: 6px;
  background: rgba(241, 72, 35, 0.08);
  color: #ffc4b9;
  font-size: 13px;
}
.form-errors p { margin: 0; }
.dashboard { margin-top: 72px; }
.dashboard-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.dashboard-head .lead { max-width: 620px; margin-bottom: 0; }
.logout-link { white-space: nowrap; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.header-actions form,
.next-action-box form {
  margin: 0;
}
.nav-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(138, 232, 194, 0.24);
  border-radius: 999px;
  background: rgba(138, 232, 194, 0.055);
  color: #c9f4de;
  font-size: 13px;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.nav-action:hover {
  border-color: rgba(138, 232, 194, 0.46);
  background: rgba(138, 232, 194, 0.095);
  color: var(--text);
  transform: translateY(-1px);
}
.nav-action-primary {
  border-color: rgba(244, 229, 0, 0.38);
  background: rgba(244, 229, 0, 0.075);
  color: var(--yellow);
}
.nav-action-primary:hover {
  border-color: rgba(244, 229, 0, 0.62);
  background: rgba(244, 229, 0, 0.12);
}
.cockpit-head {
  margin-bottom: 24px;
}
.quick-guide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.quick-guide span {
  display: grid;
  gap: 5px;
  min-height: 58px;
  padding: 12px;
  border: 1px solid rgba(72, 187, 120, 0.22);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(72, 187, 120, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(13, 15, 18, 0.72);
  text-align: left;
}
.quick-guide b {
  color: #9bdab4;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.quick-guide small {
  color: #c7d8ce;
  font-size: 12px;
  line-height: 1.25;
}
.quick-guide span:last-child {
  border-color: rgba(72, 187, 120, 0.22);
}
.quota-strip {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid rgba(72, 187, 120, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(72, 187, 120, 0.06), rgba(255, 255, 255, 0.018)),
    rgba(13, 15, 18, 0.8);
}
.quota-strip > div:first-child span,
.quota-item span,
.quota-inline span {
  color: #9bdab4;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.quota-strip > div:first-child strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 18px;
}
.quota-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.quota-item {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.024);
}
.quota-item strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--yellow);
  font-size: 22px;
  line-height: 1;
}
.quota-item.is-reached,
.quota-inline.is-reached {
  border-color: rgba(244, 229, 0, 0.36);
  background: rgba(244, 229, 0, 0.05);
}
.quota-locked {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(244, 229, 0, 0.24);
  border-radius: 6px;
  color: rgba(244, 229, 0, 0.76);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.quota-locked:hover {
  border-color: rgba(244, 229, 0, 0.46);
  background: rgba(244, 229, 0, 0.07);
  color: var(--yellow);
}
.quota-inline {
  display: grid;
  gap: 10px;
  margin: -4px 0 14px;
  padding: 12px;
  border: 1px solid rgba(72, 187, 120, 0.18);
  border-radius: 6px;
  background: rgba(72, 187, 120, 0.035);
}
.company-strip {
  display: grid;
  grid-template-columns: 0.35fr 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.company-strip span,
.cockpit-summary span,
.team-table-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.company-strip strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}
.company-strip nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.company-strip nav a {
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.company-strip nav a.is-active {
  border-color: rgba(244, 229, 0, 0.48);
  background: rgba(244, 229, 0, 0.08);
  color: var(--yellow);
}
.cockpit-summary {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.cockpit-summary article,
.cockpit-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.cockpit-summary strong {
  display: block;
  margin-top: 14px;
  color: var(--yellow);
  font-size: 34px;
  line-height: 1;
}
.cockpit-panel {
  margin-top: 12px;
}
.team-table {
  display: grid;
  gap: 8px;
}
.team-table-head,
.team-table-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 1.25fr;
  gap: 14px;
  align-items: center;
}
.team-table-head {
  padding: 0 14px 8px;
}
.team-table-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.team-cell strong,
.team-cell small,
.metric-line strong,
.metric-line span {
  display: block;
}
.team-main-cell strong a {
  color: var(--text);
  text-decoration: none;
}
.team-open-link {
  width: fit-content;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid rgba(138, 232, 194, 0.2);
  border-radius: 6px;
  background: rgba(138, 232, 194, 0.035);
  color: #bfe8d2;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}
.team-open-link:hover {
  border-color: rgba(138, 232, 194, 0.38);
  background: rgba(138, 232, 194, 0.07);
  color: var(--text);
}
.team-main-cell small,
.metric-line span,
.muted-value {
  color: var(--muted);
}
.metric-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.metric-line strong {
  color: var(--yellow);
}
.efficiency-pill {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid rgba(244, 229, 0, 0.28);
  border-radius: 6px;
  background: rgba(244, 229, 0, 0.055);
}
.efficiency-pill strong {
  color: var(--yellow);
  font-size: 20px;
}
.efficiency-pill span {
  color: var(--muted);
  font-size: 12px;
}
.actions-cell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.actions-cell a,
.actions-cell button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-family: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.actions-cell .primary-action {
  border-color: rgba(244, 229, 0, 0.48);
  background: var(--yellow);
  color: #08090b;
}
.next-action-box {
  display: grid;
  gap: 6px;
}
.next-action-box small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.secondary-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
  gap: 8px;
}
.cockpit-empty,
.cockpit-start {
  max-width: 520px;
}
.cockpit-empty span,
.cockpit-start span {
  color: var(--yellow);
  font-weight: 850;
}
.cockpit-empty h3,
.cockpit-start h2 {
  margin: 24px 0 12px;
}
.cockpit-empty p,
.cockpit-start p {
  color: var(--muted);
  line-height: 1.55;
}
.workspace-dashboard {
  margin-top: 58px;
}
.workspace-head {
  padding-bottom: 24px;
}
.sidebar-head span,
.workspace-current span,
.current-metrics span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.workspace-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr);
  gap: 14px;
  margin-top: 14px;
  align-items: start;
}
.workspace-sidebar,
.workspace-main,
.workspace-helper,
.workspace-plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.workspace-sidebar {
  position: sticky;
  top: 18px;
  padding: 16px;
}
.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.sidebar-head strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}
.sidebar-add {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 229, 0, 0.38);
  border-radius: 6px;
  background: rgba(244, 229, 0, 0.07);
  color: var(--yellow);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}
.company-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.company-list a {
  display: grid;
  gap: 6px;
  padding: 13px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.018);
  color: var(--text);
  text-decoration: none;
}
.company-list a.is-active {
  border-color: rgba(138, 232, 194, 0.42);
  background:
    linear-gradient(90deg, rgba(138, 232, 194, 0.09), rgba(244, 229, 0, 0.035)),
    rgba(255, 255, 255, 0.022);
}
.company-list strong {
  font-size: 14px;
  line-height: 1.25;
}
.company-list small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}
.workspace-main {
  padding: 18px;
}
.workspace-current {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.workspace-current h2 {
  margin: 8px 0 0;
  color: #8ae8c2;
  font-size: 30px;
  line-height: 1.08;
}
.current-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.current-metrics article {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.022);
}
.current-metrics strong {
  display: block;
  margin-top: 10px;
  color: var(--yellow);
  font-size: 26px;
  line-height: 1;
}
.workspace-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 12px;
}
.workspace-toolbar h2 {
  margin: 0;
  font-size: 24px;
}
.workspace-toolbar p {
  max-width: 620px;
  margin: 7px 0 0;
  color: var(--muted);
  line-height: 1.45;
}
.workspace-team-table .team-table-head,
.workspace-team-table .team-table-row {
  grid-template-columns: minmax(160px, 1.15fr) 0.75fr 1fr 0.85fr minmax(190px, 1.1fr);
}
.workspace-team-table .team-table-row {
  padding: 16px;
}
.secondary-actions-single {
  grid-template-columns: 1fr;
}
.workspace-helper {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 14px;
  overflow: visible;
  border-color: rgba(138, 232, 194, 0.12);
  background: rgba(138, 232, 194, 0.08);
  opacity: 0.92;
}
.workspace-helper span {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  background: rgba(13, 15, 18, 0.78);
}
.workspace-help-step {
  cursor: help;
}
.workspace-helper b {
  color: rgba(138, 232, 194, 0.72);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
}
.workspace-helper small {
  color: rgba(199, 216, 206, 0.82);
  font-size: 12px;
  line-height: 1.3;
}
.workspace-helper em {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(138, 232, 194, 0.2);
  border-radius: 999px;
  color: rgba(138, 232, 194, 0.7);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
}
.workspace-helper i {
  position: absolute;
  z-index: 12;
  top: calc(100% + 10px);
  left: 10px;
  width: min(340px, calc(100vw - 48px));
  padding: 14px 15px;
  border: 1px solid rgba(138, 232, 194, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(138, 232, 194, 0.06), rgba(244, 229, 0, 0.025)),
    #0b0e10;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  color: #d7d8dc;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.workspace-help-step:nth-child(3) i,
.workspace-help-step:nth-child(4) i {
  right: 10px;
  left: auto;
}
.workspace-help-step:hover i {
  opacity: 1;
  transform: translateY(0);
}
.workspace-help-step:hover em {
  border-color: rgba(244, 229, 0, 0.36);
  color: var(--yellow);
}
.workspace-plan {
  display: grid;
  grid-template-columns: minmax(190px, 0.24fr) minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-color: rgba(244, 229, 0, 0.18);
  background:
    linear-gradient(90deg, rgba(244, 229, 0, 0.045), rgba(138, 232, 194, 0.025)),
    rgba(13, 15, 18, 0.86);
}
.workspace-plan span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.workspace-plan strong {
  display: block;
  margin-top: 5px;
  color: var(--yellow);
  font-size: 20px;
  line-height: 1.1;
}
.workspace-plan-limits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.workspace-plan-limits small {
  min-height: 54px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: #c7d8ce;
  font-size: 12px;
  line-height: 1.2;
}
.workspace-plan-limits b {
  color: rgba(138, 232, 194, 0.86);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.workspace-plan-limits em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}
.workspace-empty,
.workspace-start {
  margin-top: 18px;
}
.account-current-package {
  width: fit-content;
  margin: 14px 0 16px;
  color: rgba(138, 232, 194, 0.86);
  font-size: 13px;
  font-weight: 850;
}
.account-current-package strong {
  color: #b8f2d8;
  font-size: 15px;
}
.account-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.account-panel > div > span {
  color: rgba(138, 232, 194, 0.86);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.account-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.account-tab-control {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.account-menu {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(138, 232, 194, 0.16);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.76);
}
.account-menu label {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(138, 232, 194, 0.12);
  border-radius: 6px;
  background: rgba(138, 232, 194, 0.035);
  color: rgba(218, 231, 224, 0.78);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.account-menu label:hover {
  border-color: rgba(138, 232, 194, 0.34);
  background: rgba(138, 232, 194, 0.07);
  color: #e7fff3;
}
.account-content {
  min-width: 0;
}
.account-content .account-panel {
  display: none;
  min-height: 470px;
}
.account-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 18px;
}
#account-tab-profile:checked ~ .account-menu label[for="account-tab-profile"],
#account-tab-password:checked ~ .account-menu label[for="account-tab-password"],
#account-tab-mailing:checked ~ .account-menu label[for="account-tab-mailing"],
#account-tab-payments:checked ~ .account-menu label[for="account-tab-payments"],
#account-tab-delete:checked ~ .account-menu label[for="account-tab-delete"] {
  border-color: rgba(138, 232, 194, 0.48);
  background:
    linear-gradient(135deg, rgba(138, 232, 194, 0.18), rgba(138, 232, 194, 0.055)),
    rgba(13, 15, 18, 0.9);
  color: #b8f2d8;
}
#account-tab-profile:checked ~ .account-content .account-panel-profile,
#account-tab-password:checked ~ .account-content .account-panel-password,
#account-tab-mailing:checked ~ .account-content .account-panel-mailing,
#account-tab-payments:checked ~ .account-content .account-panel-payments,
#account-tab-delete:checked ~ .account-content .account-panel-delete {
  display: grid;
}
.account-panel h2 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.12;
}
.account-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.account-panel form {
  display: grid;
  gap: 12px;
}
.account-panel label {
  display: grid;
  gap: 7px;
}
.account-panel label > span:first-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.account-panel input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font: inherit;
}
.account-panel .checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: start;
}
.account-panel .checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--yellow);
}
.account-panel .checkbox-row span {
  color: #d7d8dc;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: none;
}
.account-panel .nav-action,
.account-panel .danger-action {
  width: fit-content;
  margin-top: 2px;
  text-decoration: none;
}
.account-history-list {
  display: grid;
  gap: 8px;
}
.account-history-list article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.account-history-list strong {
  color: var(--text);
  font-size: 13px;
}
.account-history-list span,
.account-history-list p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.account-danger-zone {
  grid-column: 1 / -1;
  border-color: rgba(239, 68, 68, 0.28);
  background:
    linear-gradient(90deg, rgba(239, 68, 68, 0.06), rgba(13, 15, 18, 0.78)),
    rgba(13, 15, 18, 0.86);
}
.account-danger-zone .danger-action {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(239, 68, 68, 0.34);
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  color: #fecaca;
  font-family: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.dashboard-grid article {
  min-height: 280px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.dashboard-grid article > span {
  color: var(--yellow);
  font-weight: 850;
}
.dashboard-grid h2 { margin: 46px 0 12px; }
.dashboard-grid p { color: var(--muted); line-height: 1.55; }
.entity-list {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}
.entity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-decoration: none;
}
.team-row {
  align-items: flex-start;
}
.team-row-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
}
.entity-row.is-active {
  border-color: rgba(244, 229, 0, 0.45);
  background: rgba(244, 229, 0, 0.07);
}
.entity-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.entity-row strong a {
  color: var(--text);
  font-size: inherit;
}
.entity-row small {
  display: block;
  flex: 0 0 auto;
  color: var(--muted);
}
.entity-row a {
  flex: 0 0 auto;
  color: var(--yellow);
  font-size: 12px;
  text-decoration: none;
}
.member-list {
  display: grid;
  gap: 7px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.member-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
}
.diagnostics-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.diagnostic-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.diagnostic-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.diagnostic-row-head strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.diagnostic-row-head span {
  color: var(--yellow);
  font-weight: 850;
}
.progress-track {
  height: 7px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
}
.diagnostic-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.diagnostic-row small b {
  color: var(--yellow);
}
.diagnostic-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.diagnostic-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.diagnostic-actions a:first-child {
  border-color: rgba(244, 229, 0, 0.45);
  background: rgba(244, 229, 0, 0.08);
  color: var(--yellow);
}
.invite-panel {
  display: grid;
  gap: 8px;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.invite-panel span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.invite-panel strong {
  color: var(--yellow);
  font-size: 22px;
}
.invite-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.profile-summary {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.profile-summary article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(244, 229, 0, 0.045);
}
.profile-summary span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.profile-summary strong {
  display: block;
  margin-top: 6px;
  color: var(--yellow);
  font-size: 22px;
}
.team-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 32px;
}
.measurement-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(138, 232, 194, 0.18);
  border-radius: 8px;
  background: rgba(138, 232, 194, 0.045);
}
.measurement-switcher span {
  color: #b8f2d8;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.measurement-switcher div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.measurement-switcher a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.measurement-switcher a.is-active {
  border-color: rgba(244, 229, 0, 0.5);
  background: rgba(244, 229, 0, 0.1);
  color: var(--text);
}
.team-summary-grid article,
.detail-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.team-summary-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.team-summary-grid strong {
  display: block;
  margin-top: 18px;
  color: var(--yellow);
  font-size: 34px;
  line-height: 1;
}
.team-summary-grid .summary-word {
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  font-size: clamp(19px, 1.75vw, 28px);
  line-height: 1.08;
}
.team-summary-grid p,
.empty-state {
  color: var(--muted);
  line-height: 1.55;
}
.team-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 12px;
  margin-top: 12px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.panel-head h2 {
  margin: 0;
}
.panel-head p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.panel-head a {
  color: var(--yellow);
  font-size: 13px;
  text-decoration: none;
}
.measurement-panel {
  margin-top: 12px;
}
.repeat-measurement-form {
  display: grid;
  justify-items: end;
  gap: 10px;
}
.inline-panel-action {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(138, 232, 194, 0.32);
  border-radius: 999px;
  background: rgba(138, 232, 194, 0.08);
  color: #b8f2d8;
  font-weight: 800;
  cursor: pointer;
}
.early-repeat-dialog {
  width: min(480px, calc(100vw - 28px));
  padding: 0 !important;
  border: 1px solid rgba(138, 232, 194, 0.24);
  border-radius: 10px;
  background: #0d1114 !important;
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.56);
}
.early-repeat-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
}
.early-repeat-dialog-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}
.early-repeat-dialog-body > span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.early-repeat-dialog h3 {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.15;
}
.early-repeat-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.early-repeat-dialog label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(138, 232, 194, 0.18);
  border-radius: 8px;
  background: rgba(138, 232, 194, 0.055);
  color: #dbe7f2;
  font-size: 12px;
  line-height: 1.35;
}
.early-repeat-dialog input {
  margin-top: 2px;
  accent-color: var(--yellow);
}
.early-repeat-note {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(244, 229, 0, 0.2);
  border-radius: 8px;
  background: rgba(244, 229, 0, 0.05);
}
.early-repeat-note strong {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.repeat-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
button.repeat-choice {
  display: grid;
  gap: 7px;
  min-height: 0;
  margin: 0;
  padding: 13px;
  border: 1px solid rgba(138, 232, 194, 0.2);
  border-radius: 8px;
  background: rgba(138, 232, 194, 0.055);
  color: var(--text);
  font-family: inherit;
  text-align: left;
}
button.repeat-choice:hover {
  border-color: rgba(138, 232, 194, 0.45);
  background: rgba(138, 232, 194, 0.09);
}
button.repeat-choice strong {
  color: #b8f2d8;
  font-size: 13px;
  font-weight: 900;
}
button.repeat-choice span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.early-repeat-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.early-repeat-dialog button {
  margin-top: 0;
  font-family: inherit;
}
.early-repeat-dialog .inline-panel-action {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(138, 232, 194, 0.32);
  border-radius: 999px;
  background: rgba(138, 232, 194, 0.08);
  color: #b8f2d8;
  font-size: 12px;
}
.early-repeat-dialog .inline-panel-action:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button.ghost-action,
button.dialog-close {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
}
button.ghost-action {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
button.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 28px;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
}
@media (max-width: 560px) {
  .repeat-choice-grid {
    grid-template-columns: 1fr;
  }
}
.quota-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.measurement-caution {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 18px;
  margin-top: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(244, 229, 0, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(244, 229, 0, 0.08), rgba(13, 15, 18, 0.9) 46%),
    rgba(13, 15, 18, 0.88);
}
.measurement-caution span {
  display: block;
  color: var(--yellow);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.measurement-caution strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.2;
}
.measurement-caution p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.measurement-history-note {
  border-color: rgba(138, 232, 194, 0.24);
  background:
    linear-gradient(90deg, rgba(138, 232, 194, 0.08), rgba(13, 15, 18, 0.9) 46%),
    rgba(13, 15, 18, 0.88);
}
.member-table {
  display: grid;
  gap: 8px;
}
.member-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.member-row.is-excluded {
  border-style: dashed;
  opacity: 0.72;
}
.member-row strong,
.member-row small {
  display: block;
}
.member-row small {
  color: var(--muted);
}
.member-status-stack {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}
.member-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.member-actions form {
  display: block;
  margin: 0;
}
.member-actions a {
  color: var(--yellow);
  font-size: 12px;
  text-decoration: none;
}
.member-actions .member-link-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(138, 232, 194, 0.28);
  border-radius: 999px;
  color: #9de8c4;
  font-weight: 750;
}
.member-actions .member-link-action:hover {
  border-color: rgba(138, 232, 194, 0.55);
  background: rgba(138, 232, 194, 0.08);
}
.member-actions .member-locked-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.055);
  color: rgba(203, 213, 225, 0.62);
  font-size: 12px;
  font-weight: 750;
  cursor: default;
}
.member-actions button {
  min-height: 32px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}
.member-actions button:hover {
  border-color: rgba(244, 229, 0, 0.45);
}
.member-actions .invite-action {
  border-color: rgba(138, 232, 194, 0.34);
  color: #9de8c4;
}
.member-actions .invite-action:hover {
  border-color: rgba(138, 232, 194, 0.6);
  background: rgba(138, 232, 194, 0.08);
}
.member-actions .danger-action {
  border-color: rgba(241, 72, 35, 0.36);
  color: #ffc5b8;
}
.tooltip-wrap {
  position: relative;
  display: inline-flex;
}
.tooltip-wrap::after {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 20;
  width: min(270px, 72vw);
  padding: 10px 12px;
  border: 1px solid rgba(138, 232, 194, 0.28);
  border-radius: 8px;
  background: rgba(11, 15, 14, 0.96);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.36);
  color: var(--text);
  content: attr(data-tooltip);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.tooltip-wrap::before {
  position: absolute;
  right: 18px;
  bottom: calc(100% + 4px);
  z-index: 21;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(138, 232, 194, 0.28);
  border-bottom: 1px solid rgba(138, 232, 194, 0.28);
  background: rgba(11, 15, 14, 0.96);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: rotate(45deg) translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.tooltip-wrap:hover::after,
.tooltip-wrap:hover::before,
.tooltip-wrap:focus-within::after,
.tooltip-wrap:focus-within::before {
  opacity: 1;
  transform: translateY(0);
}
.tooltip-wrap:hover::before,
.tooltip-wrap:focus-within::before {
  transform: rotate(45deg) translateY(0);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}
.status-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  opacity: 0.72;
}
.status-completed {
  border-color: rgba(72, 187, 120, 0.5);
  background: rgba(72, 187, 120, 0.1);
  color: #8ff0b2;
  box-shadow: 0 0 0 1px rgba(72, 187, 120, 0.08), 0 0 22px rgba(72, 187, 120, 0.1);
}
.status-completed::before {
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  background: rgba(72, 187, 120, 0.2);
  color: #9df0ba;
  content: "✓";
  font-size: 10px;
  line-height: 1;
  opacity: 1;
}
.status-invited,
.status-in_progress {
  border-color: rgba(148, 163, 184, 0.28);
  background: rgba(148, 163, 184, 0.06);
}
.status-excluded {
  border-color: rgba(138, 232, 194, 0.34);
  color: #9de8c4;
}
.axis-block + .axis-block {
  margin-top: 24px;
}
.axis-block {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.axis-block-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}
.axis-block h3 {
  margin: 0;
}
.help-dot {
  width: 20px;
  height: 20px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(138, 232, 194, 0.28);
  border-radius: 999px;
  background: rgba(138, 232, 194, 0.06);
  color: #9de8c4;
  cursor: help;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.axis-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.axis-bar-row:first-of-type {
  border-top: 0;
}
.axis-bar-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  grid-column: 1 / -1;
}
.axis-bar-label span:first-child {
  margin-right: 0;
  color: var(--muted);
}
.axis-bar-label strong {
  margin-left: auto;
  color: var(--yellow);
}
.axis-bar-label .help-dot {
  width: 16px;
  height: 16px;
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.04);
  color: rgba(203, 213, 225, 0.68);
  font-size: 9px;
}
.axis-track {
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.045);
}
.axis-track i {
  background: linear-gradient(90deg, rgba(115, 132, 128, 0.46), rgba(148, 163, 184, 0.36));
}
.axis-track-quiet i {
  background: linear-gradient(90deg, #60706c, #7a838b);
  opacity: 0.52;
}
.axis-track-soft i {
  background: linear-gradient(90deg, #6fae99, #b7ba4d);
  opacity: 0.68;
}
.axis-track-medium i {
  background: linear-gradient(90deg, #78d7b4 0%, #d8d42d 68%, #f4e500 100%);
  opacity: 0.86;
  box-shadow: 0 0 12px rgba(244, 229, 0, 0.14);
}
.axis-track-strong i {
  background: linear-gradient(90deg, #8ae8c2 0%, #e6dd19 48%, #fff200 100%);
  opacity: 1;
  box-shadow: 0 0 20px rgba(244, 229, 0, 0.28), 0 0 10px rgba(138, 232, 194, 0.16);
}
.axis-percent {
  color: rgba(203, 213, 225, 0.62);
  font-size: 11px;
  font-weight: 850;
}
.axis-percent-soft {
  color: rgba(157, 232, 196, 0.72);
}
.axis-percent-medium {
  color: rgba(244, 229, 0, 0.82);
}
.axis-percent-strong {
  color: var(--yellow);
  text-shadow: 0 0 12px rgba(244, 229, 0, 0.22);
}
.report-hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.report-hero > div,
.report-panel {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.report-hero span,
.report-signal-grid span,
.axis-title span,
.bar-label span,
.scenario-row span,
.recommendation-grid span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.report-hero > div > strong {
  display: block;
  margin-top: 10px;
  color: var(--yellow);
  font-size: 44px;
  line-height: 1;
}
.efficiency-card {
  border-color: rgba(244, 229, 0, 0.38) !important;
  background:
    linear-gradient(180deg, rgba(244, 229, 0, 0.075), rgba(255, 255, 255, 0.025)),
    rgba(13, 15, 18, 0.86) !important;
}
.efficiency-card strong {
  color: var(--yellow) !important;
  font-size: 52px !important;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(244, 229, 0, 0.16);
}
.efficiency-card small {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}
.efficiency-card p {
  margin: 8px 0 6px;
  color: var(--text);
  font-weight: 850;
}
.demo-report-note {
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(138, 232, 194, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(138, 232, 194, 0.08), rgba(244, 229, 0, 0.035)),
    rgba(13, 15, 18, 0.78);
}
.demo-report-note span {
  color: #8ae8c2;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.demo-report-note p {
  max-width: 920px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.demo-reading-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.demo-reading-guide article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  align-content: start;
  min-height: 132px;
  padding: 18px 20px;
  background:
    linear-gradient(135deg, rgba(138, 232, 194, 0.035), rgba(244, 229, 0, 0.018)),
    #0d0f12;
}
.demo-reading-guide span {
  grid-row: span 2;
  color: rgba(244, 229, 0, 0.72);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 22px;
  line-height: 1;
  font-weight: 850;
}
.demo-reading-guide strong {
  color: #f4f6f7;
  font-size: 15px;
  line-height: 1.25;
}
.demo-reading-guide p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.efficiency-success {
  border-color: rgba(72, 187, 120, 0.38) !important;
}
.efficiency-good {
  border-color: rgba(244, 229, 0, 0.38) !important;
}
.efficiency-warning {
  border-color: rgba(236, 201, 75, 0.38) !important;
}
.efficiency-danger {
  border-color: rgba(241, 72, 35, 0.42) !important;
}
.efficiency-pending {
  border-color: rgba(138, 232, 194, 0.32) !important;
}
.report-hero p {
  color: var(--muted);
  line-height: 1.55;
}
.measurement-dynamics-panel {
  margin-top: 12px;
  border-color: rgba(138, 232, 194, 0.22);
  background:
    linear-gradient(135deg, rgba(138, 232, 194, 0.045), rgba(244, 229, 0, 0.018)),
    rgba(13, 15, 18, 0.86);
}
.measurement-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.measurement-timeline a {
  min-height: 78px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--text);
  text-decoration: none;
}
.measurement-timeline a.is-active {
  border-color: rgba(244, 229, 0, 0.48);
  background: rgba(244, 229, 0, 0.075);
}
.measurement-timeline a.is-pending {
  opacity: 0.62;
}
.measurement-timeline span,
.measurement-dynamics-grid span,
.measurement-change-list > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.measurement-timeline strong {
  display: block;
  margin-top: 8px;
  color: var(--yellow);
  font-size: 28px;
  line-height: 1;
}
.measurement-timeline small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
.measurement-dynamics-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.measurement-dynamics-grid article {
  min-height: 128px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.measurement-dynamics-grid strong {
  display: block;
  margin-top: 10px;
  color: #8ae8c2;
  font-size: 25px;
  line-height: 1.1;
}
.measurement-dynamics-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.measurement-dynamics-grid small {
  display: block;
  margin-top: 8px;
  color: rgba(244, 229, 0, 0.78);
  font-weight: 750;
}
.dynamics-score {
  grid-row: span 2;
}
.dynamics-score strong {
  font-size: 40px;
}
.dynamics-up {
  border-color: rgba(138, 232, 194, 0.36) !important;
  background: rgba(138, 232, 194, 0.055) !important;
}
.dynamics-down {
  border-color: rgba(241, 72, 35, 0.3) !important;
  background: rgba(241, 72, 35, 0.045) !important;
}
.dynamics-down strong,
.change-down b {
  color: #ff967d;
}
.dynamics-stable {
  border-color: rgba(244, 229, 0, 0.28) !important;
}
.measurement-change-list {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.measurement-change-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.measurement-change-list p {
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}
.measurement-change-list b {
  color: #8ae8c2;
  margin-right: 6px;
}
.measurement-dynamics-empty {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}
.report-signal-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.report-signal-grid article {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px 16px;
  min-height: 112px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.signal-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.signal-title .help-dot {
  width: 18px;
  height: 18px;
  border-color: rgba(138, 232, 194, 0.28);
  background: rgba(138, 232, 194, 0.055);
  color: rgba(157, 232, 196, 0.82);
  font-size: 10px;
}
.report-signal-grid strong {
  color: var(--yellow);
  font-size: 26px;
  line-height: 1.1;
}
.report-signal-grid p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.report-grid {
  display: grid;
  grid-template-columns: 1fr 0.45fr;
  gap: 12px;
  margin-top: 12px;
}
.report-scenario-grid {
  grid-template-columns: 1fr;
}
.report-chapter {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.012);
}
.report-chapter-current {
  border-color: rgba(138, 232, 194, 0.2);
  background:
    linear-gradient(180deg, rgba(138, 232, 194, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(13, 15, 18, 0.58);
}
.report-chapter-actions {
  border-color: rgba(244, 229, 0, 0.18);
  background:
    linear-gradient(180deg, rgba(244, 229, 0, 0.028), rgba(255, 255, 255, 0.01)),
    rgba(13, 15, 18, 0.58);
}
.report-chapter-scenario {
  border-color: rgba(151, 164, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(151, 164, 255, 0.03), rgba(255, 255, 255, 0.01)),
    rgba(13, 15, 18, 0.58);
}
.report-chapter-head {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 14px;
  padding: 8px 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.report-chapter-head > span {
  color: var(--yellow);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 42px;
  font-weight: 850;
  line-height: 1;
  opacity: 0.72;
}
.report-chapter-head h2 {
  margin: 0;
  color: #8ae8c2;
  font-size: 28px;
  line-height: 1.08;
}
.report-chapter-head p {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.report-chapter > .report-panel:first-of-type {
  margin-top: 0;
}
.report-section-guide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 12px;
}
.report-section-guide article {
  min-height: 94px;
  padding: 14px 16px;
  border: 1px solid rgba(138, 232, 194, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(138, 232, 194, 0.035), rgba(255, 255, 255, 0.014)),
    rgba(255, 255, 255, 0.018);
}
.report-section-guide span {
  display: block;
  color: #8ae8c2;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}
.report-section-guide p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.management-summary-panel {
  margin-top: 18px;
  padding: 22px;
  border-color: rgba(244, 229, 0, 0.26);
  background:
    linear-gradient(180deg, rgba(244, 229, 0, 0.045), rgba(138, 232, 194, 0.025) 62%, rgba(255, 255, 255, 0.014)),
    rgba(13, 15, 18, 0.86);
}
.management-summary-panel .panel-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.management-summary-panel .panel-head h2 {
  color: #8ae8c2;
  font-size: 28px;
}
.management-summary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.85fr);
  gap: 10px;
}
.management-summary-grid article {
  min-height: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}
.management-summary-grid .summary-main {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-color: rgba(244, 229, 0, 0.28);
  background: rgba(244, 229, 0, 0.045);
}
.management-summary-grid span {
  color: #9de8c4;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.management-summary-grid p {
  margin: 12px 0 0;
  color: #eef2ee;
  font-size: 14px;
  line-height: 1.55;
}
.management-summary-grid .summary-main p {
  font-size: 18px;
  line-height: 1.55;
}
.management-summary-grid small {
  display: block;
  margin-top: 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}
.actual-profile-panel {
  margin-top: 12px;
}
.report-axis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.axis-title {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.axis-title strong {
  color: var(--yellow);
  font-size: 22px;
}
.report-bar-row + .report-bar-row {
  margin-top: 15px;
}
.bar-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.bar-label strong {
  color: var(--text);
  font-size: 12px;
}
.bar-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}
.bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
}
.scenario-list {
  display: grid;
  gap: 10px;
}
.scenario-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.scenario-row strong,
.scenario-row span {
  display: block;
}
.scenario-row strong {
  margin-bottom: 6px;
}
.scenario-row b {
  color: var(--yellow);
  font-size: 22px;
}
.report-recommendations {
  margin-top: 12px;
  border-color: rgba(244, 229, 0, 0.22);
  background:
    linear-gradient(180deg, rgba(244, 229, 0, 0.038), rgba(255, 255, 255, 0.016)),
    rgba(13, 15, 18, 0.86);
}
.debrief-panel {
  margin-top: 12px;
  border-color: rgba(138, 232, 194, 0.28);
  background:
    linear-gradient(135deg, rgba(138, 232, 194, 0.06), rgba(244, 229, 0, 0.026)),
    rgba(13, 15, 18, 0.88);
}
.debrief-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.debrief-flow article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  min-height: 150px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.024);
}
.debrief-flow article span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(138, 232, 194, 0.1);
  color: #8af0c3;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 800;
}
.debrief-flow article strong {
  display: block;
  color: #8af0c3;
  font-size: 15px;
  line-height: 1.25;
}
.debrief-flow article p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.next-steps-panel {
  margin-top: 12px;
  border-color: rgba(138, 232, 194, 0.24);
  background:
    linear-gradient(180deg, rgba(138, 232, 194, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(13, 15, 18, 0.86);
}
.next-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.next-steps-grid article {
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.next-steps-grid article span {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(244, 229, 0, 0.34);
  border-radius: 999px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 900;
}
.next-steps-grid article small {
  color: #9de8c4;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.next-steps-grid article strong {
  color: var(--text);
  font-size: 16px;
  line-height: 1.25;
}
.next-steps-grid article p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.next-steps-grid article b {
  display: block;
  align-self: end;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid rgba(138, 232, 194, 0.16);
  border-radius: 6px;
  background: rgba(138, 232, 194, 0.045);
  color: #d7d8dc;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}
.seven-day-panel {
  margin-top: 12px;
}
.seven-day-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.seven-day-list::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 63px;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(244, 229, 0, 0.08),
    rgba(138, 232, 194, 0.42),
    rgba(244, 229, 0, 0.08)
  );
}
.seven-day-list article {
  position: relative;
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  align-items: stretch;
  min-height: 118px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(138, 232, 194, 0.055), transparent 34%),
    rgba(255, 255, 255, 0.024);
}
.seven-day-list article span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 42px;
  width: 96px;
  align-items: center;
  justify-content: center;
  align-self: start;
  border: 1px solid rgba(138, 232, 194, 0.34);
  border-radius: 6px;
  background: #0d1312;
  color: #9de8c4;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.seven-day-list article div {
  display: grid;
  align-content: center;
  min-width: 0;
}
.seven-day-list article strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
}
.seven-day-list article p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.forecast-panel {
  margin-top: 12px;
}
.scenario-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: min(420px, 100%);
}
.scenario-form select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #07090b;
  color: var(--text);
  font: inherit;
}
.scenario-form button {
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
}
.forecast-grid {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.forecast-score,
.forecast-axis-list {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.forecast-score span,
.forecast-axis-row span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.forecast-score strong {
  display: block;
  margin-top: 16px;
  color: var(--yellow);
  font-size: 52px;
  line-height: 1;
}
.forecast-score p {
  margin: 12px 0 0;
  color: var(--text);
  font-weight: 800;
}
.forecast-score small {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.forecast-success {
  border-color: rgba(72, 187, 120, 0.38);
}
.forecast-warning {
  border-color: rgba(244, 229, 0, 0.42);
}
.forecast-danger {
  border-color: rgba(241, 72, 35, 0.38);
}
.forecast-axis-list {
  display: grid;
  gap: 16px;
}
.forecast-axis-row > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.forecast-axis-row strong {
  color: var(--yellow);
}
.forecast-recommendation-grid {
  margin-top: 12px;
}
.scenario-reading-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.scenario-reading-grid article {
  padding: 14px 16px;
  border: 1px solid rgba(138, 232, 194, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(138, 232, 194, 0.04), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.02);
}
.scenario-reading-grid span {
  color: #8af0c3;
  font-size: 12px;
  font-weight: 850;
}
.scenario-reading-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.constructor-panel {
  margin-top: 12px;
  border-color: rgba(138, 232, 194, 0.22);
}
.constructor-legend {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(138, 232, 194, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(138, 232, 194, 0.05), rgba(244, 229, 0, 0.025)),
    rgba(255, 255, 255, 0.018);
}
.constructor-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}
.constructor-legend i {
  display: block;
  width: 28px;
  height: 7px;
  border-radius: 999px;
}
.legend-current {
  background: rgba(138, 232, 194, 0.7);
}
.legend-target {
  background: rgba(244, 229, 0, 0.88);
}
.constructor-legend p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.constructor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.constructor-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}
.constructor-section-head {
  margin-bottom: 16px;
}
.constructor-section-head span {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 850;
}
.constructor-section-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.constructor-list {
  display: grid;
  gap: 14px;
}
.constructor-row {
  display: grid;
  gap: 7px;
}
.constructor-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.constructor-label strong {
  color: var(--text);
  font-size: 13px;
}
.constructor-label small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}
.constructor-status {
  justify-self: start;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}
.constructor-bars {
  display: grid;
  gap: 4px;
}
.constructor-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}
.constructor-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
}
.constructor-current i {
  background: rgba(138, 232, 194, 0.58);
}
.constructor-target i {
  background: rgba(244, 229, 0, 0.84);
}
.constructor-ok .constructor-label small {
  color: #9de8c4;
}
.constructor-ok .constructor-status {
  border-color: rgba(138, 232, 194, 0.2);
  color: #9de8c4;
}
.constructor-raise .constructor-label small,
.constructor-nudge .constructor-label small {
  color: rgba(244, 229, 0, 0.86);
}
.constructor-raise .constructor-status,
.constructor-nudge .constructor-status {
  border-color: rgba(244, 229, 0, 0.24);
  color: rgba(244, 229, 0, 0.86);
}
.constructor-excess .constructor-label small {
  color: #9de8c4;
}
.constructor-excess .constructor-status {
  border-color: rgba(138, 232, 194, 0.2);
  color: #9de8c4;
}
.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.interpretation-grid {
  grid-template-columns: repeat(2, 1fr);
}
.recommendation-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
}
.recommendation-grid p {
  margin: 12px 0 0;
  color: #d7d8dc;
  line-height: 1.55;
}
.dashboard-grid button,
.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  border: 0;
  border-radius: 6px;
  background: var(--yellow);
  color: #08090b;
  text-decoration: none;
  font-weight: 800;
}
.billing-status {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 14px;
  margin-top: 32px;
  padding: 22px;
  border: 1px solid rgba(72, 187, 120, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(72, 187, 120, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(13, 15, 18, 0.86);
}
.billing-status > div:first-child span,
.billing-plan-head span {
  color: #9bdab4;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.billing-status > div:first-child strong {
  display: block;
  margin-top: 8px;
  color: var(--yellow);
  font-size: 28px;
  line-height: 1;
}
.billing-status p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}
.billing-status-compact {
  display: inline-flex;
  grid-template-columns: none;
  align-items: baseline;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 14px;
  border-color: rgba(72, 187, 120, 0.18);
  background: rgba(72, 187, 120, 0.045);
}
.billing-status-compact span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}
.billing-status-compact strong {
  margin: 0;
  color: #8ae8c2;
  font-size: 14px;
  line-height: 1;
}
.billing-plans-head {
  display: block;
}
.billing-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}
.billing-title {
  min-width: 0;
}
.billing-lead {
  max-width: none;
  margin-top: 18px;
  margin-bottom: 0;
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.45;
}
.billing-lead span {
  display: block;
}
.billing-lead span:last-child {
  white-space: nowrap;
}
.billing-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.billing-plan-card {
  position: relative;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.billing-page .billing-plan-card:nth-child(2),
.billing-page .billing-plan-card:nth-child(3) {
  z-index: 1;
  transform: translateY(-8px);
  min-height: 446px;
  margin-bottom: -8px;
  border-color: rgba(138, 232, 194, 0.28);
  background:
    linear-gradient(180deg, rgba(138, 232, 194, 0.055), rgba(244, 229, 0, 0.024) 48%, rgba(255, 255, 255, 0.014)),
    rgba(13, 15, 18, 0.91);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(244, 229, 0, 0.08) inset;
}
.billing-page .billing-plan-card:nth-child(2)::before,
.billing-page .billing-plan-card:nth-child(3)::before {
  position: absolute;
  inset: 0 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(138, 232, 194, 0.62), transparent);
  content: "";
}
.billing-plan-card.is-current {
  border-color: rgba(244, 229, 0, 0.42);
  background:
    linear-gradient(180deg, rgba(244, 229, 0, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(13, 15, 18, 0.86);
}
.billing-plan-head {
  display: grid;
  gap: 8px;
}
.billing-plan-head strong {
  color: var(--yellow);
  font-size: 18px;
}
.billing-page .billing-plan-card h2 {
  margin: 0 0 10px;
  color: #8ae8c2;
  font-size: 25px;
}
.billing-plan-card p {
  color: var(--muted);
  line-height: 1.5;
}
.billing-plan-card ul {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  color: #d7d8dc;
  list-style: none;
}
.billing-plan-card li::before {
  color: var(--yellow);
  content: "✓";
  margin-right: 8px;
}
.billing-plan-footer {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.plan-state {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 12px;
  border: 1px solid rgba(72, 187, 120, 0.32);
  border-radius: 6px;
  background: rgba(72, 187, 120, 0.07);
  color: #9de8c4;
  font-size: 15px;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}
.plan-state-pending {
  border-color: rgba(244, 229, 0, 0.28);
  background: rgba(244, 229, 0, 0.055);
  color: #f5f1d6;
}
.plan-state-pending:not([href]) {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #d7d8dc;
}
.plan-state[href]:hover {
  border-color: rgba(244, 229, 0, 0.55);
  background: rgba(244, 229, 0, 0.11);
}
.checkout-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  margin-top: 32px;
}
.checkout-summary,
.checkout-form-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.86);
}
.checkout-summary {
  border-color: rgba(244, 229, 0, 0.28);
  background:
    linear-gradient(180deg, rgba(244, 229, 0, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(13, 15, 18, 0.86);
}
.checkout-kicker {
  color: #9bdab4;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}
.checkout-summary h2,
.checkout-form-panel h2 {
  margin: 18px 0 12px;
  font-size: 28px;
}
.checkout-summary p,
.checkout-form-panel p {
  color: var(--muted);
  line-height: 1.55;
}
.checkout-summary ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  color: #d7d8dc;
  list-style: none;
}
.checkout-summary li::before {
  color: var(--yellow);
  content: "✓";
  margin-right: 8px;
}
.checkout-form-panel button {
  width: 100%;
  margin-top: 28px;
}
.checkout-form-panel small {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}
.checkout-guidance {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 28px;
  margin-top: 14px;
  padding: 26px;
  border: 1px solid rgba(138, 232, 194, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(138, 232, 194, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(13, 15, 18, 0.86);
}
.checkout-guidance h2 {
  margin: 16px 0 12px;
  color: #8ae8c2;
  font-size: 24px;
  line-height: 1.15;
}
.checkout-guidance p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.checkout-guidance-points {
  display: grid;
  gap: 10px;
}
.checkout-guidance-points article {
  position: relative;
  overflow: hidden;
  min-height: 112px;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}
.checkout-guidance-points span {
  position: static;
  color: var(--yellow);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  opacity: 0.55;
  text-align: center;
}
.checkout-guidance-points article > div {
  min-width: 0;
}
.checkout-guidance-points strong {
  display: block;
  margin-bottom: 8px;
  color: #8ae8c2;
  font-size: 16px;
  line-height: 1.2;
}
.checkout-guidance-points p {
  max-width: 620px;
  color: #d7d8dc;
  font-size: 14px;
}
.billing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.billing-footer span {
  color: #d7d8dc;
  font-weight: 650;
}
.billing-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.billing-footer a {
  color: var(--muted);
  text-decoration: none;
}
.billing-footer a:hover {
  color: #8ae8c2;
}
.card-action.muted {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}
.empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.empty-actions .card-action {
  width: auto;
  min-width: 180px;
  margin-top: 0;
  padding: 0 18px;
}
.legal-page {
  width: min(820px, 100%);
  margin: 72px auto;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.9);
}
.diagnostics-page {
  width: min(900px, 100%);
  margin: 72px auto;
}
.questionnaire-form {
  margin-top: 30px;
}
.question-card {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 15, 18, 0.88);
}
.question-card legend {
  padding-right: 14px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}
.answer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.answer-grid label {
  position: relative;
  display: block;
  min-height: 58px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}
.answer-grid label:hover {
  border-color: rgba(244, 229, 0, 0.38);
  background: rgba(244, 229, 0, 0.045);
}
.answer-grid input[type="radio"] {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}
.answer-grid label:has(input[type="radio"]:checked) {
  border-color: rgba(244, 229, 0, 0.68);
  background: rgba(244, 229, 0, 0.08);
  box-shadow: inset 3px 0 0 var(--yellow);
}
.answer-grid label span {
  display: block;
  color: #d7d8dc;
  line-height: 1.35;
}
.answer-grid label:has(input[type="radio"]:checked) span {
  color: var(--text);
  font-weight: 700;
}
.answer-grid .answer-input {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  appearance: none !important;
  pointer-events: none !important;
}
.legal-page article {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.legal-page h2 { margin: 0 0 10px; font-size: 20px; }
.legal-page p { color: var(--muted); line-height: 1.65; }
.legal-operator {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(138, 232, 194, 0.18);
  border-radius: 8px;
  background: rgba(138, 232, 194, 0.06);
}
.legal-operator span {
  display: block;
  margin-bottom: 12px;
  color: #8af0c3;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.legal-operator dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.legal-operator div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
}
.legal-operator dt {
  color: var(--muted);
  font-size: 13px;
}
.legal-operator dd {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
}
.legal-operator a { color: var(--yellow); text-decoration: none; }

@media (max-width: 820px) {
  .auth-card { margin-top: 48px; padding: 26px; }
  .content-page { margin-top: 48px; }
  .dashboard-head { display: grid; }
  .author-hero,
  .author-layout,
  .author-proof-grid,
  .author-steps,
  .methodology-formula,
  .methodology-axis-grid,
  .methodology-flow .methodology-steps,
  .demo-reading-guide,
  .principle-grid,
  .faq-category-grid,
  .faq-story-section,
  .request-layout {
    grid-template-columns: 1fr;
  }
  .content-cta {
    display: grid;
  }
  .author-hero {
    min-height: 560px;
    padding: 28px;
    align-items: end;
  }
  .author-photo {
    inset: 0;
    height: auto;
    margin: 0;
    opacity: 0.42;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 54%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 54%, transparent 100%);
  }
  .author-photo::before {
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.08), rgba(5, 6, 7, 0.74)),
      linear-gradient(90deg, rgba(5, 6, 7, 0.2), rgba(5, 6, 7, 0.04) 50%, rgba(5, 6, 7, 0.2));
  }
  .author-photo-strip {
    min-width: 33.333%;
  }
  .content-cta-actions {
    justify-content: flex-start;
  }
  .billing-head-row { display: grid; gap: 18px; }
  .panel-head {
    display: grid;
    align-items: start;
  }
  .billing-lead span:last-child { white-space: normal; }
  .billing-footer { display: grid; }
  .billing-footer nav { justify-content: flex-start; }
  .checkout-guidance-points article {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .checkout-guidance-points span {
    text-align: left;
  }
  .header-actions { justify-content: flex-start; }
  .demo-reading-guide article { min-height: auto; }
  .current-metrics,
  .workspace-helper,
  .account-overview { grid-template-columns: repeat(2, 1fr); }
  .measurement-switcher {
    align-items: flex-start;
    flex-direction: column;
  }
  .measurement-switcher div {
    justify-content: flex-start;
  }
  .workspace-layout,
  .workspace-current,
  .workspace-plan,
  .account-layout { grid-template-columns: 1fr; }
  .workspace-sidebar { position: static; }
  .workspace-toolbar { display: grid; }
  .workspace-plan-limits { grid-template-columns: 1fr; }
  .account-menu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .account-content .account-panel {
    min-height: auto;
  }
  .workspace-helper i {
    top: calc(100% + 8px);
    right: 8px;
    left: 8px;
    width: auto;
  }
  .workspace-help-step:nth-child(3) i,
  .workspace-help-step:nth-child(4) i {
    right: 8px;
    left: 8px;
  }
  .quick-guide { grid-template-columns: repeat(2, 1fr); }
  .quota-strip { grid-template-columns: 1fr; }
  .quota-items { grid-template-columns: 1fr; }
  .company-strip { grid-template-columns: 1fr; }
  .company-strip nav { justify-content: flex-start; }
  .cockpit-summary { grid-template-columns: repeat(2, 1fr); }
  .team-table-head { display: none; }
  .team-table-row { grid-template-columns: 1fr; }
  .workspace-team-table .team-table-row { grid-template-columns: 1fr; }
  .actions-cell { grid-template-columns: 1fr; }
  .report-signal-grid article { grid-template-columns: 1fr; }
  .report-chapter { padding: 12px; }
  .report-chapter-head { grid-template-columns: 1fr; gap: 10px; }
  .dashboard-grid,
  .account-grid,
  .team-summary-grid,
  .team-detail-grid,
  .report-hero,
  .report-signal-grid,
  .report-grid,
  .forecast-grid,
  .report-axis-grid,
  .management-summary-grid,
  .measurement-caution,
  .billing-status,
  .billing-plan-grid,
  .checkout-layout,
  .checkout-guidance,
  .checkout-guidance-points,
  .debrief-flow,
  .next-steps-grid,
  .scenario-reading-grid,
  .report-section-guide,
  .measurement-dynamics-grid,
  .measurement-change-list,
  .seven-day-list,
  .constructor-grid,
  .recommendation-grid { grid-template-columns: 1fr; }
  .scenario-form {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }
  .constructor-legend { grid-template-columns: 1fr; }
  .team-row-actions { justify-items: start; }
  .diagnostic-actions { grid-template-columns: 1fr; }
  .member-row { grid-template-columns: 1fr; }
  .answer-grid { grid-template-columns: 1fr; }
  .legal-operator div { grid-template-columns: 1fr; gap: 4px; }
}
