:root{--bg:#f5f7fb;--card:#fff;--nav:#0e1f43;--primary:#3167ef;--text:#1b2945;--muted:#748098;--border:#e6eaf2;--soft:#eef3ff;--green:#13885f}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:14px/1.55 Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--text)}a{color:#2861df;text-decoration:none}a:hover{text-decoration:underline}h1{font-size:29px;margin:2px 0 4px;line-height:1.25;letter-spacing:-.7px}h2{font-size:18px;margin:0 0 16px;letter-spacing:-.25px}h3{font-size:15px}p{margin:6px 0 15px}small,.muted{color:var(--muted)}small{display:block;font-size:11px}.tiny{font-size:11px}.sidebar{position:fixed;top:0;bottom:0;left:0;width:240px;background:var(--nav);color:#cbd6f6;padding:25px 15px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:11px;color:#fff;font-weight:800;font-size:19px;padding:5px 11px 36px}.brand small{color:#88a0d1;letter-spacing:2px;font-size:9px;text-transform:uppercase}.brand-icon,.logo-big{display:grid;place-items:center;background:linear-gradient(135deg,#2b83fa,#6e4bf6);color:#fff;border-radius:12px;font-size:26px;font-weight:900;width:41px;height:41px}.sidebar nav{display:grid;gap:6px}.sidebar nav a{color:#cbd6f6;border-radius:9px;padding:12px 13px;font-weight:600}.sidebar nav a:hover,.sidebar nav a.active{background:#264a89;text-decoration:none;color:#fff}.sidebottom{margin-top:auto;color:#899fca;font-size:12px;padding:12px}.side-signout{color:#d7e2fc;border:0;background:transparent;cursor:pointer;padding:8px 0}.main{margin-left:240px;padding:24px 34px;max-width:1800px;min-height:100vh}.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px;padding-bottom:17px;border-bottom:1px solid var(--border)}.top strong{display:block}.top small{margin-top:3px}.top-right{font-size:12px;color:var(--muted)}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#36cb95;margin-right:7px}.pagehead{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:15px}.pagehead p{color:var(--muted);margin-top:8px}.eyebrow{font-weight:800;letter-spacing:2px;font-size:10px;color:#4d70c1}.back{display:block;margin-bottom:12px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}.stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{background:white;border:1px solid var(--border);padding:20px;border-radius:15px;box-shadow:0 4px 15px #1e366007}.stat span{color:#687b98;display:block;font-size:12px;font-weight:600}.stat strong{font-size:26px;display:block;margin:6px 0}.cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.cols.left-heavy{grid-template-columns:minmax(0,1.7fr) minmax(290px,.83fr)}.stack{display:grid;gap:15px;align-content:start}.card{border:1px solid var(--border);padding:23px;background:var(--card);border-radius:16px;box-shadow:0 5px 22px #16345d07;margin-bottom:18px;min-width:0}.cols>.card,.stack>.card{margin-bottom:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.section-head h2{margin:0}.section-head>span,.section-head>a{font-size:12px}.btn{display:inline-flex;justify-content:center;align-items:center;padding:11px 16px;border:1px solid #d5dded;background:white;color:#25447c;border-radius:9px;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.btn.primary{background:var(--primary);border-color:var(--primary);color:white}.btn:hover{filter:brightness(.96);text-decoration:none}.btn:disabled{opacity:.4;cursor:not-allowed}.mini-tag{font-size:9px;font-weight:800;letter-spacing:1px;background:#e4f8ef;color:#07825a;border-radius:6px;padding:5px 7px;vertical-align:middle}.focus{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.focus h2{font-size:24px;margin-bottom:8px}.focus p{color:var(--muted);max-width:390px}.ring{border:8px solid #dce8ff;box-shadow:inset 0 0 0 2px #6a95fa;border-radius:50%;width:102px;height:102px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0}.ring strong{font-size:23px}.queue,.activity{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--border);padding:11px 0}.queue:last-child,.activity:last-child{border:0}.queue>div,.activity>div{flex:1}.queue>a{font-size:12px;white-space:nowrap}.number{background:#edf3ff;padding:8px 13px;border-radius:9px;color:#5074d1}.workflow{display:flex;gap:7px;flex-wrap:wrap}.step{flex:1;text-align:center;background:#f1f5ff;border:1px solid #e2e9fc;border-radius:10px;padding:10px 5px;min-width:88px}.step.selected{border:2px solid #3772ee;background:#e9f0ff}.step span{display:grid;place-items:center;border-radius:50%;width:26px;height:26px;margin:0 auto 6px;background:#d7e6ff;color:#3167d4;font-weight:800}.step strong{font-size:11px}.task-line{padding:11px 0;border-bottom:1px solid var(--border)}.task-line small{float:right}.activity-dot{background:#94b5ff;border-radius:50%;width:9px;height:9px}.badge{font-size:11px;border-radius:100px;padding:5px 10px;display:inline-block;background:#e9eefe;color:#315cbe;white-space:nowrap;font-weight:700}.stage-idea,.stage-paused{background:#f1f2f6;color:#747b8d}.stage-validation{background:#f5edff;color:#8051c8}.stage-development{background:#e6efff;color:#3067cb}.stage-testing{background:#ffefdd;color:#ae7218}.stage-prelaunch{background:#fff5d9;color:#92701c}.stage-launched,.stage-growth,.stage-maintenance{background:#ddf9e9;color:#118253}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;min-width:560px}th{font-size:11px;color:#8492a7;text-transform:uppercase;letter-spacing:.5px;padding:12px 9px;background:#f8faff}td{padding:14px 9px;border-bottom:1px solid var(--border);vertical-align:middle;font-size:12px}td strong{font-size:13px}td small{margin-top:4px}.progress{width:85px;height:7px;background:#e9eef7;border-radius:10px;overflow:hidden}.progress.big{width:100%;height:10px;margin-bottom:18px}.progress i,.bartrack i{display:block;background:linear-gradient(90deg,#3877f4,#63b9f5);height:100%;border-radius:10px}.product-flow{margin-bottom:19px}label{font-weight:700;font-size:12px;display:grid;gap:6px}input,select,textarea{width:100%;font:inherit;border:1px solid #d7dfeb;border-radius:8px;padding:10px 11px;color:#273859;background:white;outline:none}input:focus,select:focus,textarea:focus{border-color:#5588f6;box-shadow:0 0 0 3px #5588f619}textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.row-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.row-form label{flex:1}.note{background:#fef7e9;border:1px solid #fce8b9;padding:11px;border-radius:8px;margin:14px 0 0;color:#8e6425}.good{background:#e6f9ee;padding:13px;border-radius:8px;color:#087c50}.task-group{border-top:1px solid var(--border)}.task-group summary{cursor:pointer;display:flex;justify-content:space-between;padding:14px 0;list-style:none}.task-group summary::before{content:'▸';color:#7691cc;margin-right:9px}.task-group[open] summary::before{content:'▾'}.task-group summary strong{flex:1}.task-group summary span{font-size:12px;color:var(--muted)}.task-item{display:flex;align-items:center;gap:10px;margin:0 0 10px 15px}.task-item>span{flex:1}.task-item .done{text-decoration:line-through;color:#9da8b9}.check{width:22px;height:22px;border-radius:6px;background:white;border:2px solid #ccd9ed;cursor:pointer}.check.checked{background:#267ade;color:white;border-color:#267ade}.delete{border:0;background:transparent;color:#b2bdcd;font-size:21px;cursor:pointer}.delete:hover{color:#e04664}.add-task{display:flex;gap:7px;margin-top:20px}.add-task input{flex:2;min-width:80px}.add-task select{flex:1;min-width:100px}.compact{padding:7px;min-width:110px}.auth-wrap{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:24px}.auth{width:min(100%,430px);padding:35px}.auth .logo-big{height:55px;width:55px;margin-bottom:20px}.auth h1{font-size:25px}.auth p{color:var(--muted)}.auth form{display:grid;gap:17px;margin:20px 0}.guide-list{padding-left:20px}.guide-list li{padding:6px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.guide-grid>div{background:#f8faff;padding:15px;border-radius:10px}.guide-grid ul{padding-left:18px}.guide-grid li{margin-bottom:7px}.bars{display:grid;gap:10px}.barline{display:flex;gap:12px;align-items:center}.barline>span{width:80px}.barline strong{width:120px;text-align:right}.bartrack{flex:1;height:14px;background:#f0f3fa;border-radius:8px}.alert{padding:13px 15px;border-radius:10px;margin-bottom:18px}.alert.success{background:#dbf6e7;color:#0b754b}.alert.error{background:#ffe7e7;color:#ad3333}footer{padding:20px 0;color:#9ca8b9;text-align:center;font-size:11px}@media(max-width:1050px){.stats{grid-template-columns:repeat(2,1fr)}.cols,.cols.left-heavy{grid-template-columns:1fr}.guide-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.sidebar{position:static;width:100%;height:auto;padding:12px}.brand{padding:8px}.sidebar nav{display:flex;overflow-x:auto;gap:3px}.sidebar nav a{white-space:nowrap;padding:8px;font-size:12px}.sidebottom{display:none}.main{margin:0;padding:18px}.top-right{display:none}.pagehead{align-items:start}.pagehead h1{font-size:24px}.stats{grid-template-columns:1fr 1fr;gap:10px}.stats.three{grid-template-columns:1fr}.stat{padding:12px}.stat strong{font-size:20px}.card{padding:15px}.guide-grid{grid-template-columns:1fr}.workflow .step{min-width:75px}.add-task{flex-wrap:wrap}.top{margin-bottom:18px}}

.user-edit{padding:16px 0;border-bottom:1px solid #e1e6ee}.user-edit summary{cursor:pointer;padding:6px;font-weight:500}.user-edit form{padding:18px 6px}.user-edit table input{width:auto}.user-edit h3{margin:10px 0 0}label>input[type=checkbox]{width:auto;display:inline-block;margin-right:8px}details[open] summary{margin-bottom:10px}
/* Root-ready responsive installation and authentication layout */
.auth-wrap{margin:0;min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:16px;padding:clamp(18px,3vw,48px) 18px;width:100%;max-width:none;}
.auth-wrap > .auth{flex:0 1 auto;width:min(100%,460px);margin:0;}
.auth-wrap > .installer-card{width:min(100%,900px);max-width:900px;padding:clamp(22px,4vw,54px);}
.auth-wrap > footer{width:100%;text-align:center;flex-shrink:0;padding:8px 10px;position:static;}
.installer-card .logo-big{width:55px;height:55px;margin-bottom:22px;}
.installer-card h1{font-size:clamp(26px,3vw,36px);margin:8px 0;}
.installer-card form.stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 22px;margin-top:26px;}
.installer-card form.stack > h2,.installer-card form.stack > p,.installer-card form.stack > button,.installer-card form.stack > #mysql-fields{grid-column:1/-1;}
.installer-card form.stack > h2{border-bottom:1px solid var(--border);padding-bottom:9px;margin:10px 0 0;}
.installer-card #mysql-fields:not([hidden]){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.installer-card #mysql-fields[hidden]{display:none!important;}
.installer-card form.stack >button{min-height:48px;width:100%;}
.installer-card input,.installer-card select{min-height:44px;}
@media(max-width:650px){.installer-card form.stack,.installer-card #mysql-fields:not([hidden]){grid-template-columns:1fr;}.auth-wrap>.installer-card{padding:22px 18px;}}
/* Product-Task task command center */
.pf-section{margin-top:18px}.pf-inline{display:flex;flex-wrap:wrap;gap:12px;align-items:end}.pf-inline>*{flex:1 1 180px;min-width:0}.pf-inline button{flex:0 0 auto}.pf-task{padding:13px 0;border-top:1px solid #e3e9f1}.pf-task summary{cursor:pointer;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.pf-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px 0}.pf-task-grid label{display:flex;flex-direction:column;gap:6px}.pf-wide{grid-column:1/-1}.pf-notice{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid #e3e9f1;padding:16px 0}.pf-notice p{margin:4px 0}@media(max-width:700px){.pf-task-grid{grid-template-columns:1fr}.pf-inline button{flex:1 1 100%}}
