/* Round 2 concept sheets (widgets/concepts/concepts.js) */
.cs { container-type: size; background: var(--tile-bg); font-size: 12px; line-height: 1.38; color: var(--ink-2); }
.cs__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 10px; height: 100%; padding: 10px; }
.cs button { font: inherit; color: inherit; cursor: pointer; }
.cs__sheet { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto minmax(0, 1fr) auto; overflow: hidden; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ink); }
.cs__sheet > * { grid-column: 1 / -1; padding: 8px 12px; min-height: 0; overflow: hidden; }
.cs__sheet.is-in > * { animation: cs-in .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes cs-in { from { opacity: 0; transform: translateY(6px); } }
.cs__title { display: flex; flex-direction: column; gap: 2px; border-bottom: 2px solid var(--ink); }
.cs__title b { font-size: 17px; line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.cs__title em { align-self: flex-start; margin-top: 2px; padding: 1px 8px; border-radius: 100px; background: var(--mark); color: #fff; font-style: normal; font-size: 11px; }
.cs__facts { margin: 0; display: grid; grid-auto-flow: column; grid-template-rows: auto auto; grid-template-columns: 1.4fr 1fr .7fr; column-gap: 12px; border-bottom: 2px solid var(--ink); }
.cs__facts dt { font-size: 12px; font-weight: 600; color: var(--ink); }
.cs__facts dd { margin: 0; font-size: 11.5px; line-height: 1.3; }
.cs__research { overflow-y: auto !important; scrollbar-width: thin; }
.cs h4 { margin: 0 0 3px; font-size: 13px; color: var(--ink); }
.cs ul { margin: 0; padding: 0 0 0 14px; }
.cs__research ul { font-size: 11.5px; color: var(--muted); }
.cs__fb { display: grid; grid-template-columns: 1fr 1fr; padding: 0 !important; border-top: 2px solid var(--ink); }
.cs__fb > div { padding: 8px 12px 10px; }
.cs__fb > div + div { border-left: 2px solid var(--ink); }
.cs__none { margin: 0; color: var(--muted); font-style: italic; }
.cs__side { min-height: 0; display: flex; flex-direction: column; gap: 8px; }
.cs__filters { display: flex; flex-wrap: wrap; gap: 4px; }
.cs__filters button { padding: 3px 10px; border: 0; border-radius: 100px; background: none; box-shadow: inset 0 0 0 1px var(--line); font-size: 11.5px; }
.cs__filters button[aria-pressed=true] { background: var(--ink); color: var(--bg); box-shadow: none; }
.cs__filters .cs__f-final[aria-pressed=false] { box-shadow: inset 0 0 0 1px var(--mark); color: var(--mark); }
.cs__cards { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: max-content; gap: 5px; align-content: start; overflow-x: hidden; overflow-y: auto; }
.cs__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 22px 10px 8px; border: 0; border-radius: 10px; background: var(--bg); text-align: left; transition: background-color .2s ease, color .2s ease; }
.cs__card[hidden] { display: none; }
.cs__card b { font-size: 12.5px; line-height: 1.2; color: inherit; }
.cs__card span { font-size: 10.5px; opacity: .65; }
.cs__card em { position: absolute; top: 6px; right: 8px; font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--mark); }
.cs__card:hover { box-shadow: inset 0 0 0 1px var(--ink-2); }
.cs__card[aria-pressed=true] { background: var(--ink); color: var(--bg); }
.cs__card[aria-pressed=true] em { color: var(--bg); }
/* Narrow frames (small windows, phones): the sheet on top at its natural height, the cards under it, the whole
   widget scrolling up and down. */
@container (max-width: 640px) {
  .cs__in { grid-template-columns: minmax(0, 1fr); grid-auto-rows: max-content; overflow-x: hidden; overflow-y: auto; scrollbar-width: thin; }
  .cs__sheet, .cs__sheet > * { overflow: visible; }
  .cs__research { overflow: visible !important; }
  .cs__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; }
}
@container (max-width: 360px) { .cs__fb { grid-template-columns: 1fr; } .cs__fb > div + div { border-left: 0; border-top: 2px solid var(--ink); } }
@media (prefers-reduced-motion: reduce) { .cs__sheet.is-in > * { animation: none; } }
