@font-face{font-family:Nunito;src:url('/fonts/Nunito-Book.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url('/fonts/Nunito-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:Nunito;src:url('/fonts/Nunito-BookItalic.ttf') format('truetype');font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url('/fonts/Nunito-BoldItalic.ttf') format('truetype');font-style:italic;font-weight:700;font-display:swap}
:root{color-scheme:light;--ink:#18213a;--muted:#5d6478;--line:#dce3fb;--soft:#f6f8ff;--brand:#6686fc;--brand-dark:#3155d5;--code:#f2f5ff;--max:1180px}
*{box-sizing:border-box}
html{background:#fff;color:var(--ink);font-family:Nunito,"Avenir Next",system-ui,sans-serif;font-size:16px;line-height:1.55}
body{margin:0;background:#fff}
a{color:var(--brand-dark);text-decoration-thickness:.08em;text-underline-offset:.18em}
a:hover{color:var(--brand)}
.masthead{border-bottom:1px solid var(--line);background:#fff}
.masthead-inner{position:relative;max-width:var(--max);margin:auto;min-height:76px;padding:12px 24px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;flex:0 0 auto;text-decoration:none}
.brand img{display:block;width:168px;height:auto}
.top-nav{display:flex;gap:18px;margin-left:auto;align-items:center}
.top-nav a{min-height:44px;display:inline-flex;align-items:center;font-weight:700;text-decoration:none}.top-nav a[aria-current="page"]{color:var(--ink);text-decoration:underline;text-decoration-color:var(--brand);text-decoration-thickness:3px}
.mobile-nav{display:none;margin-left:auto}.menu-toggle{min-width:44px;min-height:44px;border:2px solid var(--line);border-radius:9px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--brand-dark);background:#fff;list-style:none}.menu-toggle::-webkit-details-marker{display:none}.menu-icon{font-size:1.7rem;line-height:1}
.search{display:flex;gap:8px;flex:1;max-width:640px}
.search input{width:100%;min-height:44px;border:2px solid #b5bfdc;border-radius:9px;padding:9px 13px;font:inherit;color:var(--ink);background:#fff}
.search input:focus{outline:3px solid #cbd6ff;outline-offset:1px;border-color:var(--brand)}
.search button{min-height:44px;border:0;border-radius:9px;padding:9px 18px;background:var(--brand-dark);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.search button:hover{background:var(--brand)}
.shell{max-width:var(--max);margin:auto;padding:36px 24px 64px}
.intro{max-width:760px;margin-bottom:28px}
.intro h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.02;letter-spacing:-.035em;margin:0 0 14px}
.intro p{font-size:1.12rem;color:var(--muted);margin:0}
.intro .hero-search-title{margin:40px 0 6px;font-size:1.3rem;letter-spacing:0}
.intro .query-examples{font-size:.98rem;margin-top:12px}.query-examples a{font-family:"SFMono-Regular",Consolas,monospace;font-weight:700}
.home-search{max-width:820px;margin:26px 0 24px}
.home-search input{min-height:56px;font-size:1.08rem}
.grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:42px;align-items:start}
.home-section{margin-top:64px;padding-top:42px;border-top:1px solid var(--line)}.home-section h2{font-size:clamp(1.55rem,3vw,2.15rem);line-height:1.15;margin:10px 0}.home-section h3{font-size:1.15rem;margin:0 0 8px}.home-section p{max-width:68ch}.start-section{display:grid;grid-template-columns:minmax(0,.8fr) minmax(360px,1.2fr);gap:42px;align-items:center}.home-code{margin:0}.home-actions{display:flex;flex-wrap:wrap;gap:16px}.home-actions a{font-weight:700}.section-lead{color:var(--muted)}.principles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.principle{border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--soft)}.principle p{color:var(--muted);margin-bottom:0}.haskell-note{display:flex;align-items:end;justify-content:space-between;gap:32px}.haskell-note>p{flex:0 0 auto;font-weight:700}
.results{list-style:none;padding:0;margin:0;border-top:1px solid var(--line)}
.result{padding:18px 4px;border-bottom:1px solid var(--line)}
.result-name{font-family:"SFMono-Regular",Consolas,monospace;font-weight:750;font-size:1.04rem;overflow-wrap:anywhere}
.signature{display:block;margin:8px 0;padding:10px 12px;border-radius:7px;background:var(--code);font-family:"SFMono-Regular",Consolas,monospace;font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere}
.summary,.meta{color:var(--muted)}
.meta{font-size:.86rem;margin-top:6px}
.panel{border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--soft)}
.module-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 24px;list-style:none;padding:0;margin:0}
.module-list li{min-width:0;padding:5px 0;overflow-wrap:anywhere}
.shape-section{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:32px;align-items:center;margin:8px 0 36px}.shape-section h2{margin:0 0 6px}.shape-section .summary{margin:0}.shape-code{margin:0}
.module-panel{padding:24px 26px}.module-panel-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:12px}.module-panel-head h2{margin:0}.module-panel-head .meta{margin:0}
.doc{max-width:850px}
.doc h1{font-size:clamp(1.65rem,4vw,2.5rem);line-height:1.15;overflow-wrap:anywhere}
.doc h2{margin-top:36px;border-bottom:1px solid var(--line);padding-bottom:8px}
.doc p{max-width:72ch}
.declaration{margin:24px 0;padding:22px;border:1px solid var(--line);border-radius:12px;background:#fff}.declaration-title{margin:0 0 8px!important;border:0!important;padding:0!important;font-size:.82rem!important;color:var(--brand-dark);text-transform:uppercase;letter-spacing:.04em}.declaration h3{margin:22px 0 6px;font-size:1rem}.declaration p{margin:.6rem 0}.kind-explanation{color:var(--muted)}.signature-guide{margin:8px 0 0;padding-left:22px}.signature-guide li{margin:6px 0}.symbol-actions{display:flex;flex-wrap:wrap;gap:18px;margin-top:28px}.symbol-actions a{min-height:44px;display:inline-flex;align-items:center;font-weight:700}
.kind{display:inline-block;border:1px solid #aebeff;border-radius:999px;padding:2px 9px;color:var(--brand-dark);font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.profile-links{padding-left:22px}.profile-links li{margin:7px 0}.support-link{display:inline-block;border-radius:9px;padding:11px 18px;background:var(--brand-dark);color:#fff;font-weight:700;text-decoration:none}.support-link:hover{background:var(--brand);color:#fff}
.footer{border-top:1px solid var(--line);background:var(--soft);margin-top:64px}
.footer-inner{max-width:var(--max);margin:auto;padding:44px 24px 28px;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr 1fr;gap:28px}
.footer-brand-column .footer-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.1rem}
.footer-brand-column .footer-brand img{width:34px;height:auto}
.footer-blurb{margin:12px 0 0;color:var(--muted);font-size:.92rem;max-width:42ch}
.footer-heading{margin:0 0 12px;font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);border:0;padding:0}
.footer-column ul{list-style:none;margin:0;padding:0}
.footer-column li{margin:0 0 9px}
.footer-column a{text-decoration:none;font-size:.95rem}
.footer-column a:hover{text-decoration:underline}
.footer-base{max-width:var(--max);margin:auto;padding:18px 24px 34px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;color:var(--muted)}
.footer-base-links{display:flex;gap:16px}
.footer-base-links a{font-size:.92rem;text-decoration:none}
.footer-base-links a:hover{text-decoration:underline}
.hero-release{margin:0 0 16px}
.hero-release a{display:inline-flex;align-items:center;gap:10px;padding:6px 14px 6px 6px;border:1px solid var(--line);border-radius:999px;background:#fff;text-decoration:none;font-size:.92rem;font-weight:700;color:var(--ink)}
.hero-release a:hover{border-color:var(--brand)}
.release-pill{padding:3px 10px;border-radius:999px;background:var(--brand-dark);color:#fff;font-size:.72rem;letter-spacing:.04em;text-transform:uppercase}
.skip{position:absolute;left:-9999px;top:8px;background:#fff;padding:8px;z-index:10}
.skip:focus{left:8px}
:focus-visible{outline:3px solid #173cae;outline-offset:3px}.search input:focus-visible{outline:3px solid #173cae;outline-offset:2px;border-color:var(--brand-dark)}
.download-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px;margin:1.5em 0}
.download-card{border:1px solid var(--line);border-radius:12px;padding:18px 20px;background:var(--soft)}
.download-card h3{margin:0 0 4px;font-size:1.25rem}
.download-arch{margin:0 0 14px;color:var(--muted);font-size:.92rem}
.download-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:9px;background:var(--brand-dark);color:#fff;font-weight:700;text-decoration:none}
.download-link:hover{background:var(--brand);color:#fff}
.download-file{margin:12px 0 0;font-size:.82rem;color:var(--muted);overflow-wrap:anywhere}
.download-table{width:100%;border-collapse:collapse;font-size:.95rem}
.download-table th{text-align:left;padding:9px 12px;border-bottom:2px solid var(--line);white-space:nowrap}
.download-table td{padding:9px 12px;border-bottom:1px solid var(--line);vertical-align:top}
.download-table code{font-family:"SFMono-Regular",Consolas,monospace}
.download-table td:nth-child(3){white-space:nowrap}
.download-checksum{font-size:.74rem;color:var(--muted);overflow-wrap:anywhere}
.release-header{margin:1.5em 0;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}
.release-header .release-version{margin:0;border:0;padding:0;font-size:1.4rem}
.release-meta{margin:6px 0 0;color:var(--muted);font-size:.95rem;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.release-tag{padding:2px 9px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--brand-dark)}
.release-links{margin:14px 0 0;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.release-forge{font-weight:700}
.release-older{margin-top:2.5em;padding-top:1.2em;border-top:1px solid var(--line);color:var(--muted)}
.document-source{margin:0 0 1.5em;color:var(--muted);font-size:.92rem}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}
@media(max-width:760px){.masthead-inner{padding:10px 16px;min-height:auto;gap:10px}.brand img{width:116px}.desktop-nav{display:none}.mobile-nav{display:block}.mobile-nav[open] .menu-toggle{background:var(--soft)}.mobile-nav-links{position:absolute;z-index:8;right:16px;top:64px;min-width:190px;margin:0;padding:10px;display:flex;flex-direction:column;align-items:stretch;gap:2px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 12px 30px rgba(24,33,58,.16)}.mobile-nav-links a{padding:8px 12px}.shell{padding:28px 16px 48px}.grid,.start-section,.shape-section,.principles{grid-template-columns:1fr;gap:20px}.home-section{margin-top:48px;padding-top:32px}.haskell-note{display:block}.module-list{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.panel{padding:16px}.footer-inner{grid-template-columns:1fr 1fr;gap:26px}.footer-brand-column{grid-column:1 / -1}.footer-base{flex-direction:column;align-items:flex-start}}
.docs-layout{display:grid;grid-template-columns:220px minmax(0,1fr) 190px;gap:44px;align-items:start}
.docs-layout-index{grid-template-columns:220px minmax(0,1fr)}
.docs-sidebar{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow:auto;font-size:.95rem}
.docs-sidebar>summary{display:none}
.docs-sidebar-title{margin:4px 0 12px;font-weight:700}.docs-sidebar-title a{color:var(--ink);text-decoration:none}
.docs-sidebar ol{list-style:none;margin:0;padding:0;border-left:1px solid var(--line)}
.docs-sidebar li a{display:block;margin-left:-1px;padding:6px 12px;border-left:2px solid transparent;color:var(--muted);text-decoration:none;line-height:1.35}
.docs-sidebar li a:hover{color:var(--brand-dark);border-left-color:#aebeff}
.docs-sidebar a[aria-current="page"]{color:var(--brand-dark);border-left-color:var(--brand-dark);background:var(--soft);font-weight:700}
.docs-article{min-width:0;max-width:760px}
.docs-crumb{margin:4px 0 0;font-size:.9rem}.docs-crumb a{text-decoration:none}
.docs-article h1{font-size:clamp(1.9rem,4vw,2.6rem);line-height:1.1;letter-spacing:-.025em;margin:.25em 0 .55em}
.docs-article h2{font-size:1.5rem;line-height:1.25;margin:2.1em 0 .6em;padding-bottom:.3em;border-bottom:1px solid var(--line);scroll-margin-top:20px}
.docs-article h3{font-size:1.15rem;margin:1.8em 0 .5em;scroll-margin-top:20px}
.docs-article h4{font-size:1rem;margin:1.5em 0 .4em;scroll-margin-top:20px}
.docs-article p,.docs-article li{max-width:72ch}
.docs-article li{margin:.3em 0}
.docs-article :not(pre)>code{font-family:"SFMono-Regular",Consolas,monospace;font-size:.86em;padding:.12em .38em;border-radius:5px;background:var(--code);color:#23305a;overflow-wrap:anywhere}
.code-block{margin:1.25em 0;padding:16px 18px;border:1px solid var(--line);border-radius:10px;background:var(--code);color:#1d2750;overflow-x:auto;font-family:"SFMono-Regular",Consolas,monospace;font-size:.88rem;line-height:1.6}
.code-block code{font:inherit;white-space:pre}
.code-figure{position:relative;margin:1.25em 0}.code-figure .code-block{margin:0}.code-label{position:absolute;top:0;right:0;padding:3px 10px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0 10px 0 8px;background:#fff;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.docs-meta{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:4px 14px;margin:0 0 1.6em;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--soft);font-size:.9rem}.docs-meta dt{color:var(--muted);font-weight:700}.docs-meta dd{margin:0;overflow-wrap:anywhere}
.docs-nav-mobile{display:none}
.docs-card>.meta{display:block;margin:0 0 6px;font-size:.78rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
.about ul:not(.profile-links) li{margin:8px 0}
.library-jump{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 8px;padding:0;list-style:none}.library-jump a{display:inline-block;padding:5px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.9rem;font-weight:700;text-decoration:none}.library-jump a:hover{border-color:var(--brand)}
.library-section{margin-top:34px}.library-section h2{scroll-margin-top:20px}.library-section>p{color:var(--muted);max-width:72ch}
.library-table{width:100%;border-collapse:collapse;font-size:.95rem}.library-table td{padding:9px 12px;border-bottom:1px solid var(--line);vertical-align:top}.library-table td:first-child{width:34%;white-space:nowrap}.library-table a{font-family:"SFMono-Regular",Consolas,monospace;font-weight:700}.library-table .meta{margin:0}
.child-modules{margin:4px 0 0;padding:0;list-style:none;font-size:.85rem}.child-modules li{display:inline}.child-modules li+li::before{content:" · ";color:var(--muted)}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}.button{display:inline-flex;align-items:center;min-height:44px;padding:9px 18px;border-radius:9px;background:var(--brand-dark);color:#fff;font-weight:700;text-decoration:none}.button:hover{background:var(--brand);color:#fff}.button-quiet{background:#fff;color:var(--brand-dark);border:2px solid var(--line)}.button-quiet:hover{background:var(--soft);color:var(--brand-dark)}
.docs-article blockquote{margin:1.25em 0;padding:12px 18px;border-left:4px solid var(--brand);border-radius:0 10px 10px 0;background:var(--soft)}.docs-article blockquote p{margin:0}
.table-wrap{overflow-x:auto;margin:1.25em 0}
.docs-article table{width:100%;border-collapse:collapse;font-size:.95rem}.docs-article th,.docs-article td{padding:9px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.docs-article th{background:var(--soft);font-weight:700}.docs-article td>code:only-child{white-space:nowrap}
.docs-toc{position:sticky;top:20px;font-size:.88rem}
.docs-toc-title{margin:6px 0 10px;color:var(--muted);font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.docs-toc ul{list-style:none;margin:0;padding:0}.docs-toc li{margin:0 0 7px;line-height:1.35}.docs-toc a{color:var(--muted);text-decoration:none}.docs-toc a:hover{color:var(--brand-dark)}.toc-level-3{padding-left:12px}
.docs-pager{display:flex;gap:16px;margin-top:56px;padding-top:24px;border-top:1px solid var(--line)}
.docs-pager a{display:flex;flex-direction:column;flex:0 1 48%;padding:14px 16px;border:1px solid var(--line);border-radius:10px;text-decoration:none}.docs-pager a:hover{border-color:var(--brand)}.docs-pager span{color:var(--muted);font-size:.8rem}.pager-next{margin-left:auto;text-align:right}
.docs-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;list-style:none;margin:28px 0 0;padding:0}
.docs-card{padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:#fff}.docs-card:hover{border-color:#aebeff}.docs-card a{font-size:1.08rem;font-weight:700;text-decoration:none}.docs-card p{margin:.45em 0 0;color:var(--muted);font-size:.95rem}
@media(max-width:1100px){.docs-layout{grid-template-columns:200px minmax(0,1fr);gap:36px}.docs-toc{display:none}}
@media(max-width:760px){.docs-layout,.docs-layout-index{grid-template-columns:1fr;gap:18px}.docs-sidebar{display:none}.docs-nav-mobile{display:block;margin:0 0 24px;padding:10px 14px;border:1px solid var(--line);border-radius:10px}.docs-nav-mobile>summary{cursor:pointer;font-weight:700;min-height:32px}.docs-nav-mobile ol{margin:8px 0 0;padding-left:22px}.docs-nav-mobile li{margin:4px 0}.docs-nav-mobile a[aria-current="page"]{font-weight:700;color:var(--ink)}.library-table td:first-child{width:auto;white-space:normal}.docs-article td>code:only-child{white-space:normal;overflow-wrap:anywhere}.docs-article th,.docs-article td{padding:8px 8px}.download-table th,.download-table td{padding:8px 8px}.download-table td:nth-child(3){white-space:normal}.download-cards{grid-template-columns:1fr}.docs-meta{grid-template-columns:1fr;gap:0}.docs-meta dd{margin-bottom:6px}.docs-pager{flex-direction:column}.docs-pager a{flex-basis:auto}.pager-next{margin-left:0}}
@media(forced-colors:active){.menu-toggle,.panel,.principle,.kind,.declaration{border:1px solid CanvasText}.top-nav a[aria-current="page"]{text-decoration-color:CanvasText}}
@media(prefers-reduced-motion:no-preference){a,button,input{transition:color .15s,background .15s,border-color .15s,outline-color .15s}}
.workspace-page{display:flex;flex-direction:column;height:100vh;height:100dvh;overflow:hidden}
.workspace-page .masthead-inner{min-height:60px;padding:8px 20px;max-width:none}.workspace-page .brand img{width:132px}
.workspace-shell{flex:1;min-height:0;display:flex;flex-direction:column;padding:0}
.playground{flex:1;min-height:0;display:flex;flex-direction:column;gap:0}.playground>pudu-island{display:contents}
.playground-notice{margin:10px 16px;padding:10px 14px;border:1px solid #f0d58a;border-left:4px solid #d9a400;border-radius:10px;background:#fffaeb;color:#5c4400;font-size:.94rem}
.playground-app{flex:1;min-height:0;display:flex;flex-direction:column;margin:0;border:0;background:#fff;overflow:hidden}
.playground-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;border-bottom:1px solid var(--line);background:var(--soft)}
.tool{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:5px 14px;border:1px solid #c9d3f5;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:.92rem;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;white-space:nowrap}
.tool:hover{border-color:var(--brand);color:var(--brand-dark)}.tool:focus-visible,.tool-select:focus-visible{outline:3px solid #cbd6ff;outline-offset:1px}
.tool:disabled{opacity:.55;cursor:progress}.tool-primary{border-color:var(--brand-dark);background:var(--brand-dark);color:#fff}.tool-primary:hover{border-color:var(--brand);background:var(--brand);color:#fff}
.tool-key{padding:1px 5px;border:1px solid rgba(255,255,255,.45);border-radius:4px;font-size:.72rem;font-weight:400;opacity:.9}
.tool-select{min-height:34px;max-width:210px;padding:5px 30px 5px 10px;border:1px solid #c9d3f5;border-radius:8px;background:#fff;color:var(--ink);font:inherit;font-size:.92rem;cursor:pointer}
.has-playground-script .tool-open{display:none}
.tool-spacer{flex:1 1 auto}
.tool-status{color:var(--muted);font-size:.85rem;white-space:nowrap}.tool-status.is-errors{color:#b42318;font-weight:700}.tool-status.is-warnings{color:#8a5a00;font-weight:700}
.tool-link{border-color:transparent;background:transparent;color:var(--brand-dark)}.tool-link:hover{border-color:#c9d3f5;background:#fff}
.tool-help{position:relative}.tool-help>summary{list-style:none}.tool-help>summary::-webkit-details-marker{display:none}.tool-help[open]>summary{border-color:var(--brand);background:#fff}
.tool-help-panel{position:absolute;z-index:30;right:0;top:calc(100% + 6px);width:min(420px,calc(100vw - 32px));padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:0 14px 34px rgba(24,33,58,.18);font-size:.9rem}
.tool-help-panel h2{margin:0 0 8px;font-size:1rem}.tool-help-panel dl{display:grid;grid-template-columns:auto 1fr;gap:4px 14px;margin:0}.tool-help-panel dt{font-weight:700}.tool-help-panel dd{margin:0;color:var(--muted)}
.tool-help-limits{margin:12px 0 0;padding-top:10px;border-top:1px solid var(--line);color:var(--muted);font-size:.84rem}
.playground-panes{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.has-playground-script .playground-panes{grid-template-columns:minmax(160px,var(--split,50%)) 7px minmax(160px,1fr)}
.playground-splitter{position:relative;background:var(--line);cursor:col-resize;touch-action:none}.playground-splitter::after{content:"";position:absolute;inset:0 -4px}.playground-splitter:hover,.playground-splitter.is-dragging,.playground-splitter:focus-visible{background:var(--brand);outline:none}
.is-resizing,.is-resizing *{cursor:col-resize!important;user-select:none!important}
.playground-editor{position:relative;display:flex;min-width:0;min-height:0;background:#fbfcff}
.playground-gutter,.playground-highlight,.playground-source{margin:0;font-family:"SFMono-Regular",ui-monospace,Menlo,Consolas,monospace;font-size:13.5px;line-height:21px;tab-size:2;-moz-tab-size:2;font-variant-ligatures:none}
.playground-gutter{flex:0 0 auto;min-width:3.6em;padding:14px 10px 64px 8px;border-right:1px solid var(--line);background:var(--soft);color:#9aa3bd;text-align:right;overflow:hidden;user-select:none;white-space:pre}
.playground-gutter .has-error{color:#b42318;font-weight:700}.playground-gutter .has-warning{color:#8a5a00;font-weight:700}.playground-gutter .is-current{color:var(--ink)}
.playground-code{position:relative;flex:1;min-width:0;overflow:hidden}
.playground-highlight{position:absolute;inset:0;padding:14px 18px;overflow:hidden;pointer-events:none;color:#1d2750;white-space:pre}
.playground-highlight code{display:block;font:inherit;white-space:pre;will-change:transform}
.playground-source{position:relative;z-index:1;display:block;width:100%;height:100%;padding:14px 18px;border:0;border-radius:0;background:transparent;color:#1d2750;caret-color:#1d2750;resize:none;white-space:pre;overflow:auto;outline:none}
.has-playground-script .playground-source{color:transparent;-webkit-text-fill-color:transparent}
.has-playground-script .playground-source::selection{background:rgba(102,134,252,.28);-webkit-text-fill-color:transparent}
.playground-source:focus-visible{box-shadow:inset 0 0 0 2px #cbd6ff}
.playground-marks{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;will-change:transform}
.playground-line{position:absolute;left:0;width:100000px;background:rgba(102,134,252,.07)}
.playground-mark{position:absolute;background-repeat:repeat-x;background-position:left bottom;background-size:6px 4px}
.playground-mark.is-error{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='4'%3E%3Cpath d='M0 3 L1.5 1 L3 3 L4.5 1 L6 3' fill='none' stroke='%23d92d20' stroke-width='1.1'/%3E%3C/svg%3E")}
.playground-mark.is-warning{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='4'%3E%3Cpath d='M0 3 L1.5 1 L3 3 L4.5 1 L6 3' fill='none' stroke='%23c98a00' stroke-width='1.1'/%3E%3C/svg%3E")}
.playground-marks.is-stale .playground-mark{opacity:.35}
.tok-keyword{color:#7c3aed;font-weight:600}.tok-literal{color:#b45309}.tok-number{color:#b45309}.tok-string{color:#0f766e}.tok-escape{color:#0e7490;font-weight:600}.tok-interpolation{color:#3155d5}.tok-comment{color:#7a8299;font-style:italic}.tok-doc{color:#5e6f9e;font-style:italic}.tok-type{color:#0369a1}.tok-constant{color:#9d174d}.tok-function{color:#1d4ed8}.tok-label{color:#9d174d}.tok-operator{color:#56607a}
.playground-output{display:flex;flex-direction:column;min-width:0;min-height:0;overflow:auto;padding:0;background:#fff}
.has-playground-script .playground-output{border-left:0}.playground-panes>.playground-output{border-left:1px solid var(--line)}
.playground-output-title{position:sticky;top:0;z-index:1;display:flex;align-items:center;gap:8px;margin:0;padding:10px 16px;border-bottom:1px solid var(--line);background:#fff;color:var(--muted);font-size:.74rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.playground-output>:not(.playground-output-title){margin-left:16px;margin-right:16px}
.playground-status{margin-top:12px;margin-bottom:10px;padding:2px 0 2px 10px;border-left:3px solid var(--line);color:var(--muted);font-size:.92rem}
.playground-status.is-ok{border-left-color:#1f9d55;color:#17663b}.playground-status.is-failed{border-left-color:#d92d20;color:#9f1d14}.playground-status.is-refused{border-left-color:#c98a00;color:#7a4b00}
.playground-status.is-running{border-left-color:var(--brand);color:var(--brand-dark)}.playground-status.is-running::after{content:"";display:inline-block;width:.8em;height:.8em;margin-left:8px;vertical-align:-1px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:playground-spin .7s linear infinite}
@keyframes playground-spin{to{transform:rotate(360deg)}}
.playground-meaning,.playground-empty{margin-top:0;margin-bottom:10px;color:var(--muted);font-size:.9rem}
.playground-stream{margin-top:0;margin-bottom:12px;padding:10px 12px;border-radius:8px;background:var(--code);color:#1d2750;font-family:"SFMono-Regular",ui-monospace,Menlo,Consolas,monospace;font-size:13px;line-height:1.55;overflow:auto}
.playground-stream code{font:inherit;white-space:pre}.playground-stream.is-errors{background:#fff5f4;color:#8a1c12}
.playground-stream-label{display:block;margin:4px 0 4px;color:var(--muted);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.playground-jump{padding:0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px;cursor:pointer}.playground-jump:hover{color:var(--brand-dark)}
.playground-share{margin:10px 16px;padding:12px 16px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}.playground-share label,.playground-share p{display:block;margin:0 0 6px;color:var(--muted);font-size:.9rem}
.playground-link{width:100%;min-height:40px;padding:8px 12px;border:1px solid #b5bfdc;border-radius:8px;background:#fff;color:var(--ink);font-family:"SFMono-Regular",ui-monospace,Menlo,Consolas,monospace;font-size:.84rem}
.playground-dialog{width:min(560px,calc(100vw - 32px));padding:20px 22px;border:1px solid var(--line);border-radius:14px;color:var(--ink);box-shadow:0 24px 60px rgba(24,33,58,.25)}.playground-dialog::backdrop{background:rgba(24,33,58,.35)}
.playground-dialog h2{margin:0 0 6px;font-size:1.15rem}.playground-dialog label{display:block;margin-bottom:10px;color:var(--muted);font-size:.92rem}
.playground-dialog-row{display:flex;gap:8px}.playground-dialog-note{min-height:1.4em;margin:8px 0 0;color:var(--muted);font-size:.88rem}.playground-dialog-actions{display:flex;justify-content:flex-end;margin-top:10px}
.playground-completion{position:absolute;z-index:40;display:flex;align-items:flex-start;gap:0;max-width:calc(100vw - 16px);font-size:13px}
.playground-completion[hidden]{display:none}
.playground-completion ul{min-width:220px;max-width:320px;max-height:240px;margin:0;padding:4px;overflow:auto;list-style:none;border:1px solid #c9d3f5;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(24,33,58,.18)}
.playground-completion li{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:3px 8px;border-radius:5px;cursor:pointer;font-family:"SFMono-Regular",ui-monospace,Menlo,Consolas,monospace;white-space:nowrap}
.playground-completion li[aria-selected="true"]{background:#e6ebff}.playground-completion li:hover{background:#f0f3ff}
.completion-label{overflow:hidden;text-overflow:ellipsis}.completion-label mark{background:none;color:var(--brand-dark);font-weight:700}
.completion-kind{flex:0 0 auto;color:#8b93aa;font-family:Nunito,system-ui,sans-serif;font-size:11px}
.completion-details{width:300px;max-height:240px;margin-left:4px;padding:8px 10px;overflow:auto;border:1px solid #c9d3f5;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(24,33,58,.18)}.completion-details[hidden]{display:none}
.completion-detail{display:block;margin-bottom:6px;font-size:12px;white-space:pre-wrap;word-break:break-word}.completion-details p{margin:0 0 6px}
.playground-tip{position:absolute;z-index:40;max-width:min(520px,calc(100vw - 16px));max-height:320px;padding:8px 10px;overflow:auto;border:1px solid #c9d3f5;border-radius:8px;background:#fff;box-shadow:0 10px 28px rgba(24,33,58,.18);color:var(--ink);font-size:13px;line-height:1.5}
.playground-tip[hidden]{display:none}.playground-tip p{margin:0 0 6px}.playground-tip p:last-child{margin-bottom:0}
.playground-tip pre{margin:0 0 6px;padding:6px 8px;border-radius:6px;background:var(--code);white-space:pre-wrap;word-break:break-word}.playground-tip code{font-family:"SFMono-Regular",ui-monospace,Menlo,Consolas,monospace;font-size:12.5px}
.playground-tip-problem{padding-left:8px;border-left:3px solid #d92d20;white-space:pre-wrap}.playground-tip-problem.is-warning{border-left-color:#c98a00}
.playground-signature code strong{color:var(--brand-dark);text-decoration:underline}
@media(max-width:480px){.workspace-page{height:auto;overflow:visible}.playground-app{min-height:0}.playground-panes,.has-playground-script .playground-panes{grid-template-columns:1fr;grid-template-rows:minmax(55vh,auto) auto}.playground-splitter{display:none}.playground-panes>.playground-output{min-height:220px;border-left:0;border-top:1px solid var(--line)}}
@media(max-width:760px){.tool-select{max-width:none;flex:1 1 140px}.tool-key,.tool-status{display:none}.tool{padding:5px 11px}.tool-help-panel{position:fixed;left:16px;right:16px;top:auto;width:auto}.playground-gutter{min-width:2.8em;padding-left:4px;padding-right:6px}}
@media(forced-colors:active){.playground-source,.has-playground-script .playground-source{color:CanvasText;-webkit-text-fill-color:CanvasText}.playground-highlight{display:none}}
@media(prefers-reduced-motion:reduce){.playground-status.is-running::after{animation:none}}
