@import"https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;600;700&display=swap";.layout{min-height:100vh;padding:1rem;display:grid;gap:1rem;max-width:1200px;margin:0 auto}.toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;background:#ffffffd1;border:1px solid rgb(15 23 42 / .12);border-radius:1rem;padding:1rem;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}h1{margin:0;font-size:clamp(1.4rem,3.1vw,2rem);line-height:1.1}p{margin:.45rem 0 0;color:#1e293b}.actions{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:flex-end}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.75rem}.btn{border:0;border-radius:999px;padding:.5rem .9rem;font-weight:700;cursor:pointer;transition:transform .14s ease,filter .14s ease}.btn:hover{transform:translateY(-1px);filter:brightness(1.05)}.btn:disabled{opacity:.45;cursor:not-allowed;transform:none;filter:none}.btn.blue{color:#eff6ff;background:#1d4ed8}.btn.red{color:#fef2f2;background:#dc2626}.btn.ghost{color:#0f172a;background:#e2e8f0}.board-stage{position:relative}.stage-panels{position:absolute;z-index:5;inset:.75rem .75rem auto;display:grid;gap:.75rem;pointer-events:none}.stage-panels .toolbar,.stage-panels .timeline-panel{margin:0;pointer-events:auto}.board-wrap{position:relative;width:100%;overflow:auto;-webkit-overflow-scrolling:touch;border-radius:1rem;border:1px solid rgb(15 23 42 / .14);background:#0284c721;padding:.75rem;overscroll-behavior:contain;touch-action:pan-x pan-y}.board-minimap{position:absolute;right:.65rem;bottom:.65rem;z-index:8;border-radius:.65rem;border:1px solid rgb(15 23 42 / .32);background:linear-gradient(to right,transparent 49.5%,rgb(255 255 255 / .45) 50%,transparent 50.5%),linear-gradient(to bottom,#0284c7c7,#0369a1db);box-shadow:0 10px 18px #0f172a38;touch-action:none;cursor:grab}.board-minimap:active{cursor:grabbing}.board-minimap-viewport{position:absolute;top:0;left:0;border:2px solid rgb(250 204 21 / .96);border-radius:.45rem;background:#facc153d;box-sizing:border-box;box-shadow:inset 0 0 0 1px #0f172a4d;pointer-events:none}.board-inner{width:max-content;margin:0 auto;position:relative}.board-menu-bar{position:relative;z-index:6;display:flex;gap:.45rem;flex-wrap:wrap;justify-content:flex-end;margin:0 0 .5rem}.overlay-toggle-btn,.panel-close-btn{white-space:nowrap}.board-canvas{border-radius:.75rem;overflow:hidden;box-shadow:0 12px 22px #0f172a2e}.timeline-panel{display:grid;gap:.75rem;background:#ffffffd1;border:1px solid rgb(15 23 42 / .12);border-radius:1rem;padding:1rem}.timeline-row{display:flex;flex-wrap:wrap;gap:.5rem .75rem;align-items:center}.timeline-field{font-weight:700;color:#0f172a}.timeline-range{width:100%;accent-color:#0284c7}.timeline-input{border:1px solid rgb(15 23 42 / .2);border-radius:.5rem;padding:.35rem .55rem;min-width:6.5rem;background:#fff}.note-text-input{min-width:14rem}.note-editor{position:absolute;z-index:4;margin:0;border:2px solid #ca8a04;border-radius:.5rem;padding:0;background:#fef9c3f2;color:#0f172a;line-height:1.3;font-family:inherit;resize:none;overflow:hidden;outline:none}.timeline-error{margin:0;color:#b91c1c;font-weight:700}@media (max-width: 760px){.toolbar{flex-direction:column}.actions{justify-content:flex-start}.stage-panels{position:fixed;top:.5rem;right:.5rem;bottom:.5rem;left:.5rem;z-index:20;gap:.5rem}.stage-panels .overlay-panel{max-height:calc(100dvh - 1rem);overflow-y:auto;overscroll-behavior:contain}.board-menu-bar{justify-content:flex-start}.board-minimap{right:.5rem;bottom:.5rem}}:root{font-family:Chakra Petch,sans-serif;line-height:1.4;font-weight:500;color:#0f172a;background:radial-gradient(circle at 10% 0%,#fef08a 0%,transparent 35%),radial-gradient(circle at 95% 100%,#bae6fd 0%,transparent 32%),linear-gradient(145deg,#dbeafe,#e2e8f0);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px}
