:root{color:#25282d;background:#eef0f3;font-family:system-ui,sans-serif}*{box-sizing:border-box}body{grid-template-rows:auto minmax(0,1fr);height:100dvh;margin:0;display:grid}.app-header{color:#f7f8fa;background:#20242b;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;padding:1rem 1.25rem;display:flex}.app-header h1{margin:0;font-size:1.35rem}.app-header p{color:#c7cbd2;margin:.25rem 0 0;font-size:.9rem}.app-header a{color:inherit;border:1px solid #697282;border-radius:.4rem;padding:.55rem .75rem}.workspace{background:#c8ccd2;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1px;display:grid}.panel{min-width:0;min-height:0;display:grid}.panel h2{background:#fff;border-bottom:1px solid #d7dae0;margin:0;padding:.7rem .9rem;font-size:.9rem}.editor-panel{grid-template-rows:auto minmax(0,1fr) auto}.preview-panel{grid-template-rows:auto minmax(0,1fr)}#editor{background:#282c34;min-height:0;overflow:hidden}#editor .cm-editor{height:100%}#preview{background:#dfe2e7;border:0;width:100%;height:100%}.error-panel{overflow-wrap:anywhere;color:#651b1b;background:#fff0f0;border-top:1px solid #e5a3a3;max-height:min(15rem,35vh);padding:.75rem .9rem;overflow:auto}.error-panel p{margin:.25rem 0 .5rem}.error-panel summary{cursor:pointer}.error-panel pre{white-space:pre-wrap}@media (width<=860px){body{height:auto}.workspace{grid-template-rows:minmax(28rem,65vh) minmax(30rem,70vh);grid-template-columns:minmax(0,1fr)}}
