:root{--ink:#152e40;--muted:#526570;--blue:#006ba7;--pink:#eb579d;--edge:#dadfe0;--paper:#fbfaf7;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.43}a{color:inherit}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #e89f16;outline-offset:3px}button{border:0}button:active:not(:disabled){transform:translateY(1px)}h1,h2,h3,p{margin:0}.top{background:#fff;border-bottom:1px solid #d9dfe1}.topinner,.heroin,.desk,footer{max-width:1096px;margin:auto;padding-left:32px;padding-right:32px}.topinner{display:flex;align-items:center;justify-content:space-between;height:61px}.brand{display:flex;align-items:center}.brand img{width:116px;height:auto}.top nav{display:flex;align-items:center;gap:25px}.top nav a,.top nav button{font-weight:670;font-size:.9rem;text-decoration:none}.top nav button{background:#fff;border:1px solid #b5c2c8;border-radius:30px;padding:8px 14px}.top nav a:hover,footer a:hover{text-decoration:underline}.hero{background-color:var(--pink);background-image:linear-gradient(#ffffff16 1px,transparent 1px),linear-gradient(90deg,#ffffff16 1px,transparent 1px);background-size:43px 43px;border-bottom:1px solid #d54787}.heroin{min-height:157px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:21px;padding-bottom:21px}.hero h1{display:flex}.hero h1 img{width:clamp(230px,35vw,420px);max-width:100%;height:auto}.hero p{font-weight:720;font-size:clamp(1rem,2vw,1.27rem);color:#36213a;margin-top:8px;letter-spacing:-.025em}.calendar{text-align:left;min-width:164px;padding-left:20px;border-left:2px solid #fff8;color:#28213b}.calendar span{font-weight:750;font-size:.8rem;letter-spacing:.09em;text-transform:uppercase}.calendar strong{display:block;font-weight:800;letter-spacing:-.045em;font-size:clamp(1.4rem,3.6vw,2.15rem);line-height:1.1;margin:3px 0 9px}.calendar button{color:inherit;background:transparent;padding:0;text-decoration:underline;text-underline-offset:3px;font-size:.89rem;font-weight:630}.desk{display:grid;grid-template-columns:minmax(0,1.32fr) minmax(300px,1fr);gap:26px;padding-top:26px;padding-bottom:26px;align-items:start}.stage,.workbench{border:1px solid var(--edge);border-radius:19px;background:#fff;overflow:hidden;box-shadow:0 3px 8px #152b3c06}.stagebar,.stagefoot,.sectiontop{display:flex;align-items:center;justify-content:space-between;gap:12px}.stagebar{padding:15px 21px;border-bottom:1px solid #d4e1e4}h2{font-size:1.25rem;font-weight:760;letter-spacing:-.045em}.stagebar>span,.sectiontop>span{font-size:.84rem;font-weight:650;color:var(--muted)}.stagebar>span{background:#edf3f5;border-radius:20px;padding:5px 11px}.mat{display:grid;place-items:center;background-color:#ebf4f6;background-image:radial-gradient(#a7c5cf88 .8px,transparent .9px);background-size:12px 12px;padding:17px 20px 8px}.mat svg{width:min(100%,406px);height:auto;overflow:visible;display:block;touch-action:manipulation;user-select:none;-webkit-user-select:none;filter:drop-shadow(1px 6px 3px #355a6826)}.stagefoot{padding:10px 16px}.stagefoot button,#remove{font-size:.9rem;font-weight:650;background:transparent;padding:8px 5px}.stagefoot button:enabled:hover,#remove:hover{color:var(--blue);text-decoration:underline}.workbench{padding:22px}.instr{margin:9px 0 17px;line-height:1.45;color:var(--muted);font-size:1rem}.tray{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.slot{display:grid;place-items:center;position:relative;height:70px;background:#e9f0f3;border:1.5px solid transparent;border-radius:10px;touch-action:none;user-select:none;transition:background .12s}.slot:not(.onboard):hover{background:#d6e8ee}.slot svg{display:block;width:84%;height:77%;pointer-events:none;overflow:visible;filter:drop-shadow(0 1px 1px #536b7940)}.slot[aria-pressed=true]{border-color:#007ab9;background:#cfe9f4;box-shadow:inset 0 0 0 1px #007ab9}.slot.onboard{background:#f5f6f5}.slot.onboard svg{opacity:.34}.slot .tick{position:absolute;bottom:3px;right:5px;font-size:.75rem;color:var(--blue);font-weight:800}.transforms{display:flex;gap:8px;margin-top:17px}.transforms button,.hint,.primary,.secondary{border:1px solid #afc4cf;border-radius:9px;background:#fff;min-height:41px;font-weight:680;font-size:.93rem}.transforms button{flex:1}.transforms span,.hint span{font-size:1.3rem;vertical-align:-1px;margin-right:3px}.transforms button:enabled:hover,.secondary:hover{background:#edf6f9}#remove{color:var(--blue);padding-left:0}#status{font-size:.91rem;line-height:1.45;margin-top:16px;color:#395260;min-height:2.9em}.hint{margin-top:10px;border-color:#b9dbe9;background:#e8f4fa;color:#075982;padding:0 16px}.hint:hover{background:#d9eff9}.stage svg text{font-family:Arial,sans-serif;pointer-events:none}.tile{cursor:pointer;outline:none}.tile:focus-visible .floor{stroke:#ffd42d;stroke-width:.09}.boardpiece{cursor:grab;touch-action:none}#ghost{pointer-events:none}footer{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--edge);padding-top:14px;padding-bottom:18px;color:var(--muted);font-size:.82rem}footer a{font-weight:630;text-underline-offset:3px}
dialog{border:0;border-radius:18px;padding:0;color:var(--ink);max-width:min(92vw,420px);width:100%;box-shadow:0 15px 80px #10212d38}dialog::backdrop{background:#132b3aa6}.modbox{padding:28px;position:relative}.cross{position:absolute;right:12px;top:10px;background:#eaf0f1;border-radius:50%;font-size:1.5rem;line-height:32px;width:32px;height:32px}.modbox h2{margin:4px 26px 12px 0;font-size:1.65rem}.modbox p,.modbox li{line-height:1.5}.modbox ol{padding-left:23px}.modbox li{padding-bottom:6px}.actions,.datefields{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.primary,.secondary{padding:9px 14px}.primary{background:#006da7;color:#fff;border-color:#006da7}.datefields label{display:flex;flex:1;flex-direction:column;gap:5px;font-size:.87rem;font-weight:650}.datefields select{width:100%;padding:8px;border:1px solid #93aab7;border-radius:6px;background:#fff;color:var(--ink)}.modalnote{margin-top:10px}.dragfloat{position:fixed;pointer-events:none;z-index:5;opacity:.82;filter:drop-shadow(0 4px 3px #17374542)}
@media(max-width:740px){.topinner,.heroin,.desk,footer{padding-left:16px;padding-right:16px}.topinner{height:45px}.brand img{width:88px}.top nav{gap:15px}.top nav a,.top nav button{font-size:.8rem}.top nav button{padding:6px 10px}.heroin{min-height:102px;padding-top:14px;padding-bottom:14px;gap:12px}.hero h1 img{width:clamp(142px,45vw,290px)}.hero p{font-size:.87rem;margin-top:6px}.calendar{min-width:0;padding-left:10px}.calendar strong{font-size:1.16rem;margin:1px 0 3px}.calendar span,.calendar button{font-size:.72rem}.desk{grid-template-columns:1fr;gap:12px;padding-top:12px;padding-bottom:16px;max-width:570px}.stage,.workbench{border-radius:13px}.stagebar{padding:7px 13px}.stagebar h2,.sectiontop h2{font-size:1.05rem}.mat{padding:6px 12px 3px}.mat svg{width:min(100%,35svh,342px);min-width:min(100%,235px)}.stagefoot{padding:2px 12px}.stagefoot button{padding:7px 2px}.workbench{padding:13px}.instr{margin:5px 0 9px;font-size:.89rem}.slot{height:46px}.tray{gap:6px}.transforms{margin-top:10px}#status{margin-top:10px;min-height:1.4em}.hint{margin-top:9px}footer{flex-wrap:wrap;font-size:.76rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
