.app-sheet{border:0;border-top:6px solid var(--signal-blue);background:var(--surface);width:100%;max-width:none;height:100dvh;max-height:none;color:var(--ink);overscroll-behavior:contain;margin:0;padding:0;position:fixed;inset:0}.app-sheet[open]{animation:app-sheet-in var(--motion-fast) ease-out;flex-direction:column;display:flex}.app-sheet::backdrop{background:var(--scrim)}html:has(.app-sheet[open]){overflow:hidden}.app-sheet-bar{justify-content:space-between;align-items:center;gap:var(--space-2);min-height:var(--app-bar-height);padding:env(safe-area-inset-top) max(var(--space-2), env(safe-area-inset-right)) 0 max(var(--space-4), env(safe-area-inset-left));border-bottom:1px solid var(--ink);background:var(--surface);flex:none;display:flex}.app-sheet-start{min-width:0}.app-sheet-name{letter-spacing:-.02em;white-space:nowrap;text-overflow:ellipsis;font-weight:800;display:block;overflow:hidden}.app-sheet-back{align-items:center;gap:var(--space-1);min-height:var(--control-size);padding-right:var(--space-2);color:var(--signal-blue);font-size:var(--text-sm);text-align:left;font-weight:700;display:inline-flex}.app-sheet-back:hover:not(:disabled){color:var(--signal-blue);text-underline-offset:3px;text-decoration:underline}.app-sheet-back>svg{transform:rotate(180deg)}.app-sheet-actions{align-items:center;gap:var(--space-1);flex:none;display:flex}.app-sheet-close{width:var(--control-size);height:var(--control-size);border:1px solid var(--line);border-radius:var(--radius-control);color:var(--ink);place-items:center;display:grid}.app-sheet-close:hover:not(:disabled){border-color:var(--ink)}.app-sheet-body{min-height:0;padding:var(--space-5) max(var(--space-4), env(safe-area-inset-right)) calc(var(--space-10) + env(safe-area-inset-bottom)) max(var(--space-4), env(safe-area-inset-left));overscroll-behavior:contain;flex:1;line-height:1.55;overflow-y:auto}.app-sheet-eyebrow{color:var(--muted);font-size:var(--text-caption);letter-spacing:.08em;text-transform:uppercase;font-weight:700}.app-sheet-body h2{margin-top:var(--space-1);font-size:var(--text-xl);letter-spacing:-.03em;font-weight:800;line-height:1.15}.app-sheet-body h2:focus-visible{outline-offset:2px}@media (min-width:760px){.app-sheet{border-left:1px solid var(--ink);width:min(34rem,100%);inset:0 0 0 auto}.app-sheet-bar{padding-inline:var(--space-6) max(var(--space-3), env(safe-area-inset-right))}.app-sheet-body{padding-inline:var(--space-6) max(var(--space-6), env(safe-area-inset-right))}.app-sheet-body h2{font-size:var(--text-2xl)}}@keyframes app-sheet-in{0%{transform:translateY(var(--space-4));opacity:0}}@media (min-width:760px){@keyframes app-sheet-in{0%{transform:translateX(var(--space-8));opacity:0}}}@media (forced-colors:active){.app-sheet{border:2px solid canvastext}}
.help-art{width:min(12rem,60%);margin:0 0 var(--space-4);display:block}.help-art img{width:100%;height:auto;display:block}.help-art .art-night{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .help-art .art-day{display:none}:root:not([data-theme=light]) .help-art .art-night{display:block}}:root[data-theme=dark] .help-art .art-day{display:none}:root[data-theme=dark] .help-art .art-night{display:block}.help-sheet .app-sheet-body>:is(p,ol,ul){max-width:68ch;margin-top:var(--space-3)}.help-sheet .app-sheet-body>.app-sheet-eyebrow{margin-top:0}.help-sheet .app-sheet-body h3{margin-top:var(--space-8);padding-top:var(--space-3);border-top:1px solid var(--ink);font-size:var(--text-lg);letter-spacing:-.02em;font-weight:800}.help-sheet .app-sheet-body>.help-lead{margin-top:var(--space-4);font-size:var(--text-lg);font-weight:700;line-height:1.3}.help-steps{gap:var(--space-3);counter-reset:help-step;padding:0;list-style:none;display:grid}.help-steps li{gap:var(--space-3);counter-increment:help-step;grid-template-columns:1.75rem minmax(0,1fr);display:grid}.help-steps li:before{content:counter(help-step);background:var(--ink);width:1.75rem;height:1.75rem;color:var(--surface);font-size:var(--text-sm);place-items:center;font-weight:800;display:grid}.help-sheet .app-sheet-body>.help-note{color:var(--muted);font-size:var(--text-sm)}.help-sources{padding:0;list-style:none}.help-sources li+li{border-top:1px solid var(--line)}.help-sources a{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:var(--control-size);color:var(--signal-blue);text-underline-offset:3px;padding-block:10px;font-weight:700;text-decoration:underline;display:flex}.help-sources a svg{flex:none}@media (forced-colors:active){.help-steps li:before{border:1px solid canvastext}}
.language-switch{flex-shrink:0}.language-trigger{min-width:var(--control-size);min-height:var(--control-size);padding:0 var(--space-2);border-radius:var(--radius-control);color:var(--ink);background:0 0;border:0;justify-content:center;align-items:center;gap:4px;font-weight:700;display:flex}.language-trigger:hover,.language-trigger[aria-expanded=true]{background:var(--diagram)}.language-code{font-size:var(--text-sm);letter-spacing:.04em}.language-chevron{color:var(--muted);transition:transform var(--motion-fast);transform:rotate(90deg)}.language-trigger[aria-expanded=true] .language-chevron{transform:rotate(-90deg)}.language-trigger[aria-disabled=true]{cursor:progress;opacity:.65}.language-menu{width:13.5rem;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:0 0 var(--space-1);border:1px solid var(--ink);background:var(--surface);color:var(--ink);border-radius:0;margin:0;position:fixed;inset:auto;overflow:auto}.language-menu-heading{padding:var(--space-3) var(--space-3) var(--space-2);border-bottom:1px solid var(--line);color:var(--muted);font-size:var(--text-caption);letter-spacing:.08em;text-transform:uppercase;font-weight:700}.language-option{align-items:center;gap:var(--space-3);width:100%;min-height:var(--control-size);padding:var(--space-2) var(--space-3);color:var(--ink);font-size:var(--text-sm);text-align:left;display:flex;position:relative}.language-option:hover,.language-option:focus-visible{background:var(--diagram)}.language-option:focus-visible{outline-offset:-3px}.language-option[aria-checked=true]{font-weight:800}.language-option[aria-checked=true]:before{content:"";background:var(--signal-blue);width:5px;position:absolute;inset:0 auto 0 0}.language-option>span:not(.language-option-code){overflow-wrap:anywhere;min-width:0}.language-option-code{border:1px solid var(--ink);width:2rem;min-height:1.625rem;font-size:var(--text-caption);letter-spacing:.04em;flex-shrink:0;place-items:center;font-weight:700;display:grid}.language-option[aria-checked=true] .language-option-code{border-color:var(--signal-blue);background:var(--signal-blue);color:var(--on-signal-blue)}.language-check{margin-left:auto}@media (prefers-reduced-motion:reduce){.language-chevron{transition:none}}@media (forced-colors:active){.language-option[aria-checked=true]:before{background:highlight}}
.term-figure{margin:var(--space-5) 0;padding:var(--space-3) var(--space-3) var(--space-4);border-top:1px solid var(--ink);background:var(--diagram)}.term-figure>svg{width:100%;max-width:420px;height:auto;margin:0 auto;display:block;overflow:visible}.term-figure-label{fill:var(--ink);font-family:inherit;font-size:20px;font-weight:600}.term-figure-hull{fill:var(--surface);stroke:var(--ink);stroke-width:2px;stroke-linejoin:round}.term-figure-centreline{fill:none;stroke:var(--muted);stroke-width:1.4px;stroke-dasharray:4 5}.term-figure-sail,.term-figure-headsail{fill:var(--surface);stroke:var(--ink);stroke-width:2px;stroke-linejoin:round}.term-figure-headsail{fill:color-mix(in srgb, var(--ink) 14%, var(--surface))}.term-figure-blanketed{fill:color-mix(in srgb, var(--ink) 6%, var(--surface));stroke-dasharray:5 4}.term-figure-boom{fill:none;stroke:var(--signal-blue);stroke-width:4px;stroke-linecap:square}.term-figure-rig{fill:none;stroke:var(--muted);stroke-width:2px}.term-figure-mast{fill:var(--ink)}.term-figure-luff,.term-figure-leech{fill:none;stroke:var(--ink);stroke-width:4px}.term-figure-leech{stroke-dasharray:8 5}.term-figure-wind-casing{fill:none;stroke:var(--on-signal-yellow);stroke-width:6px;stroke-linecap:square}.term-figure-wind{fill:none;stroke:var(--signal-yellow);stroke-width:3px;stroke-linecap:square}.term-figure-arrowhead{fill:var(--signal-yellow);stroke:var(--on-signal-yellow);stroke-width:1px;stroke-linejoin:miter}.term-figure-divider{stroke:var(--line);stroke-width:1px}.term-figure-leader{fill:none;stroke:var(--muted);stroke-width:1.3px}.term-figure-course-ring{fill:none;stroke:var(--line);stroke-width:1.4px;stroke-dasharray:3 5}.term-figure-no-go{fill:color-mix(in srgb, var(--signal-red) 12%, var(--diagram));stroke:var(--signal-red);stroke-width:1.2px;stroke-dasharray:4 4}.term-figure-hatch{stroke:var(--muted);stroke-width:2px;opacity:.45}.term-figure-legend{justify-content:center;gap:var(--space-2) var(--space-6);margin:var(--space-1) 0 var(--space-3);color:var(--ink);font-size:var(--text-sm);flex-wrap:wrap;line-height:1.5;display:flex}.term-figure-legend>span{align-items:center;gap:var(--space-2);display:inline-flex}.term-figure-legend i{flex:0 0 24px;width:24px;display:block}.term-figure-key-luff{border-top:4px solid var(--ink)}.term-figure-key-leech{border-top:4px dashed var(--ink)}.term-figure-key-shadow{border:1px solid var(--muted);background:repeating-linear-gradient(115deg, transparent 0 4px, color-mix(in srgb, var(--muted) 55%, transparent) 4px 6px);height:16px}.term-figure figcaption{margin-top:var(--space-2);color:var(--muted);font-size:var(--text-sm);line-height:1.55}@media (max-width:559px){.term-figure>svg{max-height:15rem}}@media (max-width:420px){.term-figure{padding-inline:var(--space-2)}.term-figure-label{font-size:22px}}
.term-link{border-radius:var(--radius-sm);color:inherit;font:inherit;line-height:inherit;text-align:inherit;text-decoration-line:underline;text-decoration-style:dotted;-webkit-text-decoration-color:var(--muted);text-decoration-color:var(--muted);text-underline-offset:4px;white-space:normal;cursor:pointer;background:0 0;border:0;padding:0;text-decoration-thickness:1px;display:inline}.term-link:hover:not(:disabled){color:var(--signal-blue);text-decoration-style:solid;text-decoration-color:currentColor}.term-link:focus-visible{outline-offset:3px;text-decoration-style:solid}.term-prose:focus-visible{outline-offset:4px}.glossary-intro,.term-summary{max-width:65ch;margin-top:var(--space-3);color:var(--muted)}.term-summary{color:var(--ink);font-size:var(--text-lg);line-height:1.45}.term-detail{max-width:68ch;margin:var(--space-5) 0;line-height:1.65}.glossary-search{margin-top:var(--space-5)}.glossary-search label{margin-bottom:var(--space-2);font-size:var(--text-sm);font-weight:800;display:block}.glossary-search input{width:100%;min-height:48px;padding:var(--space-2) var(--space-3);border:1px solid var(--ink);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font-size:var(--text-base)}.glossary-search input::placeholder{color:var(--muted)}.glossary-filters{gap:var(--space-2);margin-top:var(--space-3);flex-wrap:wrap;display:flex}.glossary-filters button{min-height:var(--control-size);padding:var(--space-1) var(--space-3);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font-size:var(--text-sm);font-weight:600}.glossary-filters button:hover:not([aria-pressed=true]){border-color:var(--ink)}.glossary-filters button[aria-pressed=true]{border-color:var(--signal-blue);background:var(--signal-blue);color:var(--on-signal-blue);font-weight:800}.glossary-count{margin:var(--space-4) 0 var(--space-2);color:var(--muted);font-size:var(--text-xs)}.glossary-results{border-top:1px solid var(--ink);margin:0;padding:0;list-style:none}.glossary-results li{border-bottom:1px solid var(--line)}.glossary-results button{justify-content:space-between;align-items:center;gap:var(--space-4);width:100%;min-height:48px;padding:var(--space-3) var(--space-2) var(--space-3) 0;text-align:left;display:flex}.glossary-results button:hover:not(:disabled){background:var(--diagram)}.glossary-results button>span{flex-direction:column;gap:2px;min-width:0;display:flex}.glossary-results strong{font-weight:800}.glossary-results button>span>span{color:var(--muted);font-size:var(--text-sm);line-height:1.5}.glossary-results button>svg{color:var(--muted)}.glossary-empty{justify-items:start;gap:var(--space-2);padding:var(--space-4) 0;display:grid}.glossary-empty-art{width:8rem;display:block}.glossary-empty-art img{width:100%;height:auto;display:block}.glossary-empty-art .art-night{display:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .glossary-empty-art .art-day{display:none}:root:not([data-theme=light]) .glossary-empty-art .art-night{display:block}}:root[data-theme=dark] .glossary-empty-art .art-day{display:none}:root[data-theme=dark] .glossary-empty-art .art-night{display:block}.glossary-empty button{min-height:var(--control-size);color:var(--signal-blue);text-underline-offset:3px;font-weight:700;text-decoration:underline}.glossary-empty button:hover:not(:disabled){color:var(--signal-blue)}.term-cue{margin:var(--space-5) 0;padding:var(--space-3) var(--space-4);border-left:4px solid var(--ink);background:var(--diagram)}.term-cue h3,.term-related h3{font-size:var(--text-sm);font-weight:800}.term-cue p{margin-top:var(--space-1);line-height:1.6}.term-related h3{margin:var(--space-6) 0 var(--space-2)}.term-related>div{gap:var(--space-2);flex-wrap:wrap;display:flex}.term-related button{align-items:center;gap:var(--space-2);min-height:var(--control-size);padding:var(--space-1) var(--space-3);border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface);color:var(--ink);font-size:var(--text-sm);text-align:left;font-weight:600;display:flex}.term-related button:hover:not(:disabled){border-color:var(--ink)}.term-sources{margin-top:var(--space-6);border-top:1px solid var(--ink)}.term-sources summary{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:52px;color:var(--signal-blue);cursor:pointer;font-weight:700;list-style:none;display:flex}.term-sources summary::-webkit-details-marker{display:none}.term-sources summary svg{transition:transform var(--motion-fast)}.term-sources[open] summary svg{transform:rotate(45deg)}.term-sources ul{margin:0;padding:0;list-style:none}.term-sources li{border-top:1px solid var(--line)}.term-sources a{justify-content:space-between;align-items:center;gap:var(--space-3);min-height:var(--control-size);color:var(--signal-blue);font-size:var(--text-sm);text-underline-offset:3px;padding-block:10px;font-weight:700;text-decoration:underline;display:flex}.term-sources a svg{flex:none}@media (forced-colors:active){.glossary-filters button[aria-pressed=true]{outline-offset:-4px;outline:2px solid highlight}}
.app-shell{background:var(--bg);min-height:100dvh}.app-topbar{z-index:40;justify-content:space-between;align-items:center;gap:var(--space-3);min-height:calc(var(--app-bar-height) + env(safe-area-inset-top));padding:env(safe-area-inset-top) max(var(--space-3), env(safe-area-inset-right)) 0 max(var(--space-3), env(safe-area-inset-left));border-bottom:1px solid var(--ink);background:var(--surface);color:var(--ink);display:flex;position:sticky;top:0}.app-brand{min-width:44px;min-height:44px;color:var(--ink);align-items:center;gap:10px;display:flex}.app-flag{border:1px solid var(--on-signal-yellow);flex:none;grid-template-columns:1fr 1fr;width:28px;height:28px;display:grid}.app-flag>span:first-child{background:var(--signal-yellow)}.app-flag>span:last-child{background:var(--brand-blue)}.app-brand-text{flex-direction:column;min-width:0;display:flex}.app-brand-name{letter-spacing:-.03em;white-space:nowrap;text-overflow:ellipsis;font-size:1.125rem;font-weight:800;line-height:1.1;overflow:hidden}.app-brand-credit{color:var(--muted);font-size:var(--text-xs);margin-top:3px;line-height:1.2;display:none}.app-actions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:0;min-width:0;display:flex}.app-action,.app-night{justify-content:center;align-items:center;gap:var(--space-2);min-width:44px;min-height:44px;padding:0 var(--space-2);color:var(--ink);font-size:var(--text-sm);border-radius:0;font-weight:700;line-height:1.2;display:inline-flex}.app-action-pictogram{width:22px;height:22px}.app-action-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-action:hover,.app-night:hover{background:var(--diagram);color:var(--ink)}.app-action:active,.app-night:active{background:var(--selection)}.app-night-symbol{background:linear-gradient(90deg,currentColor 50%,#0000 50%);border:2px solid;border-radius:50%;width:20px;height:20px}.app-night[aria-pressed=true] .app-night-symbol{background:linear-gradient(90deg,#0000 50%,currentColor 50%)}@media (max-width:359px){.app-brand-text{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}}.app-tabs{z-index:40;padding:0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);border-top:1px solid var(--ink);background:var(--surface);grid-template-columns:repeat(4,minmax(0,1fr));display:grid;position:fixed;bottom:0;left:0;right:0}.app-tab{min-width:0;min-height:var(--app-tabs-height);color:var(--muted);text-align:center;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:center;gap:5px;padding:8px 2px 7px;font-size:.6875rem;font-weight:600;line-height:1.15;display:flex;position:relative}.app-tab-pictogram{width:24px;height:24px}.app-tab:hover:not([aria-current=page]){background:var(--diagram);color:var(--ink)}.app-tab[aria-current=page]{color:var(--signal-blue);font-weight:800}.app-tab[aria-current=page]:before{content:"";background:var(--signal-blue);height:5px;position:absolute;top:-1px;left:0;right:0}.app-content{min-width:0;padding-bottom:calc(var(--app-tabs-height) + env(safe-area-inset-bottom))}@media (min-width:640px){.app-brand-credit{display:block}}@media (min-width:760px){:root{--app-bar-height:4.5rem}.app-topbar{padding-inline:max(var(--space-8), env(safe-area-inset-left)) max(var(--space-8), env(safe-area-inset-right))}.app-brand-name{font-size:1.4375rem}.app-flag{width:34px;height:34px}.app-actions{gap:var(--space-2)}.app-action{padding:0 var(--space-3)}.app-action-label{clip-path:none;width:auto;height:auto;position:static;overflow:visible}.app-night{border:1px solid var(--line)}}@media (min-width:1024px){.app-shell{grid-template-columns:var(--app-rail-width) minmax(0, 1fr);grid-template-rows:auto 1fr;display:grid}.app-topbar{grid-column:1/-1}.app-tabs{top:var(--app-bar-offset);height:calc(100vh - var(--app-bar-offset));height:calc(100dvh - var(--app-bar-offset));padding:var(--space-6) var(--space-3) var(--space-6) max(var(--space-3), env(safe-area-inset-left));border-top:0;border-right:1px solid var(--line);background:var(--bg);flex-direction:column;gap:6px;display:flex;position:sticky;bottom:auto;left:auto;right:auto}.app-tab{min-height:60px;font-size:var(--text-sm);text-align:left;flex-direction:row;justify-content:flex-start;gap:12px;padding:12px}.app-tab[aria-current=page]{padding-left:17px}.app-tab[aria-current=page]:before{width:5px;height:auto;inset:0 auto 0 0}.app-content{padding-bottom:0}}@media (forced-colors:active){.app-tab[aria-current=page]{outline-offset:-3px;outline:3px solid highlight}.app-night[aria-pressed=true]{outline:2px solid highlight}}
