:root{--ink:#172033;--muted:#738096;--line:#e7ebf2;--bg:#f4f6fb;--white:#fff;--nav:#101a2c;--nav2:#1b2941;--blue:#536dfe;--blue-dark:#4058e8;--green:#13865c;--amber:#a66b0b;--red:#c64254;--shadow:0 14px 38px rgba(25,39,70,.065);--radius:18px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:14px 'DM Sans',sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.app{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;padding:25px 17px;background:linear-gradient(180deg,#111c30,#0c1525);color:#dce5f4;display:flex;flex-direction:column;z-index:20;transition:transform .28s ease}.brand{display:flex;align-items:center;gap:12px;padding:0 10px 30px;color:#fff;font:800 19px Manrope,sans-serif;letter-spacing:-.4px}.mark{width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,#8da1ff,#5266f2);display:grid;place-items:center;color:#fff;font:800 19px Manrope;box-shadow:0 8px 22px #5269ed55}.nav-label{padding:13px 12px 9px;color:#77869e;font-size:10px;letter-spacing:1.5px;font-weight:800}.nav-btn{width:100%;border:0;background:transparent;color:#aab8ce;text-align:left;padding:12px 13px;border-radius:12px;display:flex;gap:13px;align-items:center;margin:3px 0;font-weight:600;transition:background .2s,color .2s,transform .2s}.nav-btn:hover{background:#ffffff10;color:#fff;transform:translateX(2px)}.nav-btn.active{background:linear-gradient(100deg,#5269ed38,#5269ed12);color:#fff;box-shadow:inset 3px 0 #8295ff}.nav-btn .ico{width:20px;text-align:center;font-size:17px}.side-bottom{margin-top:auto;border-top:1px solid #29374d;padding:18px 8px 0}.user-mini{display:flex;gap:10px;align-items:center;min-width:0}.avatar{width:35px;height:35px;border-radius:50%;background:#2c3c5a;color:#e2eaff;display:grid;place-items:center;font-weight:800}.user-email{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#c7d2e3}.signout{border:0;background:none;color:#8fa0b8;padding:5px 0;font-size:11px}.main{margin-left:258px;min-height:100vh}.topbar{height:76px;background:#ffffffd9;backdrop-filter:blur(16px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:10}.crumb{font:700 15px Manrope}.top-actions{display:flex;gap:12px;align-items:center}.sync{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.sync-dot{width:8px;height:8px;border-radius:50%;background:#9ba6b6}.sync-dot.ok{background:#1ba875;box-shadow:0 0 0 4px #1ba87518}.sync-dot.busy{background:#e3a53e;animation:pulse 1.2s infinite}.workspace-pill{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 13px;color:#42516a;font-weight:600;max-width:210px}.content{padding:34px 38px 70px;max-width:1500px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px;animation:fadeUp .45s both}.eyebrow{display:block;color:var(--blue);font-size:10px;font-weight:800;letter-spacing:1.45px;text-transform:uppercase;margin-bottom:9px}.page-head h1{font:800 29px Manrope;margin:0 0 7px;letter-spacing:-1px}.page-head p{color:var(--muted);margin:0;line-height:1.55}.btn{border:0;border-radius:11px;padding:11px 16px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s}.btn:hover{transform:translateY(-2px)}.btn:active{transform:translateY(0) scale(.98)}.primary{background:linear-gradient(135deg,#617aff,#465fe9);color:#fff;box-shadow:0 8px 20px #536dfe35}.primary:hover{box-shadow:0 12px 25px #536dfe50}.secondary{background:#fff;color:#33415a;border:1px solid var(--line)}.subtle{background:#f0f3ff;color:#465ee8}.text{background:none;color:var(--blue);padding:7px}.light{background:#fff;color:#24314b}.small{padding:7px 10px;font-size:11px}.hero{position:relative;overflow:hidden;border-radius:23px;padding:30px 34px;background:linear-gradient(112deg,#17243b,#293d68 65%,#455e9c);color:white;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;min-height:195px;box-shadow:0 18px 40px #1b2c4b25;animation:fadeUp .5s .06s both}.hero:after{content:'';position:absolute;width:380px;height:380px;border:1px solid #ffffff16;border-radius:50%;right:65px;top:-180px;box-shadow:0 0 0 35px #ffffff08,0 0 0 75px #ffffff06}.hero span,.report-hero>span{font-size:10px;letter-spacing:1.7px;font-weight:800;color:#b8c6ef}.hero h2{font:800 29px/1.15 Manrope;margin:10px 0}.hero p{color:#c8d3e8;margin:0;max-width:460px}.hero-mark{width:105px;height:105px;border-radius:31px;background:linear-gradient(145deg,#8298ff,#5068ec);display:grid;place-items:center;font:800 48px Manrope;box-shadow:0 20px 40px #10182755;transform:rotate(7deg);animation:float 5s ease-in-out infinite;z-index:1}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.stat-card,.surface{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.stat-card{padding:18px 20px;animation:fadeUp .5s both;transition:transform .22s,box-shadow .22s}.stat-card:nth-child(2){animation-delay:.06s}.stat-card:nth-child(3){animation-delay:.12s}.stat-card:nth-child(4){animation-delay:.18s}.stat-card:hover{transform:translateY(-4px);box-shadow:0 18px 35px #1d315016}.stat-top{display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px;font-weight:600}.stat-icon{width:34px;height:34px;border-radius:11px;background:#eef1ff;color:#5269ed;display:grid;place-items:center;font-size:16px}.stat-icon.rose{background:#fff0f2;color:var(--red)}.stat-icon.green{background:#e9f8f1;color:var(--green)}.stat-icon.amber{background:#fff5e4;color:var(--amber)}.stat-value{display:block;font:800 30px Manrope;margin:14px 0 3px;letter-spacing:-1px}.stat-card small{color:#9aa5b4;font-size:10px}.dashboard-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:17px;margin:18px 0}.surface{padding:22px;min-width:0;animation:fadeUp .5s .12s both}.surface h2{font:700 16px Manrope;margin:0 0 14px}.surface-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.surface-head h2{margin:0}.surface-head .eyebrow{margin:0 0 5px}.site-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #eff2f6}.site-row:last-child{border:0}.site-avatar,.table-avatar{width:36px;height:36px;border-radius:12px;background:linear-gradient(145deg,#e8edff,#dce4ff);color:#4f66e8;display:grid;place-items:center;font-weight:800}.site-row>div{min-width:0;flex:1}.site-row b,.site-row small{display:block}.site-row small{color:var(--muted);font-size:11px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pill{display:inline-flex;padding:5px 9px;border-radius:30px;background:#f0f2f6;color:#68758b;font-size:10px;font-weight:800;text-transform:capitalize}.pill.success{background:#e7f7ef;color:#16845c}.pill.warning{background:#fff4df;color:#a66b0b}.activity-row{display:flex;gap:11px;padding:12px 0;border-bottom:1px solid #eff2f6}.activity-row:last-child{border:0}.activity-row i{width:9px;height:9px;flex:none;border-radius:50%;background:#7189ff;margin:5px 0}.activity-row b,.activity-row small{display:block}.activity-row b{font-size:12px;font-weight:600}.activity-row small{font-size:10px;color:#9aa5b4;margin-top:4px}.notice{background:#fff9e9;border:1px solid #f2e3bd;color:#87631e;padding:13px 15px;border-radius:12px;font-size:11px;line-height:1.6;margin-top:18px}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 15px;animation:fadeUp .35s both}.search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:0 12px;min-width:270px;color:#8794a8}.search input{border:0!important;outline:0!important;box-shadow:none!important;padding:11px 0;width:100%;background:transparent}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);animation:fadeUp .4s .05s both}table{width:100%;border-collapse:collapse;min-width:700px}th{text-align:left;font-size:9px;letter-spacing:1.2px;color:#8b97a9;background:#fafbfd;padding:14px 15px;white-space:nowrap}td{padding:14px 15px;border-top:1px solid #eff2f6;font-size:12px;vertical-align:middle}td b,td small{display:block}td b{font-size:12px}td small{color:#98a3b2;font-size:10px;margin-top:4px}.icon{border:0;border-radius:9px;background:#f1f3f8;color:#61708a;padding:7px 9px}.icon.danger{background:#fff0f1;color:#bd4050}.priority{font-size:10px;font-weight:800;text-transform:capitalize;padding:5px 8px;border-radius:20px;background:#f2f3f6;color:#667085}.priority.high,.priority.critical{background:#fff0f1;color:#c13e50}.priority.medium{background:#fff5e3;color:#a66b0b}.priority.low{background:#e9f8f1;color:#13865c}.row-actions{display:flex;gap:5px;align-items:center}.empty-cell{text-align:center;padding:34px;color:#8894a6}.summary-strip{display:flex;gap:28px;padding:14px 18px;background:#fff;border:1px solid var(--line);border-radius:13px;margin:0 0 15px}.summary-strip span{color:var(--muted);font-size:11px}.summary-strip b{font:800 18px Manrope;color:var(--ink);margin-right:5px}.report-hero{padding:28px;border-radius:22px;background:linear-gradient(120deg,#192840,#304b7b);color:#fff;margin-bottom:18px;box-shadow:0 18px 38px #1c2e4d20;animation:fadeUp .45s both}.report-hero h2{font:800 25px Manrope;margin:9px 0}.report-hero p{color:#c4d0e4}.report-stats{display:flex;gap:36px;flex-wrap:wrap;margin:23px 0}.report-stats b,.report-stats small{display:block}.report-stats b{font:800 22px Manrope}.report-stats small{color:#c4d0e4;font-size:10px;margin-top:3px}.security-line{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eff2f6;font-size:12px}.security-line span{color:var(--muted)}.muted{color:var(--muted);line-height:1.6}.field{display:flex;flex-direction:column;gap:6px;margin:14px 0}.field label{font-size:11px;font-weight:700;color:#526079}.field input,.field select,.field textarea{width:100%;border:1px solid #dfe5ed;border-radius:10px;padding:11px 12px;background:#fff;color:var(--ink);outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#98a9ff;box-shadow:0 0 0 4px #536dfe16}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:22px;background:radial-gradient(circle at 15% 12%,#e7ebff,transparent 35%),radial-gradient(circle at 88% 88%,#e4f5ef,transparent 32%),#f5f7fc}.auth-card{width:min(450px,100%);background:#fff;border:1px solid var(--line);border-radius:24px;padding:35px;box-shadow:0 28px 80px #1d31501c;animation:fadeUp .5s both}.auth-brand{display:flex;align-items:center;gap:12px;font:800 20px Manrope;margin-bottom:26px}.auth-card h1{font:800 27px Manrope;margin:0 0 8px}.auth-card>p{color:var(--muted);line-height:1.55;margin:0 0 22px}.auth-card .btn{width:100%;margin-top:6px}.auth-switch{text-align:center;margin-top:19px;color:var(--muted);font-size:12px}.auth-switch button,.demo-link{border:0;background:none;color:var(--blue);font-weight:800}.demo-link{display:block;margin:13px auto 0}.form-error{color:var(--red);font-size:12px;margin-top:9px;min-height:16px}.auth-note{font-size:10px;color:#9aa5b4;line-height:1.6;margin-top:22px}.field label{display:block}.modal-backdrop,.backdrop{position:fixed;inset:0;background:#0d1729a8;backdrop-filter:blur(5px);display:grid;place-items:center;padding:18px;z-index:50;animation:fade .2s}.modal{width:min(560px,100%);background:#fff;border-radius:20px;padding:24px;box-shadow:0 28px 90px #10182755;max-height:90vh;overflow:auto;animation:pop .25s}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal-head h2{font:800 19px Manrope;margin:0}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.toast{position:fixed;right:24px;bottom:24px;background:#17243b;color:#fff;padding:13px 17px;border-radius:12px;box-shadow:0 14px 40px #17243b33;z-index:100;opacity:0;transform:translateY(12px);pointer-events:none;transition:.25s;max-width:min(390px,calc(100vw - 36px));font-size:12px}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#a82f42}.error-panel{background:#fff;border:1px solid #f1cbd1;padding:25px;border-radius:17px}.error-panel h2{font:800 21px Manrope}.error-panel p{color:var(--muted)}.mobile-menu{display:none}.file-label{cursor:pointer}.tiny{font-size:10px;margin-top:20px}
@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes pop{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pulse{50%{box-shadow:0 0 0 5px #e3a53e22}}@keyframes float{0%,100%{transform:translateY(0) rotate(7deg)}50%{transform:translateY(-9px) rotate(3deg)}}
@media(max-width:1100px){.sidebar{width:225px}.main{margin-left:225px}.content{padding:28px 25px}.topbar{padding:0 25px}.stats-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}}
@media(max-width:700px){.sidebar{transform:translateX(-100%);width:270px;box-shadow:15px 0 40px #11182725}.sidebar.open{transform:translateX(0)}.main{margin-left:0}.topbar{height:65px;padding:0 14px}.mobile-menu{display:inline-flex;border:0;background:#eef1ff;color:#4c63e8;border-radius:10px;padding:8px 11px;margin-right:9px}.crumb-wrap{display:flex;align-items:center}.top-actions{gap:7px}.sync{display:none}.workspace-pill{max-width:135px;padding:8px;font-size:11px}.content{padding:23px 14px 50px}.page-head{align-items:flex-start;flex-direction:column;gap:13px}.page-head h1{font-size:25px}.hero{padding:23px;min-height:180px}.hero h2{font-size:24px}.hero-mark{width:70px;height:70px;font-size:32px;border-radius:23px}.stats-grid{gap:9px}.stat-card{padding:14px}.stat-value{font-size:25px}.stat-card small{font-size:9px}.surface{padding:17px}.summary-strip{gap:12px;justify-content:space-between;padding:12px}.summary-strip span{font-size:9px}.summary-strip b{font-size:16px}.search{width:100%;min-width:0}.toolbar{width:100%}.report-stats{gap:20px}.auth-card{padding:25px}.toast{right:12px;bottom:12px}.table-wrap{border-radius:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

.stage-select{max-width:128px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);padding:7px 8px;font-size:11px;font-weight:700}.stage-select:focus{outline:2px solid #536dfe35;border-color:#98a9ff}

.auth-layout{width:min(1080px,100%);display:grid;grid-template-columns:minmax(0,1fr) minmax(350px,430px);align-items:center;gap:55px;margin:auto;padding:28px 0}
.auth-story{max-width:560px;animation:fadeUp .45s both}
.auth-story h1{font:800 clamp(34px,4.5vw,52px)/1.08 Manrope;letter-spacing:-1.8px;margin:12px 0 17px;color:#18243a}
.auth-story>p{font-size:15px;line-height:1.75;color:#68758b;max-width:520px}
.story-points{display:grid;gap:13px;margin:29px 0}
.story-points>div{display:flex;align-items:flex-start;gap:13px;padding:14px 16px;background:#ffffffb8;border:1px solid #e7ebf2;border-radius:14px}
.story-points>div>span{font:800 12px Manrope;color:#536dfe;background:#eef1ff;border-radius:9px;padding:8px}
.story-points section b,.story-points section small{display:block}
.story-points section b{font-size:13px;margin:1px 0 4px}
.story-points section small{font-size:11px;line-height:1.5;color:#738096}
.preview-note{display:flex;flex-direction:column;gap:4px;border-left:3px solid #536dfe;padding:9px 13px;color:#43516a}
.preview-note b{font-size:11px}.preview-note span{font-size:10px;color:#7b8799}
.auth-card{width:100%}
@media(max-width:820px){.auth-layout{grid-template-columns:1fr;gap:24px;max-width:480px;padding:12px 0}.auth-story h1{font-size:34px}.auth-story>p{font-size:13px}.story-points{gap:8px;margin:18px 0}.story-points>div{padding:10px 12px}.auth-card{max-width:450px}}
