:root{--bg:#f7f4ec;--card:#fff;--ink:#23271f;--muted:#6b7064;--line:#e2ddcf;--green:#2f8f3a;--green-soft:#e6f3df;--pink:#d02a7a;--radius:14px;color:var(--ink);background:var(--bg);font-family:BIZ UDPGothic,Hiragino Sans,Hiragino Kaku Gothic ProN,Noto Sans JP,Yu Gothic,Meiryo,sans-serif}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}.top{max-width:1180px;margin:0 auto;padding:24px 16px 8px}.top h1{letter-spacing:.02em;margin:0 0 6px;font-size:clamp(22px,3vw,30px)}.top h1 small{color:var(--green);font-size:.55em;font-weight:700}.top p{color:var(--muted);margin:0;line-height:1.7}.top strong{color:var(--ink)}.grid{grid-template-columns:minmax(280px,420px) 1fr;align-items:start;gap:20px;max-width:1180px;margin:0 auto;padding:12px 16px 24px;display:grid}@media (max-width:860px){.grid{grid-template-columns:1fr}}.stage{position:sticky;top:12px}@media (max-width:860px){.stage{position:static}}.screen{border-radius:var(--radius);background:#0f1216;overflow:hidden;box-shadow:0 6px 24px #0000001f}#out{object-fit:contain;width:100%;height:auto;max-height:78vh;margin:0 auto;display:block}.stage-bar{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;align-items:center;margin:8px 2px;display:flex}.howto{color:var(--muted);margin:4px 2px 0;font-size:13px;line-height:1.7}.panel{gap:14px;display:grid}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px 18px}.card h2{margin:0 0 12px;font-size:17px}.drop{border:2px dashed var(--line);text-align:center;border-radius:12px;padding:18px;transition:background .15s,border-color .15s}.drop p{color:var(--muted);margin:0 0 10px}.drop.over{background:var(--green-soft);border-color:var(--green)}.items{gap:6px;margin:10px 0 0;padding:0;list-style:none;display:grid}.items li{grid-template-columns:44px 1fr auto auto auto auto;align-items:center;gap:8px;display:grid}.items img{object-fit:cover;border-radius:8px;width:44px;height:44px}.items .nm{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.items .st{color:var(--muted);font-size:12px}.items .st-ok{color:var(--green)}.items .st-err{color:var(--pink)}.row{grid-template-columns:7.5em 1fr 4.5em;align-items:center;gap:10px;margin:10px 0;font-size:14px;display:grid}.row output{text-align:right;font-variant-numeric:tabular-nums;color:var(--muted)}.row.radios{flex-wrap:wrap;gap:6px 16px;display:flex}.row:has(#pivotAuto){grid-template-columns:7.5em auto 1fr 4.5em}.row-note{color:var(--muted);margin:-2px 0 10px;font-size:13px;line-height:1.6}.row-note b{color:var(--ink);font-variant-numeric:tabular-nums}.col{gap:6px;margin:10px 0;font-size:14px;display:grid}.chk{align-items:center;gap:6px;font-size:14px;display:inline-flex}input[type=range]{width:100%;accent-color:var(--green)}input[type=checkbox],input[type=radio]{accent-color:var(--green);width:18px;height:18px}textarea,input[type=text]{font:inherit;border:1px solid var(--line);resize:vertical;border-radius:10px;width:100%;padding:8px 10px}.segs{grid-template-columns:repeat(5,1fr);gap:6px;display:grid}@media (max-width:520px){.segs{grid-template-columns:repeat(3,1fr)}}.seg{border:1px solid var(--line);color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:12px;justify-items:center;gap:4px;padding:10px 4px;font-size:13px;display:grid}.seg[aria-pressed=true]{background:var(--green);border-color:var(--green);color:#fff}.btn{font:inherit;cursor:pointer;border:1px solid #0000;border-radius:999px;padding:10px 18px;font-weight:700;text-decoration:none;display:inline-block}.btn-main{background:var(--green);color:#fff}.btn-main:disabled{opacity:.5;cursor:wait}.btn-sub{color:var(--ink);border-color:var(--line);background:#fff}.btn-sub:disabled{opacity:.45;cursor:default}.btn-sub[aria-pressed=true]{background:var(--green-soft);border-color:var(--green)}.icon{font:inherit;border:1px solid var(--line);cursor:pointer;background:#fff;border-radius:8px;width:32px;height:32px}.icon:disabled{opacity:.3;cursor:default}.actions{flex-wrap:wrap;gap:8px;display:flex}progress{width:100%;height:8px;accent-color:var(--green);margin:12px 0 6px}#result{margin:6px 0}.status{min-height:1.4em;color:var(--muted);margin:8px 0 0;font-size:13px}.muted{color:var(--muted);font-size:13px;line-height:1.6}.foot{max-width:1180px;color:var(--muted);margin:0 auto;padding:8px 16px 32px;font-size:12px;line-height:1.7}.foot a{color:var(--green)}
