/* NeurIPS 2026 planner (/service/neurips26/): a standalone QRS tool, credited by the logo footer.
   House style as in workshops.css: Frutiger type, hairline rules, square corners, generous space, QRS navy
   for anything interactive. The planner is colourful, and every colour still names something:
     navy         the app bar and heroes; interactive (links, buttons, focus, the current tab)
     --f-*        the seven research families. Their order is checked with the dataviz palette validator, so
                  keep the order and re-run it after changing a value. Never use them for status.
     --cat-*      the event categories (talks, sessions, tutorials and so on)
     transit      the Sydney line colours on the hotel journey strips, and only there
     red, amber   time only (--np-red, --np-amber: the schedule UI uses these for clashes and "now")
     grey         passed, missing or not published
   Information marks (the characters check, !, -) are ink and grey glyphs, not colours.

   Sections: tokens, base, app bar and tabs, layout, components, footer, then one section per page.
   Every page uses the same shell, with aria-current="page" on its own tab and paths adjusted for depth:

     <a class="np-skip" href="#main">Skip to content</a>
     <header class="np-appbar"><div class="np-wrap np-appbar-in">
       <a class="np-appbar-name" href="../">NeurIPS 2026 planner</a>
       <nav class="np-tabs" aria-label="Planner">
         <a href="../">Today</a><a href="../schedule/">Schedule</a><a href="../itinerary/">My plan</a>
         <a href="../hotels/">Hotels</a><a href="../guide/">Guide</a><a href="../agents/">Agents</a>
       </nav>
     </div></header>
     <main id="main" class="np-main">...</main>
     <footer class="np-footer">...</footer>

   Below 768 px the tabs become a fixed bottom bar and Agents moves to the footer only.
   assets/gate.js goes in the head; assets/shell.js loads on every page (service worker, offline line, plan badge). */

/* Only the one Latin face: site/fonts.css would also load 11 MB of Chinese. Other scripts use system fonts. */
@font-face { font-family: 'QRS Frutiger'; src: url('../../../fonts/Frutiger45Light.otf') format('opentype'); font-style: normal; font-weight: 300; font-display: swap; }

/* Tokens */
:root {
    color-scheme: light dark;
    --np-font: 'QRS Frutiger', 'Segoe UI', 'Noto Sans', system-ui, sans-serif;
    --np-bg: #fff; --np-ink: #1a1a1a; --np-text: #3d3d3d; --np-muted: #666; --np-rule: #d4d4d4; --np-soft: #ebebeb; --np-alt: #f5f5f5;
    --np-control: #8c8c8c;
    --np-navy: #183b63; --np-navy-hover: #102c4b; --np-navy-tint: #edf1f6; --np-on-navy: #fff;
    --np-red: #c8102e; --np-red-tint: #fbeaec; --np-amber: #a15c00; --np-amber-tint: #fdf1e1; --np-grey: #767676;
    --np-walk: #767676;
    --np-tabs-h: 3.5rem;
    --np-hero: #183b63; --np-hero-2: #102c4b; --np-on-hero: #fff; --np-on-hero-soft: #c9d6e6; --np-spot: #eda100;
    --f-methods: #2a78d6; --f-language: #eb6834; --f-science: #1baf7a; --f-finance: #eda100; --f-vision: #e87ba4; --f-trust: #008300; --f-agents: #6250d6; --f-other: #b8bcc4;
    --vz-org-company: #6250d6; --vz-org-university: #2a78d6; --vz-heat: #183b63;
}
@media (prefers-color-scheme: dark) {
    :root {
        --np-bg: #141518; --np-ink: #f2f2f2; --np-text: #d4d4d4; --np-muted: #a9a9a9; --np-rule: #45474d; --np-soft: #2e3036; --np-alt: #1e2024;
        --np-control: #8a8c92;
        --np-navy: #a9c6ea; --np-navy-hover: #c6daf2; --np-navy-tint: #223044; --np-on-navy: #10151c;
        --np-red: #ff8f9f; --np-red-tint: #3a1a20; --np-amber: #f2b45e; --np-amber-tint: #33260f; --np-grey: #9a9a9a;
        --np-walk: #a9a9a9;
        --np-hero: #1b3556; --np-hero-2: #142a45;
        --f-methods: #3987e5; --f-language: #d95926; --f-science: #199e70; --f-finance: #c98500; --f-vision: #d55181; --f-trust: #008300; --f-agents: #9085e9; --f-other: #5e626b;
        --vz-org-company: #9085e9; --vz-org-university: #3987e5; --vz-heat: #79aef2;
    }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; font-family: var(--np-font); font-weight: 300; font-size: 1rem; line-height: 1.6; color: var(--np-text); background: var(--np-bg); overflow-wrap: break-word; }
h1, h2, h3, h4 { margin: 0; font-family: var(--np-font); font-weight: 300; font-synthesis: none; color: var(--np-ink); line-height: 1.25; }
h1 { font-size: clamp(2.1rem, 7vw, 3.2rem); line-height: 1.1; letter-spacing: -.01em; }
h2 { font-size: clamp(1.45rem, 4vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 .75rem; }
b, strong { font-weight: 400; color: var(--np-ink); font-synthesis: none; }
a { color: var(--np-navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--np-navy-hover); }
code, pre { font-family: Consolas, Menlo, 'Courier New', monospace; font-size: .85em; }
ul, ol { margin: 0 0 .75rem; padding-left: 1.2rem; }
li + li { margin-top: .3rem; }
ul { list-style: square; }
:focus-visible { outline: 2px solid var(--np-navy); outline-offset: 2px; }
[hidden] { display: none !important; }
.np-skip { position: absolute; left: .5rem; top: -4rem; z-index: 30; padding: .6rem 1rem; color: var(--np-on-navy); background: var(--np-navy); }
.np-skip:focus { top: .5rem; color: var(--np-on-navy); }
.np-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* App bar and tabs */
.np-wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
/* The strip under the bar is the seven research families in order: solid blocks, the planner's signature. */
.np-appbar { background: var(--np-hero); }
.np-appbar::after { content: ""; display: block; height: 5px; background: linear-gradient(90deg, var(--f-methods) 0 14.28%, var(--f-language) 0 28.57%, var(--f-science) 0 42.85%, var(--f-finance) 0 57.14%, var(--f-vision) 0 71.42%, var(--f-trust) 0 85.71%, var(--f-agents) 0); }
.np-appbar-in { display: flex; align-items: center; justify-content: space-between; gap: .5rem 2rem; min-height: 3.25rem; }
.np-appbar-name { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; font-size: 1.05rem; color: var(--np-on-hero); text-decoration: none; }
.np-appbar-name:hover { color: var(--np-on-hero); }
.np-appbar-name::before { content: ""; width: .7rem; height: .7rem; background: var(--np-spot); }
.np-tabs { display: flex; gap: 0 .35rem; }
.np-tabs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 .65rem; font-size: .9rem; color: var(--np-on-hero-soft); text-decoration: none; border-bottom: 3px solid transparent; }
.np-tabs a:hover { color: var(--np-on-hero); border-bottom-color: var(--np-on-hero-soft); }
.np-tabs a[aria-current="page"] { color: var(--np-on-hero); border-bottom-color: var(--np-spot); }
@media (max-width: 767px) {
    .np-tabs a { color: var(--np-text); }
    .np-tabs a:hover { color: var(--np-navy); }
    .np-tabs a[aria-current="page"] { color: var(--np-ink); }
    body { padding-bottom: calc(var(--np-tabs-h) + env(safe-area-inset-bottom)); }
    .np-tabs { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; gap: 0; padding-bottom: env(safe-area-inset-bottom); background: var(--np-bg); border-top: 1px solid var(--np-rule); }
    .np-tabs a { flex: 1 1 0; min-width: 0; min-height: var(--np-tabs-h); padding: 0 .1rem; font-size: .72rem; border-bottom: 0; border-top: 3px solid transparent; }
    .np-tabs a:hover { border-top-color: var(--np-rule); }
    .np-tabs a[aria-current="page"] { border-top-color: var(--np-navy); }
    .np-tabs a:focus-visible { outline-offset: -3px; }
}

/* Layout */
.np-hero { padding: 2rem 0 1.9rem; color: var(--np-on-hero-soft); background: var(--np-hero-2); }
.np-hero h1 { color: var(--np-on-hero); }
.np-hero .np-eyebrow { color: var(--np-on-hero-soft); }
.np-hero a { color: var(--np-on-hero); }
.np-hero a:hover { color: var(--np-spot); }
.np-hero p { color: var(--np-on-hero-soft); }
.np-eyebrow { margin: 0 0 .6rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--np-muted); }
.np-lede { max-width: 42rem; margin: .75rem 0 0; font-size: 1.05rem; line-height: 1.7; color: var(--np-text); }
.np-body { padding: 1.5rem 0 3.5rem; }
.np-section { padding: 2rem 0 0; scroll-margin-top: 1rem; }
.np-section > h2 { margin-bottom: .9rem; padding-bottom: .5rem; border-bottom: 2px solid var(--np-ink); }
.np-section h3 { margin: 1.5rem 0 .5rem; }
.np-prose { max-width: 46rem; }
.np-muted { color: var(--np-muted); }
.np-small { font-size: .85rem; }
.np-ns { color: var(--np-muted); font-style: italic; font-synthesis: none; }

/* Components */
.np-ext::after { content: " \2197"; font-size: .85em; }
.np-actions { display: flex; flex-wrap: wrap; gap: .5rem .75rem; margin: 1.25rem 0 0; }
.np-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1.1rem; font: inherit; font-size: .92rem; text-decoration: none; border: 1px solid var(--np-navy); cursor: pointer; }
.np-btn-primary { color: var(--np-on-navy); background: var(--np-navy); }
.np-btn-primary:hover { color: var(--np-on-navy); background: var(--np-navy-hover); }
.np-btn-secondary { color: var(--np-navy); background: transparent; }
.np-btn-secondary:hover { background: var(--np-navy-tint); }
.np-notice { margin: 0 0 1rem; padding: .85rem 1rem; background: var(--np-alt); border-left: 3px solid var(--np-ink); }
.np-notice > :last-child { margin-bottom: 0; }
.np-notice-title { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--np-ink); }
.np-error { margin: 1.5rem 0; padding: 1rem 1.25rem; border: 1px solid var(--np-ink); }
.np-jump { display: flex; flex-wrap: wrap; gap: 0 1.25rem; list-style: none; margin: 1rem 0 0; padding: 0; font-size: .9rem; }
.np-jump li { margin: 0; }
.np-jump a { display: inline-flex; align-items: center; min-height: 44px; }
.np-table-wrap { overflow-x: auto; margin: 0 0 1rem; }
.np-table-wrap:focus-visible { outline-offset: 0; }
.np-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.np-table th, .np-table td { padding: .6rem .75rem .6rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--np-soft); }
.np-table thead th { font-size: .7rem; font-weight: 300; text-transform: uppercase; letter-spacing: .08em; color: var(--np-muted); vertical-align: bottom; border-bottom: 2px solid var(--np-ink); }
.np-table tbody th { font-weight: 300; color: var(--np-ink); }
.np-table td.np-num, .np-table th.np-num { text-align: right; font-variant-numeric: tabular-nums; }
.np-dl { margin: 0 0 1rem; }
.np-dl > div { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: .1rem 1rem; padding: .6rem 0; border-bottom: 1px solid var(--np-soft); }
.np-dl dt { font-size: .85rem; color: var(--np-muted); }
.np-dl dd { margin: 0; color: var(--np-ink); }
.np-sources { list-style: none; margin: 0; padding: 0; font-size: .88rem; }
.np-sources li { margin: 0; padding: .4rem 0; border-bottom: 1px solid var(--np-soft); }
.np-pre { overflow-x: auto; margin: .5rem 0 1rem; padding: .85rem 1rem; color: var(--np-ink); background: var(--np-alt); border: 1px solid var(--np-soft); font-size: .8rem; line-height: 1.55; white-space: pre; tab-size: 2; }
.np-pre:focus-visible { outline-offset: 0; }
:not(pre) > code { padding: 0 .2em; background: var(--np-alt); overflow-wrap: anywhere; }
@media (max-width: 640px) {
    .np-dl > div { grid-template-columns: minmax(0, 1fr); }
    .np-btn { flex: 1 1 auto; }
}

/* Footer */
.np-footer { padding: 1.5rem 0; color: rgba(255, 255, 255, .85); background: #11182c; }
.np-footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.np-footer-brand { display: inline-flex; align-items: center; gap: .85rem; color: #fff; text-decoration: none; }
.np-footer-brand img { width: 44px; height: 44px; }
.np-footer-brand > span { display: flex; flex-direction: column; line-height: 1.3; }
.np-footer-kicker { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .75); }
.np-footer-name { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: 1.15rem; }
.np-footer-brand:hover { color: #fff; }
.np-footer-brand:hover .np-footer-name { text-decoration: underline; text-underline-offset: 4px; }
.np-footer-links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; font-size: .85rem; }
.np-footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #d6dde8; }
.np-footer-links a:hover { color: #fff; }
.np-footer-note { flex-basis: 100%; margin: 0; font-size: .78rem; color: rgba(255, 255, 255, .75); }
.np-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Hotels */
.np-banner { margin: 0 0 .25rem; font-size: 1.05rem; color: var(--np-ink); }
.np-official { padding-top: 1rem; margin: 0 0 1.75rem; }
.np-picks { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .75rem; margin: 0; padding: 0; list-style: none; }
.np-pick { margin: 0; padding: .85rem 1rem; border: 1px solid var(--np-rule); border-top: 3px solid var(--np-navy); }
.np-pick-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--np-muted); }
.np-pick-name { display: block; margin: .15rem 0; font-size: 1.05rem; line-height: 1.3; color: var(--np-ink); }
.np-pick-note { display: block; font-size: .88rem; line-height: 1.5; }
.np-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1rem 1.5rem; align-items: end; margin: 1.5rem 0 .75rem; padding: 1rem 0; border-top: 1px solid var(--np-rule); border-bottom: 1px solid var(--np-rule); }
.np-ctl { display: flex; flex-direction: column; gap: .3rem; min-width: 0; font-size: .85rem; color: var(--np-muted); }
.np-ctl select, .np-ctl input[type="number"] { width: 100%; min-height: 44px; padding: .45rem .6rem; font: inherit; font-size: 1rem; color: var(--np-ink); background: var(--np-bg); border: 1px solid var(--np-control); border-radius: 0; }
.np-ctl input[type="range"] { width: 100%; height: 44px; margin: 0; accent-color: var(--np-navy); }
.np-ctl output { color: var(--np-ink); font-variant-numeric: tabular-nums; }
.np-check { display: flex; align-items: center; gap: .6rem; min-height: 44px; font-size: .92rem; color: var(--np-ink); cursor: pointer; }
.np-check input { width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--np-navy); }
.np-formula { margin: 0 0 1rem; font-size: .85rem; color: var(--np-muted); max-width: 52rem; }
.np-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0 0 .75rem; padding: 0; list-style: none; font-size: .78rem; color: var(--np-muted); }
.np-legend li { display: inline-flex; align-items: center; gap: .4rem; margin: 0; }
.np-legend i { display: inline-block; width: .9rem; height: .6rem; }
.np-legend i.np-leg-walk { height: 3px; }
.np-count { margin: 0 0 .75rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.np-hotels { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.np-hotel { margin: 0; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 1fr); gap: .75rem 1.5rem; align-items: start; padding: 1rem 1.1rem; border: 1px solid var(--np-rule); }
.np-hotel-near { border-style: dashed; border-color: var(--np-control); }
.np-rank { margin: 0; font-size: .75rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.np-hotel h3 { margin: .1rem 0 .25rem; font-size: 1.15rem; }
.np-meta { margin: 0; font-size: .85rem; color: var(--np-muted); }
.np-marks { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin: .4rem 0 0; padding: 0; list-style: none; font-size: .82rem; color: var(--np-ink); }
.np-marks li { margin: 0; }
.np-mins { margin: 0 0 .35rem; font-size: 1.6rem; font-weight: 300; line-height: 1.1; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.np-mins small { font-size: .78rem; color: var(--np-muted); }
.np-strip { display: flex; align-items: center; height: 1.1rem; overflow: hidden; background: var(--np-alt); }
.np-strip span { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; height: 100%; overflow: hidden; font-size: .68rem; line-height: 1; white-space: nowrap; }
.np-strip .np-leg-walk { height: 3px; }
.np-strip span + span { border-left: 1px solid var(--np-bg); }
/* Sydney line colours as used by the picker. They mean transit lines, so they stay fixed in both themes. */
.np-leg-walk { background: var(--np-walk); }
.np-leg-t1 { background: #f99d1c; color: #000; }
.np-leg-t2 { background: #0098cd; color: #000; }
.np-leg-t8 { background: #009b77; color: #000; }
.np-leg-m1 { background: #168388; color: #000; }
.np-leg-l1 { background: #be1622; color: #fff; }
.np-leg-bus { background: #00a3d9; color: #000; }
.np-route { margin: .4rem 0 0; font-size: .85rem; line-height: 1.5; }
.np-money { text-align: right; }
.np-plan { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--np-muted); }
.np-price { margin: 0; font-size: 1.6rem; font-weight: 300; line-height: 1.1; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.np-price small { font-size: .78rem; color: var(--np-muted); }
.np-seen { margin: .15rem 0 .3rem; font-size: .78rem; color: var(--np-ink); }
.np-eff { margin: .1rem 0 0; font-size: .9rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.np-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 1rem; margin: .25rem 0 0; font-size: .85rem; }
.np-links a { display: inline-flex; align-items: center; min-height: 44px; }
.np-more { grid-column: 1 / -1; border-top: 1px solid var(--np-soft); font-size: .9rem; }
.np-more summary { display: flex; align-items: center; min-height: 44px; color: var(--np-navy); cursor: pointer; }
.np-more p { margin: .25rem 0 .5rem; }
.np-notes li { max-width: 48rem; }
@media (max-width: 860px) {
    .np-hotel { grid-template-columns: minmax(0, 1fr); }
    .np-money { text-align: left; }
    .np-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: no-preference) {
    .np-hotel { transition: border-color .15s; }
    .np-hotel:hover { border-color: var(--np-control); }
}

/* Guide */
.np-days { list-style: none; margin: 0 0 1rem; padding: 0; }
.np-day { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .25rem 1rem; margin: 0; padding: .8rem 0; border-bottom: 1px solid var(--np-soft); }
.np-day-date { color: var(--np-ink); font-variant-numeric: tabular-nums; line-height: 1.3; }
.np-day-date small { display: block; font-size: .78rem; color: var(--np-muted); }
.np-day h3 { margin: 0 0 .2rem; font-size: 1.05rem; }
.np-day p { margin: 0; font-size: .9rem; }
.np-levels { min-width: 0; table-layout: fixed; font-size: .82rem; }
.np-levels th, .np-levels td { padding: .5rem .4rem; border: 1px solid var(--np-rule); line-height: 1.35; }
.np-levels thead th { font-size: .72rem; letter-spacing: .04em; text-transform: none; border-bottom: 2px solid var(--np-ink); }
.np-levels th:first-child { width: 2.6rem; padding-left: .4rem; text-align: center; }
.np-levels .np-l2 th, .np-levels .np-l2 td { background: var(--np-navy-tint); }
.np-levels .np-empty { color: var(--np-muted); }
.np-caption { margin: 0 0 .6rem; font-size: .85rem; color: var(--np-ink); }
.np-stack td, .np-stack tbody th { font-size: .88rem; }
@media (max-width: 640px) {
    /* Tables marked np-stack become label: value rows; the level grid stays a grid. */
    .np-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .np-stack, .np-stack tbody, .np-stack tr, .np-stack th, .np-stack td { display: block; width: 100%; }
    .np-stack tr { padding: .55rem 0; border-bottom: 1px solid var(--np-soft); }
    .np-stack th, .np-stack td { padding: .05rem 0; border: 0; }
    .np-stack td[data-label]::before { content: attr(data-label) ": "; color: var(--np-muted); }
    .np-levels { font-size: .74rem; }
    .np-levels th, .np-levels td { padding: .4rem .25rem; }
    .np-levels th:first-child { width: 1.9rem; }
}

/* Agents */
.np-status { font-size: .85rem; white-space: nowrap; color: var(--np-muted); }
.np-endpoints tbody th { white-space: nowrap; }
.np-prompt { margin: .5rem 0 1rem; padding: .85rem 1rem; border-left: 3px solid var(--np-navy); background: var(--np-alt); color: var(--np-ink); }

/* Schedule UI (Today, Schedule, My plan): extend below this line. */

/* schedule: Today (td-*), Schedule (sc-*) and event pages (ev-*). Colour here carries one of three meanings:
   the category palette (--cat, only the left rule, the swatch and the panel's top rule, always next to a text
   label), navy for interaction, and red for now, cancelled and removed. Everything else is ink and grey.
   Parts: category palette, shared controls, cards and badges, Schedule layout, day and week, search results,
   filters, panel, states, Today, event pages. */
:root { --cat-talks: #c8500a; --cat-sessions: #1d5fc1; --cat-tutorials: #2f7a3e; --cat-workshops: #6b3fa0; --cat-expo: #007a7a; --cat-social: #b02f6c; --cat-logistics: #8c8c8c; --sc-hour: 3.4rem; }
@media (prefers-color-scheme: dark) {
    :root { --cat-talks: #ff9d6b; --cat-sessions: #79aef2; --cat-tutorials: #79c58a; --cat-workshops: #b99ae8; --cat-expo: #57c7c7; --cat-social: #ee92be; --cat-logistics: #8a8c92; }
}
.sc-cat-talks { --cat: var(--cat-talks); } .sc-cat-sessions { --cat: var(--cat-sessions); } .sc-cat-tutorials { --cat: var(--cat-tutorials); }
.sc-cat-workshops { --cat: var(--cat-workshops); } .sc-cat-expo { --cat: var(--cat-expo); } .sc-cat-social { --cat: var(--cat-social); }
.sc-cat-logistics { --cat: var(--cat-logistics); }

/* Shell additions */
.np-tab-badge { display: inline-block; min-width: 1.15rem; margin-left: .3rem; padding: 0 .25rem; font-size: .68rem; line-height: 1.15rem; text-align: center; color: var(--np-on-navy); background: var(--np-navy); font-variant-numeric: tabular-nums; }
.np-offline { margin: 0; padding: .35rem 1rem; font-size: .82rem; text-align: center; color: var(--np-ink); background: var(--np-alt); border-bottom: 1px solid var(--np-rule); }
@media (max-width: 767px) {
    .np-tabs a[href$="agents/"] { display: none; }
}
.js .td-city { display: none; }
.js[data-city="sydney"] .td-city[data-city="sydney"], .js[data-city="atlanta"] .td-city[data-city="atlanta"], .js[data-city="paris"] .td-city[data-city="paris"] { display: block; }
.js:not(.td-ready) #td-eyebrow, .js:not(.td-ready) #td-title, .js:not(.td-ready) #td-sub { visibility: hidden; animation: td-reveal 0s 3s forwards; }
@keyframes td-reveal { to { visibility: visible; } }

/* Shared controls */
.sc-cities, .sc-views, .sc-org-kinds, .sc-plan { display: inline-flex; border: 1px solid var(--np-control); }
.sc-cities button, .sc-views button, .sc-org-kinds button, .sc-plan button { min-height: 44px; padding: 0 .8rem; font: inherit; font-size: .88rem; color: var(--np-ink); background: transparent; border: 0; cursor: pointer; }
.sc-cities button + button, .sc-views button + button, .sc-org-kinds button + button, .sc-plan button + button { border-left: 1px solid var(--np-control); }
.sc-cities button:hover, .sc-views button:hover, .sc-org-kinds button:hover, .sc-plan button:hover { background: var(--np-navy-tint); }
.sc-cities [aria-pressed="true"], .sc-views [aria-pressed="true"], .sc-org-kinds [aria-pressed="true"], .sc-plan [aria-pressed="true"],
.sc-cities [aria-pressed="true"]:hover, .sc-views [aria-pressed="true"]:hover, .sc-org-kinds [aria-pressed="true"]:hover, .sc-plan [aria-pressed="true"]:hover { color: var(--np-on-navy); background: var(--np-navy); }
.sc-cities button:focus-visible, .sc-views button:focus-visible, .sc-org-kinds button:focus-visible, .sc-plan button:focus-visible { outline-offset: -3px; }
.sc-link { min-height: 44px; padding: 0; font: inherit; color: var(--np-navy); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sc-more { display: flex; align-items: center; min-height: 44px; padding: 0; font: inherit; font-size: .88rem; color: var(--np-navy); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Cards and badges */
.sc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: .6rem; }
.sc-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: start; min-width: 0; padding: .7rem .6rem .75rem .85rem; background: color-mix(in srgb, var(--cat, transparent) 7%, var(--np-bg)); border: 1px solid color-mix(in srgb, var(--cat, var(--np-rule)) 30%, var(--np-bg)); border-left: 6px solid var(--cat, var(--np-rule)); }
.sc-card:hover { border-color: var(--np-control); border-left-color: var(--cat, var(--np-control)); }
.sc-card p { margin: 0; }
.sc-card-kind { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .6rem; margin: 0; font-size: .7rem; line-height: 1.5; letter-spacing: .07em; text-transform: uppercase; color: var(--np-muted); }
.sc-card-title { margin: .1rem 0 .25rem; font-size: 1.02rem; line-height: 1.3; }
.sc-card-title a { color: var(--np-ink); text-decoration: none; }
.sc-card-title a::after { content: ""; position: absolute; inset: 0; }
.sc-card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.sc-card-title a:focus-visible { outline: 0; text-decoration: underline; }
.sc-card-title a:focus-visible::after { outline: 2px solid var(--np-navy); outline-offset: -2px; }
.sc-card-meta { display: flex; flex-wrap: wrap; gap: 0 .9rem; font-size: .84rem; line-height: 1.5; color: var(--np-text); }
.sc-time { font-variant-numeric: tabular-nums; color: var(--np-ink); }
.sc-room { position: relative; z-index: 1; color: inherit; text-decoration-thickness: 1px; }
.sc-card-badges { display: flex; flex-wrap: wrap; gap: .25rem .35rem; margin: .3rem 0 0; }
.sc-card-topics, .sc-card-note { margin-top: .25rem !important; font-size: .78rem; line-height: 1.45; color: var(--np-muted); }
.sc-card-note { color: var(--np-ink); }
.sc-card.is-past .sc-card-title a, .sc-card.is-past .sc-time { color: var(--np-muted); }
.sc-card.is-off .sc-card-title a, .sc-wk-block.is-off .sc-wk-title { text-decoration: line-through; color: var(--np-muted); }
.sc-add { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 4.4rem; min-height: 44px; padding: 0 .55rem; font: inherit; font-size: .8rem; color: var(--np-navy); background: var(--np-bg); border: 1px solid var(--np-navy); cursor: pointer; }
.sc-add:hover { background: var(--np-navy-tint); }
.sc-add[aria-pressed="true"] { color: var(--np-on-navy); background: var(--np-navy); }
.sc-add[aria-pressed="true"]::before { content: "\2713"; }
.sc-add[aria-pressed="false"]::before { content: "+"; }
.sc-badge { display: inline-block; padding: 0 .4rem; font-size: .72rem; line-height: 1.55; letter-spacing: 0; text-transform: none; color: var(--np-muted); border: 1px solid var(--np-rule); }
.sc-badge-ok { color: var(--np-ink); }
.sc-badge-strong { color: var(--np-red); border-color: var(--np-red); }
.sc-live { color: var(--np-red); letter-spacing: .07em; text-transform: uppercase; font-size: .7rem; }

/* Schedule layout */
.sc { padding-bottom: 2.5rem; }
.sc-head { margin-bottom: 1rem; padding: 1.1rem 0 1rem; background: var(--np-hero-2); box-shadow: 0 0 0 100vmax var(--np-hero-2); clip-path: inset(0 -100vmax); }
.sc-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--np-on-hero); }
.sc-zone { margin: .2rem 0 0; font-size: .88rem; color: var(--np-on-hero-soft); }
.sc-tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; }
.sc-switches { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.sc-search { display: flex; gap: .5rem; min-width: 0; }
.sc-search input, .sc-org-q, .sc-panel-tools input { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 44px; padding: .4rem .7rem; font: inherit; font-size: 1rem; color: var(--np-ink); background: var(--np-bg); border: 1px solid var(--np-control); border-radius: 0; -webkit-appearance: none; appearance: none; }
.sc-filter-btn { flex: none; min-height: 44px; padding: 0 .85rem; font: inherit; font-size: .9rem; color: var(--np-navy); background: var(--np-bg); border: 1px solid var(--np-navy); cursor: pointer; }
.sc-filter-btn:hover { background: var(--np-navy-tint); }
.sc-progress { display: flex; flex-direction: column; gap: .2rem; font-size: .8rem; color: var(--np-muted); }
.sc-progress-bar { display: block; height: 2px; background: var(--np-soft); }
.sc-progress-bar i { display: block; height: 100%; width: 0; background: var(--np-navy); }
.sc-days { position: sticky; top: 0; z-index: 6; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(2.75rem, 1fr); margin: .6rem -1rem 0; padding: 0 1rem; overflow-x: auto; background: var(--np-bg); border-bottom: 1px solid var(--np-rule); scrollbar-width: none; }
.sc-days::-webkit-scrollbar { display: none; }
.sc-days a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 3.9rem; padding: .3rem .1rem .25rem; line-height: 1.2; color: var(--np-text); text-decoration: none; border-bottom: 3px solid transparent; }
.sc-days a:hover { border-bottom-color: var(--np-rule); }
.sc-days a[aria-current] { color: var(--np-ink); border-bottom-color: var(--np-navy); }
.sc-days a:focus-visible { outline-offset: -2px; }
.sc-day-dow { font-size: .7rem; color: var(--np-muted); }
.sc-day-num { font-size: 1.25rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.sc-day-all { max-width: 2.6rem; font-size: .75rem; line-height: 1.15; text-align: center; color: var(--np-ink); }
.sc-day-n { font-size: .68rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.is-today .sc-day-dow { color: var(--np-red); }
.sc-layout { display: block; padding-top: .9rem; }
.sc-side { display: none; }
.sc-skip:focus { position: fixed; color: var(--np-on-navy); }
.sc-layout.is-sheet .sc-skip { display: none; }
#sc-results:focus { outline: 0; }
.sc-answer { margin: 0 0 .75rem; padding: .7rem 1rem; background: var(--np-alt); border-left: 3px solid var(--np-ink); }
.sc-answer h2 { font-size: 1.2rem; }
.sc-answer p { margin: .15rem 0 0; font-size: .92rem; }
.sc-main { min-width: 0; }
.sc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.sc-chips:not(:empty) { margin-bottom: .6rem; }
.sc-chip { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .65rem; font: inherit; font-size: .84rem; color: var(--np-ink); background: var(--np-navy-tint); border: 0; cursor: pointer; }
.sc-chip span { color: var(--np-navy); font-size: 1.05rem; line-height: 1; }
.sc-clear { min-height: 44px; padding: 0 .3rem; font: inherit; font-size: .84rem; color: var(--np-navy); background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sc-count { margin: 0 0 .5rem; font-size: .9rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.sc-fresh { margin: 1.75rem 0 0; }

/* Day view */
.sc-block { display: grid; grid-template-columns: minmax(0, 1fr); gap: .45rem; padding: .8rem 0 .9rem; border-top: 1px solid var(--np-soft); }
.sc-block-time { font-size: 1.05rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.sc-now { display: flex; align-items: center; gap: .6rem; padding: .2rem 0; font-size: .75rem; color: var(--np-red); font-variant-numeric: tabular-nums; }
.sc-now::after { content: ""; flex: 1; height: 1px; background: var(--np-red); }
.sc-foot, .sc-foot li { list-style: none; margin: 0; padding: 0; }
.sc-foot { display: flex; flex-wrap: wrap; gap: 0 1.5rem; padding-top: .4rem; border-top: 1px solid var(--np-soft); font-size: .9rem; }
.sc-foot a { display: inline-flex; align-items: center; min-height: 44px; }

/* Week view: a time grid on wide screens, a stacked list of blocks on a phone */
.sc-week { display: block; }
.sc-wk-gutter { display: none; }
.sc-wk-day { padding-top: .6rem; scroll-margin-top: 4.5rem; }
.sc-wk-today { margin-left: .35rem; font-size: .75rem; color: var(--np-red); }
.sc-wk-day.is-today .sc-wk-head { border-bottom-color: var(--np-navy); }
.sc-wk-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding-bottom: .15rem; font-size: 1.02rem; border-bottom: 2px solid var(--np-ink); }
.sc-wk-head a { display: inline-flex; align-items: center; min-height: 44px; color: var(--np-ink); text-decoration: none; }
.sc-wk-head a:hover { text-decoration: underline; }
.sc-wk-head small { font-size: .75rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.sc-wk-col { display: flex; flex-direction: column; }
.sc-wk-block { display: flex; flex-direction: row-reverse; justify-content: space-between; gap: .75rem; align-items: center; min-height: 44px; padding: .35rem .5rem .35rem .65rem; font-size: .88rem; line-height: 1.3; color: var(--np-ink); text-decoration: none; border-left: 3px solid var(--cat); border-bottom: 1px solid var(--np-soft); }
.sc-wk-block { overflow-wrap: normal; }
.sc-wk-block:hover { background: var(--np-navy-tint); color: var(--np-ink); }
.sc-wk-block:focus-visible { outline-offset: -2px; }
.sc-wk-title { flex: 1 1 auto; min-width: 0; }
.sc-wk-time { flex: none; width: 5.6rem; font-size: .78rem; color: var(--np-muted); font-variant-numeric: tabular-nums; order: 1; }
.sc-wk-now, .sc-wk-none { display: none; }
.sc-foot-note { margin: .75rem 0 0; }
/* Below this width grid columns are too narrow for a word like "demonstrations", so the week stays a list. */
@media (min-width: 1100px) {
    .sc.is-week .np-wrap { max-width: 92rem; }
    .sc-week { display: grid; grid-template-columns: 3rem var(--tracks); overflow-x: auto; }
    .sc-wk-gutter { display: block; position: sticky; left: 0; z-index: 3; padding-top: 3.05rem; background: var(--np-bg); }
    .sc-wk-marks { position: relative; height: calc(var(--hours) * var(--sc-hour)); }
    .sc-wk-marks span { position: absolute; top: calc(var(--t) * var(--sc-hour) - .55rem); left: 0; font-size: .75rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
    .sc-wk-day { padding-top: 0; }
    .sc-wk-head { height: 3.05rem; align-items: center; padding: 0 .4rem; font-size: .92rem; }
    .sc-wk-col { display: block; position: relative; height: calc(var(--hours) * var(--sc-hour)); border-left: 1px solid var(--np-soft); background: repeating-linear-gradient(to bottom, var(--np-soft) 0 1px, transparent 1px calc(var(--sc-hour) * 2)); }
    .sc-wk-block { position: absolute; top: calc(var(--t) * var(--sc-hour) + 1px); left: calc(100% / var(--n) * var(--l) + 1px); width: calc(100% / var(--n) - 2px); height: calc(var(--h) * var(--sc-hour) - 2px); min-height: 0; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 0; padding: .15rem .3rem; overflow: hidden; font-size: .8125rem; line-height: 1.2; background: var(--np-alt); border-bottom: 0; }
    .sc-wk-time { width: auto; font-size: .75rem; order: 0; flex: none; white-space: nowrap; overflow: hidden; }
    .sc-wk-title { flex: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--lines, 2); line-clamp: var(--lines, 2); overflow: hidden; overflow-wrap: break-word; hyphens: auto; }
    .sc-wk-block.is-short .sc-wk-time { display: none; }
    .sc-wk-day.is-today .sc-wk-col { background-color: var(--np-navy-tint); }
    .sc-wk-day.is-today .sc-wk-block { background: var(--np-bg); }
    .sc-wk-now { display: block; position: absolute; left: 0; right: 0; top: calc(var(--t) * var(--sc-hour)); height: 2px; background: var(--np-red); pointer-events: none; }
    .sc-wk-none { display: block; padding: .4rem; margin: 0; font-size: .75rem; color: var(--np-muted); }
}

/* Search results */
.sc-group { padding-top: .6rem; }
.sc-group + .sc-group { padding-top: 1.5rem; }
.sc-group-title { margin-bottom: .7rem; padding-bottom: .35rem; font-size: 1.2rem; border-bottom: 2px solid var(--np-ink); }
.sc-group-title small { font-size: .82rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.sc-paper-group { padding: .5rem 0 .9rem; }
.sc-paper-group h3 { font-size: 1.02rem; }
.sc-paper-group h3 a { color: var(--np-ink); }
.sc-paper-group h3 small { font-size: .8rem; color: var(--np-muted); white-space: nowrap; }
.sc-paper-group-meta { margin: .1rem 0 .3rem; font-size: .82rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.sc-papers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--np-soft); }
.sc-paper { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .6rem; align-items: start; margin: 0; padding: .6rem 0 .65rem; border-bottom: 1px solid var(--np-soft); }
.sc-paper-title { display: block; font-size: .95rem; line-height: 1.32; color: var(--np-ink); text-decoration: none; }
.sc-paper-title:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.sc-paper-meta { margin: .15rem 0 0; font-size: .8rem; line-height: 1.4; color: var(--np-text); }
.sc-paper-orgs { color: var(--np-muted); }
.sc-paper-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; margin: .15rem 0 0; font-size: .74rem; color: var(--np-muted); }

/* Filters: a sidebar on wide screens, a bottom sheet otherwise */
.sc-facet { min-width: 0; margin: 0; padding: .7rem 0 .8rem; border: 0; border-top: 1px solid var(--np-rule); }
.sc-facet-plain { padding: .2rem 0; }
.sc-facet legend { padding: 0; float: left; width: 100%; margin-bottom: .2rem; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--np-muted); }
.sc-facet legend small { font-size: .68rem; letter-spacing: 0; text-transform: none; }
.sc-facet legend + * { clear: both; }
.sc-check { display: flex; align-items: center; gap: .55rem; min-height: 44px; font-size: .9rem; line-height: 1.25; color: var(--np-ink); cursor: pointer; }
.sc-check input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--np-navy); }
.sc-check-label { flex: 1 1 auto; min-width: 0; }
.sc-check-n { flex: none; font-size: .76rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.sc-check.is-zero { color: var(--np-muted); }
.sc-swatch { flex: none; width: 3px; height: 1rem; background: var(--cat); }
.sc-org-q { font-size: .92rem; margin-bottom: .4rem; }
.sc-org-kinds { display: flex; margin-bottom: .2rem; }
.sc-org-kinds button { flex: 1 1 0; padding: 0 .2rem; font-size: .8rem; }
.sc-facet-none { margin: .35rem 0; font-size: .82rem; color: var(--np-muted); }
.sc-sheet { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: 86dvh; margin: 0; padding: 0; color: var(--np-text); background: var(--np-bg); border: 0; border-top: 2px solid var(--np-ink); }
.sc-sheet[open] { display: flex; flex-direction: column; }
.sc-sheet::backdrop, .sc-panel::backdrop { background: rgba(10, 12, 16, .45); }
.sc-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .35rem 1rem; border-bottom: 1px solid var(--np-rule); }
.sc-sheet-head h2 { font-size: 1.2rem; }
.sc-sheet-body { flex: 1 1 auto; min-height: 0; padding: 0 1rem; overflow-y: auto; overscroll-behavior: contain; }
.sc-sheet-body .sc-facet:first-child { border-top: 0; }
.sc-sheet-foot { display: flex; gap: .5rem; padding: .6rem 1rem max(.6rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--np-rule); }
.sc-sheet-foot .np-btn-primary { flex: 1 1 auto; }
.sc-close { flex: none; min-width: 44px; min-height: 44px; padding: 0 .7rem; font: inherit; font-size: .85rem; color: var(--np-navy); background: none; border: 1px solid var(--np-control); cursor: pointer; }
.sc-close:hover { background: var(--np-navy-tint); }
html:has(dialog[open]) { overflow: hidden; }
@media (min-width: 768px) {
    .sc-sheet { inset: 0 0 0 auto; width: 24rem; height: 100dvh; max-height: none; border-top: 0; border-left: 2px solid var(--np-ink); }
    .sc-tools { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
    .sc-tools .sc-search { grid-row: 1; grid-column: 1; }
    .sc-tools .sc-switches { grid-row: 1; grid-column: 2; }
    .sc-tools .sc-progress { grid-column: 1 / -1; }
    .sc-block { grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0 .75rem; }
    .sc-block-time { position: sticky; top: 4.6rem; align-self: start; padding-top: .55rem; }
    .sc-days { margin-left: 0; margin-right: 0; padding: 0; }
}
@media (min-width: 1024px) {
    .sc-layout:not(.is-sheet) { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: 0 2.25rem; }
    .sc-layout:not(.is-sheet) .sc-side { display: block; position: sticky; top: 4.8rem; align-self: start; max-height: calc(100vh - 5.3rem); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: .5rem; }
    .sc-side .sc-facet:first-child { border-top: 0; }
}
@media (pointer: fine) and (min-width: 1024px) {
    .sc-check { min-height: 2rem; font-size: .86rem; }
}

/* Panel: details and session paper lists */
.sc-panel { position: fixed; inset: 0 0 0 auto; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; color: var(--np-text); background: var(--np-bg); border: 0; }
.sc-panel-in { display: flex; flex-direction: column; height: 100%; }
.sc-panel-head { flex: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: .8rem 1rem .75rem; border-top: 3px solid var(--cat, var(--np-ink)); border-bottom: 1px solid var(--np-rule); }
.sc-panel-head h2 { font-size: clamp(1.2rem, 4vw, 1.5rem); line-height: 1.25; }
.sc-panel-head h2:focus { outline: 0; }
.sc-panel-body { flex: 1 1 auto; min-height: 0; padding: .85rem 1rem 1.5rem; overflow-y: auto; overflow-anchor: none; overscroll-behavior: contain; }
.sc-panel-body > .sc-card-badges { margin: 0 0 .7rem; }
.sc-panel-when { margin: 0 0 .7rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.sc-plan { display: flex; margin: 0 0 .85rem; }
.sc-plan button { flex: 1 1 0; padding: 0 .3rem; }
.sc-panel-foot { flex: none; padding: .5rem 1rem max(.5rem, env(safe-area-inset-bottom)); border-top: 1px solid var(--np-rule); }
.sc-panel-foot .np-btn { width: 100%; }
.sc-panel-head .sc-close { display: none; }
.sc-panel-tools { display: grid; gap: .5rem; margin-bottom: .5rem; }
.sc-topic-chips { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: thin; }
.sc-topic-chips button { flex: none; min-height: 44px; padding: 0 .55rem; font: inherit; font-size: .8rem; color: var(--np-ink); background: transparent; border: 1px solid var(--np-rule); cursor: pointer; }
.sc-topic-chips button small { color: var(--np-muted); font-size: .74rem; }
.sc-topic-chips button[aria-pressed="true"] { color: var(--np-on-navy); background: var(--np-navy); border-color: var(--np-navy); }
.sc-topic-chips button[aria-pressed="true"] small { color: inherit; }
.sc-panel .sc-count { margin: 0; }
.sc-detail { margin-top: .25rem; }
.sc-authors { list-style: none; margin: 0; padding: 0; }
.sc-authors li { margin: 0 0 .2rem; line-height: 1.4; }
.sc-author-org { font-size: .84rem; color: var(--np-muted); }
@media (min-width: 768px) {
    .sc-panel-foot { display: none; }
    .sc-panel-head .sc-close { display: inline-block; }
    .sc-panel { width: 40rem; border-left: 2px solid var(--np-ink); }
    .sc-panel-head { padding: .9rem 1.5rem .8rem; }
    .sc-panel-body { padding: 1rem 1.5rem 2rem; }
}

/* Toast */
.sc-toast { position: fixed; z-index: 40; left: 1rem; right: 1rem; bottom: calc(var(--np-tabs-h) + env(safe-area-inset-bottom) + .75rem); display: flex; flex-wrap: wrap; align-items: center; gap: 0 .9rem; padding: .4rem .9rem; font-size: .88rem; color: var(--np-bg); background: var(--np-ink); }
.sc-toast span { flex: 1 1 auto; }
.sc-toast button { min-height: 44px; padding: 0; font: inherit; font-size: .85rem; color: inherit; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sc-toast button:focus-visible { outline-color: var(--np-bg); }
dialog .sc-toast { bottom: .75rem; }
@media (min-width: 768px) {
    .sc-toast { left: auto; right: 1.5rem; bottom: 1.5rem; max-width: 30rem; }
}

/* States */
.sc-skeleton { display: none; }
.js .sc-skeleton, .sc-skeleton-inline { display: block; padding-top: .5rem; }
.sc-skeleton i { display: block; height: 4.6rem; margin: 0 0 .6rem; background: var(--np-alt); border-left: 3px solid var(--np-soft); }
.js .sc-static:not(.is-shown) { display: none; }
.sc-static { padding-top: 1rem; }
.sc-static h3 { margin: 1.5rem 0 .4rem; padding-bottom: .3rem; border-bottom: 2px solid var(--np-ink); }
.sc-static-list { list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.sc-static-list li { margin: 0; padding: .35rem 0; border-bottom: 1px solid var(--np-soft); }
.sc-static-time { display: inline-block; min-width: 6.2rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.sc-static-meta { display: block; font-size: .82rem; color: var(--np-muted); }
.sc-empty { padding: 1.75rem 0; border-top: 1px solid var(--np-soft); }
.sc-empty h2 { font-size: 1.3rem; margin-bottom: .3rem; }
.sc-empty .np-actions { margin-top: .75rem; }
.sc-inline-error { padding: 1rem 1.25rem; border: 1px solid var(--np-ink); }

/* Today */
.td-head { padding: 1.5rem 0 2rem; color: var(--np-on-hero-soft); background: var(--np-hero-2); }
.td-head-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.1rem; }
.td-head .np-eyebrow { margin: 0; color: var(--np-on-hero-soft); }
.td-head h1 { font-size: clamp(2.6rem, 9vw, 4.4rem); color: var(--np-on-hero); }
.td-sub { max-width: 44rem; margin: .7rem 0 0; font-size: 1.05rem; }
.td-head .np-btn-primary { color: #1a1a1a; background: var(--np-spot); border-color: var(--np-spot); }
.td-head .np-btn-primary:hover { color: #1a1a1a; background: #ffb81f; border-color: #ffb81f; }
.td-head .np-btn-secondary { color: var(--np-on-hero); border-color: var(--np-on-hero-soft); }
.td-head .np-btn-secondary:hover { color: var(--np-on-hero); background: var(--np-hero); }
.td-head .sc-cities { border-color: var(--np-on-hero-soft); }
.td-head .sc-cities button { color: var(--np-on-hero); }
.td-head .sc-cities button + button { border-left-color: var(--np-on-hero-soft); }
.td-head .sc-cities button:hover { background: var(--np-hero); }
.td-head .sc-cities [aria-pressed="true"], .td-head .sc-cities [aria-pressed="true"]:hover { color: #1a1a1a; background: var(--np-spot); }
.td-head a:focus-visible, .td-head button:focus-visible { outline-color: var(--np-on-hero); }
.td-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
.td-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; }
.td-kpis[hidden] { display: none; }
.td-kpi { margin: 0; }
.td-kpi a { display: flex; flex-direction: column; justify-content: flex-end; gap: .1rem; height: 100%; min-height: 6.2rem; padding: .6rem .7rem; color: var(--on); text-decoration: none; background: var(--tile); }
.td-kpi a:hover { color: var(--on); filter: brightness(.92); }
.td-kpi b { font-weight: 300; font-size: clamp(1.5rem, 5.4vw, 2.3rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.td-kpi span { font-size: .82rem; }
.td-kpi-1, .td-tool-schedule { --tile: var(--f-methods); --on: #fff; }
.td-kpi-2, .td-tool-plan { --tile: var(--f-language); --on: #1a1a1a; }
.td-kpi-3, .td-tool-hotels { --tile: var(--f-science); --on: #1a1a1a; }
.td-kpi-4, .td-tool-guide { --tile: var(--f-finance); --on: #1a1a1a; }
.td-kpi-5, .td-tool-agents { --tile: var(--f-vision); --on: #1a1a1a; }
.td-kpi-6 { --tile: var(--f-agents); --on: #fff; }
.td-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 3rem; }
.td-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; }
.td-section, .td-city { padding-top: 1.75rem; }

/* Overview charts: SVG strings from assets/charts.js. Sizes and positions are attributes, colour lives here. */
.td-charts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem 2.5rem; padding-top: 2rem; }
.td-charts[hidden] { display: none; }
.vz-card { min-width: 0; padding-top: .8rem; border-top: 4px solid var(--np-hero); }
.vz-card h2 { font-size: clamp(1.3rem, 3.6vw, 1.65rem); }
.vz-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; }
.vz-sub { max-width: 46rem; margin: .3rem 0 .9rem; font-size: .9rem; color: var(--np-muted); }
.vz-plot { width: 100%; min-width: 0; overflow: hidden; }
.vz-svg { display: block; max-width: 100%; height: auto; font-family: var(--np-font); }
.vz-svg a { cursor: pointer; outline: none; text-decoration: none; }
.vz-svg a:hover, .vz-svg text { text-decoration: none; }
.vz-svg a:hover > rect:not(.vz-hit) { opacity: .86; }
.vz-svg a:focus-visible .vz-hit, .vz-svg a:focus-visible > rect { stroke: var(--np-ink); stroke-width: 2; }
.vz-hit { fill: transparent; }
.vz-base { stroke: var(--np-rule); stroke-width: 1; }
.vz-label { font-size: 13px; fill: var(--np-ink); }
.vz-val { font-size: 12.5px; fill: var(--np-text); font-variant-numeric: tabular-nums; }
.vz-axis { font-size: 11.5px; fill: var(--np-muted); }
.vz-axis-strong { font-size: 13px; fill: var(--np-ink); }
.vz-cell { font-size: 12px; fill: var(--np-ink); font-variant-numeric: tabular-nums; pointer-events: none; }
.vz-tile-t { fill: var(--on); pointer-events: none; }
.vz-tile-n { fill: var(--on); opacity: .85; pointer-events: none; font-variant-numeric: tabular-nums; }
.vz-f-methods { --f: var(--f-methods); --on: #fff; } .vz-f-language { --f: var(--f-language); --on: #1a1a1a; }
.vz-f-science { --f: var(--f-science); --on: #1a1a1a; } .vz-f-finance { --f: var(--f-finance); --on: #1a1a1a; }
.vz-f-vision { --f: var(--f-vision); --on: #1a1a1a; } .vz-f-trust { --f: var(--f-trust); --on: #fff; }
.vz-f-agents { --f: var(--f-agents); --on: #fff; } .vz-f-other { --f: var(--f-other); --on: #1a1a1a; }
@media (prefers-color-scheme: dark) {
    .vz-f-methods, .vz-f-agents, .td-kpi-1, .td-kpi-6, .td-tool-schedule { --on: #1a1a1a; }
}
.vz-svg rect[class*="vz-f-"], .vz-svg [class*="vz-f-"] > rect { fill: var(--f); }
.vz-l0 > rect { fill-opacity: .08; } .vz-l1 > rect { fill-opacity: .25; } .vz-l2 > rect { fill-opacity: .42; }
.vz-l3 > rect { fill-opacity: .6; } .vz-l4 > rect { fill-opacity: .8; } .vz-l5 > rect { fill-opacity: 1; }
.vz-l4 .vz-cell, .vz-l5 .vz-cell { fill: var(--on); }
.vz-heat { fill: var(--vz-heat); }
.vz-heat.vz-l0 { fill: var(--np-alt); } .vz-heat.vz-l1 { fill-opacity: .2; } .vz-heat.vz-l2 { fill-opacity: .38; }
.vz-heat.vz-l3 { fill-opacity: .56; } .vz-heat.vz-l4 { fill-opacity: .78; } .vz-heat.vz-l5 { fill-opacity: 1; }
.vz-svg .vz-org-company { fill: var(--vz-org-company); } .vz-svg .vz-org-university { fill: var(--vz-org-university); }
.vz-c-talks { --c: var(--cat-talks); } .vz-c-sessions { --c: var(--cat-sessions); } .vz-c-tutorials { --c: var(--cat-tutorials); }
.vz-c-workshops { --c: var(--cat-workshops); } .vz-c-expo { --c: var(--cat-expo); } .vz-c-social { --c: var(--cat-social); } .vz-c-logistics { --c: var(--cat-logistics); }
.vz-svg rect[class*="vz-c-"] { fill: var(--c); }
.vz-legend { display: flex; flex-wrap: wrap; gap: .3rem 1rem; list-style: none; margin: .7rem 0 0; padding: 0; font-size: .82rem; color: var(--np-text); }
.vz-legend li { display: inline-flex; align-items: center; gap: .4rem; margin: 0; }
.vz-key { flex: none; width: .8rem; height: .8rem; background: var(--f, var(--c)); }
.vz-switch { display: inline-flex; border: 1px solid var(--np-control); }
.vz-switch button { min-height: 44px; padding: 0 .75rem; font: inherit; font-size: .85rem; color: var(--np-ink); background: transparent; border: 0; cursor: pointer; }
.vz-switch button + button { border-left: 1px solid var(--np-control); }
.vz-switch [aria-pressed="true"] { color: var(--np-on-navy); background: var(--np-navy); }
.vz-switch button:focus-visible { outline-offset: -3px; }
.vz-table { margin-top: .6rem; font-size: .85rem; }
.vz-table summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--np-navy); cursor: pointer; }
.vz-table .np-table { font-size: .82rem; }
.vz-tip { position: fixed; z-index: 60; left: 0; top: 0; display: grid; gap: .05rem; max-width: 17rem; padding: .4rem .6rem; font-size: .8rem; line-height: 1.35; color: var(--np-ink); background: var(--np-bg); border: 1px solid var(--np-ink); pointer-events: none; }
.vz-tip[hidden] { display: none; }
.vz-tip b { font-weight: 300; font-size: .86rem; }
.vz-tip span { color: var(--np-muted); }
.td-tools-band { padding-top: 2.25rem; }
.td-tools-band h2 { margin-bottom: .75rem; font-size: clamp(1.3rem, 3.6vw, 1.65rem); }
.td-data { max-width: 48rem; }
@media (min-width: 860px) {
    .td-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); }
    .td-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .td-charts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vz-wide { grid-column: 1 / -1; }
}
.td-section > h2, .td-city > h2 { margin-bottom: .75rem; padding-bottom: .4rem; font-size: 1.3rem; border-bottom: 2px solid var(--np-ink); }
.td-city > h2 { margin-bottom: .35rem; border-bottom: 0; padding-bottom: 0; }
.td-sub-title { display: flex; align-items: baseline; gap: .6rem; margin: 1rem 0 .5rem; font-size: 1.02rem; font-variant-numeric: tabular-nums; }
.td-sub-title:first-child { margin-top: 0; }
.td-more { margin: .7rem 0 0; font-size: .9rem; }
.td-more a { display: inline-flex; align-items: center; min-height: 44px; }
.td-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.2rem, 1fr)); gap: 4px; list-style: none; margin: .75rem 0 0; padding: 0; }
.td-day { margin: 0; }
.td-day a { display: flex; flex-direction: column; gap: .15rem; height: 100%; min-height: 8.5rem; padding: .6rem .7rem .7rem; color: var(--np-ink); text-decoration: none; background: color-mix(in srgb, var(--cat) 12%, var(--np-bg)); border-top: 6px solid var(--cat); }
.td-day a:hover { background: color-mix(in srgb, var(--cat) 22%, var(--np-bg)); }
.td-day-date { font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.td-day-what { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.td-day-name { font-size: .92rem; }
.td-day-detail { margin-top: .15rem; font-size: .78rem; line-height: 1.35; color: var(--np-text); }
.td-day-n { font-size: .78rem; color: var(--np-text); font-variant-numeric: tabular-nums; }
.td-day-n::after { content: " events"; }
.td-day-n .np-sr { display: none; }
.td-day.is-today a { outline: 2px solid var(--np-red); outline-offset: -2px; }
.td-day.is-past a { color: var(--np-muted); background: var(--np-alt); border-top-color: var(--np-rule); }
.td-plan { list-style: none; margin: 0; padding: 0; }
.td-plan li { display: flex; flex-direction: column; margin: 0; padding: .5rem 0; border-bottom: 1px solid var(--np-soft); }
.td-plan a { color: var(--np-ink); text-decoration: none; }
.td-plan a:hover { text-decoration: underline; }
.td-plan span { font-size: .84rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.td-empty p:first-child { margin-bottom: 0; }
.td-tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 4px; list-style: none; margin: 0; padding: 0; }
.td-tools li { margin: 0; }
.td-tools a { display: flex; flex-direction: column; gap: .25rem; height: 100%; min-height: 7.5rem; padding: .8rem .85rem; color: var(--on); text-decoration: none; background: var(--tile); }
.td-tools a:hover { color: var(--on); filter: brightness(.92); }
.td-tools b { font-weight: 300; font-size: 1.25rem; }
.td-tools span { font-size: .84rem; }
.td-counts { margin-bottom: .5rem; font-size: .92rem; font-variant-numeric: tabular-nums; }
.td-sources { list-style: none; margin: 0 0 .6rem; padding: 0; font-size: .84rem; }
.td-sources li { margin: 0; padding: .2rem 0; }

/* Event pages */
.ev { padding: 1.5rem 0 2.5rem; }
.ev .np-wrap { max-width: 48rem; }
.ev h1 { margin-bottom: .75rem; font-size: clamp(1.5rem, 5vw, 2.15rem); line-height: 1.2; }
.ev-badges { display: flex; flex-wrap: wrap; gap: .3rem; }
.ev-plan .sc-plan { margin: 1rem 0 0; max-width: 26rem; }
@media (prefers-reduced-motion: no-preference) {
    .sc-card, .sc-add, .sc-wk-block { transition: background-color .12s, border-color .12s; }
}
/* /schedule */

/* itinerary: My plan page (np-it-*) and the server-rendered plan page (np-pv-*, reusing np-it-*).
   Must is a filled block with a navy bar; optional is a dashed outline. Red: clash or cancelled, and the now
   line. Amber: tight move, soft overlap, changed. Grey: past, tentative, not published. Red and amber always
   come with words. Sticky and fixed parts sit above the bottom tabs on phones. */
.np-it-head { padding: 1.25rem 0 1.1rem; color: var(--np-on-hero-soft); background: var(--np-hero-2); }
.np-it-head h1 { font-size: clamp(1.8rem, 5.5vw, 2.6rem); color: var(--np-on-hero); }
.np-it-head .np-eyebrow, .np-it-head p { color: var(--np-on-hero-soft); }
.np-it-head a:not(.np-btn) { color: var(--np-on-hero); }
.np-it-head .np-btn-primary { color: #1a1a1a; background: var(--np-spot); border-color: var(--np-spot); }
.np-it-head .np-btn-secondary { color: var(--np-on-hero); border-color: var(--np-on-hero-soft); }
.np-it-head .np-btn-secondary:hover { background: var(--np-hero); }
.np-it-head .np-it-title, .np-it-head .np-it-title:hover, .np-it-head .np-it-title:focus { color: var(--np-on-hero); caret-color: var(--np-on-hero); background: transparent; }
.np-mix { display: block; width: 100%; height: 8px; margin-top: .45rem; }
.sc-topic { display: inline-flex; align-items: center; gap: .3rem; margin-right: .6rem; }
.sc-topic .vz-key { width: .62rem; height: .62rem; }
.sc-facet-key { width: .7rem; height: .7rem; margin-right: .35rem; }
.sc-days a[aria-current] { color: var(--np-on-hero); background: var(--np-hero); border-bottom-color: var(--np-spot); }
.sc-days a[aria-current] .sc-day-dow, .sc-days a[aria-current] .sc-day-num, .sc-days a[aria-current] .sc-day-n, .sc-days a[aria-current] .sc-day-all { color: var(--np-on-hero); }
.np-it-chart { padding-top: 1.25rem; }
.np-it-chart h2 { font-size: 1.15rem; }
.np-it-h1 { font-size: inherit; }
.np-it-title { display: block; width: 100%; min-height: 44px; padding: .1rem 0; font: inherit; font-size: clamp(1.7rem, 5.5vw, 2.6rem); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; color: var(--np-ink); background: transparent; border: 0; border-bottom: 1px solid transparent; border-radius: 0; }
.np-it-title:hover { border-bottom-color: var(--np-rule); }
.np-it-title:focus { outline: 0; border-bottom-color: var(--np-navy); }
.np-it-savebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; margin-top: .6rem; }
.np-it-saveact { display: flex; flex-wrap: wrap; gap: .5rem; }
.np-it-state { display: flex; align-items: baseline; gap: .55rem; flex: 1 1 20rem; min-width: 0; margin: 0; font-size: .92rem; color: var(--np-ink); }
.np-it-state:focus { outline: 0; }
.np-it-state::before { content: ""; flex: none; width: .6rem; height: .6rem; background: var(--np-control); }
.np-it-state[data-mark="saved"]::before { background: var(--np-navy); }
.np-it-state[data-mark="busy"]::before { background: transparent; box-shadow: inset 0 0 0 1px var(--np-navy); }
.np-it-state[data-mark="warn"]::before { background: var(--np-amber); }
.np-it-body { padding-top: 1rem; }
.np-it-warn { margin: .35rem 0; padding: .4rem .6rem; font-size: .85rem; color: var(--np-ink); background: var(--np-amber-tint); border-left: 3px solid var(--np-amber); }

.np-it-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.75rem 2.5rem; align-items: start; }
.np-it-grid > .np-it-side { grid-column: 2; }
.np-it-empty { margin: 0 0 1.5rem; }
.np-it-empty h2 { margin-bottom: .5rem; }
.np-it-empty h3 { margin: 1.5rem 0 .5rem; }
.np-it-city { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 1rem 0 0; }
.np-it-city-label { font-size: .9rem; color: var(--np-muted); }
.np-it-browse { display: flex; flex-wrap: wrap; gap: 0 1.25rem; margin: 0; padding: 0; list-style: none; }
.np-it-browse li { margin: 0; }
.np-it-browse a { display: inline-flex; align-items: center; min-height: 44px; }
.np-it-picks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--np-rule); }
.np-it-picks li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin: 0; padding: .55rem 0; border-bottom: 1px solid var(--np-soft); }
.np-it-picks li > div { min-width: 0; }

/* Alerts */
#np-it-alerts:empty, #np-it-banners:empty, #np-it-share-top:empty { display: none; }
#np-it-alerts { margin-bottom: 1.25rem; }
.np-it-alert { margin: 0 0 .75rem; padding: .8rem 1rem; border: 1px solid var(--np-rule); border-left-width: 4px; }
.np-it-alert.is-red { border-left-color: var(--np-red); background: var(--np-red-tint); border-color: var(--np-red); border-left-width: 4px; }
.np-it-alert.is-amber { border-left-color: var(--np-amber); background: var(--np-amber-tint); }
.np-it-alert.is-quiet { border-left-color: var(--np-control); }
.np-it-alert-h, .np-pv-warn h2 { margin: 0 0 .35rem; font-size: 1.1rem; color: var(--np-ink); }
.np-it-alert-h:focus { outline: 0; }
.np-it-alert p { margin-bottom: .35rem; color: var(--np-ink); }
.np-pv-warn ul { margin: 0; color: var(--np-ink); font-size: .92rem; }
.np-it-alert-act { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: .35rem; }
.np-it-rows { margin: .35rem 0 0; padding: 0; list-style: none; }
.np-it-rows > li { margin: 0; padding: .55rem 0; border-top: 1px solid var(--np-rule); }
.np-it-rows > li.is-dead .np-it-change { font-size: 1rem; color: var(--np-red); }
.np-it-row-t { margin: 0; color: var(--np-ink); }
.np-it-when { margin: 0 0 .2rem; font-size: .82rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.np-it-change { margin: .1rem 0 0; font-size: .92rem; color: var(--np-ink); }
.np-it-side-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .1rem 1rem; padding: .25rem 0; }
.np-it-side-row .np-it-row-t { flex: 1 1 10rem; min-width: 0; }
.np-it-side-row .np-it-alert-act { margin: 0; }
.np-it-link { display: inline; padding: 0; font: inherit; color: var(--np-navy); text-align: left; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.np-it-link:hover { color: var(--np-navy-hover); }
/* Titles stay tight in lists; the invisible extension brings the tap target to 44 px. */
.np-it-link, .np-pv-title a { position: relative; }
.np-it-link::after, .np-pv-title a::after { content: ""; position: absolute; inset: -.6rem 0; }
.np-it-tag { margin-left: .4rem; font-size: .72rem; letter-spacing: .03em; color: var(--np-muted); white-space: nowrap; }
.np-it-mini { min-height: 44px; padding: .25rem .7rem; font: inherit; font-size: .85rem; color: var(--np-navy); background: var(--np-bg); border: 1px solid var(--np-navy); cursor: pointer; }
.np-it-mini:hover { background: var(--np-navy-tint); }
.np-it-quiet { margin: 0; padding: 0 .8rem .4rem; font-size: .9rem; }
/* One line that opens to the detail. */
.np-it-sum { margin: 0 0 .5rem; border: 1px solid var(--np-rule); border-left: 4px solid var(--np-control); }
.np-it-sum.is-red { border-left-color: var(--np-red); }
.np-it-sum.is-amber { border-left-color: var(--np-amber); }
.np-it-sum summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 44px; padding: .35rem .8rem; list-style: none; color: var(--np-ink); cursor: pointer; }
.np-it-sum summary::-webkit-details-marker { display: none; }
.np-it-sum.is-red summary { background: var(--np-red-tint); }
.np-it-sum.is-amber summary { background: var(--np-amber-tint); }
.np-it-sum-t { min-width: 0; font-size: .92rem; }
.np-it-sum-go { flex: none; font-size: 0; color: var(--np-navy); text-decoration: underline; text-underline-offset: 3px; }
.np-it-sum-go::after { content: "Details"; font-size: .85rem; }
.np-it-sum[open] .np-it-sum-go::after { content: "Hide"; }
.np-it-sum > .np-it-alert { margin: .5rem .6rem; }
.np-it-sum > .np-pv-warn:last-child, .np-it-sum > .np-it-quiet:last-child { margin-bottom: .5rem; }
.np-it-quiet summary, .np-it-more summary { display: flex; align-items: center; min-height: 44px; color: var(--np-navy); cursor: pointer; }
.np-it-quiet h3 { margin: .5rem 0 .25rem; font-size: 1rem; }
.np-it-quiet ul { padding-left: 1.1rem; }
.np-it-clear { margin: 0; font-size: .92rem; color: var(--np-ink); }
.np-it-clear::before { content: "\2713\00a0"; }
.np-it-more { font-size: .9rem; }
.np-it-help { margin: 0 0 .5rem; font-size: .88rem; }
.np-it-help dt { color: var(--np-ink); }
.np-it-help dd { margin: 0 0 .4rem; }

/* View bar and day strip */
.np-it-viewbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin: 0 0 .6rem; }
.np-it-seg { display: inline-flex; flex-wrap: wrap; }
.np-it-seg button { min-width: 44px; min-height: 44px; padding: .25rem .9rem; font: inherit; font-size: .9rem; color: var(--np-navy); background: var(--np-bg); border: 1px solid var(--np-navy); cursor: pointer; }
.np-it-seg button + button { margin-left: -1px; }
.np-it-seg button:hover { background: var(--np-navy-tint); }
.np-it-seg button[aria-pressed="true"] { color: var(--np-on-navy); background: var(--np-navy); }
.np-it-seg button:focus-visible { position: relative; z-index: 1; outline-offset: 1px; }
.np-it-legend { display: flex; gap: .5rem; margin: 0; font-size: .75rem; }
.np-it-key { padding: .05rem .45rem; color: var(--np-ink); }
.np-it-key.is-must { background: var(--np-navy-tint); border: 1px solid var(--np-navy-tint); border-left: 4px solid var(--np-navy); }
.np-it-key.is-opt { border: 1px dashed var(--np-control); }
.np-it-strip { position: sticky; top: 0; z-index: 5; display: flex; gap: 0; margin: 0 0 .75rem; overflow-x: auto; background: var(--np-bg); border-bottom: 1px solid var(--np-rule); scrollbar-width: none; }
.np-it-strip:empty { display: none; }
.np-it-strip button { flex: 1 0 auto; min-width: 3rem; min-height: 56px; padding: .25rem .2rem; font: inherit; color: var(--np-text); background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer; }
.np-it-strip button:hover { border-bottom-color: var(--np-rule); }
.np-it-strip button[aria-pressed="true"] { color: var(--np-ink); border-bottom-color: var(--np-navy); }
.np-it-strip button:focus-visible { outline-offset: -2px; }
.np-it-strip-d { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.np-it-strip-d span { font-size: .72rem; letter-spacing: .03em; color: var(--np-muted); }
.np-it-strip-d b { font-size: 1.15rem; color: inherit; font-variant-numeric: tabular-nums; }
.is-today .np-it-strip-d span { color: var(--np-red); }
.np-it-strip-d i { min-width: 1.1rem; min-height: 1rem; font-style: normal; font-size: .68rem; line-height: 1rem; text-align: center; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.np-it-strip-d i.is-some { color: var(--np-on-navy); background: var(--np-navy); }
.np-it-strip-d i.is-clash { color: #fff; background: #c8102e; }

/* Now and next */
.np-it-next { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: .5rem; margin: 0 0 .75rem; }
.np-it-nextcard { display: flex; flex-direction: column; gap: .05rem; min-width: 0; min-height: 44px; padding: .55rem .75rem; font: inherit; text-align: left; color: var(--np-ink); background: var(--np-alt); border: 0; border-left: 3px solid var(--np-ink); cursor: pointer; }
.np-it-nextcard:hover { background: var(--np-soft); }
.np-it-nextl { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--np-muted); }
.np-it-nextt { font-size: 1rem; line-height: 1.3; }
.np-it-nextm { font-size: .82rem; color: var(--np-text); font-variant-numeric: tabular-nums; }

/* Timeline */
.np-it-dayh { margin: .25rem 0 .5rem; font-size: 1.15rem; }
.np-it-dayh:focus { outline: 0; }
.np-it-off { display: none; }
.np-it-noday { padding: 1.5rem 1rem; color: var(--np-text); background: var(--np-alt); }
.np-it-noday p:last-child { margin: 0; }
.np-it-scroll { padding: .7rem 0 1rem; }
.np-it-canvas { --np-it-hour: 4.25rem; --np-it-axis: 3rem; position: relative; height: calc(var(--span) * var(--np-it-hour)); }
.np-it-hour { position: absolute; left: 0; right: 0; top: calc((var(--t) - var(--from)) * var(--np-it-hour)); border-top: 1px solid var(--np-soft); }
.np-it-hour span { position: absolute; left: 0; top: -.6rem; padding-right: .3rem; font-size: .72rem; line-height: 1.2rem; color: var(--np-muted); background: var(--np-bg); font-variant-numeric: tabular-nums; }
.np-it-track { position: absolute; top: 0; bottom: 0; left: var(--np-it-axis); right: 0; }
.np-it-block { position: absolute; top: calc((var(--t) - var(--from)) * var(--np-it-hour) + 1px); left: calc(var(--l) * 100% / var(--n)); display: flex; flex-direction: column; gap: .1rem; width: calc(100% / var(--n) - 3px); height: calc(var(--h) * var(--np-it-hour) - 2px); min-height: 44px; padding: .2rem .4rem .2rem .45rem; overflow: hidden; container-type: inline-size; font: inherit; text-align: left; color: var(--np-ink); cursor: pointer; }
.np-it-block.is-must, .np-it-card.is-must { background: var(--np-navy-tint); border: 1px solid var(--np-navy-tint); border-left: 4px solid var(--np-navy); }
.np-it-block.is-opt, .np-it-card.is-opt { background: var(--np-bg); border: 1px dashed var(--np-control); }
.np-it-block.is-soft, .np-it-card.is-soft { border-left: 4px solid var(--np-amber); }
.np-it-block.is-clash, .np-it-card.is-clash { border-left: 4px solid var(--np-red); }
.np-it-block.is-past, .np-it-card.is-past { color: var(--np-muted); background: var(--np-alt); }
.np-it-block.is-dead, .np-it-card.is-dead { background: var(--np-red-tint); border: 1px solid var(--np-red); border-left-width: 4px; }
.np-it-block.is-dead .np-it-b-title, .np-it-card.is-dead .np-it-card-t { text-decoration: line-through; }
.np-it-block:hover { border-color: var(--np-navy); z-index: 2; }
.np-it-block:focus-visible { z-index: 3; outline-offset: 0; }
.np-it-b-top { display: flex; flex: none; justify-content: space-between; gap: .35rem; font-size: .72rem; line-height: 1.25; color: var(--np-text); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
.np-it-b-time { overflow: hidden; text-overflow: ellipsis; }
.np-it-b-tag { flex: none; }
.is-must .np-it-b-tag { padding: 0 .3rem; color: var(--np-on-navy); background: var(--np-navy); }
@container (max-width: 8.5rem) {
    .np-it-b-end { display: none; }
    .np-it-block.is-opt .np-it-b-tag { display: none; }
}
.np-it-b-title { flex: 0 1 auto; min-height: 1.25em; overflow: hidden; font-size: .88rem; line-height: 1.25; }
.np-it-b-room { flex: none; font-size: .74rem; line-height: 1.25; color: var(--np-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np-it-b-foot { display: flex; flex: none; flex-direction: column; margin-top: auto; font-size: .74rem; line-height: 1.25; }
.np-it-b-foot span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.np-it-block.is-short .np-it-b-title, .np-it-block.is-tiny .np-it-b-title { flex: none; white-space: nowrap; text-overflow: ellipsis; }
.np-it-block.is-short:has(.np-it-b-foot) .np-it-b-room { display: none; }
.np-it-block.is-short .np-it-b-foot span + span, .np-it-block.is-tiny .np-it-b-foot, .np-it-block.is-tiny .np-it-b-room { display: none; }
.is-red { color: var(--np-red); }
.is-amber { color: var(--np-amber); }
.is-grey { color: var(--np-muted); }
.np-it-alert.is-red, .np-it-alert.is-amber { color: var(--np-text); }
.np-it-plus { position: absolute; z-index: 3; top: calc((var(--t) - var(--from)) * var(--np-it-hour) + 3px); right: 5px; min-width: 44px; min-height: 44px; padding: 0 .4rem; font: inherit; font-size: .9rem; color: var(--np-bg); background: var(--np-ink); border: 0; cursor: pointer; }
.np-it-plus:hover { background: var(--np-navy); }
.np-it-now { position: absolute; z-index: 4; left: 0; right: 0; top: calc((var(--t) - var(--from)) * var(--np-it-hour)); border-top: 2px solid var(--np-red); pointer-events: none; }
.np-it-now span { position: absolute; left: 0; top: -.65rem; padding: 0 .2rem; font-size: .68rem; font-variant-numeric: tabular-nums; line-height: 1.2rem; color: var(--np-on-navy); background: var(--np-red); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .np-it-now span { color: #10151c; } }

/* Phone agenda: time groups instead of lanes */
.np-it-agenda, .np-it-agenda ul { margin: 0; padding: 0; list-style: none; }
.np-it-agenda { margin: .25rem 0 1rem; }
.np-it-agenda li { margin: 0; }
.np-it-aggroup { margin-bottom: .75rem !important; }
.np-it-aghour { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin: 0 0 .3rem; padding-bottom: .15rem; font-size: .95rem; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--np-rule); }
.np-it-aghour span { font-size: .75rem; color: var(--np-muted); }
.np-it-agenda ul { display: grid; gap: .3rem; }
.np-it-card { display: flex; flex-direction: column; gap: .1rem; width: 100%; min-height: 44px; padding: .4rem .6rem; font: inherit; text-align: left; color: var(--np-ink); cursor: pointer; }
.np-it-card .np-it-b-room { white-space: normal; }
.np-it-card-t { font-size: 1rem; line-height: 1.3; }
.np-it-card-i { font-size: .82rem; line-height: 1.3; }
.np-it-agnow { margin: .25rem 0 .75rem !important; padding: .1rem .5rem; font-size: .75rem; color: var(--np-on-navy); background: var(--np-red); font-variant-numeric: tabular-nums; }
@media (prefers-color-scheme: dark) { .np-it-agnow { color: #10151c; } }

/* All days list, shared with the plan page */
.np-it-ovday { margin: 0 0 1.5rem; }
.np-it-ovday h2, .np-it-ovday h3 { margin: 0 0 .25rem; padding-bottom: .35rem; font-size: 1.1rem; border-bottom: 2px solid var(--np-ink); }
.np-it-ovlist { margin: 0; padding: 0; list-style: none; }
.np-it-ov { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: .1rem .75rem; margin: 0; padding: .55rem 0 .55rem .55rem; border-bottom: 1px solid var(--np-soft); border-left: 4px solid transparent; }
.np-it-ov.is-must { background: var(--np-navy-tint); border-left-color: var(--np-navy); }
.np-it-ov.is-dead { background: var(--np-red-tint); border-left-color: var(--np-red); }
.np-it-ov.is-dead .np-pv-title, .np-it-ov.is-dead .np-it-link { text-decoration: line-through; }
.np-it-ov-t { font-size: .85rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.np-it-ov p { margin: 0; }
.np-it-ov-m { font-size: .85rem; color: var(--np-text); }
.np-it-ov-i { display: flex; flex-wrap: wrap; gap: 0 .75rem; font-size: .82rem; }

/* Side panels */
.np-it-side { display: grid; gap: 1.25rem; min-width: 0; }
.np-it-side > div:empty { display: none; }
.np-it-panel { padding-top: .6rem; border-top: 2px solid var(--np-ink); }
.np-it-panel h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.np-it-panel h2:focus { outline: 0; }
.np-it-panel h3 { margin: .9rem 0 .3rem; font-size: 1rem; }
.np-it-panel .np-ctl { margin-bottom: .25rem; }
.np-ctl textarea, .np-ctl input[type="text"], .np-ctl input[type="url"], .np-ctl input[type="time"] { width: 100%; min-height: 44px; padding: .45rem .6rem; font: inherit; font-size: 1rem; color: var(--np-ink); background: var(--np-bg); border: 1px solid var(--np-control); border-radius: 0; }
.np-ctl textarea { resize: vertical; }
.np-it-wide { width: 100%; }
.np-it-stack { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
.np-it-stack > * { flex: 1 1 8rem; }
.np-it-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin: 0 0 .5rem; }
.np-it-tray { margin: 0; padding: 0; list-style: none; }
.np-it-tray li { display: flex; flex-direction: column; margin: 0; padding: .4rem 0; border-bottom: 1px solid var(--np-soft); }
.np-it-copy { margin: .4rem 0; }
.np-it-copy label { display: block; font-size: .85rem; color: var(--np-muted); }
.np-it-copyrow { display: flex; gap: .4rem; }
.np-it-copyrow input { flex: 1 1 0; min-width: 0; min-height: 44px; padding: .3rem .5rem; font-family: Consolas, Menlo, 'Courier New', monospace; font-size: .8rem; color: var(--np-ink); background: var(--np-alt); border: 1px solid var(--np-rule); border-radius: 0; }
.np-it-copyrow .np-btn { flex: none; }
.np-it-secret summary { display: flex; align-items: center; min-height: 44px; color: var(--np-navy); cursor: pointer; }
.np-it-del { display: block; margin-top: .5rem; min-height: 44px; font-size: .88rem; color: var(--np-red); }
.np-it-del:hover { color: var(--np-red); }
.np-it-danger { color: var(--np-red); background: transparent; border-color: var(--np-red); }
.np-it-danger:hover { background: var(--np-red-tint); }
.np-it-panel.is-fresh { margin: 0 0 1.25rem; padding: .9rem 1.1rem; border: 1px solid var(--np-navy); border-top-width: 3px; background: var(--np-bg); }
.np-it-done { margin-top: .75rem; }

/* Toast */
.np-it-toast { position: fixed; z-index: 25; left: 50%; bottom: 1.25rem; display: flex; align-items: center; gap: .75rem; width: max-content; max-width: min(34rem, calc(100vw - 1.5rem)); padding: .35rem .5rem .35rem .9rem; font-size: .9rem; color: var(--np-bg); background: var(--np-ink); transform: translateX(-50%); }
.np-it-toast span { padding: .35rem 0; }
.np-it-toast button { flex: none; min-width: 44px; min-height: 44px; padding: 0 .5rem; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; cursor: pointer; }
.np-it-toast button:focus-visible { outline-color: var(--np-bg); }
@media (max-width: 767px) { .np-it-toast { bottom: calc(var(--np-tabs-h) + env(safe-area-inset-bottom) + .5rem); } }

/* Sheet */
.np-it-sheet { width: min(34rem, calc(100vw - 2rem)); max-height: min(85vh, 46rem); padding: 0 1.1rem 1.1rem; color: var(--np-text); background: var(--np-bg); border: 1px solid var(--np-ink); }
.np-it-sheet::backdrop { background: rgba(0, 0, 0, .45); }
.np-it-sheet-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; padding: .85rem 0 .5rem; background: var(--np-bg); border-bottom: 1px solid var(--np-soft); }
.np-it-sheet-top h2 { font-size: 1.15rem; }
.np-it-sheet-top h2:focus { outline: 0; }
.np-it-x { flex: none; width: 44px; height: 44px; margin: -.5rem -.6rem 0 0; font: inherit; font-size: 1.5rem; line-height: 1; color: var(--np-ink); background: none; border: 0; cursor: pointer; }
.np-it-sheetbody, .np-it-form { display: grid; gap: .6rem; padding-top: .6rem; }
.np-it-sheetmeta { margin: 0; font-size: .9rem; color: var(--np-ink); font-variant-numeric: tabular-nums; }
.np-it-sheetmeta:empty { display: none; }
.np-it-issues { margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.np-it-issues li { margin: 0; }
.np-it-resolve h3 { margin: 0; font-size: 1rem; }
.np-it-rr { padding: .4rem 0; border-bottom: 1px solid var(--np-soft); }
.np-it-rr p { margin: 0 0 .25rem; color: var(--np-ink); font-size: .92rem; }
.np-it-rr-act { display: flex; flex-wrap: wrap; gap: .4rem; }
.np-it-sheetact { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }
.np-it-form3 { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: .5rem; }
.np-it-grouplist { margin: 0; padding: 0; list-style: none; }
.np-it-grouplist li { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; margin: 0; padding: .5rem 0; border-bottom: 1px solid var(--np-soft); }

/* Plan page */
.np-pv-meta { margin: .5rem 0 0; font-size: .9rem; color: var(--np-muted); font-variant-numeric: tabular-nums; }
.np-pv-notes { max-width: 46rem; margin: .5rem 0 0; color: var(--np-ink); white-space: pre-line; }
.np-pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1.75rem 2.5rem; align-items: start; }
.np-pv-side { min-width: 0; }
.np-pv-status { color: var(--np-red); }
.np-pv-soft { color: var(--np-muted); font-style: italic; font-synthesis: none; }
.np-pv-note { margin-top: .15rem !important; font-size: .88rem; color: var(--np-ink); white-space: pre-line; }
.np-pv-editbar { margin: .9rem 0 0; padding: .7rem .9rem; border: 1px solid var(--np-navy); }
.np-pv-editbar h2 { margin: 0 0 .15rem; font-size: 1.05rem; }
.np-pv-editbar .np-it-more { margin-top: .35rem; }
.np-pv-editbar [role="status"]:empty { display: none; }
.np-pv-choice { display: grid; gap: .4rem; margin: .5rem 0 0; padding: .5rem 0; border-top: 1px solid var(--np-soft); }
.np-pv-choice:focus { outline: 0; }
.np-pv-main { min-width: 0; }

@media (max-width: 900px) {
    .np-it-grid, .np-pv-grid { grid-template-columns: minmax(0, 1fr); }
    .np-it-grid > .np-it-side { grid-column: 1; }
}
@media (max-width: 640px) {
    .np-it-legend { display: none; }
    .np-it-saveact .np-btn { flex: 1 1 auto; }
    .np-it-ov { grid-template-columns: minmax(0, 1fr); }
    .np-it-sheet { width: 100%; max-width: 100%; max-height: 88vh; margin: auto 0 0; border-width: 1px 0 0; padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }
    .np-it-form3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .np-it-form3 > :first-child { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: no-preference) {
    .np-it-sheet[open] { animation: np-it-rise .16s ease-out; }
    @keyframes np-it-rise { from { transform: translateY(.5rem); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media print {
    .np-appbar, .np-skip, .np-footer, .np-it-savebar, .np-it-viewbar, .np-it-strip, #np-it-next, #np-it-alerts, #np-it-banners, #np-it-share-top, #np-it-empty, .np-it-toast, .np-it-dayview, .np-it-side > :not(#np-it-tray), .np-pv-side, .np-it-alert-act, #np-pv-tools { display: none !important; }
    body { padding: 0; font-size: 11pt; color: #000; background: #fff; }
    .np-it-grid, .np-pv-grid { display: block; }
    .np-it-allview { display: block !important; }
    .np-it-title { font-size: 20pt; }
    .np-it-ovday { break-inside: avoid-page; }
    .np-it-ov { break-inside: avoid; }
    .np-it-ov.is-must { border-left: 4px solid #000; background: none; }
    .np-it-link, a { color: #000; text-decoration: none; }
}
