:root {
  --bg: #030206; --bg-alt: #0E0E0C; --white: #FFFFFC;
  --line: #1E1E17; --line-2: #26261F; --line-3: #3A3A33; --hair: #1D1D18;
  --text: #F5F5F5; --body: #CFCFC9; --muted: #A3A39C; --dim: #8A8A82; --faint: #5A5A52; --node: #6E6E66;
  --yellow: #F3FF97; --max: 1200px; --pad: 32px; --header-h: 67px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); }
body { background: var(--bg); color: var(--text); font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--yellow); text-decoration: none; }
a:hover { color: var(--white); }
button { cursor: pointer; font-family: inherit; color: inherit; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
@media (max-width: 600px) { :root { --pad: 20px; } }
.h2 { font-size: clamp(24px, 4.5vw, 42px); line-height: 1.1; font-weight: 600; letter-spacing: -.01em; }
.sub { margin-top: 20px; max-width: 640px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--yellow); display: block; }
.center .eyebrow { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 8px; font-size: 15px; font-weight: 600; border: 1px solid transparent; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-yellow { background: var(--yellow); color: var(--bg); }
.btn-yellow:hover { background: var(--white); color: var(--bg); }
.btn-line { border-color: var(--yellow); color: var(--yellow); font-weight: 500; }
.btn-line:hover { background: var(--yellow); color: var(--bg); }
.btn-ghost { border-color: var(--line-3); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.link { font-size: 15px; font-weight: 500; color: var(--yellow); transition: color .2s; }
.link:hover { color: var(--white); }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(3,2,6,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 18px; font-weight: 600; }
.brand:hover { color: var(--text); }
.brand img { height: 38px; width: auto; }
.brand .word { display: none; }
.brand img[hidden] + .word { display: inline; }
.header nav { display: flex; align-items: center; gap: 28px; }
.header nav a:not(.btn), .header nav button:not(.btn) { color: var(--body); font-size: 15px; white-space: nowrap; }
.header nav a:not(.btn):hover, .header nav button:not(.btn):hover { color: var(--text); }
@media (max-width: 1060px) { .header nav .nav-text { display: none; } }
.hero { padding: 88px 0 96px; }
.hero .h2 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -.015em; }
.hero .h2 em { font-style: normal; color: var(--yellow); }
.search { max-width: 880px; margin: 48px auto 0; text-align: left; background: var(--bg-alt); border: 1px solid var(--line-2); border-radius: 12px; padding: 28px; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--bg); }
.tab { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 7px; font-size: 14px; font-weight: 600; white-space: nowrap; color: var(--body); transition: background-color .2s, color .2s; }
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { background: var(--yellow); color: var(--bg); }
.search-row { position: relative; margin-top: 16px; }
.search-row svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; fill: none; stroke: var(--dim); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.search-row input { width: 100%; height: 64px; padding: 0 128px 0 54px; background: var(--bg); border: 1px solid var(--line-3); border-radius: 10px; color: var(--text); font-family: inherit; font-size: 17px; outline: none; transition: border-color .2s; }
.search-row input::placeholder { color: var(--faint); }
.search-row input:focus { border-color: var(--yellow); }
.search-row input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.search-row .btn { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); min-height: 44px; }
.search-row .btn:disabled { opacity: .55; cursor: wait; }
.examples { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.examples span { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--dim); margin-right: 4px; }
.examples button { font-size: 13px; padding: 6px 12px; border: 1px solid var(--line-3); border-radius: 999px; color: var(--body); transition: border-color .2s, color .2s; }
.examples button:hover { border-color: var(--yellow); color: var(--yellow); }
.ai-out { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.ai-thinking { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; transform: rotate(45deg); background: var(--yellow); animation: blink 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.ai-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.ai-list { list-style: none; border-top: 1px solid var(--line-3); }
.ai-list li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 12px; border-bottom: 1px solid var(--line-2); transition: background-color .3s; }
.ai-list li:hover { background: var(--bg); }
.ai-list .rank { font-size: 13px; font-weight: 600; color: var(--yellow); font-variant-numeric: tabular-nums; }
.ai-list .who { font-size: 19px; font-weight: 600; line-height: 1.3; }
.ai-list .why { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 4px; }
.ai-list .open { font-size: 14px; font-weight: 500; color: var(--yellow); white-space: nowrap; }
.ai-list .open:hover { color: var(--white); }
.ai-note { font-size: 15px; color: var(--body); line-height: 1.6; }
.ai-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 20px; }
.ai-disclaimer { font-size: 13px; color: var(--dim); }
.ai-error { font-size: 15px; color: var(--yellow); }
.directory { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 96px 0 112px; scroll-margin-top: var(--header-h); }
.dir-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.dir-head .sub { margin-top: 16px; }
.toolbar { position: sticky; top: var(--header-h); z-index: 50; margin-top: 40px; padding: 16px 0; background: var(--bg-alt); border-bottom: 1px solid var(--line-3); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.toolbar .tabs { background: var(--bg); }
.toolbar .tab { min-height: 38px; padding: 0 14px; font-size: 13.5px; }
.tools { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-wrap: wrap; }
.select { height: 48px; padding: 0 38px 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23CFCFC9' fill='none' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; -webkit-appearance: none; appearance: none; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--body); cursor: pointer; transition: border-color .2s; }
.select:hover { border-color: var(--line-3); color: var(--text); }
.select option { background: var(--bg-alt); }
.chip-ai { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: 10px; border: 1.5px solid var(--yellow); color: var(--yellow); font-size: 14px; font-weight: 600; }
.chip-ai:hover { background: var(--yellow); color: var(--bg); }
.toolbar .link { font-size: 14px; }
.grid { scroll-margin-top: 200px; margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.card { position: relative; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 18px; transition: border-color .25s; }
.card:hover { border-color: var(--line-3); }
.card:focus-within { border-color: var(--line-3); }
.card-top { display: flex; gap: 16px; align-items: center; }
.logo { width: 56px; height: 56px; border-radius: 10px; flex: none; display: grid; place-items: center; background: #FFFFFF; color: var(--bg); font-size: 16px; font-weight: 700; letter-spacing: .01em; overflow: hidden; }
.logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.loc { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.card-name { flex: 1; min-width: 0; font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.card-name a { color: var(--text); }
.card-name a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.card-name a:hover { color: var(--text); }
.pill { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line-3); border-radius: 999px; color: var(--body); white-space: nowrap; align-self: flex-start; }
.pill.live { background: var(--yellow); border-color: var(--yellow); color: var(--bg); font-weight: 600; }
.pill.delivered { border-color: var(--yellow); color: var(--yellow); }
.card-why { font-size: 14.5px; line-height: 1.55; color: var(--text); border-left: 2px solid var(--yellow); padding: 2px 0 2px 12px; }
.card-why b { color: var(--yellow); font-weight: 600; }
.card-desc { font-size: 15px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tags { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tag { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--body); }
.tag::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid var(--node); flex: none; }
.tag.Institutional::before { background: var(--yellow); border-color: var(--yellow); }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); }
.card-foot .go { font-size: 14px; font-weight: 500; color: var(--yellow); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.card:hover .card-foot .go { transform: translateX(4px); }
.card-foot .meta { margin-left: auto; font-size: 13px; color: var(--dim); }
.rail { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 2px; }
.rail::before, .rail::after { content: ""; position: absolute; top: 7px; left: 5px; }
.rail::before { right: calc(33.333% - 5px); height: 1px; background: var(--line-3); }
.rail::after { top: 6px; height: 3px; width: calc(var(--reach, 0) * 33.333%); background: var(--yellow); }
.st { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: start; }
.st i { width: 10px; height: 10px; transform: rotate(45deg); margin: 2px 0 0 0; background: var(--bg); border: 1px solid var(--node); }
.st.on i { background: var(--yellow); border-color: var(--yellow); box-shadow: 0 0 6px rgba(243,255,151,.45); }
.st em { font-style: normal; font-size: 13px; color: var(--dim); }
.st.on em { color: var(--body); }
.st em b { color: var(--text); font-weight: 600; margin-right: 4px; font-variant-numeric: tabular-nums; }
.empty { grid-column: 1 / -1; text-align: center; padding: 64px 16px; color: var(--muted); font-size: 16px; border: 1px dashed var(--line-3); border-radius: 12px; }
.empty .btn { margin-top: 16px; }
.closing { padding: 128px 0; text-align: center; }
.closing h2 { font-size: clamp(40px, 5.4vw, 64px); line-height: 1.08; font-weight: 700; letter-spacing: -.015em; }
.closing h2 em { font-style: normal; color: var(--yellow); }
.closing p.s { margin-top: 24px; font-size: 18px; color: var(--body); }
.closing .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
footer { border-top: 1px solid var(--line); padding: 64px 0 calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot.no-program { grid-template-columns: 1.6fr 1fr 1fr; }
.foot .brand img { height: 32px; }
.foot .tagline { margin-top: 16px; font-size: 15px; color: var(--text); }
.foot .tagline em { font-style: normal; color: var(--yellow); }
.foot h4 { font-size: 13px; font-weight: 400; color: var(--dim); margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot ul a, .foot ul button { color: var(--text); font-size: 15px; text-align: left; }
.foot ul a:hover, .foot ul button:hover { color: var(--yellow); }
.legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--dim); }
.legal button { font: inherit; color: var(--dim); }
.legal button:hover { color: var(--text); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr 1fr; } .foot > div:first-child { grid-column: 1 / -1; } }
.scrim { position: fixed; inset: 0; z-index: 190; background: rgba(3,2,6,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 200; width: min(620px, 100%); display: flex; flex-direction: column; background: var(--bg-alt); border-left: 1px solid var(--line-2); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; border-bottom: 1px solid var(--line-2); flex-shrink: 0; }
.drawer-head span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.x { font-size: 26px; font-weight: 300; color: var(--muted); line-height: 1; padding: 2px 6px; }
.x:hover { color: var(--yellow); }
.drawer-body { flex: 1; overflow-y: auto; padding: 32px 28px 40px; }
.p-top { display: flex; gap: 18px; align-items: center; }
.p-top .logo { width: 68px; height: 68px; font-size: 20px; }
.p-name { margin-top: 4px; font-size: 34px; font-weight: 700; letter-spacing: -.01em; line-height: 1.1; }
.p-status { margin-top: 20px; font-size: 16px; color: var(--body); line-height: 1.6; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.facts div { padding: 16px; border-left: 1px solid var(--line-2); }
.facts div:first-child { border-left: 0; }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.facts dd { margin-top: 6px; font-size: 16px; font-weight: 600; }
.facts dd.yes { color: var(--yellow); }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.creds .pill { font-size: 13px; padding: 5px 12px; }
.p-rail { margin-top: 12px; padding: 20px 20px 16px; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; }
.sec { margin-top: 36px; }
.sec h3 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line-3); }
.sec p { font-size: 16px; line-height: 1.65; color: var(--body); }
.sec p + p { margin-top: 8px; }
.soft { color: var(--dim) !important; }
.demos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.demos li { font-size: 13.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--yellow); color: var(--yellow); }
.projects { list-style: none; }
.projects li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.projects li:first-child { padding-top: 4px; }
.projects .pill { justify-self: start; }
.pj-name { font-size: 16px; font-weight: 600; }
.pj-more { margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.check { margin-top: 6px; font-size: 13.5px; color: var(--yellow); }
.sources { list-style: none; display: grid; gap: 8px; }
.sources a { font-size: 14.5px; overflow-wrap: anywhere; }
.p-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 28px; border-top: 1px solid var(--line-2); flex-shrink: 0; }

/* Dialogs */
dialog { color: var(--text); background: var(--bg-alt); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 24px 64px rgba(0,0,0,.6); padding: 0; margin: auto; }
dialog::backdrop { background: rgba(3,2,6,.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dlg-head { position: sticky; top: 0; z-index: 2; background: var(--bg-alt); display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 28px 18px; border-bottom: 1px solid var(--line-2); }
.dlg-title { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.dlg-sub { font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.55; max-width: 56ch; }
.legend { width: min(600px, calc(100vw - 2rem)); }
.legend-body { padding: 8px 28px 28px; }
.legend h3 { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin: 24px 0 10px; }
.legend dl { display: grid; grid-template-columns: 170px 1fr; gap: 8px 16px; }
.legend dt { font-size: 15px; font-weight: 600; }
.legend dd, .legend p { font-size: 15px; color: var(--body); line-height: 1.6; }
.add { width: min(760px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); }
.add-body { padding: 8px 28px 24px; }
.add fieldset { border: 0; margin-top: 24px; min-width: 0; }
.add legend { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.f { display: grid; gap: 6px; align-content: start; }
.f--wide { grid-column: 1 / -1; }
.f > span { font-size: 14px; font-weight: 500; color: var(--body); }
.f > span i { font-style: normal; font-weight: 400; color: var(--dim); }
.f small { font-size: 13px; color: var(--dim); line-height: 1.5; }
.add input[type=text], .add input[type=month], .add select, .add textarea { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-3); border-radius: 8px; background: var(--bg); font-family: inherit; font-size: 15px; color: var(--text); outline: none; transition: border-color .2s; color-scheme: dark; }
.add textarea { height: auto; min-height: 80px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.add input:focus, .add select:focus, .add textarea:focus { border-color: var(--yellow); }
.add input::placeholder, .add textarea::placeholder { color: var(--faint); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.checks label { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--body); cursor: pointer; }
.checks input { appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border-radius: 4px; border: 1px solid var(--node); background: var(--bg); cursor: pointer; position: relative; }
.checks input:checked { background: var(--yellow); border-color: var(--yellow); }
.checks input:checked::after { content: "✓"; position: absolute; top: -3px; left: 3px; color: var(--bg); font-size: 11px; font-weight: 700; }
.proj { border-top: 1px solid var(--line-2); padding: 14px 0 6px; }
.proj__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.proj__top strong { font-size: 14px; font-weight: 600; }
.proj__top .link { font-size: 13px; }
.err { margin-top: 20px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--yellow); font-size: 14px; line-height: 1.55; color: var(--text); }
.err ul { margin-top: 6px; padding-left: 18px; color: var(--body); }
.add-foot { position: sticky; bottom: 0; background: var(--bg-alt); border-top: 1px solid var(--line-2); padding: 16px 28px; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.done { padding: 24px 28px 28px; }
.done h3 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.done ol { padding-left: 18px; font-size: 15px; line-height: 1.75; color: var(--body); }
.done ol strong { color: var(--text); font-weight: 600; }
.done code { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--yellow); }
.done .actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 20px; }
.done .hint { margin: 20px 0 8px; font-size: 13px; color: var(--dim); }
.done pre { font-family: ui-monospace, Menlo, monospace; font-size: 12px; line-height: 1.55; color: var(--body); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 14px; max-height: 220px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }

@media (max-width: 860px) {
  .hero { padding: 64px 0 72px; }
  .search { padding: 20px; }
  .directory { padding: 72px 0 88px; }
  .toolbar { position: static; }
  .toolbar .tabs { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
  .toolbar .tabs::-webkit-scrollbar { display: none; }
  .tools { margin-left: 0; }
  .ai-list li { grid-template-columns: 28px 1fr; }
  .ai-list .open { grid-column: 2; justify-self: start; }
  .closing { padding: 96px 0; }
}
@media (max-width: 600px) {
  .header nav { gap: 12px; }
  .header nav .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .header .long { display: none; }
  .brand img { height: 30px; }
  .search-row input { height: 56px; padding-right: 100px; font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .grid2, .facts { grid-template-columns: 1fr; }
  .facts div { border-left: 0; border-top: 1px solid var(--line-2); }
  .facts div:first-child { border-top: 0; }
  .legend dl { grid-template-columns: 1fr; gap: 2px; }
  .legend dd { margin-bottom: 8px; }
  .drawer-body, .drawer-head, .p-actions { padding-left: 20px; padding-right: 20px; }
  .p-name { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }