*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  min-height: 100vh;
}

/* Layout */
.page-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.app {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

.app-wide {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px;
}

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-p {
  padding: 24px;
}

.card-centered {
  width: 100%;
  text-align: center;
}

.card-compact {
  max-width: 360px;
}

.card-auth-wide {
  max-width: 560px;
}

.app-top,
.app-offset {
  margin-top: 20px;
}

/* Auth card */
.auth-card {
  width: 100%;
  max-width: 380px;
}

.auth-logo {
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.4px;
  margin-bottom: 24px;
  color: #283080;
}

.auth-logo span { color: #e03530; }

.copy-help-tight {
  margin-top: -8px;
  margin-bottom: 12px;
}

.copy-help-reset {
  margin-top: -2px;
}

.copy-help-password {
  margin-top: -4px;
}

.guide-card-narrow {
  max-width: 600px;
}

.guide-tip-top {
  margin-top: 8px;
}

.guide-section-divider {
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.guide-section-divider-tight {
  margin-top: 4px;
}

.guide-section-divider-spaced {
  margin-top: 18px;
}

.guide-grid-stack {
  display: grid;
  gap: 10px;
}

.guide-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.report-insight {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}

.report-insight-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.report-insight-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.report-insight-toggle {
  margin-top: 4px;
  border: none;
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.report-insight-toggle:hover { text-decoration: underline; }


.alert-open-flat {
  display: block;
  margin-bottom: 0;
}

.alert-runtime-content {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.alert-runtime-main {
  display: grid;
  gap: 6px;
}

.attempts-stack {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(148,163,184,.2);
  display: grid;
  gap: 8px;
}

.operation-intent-focus {
  border-color: rgba(99,102,241,.4) !important;
  box-shadow: 0 0 0 2px rgba(99,102,241,.12);
  animation: operationIntentPulse 1.2s ease;
}

#subscription-payment-source-setup.operation-intent-focus {
  border-color: rgba(99,102,241,.55) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.16), 0 18px 40px rgba(15,23,42,.12);
}

@keyframes operationIntentPulse {
  0% { box-shadow: 0 0 0 0 rgba(99,102,241,.24); }
  100% { box-shadow: 0 0 0 2px rgba(99,102,241,.12); }
}

.commercial-shadow-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
}

.commercial-shadow-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.commercial-shadow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.commercial-shadow-item { min-width: 0; }

.commercial-shadow-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.commercial-shadow-value {
  font-size: 13px;
  color: var(--text);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.account-subscription-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.account-subscription-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
  min-width: 0;
}

.account-subscription-card.highlight {
  background: #f8faff;
  border-color: rgba(99, 102, 241, .22);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .12);
}

.account-subscription-heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.account-subscription-meta {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.account-subscription-points {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin-top: 10px;
  overflow-wrap: anywhere;
}

.subscription-wall {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.subscription-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.subscription-wall-open {
  display: block;
  margin-bottom: 0;
}

.subscription-wall-grid-flat {
  margin-top: 0;
}

.subscription-plan-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #fff;
  min-width: 0;
}

.subscription-plan-card.current {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(99, 102, 241, .15);
  background: #f8faff;
}

.subscription-plan-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.subscription-plan-meta {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.subscription-plan-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  margin: 10px 0 6px;
}

.subscription-plan-price-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-top: -2px;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.subscription-plan-price-note {
  grid-column: 1 / -1;
  margin-top: 2px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #f8fafc;
}

.subscription-plan-points {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.subscription-plan-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.subscription-plan-cta {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8fafc;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  max-width: 100%;
  overflow-wrap: anywhere;
  cursor: default;
}

.subscription-plan-cta.primary {
  background: rgba(99, 102, 241, .08);
  border-color: rgba(99, 102, 241, .22);
  color: var(--accent);
}

.subscription-plan-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.quick-tag {
  display: inline-block;
  color: var(--accent);
  cursor: pointer;
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 4px;
  margin-right: 3px;
}

.quick-tag:hover { background: #ede9fe; }

.btn-suggest-outlets {
  background: var(--blue);
  border: none;
  color: #fff;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}

.btn-suggest-outlets:hover { opacity: .82; }


/* Form */
.field {
  margin-bottom: 14px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

input[type=text],
input[type=email],
input[type=password],
input[type=date],
input[type=number],
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}

input:focus, select:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(238, 79, 93, .12);
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, opacity .15s, border-color .15s, color .15s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.btn:disabled { opacity: .55; cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(238, 79, 93, .18);
}

.btn-primary:hover:not(:disabled) { background: var(--accent-h); }

.btn-outline {
  background: rgba(255, 253, 249, .9);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover:not(:disabled) { background: var(--hover); border-color: var(--border-strong); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  padding: 6px 10px;
}

.btn-ghost:hover { color: var(--text); }

.btn-sm { padding: 5px 11px; font-size: 13px; }
.btn-full { width: 100%; }

/* Status badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.badge-queued { background: #f3f4f6; color: #6b7280; }
.badge-running { background: #e6f7f7; color: var(--teal); }
.badge-completed { background: #f0fdf4; color: var(--green); }
.badge-failed { background: #fef2f2; color: var(--red); }
.badge-muted { background: #f3f4f6; color: #6b7280; }
.badge-ok { background: #f0fdf4; color: var(--green); }

/* Reports list */
.report-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background .1s;
}

.report-row:last-child { border-bottom: none; }
.report-row:hover { background: rgba(242, 236, 229, .7); }

.report-info { flex: 1; min-width: 0; }
.report-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.report-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }

.report-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.report-actions { display: flex; gap: 6px; flex-shrink: 0; }
.report-row-chips { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 2px; }

.outlet-chip {
  font-size: 11px;
  font-weight: 700;
  background: var(--surface-accent);
  color: var(--accent);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(238, 79, 93, .16);
}

/* Tag input */
.tag-input-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.tag-input-row .tag-input-wrap {
  flex: 1;
  min-width: 0;
}

.tag-add-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  color: var(--accent);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}

.tag-add-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tag-hint {
  font-size: 12px;
  color: var(--amber);
  margin-top: 5px;
  padding: 4px 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.tag-hint::before { content: '!'; font-size: 11px; }

.tag-input-wrap {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 6px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 40px;
  cursor: text;
  background: var(--surface);
  transition: border-color .15s, box-shadow .15s;
}

.tag-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 53, 48, .14);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(240, 96, 122, .13);
  color: #c42020;
  font-size: 12px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 5px;
}

.tag button {
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  opacity: .6;
  padding: 0;
  font-size: 14px;
  line-height: 1;
}

.tag button:hover { opacity: 1; }

.tag-input {
  border: none !important;
  box-shadow: none !important;
  padding: 2px 4px !important;
  width: auto;
  min-width: 120px;
  flex: 1;
}

/* Theme accordion */
.theme-item {
  border-bottom: 1px solid var(--border);
}

.theme-item:last-child { border-bottom: none; }

.theme-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: pointer;
  user-select: none;
  transition: background .1s;
}

.theme-header:hover { background: var(--bg); }

.theme-num {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.theme-title { font-weight: 500; flex: 1; }
.theme-freq { font-size: 12px; color: var(--muted); flex-shrink: 0; }
.theme-chevron { color: var(--muted); font-size: 12px; transition: transform .2s; }
.theme-item.open .theme-chevron { transform: rotate(90deg); }

.theme-body {
  display: none;
  padding: 0 16px 16px 48px;
}

.theme-item.open .theme-body { display: block; }
.theme-desc { color: var(--muted); margin-bottom: 12px; line-height: 1.6; }
.quotes { display: flex; flex-direction: column; gap: 8px; }

.quote {
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  border-left: 3px solid var(--teal);
  padding-left: 10px;
  opacity: .8;
}

/* Pack cards */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.pack-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .15s;
  cursor: default;
}

.pack-card.featured {
  border-color: var(--accent);
}

.pack-card.featured .pack-name::after {
  content: 'Popular';
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

.pack-name { font-weight: 700; font-size: 15px; }
.pack-desc { color: var(--muted); font-size: 13px; }
.pack-price { font-size: 22px; font-weight: 700; margin-top: 8px; }
.pack-price span { font-size: 13px; font-weight: 400; color: var(--muted); }
.pack-price-sub { font-size: 12px; color: var(--muted); margin-top: 2px; margin-bottom: 4px; }
.pack-trm-note { font-size: 11px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.pack-btn { margin-top: 12px; }

/* Progress steps */
.steps { display: flex; flex-direction: column; gap: 8px; }

.step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-done .step-icon { background: #f0fdf4; color: var(--green); }
.step-active .step-icon { background: #e6f7f7; color: var(--teal); }
.step-wait .step-icon { background: #f3f4f6; color: #9ca3af; }

/* Extraction progress bar */
.extraction-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.ep-bar {
  flex: 1;
  height: 4px;
  background: #f0d0d5;
  border-radius: 2px;
  overflow: hidden;
  max-width: 120px;
}

.ep-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  transition: width .4s ease;
}

.ep-label {
  font-size: 12px;
  color: var(--teal);
  font-weight: 500;
  white-space: nowrap;
}

/* Analysis pulse */
.analysis-pulse {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.analysis-pulse::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.7); }
}

/* Misc */
.section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--muted);
  margin-bottom: 10px;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--muted);
}

.empty-state p { margin-top: 6px; font-size: 13px; }

.empty-state-helper { margin-top: 6px; }
.empty-state-cta { margin-top: 12px; }
.report-meta-expanded { white-space: normal; line-height: 1.5; }
.report-right-tight { gap: 4px; }

.alert {
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13px;
  margin-bottom: 14px;
}

.alert-error { background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }
.alert-ok { background: #f0fdf4; color: var(--green); border: 1px solid #bbf7d0; }
.alert-success { background: #f0fdf4; color: var(--green); border: 1px solid #bbf7d0; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #93c5fd; }

.divider { height: 1px; background: var(--border); margin: 20px 0; }
.heading-md,
.panel-heading { font-size: 18px; font-weight: 700; }
.panel-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.icon-xl { font-size: 40px; line-height: 1; }
.copy-base { font-size: 14px; color: var(--text-muted); }
.copy-help { font-size: 12px; color: var(--text-muted); }
.heading-md-tight {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.heading-sm {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}
.heading-sm-medium {
  font-size: 15px;
  font-weight: 600;
}
.status-title-sm {
  font-size: 16px;
  font-weight: 600;
}
.heading-xs-strong {
  font-size: 12px;
  font-weight: 700;
}
.section-title-sm {
  font-size: 15px;
  font-weight: 600;
}
.eyebrow-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.eyebrow-label-soft {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.label-sm {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}
.section-subtitle {
  font-size: 13px;
  color: var(--muted);
}
.copy-body-sm {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
}
.copy-body-xs {
  font-size: 12px;
  line-height: 1.45;
}
.status-copy-sm {
  font-size: 13px;
}
.text-strong { font-weight: 700; color: var(--text); }
.report-title-sm { font-size: 13px; }
.retry-summary {
  margin-top: 8px;
  padding: 8px 10px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 8px;
  font-size: 12px;
  color: #9a3412;
  line-height: 1.45;
}
.coverage-summary {
  margin-top: 8px;
  padding: 8px 10px;
  background: #eff6ff;
  border: 1px solid #93c5fd;
  border-radius: 8px;
  font-size: 12px;
  color: #1d4ed8;
  line-height: 1.45;
}
.link-meta {
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}
.link-meta-strong {
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.metric-value-xl {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
.label-optional { font-weight: 400; }
.link-accent {
  color: var(--primary);
  text-decoration: none;
}
.link-accent-strong {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}
.text-blue { color: var(--blue); }
.text-center { text-align: center; }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.heading-accent-sm {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent);
}
.py-5 { padding-top: 20px; padding-bottom: 20px; }
.helper-top { margin-top: 6px; }
.mb-5 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 16px; }
.mb-3p5-shell { margin-bottom: 14px; }
.mb-3p5 { margin-bottom: 14px; }
.mb-2 { margin-bottom: 8px; }
.mb-2p5 { margin-bottom: 10px; }
.mb-1 { margin-bottom: 4px; }
.mb-3 { margin-bottom: 12px; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 4px; }
.mt-0p5 { margin-top: 2px; }
.mt-1p5 { margin-top: 6px; }
.mt-1p5-shell { margin-top: 6px; }
.mt-2p5 { margin-top: 10px; }
.mt-2p5-shell { margin-top: 10px; }
.mt-2p5-alert { margin-top: 10px; }
.mt-3p5 { margin-top: 14px; }
.mt-3p5-shell { margin-top: 14px; }
.mt-3 { margin-top: 12px; }
.mt-3-alert { margin-top: 12px; }
.mt-4p5 { margin-top: 18px; }
.mt-6 { margin-top: 24px; }
.mt-4 { margin-top: 16px; }
.mt-2 { margin-top: 8px; }
.m-0 { margin: 0; }
.text-muted { color: var(--muted); }
.text-sm { font-size: 13px; }
.text-left { text-align: left; }
.text-warning-runtime { color: #9a3412; }
.font-700 { font-weight: 700; }
.link-inline {
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}
.link-success-strong {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}
.actions-center {
  text-align: center;
  margin-top: 12px;
}
.actions-row-end {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: flex-end;
}
.back-link {
  padding-left: 0;
  color: var(--muted);
}
.py-3 {
  padding-top: 12px;
  padding-bottom: 12px;
}
.is-hidden { display: none; }
.flex { display: flex; align-items: center; }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.items-baseline { align-items: baseline; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 4px; }
.gap-1p5 { gap: 6px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 10px; }
.gap-4 { gap: 12px; }
.justify-start { justify-content: flex-start; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.grow { flex: 1; }
.self-center { align-self: center; }
.w-full { width: 100%; }
.max-w-48 { max-width: 48%; }
.max-w-full { max-width: 100%; }
.cursor-pointer { cursor: pointer; }
.grid-stack-1 { display: grid; gap: 4px; }
.grid-stack-1p5 { display: grid; gap: 6px; }
.grid-stack-2 { display: grid; gap: 8px; }
.grid-stack-3 { display: grid; gap: 10px; }
.grid-cols-3-equal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.runtime-dashed-panel {
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.runtime-card-panel {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.checkbox-row {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.checkbox-row input { margin-top: 2px; }
.field-static-value {
  font-size: 14px;
  padding: 6px 0;
  color: var(--text);
}
.field-grid-id {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
}
.field-grid-id > * { min-width: 0; }
.field-select-control {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  background: var(--surface);
  color: var(--text);
}
.field-textarea-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  resize: vertical;
  box-sizing: border-box;
}
.field-help-inline {
  margin-top: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.field-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.field-action-row-sm {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.account-card-compact {
  padding: 12px;
}
.account-card-span-2 {
  grid-column: span 2;
}
.account-points-grid-sm {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}
.account-points-grid {
  display: grid;
  gap: 8px;
}
.account-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.account-link-row {
  margin-top: 6px;
}
.account-meta-note {
  margin-bottom: 10px;
}
.prefs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.prefs-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin-top: -4px;
}
.prefs-template-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  line-height: 1.5;
}
.prefs-country-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 14px 10px;
  background: #fff7ed;
  margin-bottom: 14px;
}
.prefs-country-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #9a3412;
  margin-bottom: 6px;
}
.prefs-country-note {
  color: #9a3412;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 10px;
}
.subscription-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.subscription-detail-list {
  display: grid;
  gap: 8px;
}
.subscription-detail-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  min-width: 0;
}
.subscription-detail-label {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  min-width: 0;
}
.subscription-detail-value {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.subscription-detail-row-top { align-items: flex-start; }
.subscription-detail-label-split { max-width: 48%; }
.subscription-detail-value-split { text-align: left; max-width: 48%; }
.subscription-detail-tags { margin-top: 6px; display: flex; gap: 6px; flex-wrap: wrap; }
.subscription-detail-actions-end { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.subscription-detail-actions-start { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-start; }
.account-points-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.team-grid-shell {
  min-width: 1280px;
}
.team-grid-head,
.team-grid-row {
  display: grid;
  grid-template-columns: 200px 110px 130px 200px 190px minmax(420px,1fr);
  gap: 10px;
  padding: 12px 16px;
}
.team-grid-head {
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  background: linear-gradient(180deg,#fff,#fafafa);
}
.team-grid-row {
  border-top: 1px solid var(--border);
  align-items: start;
}
.team-grid-col {
  min-width: 0;
}
.team-grid-strong {
  font-weight: 700;
  color: var(--text);
}
.team-grid-copy {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.team-grid-actions {
  margin-top: 6px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.ops-grid-shell-metrics {
  min-width: 1080px;
}
.ops-grid-shell-events {
  min-width: 1180px;
}
.ops-grid-head-metrics,
.ops-grid-row-metrics {
  display: grid;
  grid-template-columns: 200px 100px 100px minmax(620px,1fr);
  gap: 10px;
  padding: 12px 16px;
}
.ops-grid-head-events,
.ops-grid-row-events {
  display: grid;
  grid-template-columns: 170px 210px 150px minmax(650px,1fr);
  gap: 10px;
  padding: 12px 16px;
}
.ops-grid-head-metrics,
.ops-grid-head-events {
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  background: linear-gradient(180deg,#fff,#fafafa);
}
.ops-grid-row-metrics,
.ops-grid-row-events {
  border-top: 1px solid var(--border);
  align-items: start;
}
.ops-grid-col {
  min-width: 0;
}
.ops-grid-col-strong {
  min-width: 0;
  font-weight: 700;
}
.ops-grid-copy {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.ops-empty-note {
  padding: 16px;
  color: var(--text-muted);
}
.team-invite-grid {
  display: grid;
  grid-template-columns: minmax(280px,1.3fr) minmax(180px,.7fr) auto;
  gap: 10px;
  align-items: end;
}

/* Editorial landing v2 */
.ed-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 243, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 36, 63, .08);
}
.ed-shell {
  width: min(calc(100% - 48px), 1260px);
  margin-inline: auto;
}
.ed-nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.ed-brand {
  font-size: 1.35rem;
  font-weight: 900;
  color: #283080;
  letter-spacing: -.04em;
  text-decoration: none;
}
.ed-brand span { color: #e03530; }
.ed-nav-links {
  display: flex;
  align-items: center;
  gap: 29px;
  font-size: .92rem;
  font-weight: 760;
}
.ed-nav-links a:not(.btn) {
  position: relative;
  text-decoration: none;
}
.ed-nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transition: .25s;
}
.ed-nav-links a:not(.btn):hover::after { right: 0; }
.ed-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}
.ed-eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--accent);
}
.ed-display,
.ed-title-lg,
.ed-title-md,
.ed-title-sm,
.ed-proof-strong,
.ed-quote,
.ed-plan,
.ed-price,
.ed-title-card {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  font-weight: 500;
}
.ed-hero {
  padding: 110px 0 126px;
  overflow: hidden;
}
.ed-hero-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 76px;
  align-items: center;
}
.ed-display {
  font-size: clamp(3.5rem, 6.4vw, 6.8rem);
  line-height: .96;
  margin: 18px 0 28px;
}
.ed-hero-copy .accent { color: var(--accent); }
.ed-lead {
  font-size: 1.24rem;
  line-height: 1.66;
  max-width: 600px;
  color: #3d4b60;
}
.ed-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.ed-hero-proof {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  max-width: 590px;
}
.ed-proof-strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
}
.ed-hero-proof p { font-size: .92rem; }
.ed-report-stage {
  position: relative;
  min-height: 650px;
}
.ed-report-stage::before {
  content: "";
  position: absolute;
  inset: 8% 2% 8% 8%;
  background: var(--surface-accent);
  border-radius: 48% 52% 56% 44%;
  opacity: .72;
  transform: rotate(-7deg);
}
.ed-report-page {
  position: absolute;
  background: var(--surface);
  border: 1px solid rgba(20, 36, 63, .09);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text);
}
.ed-report-page.cover {
  width: 55%;
  height: 548px;
  left: 1%;
  top: 32px;
  z-index: 4;
  transform: rotate(-4deg);
  padding: 32px 34px;
}
.ed-report-page.quick {
  width: 48%;
  height: 492px;
  left: 39%;
  top: 88px;
  z-index: 3;
  transform: rotate(2.3deg);
  padding: 28px;
}
.ed-report-page.matrix {
  width: 41%;
  height: 450px;
  right: -2%;
  top: 154px;
  z-index: 2;
  transform: rotate(5deg);
  padding: 26px;
}
.ed-report-brand {
  font-size: .68rem;
  font-weight: 900;
  color: #283080;
}
.ed-report-brand span { color: var(--accent); }
.ed-report-deck {
  font-size: .56rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #92959b;
  margin-top: 6px;
  text-align: right;
}
.ed-report-rule {
  height: 1px;
  background: #ded8d1;
  margin: 18px 0 27px;
}
.ed-report-kicker,
.ed-page-heading {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #99959a;
  font-weight: 750;
}
.ed-cover-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.32rem;
  line-height: 1.02;
  margin: 12px 0 11px;
}
.ed-cover-summary,
.ed-quick-copy,
.ed-matrix-copy {
  font-family: Georgia, "Times New Roman", serif;
  color: #434a54;
}
.ed-cover-summary {
  font-size: .86rem;
  line-height: 1.48;
}
.ed-cover-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 13px;
  margin-top: 28px;
}
.ed-mini-box {
  border: 1px solid #e2ddd7;
  border-radius: 4px;
  padding: 15px;
  background: #fffefc;
}
.ed-mini-box h4 {
  margin: 0 0 11px;
  font-size: .57rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #898b90;
}
.ed-fact {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 7px;
  font-size: .62rem;
  margin: 6px 0;
}
.ed-fact span:first-child { color: #999; }
.ed-reading-key {
  font-family: Georgia, "Times New Roman", serif;
  font-size: .69rem;
  line-height: 1.45;
  color: #414751;
}
.ed-page-foot {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 18px;
  border-top: 1px solid #e2ddd7;
  padding-top: 9px;
  display: flex;
  justify-content: space-between;
  font-size: .52rem;
  color: #9a9da3;
}
.ed-title-sm {
  font-size: 1.35rem;
  margin-bottom: 13px;
}
.ed-quick-copy {
  font-size: .66rem;
  line-height: 1.47;
}
.ed-quick-block {
  border-top: 1px solid #e2ddd7;
  padding: 13px 0;
}
.ed-quick-block b,
.ed-matrix-card b {
  display: block;
  font-size: .56rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.ed-narrative-list {
  margin: 9px 0 0;
  padding-left: 16px;
  font-size: .59rem;
  color: #3f4652;
}
.ed-narrative-list li { margin: 6px 0; }
.ed-matrix-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}
.ed-matrix-card {
  border-top: 2px solid var(--accent);
  padding-top: 9px;
}
.ed-matrix-card.green { border-color: var(--green); }
.ed-matrix-card.amber { border-color: var(--amber); }
.ed-matrix-card.blue { border-color: var(--blue); }
.ed-matrix-card.green b { color: var(--green); }
.ed-matrix-card.amber b { color: var(--amber); }
.ed-matrix-card.blue b { color: var(--blue); }
.ed-matrix-copy {
  font-size: .57rem;
  line-height: 1.42;
  margin-top: 5px;
}
.ed-section {
  padding: 112px 0;
  border-top: 1px solid var(--border);
}
.ed-section-head {
  display: grid;
  grid-template-columns: 2.4fr 7.6fr;
  gap: 70px;
  align-items: start;
  margin-bottom: 58px;
}
.ed-num {
  font-family: Georgia, "Times New Roman", serif;
  color: #b58850;
  font-size: 1.42rem;
  margin-bottom: 10px;
}
.ed-title-md {
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  line-height: 1.02;
  margin: 0;
}
.ed-section-copy {
  font-size: 1.14rem;
  line-height: 1.72;
  max-width: 790px;
  color: #3d4b60;
  margin-top: 24px;
}
.ed-work-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  border-block: 1px solid var(--text);
  align-items: stretch;
}
.ed-manual-work,
.ed-resolved {
  padding: 38px 42px 42px;
}
.ed-title-card {
  font-size: 1.72rem;
  margin-bottom: 8px;
  color: var(--text);
}
.ed-manual-note {
  max-width: 620px;
  font-size: .91rem;
  margin-bottom: 27px;
}
.ed-task-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ed-task {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-right: 31px;
  margin-right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  font-weight: 500;
  color: var(--text);
}
.ed-task:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.15rem;
}
.ed-task span {
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--accent);
  font-size: .62rem;
  font-weight: 850;
  letter-spacing: .12em;
}
.ed-resolved {
  background: var(--text);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ed-resolved .ed-eyebrow { color: #f5a2aa; }
.ed-resolved .ed-eyebrow::before { background: #f5a2aa; }
.ed-resolved .ed-title-card,
.ed-resolved strong { color: #fff; }
.ed-resolved p { color: #c7cfdb; }
.ed-resolved strong {
  display: block;
  margin-top: 23px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}
.ed-three-decisions {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.ed-decision {
  padding: 30px 28px;
  min-height: 180px;
  border-right: 1px solid var(--border);
}
.ed-decision:last-child { border-right: 0; }
.ed-decision .index {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  color: var(--accent);
}
.ed-decision h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  margin: 15px 0 8px;
  font-weight: 500;
}
.ed-decision p { font-size: .91rem; }
.ed-simplicity-note {
  display: grid;
  grid-template-columns: 2.3fr 7.7fr;
  gap: 38px;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid var(--border);
}
.ed-simplicity-note p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  color: var(--text);
  line-height: 1.46;
}
.ed-report-showcase { background: var(--surface-soft); }
.ed-report-layout {
  display: grid;
  grid-template-columns: 2.25fr 7.75fr;
  gap: 58px;
  align-items: start;
}
.ed-report-copy {
  position: sticky;
  top: 106px;
}
.ed-text-link {
  display: inline-block;
  margin-top: 23px;
  color: var(--accent);
  font-weight: 800;
  border-bottom: 1px solid var(--accent);
}
.ed-report-index {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border-strong);
}
.ed-report-index li {
  display: grid;
  grid-template-columns: 31px 1fr;
  gap: 11px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  color: #3d4b60;
}
.ed-report-index span:first-child {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--accent);
}
.ed-spread {
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid rgba(20, 36, 63, .08);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 555px;
}
.ed-spread > article { padding: 42px 38px; }
.ed-spread > article + article { border-left: 1px solid var(--border); }
.ed-spread-kicker {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8d8e93;
  font-weight: 800;
}
.ed-executive-summary {
  border-bottom: 1px solid var(--border);
  padding-bottom: 26px;
  margin-bottom: 22px;
}
.ed-signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  margin-top: 20px;
}
.ed-signal {
  border-top: 2px solid;
  padding-top: 11px;
}
.ed-signal.risk { border-color: #b95555; }
.ed-signal.opportunity { border-color: var(--green); }
.ed-signal.tension { border-color: var(--amber); }
.ed-signal.gap { border-color: #61708b; }
.ed-signal b {
  font-size: .66rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.ed-signal p {
  font-family: inherit;
  font-size: .81rem;
  line-height: 1.46;
  margin-top: 6px;
}
.ed-signal.risk b { color: #b95555; }
.ed-signal.opportunity b { color: var(--green); }
.ed-signal.tension b { color: var(--amber); }
.ed-signal.gap b { color: #61708b; }
.ed-narratives {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.ed-narratives li {
  border-top: 1px solid var(--border);
  padding: 12px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: .9rem;
  line-height: 1.43;
}
.ed-narratives li::before {
  content: "“";
  color: var(--accent);
  font-size: 1.25rem;
  margin-right: 5px;
}
.ed-trust-band {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 54px;
  align-items: start;
}
.ed-fact-sheet {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 38px;
  box-shadow: 0 18px 50px rgba(20, 36, 63, .08);
}
.ed-fact-sheet-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.ed-case {
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 850;
}
.ed-fact-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--border);
}
.ed-fact-number {
  padding: 22px 13px;
  border-right: 1px solid var(--border);
}
.ed-fact-number:last-child { border-right: 0; }
.ed-fact-number strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  color: var(--text);
}
.ed-fact-number span {
  font-size: .76rem;
  color: var(--muted);
}
.ed-trace-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.ed-trace-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: #3d4b60;
}
.ed-trace-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}
.ed-trust-copy { padding-top: 8px; }
.ed-title-lg {
  font-size: 2.3rem;
  margin-bottom: 20px;
}
.ed-trust-copy p {
  font-size: 1.08rem;
  line-height: 1.72;
  color: #3d4b60;
}
.ed-quote {
  margin-top: 32px;
  padding: 28px 0 0;
  border-top: 1px solid var(--border);
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--text);
}
.ed-time-value {
  background: var(--text);
  color: #fff;
}
.ed-time-value .ed-num { color: #f1a0a8; }
.ed-time-value .ed-title-md,
.ed-time-value .ed-title-card,
.ed-time-value .ed-strategy-line p { color: #fff; }
.ed-time-value .ed-section-copy,
.ed-time-side p { color: #c7cfdb; }
.ed-time-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, .22);
}
.ed-time-side { padding: 38px 38px 42px; }
.ed-time-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.ed-time-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .92rem;
  color: #dce2ea;
}
.ed-time-marker {
  min-width: 230px;
  display: grid;
  place-items: center;
  text-align: center;
  border-inline: 1px solid rgba(255, 255, 255, .2);
  padding: 30px;
}
.ed-time-marker strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  line-height: .86;
  color: #fff;
}
.ed-time-marker span {
  display: block;
  margin-top: 12px;
  color: #f3a5ad;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .72rem;
}
.ed-strategy-line {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
  display: grid;
  grid-template-columns: 1fr 5fr;
  gap: 35px;
  align-items: start;
}
.ed-strategy-line b {
  font-size: .7rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: #f3a5ad;
}
.ed-strategy-line p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.62rem;
  line-height: 1.38;
}
.ed-pricing { background: var(--bg); }
.ed-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--text);
}
.ed-price-card {
  padding: 36px 32px 32px;
  min-height: 365px;
  border-right: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  background: var(--surface);
}
.ed-price-card:last-child { border-right: 0; }
.ed-price-card.featured { background: var(--surface-accent); }
.ed-plan { font-size: 1.9rem; }
.ed-plan-note {
  font-size: .9rem;
  margin-top: 8px;
  min-height: 48px;
  color: var(--muted);
}
.ed-price {
  font-size: 3rem;
  margin: 27px 0 8px;
}
.ed-price small {
  font-family: inherit;
  font-size: .74rem;
  letter-spacing: .1em;
}
.ed-price-card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
  color: #3d4b60;
  font-size: .88rem;
}
.ed-price-card li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
}
.ed-price-card .btn {
  margin-top: auto;
  width: 100%;
}
.ed-no-card {
  margin-top: 30px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.ed-no-card .seal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface-accent);
  color: var(--accent);
  font-size: 1.6rem;
}
.ed-footer {
  background: #0e192c;
  color: #9eabba;
  padding: 30px 0;
  font-size: .82rem;
}
.ed-footer .ed-shell {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .subscription-detail-layout {
    grid-template-columns: 1fr;
  }

  .subscription-detail-row {
    flex-direction: column;
  }

  .subscription-detail-value {
    text-align: left;
  }

  .field-grid-id,
  .team-invite-grid {
    grid-template-columns: 1fr;
  }
}
