/* Scope to BIOS directory only; article layouts and generator remain unchanged. */
.nx-hub-tiles{--hub-bg:#090d12;--hub-card:#101720;--hub-topic:#141f2d;--hub-line:#293645;--hub-fg:#f0f4fa;--hub-muted:#b5c3d5;--hub-accent:#86b9ff;background:var(--hub-bg);color:var(--hub-fg);padding-block:28px 64px}
.nx-hub-shell{max-width:1200px;width:calc(100% - 64px);margin-inline:auto}
.nx-hub-intro{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:24px}
.nx-hub-intro h1{font-size:2.125rem;line-height:1.2;font-weight:750;letter-spacing:-.025em;margin:0 0 12px;text-wrap:balance}
.nx-hub-intro p{color:var(--hub-muted);font-size:1rem;line-height:1.55;margin:0;max-width:62ch}
.nx-hub-direct{flex:none;max-width:300px;display:grid;gap:6px;font-size:.875rem}
.nx-hub-direct>span{color:var(--hub-muted)}
.nx-hub-direct a{color:var(--hub-accent);display:flex;align-items:center;gap:12px;min-height:44px;font-size:1rem;font-weight:600;text-decoration:underline;text-underline-offset:4px;text-decoration-color:transparent}
.nx-hub-direct a:hover{text-decoration-color:currentColor}
.nx-hub-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:36px}
.nx-hub-topic{display:grid;grid-template-columns:26px minmax(0,1fr) 20px;gap:14px;padding:20px;border:1px solid var(--hub-line);border-radius:14px;background:var(--hub-topic);text-decoration:none;color:var(--hub-fg);align-items:start}
.nx-hub-topic-icon{color:var(--hub-accent);width:26px;height:26px}
.nx-hub-topic-copy{display:grid;gap:8px;min-width:0}
.nx-hub-topic strong{font-size:1rem;line-height:1.35;font-weight:650;text-wrap:balance}
.nx-hub-topic-copy>span{font-size:.875rem;line-height:1.45;color:var(--hub-muted)}
.nx-hub-arrow{width:18px;height:18px;flex:none;color:var(--hub-accent)}
.nx-hub-topic>.nx-hub-arrow{margin-top:3px}
.nx-hub-section{margin-block:0 36px;scroll-margin-top:calc(var(--nx-header-h,84px) + 20px)}
.nx-hub-section h2{font-size:1.375rem;font-weight:700;line-height:1.3;letter-spacing:-.015em;margin:0 0 16px}
.nx-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nx-hub-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;background:var(--hub-card);border:1px solid var(--hub-line);border-radius:14px;padding:20px;text-decoration:none;color:var(--hub-fg);transition:background-color .16s ease,border-color .16s ease}
.nx-hub-card-top{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px;color:var(--hub-accent);margin-bottom:2px}
.nx-hub-card-top>i{font-size:18px;line-height:24px}
.nx-hub-code{font-size:.875rem;font-weight:700;letter-spacing:.04em}
.nx-hub-card h3{font-size:1.0625rem;font-weight:650;line-height:1.35;letter-spacing:-.01em;margin:0;text-wrap:balance;overflow-wrap:anywhere}
.nx-hub-card p{font-size:.9375rem;line-height:1.5;color:var(--hub-muted);margin:0;overflow-wrap:anywhere}
.nx-hub-card:hover,.nx-hub-topic:hover{background:#182335;border-color:#6289b5}
.nx-hub-card:focus-visible,.nx-hub-topic:focus-visible,.nx-hub-direct a:focus-visible{outline:2px solid var(--hub-accent);outline-offset:3px}
.nx-hub-tiles ::selection{color:#fff;background:#244e87}
[dir="rtl"] .nx-hub-arrow{transform:scaleX(-1)}
@media(max-width:1000px){.nx-hub-shell{width:calc(100% - 40px)}.nx-hub-intro{align-items:flex-start}.nx-hub-intro h1{font-size:1.875rem}.nx-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nx-hub-topic{gap:10px;padding:16px;grid-template-columns:22px minmax(0,1fr)}.nx-hub-topic-icon{width:22px;height:22px}.nx-hub-topic>.nx-hub-arrow{display:none}.nx-hub-direct{max-width:230px}}
@media(max-width:600px){.nx-hub-tiles{padding-block:20px 32px}.nx-hub-shell{width:calc(100% - 32px)}.nx-hub-intro{display:block;margin-bottom:20px}.nx-hub-intro h1{font-size:1.75rem;margin-bottom:10px}.nx-hub-direct{display:flex;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:0;max-width:none;margin-top:12px}.nx-hub-direct>span{font-size:.875rem}.nx-hub-direct a{font-size:.9375rem}.nx-hub-topics{grid-template-columns:1fr;gap:8px;margin-bottom:28px}.nx-hub-topic{grid-template-columns:24px minmax(0,1fr) 18px;padding:14px;gap:12px}.nx-hub-topic>.nx-hub-arrow{display:block}.nx-hub-topic-copy{gap:4px}.nx-hub-topic strong{font-size:.9375rem;text-wrap:initial}.nx-hub-topic-copy>span{font-size:.875rem}.nx-hub-grid{grid-template-columns:1fr;gap:10px}.nx-hub-card{padding:16px;gap:8px;display:grid;grid-template-columns:minmax(0,1fr) 20px}.nx-hub-card-top{grid-column:2;grid-row:1;margin:0;align-self:start;justify-content:flex-end}.nx-hub-card-top>i,.nx-hub-card-top>.nx-hub-code{display:none}.nx-hub-card h3{grid-column:1;grid-row:1;font-size:1rem;text-wrap:initial}.nx-hub-card p{grid-column:1/-1;grid-row:2;font-size:.9375rem}.nx-hub-section{margin-bottom:28px}.nx-hub-section h2{font-size:1.25rem;margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.nx-hub-card{transition:none}}
