.editorial-band {
  --stock: #fffcf4;
  --line: #cfc9b8;
  --secondary: #4b5d55;
  color: #132a28;
  padding-block: clamp(34px, 4.5vw, 66px);
}
.editorial-band > .wrap { max-width: 1040px; }
.editorial-band h2, .editorial-band h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
  margin: 0 0 .48em;
}
.editorial-band h2 { font-size: clamp(34px, 3.6vw, 52px); }
.editorial-band h3 { font-size: clamp(24px, 2.3vw, 32px); }
.editorial-band p { color: var(--secondary); margin: 0 0 1em; }
.editorial-band a,.editorial-next a { color: #155349; text-underline-offset: .22em; }
.editorial-band a:hover,.editorial-next a:hover { color: #a83d24; }
.editorial-band :is(button,input,select) { font: inherit; box-sizing: border-box; }
.editorial-band :is(input,select) {
  background: #fffdf7; color: #193b35; border: 1px solid #9caa9f;
  border-radius: 6px; min-height: 44px; padding: 8px 12px; min-width: 0;
}
.editorial-band button {
  border: 1px solid #1b443d; background: #194b40; color: #fffbee;
  min-height: 42px; padding: 8px 16px; border-radius: 6px; font-weight: 650;
}
.editorial-band button:hover { background: #296451; }
.editorial-band label,.tool-kicker,.matrix-legend,.lab-header > output {
  display: block; font: 600 11px/1.45 var(--mono); letter-spacing: .07em;
  text-transform: uppercase; color: #53665b;
}
.editorial-band label { margin-bottom: 7px; }
.editorial-band [hidden] { display: none !important; }
.sample-archive { border-top: 1px solid #cbc6b5; }
.archive-header {
  display: flex; justify-content: space-between; align-items: end;
  gap: 28px; padding-bottom: 16px; border-bottom: 3px double #a5ad98; margin-bottom: 23px;
}
.archive-header h2 { margin: 3px 0 0; }
.editorial-label { display: flex; align-items: center; gap: 8px; color: #88512d; font: 600 11px/16px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.archive-header > p { max-width: 39ch; margin: 0; font-size: 16px; }
.sample-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 25px 19px; }
.sample-card {
  min-width: 0; background: #fffbef; border: 1px solid #c6bd9f;
  border-radius: 3px; display: flex; flex-direction: column; padding: 10px;
  box-shadow: 0 2px 0 #d9d1be,0 5px 12px #4c412517;
}
.sample-image { position: relative; display: block; border: 1px solid #c0ac86; overflow: hidden; }
.sample-image img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; transition: transform .24s; }
.sample-image:hover img, .sample-image:focus-visible img { transform: scale(1.03); }
.sample-image > span {
  position: absolute; display: grid; place-items: center; width: 26px; height: 26px; right: 5px; bottom: 5px;
  color: #523f22; background: #fff8dfed; border-radius: 50%; border: 1px solid #a5997b;
}
.sample-info { display: flex; flex-direction: column; flex: 1; padding: 12px 4px 0; gap: 6px; }
.sample-meta { display: flex; justify-content: space-between; align-items: center; gap: 4px; font: 11px/14px var(--mono); color: #5f665b; }
.sample-meta > span:first-child { background: #f7ded0; color: #924229; border: 1px solid #d8ad8b; border-radius: 2px; padding: 3px 4px; font-weight: 600; text-transform: uppercase; }
.sample-card.aurora .sample-meta > span:first-child { background: #ede6f8; color: #64478b; border-color: #bfb0cf; }
.sample-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sample-heading h3 { margin: 0; font-size: clamp(26px,2.4vw,33px); }
.sample-heading strong { white-space: nowrap; font: 600 17px/1 var(--mono); color: #315244; }
.sample-heading small { font: 12px var(--mono); }
.sample-info > p, .sample-inputs { font-size: 14px; line-height: 1.4; margin: 0; }
.sample-inputs summary { cursor: pointer; display: flex; align-items: center; gap: 7px; min-height: 35px; color: #3c5a4e; list-style: none; }
.sample-inputs summary::before { content: '+'; font: 14px var(--mono); }
.sample-inputs[open] summary::before { content: '−'; }
.sample-inputs ol { margin: 0 0 8px; padding-left: 24px; }
.sample-inputs li b { margin-left: 5px; }
.sample-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; border-top: 1px dashed #b6af99; padding-top: 7px; }
.sample-actions a, .text-action, .editorial-next a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.sample-actions a:first-child { width: 100%; justify-content: space-between; gap: 5px; color: #fff9e8; background: #224f41; border-radius: 3px; padding: 0 10px; font: 600 14px var(--sans); }
.sample-actions a:first-child:hover { background: #35634f; }
.sample-actions a:not(:first-child) { font: 11px var(--mono); min-height: 29px; text-decoration: underline; color: #4b6255; }
.archive-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 26px; font-size: 15px; }
.archive-notes p { margin: 0; }
#sample-preview { width: min(94vw,1000px); max-width: 94vw; max-height: 92dvh; padding: 0; color: #18382c; background: #f8f4e8; border: 1px solid #ae9f81; border-radius: 5px; }
#sample-preview::backdrop { background: #123028da; }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 9px 5px 14px; }
.preview-toolbar strong { font: 600 23px var(--serif); }
#preview-image { display: block; width: 100%; height: auto; max-height: calc(92dvh - 55px); object-fit: contain; }
.ad-region { container-type: inline-size; display: grid; justify-items: center; padding: 10px 0 24px; }
.ad-slot {
  position: relative; display: grid; place-items: center; width: 728px; height: 90px; overflow: hidden;
  border: 1px dashed #c7c4b4; color: #6b7265; background: #edeae0; font: 11px/1.3 var(--sans); letter-spacing: .08em;
}
.ad-fill { position: absolute; inset: 0; overflow: hidden; }
.ad-slot[data-state="empty"] > span { visibility: hidden; }
@container (max-width: 727px) { .ad-slot { width: 300px; height: 250px; } }
.subject-guide { border-top: 1px solid #cbc9b9; }
.subject-guide > .wrap > p, .bank-index > .wrap > p { max-width: 76ch; }
.subject-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin: 12px 0 20px; }
.subject-entry {
  --tint: #dce8da; --stamp: #698375;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  min-width: 0; text-decoration: none; padding: 17px; background: var(--tint); border: 1px solid var(--stamp);
  outline: 1px dashed var(--stamp); outline-offset: -5px;
}
.subject-entry:nth-child(2) { --tint: #f9ded1; --stamp: #ab7766; }
.subject-entry:nth-child(3) { --tint: #ecdfbd; --stamp: #9c8751; }
.subject-entry:nth-child(4) { --tint: #dae6ef; --stamp: #7897a9; }
.subject-entry:nth-child(5) { --tint: #eae1ee; --stamp: #9c879f; }
.subject-entry:nth-child(6) { --tint: #f1dedf; --stamp: #a58285; }
.subject-entry:nth-child(7) { --tint: #e7e9cb; --stamp: #95966b; }
.subject-entry:nth-child(8) { --tint: #dce9e5; --stamp: #7a9c90; }
.subject-entry > img { width: 44px; height: 44px; border-radius: 50%; }
.subject-entry > span { flex: 1; }
.subject-entry strong { display: block; font: 600 24px/1.05 var(--serif); color: #1c3e34; }
.subject-entry small { display: block; font: 14px/1.3 var(--sans); color: #435447; margin-top: 6px; }
.subject-entry > svg { position: absolute; top: 16px; right: 16px; }
@media (prefers-reduced-motion: reduce) { .sample-image img { transition: none; } }
.score-lab,.comparison-desk,.privacy-tools { padding-top: 6px; }
.lab-frame {
  background: #fffdf6; border: 1px solid #c8c3b2; border-radius: 15px;
  box-shadow: 0 4px 0 #dcd6c7; overflow: hidden;
}
.lab-header,.case-controls,.compare-switches,.matrix-legend,.formula-pair { padding-inline: clamp(16px,3vw,32px); }
.lab-header {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 22px 20px; border-bottom: 1px solid var(--line);
}
.tool-kicker { color: #83622a; }
.lab-header h2 { font-size: clamp(32px,3.1vw,45px); margin: 4px 0 0; }
.lab-header > output { white-space: nowrap; }
.formula-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }
.score-lab .formula-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 0; padding-block: 20px; }
.formula-cell {
  padding: clamp(15px,2vw,24px); border: 1px solid #caa38b; border-radius: 9px;
  border-top: 4px solid #dc583a; color: #79321d; background: #f7e4d3;
}
.formula-cell.rare { background: #eae2f7; color: #502785; border-color: #c4a8df; border-top-color: #6d28d9; }
.formula-name { display: flex; align-items: center; gap: 7px; text-transform: uppercase; font: 700 12px/1.4 var(--mono); letter-spacing: .06em; }
.formula-name i { width: 9px; height: 9px; border-radius: 100%; background: currentColor; }
.formula-name span { margin-left: auto; font-size: 10px; font-weight: 400; }
.formula-cell output { display: block; margin: 10px 0 6px; font: 700 clamp(28px,4vw,54px)/1.05 var(--mono); letter-spacing: -.06em; }
.formula-cell code,.case-screen { font: 13px/1.5 var(--mono); }
.case-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding-bottom: 22px; }
.tool-row { display: flex; gap: 8px; align-items: stretch; }
.tool-row select { flex: 1; }
.tool-row button { white-space: nowrap; }
.case-screen { border-left: 2px solid #c39b51; padding-left: 16px; align-self: center; overflow-wrap: anywhere; }
.case-screen p { margin: 0 0 6px; }
.case-screen output { font-weight: 700; color: #205943; }
.compare-switches,.subject-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-switches { padding-block: 18px; }
.compare-switches button,.subject-tabs button {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 100px; padding: 6px 12px;
  min-height: 36px; border-color: #b9c0b2; background: #fcfaf2; color: #26493f; font-size: 14px;
}
.compare-switches button:hover,.subject-tabs button:hover { background: #e8eee1; }
.compare-switches button[aria-pressed="true"],.subject-tabs button[aria-pressed="true"] { color: #fffdf5; background: #16483e; border-color: #16483e; }
.compare-switches i { width: 22px; height: 13px; border-radius: 9px; border: 1px solid currentColor; position: relative; }
.compare-switches i::after { content:''; position: absolute; left: 2px; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.compare-switches [aria-pressed="true"] i::after { left: auto; right: 2px; }
.table-viewport { overflow-x: auto; max-width: 100%; margin: 17px 0; overscroll-behavior-inline: contain; }
.table-viewport table { width: 100%; border-collapse: collapse; }
.table-viewport :is(td,th) { text-align: left; border-bottom: 1px solid var(--line); padding: 9px 10px; font: 15px/1.35 var(--sans); }
.table-viewport th { font-weight: 650; }
.table-viewport thead { background: #e6e7d9; }
.matrix-scroll { margin: 0; }
.feature-matrix { min-width: 700px; }
.feature-matrix thead { background: #133f38; color: #faf8e8; }
.feature-matrix thead th { padding-block: 13px; font-size: 13px; }
.feature-matrix :is(th,td):first-child { padding-left: clamp(16px,3vw,32px); }
.feature-matrix :is(th,td):not(:first-child) { text-align: center; }
.feature-matrix td { color: #657467; font: 14px var(--mono); }
.feature-matrix tbody th { background: #f1eee1; line-height: 1.1; min-width: 155px; }
.feature-matrix tbody th b { display: block; font: 700 21px var(--serif); }
.feature-matrix tbody th a { font-size: 12px; font-weight: 500; }
.matrix-yes { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: #dce9d4; color: #215440; font-weight: 700; }
.matrix-legend { padding-block: 13px; font-size: 10px; }
.matrix-legend span { margin-left: 14px; }
.field-guide,.bank-index,.flight-faq { border-top: 1px solid var(--line); background: transparent; }
.guide-lead { max-width: 83ch; padding-left: 18px; border-left: 3px solid #be914a; margin: 0 0 30px; }
.guide-lead p { font-size: 19px; }
.magazine-grid,.faq-grid,.privacy-grid,.publisher-notes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; }
.magazine-grid { gap: 32px 42px; }
.guide-section { min-width: 0; border-top: 1px solid #9da89b; padding-top: 20px; }
.guide-section h2 { font-size: clamp(29px,3vw,39px); }
.guide-section p { line-height: 1.57; }
.guide-section:has(.publisher-notes) { grid-column: 1/-1; }
.publisher-notes { gap: 16px; margin: 15px 0; }
.publisher-notes > div,.privacy-grid > *,.faq-grid > div { padding: clamp(17px,2.4vw,27px); border: 1px solid var(--line); background: var(--stock); border-radius: 8px; }
.publisher-notes dl { margin: 0; }
.publisher-notes dt { color: #325941; font-size: 14px; font-weight: 650; margin-top: 9px; }
.publisher-notes dd { margin: 0; color: var(--secondary); }
.guide-figure { margin: 20px 0 8px; }
.guide-figure img { display:block; width:100%; height:auto; border-radius: 8px; }
.guide-figure figcaption,.editor-credit { color: var(--secondary); font-size: 14px; margin-top: 8px; }
.vector-links,.rare-seeds { border: 1px solid var(--line); background:var(--stock); padding: 18px; border-radius:8px; }
.vector-links a { margin: 0 10px 5px 0; display:inline-block; }
.flight-total-tool { margin:20px 0 12px; border-left: 3px solid #bb9650; padding: 4px 0 4px 14px; }
.flight-total-tool output { display:block; margin-top:10px; font:600 14px/1.5 var(--mono); color:#275644; }
.rare-seeds > div { padding: 9px 0; border-top: 1px solid var(--line); }
.rare-seeds small,.rare-seeds a { display:block; }
.privacy-tools { border-bottom: 1px solid var(--line); }
.privacy-grid { gap: 16px; }
.privacy-grid input { width: 100%; }
.privacy-grid button { margin: 12px 0; }
.privacy-grid output,.privacy-grid [data-history-status] { display: block; font: 13px/1.5 var(--mono); color: #4a624d; }
.privacy-grid ol { padding-left: 20px; }
.index-search { display: grid; grid-template-columns: minmax(0,440px) auto; align-items:center; gap: 4px 15px; margin: 20px 0 12px; }
.index-search label { grid-column:1/-1; }
.index-search output { font:13px var(--mono); color: #53695a; }
.subject-tabs { margin: 12px 0 20px; }
.bank-groups { border: 1px solid var(--line); border-radius: 10px; background: var(--stock); padding-inline: clamp(12px,2.4vw,24px); }
.bank-category + .bank-category,.bank-board { border-top: 1px solid var(--line); }
.bank-index summary { list-style: none; min-height: 46px; display:flex; gap: 12px; align-items: center; padding: 6px 0; }
.bank-index summary::-webkit-details-marker { display:none; }
.bank-index summary::before { content:'+'; color: #5a705e; font: 16px/1 var(--mono); }
.bank-index details[open] > summary::before { content:'−'; }
.bank-category > summary { font:600 clamp(22px,2vw,28px) var(--serif); }
.bank-category > summary small { margin-left:auto; color:#526450; font:12px var(--mono); }
.bank-board { margin-left: 20px; }
.bank-board summary small { font: 12px var(--mono); color:#735e39; }
.bank-board td { overflow-wrap: anywhere; }
.faq-grid { gap: 14px; }
.faq-grid p { margin:0; }
.editorial-next { display:flex; justify-content:center; gap:12px 34px; flex-wrap:wrap; padding-block: 0 34px; }
.editorial-next a { font-weight: 650; }
@media (max-width: 800px) {
  .sample-grid,.subject-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .archive-header { align-items: start; }
  .archive-header > p { max-width: 35ch; }
  .case-controls { grid-template-columns: 1fr; }
}
@media (max-width: 630px) {
  .sample-grid,.subject-grid,.archive-notes,.magazine-grid,.faq-grid,.privacy-grid,.publisher-notes { grid-template-columns: minmax(0,1fr); }
  .archive-header { display: block; }
  .archive-header > p { margin-top: 10px; }
  .lab-header { flex-wrap:wrap; gap:8px; }
  .lab-header > output { font-size:10px; }
  .formula-name { font-size: 11px; }
  .formula-name span { display:none; }
  .formula-cell { padding:12px 9px; }
  .formula-cell code { font-size: 11px; overflow-wrap:anywhere; }
  .score-lab .formula-pair { gap:7px; padding-block:14px; }
  .case-controls { gap:12px; }
  .tool-row select { max-width:100%; width:0; }
  .compare-switches,.subject-tabs { gap:6px; }
  .compare-switches button,.subject-tabs button { font-size: 13px; padding: 6px 10px; }
  .index-search { grid-template-columns: 1fr; }
  .bank-board { margin-left: 5px; }
}
