:root{font-family:"Segoe UI",system-ui,sans-serif;color:#252d2c;background:#faf9f6;font-synthesis:none;--ink:#253e3a;--rule:#d9dcd5}*{box-sizing:border-box}body{margin:0}header{height:76px;border-bottom:1px solid var(--rule);display:flex;align-items:center;gap:32px;padding:0 clamp(20px,4vw,70px);background:#fffefa}.brand{display:flex;gap:12px;align-items:center;font-size:19px;font-weight:690}.brand i{position:relative;display:inline-block;width:32px;height:29px}.brand b{position:absolute;width:17px;height:17px;border-radius:50%;background:#346f86;left:0;top:11px}.brand b:nth-child(2){background:#ac4863;left:8px;top:0}.brand b:nth-child(3){background:#dab85c;left:16px;top:11px}.profile{font-size:13px;letter-spacing:.04em;color:#56635e}.profile em{font-style:normal;color:#a9b0a9;margin:0 4px}.actions{margin-left:auto;display:flex;gap:10px;align-items:center}button,input,select{font:inherit}button,.import{cursor:pointer}button:focus-visible,.import:focus-within,select:focus-visible,input:focus-visible{outline:3px solid #489a8d;outline-offset:3px}.import{background:var(--ink);color:white;border-radius:7px;padding:10px 16px;font-weight:600;font-size:14px}.import input{width:1px;height:1px;opacity:0;position:absolute}#dog,#reset{background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;color:#435c54;font-size:13px}main{display:grid;grid-template-columns:minmax(0,1fr) minmax(290px,330px);gap:clamp(20px,3vw,50px);margin:36px clamp(20px,4vw,70px)}.work{min-width:0}.worktitle{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}h1,h2,p{margin:0}h1{font:600 clamp(31px,3vw,48px)/1.15 Georgia,serif;letter-spacing:-.045em;overflow-wrap:anywhere}#stats,.sidehead p,.dialoghead p,.note,.caption{color:#586561}#stats{margin-top:6px;font-size:14px}.modes{display:flex;padding:3px;gap:1px;border:1px solid #d4d9d3;border-radius:8px;background:#eaece7}.modes button{font-size:13px;border:0;border-radius:5px;color:#495752;background:transparent;padding:7px 11px}.modes button[aria-pressed=true]{background:#fffefa;color:#193c33;box-shadow:0 1px 3px #233a3529}#stage{width:100%;height:clamp(410px,63vh,790px);position:relative;border:1px solid #d6d9d1;border-radius:12px;overflow:hidden;background:#eaece6}#viewport{display:block;width:100%;height:100%;touch-action:none}.viewtag{position:absolute;top:20px;left:20px;font-size:12px;font-weight:650;letter-spacing:.02em;color:#414f48;background:#fffdf5bd;padding:5px 10px;border-radius:5px;pointer-events:none}#righttag{left:calc(50% + 20px)}#line{position:absolute;height:100%;left:50%;top:0;width:1px;background:#c9cdc4;pointer-events:none}#home{position:absolute;bottom:14px;right:14px;background:#fffdf7ed;border:1px solid #d3d8cf;border-radius:7px;font-size:13px;padding:7px 11px;color:#33463c}#busy{position:absolute;inset:auto 50% 47% auto;transform:translate(50%);background:#fffef5;border-radius:6px;padding:12px 20px;font-size:14px;white-space:nowrap}.caption{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:14px;font-size:12px}.caption label{white-space:nowrap}select{border:1px solid var(--rule);border-radius:5px;background:#fffefa;font-size:12px;color:#394c45;padding:5px}.note{font-size:13px;line-height:1.5;max-width:83ch;margin-top:18px}aside{border:1px solid var(--rule);border-radius:10px;background:#fffefa;align-self:start;overflow:hidden}.sidehead{padding:20px 18px 14px}h2{font-size:20px;letter-spacing:-.03em}.sidehead p,.dialoghead p{font-size:13px;margin-top:5px}.tablehead,.row{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:8px 16px}.tablehead{color:#637168;font-size:12px;background:#f2f3ed;border-block:1px solid var(--rule)}#rows{max-height:clamp(340px,57vh,710px);overflow:auto;scrollbar-width:thin}.row{cursor:pointer;background:transparent;border:0;border-bottom:1px solid #eceee8;width:100%;text-align:left;font-size:13px;min-height:40px}.row:hover{background:#f1f5ef}.cell{display:flex;align-items:center;gap:8px}.cell i,.chip i{display:inline-block;width:21px;height:21px;border-radius:5px;box-shadow:inset 0 0 0 1px #0002;flex:none}.cell small{color:#647169;font-size:10px;font-family:monospace}.cell:last-child::after{content:'›';margin-left:auto;color:#7b8880}.sidefoot{padding:13px 14px}dialog{width:min(670px,94vw);padding:22px;border:1px solid var(--rule);border-radius:14px;color:#25352c;background:#fffefa;box-shadow:0 20px 100px #121d2733}dialog::backdrop{background:#1d2b2859}.dialoghead{display:flex;justify-content:space-between}.dialoghead button{font-size:26px;background:none;border:0;align-self:start}#search{width:100%;margin:16px 0 10px;border:1px solid var(--rule);border-radius:6px;padding:9px}#samples{display:grid;grid-template-columns:repeat(auto-fill,minmax(65px,1fr));align-content:start;gap:5px;max-height:48vh;overflow:auto}.chip{display:flex;gap:6px;align-items:center;justify-content:center;border:1px solid #daddd8;border-radius:6px;background:white;padding:6px 3px;font-size:12px}.chip[aria-pressed=true]{outline:2px solid #447868;outline-offset:-2px}.chip:hover{background:#e9efe7}#sampleinfo{min-height:1.5em;margin-top:12px;color:#506159;font-size:13px}#error{position:fixed;bottom:18px;left:20px;background:#482e27;color:#fff;padding:16px;max-width:min(620px,90vw);border-radius:7px;z-index:5}[hidden]{display:none!important}@media(max-width:960px){main{grid-template-columns:1fr}aside{max-width:none}#rows{max-height:320px}#stage{height:58vh}.profile{display:none}}@media(max-width:620px){header{height:auto;min-height:60px;padding:10px 14px;gap:8px}.brand{font-size:15px}.actions{gap:4px}.import{font-size:12px;padding:8px}main{margin:20px 12px;gap:18px}.worktitle{align-items:start;flex-direction:column}.caption{align-items:start;flex-direction:column}.viewtag{top:9px;left:8px;font-size:10px}#righttag{left:calc(50% + 8px)}#stage{height:54vh;min-height:300px}.note{font-size:12px}#dog{max-width:85px;font-size:11px}}

