*{box-sizing:border-box}body{margin:0;background:#f5f3ed;color:#242624;font:15px system-ui,sans-serif}header,.bar,.tools{display:flex;align-items:center;gap:14px}header{background:#222723;color:white;padding:15px clamp(16px,4vw,70px)}header strong{font-size:22px;letter-spacing:-1px}header i{color:#c6eb77}header span{color:#d3d8cd}header button{margin-left:auto;background:#c6eb77}button,select,summary,a{cursor:pointer}button,select{border:1px solid #bfc3b9;background:#fffef8;border-radius:7px;padding:10px 14px;font:inherit;color:#242624}button:disabled{opacity:.5}main{max-width:1340px;margin:auto;padding:24px clamp(14px,3vw,50px);display:grid;grid-template-columns:minmax(270px,1fr) minmax(0,1.35fr);gap:4vw}h1,h2{font-size:20px;letter-spacing:-.6px;margin:12px 0}label{display:grid;gap:7px;font-weight:600;font-size:13px}textarea{width:100%;height:32vh;padding:18px;background:#fffdf8;border:1px solid #bfc3b9;border-radius:9px;resize:vertical;font:15px/1.55 ui-monospace,monospace;margin:7px 0 14px}details{padding:16px 0;border-bottom:1px solid #cbcfc5}details label{margin:12px 0}.stage{background:#d9dcd4;border-radius:12px;display:grid;place-items:center;padding:18px;min-height:48vh}canvas{display:block;max-height:64vh;max-width:100%;width:auto;height:auto;box-shadow:0 7px 24px #0002}.bar{margin:10px 0;justify-content:space-between}.bar input{flex:1;min-width:30px;accent-color:#385537}#list{max-height:29vh;overflow:auto}#list button{display:block;width:100%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:5px}#list [aria-current=true]{background:#e1edce;border-color:#708952}#status{min-height:1.4em}a{color:#334c20;font-weight:700}[hidden]{display:none!important}@media(max-width:700px){main{grid-template-columns:1fr}header span{display:none}textarea{height:180px}.stage{min-height:0}canvas{max-height:52vh}.tools{flex-wrap:wrap}}
:root{color-scheme:light;--line:#d6d4cd}body{background:#f4f3ee;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}header{height:64px;padding:0 max(22px,4vw);gap:18px;background:#25241f}header i{color:#eed793;font-style:normal}header #projects{margin-left:auto;background:transparent;color:white;border-color:#65645d}header #export{margin:0;background:#f2d795;font-weight:650}main{gap:0;max-width:1450px;padding:24px 3vw;grid-template-columns:minmax(290px,.8fr) minmax(0,1.35fr)}section,article{border:1px solid var(--line);padding:22px;background:#fdfcf8;border-radius:18px 0 0 18px;min-width:0}article{border-left:0;background:#edede7;border-radius:0 18px 18px 0}.stage{background:repeating-conic-gradient(#d9dad2 0% 25%,#ddded7 0% 50%) 50%/16px 16px;min-height:50vh}.seg{display:flex;border-radius:10px;background:#e9e8e1;padding:4px;margin:20px 0}.seg button{flex:1;background:none;border:0;font-weight:600}.seg [aria-pressed=true]{background:white;box-shadow:0 1px 4px #0002}#name{min-width:0;width:70%;font:650 21px system-ui;border:0;background:none}textarea{height:42vh;min-height:180px;border-radius:10px}dialog{width:min(430px,92vw);border:1px solid var(--line);border-radius:20px;padding:24px;background:#faf9f5;color:#242624}dialog::backdrop{background:#1f211e80}dialog form,.actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}dialog label{margin:18px 0}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #306a54;outline-offset:2px}#list{max-height:58vh}#list button{white-space:normal;text-align:left}#clock{font-variant-numeric:tabular-nums}canvas{max-height:57vh}button{min-height:42px}@media(max-width:700px){header{gap:8px;padding:0 12px}header strong{font-size:18px}main{grid-template-columns:1fr;gap:12px;padding:12px}section,article{border:1px solid var(--line);border-radius:16px;padding:14px}textarea{height:170px}.stage{min-height:0}canvas{max-height:52vh}}
@font-face{font-family:"Noto Sans Devanagari";src:url("fonts/NotoSansDevanagari-Regular.ttf")} 
#list button{display:flex;align-items:center;gap:14px;margin-bottom:8px}#list canvas{width:38px;height:auto;max-height:70px;box-shadow:none;border-radius:4px;flex-shrink:0}
#openTemplates{margin:0 0 16px;background:#263e34;color:white}#templates{max-height:86dvh;overflow:auto}#templateFields input{width:100%;min-width:0;padding:10px;border:1px solid #c0c4bc;border-radius:7px;font:inherit;font-weight:400}#templates output{display:block;margin:16px 0;font-variant-numeric:tabular-nums}#useTemplate{background:#253e34;color:white}
#lookPreview{display:block;width:auto;height:150px;margin:12px auto;border-radius:7px}#findStarter{font:inherit;padding:10px;border-radius:7px;border:1px solid #bdc1b7}
.libraryLink{color:#fff;font-weight:600;font-size:14px;text-decoration:underline}
