@charset "UTF-8";
:root{--ink:#172f2b;--muted:#596963;--paper:#f5f5ee;--line:#d9dfd5;--green:#183b36;--lime:#dced9d;--code:#f7f8f3;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #436f43}button{touch-action:manipulation}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{max-width:1480px;margin:auto;padding:24px 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:14px;font-weight:650}.brand-mark{font-family:Georgia,serif;font-size:34px;letter-spacing:-3px;line-height:1;background:var(--green);color:var(--lime);width:48px;height:48px;border-radius:12px;text-align:center;padding-top:3px;padding-right:4px}.brand-caption{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}.header-actions{display:flex;align-items:center;gap:22px}.connection{font-size:12px;display:flex;align-items:center;gap:7px}.connection:before{content:"";height:6px;width:6px;background:#557a3b;border-radius:50%}.connection.offline:before{background:#bb7428}
main{max-width:1480px;margin:auto;padding:0 44px}.intro{display:flex;align-items:center;justify-content:space-between;padding:48px 0 34px}.eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;display:flex;align-items:center;gap:9px}.accent-line{display:inline-block;width:24px;height:2px;background:#789053}h1{font-size:clamp(38px,4.6vw,62px);letter-spacing:-2.5px;line-height:1.1;font-weight:550;margin:14px 0 16px}.title-dot{color:#819952}.intro p{font-size:15px;line-height:1.65;color:var(--muted);margin:0}.intro-note{display:flex;gap:22px;align-items:center;color:var(--muted);font-size:12px;line-height:1.8;margin-right:18px}.note-mark{font-family:Georgia,serif;font-size:62px;color:#a7b592;letter-spacing:-6px;font-weight:400}
.workspace{border:1px solid #cbd5c6;border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 10px 38px #263c2710}.workspace-toolbar{min-height:77px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 22px;border-bottom:1px solid var(--line)}.document-name input{width:240px;background:none;border:none;font-size:15px;font-weight:600;color:var(--ink);padding:2px 0}.name-hint{display:block;font-size:10px;color:var(--muted);margin-top:4px}.file-actions{display:flex;gap:8px;align-items:center}.button{display:inline-flex;justify-content:center;gap:15px;align-items:center;min-height:40px;padding:10px 16px;border:1px solid var(--line);border-radius:7px;background:white;color:var(--ink);font-size:12px;font-weight:550;white-space:nowrap}.button:hover{background:#edf1e7}.button-primary{background:var(--green);border-color:var(--green);color:#fff}.button-primary:hover{background:#28554b}.button-quiet{border-color:transparent;background:transparent}.button-small{min-height:34px;padding:8px 12px;font-size:11px}.editor-grid{display:grid;grid-template-columns:minmax(0,43%) minmax(0,57%)}.source-panel{border-right:1px solid var(--line);min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:center;padding:16px 22px;height:56px;border-bottom:1px solid var(--line)}h2{font-size:12px;font-weight:650;margin:0;display:flex;align-items:center;gap:10px}.panel-number{font-size:10px;color:#7b8d7d;font-weight:400}.syntax-label{font-family:ui-monospace,monospace;font-size:10px;color:var(--muted);background:#f1f4ed;border:1px solid #e1e7db;border-radius:4px;padding:4px 6px}.template-bar{display:flex;gap:8px;align-items:center;min-height:58px;padding:10px 18px;background:var(--code);border-bottom:1px solid #e4e9df}.template-bar label{font-size:11px;color:var(--muted);white-space:nowrap}.template-bar select{min-width:0;max-width:180px;flex:1}.template-bar .button{padding:6px 10px}select{font-size:11px;color:var(--ink);padding:7px;background:#fff;border:1px solid var(--line);border-radius:5px}
.code-wrap{display:flex;background:var(--code);height:360px;overflow:hidden}.line-numbers{font:12px/23px ui-monospace,SFMono-Regular,Consolas,monospace;color:#98a597;text-align:right;min-width:46px;padding:17px 12px 17px 4px;white-space:pre;overflow:hidden;user-select:none}#source{display:block;min-width:0;flex:1;resize:none;border:0;background:transparent;color:#224a42;font:12px/23px ui-monospace,SFMono-Regular,Consolas,monospace;tab-size:2;padding:17px 18px 17px 0;outline-offset:-3px}#source::selection{background:#dced9d}.source-footer{height:58px;display:flex;justify-content:space-between;gap:8px;align-items:center;padding:12px 18px;border-top:1px solid var(--line);font-size:10px;color:var(--muted);background:var(--code)}.preview-panel{min-width:0;display:flex;flex-direction:column}.zoom-controls{display:flex;gap:2px;align-items:center}.zoom-controls button{background:none;border:0;border-radius:4px;color:var(--muted);font-size:11px;padding:5px 8px;min-width:28px;min-height:28px}.zoom-controls button:hover{background:#edf1e7}.preview{height:418px;overflow:auto;padding:28px;display:flex;background-color:#fff;background-image:radial-gradient(#d8e0d6 .65px,transparent .65px);background-size:16px 16px}.diagram{flex:none;margin:auto;display:flex;justify-content:center;align-items:center;min-width:0}.diagram svg{display:block;max-width:none!important;flex:none}.diagram.stale{opacity:.25}.empty-preview{margin:auto;font-size:13px;color:var(--muted)}.export-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;height:58px;padding:10px 18px;border-top:1px solid var(--line);margin-top:auto}.export-bar>label{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.export-bar>div{display:flex;gap:6px}.workspace-status{display:flex;justify-content:space-between;gap:12px;background:#f0f4e9;padding:11px 20px;border-top:1px solid var(--line);font-size:10px;line-height:1.6;color:#506347}kbd{font-family:inherit;border:1px solid #cad5bd;background:#f8faf2;border-radius:3px;padding:1px 4px;font-size:9px}.error{background:#fff2ed;color:#8b3524;padding:16px 20px;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow:auto;border-top:1px solid #eac2b6}
.below-editor{display:grid;grid-template-columns:1fr auto;gap:36px;align-items:start;margin:24px 0 36px}.syntax-help{min-width:0;font-size:12px;max-width:1000px}.syntax-help summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:22px;font-weight:550;padding:5px 0}.syntax-help summary::-webkit-details-marker{display:none}.syntax-help summary span{color:#7b8d64;font-size:18px;font-weight:400}.help-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:16px}.help-grid h3{font-size:11px}.help-grid pre{font:11px/1.8 ui-monospace,monospace;overflow:auto}.syntax-help p{line-height:1.8;color:var(--muted)}.privacy-note{text-align:right;font-size:10px;line-height:1.8;color:var(--muted);margin:5px 0}.site-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 44px;max-width:1480px;margin:auto;border-top:1px solid var(--line);color:#708069;font-size:10px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:20;max-width:calc(100vw - 32px);padding:13px 20px;border-radius:8px;background:var(--green);color:white;font-size:12px;box-shadow:0 8px 30px #172f2b30}dialog{border:1px solid var(--line);border-radius:14px;padding:28px;max-width:440px;width:calc(100% - 32px);color:var(--ink);box-shadow:0 20px 70px #172f2b30}dialog::backdrop{background:#132c2560}dialog h2{font-size:19px}dialog p{font-size:13px;line-height:1.8;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:10px}
@media(min-width:1600px){.code-wrap{height:440px}.preview{height:498px}}@media(max-width:1000px){main{padding:0 24px}.site-header,.site-footer{padding:20px 24px}.intro{padding:32px 0}.template-bar{flex-wrap:wrap}.template-bar label{width:100%}.template-bar{min-height:74px}.code-wrap{height:344px}.document-name input{width:180px}.file-actions{gap:2px}.button{padding:9px 12px}.workspace-status>span:last-child{display:none}.intro-note{margin-right:0}.help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.site-header{padding:16px}.brand{font-size:12px}.brand-caption{font-size:10px}.brand-mark{width:40px;height:40px;font-size:29px}.header-actions{gap:10px}.connection{font-size:10px}.header-actions .button{max-width:116px;white-space:normal;font-size:10px;padding:6px 9px}.intro{padding:28px 0 24px}.intro-note{display:none}main{padding:0 14px}h1{letter-spacing:-1.6px;font-size:40px}.intro p{font-size:13px}.eyebrow{font-size:8px;letter-spacing:1.2px}.workspace{border-radius:11px}.workspace-toolbar{padding:14px;flex-direction:column;align-items:stretch;gap:14px}.document-name input{width:100%}.file-actions{justify-content:space-between;gap:3px;flex-wrap:wrap}.file-actions .button{font-size:10px;padding:8px 9px;min-height:36px}.editor-grid{grid-template-columns:1fr}.source-panel{border-right:0;border-bottom:1px solid var(--line)}.panel-head{padding:12px 16px;height:49px}.template-bar{min-height:50px;padding:8px 14px;flex-wrap:nowrap}.template-bar label{width:auto;font-size:10px}.template-bar select{max-width:none}.template-bar .button{font-size:10px}.code-wrap{height:280px}#source{font-size:12px}.source-footer{height:38px;padding:9px 14px}.preview{height:340px;padding:18px}.export-bar{padding:10px 14px}.workspace-status{padding:10px 14px}.below-editor{grid-template-columns:1fr;gap:14px;margin:20px 2px 28px}.privacy-note{text-align:left}.site-footer{padding:20px 16px;font-size:9px}.site-footer span:last-child{max-width:130px;text-align:right}.help-grid{gap:10px}.help-grid pre{font-size:10px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.embedded .site-header,.embedded .intro,.embedded .site-footer{display:none}.embedded main{padding:0;max-width:none}.embedded .workspace{border:0;border-radius:0;box-shadow:none}.embedded .below-editor{margin:16px 20px;gap:20px}.embedded .privacy-note{font-size:10px}.embedded .help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:720px){.embedded .below-editor{margin:14px}.embedded .workspace-toolbar{padding:12px}}
