:root{color:#25282d;font-synthesis:none;background:#eef0f3;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body{min-width:0;min-height:100%;margin:0}body{overflow-x:hidden}.app{grid-template-rows:auto minmax(0,1fr);width:100%;height:100dvh;display:grid}.app-header{color:#f7f8fa;background:#20242b;border-bottom:1px solid #0f1115;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem;display:flex}.app-header h1,.app-header p{margin:0}.app-header h1{font-size:1.35rem}.app-header p{color:#c7cbd2;margin-top:.25rem;font-size:.9rem}.github-link{color:#f7f8fa;background:#2b3038;border:1px solid #474e59;border-radius:.4rem;flex:none;align-items:center;gap:.5rem;padding:.55rem .75rem;font-size:.875rem;font-weight:600;line-height:1;text-decoration:none;display:inline-flex}.github-link:hover{background:#353b45;border-color:#697282}.github-link:focus-visible{outline-offset:3px;outline:2px solid #8ab4f8}.github-link svg{fill:currentColor;width:1.1rem;height:1.1rem}.workspace{background:#c8ccd2;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1px;min-width:0;min-height:0;display:grid}.panel{background:#f7f8fa;min-width:0;min-height:0;display:grid}.panel h2{letter-spacing:.02em;background:#fff;border-bottom:1px solid #d7dae0;margin:0;padding:.7rem .9rem;font-size:.9rem;font-weight:650}.editor-panel{grid-template-rows:auto minmax(0,1fr) auto}.preview-panel{grid-template-rows:auto minmax(0,1fr)}#editor{background:#282c34;min-width:0;min-height:0;overflow:hidden}#preview{background:#dfe2e7;border:0;width:100%;min-width:0;height:100%;min-height:0;display:block}.error-panel{color:#651b1b;background:#fff0f0;border-top:1px solid #e5a3a3;max-height:min(15rem,35vh);padding:.75rem .9rem;overflow:auto}.error-panel strong{display:block}.error-panel p{overflow-wrap:anywhere;margin:.25rem 0 .5rem}.error-panel details{color:#7b3333}.error-panel summary{cursor:pointer}.error-panel pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:.5rem 0 0;font:.8rem/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}@media (width<=860px){.app{grid-template-rows:auto auto;height:auto;min-height:100dvh}.workspace{grid-template-rows:minmax(30rem,70vh) minmax(34rem,70vh);grid-template-columns:minmax(0,1fr)}}@media (width<=480px){.app-header{align-items:flex-start}.github-link span{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}}
