:root{font-family:'Nunito',system-ui,sans-serif;font-weight:700;color:#352146;background:#eee5f5;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:280px}button,select{font:inherit;min-height:44px;border:2px solid #553467;background:#fff7dc;color:#352146;border-radius:10px;padding:7px 10px;cursor:pointer;touch-action:manipulation}button:hover{background:#ffcfb2}button:disabled{opacity:.5;cursor:default}button.selected{background:#26746e;color:#fff7dc}button:focus-visible,select:focus-visible{outline:4px solid #e47858;outline-offset:2px}[hidden]{display:none!important}main{max-width:1180px;height:100dvh;min-height:640px;margin:auto;display:flex;flex-direction:column;gap:5px;padding:max(6px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))}header{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:44px;flex-shrink:0}header strong{line-height:1.05;letter-spacing:1px;font-size:14px}header strong span{color:#21756f}nav{display:flex;gap:4px}nav button{font-size:12px;padding:5px 8px}#pause{min-width:44px;font-size:20px}#hud{display:flex;justify-content:space-around;gap:5px;background:#3b2358;color:#fff7dc;border-radius:12px;padding:6px 8px;flex-shrink:0}#hud div{text-align:center;min-width:0}#hud small{font-size:10px;display:block}#hud strong{font-size:16px}#office{position:relative;flex:1;min-height:90px;max-height:260px;border:2px solid #76588d;border-radius:12px;overflow:hidden;background:#cfc1e4}canvas{width:100%;height:100%;display:block}#officeStatus{position:absolute;bottom:3px;left:5px;right:5px;display:flex;justify-content:center;font-size:11px;background:#fff7dcdd;border-radius:6px;padding:2px;pointer-events:none}#project{background:#fff8e6;border:2px solid #76588d;border-radius:12px;padding:7px;flex-shrink:0}#projectName{display:block;font-size:13px;text-align:center}#bars{display:flex;gap:6px;margin:5px 0}#bars>div{flex:1;min-width:0;text-align:center;font-size:10px}#bars progress{display:block;width:100%;height:8px;accent-color:#2e8477;margin-top:3px}#projectSummary{font-size:11px;line-height:1.3;text-align:center;margin:3px 0}.projectActions{display:flex;gap:5px}.projectActions button{flex:1;font-size:12px;padding:6px 3px}#release{background:#f7bb97}#staff{flex-shrink:0;background:#fff8e6;border:2px solid #76588d;border-radius:12px;padding:5px}#staffHeading{display:flex;align-items:center;justify-content:space-between;font-size:12px;padding:0 3px}#manage{font-size:11px;min-height:28px;padding:2px 9px}#assignments{display:grid;gap:3px;margin-top:3px}.employee{display:grid;grid-template-columns:60px repeat(4,minmax(44px,1fr));align-items:center;gap:3px;min-height:44px}.employee .who{font-size:9px;text-align:center;min-width:0;display:flex;align-items:center;flex-direction:column;line-height:1.05}.who img{width:32px;height:32px;object-fit:contain}.employee button{padding:3px 1px;font-size:10px;min-width:44px}.employee .unhired{grid-column:2/6;font-size:11px;opacity:.8}#weekActions{display:flex;gap:4px;flex-shrink:0;align-items:stretch}#weekActions>button{flex:1;min-width:0;font-size:12px;padding:5px 3px}#weekActions>label{width:72px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px;border:2px solid #26746e;background:#d1eee4;border-radius:10px;font-size:11px;padding:4px;position:relative;overflow:hidden}input{accent-color:#26746e}#auto{width:18px;height:18px}#autoMeter{width:100%;height:3px;background:#26746e;transform-origin:left;transform:scaleX(0)}#weekSummary,#notice{margin:0;min-height:14px;font-size:10px;line-height:1.2;text-align:center;flex-shrink:0}#notice{color:#9b4e36}dialog{width:100%;max-width:min(580px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;border:3px solid #553467;border-radius:18px;padding:16px;text-align:center;background:#fff7dc;color:#352146}dialog::backdrop{background:#2b1d3add}dialog button{margin:3px}dialog p{font-size:14px;line-height:1.5}h1,h2{line-height:1.1;margin:10px 0}.hero{height:190px;position:relative;overflow:hidden;border-radius:12px;background:#d1c3e6}.hero img{width:100%;height:100%;object-fit:cover}.hero h1{position:absolute;top:3px;left:10px;font-size:29px;text-align:left;background:#fff7dce8;border-radius:9px;padding:9px}#menu>button{width:95%}#campaign,#continue{background:#d0eee0}#loading{font-size:12px}details{border-top:1px dashed #aa91b0;margin-top:10px;padding-top:10px}summary{min-height:44px;cursor:pointer;display:flex;align-items:center;justify-content:center}.settings{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:10px 0}.settings label{display:flex;align-items:center;gap:4px;min-height:44px;font-size:13px}.settings input{width:22px;height:22px}#briefs,#genres{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}#briefs button,#genres button{margin:0;min-height:64px;font-size:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;padding:6px 4px}#genres small{font-size:10px}.scopeLabel{display:flex;justify-content:center;align-items:center;gap:10px;margin:12px 0}#estimate{font-size:13px;border:1px dashed #b198b8;border-radius:8px;padding:8px;margin:10px 0}#estimate p{margin:4px;font-size:13px}#staffCards{display:grid;grid-template-columns:repeat(2,1fr);gap:7px}.staffCard{border:2px solid #76588d;border-radius:12px;padding:7px;font-size:12px}.staffCard img{width:80px;height:80px;object-fit:contain}.staffCard strong,.staffCard small{display:block}.staffCard button{min-width:80px;font-size:12px}.staffCard p{margin:4px;font-size:11px}#released{display:grid;gap:6px}.releaseCard{border:2px solid #76588d;border-radius:10px;padding:8px}.releaseCard strong{display:block}.releaseCard p{margin:3px;font-size:12px}.releaseCard button{font-size:12px}#launchNumbers,#reportNumbers{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}#launchNumbers p,#reportNumbers p{margin:0;padding:8px;border:1px dashed #b198b8;border-radius:7px;font-size:13px}#result img{width:150px;height:150px;object-fit:contain}@media(max-width:360px){main{padding-left:6px;padding-right:6px;gap:4px}#hud{padding:5px}#hud strong{font-size:14px}.employee{grid-template-columns:52px repeat(4,minmax(44px,1fr));gap:2px}#project{padding:5px}dialog{padding:12px}.hero{height:150px}.hero h1{font-size:25px}#weekActions button{font-size:11px}}@media(max-height:480px) and (min-width:580px){main{min-height:330px;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:44px 43px 1fr 48px 14px;gap:4px}header,#hud,#weekSummary,#notice{grid-column:1/3}header{grid-row:1}#hud{grid-row:2;padding:3px 8px}#office{grid-column:1;grid-row:3;min-height:0;max-height:none}#project{grid-column:1;grid-row:4;padding:3px;display:flex;align-items:center;gap:3px}#projectName{max-width:30%;font-size:10px}#bars,#projectSummary{display:none}.projectActions{flex:1}.projectActions button{font-size:10px}#staff{grid-column:2;grid-row:3;min-height:0;padding:3px;overflow:auto}#staffHeading{display:none}.employee{grid-template-columns:48px repeat(4,minmax(44px,1fr));min-height:44px;gap:2px}.who img{height:25px;width:25px}.who{font-size:8px}#assignments{gap:1px;margin:0}#weekActions{grid-column:2;grid-row:4}#weekSummary{grid-row:5}#notice{position:absolute;bottom:1px;left:0;right:0;min-height:0;background:#eee5f5}#manage{display:none}.hero{height:130px}}
#manage{min-height:44px}#cash[data-negative=true]{color:#ffbda3}.who{touch-action:none;user-select:none}.dragging [data-lane]{outline:2px dashed #e47858}#genres img{object-fit:contain}#launchNumbers p,#reportNumbers p{white-space:pre-line;font-variant-numeric:tabular-nums}#weekSummary{min-height:24px}#newProject:only-child{width:100%}@media(max-height:480px) and (min-width:580px){main{grid-template-rows:44px 43px minmax(100px,1fr) 92px 28px}#project{display:grid;grid-template-columns:1fr;gap:0}#projectName{max-width:none;font-size:10px}#bars{display:flex;margin:1px 0;gap:3px}#bars>div{font-size:9px}#bars progress{height:4px;margin:0}#projectSummary{display:block;font-size:9px;margin:0}.projectActions{height:44px}#staffHeading{display:flex}#manage{display:block;font-size:10px}#weekActions{align-items:center}#weekActions>label{min-height:44px}#weekSummary{min-height:28px;padding-bottom:8px;font-size:10px}#notice{font-size:9px}}
