*{box-sizing:border-box}body{margin:0;background:#eef2f3;color:#17333e;font:17px system-ui,-apple-system,sans-serif}header{background:#102c38;color:white;padding:18px max(20px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.brand{font-weight:900;letter-spacing:1px;color:white;text-decoration:none}.brand span{color:#80d4b2}nav a{color:#d3ebe4}main{max-width:1100px;margin:auto;padding:24px}h1{font-size:clamp(26px,4vw,42px);margin:0 0 8px}h2{font-size:24px}p{line-height:1.5;margin:8px 0 16px}.sub,footer{color:#526a73}.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;margin-top:24px}.tile{display:block;text-decoration:none;color:inherit;background:white;border:1px solid #d3dfe2;border-radius:14px;padding:22px;box-shadow:0 2px 6px #1232}.tile strong{display:block;font-size:21px;margin-bottom:8px}.tile:hover{border-color:#28866a}.tile small{color:#526a73}.detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px, .8fr);gap:22px;align-items:start;margin-top:18px}.pitch{background:#fff;border-radius:12px;padding:10px;text-align:center}.pitch svg{display:block;width:100%;height:auto;max-height:65vh;margin:auto}.panel{background:white;padding:20px;border-radius:12px}.controls{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}button{font:inherit;font-weight:650;min-height:46px;border:1px solid #b9cbcf;border-radius:9px;background:white;color:#17333e;padding:9px 14px;cursor:pointer}button.primary,button[aria-current=true]{background:#176b54;color:white;border-color:#176b54}button:disabled{opacity:.4;cursor:default}label{display:inline-flex;align-items:center;gap:6px;margin:8px 10px 8px 0}input{width:20px;height:20px}.legend{font-size:13px;display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:10px}.dot{display:inline-block;width:11px;height:11px;border-radius:50%;margin-right:4px}.phase{color:#176b54;font-weight:700}.back{display:inline-block;margin-bottom:14px;color:#176b54}footer{text-align:center;font-size:12px;padding:20px}.fullscreen .detail{max-width:1000px;margin:auto}.fullscreen header,.fullscreen footer,.fullscreen .back,.fullscreen h1,.fullscreen .sub{display:none}@media(max-width:700px){main{padding:16px}.detail{grid-template-columns:1fr;gap:12px}.pitch svg{max-height:53vh}.panel{padding:14px}}@media(orientation:landscape) and (max-height:650px){.detail{grid-template-columns:1fr 1fr}.pitch svg{max-height:75vh}}
header{padding:10px 18px}main{max-width:1440px;padding:14px 20px}h1{font-size:clamp(23px,3vw,34px)}.detail{grid-template-columns:minmax(0,2.2fr) minmax(225px,1fr);gap:12px;margin-top:8px}.pitch{padding:5px}.pitch svg{max-height:79dvh}.panel{padding:12px}.controls{gap:5px;margin:7px 0}button{font-size:14px;min-height:36px;padding:5px 9px;border-radius:6px}.back{margin-bottom:6px}.sub{margin:4px 0 9px}.fullscreen .detail{max-width:none}.fullscreen .pitch svg{max-height:90dvh}.editorbar{display:flex;gap:5px;flex-wrap:wrap;align-items:center;margin:5px 0}.editorbar select,.editorbar input[type=text]{font:inherit;font-size:14px;padding:6px;border:1px solid #b9cbcf;border-radius:6px;background:white;color:#17333e}.editorbar input[type=text]{width: min(240px,100%);height:36px}.editorbar input[type=color]{width:35px;height:34px;padding:0;border:0}.editorbar button.active{background:#176b54;color:white}.editorboard{background:#fff;border-radius:10px;padding:5px}.editorboard svg{width:100%;height:min(68dvh,800px);display:block;touch-action:none;user-select:none;-webkit-user-select:none}.editorstatus{font-size:13px;color:#526a73}.savedrow{display:flex;gap:8px;align-items:center;background:white;padding:12px;margin:8px 0;border-radius:8px;flex-wrap:wrap}.savedrow strong{flex:1}.fullscreen .editorboard svg{height:85dvh}.fullscreen .editorhide{display:none}@media(max-width:700px) and (orientation:portrait){main{padding:10px}.detail{grid-template-columns:1fr}.pitch svg{max-height:65dvh}.editorboard svg{height:54dvh}}@media(orientation:landscape) and (max-height:650px){.detail{grid-template-columns:2fr 1fr}.pitch svg{max-height:85dvh}.editorboard svg{height:62dvh}}
