/* T Level placements. Approved AI Labs style (see CLAUDE.md), built on experiments.css. */
.pl-hero-actions { margin-top: 20px; }
.pl-hero .btn.pl-ghost { background: rgb(255 255 255 / .12); color: #FFFFFF; border-color: rgb(255 255 255 / .5); }

/* How it works: four numbered steps in a row */
.pl-flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pl-flow li { background: var(--soft); border-radius: 20px; padding: 20px; }
.pl-flow h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 10px 0 4px; }
.pl-flow p { margin: 0; }
.pl-flow-no { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }

/* The 9 weeks: one week open at a time */
.pl-weeks { display: grid; gap: 12px; }
.pl-week { border: 2px solid var(--line); border-radius: 20px; background: var(--bg); }
.pl-week[open] { border-color: var(--accent); }
.pl-week summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 60px; padding: 12px 18px; cursor: pointer; font-size: 1.15rem; }
.pl-week summary:focus-visible { outline: 4px solid var(--chalk); outline-offset: 2px; border-radius: 18px; }
.pl-week summary b { font-family: var(--font-display); font-size: 1.3rem; color: var(--deep); }
.pl-wk { background: var(--deep); color: #FFFFFF; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: .9rem; }
.pl-team .pl-wk { background: var(--chalk); color: var(--chalk-ink); }
.pl-days { margin-left: auto; font-family: var(--font-mono); font-size: .85rem; color: var(--muted); }
.pl-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 18px 18px; }
.pl-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.pl-grid h4 { margin: 0 0 6px; font-size: 1.05rem; color: var(--accent); }
.pl-grid ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.pl-brief { margin: 0 18px 12px; background: #FFF6D6; border-left: 5px solid var(--chalk); border-radius: 12px; padding: 12px 16px; color: #1B1A12; }

/* Secure setup and a typical day */
.pl-two { display: grid; gap: 22px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.pl-ticks { font-size: 1.08rem; gap: 12px; }
.pl-day { background: var(--soft); border-radius: 20px; padding: 20px; }
.pl-day h3 { font-family: var(--font-display); margin: 0 0 10px; }
.pl-day dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 8px; }
.pl-day dt { font-family: var(--font-mono); font-weight: 700; color: var(--accent); }
.pl-day dd { margin: 0; }

/* T Level rules */
.pl-table-wrap { overflow-x: auto; }
.pl-table { width: 100%; border-collapse: collapse; font-size: 1.05rem; }
.pl-table th, .pl-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pl-table thead th { background: var(--deep); color: #FFFFFF; }
.pl-table thead th:first-child { border-radius: 12px 0 0 0; }
.pl-table thead th:last-child { border-radius: 0 12px 0 0; }
.pl-table tbody th { color: var(--deep); width: 30%; }

/* Deliver it with us, and the form */
.pl-partner { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-partner li { background: var(--soft); border-radius: 18px; padding: 16px 18px; font-size: 1.05rem; }
.pl-form { max-width: 900px; }
.pl-form button[type="submit"] { align-self: flex-start; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pl-week summary b, :root:not([data-theme="light"]) .pl-table tbody th { color: var(--ink); }
}
:root[data-theme="dark"] .pl-week summary b, :root[data-theme="dark"] .pl-table tbody th { color: var(--ink); }

@media (max-width: 1100px) {
  .pl-flow, .pl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pl-partner, .pl-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .pl-flow, .pl-grid { grid-template-columns: minmax(0, 1fr); }
  .pl-days { margin-left: 0; width: 100%; }
  .pl-table tbody th { width: auto; }
}
.pl-form { margin: 0; border-radius: 24px; padding: clamp(18px, 3vw, 28px); }
.pl-form label { display: grid; gap: 6px; font-weight: 600; }
@media (max-width: 700px) { .pl-form .row2 { flex-direction: column; } }

/* The Range is open */
.pl-open { margin: 14px 0 0; background: var(--soft); border-left: 5px solid var(--accent); border-radius: 12px; padding: 12px 16px; font-size: 1.05rem; }

/* Timeline: one line per stage, the dates on the left */
.pl-time { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.pl-time li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; background: var(--bg); border: 2px solid var(--line); border-left: 8px solid var(--accent); border-radius: 18px; padding: 14px 18px; }
.pl-time li.pl-block { border-left-color: var(--chalk); background: var(--soft); }
.pl-time li.pl-quiet { border-left-color: var(--line); }
.pl-when { font-family: var(--font-mono); font-weight: 700; color: var(--accent); }
.pl-time h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 4px; }
.pl-time p { margin: 0; line-height: 1.6; }

/* Paperwork */
.pl-papers { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.pl-papers h3, .pl-sub { font-family: var(--font-display); font-size: 1.3rem; margin: 0 0 10px; }
.pl-sub { margin-top: 24px; }
.pl-forms td { padding: 10px 12px; }
.pl-forms td:last-child { color: var(--muted); white-space: nowrap; }
.pl-doc { display: inline-block; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 1px 8px; background: var(--soft); color: var(--accent); vertical-align: middle; }
.pl-doc.pl-gov { background: var(--deep); color: #FFFFFF; }
.pl-links { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 8px; font-size: 1.05rem; }

@media (max-width: 1100px) { .pl-papers { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) {
  .pl-time li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pl-forms td:last-child { white-space: normal; }
}

/* Why it matters now: the real attacks behind the missions */
.pl-news { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-news article { background: var(--bg); border: 2px solid var(--line); border-top: 6px solid var(--accent); border-radius: 18px; padding: 14px 16px; }
.pl-news h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 4px 0; }
.pl-news p { margin: 4px 0; }
.pl-news-when { font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--accent); }
.pl-news-cost { font-weight: 700; font-size: 1.1rem; color: var(--deep); }
.pl-l4 { display: grid; gap: 8px; padding-left: 22px; font-size: 1.05rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .pl-news-cost { color: var(--gold-text); } }
:root[data-theme="dark"] .pl-news-cost { color: var(--gold-text); }
@media (max-width: 1100px) { .pl-news { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .pl-news { grid-template-columns: minmax(0, 1fr); } }
