:root{font-family:system-ui,sans-serif;background:#f1edf2;color:#2c2332;line-height:1.52;--ink:#2c2332;--paper:#fffafc;--line:#d7cbd9;--muted:#63556a;--plum:#634373}*{box-sizing:border-box}body{margin:0}.shell{width:min(1110px,calc(100% - 32px));margin:auto}header{background:#271d32;color:#fff2e3;padding:2.1rem 0 1.65rem;border-bottom:5px solid #c19362}header p:last-child{max-width:63ch;font-size:1.08rem;margin-top:.6rem}h1,h2,h3,p{margin:0}h1,h2{font-family:Georgia,serif;font-weight:550}h1{font-size:clamp(2.6rem,8vw,5.65rem);letter-spacing:-.05em;line-height:1.05;margin-top:.45rem}h1 span,header .tag span{color:#eac085}.tag{font-size:.74rem;font-weight:850;letter-spacing:.13em;color:#764e60}header .tag{color:#f8ded1}h2{font-size:clamp(1.35rem,4vw,1.92rem);line-height:1.23;margin:.1rem 0}.muted,.feedback{color:var(--muted);font-size:.86rem}.split,.buttons{display:flex;align-items:center;gap:.55rem}.split{justify-content:space-between}.buttons{flex-wrap:wrap}.panel{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:1rem;margin-top:1rem}.inputs,.coords,.desk{display:grid;gap:.7rem}.inputs{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:.65rem}.inputs>div,aside{padding:.7rem;border:1px solid var(--line);border-radius:8px}.name{overflow-wrap:anywhere}.desk{grid-template-columns:minmax(0,1fr) minmax(215px,.47fr);align-items:start;margin-top:.7rem}.surface{position:relative;display:grid;place-items:center;background:#2a2131;border-radius:7px;overflow:hidden;max-height:68vh}.surface canvas{display:block;width:100%;height:100%;object-fit:fill}.surface:has(canvas){max-height:none}.box{position:absolute;border:2px dashed #fff;box-shadow:0 0 0 1px #251e2c;pointer-events:none}.preview>p{margin-top:.4rem}.coords{grid-template-columns:1fr 1fr;margin:.5rem 0}.coords input,input[type=file]{width:100%;display:block;min-width:0;margin-top:.25rem}label{font-weight:700;font-size:.88rem}.coords input{border:1px solid #9d8aa1;border-radius:5px;padding:.35rem .45rem}button,input{font:inherit}button{border:1px solid #947f9a;border-radius:6px;background:var(--paper);color:var(--ink);font-weight:690;padding:.45rem .68rem;cursor:pointer}button:hover:not(:disabled){background:#f0e6f1}button:disabled{cursor:not-allowed;opacity:.52}.primary,button[aria-pressed=true]{background:var(--plum);color:#fff;border-color:var(--plum)}.primary:hover:not(:disabled),button[aria-pressed=true]:hover:not(:disabled){background:#523362}button:focus-visible,input:focus-visible{outline:3px solid #b06a07;outline-offset:2px}dl{display:grid;gap:.25rem;margin:.7rem 0 0}dl div{display:flex;justify-content:space-between;border-left:4px solid #a99ead;padding:.24rem .42rem;background:#f4eff5;gap:.35rem}dl .extra{border-left-color:#2075a8}dl .missing{border-left-color:#c34366}dl .matched{border-left-color:#a5801c}dd{margin:0;font-variant-numeric:tabular-nums;font-weight:800}.error{color:#8d2740;font-weight:700;font-size:.87rem;margin-top:.4rem}.hold{border:1px dashed var(--line);padding:1rem;margin-top:.7rem}.panel>.muted{margin-top:.35rem}.feedback{height:1.35rem;margin-bottom:.4rem}@media(max-width:740px){.inputs,.desk{grid-template-columns:1fr}.inputs>div{padding:.55rem}.split{align-items:flex-start;flex-direction:column}.shell{width:calc(100% - 24px)}header{padding:1.45rem 0 1.18rem}}
