:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--foreground:#171717;--muted:#5f6368;--panel:#f7f7f5;--panel-strong:#fff;--border:#deded8;--button:#f0f1f2;--button-hover:#e4e6e8;--card-background:#fff;--card-foreground:#171717;--card-muted:#5f6368;--card-border:#deded8;--card-shadow:0 18px 50px #00000014;--qr-background:#fff;--qr-foreground:#171717}@media (prefers-color-scheme:dark){:root:not([data-theme]){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0a0a0a;--foreground:#ededed;--muted:#b6b8bc;--panel:#171717;--panel-strong:#101010;--border:#303030;--button:#242424;--button-hover:#303030;--card-background:#101010;--card-foreground:#f4f4f4;--card-muted:#b6b8bc;--card-border:#303030;--card-shadow:0 18px 50px #00000059;--qr-background:#f4f4f4;--qr-foreground:#171717}}:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fff;--foreground:#171717;--muted:#5f6368;--panel:#f7f7f5;--panel-strong:#fff;--border:#deded8;--button:#f0f1f2;--button-hover:#e4e6e8;--card-background:#fff;--card-foreground:#171717;--card-muted:#5f6368;--card-border:#deded8;--card-shadow:0 18px 50px #00000014;--qr-background:#fff;--qr-foreground:#171717}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--background:#0a0a0a;--foreground:#ededed;--muted:#b6b8bc;--panel:#171717;--panel-strong:#101010;--border:#303030;--button:#242424;--button-hover:#303030;--card-background:#101010;--card-foreground:#f4f4f4;--card-muted:#b6b8bc;--card-border:#303030;--card-shadow:0 18px 50px #00000059;--qr-background:#f4f4f4;--qr-foreground:#171717}html{height:100%}html,body{max-width:100vw;overflow-x:hidden}body{min-height:100%;color:var(--foreground);background:var(--background);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;flex-direction:column;font-family:Arial,Helvetica,sans-serif;display:flex}*{box-sizing:border-box;margin:0;padding:0}a{color:inherit;text-decoration:none}.app-shell{flex-direction:column;gap:20px;min-height:100vh;padding:16px;display:flex}.app-header{justify-content:space-between;align-items:center;gap:12px;width:min(100%,1180px);margin:0 auto;padding:10px 0;display:flex}.brand-logo{color:inherit;align-items:center;gap:8px;line-height:1;display:inline-flex}.brand-logo--compact{color:var(--foreground);flex:none;font-size:22px;font-weight:800}.brand-logo-icon{flex:none;width:34px;height:34px;display:block}.brand-logo--compact .brand-logo-icon{width:22px;height:22px}.brand-logo-text{white-space:nowrap}.header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;display:flex}.formula-button,.primary-action-list button,.secondary-action-list button{border:1px solid var(--border);background:var(--button);color:var(--foreground);cursor:pointer;font:inherit;border-radius:8px}.header-button[aria-disabled=true],.formula-button[aria-disabled=true],.primary-action-list button[aria-disabled=true],.secondary-action-list button[aria-disabled=true]{cursor:default}.header-button,.guide-link{min-width:44px;min-height:44px;color:var(--foreground);cursor:pointer;font:inherit;background:0 0;border:0;justify-content:center;align-items:center;padding:0 8px;font-size:14px;font-weight:700;transition:color .15s,opacity .15s;display:inline-flex}.guide-link{padding:0 6px}.theme-button{width:44px;padding:0}.theme-icon{width:24px;height:24px;display:block}:root[data-theme=dark] .theme-icon{filter:invert()}.language-button{min-width:44px;padding:0 8px}.support-link{flex:none;align-items:center;display:inline-flex}.support-image{width:180px;height:auto;display:block}.workspace{gap:16px;width:min(100%,1180px);margin:0 auto;display:grid}.editor-panel,.preview-panel{border:1px solid var(--border);background:var(--panel);border-radius:8px;padding:16px}.editor-panel{flex-direction:column;display:flex}.panel-heading{margin-bottom:10px}h1{color:var(--foreground);font-size:22px;line-height:1.2}h2{color:var(--foreground);margin-bottom:10px;font-size:16px;line-height:1.3}p{color:var(--muted);font-size:14px;line-height:1.5}.text-editor{resize:vertical;border:1px solid var(--border);background:var(--panel-strong);width:100%;min-height:250px;color:var(--foreground);font:inherit;border-radius:8px;flex:1;padding:14px;line-height:1.5;display:block}.text-editor::placeholder{color:var(--muted);opacity:1}.action-panel{margin-top:16px}.editor-actions{gap:8px;margin-bottom:20px;display:flex}.formula-button,.primary-action-list button,.secondary-action-list button{min-height:42px;padding:0 14px;font-weight:700}.posting-actions{border-top:1px solid var(--border);padding-top:16px}.primary-action-list,.secondary-action-list{gap:8px;display:grid}.primary-action-list button,.secondary-action-list button{text-align:left}.primary-action-list button{border-color:var(--foreground);background:var(--foreground);min-height:46px;color:var(--background)}.action-feedback{min-height:42px;color:var(--muted);white-space:pre-line;margin-top:10px}.secondary-actions{margin-top:16px}.secondary-action-list button{background:0 0;font-weight:600}.formula-button:hover,.secondary-action-list button:hover{background:var(--button-hover)}.formula-button:disabled{cursor:not-allowed;opacity:.5}.formula-button:disabled:hover{background:var(--button)}.primary-action-list button:hover{opacity:.82}.primary-action-list button:disabled,.secondary-action-list button:disabled{cursor:not-allowed;opacity:.5}.header-button:hover,.guide-link:hover{color:var(--muted);opacity:.75;background:0 0}.page-footer{width:min(100%,1180px);color:var(--muted);text-align:center;margin:auto auto 0;padding-top:4px;font-size:13px}.page-footer a{color:var(--foreground);text-underline-offset:2px;text-decoration:underline}.page-footer a:hover{color:var(--muted)}.guide-shell{min-height:100vh;padding:16px}.guide-current{min-height:44px;color:var(--foreground);align-items:center;padding:0 6px;font-size:14px;font-weight:700;display:inline-flex}.guide-content{width:min(100%,800px);margin:20px auto 0}.guide-hero{border-bottom:1px solid var(--border);flex-direction:column;align-items:flex-start;gap:18px;padding:24px 0 28px;display:flex}.guide-hero h1{font-size:clamp(28px,7vw,42px)}.guide-hero p{margin-top:8px;font-size:16px}.guide-primary-link{background:var(--foreground);min-height:44px;color:var(--background);border-radius:8px;justify-content:center;align-items:center;padding:0 18px;font-size:14px;font-weight:700;display:inline-flex}.guide-primary-link:hover{opacity:.82}.guide-section{border-bottom:1px solid var(--border);padding:28px 0}.guide-section h2{margin-bottom:14px;font-size:21px}.guide-section h3{color:var(--foreground);margin-bottom:8px;font-size:15px}.guide-section p,.guide-section li,.guide-section td,.guide-section th{font-size:15px;line-height:1.65}.guide-section ol,.guide-section ul{color:var(--foreground);padding-left:24px}.guide-section li+li{margin-top:6px}.syntax-grid{gap:14px;margin-bottom:18px;display:grid}.guide-section pre{border:1px solid var(--border);background:var(--panel);max-width:100%;color:var(--foreground);border-radius:8px;padding:14px;font-size:13px;line-height:1.55;overflow-x:auto}.guide-section code{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace}.guide-table-wrap{border:1px solid var(--border);border-radius:8px;max-width:100%;overflow-x:auto}.guide-section table{border-collapse:collapse;background:var(--panel-strong);width:100%}.guide-section th,.guide-section td{border-bottom:1px solid var(--border);text-align:left;padding:9px 12px}.guide-section tbody tr:last-child td{border-bottom:0}.guide-section th{background:var(--panel);color:var(--foreground)}.guide-complex-examples{margin-top:18px;margin-bottom:0}.rendered-example-list{gap:12px;display:grid}.rendered-example-list .math-renderer{border:1px solid var(--border);background:var(--panel-strong);max-width:100%;color:var(--foreground);text-align:center;border-radius:8px;padding:18px 12px;overflow-x:auto}.rendered-example-list .katex-display{margin:0}.guide-bottom-link{margin-top:28px}.guide-footer{border-top:1px solid var(--border);width:min(100%,800px);color:var(--muted);flex-wrap:wrap;justify-content:center;gap:8px 18px;margin:36px auto 0;padding:20px 0 4px;font-size:13px;display:flex}.guide-footer a{color:var(--foreground);text-underline-offset:2px;text-decoration:underline}.preview-stage{place-items:center;display:grid;overflow-x:auto}.card-preview{aspect-ratio:1;border:1px solid var(--card-border);background:var(--card-background);width:min(100%,680px);min-height:320px;color:var(--card-foreground);box-shadow:var(--card-shadow);border-radius:8px;flex-direction:column;justify-content:space-between;gap:32px;padding:clamp(28px,6.7%,72px);display:flex}.card-content{overflow-wrap:anywhere;min-height:0;color:var(--card-foreground);flex-direction:column;flex:auto;gap:28px;font-size:clamp(16px,2vw - 2px,26px);line-height:1.45;display:flex;overflow:hidden}.card-preview p,.card-preview span,.card-preview div{color:inherit}.preview-empty{text-align:center;flex:1;place-items:center;display:grid}.preview-empty p{color:var(--card-muted);font-size:16px;font-weight:400;line-height:1.5}.card-content>.math-renderer{max-width:100%;color:var(--card-foreground);justify-content:center;margin:4px 0;font-size:clamp(18px,2vw,28px);line-height:1.55;display:flex;overflow-x:visible}.card-content .katex{color:inherit;max-width:100%}.card-content .katex-display{overflow:visible}.card-content>.math-renderer .katex-display{margin:0}.branding-footer{color:var(--card-muted);flex:none;justify-content:flex-end;align-items:center;font-size:12px;font-weight:700;display:flex}.overflow-warning{color:#b42318;margin-top:12px;font-weight:700}:root[data-theme=dark] .overflow-warning{color:#ffb4ab}button:focus-visible,a:focus-visible,textarea:focus-visible{outline-offset:2px;outline:3px solid #4c8bf5}@media (min-width:768px){.app-shell{padding:20px 24px 28px}.workspace{grid-template-columns:minmax(280px,2fr) minmax(0,3fr);align-items:stretch}.editor-panel,.preview-panel{padding:20px}.text-editor{min-height:500px}.card-preview{min-height:560px;padding:32px}.primary-action-list,.secondary-action-list{grid-template-columns:repeat(2,minmax(0,1fr))}.guide-shell{padding:20px 24px 28px}.guide-hero{flex-direction:row;justify-content:space-between;align-items:center}.syntax-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
