html{min-width:320px;min-height:100%}body{min-width:320px;min-height:100vh;margin:0}a{color:inherit}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0d1117;--surface:#fff1;--surface-strong:#ffffff1a;--border:#ffffff1c;--text:#eef4fb;--muted:#eef4fba3;--subtle:#eef4fb7a;--brand:#57b5ff;--brand-2:#50d6a8;--warning:#ffd58c;--danger:#ff8a8a;--success:#78e6bd;--radius:8px;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box;min-width:0}html,body{overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.62}input,select,textarea{border:1px solid var(--border);border-radius:var(--radius);width:100%;min-height:42px;color:inherit;background:#ffffff12;outline:none;padding:0 12px}input:focus,select:focus,textarea:focus{border-color:#57b5ffa6;box-shadow:0 0 0 3px #57b5ff21}textarea{resize:vertical;min-height:96px;padding:10px 12px}.app-shell{background:linear-gradient(135deg,#0b0f16 0%,#111827 54%,#10151d 100%);grid-template-columns:272px minmax(0,1fr);min-height:100vh;display:grid}.app-shell.light{--bg:#f5f7fb;--surface:#ffffffd1;--surface-strong:#fff;--border:#1e293b1f;--text:#111827;--muted:#1118279e;--subtle:#11182775;background:linear-gradient(135deg,#f7fafc,#edf3f7)}.auth-page{background:linear-gradient(135deg,#0b0f16 0%,#111827 54%,#10151d 100%);place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);gap:20px;width:min(100%,440px);padding:24px;display:grid;box-shadow:0 18px 46px #00000038}.auth-card h1{margin:0;font-size:34px;line-height:1.05}.auth-form{gap:12px;display:grid}.auth-form label{gap:7px;display:grid}.turnstile-wrap{border-radius:var(--radius);place-items:center;min-height:65px;display:grid;overflow:hidden}.sidebar{border-right:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0a0f17c7;flex-direction:column;gap:20px;height:100vh;padding:22px 16px;display:flex;position:sticky;top:0}.light .sidebar{background:#ffffffc7}.brand,.license-card,.section-title,.topbar-actions,.chip-row,.crew-actions{align-items:center;display:flex}.brand{gap:12px}.brand-mark,.avatar{border-radius:var(--radius);background:linear-gradient(135deg, var(--brand), var(--brand-2));color:#061018;flex:none;place-items:center;width:42px;height:42px;font-weight:800;display:grid}.brand strong,.brand span,.license-card span,.license-card strong,.resource-list strong,.resource-list span,.template-list strong,.template-list span,.team-card strong,.team-card span,.team-card p{overflow-wrap:anywhere;display:block}.brand span,.license-card span,.eyebrow,.muted-text,.metric-card span,.metric-card p,.section-title span,.project-card p,.project-card span,.resource-list span,.team-card span,.team-card p{color:var(--muted)}.sidebar nav{gap:5px;padding-right:2px;display:grid;overflow-y:auto}.sidebar nav button,.bottom-nav button,.icon-button{color:inherit;border:0}.sidebar nav button{border-radius:var(--radius);width:100%;min-height:42px;color:var(--muted);text-align:left;background:0 0;align-items:center;gap:10px;padding:9px 10px;display:flex}.sidebar nav button span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.sidebar nav button.active,.sidebar nav button:hover,.bottom-nav button.active{background:var(--surface-strong);color:var(--text)}.license-card{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);gap:10px;margin-top:auto;padding:12px}.license-card strong{font-size:13px}.workspace{width:min(100%,1480px);margin:0 auto;padding:22px 24px 92px}.toast-note{border-radius:var(--radius);border:1px solid var(--border);min-height:34px;color:var(--muted);background:var(--surface);align-items:center;margin:0 0 14px;padding:6px 10px;display:inline-flex}.topbar{justify-content:space-between;align-items:center;gap:18px;min-height:72px;margin-bottom:8px;display:flex}.topbar h1{overflow-wrap:anywhere;margin:0;font-size:clamp(28px,4vw,42px);line-height:1.05}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}.user-chip{border-radius:var(--radius);border:1px solid var(--border);text-overflow:ellipsis;white-space:nowrap;max-width:220px;min-height:40px;color:var(--muted);background:var(--surface);align-items:center;padding:0 12px;display:inline-flex;overflow:hidden}.eyebrow{text-transform:uppercase;letter-spacing:0;margin:0 0 5px;font-size:12px;font-weight:800}.icon-button,.primary-action,.secondary-action,.danger-action,.complete-button,.crew-actions button,.crew-actions span,.action-list button{border-radius:var(--radius);border:1px solid var(--border);white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-height:40px;display:inline-flex}.icon-button{background:var(--surface);width:42px}.primary-action{background:linear-gradient(135deg, var(--brand), var(--brand-2));color:#061018;border:0;padding:0 16px;font-weight:800}.secondary-action{background:var(--surface);color:inherit;padding:0 14px}.danger-action{color:var(--danger);background:#ff8a8a1c;padding:0 12px}.inline-top{width:fit-content;margin-top:14px}.view-stack{gap:16px;display:grid}.panel,.metric-card,.project-card,.team-card,.phone,.template-list{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);box-shadow:0 18px 46px #0000002e}.panel{padding:18px}.dashboard-intro,.split-layout,.templates-layout,.phone-wrap,.dashboard-grid{gap:16px;display:grid}.dashboard-intro{grid-template-columns:minmax(0,1fr) 300px}.dashboard-grid,.split-layout,.phone-wrap{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr)}.templates-layout{grid-template-columns:300px minmax(0,1fr)}.dashboard-brief h2{max-width:780px;margin:0;font-size:clamp(30px,4vw,50px);line-height:1.02}.dashboard-brief p,.readiness-panel p,.template-detail p,.mobile-info p{max-width:820px;margin:12px 0 0;line-height:1.55}.readiness-panel{align-content:center;gap:9px;display:grid}.readiness-panel strong{font-size:44px;line-height:1}.metric-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.metric-card,.team-card{gap:8px;padding:16px;display:grid}.metric-card strong{font-size:32px;line-height:1}.section-title{gap:10px;margin-bottom:14px}.section-title h2{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:20px;overflow:hidden}.today-list,.priority-list,.pipeline-list,.action-list,.resource-list,.settings-list{gap:10px;display:grid}.today-list article,.priority-list article,.resource-list article,.action-list button,.action-list div,.settings-list span{border-radius:var(--radius);background:#ffffff12;min-height:50px;padding:11px 12px}.today-list article,.resource-list article,.action-list button,.action-list div{align-items:center;gap:12px;display:flex}.today-list article,.action-list button,.action-list div{justify-content:space-between}.today-list strong,.today-list span,.priority-list strong,.priority-list span,.action-list span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.today-list time{color:var(--muted);flex:none;font-size:13px}.priority-list strong,.warning-text{color:var(--warning)}.success-text{color:var(--success)}.pipeline-list>div{grid-template-columns:106px minmax(0,1fr) 28px;align-items:center;gap:10px;display:grid}.pipeline-list span{text-overflow:ellipsis;white-space:nowrap;color:var(--muted);overflow:hidden}.progress-bar{background:#ffffff1a;border-radius:999px;height:9px;overflow:hidden}.progress-bar span{border-radius:inherit;background:linear-gradient(90deg, var(--brand-2), var(--brand));height:100%;display:block}.toolbar{flex-wrap:wrap;gap:10px;display:flex}.toolbar-note{border-radius:var(--radius);border:1px solid var(--border);min-height:44px;color:var(--muted);background:var(--surface);align-items:center;padding:0 12px;display:inline-flex}.search-field,.select-field{border-radius:var(--radius);border:1px solid var(--border);background:var(--surface);align-items:center;gap:10px;min-height:44px;padding:0 12px;display:flex}.search-field{flex:320px}.select-field{flex:0 220px}.search-field input,.select-field select{box-shadow:none;background:0 0;border:0;padding:0}.select-field select option{color:#111827}.project-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.projects-layout{grid-template-columns:minmax(0,.9fr) minmax(360px,.75fr);align-items:start;gap:16px;display:grid}.project-card{gap:12px;padding:16px;display:grid}.project-card.selected{border-color:#57b5ff99}.project-main-button,.list-button{width:100%;color:inherit;text-align:left;background:0 0;border:0;padding:0}.project-card-head,.project-facts{justify-content:space-between;gap:12px;display:flex}.project-card h3{text-overflow:ellipsis;white-space:nowrap;margin:5px 0;font-size:18px;overflow:hidden}.project-card p{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.project-facts{color:var(--muted);flex-wrap:wrap;font-size:13px}.card-controls,.card-actions,.detail-head{align-items:center;gap:10px;display:flex}.card-controls{grid-template-columns:1fr 1fr;display:grid}.card-actions,.detail-head{justify-content:space-between}.detail-panel{gap:18px;display:grid;position:sticky;top:18px}.detail-head h2{overflow-wrap:anywhere;margin:0;font-size:24px}.detail-grid,.assignment-grid{gap:10px;display:grid}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid span,.assignment-grid article,.management-list article,.note-list article{border-radius:var(--radius);background:#ffffff12;min-width:0;padding:12px}.detail-grid strong,.note-list strong,.management-list strong,.assignment-grid strong{margin-bottom:4px;display:block}.description-text{color:var(--muted);margin:0;line-height:1.55}.task-list,.note-list,.management-list{gap:10px;display:grid}.management-list article{justify-content:space-between;align-items:center;gap:12px;display:flex}.management-list span,.note-list span,.assignment-grid span{color:var(--muted)}.form-panel{border-color:#57b5ff59}.chip-row{flex-wrap:wrap;gap:8px}.badge{text-overflow:ellipsis;white-space:nowrap;max-width:100%;min-height:26px;color:var(--text);background:#ffffff1a;border-radius:999px;align-items:center;padding:4px 9px;font-size:12px;display:inline-flex;overflow:hidden}.badge.success{color:var(--success);background:#50d6a829}.badge.warning{color:var(--warning);background:#ffd58c24}.badge.danger{color:var(--danger);background:#ff8a8a24}.badge.muted{color:var(--muted)}.resource-list article span,.resource-list article strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.resource-grid,.matrix-grid,.feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.resource-grid article,.matrix-grid article,.feature-grid article,.feature-table article,.template-block{border-radius:var(--radius);background:#ffffff12;min-width:0;padding:12px}.resource-grid strong,.resource-grid span,.resource-grid p,.matrix-grid strong,.matrix-grid span,.feature-grid strong,.feature-grid span,.feature-table strong,.feature-table span{overflow-wrap:anywhere;display:block}.resource-grid p{color:var(--muted);margin:6px 0 0}.form-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label,.single-field,.inline-form,.wide-field,.assignment-grid label{gap:7px;display:grid}.settings-form{gap:14px;display:grid}.settings-grid,.settings-overview{gap:10px;display:grid}.settings-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.settings-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.toggle-row,.settings-overview article,.empty-state{border-radius:var(--radius);background:#ffffff12;min-height:54px;padding:12px}.toggle-row{align-items:center;gap:10px;display:flex}.toggle-row input{width:auto;min-height:auto}.settings-overview{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-overview article,.empty-state{gap:4px;display:grid}.settings-overview span,.empty-state span,.mobile-status{color:var(--muted)}.inline-form{grid-template-columns:minmax(0,1fr) auto;align-items:end}.inline-form.three{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.inline-form.four{grid-template-columns:repeat(4,minmax(0,1fr)) auto}.mobile-note{margin-top:10px}.upload-box{border-radius:var(--radius);text-align:center;background:#ffffff0f;border:1px dashed #ffffff47;place-items:center;gap:10px;min-height:122px;padding:16px;display:grid}.upload-box input{max-width:240px}.export-preview{white-space:pre-wrap;border-radius:var(--radius);max-height:180px;color:inherit;background:#00000038;margin:12px 0 0;padding:12px;overflow:auto}.feature-table{gap:8px;max-height:520px;display:grid;overflow:auto}.phone{background:#111827;border:8px solid #060a10;border-radius:28px;justify-self:center;width:min(420px,100%);padding:18px}.phone-header,.crew-actions{justify-content:space-between;gap:10px;display:flex}.crew-task{border-radius:var(--radius);background:#ffffff14;margin-bottom:12px;padding:14px}.crew-task h3,.crew-task p{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.crew-actions button,.crew-actions span,.complete-button{color:#fff;background:#ffffff17;flex:1}.complete-button{background:linear-gradient(135deg, var(--brand), var(--brand-2));color:#061018;width:100%;font-weight:800}.mobile-status{margin:10px 0 0;font-size:13px}.template-list{max-height:calc(100vh - 126px);padding:8px;overflow:auto}.template-list button{border-radius:var(--radius);width:100%;color:inherit;text-align:left;background:0 0;border:0;padding:10px}.template-list button.active,.template-list button:hover{background:var(--surface-strong)}.template-list strong,.template-list span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.template-list span{color:var(--muted);font-size:12px}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.template-block h3{margin:0 0 9px;font-size:15px}.template-block ul{gap:6px;margin:0;padding-left:18px;display:grid}.template-block li{overflow-wrap:anywhere;color:var(--muted)}.avatar{color:var(--success);background:#50d6a829}.role-grid{flex-wrap:wrap;gap:8px;display:flex}.mobile-only,.bottom-nav{display:none}.minw-0{min-width:0}@media (width<=1180px){.app-shell{grid-template-columns:1fr}.sidebar{display:none}.mobile-only{display:inline-flex}.bottom-nav{z-index:20;border-radius:var(--radius);border:1px solid var(--border);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#0c121ce6;grid-template-columns:repeat(5,1fr);gap:6px;padding:8px;display:grid;position:fixed;bottom:12px;left:12px;right:12px}.bottom-nav button{border-radius:var(--radius);color:#e9eef7;background:0 0;min-height:46px}.dashboard-intro,.dashboard-grid,.split-layout,.phone-wrap,.templates-layout,.projects-layout{grid-template-columns:1fr}.detail-panel{position:static}.metric-grid,.project-list,.template-grid,.resource-grid,.matrix-grid,.feature-grid,.settings-grid,.settings-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.template-list{max-height:320px}}@media (width<=700px){.workspace{padding:14px 14px 92px}.topbar{align-items:flex-start}.topbar-actions{justify-content:flex-end}.dashboard-brief h2{font-size:30px}.metric-grid,.project-list,.template-grid,.resource-grid,.matrix-grid,.feature-grid,.settings-grid,.settings-overview,.form-grid,.inline-form{grid-template-columns:1fr}.toolbar{display:grid}.search-field,.select-field{flex-basis:auto;width:100%}.project-card-head,.today-list article,.action-list button,.action-list div,.management-list article,.detail-head,.card-actions{align-items:flex-start}.inline-form.three,.inline-form.four,.detail-grid,.form-grid.two{grid-template-columns:1fr}.pipeline-list>div{grid-template-columns:92px minmax(0,1fr) 24px}}
