/* PlanOfActionTemplate.com — shared styles */
:root {
  --paper: #f7f4ee;
  --paper-deep: #efeadf;
  --ink: #16202e;
  --ink-soft: #46536a;
  --line: #d9d2c3;
  --accent: #c2410c;
  --accent-deep: #9a3412;
  --green: #2f6b4f;
  --green-soft: #e4efe8;
  --amber-soft: #fbeadf;
  --serif: "Fraunces", Georgia, serif;
  --sans: "IBM Plex Sans", -apple-system, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--paper);
  /* subtle grain, tiled & painted once with the background (no fixed layer — repaints on scroll wedge low-end GPUs) */
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  position: relative;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header.site {
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.97);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--accent); }
nav.main { display: flex; gap: 28px; align-items: center; }
nav.main a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
}
nav.main a:hover { color: var(--ink); }
nav.main a.btn-nav {
  background: var(--ink);
  color: var(--paper);
  padding: 9px 18px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}
nav.main a.btn-nav:hover { background: var(--accent-deep); color: #fff; }
@media (max-width: 720px) {
  nav.main a:not(.btn-nav) { display: none; }
  nav.main a.btn-nav { padding: 8px 12px; font-size: 0.85rem; }
}

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; position: relative; overflow: hidden; }
.hero .eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  animation: rise 0.6s ease both;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 640;
  max-width: 15ch;
  animation: rise 0.6s 0.08s ease both;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .lede {
  margin-top: 26px;
  font-size: 1.16rem;
  color: var(--ink-soft);
  max-width: 56ch;
  animation: rise 0.6s 0.16s ease both;
}
.hero .cta-row {
  margin-top: 36px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  animation: rise 0.6s 0.24s ease both;
}
.hero .under-cta {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  animation: rise 0.6s 0.3s ease both;
}
.hero .decoder-box {
  margin-top: 30px;
  max-width: 720px;
  animation: rise 0.6s 0.24s ease both;
}
.hero .decoder-box textarea { min-height: 150px; }
.hero #decoder-result { max-width: 760px; }
@media (max-width: 720px) {
  .hero { padding: 44px 0 48px; }
  .hero h1 { font-size: 2.1rem; }
  .hero .lede { margin-top: 16px; font-size: 1.02rem; }
  .hero .decoder-box { margin-top: 20px; }
  .hero .decoder-box textarea { min-height: 120px; }
  .hero .decoder-box .btn { width: 100%; text-align: center; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.btn {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  padding: 15px 28px;
  font-size: 1.02rem;
  transition: transform 0.12s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 0 var(--accent-deep); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: transparent; }
.btn-ghost:hover { border-color: var(--ink-soft); }

/* ---------- price anchor strip ---------- */
.anchor-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-deep); }
.anchor-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.anchor-cell { padding: 26px 24px; border-right: 1px solid var(--line); }
.anchor-cell:last-child { border-right: none; }
.anchor-cell .who {
  font-family: var(--mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.anchor-cell .num {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 640;
  margin-top: 6px;
}
.anchor-cell .note { font-size: 0.86rem; color: var(--ink-soft); }
.anchor-cell.us { background: var(--ink); }
.anchor-cell.us .who { color: #d8b8a5; }
.anchor-cell.us .num { color: var(--paper); }
.anchor-cell.us .note { color: #b9c2d0; }
@media (max-width: 720px) {
  .anchor-strip .wrap { grid-template-columns: 1fr; }
  .anchor-cell { border-right: none; border-bottom: 1px solid var(--line); }
}

/* ---------- sections ---------- */
section.block { padding: 88px 0; }
section.block.tight { padding: 64px 0; }
.kicker {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
h2.title {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 640;
  max-width: 24ch;
}
.section-lede { margin-top: 18px; color: var(--ink-soft); max-width: 60ch; }

/* steps */
.steps { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { border-top: 3px solid var(--ink); padding-top: 20px; }
.step .n {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--accent);
}
.step h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 640; margin: 8px 0 10px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* ---------- sample document ---------- */
.doc-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; margin-top: 12px; }
@media (max-width: 860px) { .doc-split { grid-template-columns: 1fr; } }

.doc {
  background: #fffdf8;
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 var(--paper-deep), 0 1px 3px rgba(22, 32, 46, 0.12);
  padding: 40px 36px;
  transform: rotate(-0.6deg);
  font-size: 0.8rem;
}
.doc .doc-head {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
.doc h4 {
  font-family: var(--serif);
  font-size: 0.95rem;
  margin: 18px 0 8px;
}
.doc h4 .sec-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  border-radius: 3px;
  padding: 2px 7px;
  margin-right: 8px;
  vertical-align: 2px;
}
.redact { height: 9px; border-radius: 2px; background: var(--ink); opacity: 0.14; margin: 7px 0; }
.redact.w80 { width: 80%; } .redact.w95 { width: 95%; } .redact.w60 { width: 60%; } .redact.w70 { width: 70%; } .redact.w90 { width: 90%; }

.doc-notes h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 640; margin-bottom: 12px; }
.doc-notes ul { list-style: none; margin-top: 20px; }
.doc-notes li { padding-left: 30px; position: relative; margin-bottom: 16px; color: var(--ink-soft); font-size: 0.97rem; }
.doc-notes li strong { color: var(--ink); }
.doc-notes li::before {
  content: "§";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent);
}

/* ---------- included / guarantee ---------- */
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
@media (max-width: 860px) { .included { grid-template-columns: 1fr; } }
.inc-card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 28px 26px;
}
.inc-card .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 3px 9px;
  margin-bottom: 14px;
  background: var(--paper-deep);
  color: var(--ink-soft);
}
.inc-card.step2 .tag { background: var(--amber-soft); color: var(--accent-deep); }
.inc-card.step3 .tag { background: var(--green-soft); color: var(--green); }
.inc-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 640; margin-bottom: 10px; }
.inc-card p { font-size: 0.93rem; color: var(--ink-soft); }

/* ---------- honest section ---------- */
.honest { background: var(--ink); color: #dfe4ec; }
.honest .kicker { color: #e8956d; }
.honest h2.title { color: var(--paper); }
.honest p { color: #b9c2d0; }
.honest .honest-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 44px; }
@media (max-width: 820px) { .honest .honest-grid { grid-template-columns: 1fr; } }
.honest .card-no, .honest .card-yes { border-radius: 6px; padding: 30px 28px; }
.honest .card-no { border: 1px solid #3a475c; }
.honest .card-yes { background: #1f2c3f; border: 1px solid #3a475c; }
.honest h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--paper); margin-bottom: 16px; }
.honest ul { list-style: none; }
.honest li { padding-left: 26px; position: relative; margin-bottom: 13px; font-size: 0.96rem; }
.honest .card-no li::before { content: "✕"; position: absolute; left: 0; color: #e8956d; }
.honest .card-yes li::before { content: "✓"; position: absolute; left: 0; color: #7fb89a; }

/* ---------- pricing ---------- */
.price-card {
  margin-top: 48px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(22, 32, 46, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
@media (max-width: 820px) { .price-card { grid-template-columns: 1fr; } }
.price-left { padding: 44px 40px; }
.price-left .amount { font-family: var(--serif); font-size: 3.4rem; font-weight: 640; line-height: 1; }
.price-left .amount small { font-size: 1.1rem; font-weight: 400; color: var(--ink-soft); }
.price-left .per { color: var(--ink-soft); margin-top: 6px; font-size: 0.94rem; }
.price-left .btn { margin-top: 28px; width: 100%; text-align: center; }
.price-left .fine { margin-top: 14px; font-size: 0.83rem; color: var(--ink-soft); }
.price-right { background: var(--paper-deep); padding: 44px 40px; border-left: 1px solid var(--line); }
.price-right h4 { font-family: var(--mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 18px; }
.price-right ul { list-style: none; }
.price-right li { padding-left: 26px; position: relative; margin-bottom: 12px; font-size: 0.95rem; }
.price-right li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 640;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 20px;
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: var(--ink-soft); max-width: 68ch; font-size: 0.97rem; }

/* ---------- final cta ---------- */
.final-cta { text-align: center; }
.final-cta h2 { max-width: none; }
.final-cta .btn { margin-top: 32px; }
.final-cta .under-cta { margin-top: 14px; font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
  padding: 48px 0 40px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { footer.site .cols { grid-template-columns: 1fr; } }
footer.site h5 { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 12px; color: var(--ink); }
footer.site a { color: var(--ink-soft); }
footer.site a:hover { color: var(--ink); }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 8px; }
.disclaimer { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.8rem; line-height: 1.7; }

/* ---------- legal pages ---------- */
.legal { padding: 72px 0 96px; }
.legal h1 { font-family: var(--serif); font-size: 2.3rem; font-weight: 640; letter-spacing: -0.015em; }
.legal .updated { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); margin: 12px 0 40px; }
.legal h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 640; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 0.98rem; }
.legal ul { margin: 12px 0 12px 22px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--ink); }
.legal .box {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px 24px;
  margin: 24px 0;
}
.legal a { color: var(--accent-deep); }

/* ---------- decoder (free hook) ---------- */
.decoder-block { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.decoder-box { margin-top: 36px; }
.decoder-box textarea {
  width: 100%;
  min-height: 180px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
  padding: 18px 20px;
  font-family: var(--mono);
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink);
  resize: vertical;
}
.decoder-box textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.decoder-box .btn { margin-top: 16px; border: none; cursor: pointer; font-family: var(--sans); }
.decoder-box .btn:disabled { opacity: 0.6; cursor: wait; }
.dec-note { margin-top: 12px; font-size: 0.84rem; color: var(--ink-soft); }
.dec-error {
  margin-top: 20px; background: var(--amber-soft); border: 1px solid #e8c4a8;
  border-radius: 6px; padding: 16px 20px; font-size: 0.95rem; color: var(--accent-deep);
}
.dec-card {
  margin-top: 28px; background: #fffdf8; border: 1px solid var(--line); border-radius: 8px;
  padding: 34px 34px 30px; box-shadow: 0 2px 12px rgba(22,32,46,0.06);
}
.dec-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dec-type { font-family: var(--serif); font-size: 1.4rem; font-weight: 640; }
.dec-sev {
  font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em;
  border-radius: 3px; padding: 3px 9px;
}
.sev-high { background: #f6d9d3; color: #8f2913; }
.sev-mhigh { background: var(--amber-soft); color: var(--accent-deep); }
.sev-med { background: var(--green-soft); color: var(--green); }
.dec-read { margin-top: 14px; font-size: 1.05rem; }
.dec-meta { margin-top: 8px; font-family: var(--mono); font-size: 0.78rem; color: var(--ink-soft); }
.dec-card h4 { font-family: var(--serif); font-size: 1.05rem; font-weight: 640; margin: 26px 0 10px; }
.dec-lock {
  font-family: var(--mono); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--accent-deep); background: var(--amber-soft); border-radius: 3px; padding: 3px 8px; margin-left: 10px; vertical-align: 2px;
}
.dec-wants { list-style: none; }
.dec-wants li { padding-left: 24px; position: relative; margin-bottom: 8px; font-size: 0.94rem; color: var(--ink-soft); }
.dec-wants li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.dec-outline { display: grid; gap: 12px; }
.dec-sec { border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; background: var(--paper); }
.dec-sec-t { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); }
.dec-sec-hint { margin-top: 6px; font-size: 0.9rem; color: var(--ink-soft); }
.dec-blur { margin-top: 10px; }
.dec-blur span { display: block; height: 8px; border-radius: 2px; background: var(--ink); opacity: 0.12; margin: 6px 0; filter: blur(1.5px); }
.dec-blur span:nth-child(1) { width: 92%; } .dec-blur span:nth-child(2) { width: 85%; } .dec-blur span:nth-child(3) { width: 60%; }
.dec-triage {
  margin-top: 24px; border-left: 3px solid var(--accent); background: var(--paper);
  padding: 14px 18px; font-size: 0.92rem; color: var(--ink-soft);
}
.dec-cta { margin-top: 28px; text-align: center; }
.dec-cta .under-cta { margin-top: 12px; font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- email-me-this-result hook + exit-intent modal ---------- */
.dec-email { margin-top: 26px; border-top: 1px solid var(--line); padding-top: 20px; }
.dec-email-t { font-weight: 600; font-size: 0.97rem; }
.dec-email-why { margin-top: 4px; font-size: 0.85rem; color: var(--ink-soft); }
.dec-email-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.dec-email-row input {
  flex: 1; min-width: 200px; border: 1px solid var(--line); border-radius: 4px;
  padding: 11px 14px; font-size: 0.95rem; font-family: var(--sans); background: #fffdf8; color: var(--ink);
}
.dec-email-row input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.dec-email-row .btn { padding: 11px 22px; font-size: 0.95rem; border: none; cursor: pointer; font-family: var(--sans); }
.dec-email-row .btn:disabled { opacity: 0.6; cursor: wait; }
.dec-email-msg { margin-top: 8px; font-size: 0.88rem; }
.dec-email-msg.is-ok { color: var(--green); }
.dec-email-msg.is-err { color: var(--accent-deep); }
.poa-overlay {
  position: fixed; inset: 0; background: rgba(22, 26, 36, 0.55); z-index: 80;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.poa-modal {
  background: var(--paper); border-radius: 8px; max-width: 500px; width: 100%;
  padding: 34px 34px 24px; position: relative; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.poa-modal h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 640; line-height: 1.25; padding-right: 20px; }
.poa-modal > p { margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.poa-modal .x {
  position: absolute; top: 10px; right: 14px; background: none; border: none;
  font-size: 1.5rem; line-height: 1; color: var(--ink-soft); cursor: pointer;
}
.poa-modal > .btn { margin-top: 18px; border: none; cursor: pointer; font-family: var(--sans); }
.poa-modal .dec-email { border-top: none; padding-top: 0; margin-top: 18px; }
.poa-modal .dec-email-t, .poa-modal .dec-email-why { display: none; }
.poa-close-line { margin-top: 16px; font-size: 0.85rem; }
.poa-close-line a { color: var(--ink-soft); }

/* ---------- app pages (start / poa / rewrite / claim) ---------- */
.app-page { padding: 64px 0 96px; }
.app-page h1 { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 640; letter-spacing: -0.015em; }
.app-page .sub { margin-top: 12px; color: var(--ink-soft); max-width: 60ch; }
.app-card {
  margin-top: 36px; background: #fffdf8; border: 1px solid var(--line); border-radius: 8px;
  padding: 34px; box-shadow: 0 2px 12px rgba(22,32,46,0.06);
}
.q { margin-bottom: 28px; }
.q .q-label { font-weight: 600; margin-bottom: 10px; display: block; }
.q .q-label .req { color: var(--accent); }
.q .opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 8px; cursor: pointer; font-size: 0.95rem; background: var(--paper); }
.q .opt:hover { border-color: var(--ink-soft); }
.q .opt input { margin-top: 4px; flex-shrink: 0; }
.q input[type="text"], .q textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; background: var(--paper);
  padding: 12px 14px; font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
}
.q textarea { min-height: 100px; resize: vertical; }
.q input:focus, .q textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.form-actions { margin-top: 12px; }
.form-actions .btn { border: none; cursor: pointer; font-family: var(--sans); width: 100%; text-align: center; }
.form-actions .btn:disabled { opacity: 0.6; cursor: wait; }
.form-err { margin-top: 14px; color: var(--accent-deep); font-size: 0.92rem; }
.app-status { text-align: center; padding: 40px 0; }
.app-status .big { font-family: var(--serif); font-size: 1.5rem; font-weight: 640; }
.app-status p { margin-top: 12px; color: var(--ink-soft); }
.spinner {
  width: 34px; height: 34px; margin: 0 auto 22px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* rendered POA */
.poa-doc { font-size: 0.98rem; }
.poa-doc h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 640; margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.poa-doc h2:first-of-type { border-top: none; padding-top: 0; }
.poa-doc pre { white-space: pre-wrap; font-family: var(--sans); font-size: 0.96rem; line-height: 1.7; color: var(--ink); }
.poa-doc .poa-header { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-soft); border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 18px; }
.ev-item { display: flex; gap: 10px; margin-bottom: 10px; font-size: 0.94rem; }
.ev-badge { font-family: var(--mono); font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.08em; border-radius: 3px; padding: 3px 8px; height: fit-content; flex-shrink: 0; }
.ev-have { background: var(--green-soft); color: var(--green); }
.ev-missing, .ev-warning { background: #f6d9d3; color: #8f2913; }
.notes-box { margin-top: 26px; border-left: 3px solid var(--accent); background: var(--paper); padding: 14px 18px; font-size: 0.92rem; color: var(--ink-soft); }
.poa-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* placeholder highlight in rendered POA */
mark.ph { background: #ffe58a; font-weight: 700; padding: 0 3px; border-radius: 2px; color: var(--ink); }
