/* Shared public reading surfaces: trust resources and the selection guide. */
.resources-section .resources-grid { gap: 22px; }
.resources-section .resource-col { min-width: 0; padding: 28px; border: 1px solid rgba(0,120,255,.16); border-radius: 24px; background: rgba(255,255,255,.78); box-shadow: 0 12px 40px rgba(31,93,161,.035); transition: border-color .2s, box-shadow .2s; }
.resources-section .resource-col:hover { border-color: rgba(0,120,255,.35); box-shadow: 0 16px 48px rgba(31,93,161,.08); }
.resource-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.resource-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; color: var(--accent); background: rgba(0,120,255,.075); }
.resource-icon svg { width: 24px; height: 24px; }
.resource-index { color: #879bb4; font: 12px var(--font-mono); letter-spacing: .1em; }
.resources-section .resource-col h3 { color: var(--text); font-size: var(--text-size-subheading); font-weight: 600; margin: 0 0 18px; }
.resources-section .resource-col a { display: flex; justify-content: space-between; width: 100%; margin: 0; gap: 16px; min-height: 53px; padding: 12px 10px; border-radius: 10px; color: var(--text-secondary); font-size: 14px; text-decoration: none; }
.resources-section .resource-col a:hover { padding-left: 10px; color: var(--accent); }
.resources-section .resource-col li:last-child a { border-bottom: 0; }
.resources-section .resource-col a > span[aria-hidden="true"]:empty { display: none; }
.selection-guide .selection-hero { padding: 150px 0 64px; }
.selection-guide .selection-hero > .container { max-width: 1200px; }
.selection-hero h1 { max-width: 900px; margin: 18px 0 24px; font-size: clamp(36px,5vw,64px); font-weight: 600; line-height: var(--text-leading-display); letter-spacing: -.045em; }
.selection-hero p:not(.section-label) { max-width: 800px; color: var(--text-secondary); font-size: 18px; line-height: var(--text-leading-reading); }
.selection-hero .landing-actions { margin-top: 28px; }
.selection-guide .selection-layout { display: grid; grid-template-columns: 180px minmax(0,1fr); align-items: start; gap: 36px; max-width: 1200px; padding-bottom: 88px; }
.selection-toc { position: sticky; top: 108px; padding-top: 16px; }
.selection-toc ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.selection-toc a { display: flex; align-items: center; gap: 12px; padding: 12px 10px; border-radius: 10px; color: var(--text-secondary); font-size: 13px; text-decoration: none; transition: color .18s,background .18s; }
.selection-toc a:hover, .selection-toc a:focus-visible { color: var(--accent); background: rgba(0,120,255,.07); }
.selection-toc a > span[aria-hidden] { color: #8097b5; font: 11px var(--font-mono); }
.selection-content { min-width: 0; }
.selection-block { position: relative; min-width: 0; margin-bottom: 28px; padding: 36px; border: 1px solid rgba(0,120,255,.14); border-radius: 24px; background: rgba(255,255,255,.84); scroll-margin-top: 100px; }
.selection-block::before { content: attr(data-step); display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 11px; background: rgba(0,120,255,.08); color: var(--accent); font: 13px var(--font-mono); }
.selection-block > h2 { margin: 0 0 22px; font-size: clamp(23px,2.5vw,30px); font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.selection-block > p { margin: 18px 0; color: var(--text-secondary); font-size: var(--text-size-body); line-height: var(--text-leading-reading); }
.selection-guide .task-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 26px 0 0; }
.selection-guide .task-grid article { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border: 1px solid rgba(0,120,255,.12); border-radius: 16px; background: linear-gradient(145deg,rgba(234,245,255,.8),rgba(255,255,255,.6)); }
.selection-guide .task-grid article:last-child { grid-column: 1 / -1; }
.selection-guide .task-grid h3 { margin: 0; font-size: 16px; font-weight: 600; }
.selection-guide .task-grid a { order: -1; padding: 4px 9px; border-radius: 6px; background: rgba(0,120,255,.08); font-size: 12px; text-decoration: none; }
.selection-guide .task-grid p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: var(--text-leading-reading); }
.selection-guide .content-limit-list { margin: 24px 0; padding: 24px 24px 24px 45px; border: 1px solid rgba(0,120,255,.1); border-radius: 14px; background: #f3f8ff; color: var(--text-secondary); font-size: 14px; }
.selection-guide .guide-code { margin: 24px 0; border-radius: 12px; overflow: hidden; }
.selection-guide .guide-code pre, .selection-guide .guide-code code { white-space: pre-wrap; overflow-wrap: anywhere; }
.selection-guide .decision-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.selection-guide .decision-list article { display: block; padding: 24px; border: 1px solid rgba(0,120,255,.12); border-radius: 16px; background: rgba(243,248,255,.7); }
.selection-guide .decision-list h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; line-height: var(--text-leading-heading); }
.selection-guide .decision-list p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.8; }
.selection-guide .evidence-table-wrap { margin: 26px 0; border: 1px solid var(--border); border-radius: 14px; background: white; overflow-x: auto; }
.selection-guide .evidence-table { min-width: 580px; font-size: 13px; }
.selection-guide .evidence-table caption { padding: 16px 18px; color: var(--text-secondary); text-align: left; font-size: 12px; }
.selection-guide .evidence-table td, .selection-guide .evidence-table th { padding: 14px 16px; }
.selection-guide .evidence-table thead { background: #f2f7ff; }
.selection-guide .evidence-table th a { text-decoration: none; }
.selection-guide .guide-finish { margin: 0; padding: 36px; border: 1px solid rgba(0,120,255,.18); border-radius: 24px; background: linear-gradient(125deg,rgba(216,236,255,.95),rgba(255,255,255,.9)); }
.selection-guide .guide-finish h2 { max-width: 650px; font-size: 28px; font-weight: 600; line-height: var(--text-leading-heading); letter-spacing: -.02em; }
@media (max-width: 1000px) { .selection-guide .selection-layout { grid-template-columns: 150px minmax(0,1fr); gap: 20px; } .selection-block { padding: 28px; } .resources-section .resource-col { padding: 22px; } }
@media (max-width: 760px) { .resources-section .resources-grid { grid-template-columns: 1fr; gap: 16px; } .resource-card-top { margin-bottom: 16px; } .selection-guide .selection-hero { padding: 120px 0 40px; } .selection-hero p:not(.section-label) { font-size: 16px; } .selection-guide .selection-layout { grid-template-columns: 1fr; gap: 20px; } .selection-toc { position: static; padding: 0; } .selection-toc ol { display: flex; flex-wrap: wrap; gap: 6px; } .selection-toc a { padding: 8px 10px; background: rgba(255,255,255,.65); border: 1px solid rgba(0,120,255,.1); font-size: 12px; } .selection-block { padding: 24px 20px; border-radius: 18px; } .selection-guide .task-grid, .selection-guide .decision-list { grid-template-columns: 1fr; } .selection-guide .guide-finish { padding: 28px 22px; } .selection-guide .guide-finish h2 { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .resources-section .resource-col, .selection-toc a { transition: none; } }
