/* Nobel Ideas */
.nb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 4px 0 22px; }
.nb-fact { background: var(--surface-strong); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); }
.nb-fact b { display: block; font: 800 26px/1.1 var(--display); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nb-fact span { font-size: 13px; color: var(--ink-2); }

.nb-ctrls { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.nb-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.nb-filters button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface-strong); color: var(--ink-2); border-radius: 999px; padding: 6px 13px; font-weight: 600; font-size: 13px; transition: all .15s; }
.nb-filters button i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.nb-filters button:hover { border-color: var(--line-2); color: var(--ink); }
.nb-filters button.on { background: var(--ink); color: var(--bg-1); border-color: var(--ink); }

.nb-chart { padding: 14px 16px 8px; }
.nb-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--ink-2); align-items: center; margin-bottom: 6px; }
.nb-legend i { display: inline-block; vertical-align: -1px; margin-right: 6px; }
.nb-l-idea { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.nb-l-app { width: 9px; height: 9px; transform: rotate(45deg); border: 2px solid var(--accent); background: var(--surface-strong); }
.nb-hint { margin-left: auto; color: var(--ink-3); }
.nb-svgwrap { overflow-x: auto; }
.nb-svg { width: 100%; min-width: 640px; height: auto; display: block; }
.nb-grid { stroke: var(--line); }
.nb-ax { font: 600 11px var(--font); fill: var(--ink-3); }
.nb-row { cursor: pointer; outline: none; }
.nb-hit { fill: transparent; }
.nb-row:hover .nb-hit, .nb-row:focus-visible .nb-hit { fill: var(--accent-soft); }
.nb-row.on .nb-hit { fill: var(--accent-soft-2); }
.nb-name { font: 600 11.5px var(--font); fill: var(--ink-2); }
.nb-row:hover .nb-name, .nb-row.on .nb-name { fill: var(--ink); font-weight: 700; }
.nb-span { stroke-width: 3.5; stroke-linecap: round; opacity: .55; }
.nb-row:hover .nb-span, .nb-row.on .nb-span { opacity: 1; }
.nb-app { fill: var(--surface-strong); stroke-width: 2; }
.nb-medal { font-size: 13px; }
.nb-wait { font: 700 10.5px var(--font); fill: var(--ink-3); }

.nb-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.nb-card { padding: 18px; display: flex; flex-direction: column; border-top: 4px solid var(--c); transition: box-shadow .25s, transform .25s; scroll-margin: 90px; }
.nb-card.hl { box-shadow: 0 0 0 3px var(--accent-soft-2), var(--shadow); transform: translateY(-2px); }
.nb-ch { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.nb-ic { width: 42px; height: 42px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 22px; }
.nb-theme { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--c); }
.nb-title { font: 800 17px/1.25 var(--display); letter-spacing: -.01em; margin: 2px 0; color: var(--ink); text-transform: none; }
.nb-who { font-size: 12.5px; color: var(--ink-3); }
.nb-year { font: 800 22px var(--display); letter-spacing: -.02em; color: var(--ink); }
.nb-track { position: relative; height: 22px; margin: 16px 10px 2px; }
.nb-tr-line { position: absolute; left: 0; right: 0; top: 10px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 35%, transparent)); }
.nb-tr-dot, .nb-tr-app, .nb-tr-medal { position: absolute; top: 11px; transform: translate(-50%, -50%); }
.nb-tr-dot { width: 13px; height: 13px; border-radius: 50%; background: var(--c); }
.nb-tr-app { width: 11px; height: 11px; transform: translate(-50%, -50%) rotate(45deg); background: var(--surface-strong); border: 2px solid var(--c); }
.nb-tr-medal { font-size: 18px; }
.nb-track-labels { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); font-weight: 600; margin: 0 2px 6px; }
.nb-track-labels span:nth-child(2) { color: var(--ink-2); }
.nb-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; flex: 1; }
.nb-steps li { padding-left: 12px; border-left: 2px solid var(--line-2); }
.nb-step { font-size: 12px; font-weight: 800; color: var(--ink); }
.nb-steps p { margin: 2px 0 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.nb-go { margin-top: 14px; align-self: flex-start; border: 1px solid var(--accent-soft-2); background: var(--accent-soft); color: var(--accent-ink); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 13px; transition: background .15s; }
.nb-go:hover { background: var(--accent-soft-2); }

@media (max-width: 760px) {
  .nb-facts { grid-template-columns: 1fr; }
  .nb-cards { grid-template-columns: 1fr; }
  .nb-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nb-card { transition: none; } }

.nb-swipe { display: none; color: var(--accent-ink); font-weight: 600; }
@media (max-width: 760px) { .nb-swipe { display: inline; } }
