/* Shared public-site chrome; no external fonts or image dependencies. */
:root{color-scheme:light dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--bg:#faf7ff;--card:#fff;--text:#282336;--muted:#645e72;--line:#d9d1e8;--purple:#6b21a8;--blue:#0752af;--hover:#6b21a81b;--success:#087b36;--button:#6b21a8}
*,*::before,*::after{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:var(--blue);text-underline-offset:3px}h1,h2,h3,p,a,li{overflow-wrap:anywhere}h1{font-size:clamp(28px,4vw,40px);line-height:1.15;color:var(--purple);margin:0 0 14px}h2{font-size:21px;margin:24px 0 10px;color:var(--purple)}h3{font-size:16px;margin:14px 0 6px}p,li{line-height:1.65}img{max-width:100%;height:auto}.bb-container,main{width:calc(100% - 48px);max-width:1320px;margin-inline:auto;min-width:0}.bb-header{border-bottom:1px solid var(--line);background:var(--bg)}.bb-header-inner{display:flex;align-items:center;gap:24px;min-height:64px;padding-block:8px}.bb-brand{display:inline-flex;align-items:center;gap:8px;flex:none;text-decoration:none;border:0;background:none!important;box-shadow:none;max-width:100%}.bb-brand>img{width:38px;height:38px}.bb-brand picture{line-height:0;display:block}.bb-brand picture img{width:212px;max-width:100%;height:auto}.bb-primary-nav,.bb-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bb-header-actions{margin-inline-start:auto}.bb-primary-nav a,.bb-header-actions a{padding:8px 9px;border-radius:9px;text-decoration:none;font-size:14px;font-weight:700;color:var(--text);white-space:nowrap}.bb-primary-nav a:hover,.bb-header-actions a:hover{background:var(--hover);color:var(--purple)}
main{padding-block:24px 36px}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:clamp(16px,3vw,30px);min-width:0}.support-page{display:block}.support-page h2{border-top:1px solid var(--line);padding-top:18px}.support-page p{margin-block:7px 16px}.intro,.muted,.note{color:var(--muted)}.cta{display:inline-block;padding:12px 18px;background:var(--button);color:white;border-radius:10px;text-decoration:none;font-weight:700}.guide-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.guide-link{display:flex;align-items:center;gap:10px;min-height:70px;padding:13px;border:1px solid var(--line);border-radius:12px;background:var(--card);text-decoration:none;font-weight:700}.guide-link:hover{background:var(--hover)}.guide-link small{display:block;color:var(--muted);font-weight:400;margin-top:3px}.guide-link::after{content:'›';margin-inline-start:auto;font-size:22px}.guide-section{margin-top:16px}.math-line{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--bg);padding:14px;border-radius:10px;font-family:ui-monospace,monospace}.guide-table{overflow:auto;max-width:100%;margin-block:16px}table{border-collapse:collapse;width:100%}td,th{padding:10px;text-align:left;border:1px solid var(--line)}th{background:var(--hover)}figure{margin:16px 0;padding:14px;border-left:3px solid var(--blue);background:var(--bg)}figcaption{font-weight:600;line-height:1.5}.site-footer{margin-top:32px;padding-top:22px;border-top:1px solid var(--line)}.site-footer>.bb-brand{margin-bottom:20px}.footer-columns{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap;margin-bottom:22px}.footer-columns>section{min-width:0}.footer-columns h2{font-size:16px;margin:0 0 3px;padding:6px;color:var(--purple)}.footer-columns a,.footer-bottom a{display:block;width:fit-content;max-width:100%;padding:6px;color:var(--blue);text-decoration:none;font-size:14px;line-height:1.5;border-radius:6px}.footer-columns a:hover,.footer-columns a:focus-visible,.footer-bottom a:hover,.footer-bottom a:focus-visible{background:var(--hover)}.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:14px}.footer-bottom small{font-size:14px;color:var(--purple);font-weight:600}.footer-bottom nav{display:flex;gap:12px;flex-wrap:wrap}.footer-bottom a{font-weight:600}
.form-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:18px;align-items:start}.form-layout aside h2{margin-top:0}.form-layout form{display:grid;gap:16px;margin-top:18px}.paired{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-layout label{display:grid;gap:7px;font-size:14px;font-weight:700;min-width:0}.form-layout label span.optional{color:var(--muted);font-weight:400}.form-layout input,.form-layout select,.form-layout textarea{width:100%;min-width:0;font:inherit;font-weight:400;padding:12px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text)}.form-layout textarea{resize:vertical;min-height:130px}.form-layout button{background:var(--button);color:#fff;font:inherit;font-weight:700;border:0;border-radius:10px;padding:13px 20px;cursor:pointer}.form-layout button:disabled{opacity:.55;cursor:not-allowed}#challenge{min-width:0;max-width:100%;overflow:hidden}#status:empty{display:none}#status{line-height:1.45;overflow-wrap:anywhere}.success{color:var(--success);font-weight:650}.preview-notice{padding:12px;border-radius:10px;background:var(--hover);color:var(--text);font-size:14px}.form-layout .note{font-size:14px;margin:0}.form-layout .paired label{min-width:0}input:focus,select:focus,textarea:focus,a:focus-visible,button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
@media(max-width:1079px){.bb-container,main{width:calc(100% - 24px)}.bb-header-inner{gap:10px;flex-wrap:wrap}.bb-primary-nav{order:3;width:100%;gap:4px}.bb-header-actions{margin-left:auto}.guide-list{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-columns>section{flex:1 1 calc(50% - 24px)}}@media(max-width:650px){.form-layout,.paired,.guide-list{grid-template-columns:1fr}.bb-brand picture img{width:156px}.bb-brand>img{width:32px;height:32px}.bb-header-actions a{padding:7px 4px}.bb-header-inner{gap:6px}.bb-primary-nav a{font-size:13px;padding:6px}.footer-columns{gap:12px}.footer-columns>section{flex-basis:calc(50% - 12px)}}@media(max-width:350px){.bb-header-actions{margin-left:0}.footer-columns>section{flex-basis:100%}}
@media(prefers-color-scheme:dark){:root{--bg:#17131f;--card:#211b2c;--text:#f2edf9;--muted:#c6bad6;--line:#483e59;--purple:#d8a5ff;--blue:#79d9ff;--hover:#d8a5ff24;--success:#65e59a;--button:#6b21a8}}

.bb-support-embedded .bb-header,.bb-support-embedded main>.top{display:none}.bb-support-embedded main{padding-top:16px}
:root[data-bb-theme="light"]{color-scheme:light;--bg:#faf7ff;--card:#fff;--text:#282336;--muted:#645e72;--line:#d9d1e8;--purple:#6b21a8;--blue:#0752af;--hover:#6b21a81b;--success:#087b36;--button:#6b21a8}
:root[data-bb-theme="dark"]{color-scheme:dark;--bg:#17131f;--card:#211b2c;--text:#f2edf9;--muted:#c6bad6;--line:#483e59;--purple:#d8a5ff;--blue:#79d9ff;--hover:#d8a5ff24;--success:#65e59a;--button:#6b21a8}
