:root{font-family:Arial,Helvetica,sans-serif;color:#273a46;background:#e9e9df;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,summary{cursor:pointer}button{border:1px solid #bcc7c4;border-radius:5px;padding:10px 13px;background:#f8f8f0;color:inherit;transition:background .15s}button:hover{background:#e4d9bd}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #d86949;outline-offset:3px}main{min-height:100dvh;padding:24px 3vw}header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.brand{display:flex;align-items:center;gap:15px}.brandmark{font-size:54px;color:#db6850}small,.paneheading{font-size:10px;letter-spacing:1.7px;font-weight:700}h1{font-family:Georgia,serif;font-size:32px;font-weight:400;margin:4px 0}h2{font-family:Georgia,serif;font-size:28px;font-weight:400;max-width:280px;margin:15px auto}.headerNote{font-size:13px;line-height:1.7}.workspace{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pane{border:1px solid #bec8c2;border-radius:9px;overflow:hidden;background:#f5f3e8}.paneheading{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;border-bottom:1px solid #d4d9ce}.badge{letter-spacing:.8px;background:#e0e6db;padding:6px 9px;border-radius:20px;font-size:9px}.badge.reveal{background:#efd5ab}.referenceStage,.drawingStage{height:min(49vw,450px);display:flex;align-items:center;justify-content:center;position:relative}.referenceStage{background:#dfe6df;background-image:radial-gradient(#bfcbbd 1px,transparent 1px);background-size:13px 13px}.referenceMask{width:min(100%,450px);height:100%;display:flex;align-items:center;justify-content:center}.referenceMask canvas{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.drawingStage{background:#faf7ee}.drawingStage canvas{width:min(100%,450px);height:100%;object-fit:contain;touch-action:none;cursor:crosshair;max-width:100%;aspect-ratio:1}.hiddenNote{text-align:center;padding:30px;color:#526760}.hiddenNote p{font-size:13px;line-height:1.7;white-space:pre-line}.eye{font-size:68px;color:#849b86}.refFooter,.tools{min-height:66px;border-top:1px solid #d4d9ce;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.tools{flex-wrap:wrap}.inks{display:flex;gap:6px}.inks button{width:23px;height:23px;padding:0;border:3px solid transparent;border-radius:50%}.inks button[aria-pressed=true]{outline:2px solid #273a46;outline-offset:2px}.tools label{display:flex;align-items:center;gap:5px}.tools input{width:65px}.tools button{font-size:11px}.transport{display:flex;align-items:center;gap:12px;background:#f5f3e8;border:1px solid #bec8c2;border-radius:9px;padding:17px 20px;margin:18px 0 26px}.clock{font-family:Georgia,serif;font-size:28px;margin-top:4px;min-width:150px}.clock span{font:12px Arial;color:#6b7b7c}.timeline{display:flex;gap:4px;flex:1;min-width:50px;overflow:hidden}.timeline div{height:36px;display:flex;align-items:center;justify-content:center;border-radius:3px;min-width:2px;font-size:12px}.open{background:#e5ac6b}.closed{background:#d6dfd4}.current{outline:2px solid #273a46;outline-offset:-3px}.primary{background:#294e51;color:#fff;border-color:#294e51}.primary:hover{background:#406568}.settings{display:grid;grid-template-columns:1fr 1fr 1fr;gap:30px}.settings>div{min-width:0}h3{font-family:Georgia,serif;font-size:21px;font-weight:400;margin:0 0 7px}p{font-size:12px;color:#586b6c;line-height:1.65}.example{display:flex;gap:6px;margin-bottom:8px}.example button{font-size:11px;text-align:left}.example button:first-child{flex:1}.fileLabel{display:block;font-size:11px;margin-top:17px}.fileLabel input{display:block;width:100%;font-size:11px;margin:8px 0}.fine{font-size:10px;line-height:1.6}.settings textarea{display:block;width:100%;height:100px;background:#f9f8ef;border:1px solid #bdc8c1;border-radius:5px;padding:10px;resize:vertical;font:13px monospace;margin-bottom:8px}.window h4{font-size:12px;margin-bottom:10px}.window label{display:flex;gap:15px;align-items:center;font-size:11px;margin-bottom:6px}.window label input{flex:1;min-width:0}.coords{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:10px}.coords label{font-size:10px}.coords input{display:block;width:100%;background:#faf9ef;padding:8px;border:1px solid #bec8c2;border-radius:4px;margin-top:5px}.saveTitle{margin-top:25px}.settings button{margin-bottom:5px;font-size:11px}footer{border-top:1px solid #bdc7bd;margin-top:25px;padding-top:15px;display:flex;gap:20px;justify-content:space-between;font-size:10px;line-height:1.6}footer>div{max-width:45%}footer details{max-width:400px}input{accent-color:#37686a}@media(max-width:900px){.headerNote{display:none}.tools{min-height:95px}.transport{flex-wrap:wrap}.timeline{min-width:40%}.settings{grid-template-columns:1fr 1fr}.settings>div:last-child{grid-column:1/-1}}@media(max-width:620px){main{padding:15px}header{flex-wrap:wrap}h1{font-size:26px}.workspace{grid-template-columns:1fr}.referenceStage,.drawingStage{height:340px}.settings{grid-template-columns:1fr}.settings>div:last-child{grid-column:auto}.transport{gap:8px}.transport button{font-size:11px}.paneheading{padding:12px}.refFooter{font-size:9px}.tools{min-height:66px}footer{display:block}footer>div{max-width:100%}footer details{margin:15px 0}}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}.drawingStage canvas{width:min(100%,340px);height:auto;max-height:none;object-fit:initial}
