/* The homepage's "Look inside a reactor type" (scripts/type_look.py, site_assets/type_look.js). */
.type-look { margin: 0 0 .75rem; padding: .65rem .75rem; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.type-look h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.type-look-picker { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .6rem; }
.type-look button { min-height: 44px; padding: .3rem .7rem; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; }
.type-look-picker button[aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); font-weight: 600; }
.type-look-body { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: .5rem 1rem; align-items: start; }
@media (max-width: 40rem) {
  .type-look-body { grid-template-columns: minmax(0, 1fr); }
  .type-look-picker { display: grid; grid-template-columns: 1fr 1fr; }
  .type-look-picker button { padding: .25rem .5rem; line-height: 1.2; text-align: left; font-size: .9rem; }
}
.type-look-figure { margin: 0; max-width: 360px; }
.type-look-frame { aspect-ratio: 4 / 3; background: #0f1318 no-repeat 50% 0; border-radius: var(--radius); overflow: hidden; }
.type-look-frame img { display: block; width: 100%; height: auto; }
.type-look-frame.is-strip img { opacity: 0; } /* stays in the accessibility tree with its alt */
.type-look-turn { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .5rem; margin: .4rem 0; }
.type-look-said { font-size: .9rem; }
.type-look-pictured, .type-look-note { font-size: .85rem; }
.type-look-note { margin: .6rem 0 0; }
.type-look.is-live .type-look-pictured { display: none; }
.type-look-list { margin: 0; padding: 0; list-style: none; }
.type-look-item h4 { margin: 0 0 .25rem; font-size: 1rem; }
.type-look-item p { margin: 0 0 .35rem; }
.type-look-item + .type-look-item { margin-top: .6rem; }
.type-look.is-live .type-look-item { display: none; }
.type-look.is-live .type-look-item.is-shown { display: block; margin: 0; }
/* The plant walkthroughs' entry under it (scripts/plant_page.py, 25 November 2026). */
.plant-entry { margin: 0 0 .75rem; padding: .65rem .75rem; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); }
.plant-entry h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.plant-entry-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: .6rem 1rem; margin: 0 0 .4rem; padding: 0; list-style: none; }
.plant-entry-list li { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: .6rem; align-items: start; }
.plant-entry-list img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: #0f1318; }
@media (max-width: 640px) { .plant-entry-list li { grid-template-columns: minmax(0, 96px) minmax(0, 1fr); } }
.plant-entry p { margin: 0; }
