/* Defense working pages. Tokens from site.css. */
nav.main a.df-on { color: var(--ink); background: rgba(0,0,0,0.05); }
#sample { scroll-margin-top: 80px; }
.df-path {
  display: flex; gap: 8px 14px; flex-wrap: wrap; align-items: center;
  margin: 8px 0 28px;
}
.df-path a {
  font-size: 0.92rem; font-weight: 600; color: var(--ink-soft); text-decoration: none;
  padding: 4px 0;
}
.df-path a[aria-current="page"] { color: var(--ink); }
.df-path a:hover { color: var(--accent-deep); }

.df-note { font-size: 0.92rem; color: var(--ink-soft); margin: 0 0 18px; max-width: 540px; }
.df-err, .ic-err, .dc-err, .mc-err, .cr-err, .di-err { color: var(--accent-deep); margin: 12px 0; }
.df-empty, .ic-empty, .dc-empty, .mc-empty, .cr-empty, .di-empty,
.ic-loading, .dc-loading, .mc-loading, .cr-loading, .di-loading {
  text-align: center; padding: 36px 12px; color: var(--ink-soft);
}

.ic-hero h1, .dc-hero h1, .mc-hero h1, .cr-hero h1, .di-hero h1 { margin-bottom: 10px; }
.ic-hero p, .dc-hero p, .mc-hero p, .cr-hero p, .di-hero p {
  font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 18px; max-width: 560px;
}
.ic-cta, .dc-cta, .mc-cta, .cr-cta, .di-cta { margin: 0 0 22px; }

.ic-btn, .dc-btn, .mc-btn, .cr-btn, .di-btn {
  display: inline-flex; align-items: center; font: inherit; font-weight: 600; font-size: 0.95rem;
  padding: 10px 16px; border-radius: 980px; cursor: pointer;
  border: 1px solid rgba(0,0,0,0.12); background: rgba(255,255,255,0.7); color: var(--ink);
  text-decoration: none;
}
.ic-btn:hover, .dc-btn:hover, .mc-btn:hover, .cr-btn:hover, .di-btn:hover { border-color: var(--accent); }
.ic-btn.primary, .dc-btn.primary, .mc-btn.primary, .cr-btn.primary, .di-btn.primary {
  background: var(--accent); border-color: var(--accent); color: #fff;
}
.ic-btn.primary:hover, .dc-btn.primary:hover, .mc-btn.primary:hover, .cr-btn.primary:hover, .di-btn.primary:hover {
  background: var(--accent-deep);
}

.ic-band, .dc-band, .mc-band, .cr-band, .di-band {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; border-radius: 999px; padding: 5px 12px; margin: 8px 0 18px;
}
.ic-band.green, .dc-band.green, .mc-band.green, .cr-band.green, .di-band.green { background: #E8F9EE; color: #1A7A3A; }
.ic-band.amber, .dc-band.amber, .mc-band.amber, .cr-band.amber, .di-band.amber { background: #FEF3E2; color: #B45309; }
.ic-band.red, .dc-band.red, .mc-band.red, .cr-band.red, .di-band.red { background: #FDECEA; color: #C2271B; }

.ic-meta, .dc-meta, .mc-meta, .cr-meta, .di-meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 18px; }
.ic-h2, .dc-h2, .mc-h2, .cr-h2, .di-h2 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 10px; }
.ic-panel, .dc-panel, .mc-panel, .cr-panel, .di-panel,
.ic-kind, .dc-kind {
  background: var(--card); border: 1px solid var(--glass-border); border-radius: 16px;
  padding: 16px; box-shadow: 0 4px 20px rgba(22,24,29,0.05); margin-bottom: 16px;
}
.ic-apa, .dc-apa, .mc-apa, .cr-apa, .di-apa {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 8px 0 0;
  margin: 8px 0 20px;
}
.ic-panel h2, .dc-panel h2, .mc-panel h2, .ic-apa h3, .dc-apa h3, .mc-apa h3, .cr-apa h3, .di-apa h3 {
  font-size: 1.05rem; font-weight: 700; margin: 0 0 12px;
}
.ic-panel.work { border-top: 3px solid #C2271B; }
.ic-panel.idle { border-top: 3px solid var(--good); }
.ic-find, .dc-find, .mc-find, .cr-find, .di-find {
  background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px;
  padding: 12px 14px; margin-bottom: 8px;
}
.ic-find .stem, .dc-find .stem { font-weight: 650; margin-bottom: 4px; }
.ic-find .why, .dc-find .why { font-size: 0.92rem; color: var(--ink-soft); }
.ic-find .chair, p.chair { font-size: 0.95rem; color: var(--ink); margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.06); }
p.chair { margin: 0 0 18px; padding: 0; border: 0; }
.ic-find .tag { font-size: 0.72rem; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.ic-kinds { display: grid; gap: 12px; margin: 0 0 8px; }
.ic-kind p, .dc-kind p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 6px; }
.ic-apa-body, .dc-apa-body, .mc-apa-body, .cr-apa-body, .di-apa-body { font-size: 1rem; line-height: 1.6; margin: 0 0 14px; }
/* APA 7 manuscript table: three horizontal rules, no verticals, no grid */
.apa-wrap {
  margin: 28px 0 36px;
  overflow-x: auto;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}
.apa-head { text-align: center; margin: 0 0 10px; }
.apa-num {
  font-weight: 700;
  font-style: normal;
  color: var(--ink);
  margin-bottom: 4px;
}
.apa-title {
  font-weight: 400;
  font-style: italic;
}
.apa-table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 0.95rem;
  color: var(--ink);
  background: transparent;
}
.apa-table th, .apa-table td {
  border: none;
  border-left: none;
  border-right: none;
  padding: 7px 10px;
  vertical-align: bottom;
  text-align: right;
}
.apa-table thead th {
  font-weight: 600;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.apa-table th:first-child, .apa-table td:first-child { text-align: left; }
.apa-table tbody tr:last-child td { border-bottom: 1.5px solid var(--ink); }
.apa-note {
  font-size: 0.88rem;
  color: var(--ink);
  margin: 8px 0 0;
  max-width: 40em;
  line-height: 1.45;
}
.apa-note + .apa-note { margin-top: 2px; }
.ic-actions, .dc-actions, .mc-actions, .cr-actions, .di-actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

.df-hero-card {
  background: var(--card);
  border: 1px solid var(--glass-border); border-radius: 20px;
  padding: 28px; box-shadow: 0 8px 32px rgba(22,24,29,0.07);
  margin-bottom: 28px;
}

.df-sample {
  position: relative;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px 28px 28px;
  box-shadow: 0 8px 32px rgba(22,24,29,0.07);
  max-width: 820px;
}
.df-sample-label {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.df-sample-h {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 8px 0 10px;
}
.df-sample .chair { margin-bottom: 8px; }
.df-sample-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

button.btn { font: inherit; border: none; cursor: pointer; }

.df-not-ai {
  max-width: 40em;
  font-size: 0.95rem;
  color: var(--ink);
  margin: 0 0 22px;
  line-height: 1.5;
}
.hero .df-not-ai { margin-top: 22px; }
.df-packet .df-not-ai { max-width: none; margin: 0 0 28px; }

.df-hero-gap {
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 12px 0 0;
}
.df-price {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 640px;
  margin: 28px 0 10px;
}
.df-price-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 22px;
}
.df-price-amt {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.df-price-name {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 6px 0 8px;
}
.df-price-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.df-price-anchor {
  max-width: 640px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.df-packet {
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 32px 40px;
  box-shadow: 0 8px 32px rgba(22,24,29,0.07);
  max-width: 820px;
}
.df-mast { margin-bottom: 22px; }
.df-mast-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.df-mast h1 { font-size: 1.65rem; margin-bottom: 8px; }
.df-mast p { color: var(--ink-soft); max-width: 38em; }
.df-sec { margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--rule); }
.df-sec > h2 { font-size: 1.25rem; margin: 0 0 12px; }
.df-dlbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 22px;
}
.df-invite {
  max-width: 640px;
}
.df-invite .df-sample-cta { border-top: none; padding-top: 0; margin-top: 18px; }

.df-seq {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  max-width: 640px;
  counter-reset: dfseq;
}
.df-seq li {
  counter-increment: dfseq;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.df-seq li:last-child { border-bottom: 1px solid var(--rule); }
.df-seq li::before {
  content: counter(dfseq);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-faint);
  padding-top: 2px;
}
.df-seq a {
  text-decoration: none;
  color: inherit;
}
.df-seq strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.df-seq span {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 400;
}
.df-seq a:hover strong { color: var(--accent-deep); }

/* Landing v2 */
body.df-landing .wrap { max-width: 1140px; }
body.df-landing .hero { padding: 56px 0 64px; }
body.df-landing .hero .lede { max-width: 34ch; }
.df-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.df-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quanta);
}
.df-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: none;
}
.btn-sub {
  font-size: 0.78em;
  font-weight: 500;
  opacity: 0.8;
  margin-left: 6px;
}
.df-resume {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 0;
  padding: 11px 14px;
  border-radius: 11px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--rule);
  font-size: 0.92rem;
  color: var(--ink-soft);
  max-width: 520px;
}
.df-resume-links { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.df-resume a { color: var(--quanta); font-weight: 600; text-decoration: none; }
.df-text-btn {
  background: none; border: none; padding: 0; font: inherit;
  color: var(--ink-faint); cursor: pointer;
}
.df-text-btn:hover { color: var(--ink); }
.df-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.df-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--rule);
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.df-preview-wrap { position: relative; }
.df-preview {
  position: relative;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 48px -28px rgba(22,24,29,0.35);
  overflow: hidden;
}
.df-preview-hd, .df-step-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 13px 18px;
  border-bottom: 1px solid var(--rule);
  background: #FBFCFD;
  font-size: 0.88rem;
  font-weight: 650;
}
.df-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 5px;
  background: var(--quanta);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
}
.df-preview-tag, .df-step-kicker {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.df-preview-bd { padding: 18px 18px 20px; }
.df-preview-bd p, .df-step-card .df-preview-bd p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
  max-width: 62ch;
}
.df-alpha { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.df-alpha .v { font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.df-alpha .k { font-size: 0.85rem; color: var(--ink-soft); }
.df-mini { margin: 8px 0 14px; }
.df-flag {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #FDF6EA;
  border: 1px solid #F3E3C6;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #5C4A2A;
}
.df-flag > span:first-child {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #B4690E;
  padding-top: 2px;
  white-space: nowrap;
}
.df-chair { margin-top: 14px; }
.df-chair-k {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quanta);
  margin-bottom: 6px;
}
.df-chair div + div { font-size: 0.92rem; line-height: 1.55; color: var(--ink); }

.df-seq-band {
  background: #16181D;
  color: #fff;
  padding: 64px 0 72px;
}
.df-seq-band .kicker { color: #8FB6F5; }
.df-seq-intro { max-width: 60ch; margin-bottom: 36px; }
.df-seq-intro h2 { color: #fff; }
.df-seq-intro p { color: #9AA1B1; margin: 0; }
.df-seq-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.df-seq-nav { display: flex; flex-direction: column; gap: 8px; }
.df-seq-nav button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #2A3040;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
}
.df-seq-nav button.on { background: #1E232C; border-color: #39415A; }
.df-seq-nav button:hover { border-color: #39415A; }
.df-seq-nav .n {
  font-size: 0.72rem;
  font-weight: 700;
  color: #8FB6F5;
  font-variant-numeric: tabular-nums;
  margin-right: 8px;
}
.df-seq-nav strong { font-size: 1rem; }
.df-seq-nav button > span:last-child {
  display: block;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #8B92A2;
  margin-top: 4px;
  font-weight: 400;
}
.df-seq-aside {
  margin: 8px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #1A1E26;
  border: 1px solid #2A3040;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #9AA1B1;
}
.df-step-card {
  background: #fff;
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -28px rgba(0,0,0,0.55);
}
.df-step-hd .df-step-title { font-weight: 650; }
.df-gate {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EDEFF4;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 650;
}
.df-gate.go { background: #E9F6EF; color: #0F6B42; }
.df-gate.hold { background: #FDF6EA; color: #8A5209; }
.df-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin: 0 0 14px;
}
.df-stat-grid > div {
  padding: 12px 14px;
  border-radius: 11px;
  background: #F7F8FA;
  border: 1px solid #EBEEF3;
}
.df-stat-grid .v {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.df-stat-grid .k { font-size: 0.78rem; color: var(--ink-soft); margin-top: 2px; }
.df-group-line, .df-stat-line, .df-test-kicker {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 10px 0 8px;
}
.df-test-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 16px;
}
.df-step-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-top: 1px solid var(--rule);
  background: #FBFCFD;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.df-lead { max-width: 62ch; color: var(--ink-soft); margin: 0 0 28px; }
.df-template {
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--rule);
  overflow: hidden;
  margin-bottom: 28px;
}
.df-template-row { padding: 20px 22px; }
.df-template-row.fill { background: #FBFCFD; border-top: 1px dashed var(--rule); }
.df-template-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
}
.df-template-kicker.warn { color: #B4690E; margin-top: 8px; }
.df-slots {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.df-slot {
  padding: 1px 6px;
  border-radius: 5px;
  background: #EAF1FE;
  color: var(--quanta-deep);
  font-weight: 600;
}
.df-calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.df-calc-grid > div {
  padding: 22px 24px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--rule);
}
.df-calc-grid h3 { margin-bottom: 12px; }
.df-calc-grid ul { margin: 0; padding: 0; list-style: none; }
.df-calc-grid li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 6px 0;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.df-calc-grid li:first-child { border-top: none; padding-top: 0; }
.df-price-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}
.df-honest {
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--rule);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-soft);
}
.df-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.df-plan {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--rule);
  position: relative;
}
.df-plan.featured { border: 1.5px solid var(--quanta); }
.df-plan-tag {
  position: absolute;
  top: -10px;
  left: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--quanta);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.df-plan .df-price-amt { font-size: 2.4rem; }
.df-plan > p { color: var(--ink-soft); font-size: 0.92rem; margin: 0 0 16px; }
.df-plan ul { list-style: none; margin: 0 0 20px; padding: 0; }
.df-plan li {
  font-size: 0.92rem;
  color: var(--ink);
  padding: 6px 0 6px 1.1em;
  position: relative;
}
.df-plan li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--quanta);
  font-weight: 700;
}
.df-plan .btn { width: 100%; text-align: center; }
.df-faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: start;
}
.df-faq { border-top: 1px solid var(--rule); }
.df-faq details { border-bottom: 1px solid var(--rule); }
.df-faq summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}
.df-faq summary::-webkit-details-marker { display: none; }
.df-faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 1.3rem;
  flex: none;
}
.df-faq details[open] summary::after { content: "−"; }
.df-faq details p {
  padding: 0 4px 20px;
  font-size: 0.95rem;
  line-height: 1.66;
  color: var(--ink-soft);
  max-width: 70ch;
}
.df-findings {
  padding: 16px 18px;
  border-radius: 11px;
  background: #F7F8FA;
  border: 1px solid #EBEEF3;
  margin-bottom: 14px;
}
.df-findings p { margin: 0 0 8px; }
.df-findings p:last-child { margin-bottom: 0; }
.df-cannot { list-style: none; margin: 0 0 14px; padding: 0; }
.df-cannot li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 6px 0 6px 14px;
  position: relative;
}
.df-cannot li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #B4690E;
  position: absolute;
  left: 0; top: 13px;
}
.df-close { text-align: center; }
.df-close h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.df-close p { max-width: 42em; margin-left: auto; margin-right: auto; color: var(--ink-soft); }
.df-close-note { margin-top: 18px; font-size: 0.88rem; color: var(--ink-faint); }

@media (max-width: 900px) {
  .df-split, .df-seq-grid, .df-price-split, .df-faq-split {
    grid-template-columns: 1fr;
  }
  .df-preview-tag { margin-left: 0; }
}

/* Report editor */
html:has(body.df-editor-page), body.df-editor-page {
  height: 100%;
  overflow: hidden;
  background: #E8EAEF;
  background-image: none;
}
body.df-editor-page { font-size: 16px; }
.df-ed {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #E8EAEF;
  color: var(--ink);
}
.df-ed-bar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: #fff;
  border-bottom: 1px solid #DDE1E9;
}
.df-ed-logo { display: grid; place-items: center; flex: none; }
.df-ed-logo img { display: block; border-radius: 50%; }
.df-ed-title { min-width: 0; flex: 1; }
.df-ed-h {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.df-ed-sub {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 2px;
  font-size: 12px;
  color: var(--ink-faint);
}
.df-ed-live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1E9E63; flex: none;
}
.df-ed-file {
  flex: none;
  padding: 2px 8px;
  border-radius: 5px;
  background: #F0F2F6;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.df-ed-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.df-ed-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #DDE1E9;
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.df-ed-btn:hover { border-color: #B9C0CE; color: var(--ink); }
.df-ed-bar .btn { padding: 9px 14px; font-size: 13.5px; }
.df-ed-body { flex: 1; min-height: 0; display: flex; }
.df-ed-rail {
  flex: none;
  width: 246px;
  background: #F7F8FA;
  border-right: 1px solid #DDE1E9;
  overflow-y: auto;
  padding: 16px 12px 24px;
}
.df-ed-k {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--ink-faint);
  text-transform: uppercase;
  padding: 14px 8px 8px;
}
.df-ed-k:first-child { padding-top: 0; }
.df-ed-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 9px 11px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  margin-bottom: 2px;
}
.df-ed-item:hover { background: #EDEFF4; }
.df-ed-item.on { background: #E4EBFB; }
.df-ed-n {
  flex: none;
  width: 16px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.df-ed-item-l { flex: 1; min-width: 0; font-size: 14px; font-weight: 550; }
.df-ed-ico { flex: none; color: #5B6270; }
.df-ed-dot {
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #9AA1B1;
}
.df-ed-dot.go { background: #1E9E63; }
.df-ed-dot.caution { background: #E0A32E; }
.df-ed-dot.stop { background: #C2271B; }
.df-ed-legend {
  margin-top: 18px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #E4E7EE;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
}
.df-ed-legend > div {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 7px;
}
.df-ed-legend > div:last-child { margin-bottom: 0; }
.df-ed-legend .df-ed-dot { margin-top: 5px; }
.df-ed-aside {
  margin-top: 14px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-faint);
  font-weight: 400;
}
.df-ed-main {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
  padding: 28px 28px 96px;
}
.df-ed-stage {
  display: flex;
  gap: 26px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}
.df-ms {
  flex: 0 1 816px;
  max-width: 816px;
  min-width: 0;
  background: #fff;
  border: 1px solid #D8DCE4;
  box-shadow: 0 1px 2px rgba(11,25,55,0.06), 0 12px 32px -18px rgba(11,25,55,0.24);
  padding: 76px 84px 84px;
  font-family: "Times New Roman", Times, "Liberation Serif", serif;
  color: #111;
  font-size: 17px;
  line-height: 1.55;
}
.df-ms.is-double { line-height: 2; }
.df-ms h2 {
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 4px;
  line-height: 1.4;
}
.df-ms p { margin: 0 0 18px; color: #111; }
.df-ms .apa-wrap { margin: 26px 0; }
.df-ms .apa-head { font-family: inherit; }
.df-ms .apa-table { font-size: 15.5px; }
.df-ms-mast { margin-bottom: 34px; text-align: center; }
.df-ms-h { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.df-ms-sub { font-size: 17px; font-style: italic; color: #333; }
.df-ms-meta {
  font-family: var(--sans);
  font-size: 14px;
  font-style: normal;
  color: var(--ink-faint);
  margin-top: 12px;
  line-height: 1.5;
}
.df-ms-mast { border-bottom: 1px solid #DDD; padding-bottom: 26px; }
.df-ms-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E4E7EE;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.2;
}
.df-ms-step .df-gate { text-transform: none; letter-spacing: 0; font-size: 12.5px; }
.df-ms-foot {
  margin-top: 52px;
  padding-top: 16px;
  border-top: 1px solid #E4E7EE;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.4;
}
.df-ms-foot span:last-child { margin-left: auto; }
.df-ed-notes {
  flex: 0 1 264px;
  max-width: 300px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 0;
}
.df-ed-notes-h {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--ink-soft);
  text-transform: uppercase;
}
.df-ed-notes-h span {
  padding: 1px 7px;
  border-radius: 999px;
  background: #DDE1E9;
  color: var(--ink);
  font-size: 11px;
}
.df-note-card {
  padding: 13px 15px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #E4E7EE;
  box-shadow: 0 1px 2px rgba(11,25,55,0.05);
}
.df-note-card.flag, .df-note-card.hold {
  background: #FEFAF2;
  border-color: #F3E3C6;
}
.df-note-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  font-size: 11.5px;
  color: var(--ink-faint);
}
.df-note-kind {
  padding: 2px 7px;
  border-radius: 5px;
  background: #EAF1FE;
  color: var(--quanta-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.df-note-card.flag .df-note-kind, .df-note-card.hold .df-note-kind {
  background: #F7E9CC;
  color: #8A5209;
}
.df-note-body {
  font-size: 13.5px;
  line-height: 1.55;
  color: #2A3040;
}
.df-note-card.flag .df-note-body, .df-note-card.hold .df-note-body { color: #5C4A2A; }
.df-ed-empty { text-align: left; }
.df-ed-empty h1 {
  font-family: var(--serif);
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.df-ed-empty p { color: var(--ink-soft); max-width: 36em; }

@media (max-width: 900px) {
  .df-ed-rail { display: none; }
  .df-ms { padding: 36px 28px 48px; }
  .df-ed-notes { position: static; max-width: none; flex: 1 1 100%; }
}

/* Paywall: file first, then Stripe. Light, matches the rest of Defense. */
.df-pay-overlay {
  position: fixed; inset: 0; z-index: 80;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(22, 24, 29, 0.45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.df-pay-card {
  max-width: 440px; width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 32px 28px 24px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(22, 24, 29, 0.18);
}
.df-pay-msg {
  font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 8px; line-height: 1.25;
}
.df-pay-sub {
  font-size: 0.95rem; color: var(--ink-soft); line-height: 1.5;
  margin: 0 0 20px;
}
.df-pay-packs {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 12px;
}
.df-pay-pack {
  appearance: none; font-family: inherit; font-size: 0.92rem; font-weight: 600;
  padding: 11px 18px; border-radius: 980px; cursor: pointer;
  background: #fff; color: var(--ink);
  border: 1px solid rgba(10, 111, 232, 0.35);
}
.df-pay-pack.on {
  background: var(--quanta); color: #fff; border-color: var(--quanta);
}
.df-pay-pack.is-have {
  display: inline-flex; align-items: center;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-faint);
  border: 1px dashed rgba(0,0,0,0.14); padding: 11px 16px; border-radius: 980px;
}
.df-pay-ghost {
  appearance: none; font-family: inherit; font-size: 0.9rem;
  background: none; border: 1px solid rgba(0,0,0,0.12);
  color: var(--ink-soft); border-radius: 980px; padding: 8px 20px;
  cursor: pointer; margin: 4px 0 16px;
}
.df-pay-ghost:hover { color: var(--ink); background: rgba(0,0,0,0.04); }
.df-pay-signin {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 16px; text-align: left;
}
.df-pay-signin-k {
  font-size: 0.78rem; font-weight: 600; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px;
  text-align: center;
}
.df-pay-signin-row { display: flex; gap: 8px; }
.df-pay-signin input {
  flex: 1; min-width: 0;
  font-family: inherit; font-size: 0.92rem;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12); background: #fff; color: var(--ink);
}
.df-pay-signin input.is-bad { border-color: var(--accent); }
.df-pay-link {
  appearance: none; font-family: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 10px 12px; border-radius: 10px; cursor: pointer; white-space: nowrap;
  background: rgba(10, 111, 232, 0.08); color: var(--quanta); border: none;
}
.df-pay-fine {
  margin-top: 16px; font-size: 0.75rem; color: var(--ink-faint); text-align: center;
}

@media print {
  header.site, footer.site, .breadcrumb, .df-path, .df-dlbar,
  .df-screen-only, .hero-actions, nav.main,
  .df-ed-bar, .df-ed-rail, .df-ed-notes, .df-ms-step, .df-ms-foot { display: none !important; }
  html:has(body.df-editor-page), body.df-editor-page, .df-ed, .df-ed-body, .df-ed-main {
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
  }
  body { background: #fff; background-image: none; }
  .df-packet, .df-ms {
    background: #fff;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-width: none;
  }
}
