:root{--primary-gradient:linear-gradient(135deg,#4f7bff,#9b72f6);--secondary-gradient:linear-gradient(135deg,#00c6ff,#0072ff);--bg-gradient:radial-gradient(circle at 30% 20%,#f6f9fc 0%,#e3e9f2 100%);--glass-bg:hsla(0,0%,100%,.7);--glass-border:1px solid hsla(0,0%,100%,.9);--shadow-elegant:0 10px 40px -10px rgba(20,36,78,.08);--shadow-hover:0 20px 60px -10px rgba(79,123,255,.12);--text-primary:#0f172a;--text-secondary:#475569;--text-muted:#94a3b8;--radius-card:20px}*,:after,:before{box-sizing:border-box}body,html{margin:0;padding:0}body,html{min-height:100vh}body{background:var(--bg-gradient);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans SC,PingFang SC,Microsoft YaHei,sans-serif;font-size:16px;line-height:1.6;color:var(--text-primary);background-attachment:fixed}h1,h2,h3,h4,h5,h6,p{margin:0}button,input,select{font-family:inherit}.page-container{max-width:1440px;margin:0 auto;padding:32px 40px 64px}.bottom-layout{display:grid;grid-template-columns:280px 1fr;grid-gap:32px;gap:32px;align-items:start}@media (max-width:1200px){.bottom-layout{grid-template-columns:1fr}.page-container{padding:16px}}.top-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;background:var(--glass-bg);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:var(--glass-border);border-radius:var(--radius-card);box-shadow:var(--shadow-elegant);margin-bottom:32px;flex-wrap:wrap}.back-btn{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:#4f7bff;text-decoration:none;white-space:nowrap;padding:8px 20px;border-radius:100px;background:rgba(79,123,255,.08);border:1px solid rgba(79,123,255,.18);transition:all .3s cubic-bezier(.4,0,.2,1);cursor:pointer;box-shadow:0 2px 8px rgba(79,123,255,.08)}.back-btn:hover{color:#fff;background:#4f7bff;border-color:#4f7bff;box-shadow:0 4px 16px rgba(79,123,255,.3);transform:translateY(-1px)}.filter-group{gap:12px;flex-wrap:wrap;flex:1 1 auto;justify-content:flex-end}.filter-group,.filter-item{display:flex;align-items:center}.filter-item{gap:6px;background:rgba(241,245,249,.85);padding:5px 10px 5px 14px;border-radius:10px;border:1px solid rgba(226,232,240,.9);box-shadow:0 1px 3px rgba(0,0,0,.04)}.filter-label{font-weight:600;color:#475569;white-space:nowrap;letter-spacing:.02em;background:rgba(226,232,240,.6);padding:2px 8px}.filter-label,.filter-select{font-size:13px;border-radius:6px}.filter-select{height:34px;padding:0 28px 0 10px;font-weight:500;border:1px solid rgba(203,213,225,.6);background:#fff;color:var(--text-primary);outline:none;width:auto;min-width:80px;max-width:160px;transition:border-color .3s,box-shadow .3s;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 6px center;background-size:12px 8px}.filter-select:focus{box-shadow:0 0 0 2px rgba(79,123,255,.2)}.filter-select option{background:#fff;color:var(--text-primary)}.add-compare-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;font-size:22px;font-weight:300;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);border:none;background:var(--primary-gradient);color:#fff;white-space:nowrap;margin-left:4px;box-shadow:0 4px 14px rgba(79,123,255,.25);line-height:1;padding:0}.add-compare-btn:hover{transform:translateY(-2px) scale(1.08);box-shadow:0 8px 24px rgba(79,123,255,.4)}@media (max-width:900px){.top-bar{flex-direction:column;align-items:stretch}.filter-group{justify-content:flex-start}.filter-item{flex:1 1 auto;justify-content:space-between}.filter-select{max-width:100%;flex:1 1}}.overview-section{display:grid;grid-template-columns:1.6fr 1fr;grid-gap:24px;gap:24px;margin-bottom:32px}.overview-left{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:20px;gap:20px}.overview-right{display:flex;flex-direction:column;gap:12px;padding:28px 32px;background:var(--glass-bg);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:var(--glass-border);border-radius:var(--radius-card);box-shadow:var(--shadow-elegant)}.overview-right h4{font-size:18px;font-weight:600;color:var(--text-primary);margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid rgba(0,0,0,.04)}.overview-right p{display:flex;justify-content:space-between;font-size:14px;padding:10px 0;border-bottom:1px dashed rgba(0,0,0,.04);color:var(--text-primary)}.overview-right p span:first-child{color:var(--text-secondary);font-weight:500;flex-shrink:0;margin-right:16px}.overview-card{padding:24px 28px;background:#fff;border:1px solid #e8ecf1;border-radius:var(--radius-card);box-shadow:0 1px 4px rgba(0,0,0,.04);transition:all .35s cubic-bezier(.4,0,.2,1);position:relative;overflow:hidden}.overview-card:hover{transform:translateY(-3px);box-shadow:0 6px 20px rgba(0,0,0,.08);border-color:rgba(79,123,255,.15)}.card-label{display:flex;align-items:center;gap:5px;font-size:13px;font-weight:600;color:#64748b;margin-bottom:10px;letter-spacing:.01em}.card-label:after{content:"ⓘ";display:inline-flex;align-items:center;justify-content:center;width:15px;height:15px;font-size:11px;font-weight:700;color:#94a3b8;border:1px solid #cbd5e1;border-radius:50%;flex-shrink:0;line-height:1}.card-value{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;font-size:38px;font-weight:800;color:#0f172a;line-height:1.08;letter-spacing:-.03em}.score-tag{display:inline-flex;align-items:center;padding:5px 14px;border-radius:100px;font-size:13px;font-weight:600;vertical-align:middle;background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0}.glass-card{background:var(--glass-bg);backdrop-filter:blur(16px) saturate(160%);-webkit-backdrop-filter:blur(16px) saturate(160%)}@media (max-width:1100px){.overview-section{grid-template-columns:1fr}.overview-left{grid-template-columns:repeat(2,1fr)}}@media (max-width:680px){.overview-left{grid-template-columns:1fr}.card-value{font-size:36px}}.journey-section{background:var(--glass-bg);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:var(--glass-border);border-radius:var(--radius-card);padding:24px 28px 32px;box-shadow:var(--shadow-elegant);margin-bottom:32px}.journey-section h3{font-size:18px;font-weight:700;color:var(--text-primary);margin-bottom:4px;letter-spacing:-.02em}.journey-project{text-align:center;font-size:16px;font-weight:500;color:var(--text-secondary);margin-bottom:28px;padding-bottom:12px;border-bottom:1px solid rgba(0,0,0,.04)}.stage-list{display:flex;align-items:center;justify-content:center;gap:12px;overflow-x:auto;padding:8px 0 14px}.stage-card{flex:0 0 auto;width:180px;padding:16px 14px;background:hsla(0,0%,100%,.9);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:14px;text-align:center;cursor:pointer;transition:all .35s cubic-bezier(.4,0,.2,1);position:relative;box-shadow:0 2px 10px rgba(0,0,0,.04)}.stage-card.blocker{border:2px solid rgba(220,38,38,.35)}.stage-card.critical{border:2px solid rgba(124,58,237,.35)}.stage-card.warning{border:2px solid rgba(245,158,11,.35)}.stage-card.good{border:2px solid rgba(34,197,94,.35)}.stage-card:hover{transform:translateY(-4px)}.stage-card.blocker:hover{border-color:#dc2626;box-shadow:0 8px 28px -8px rgba(220,38,38,.35),0 0 0 3px rgba(220,38,38,.08)}.stage-card.critical:hover{border-color:#7c3aed;box-shadow:0 8px 28px -8px rgba(124,58,237,.35),0 0 0 3px rgba(124,58,237,.08)}.stage-card.warning:hover{border-color:#f59e0b;box-shadow:0 8px 28px -8px rgba(245,158,11,.35),0 0 0 3px rgba(245,158,11,.08)}.stage-card.good:hover{border-color:#22c55e;box-shadow:0 8px 28px -8px rgba(34,197,94,.35),0 0 0 3px rgba(34,197,94,.08)}.stage-card.active{background:#fff}.stage-card.active.blocker{border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,.08),0 12px 36px -10px rgba(220,38,38,.18)}.stage-card.active.critical{border-color:#7c3aed;box-shadow:0 0 0 3px rgba(124,58,237,.08),0 12px 36px -10px rgba(124,58,237,.18)}.stage-card.active.warning{border-color:#f59e0b;box-shadow:0 0 0 3px rgba(245,158,11,.08),0 12px 36px -10px rgba(245,158,11,.18)}.stage-card.active.good{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.08),0 12px 36px -10px rgba(34,197,94,.18)}.stage-card-top{gap:6px;margin-bottom:8px}.stage-card-top,.stage-icon-small{display:flex;align-items:center;justify-content:center}.stage-icon-small{width:28px;height:28px;font-size:15px;border-radius:8px;background:rgba(79,123,255,.06)}.stage-code{font-size:12px;font-weight:600;color:var(--text-muted);letter-spacing:.05em}.stage-name{font-size:14px;font-weight:700;color:var(--text-primary);margin-bottom:8px;min-height:22px;line-height:1.3}.star-box{display:flex;justify-content:center;gap:3px;margin-bottom:8px}.star{color:#e2e8f0;font-size:16px;transition:color .2s}.star.active{color:#f59e0b;text-shadow:0 0 12px rgba(245,158,11,.25)}.stage-score{font-size:34px;font-weight:800;background:var(--primary-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;margin-bottom:10px;letter-spacing:-.02em;line-height:1.1}.impact-tag{display:inline-block;padding:3px 12px;border-radius:100px;font-size:11px;font-weight:700;margin-bottom:12px;background:rgba(0,0,0,.02);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.impact-tag.blocker{color:#dc2626;background:rgba(220,38,38,.06)}.impact-tag.critical{color:#7c3aed;background:rgba(124,58,237,.06)}.impact-tag.warning{color:#b45309;background:rgba(245,158,11,.06)}.impact-tag.good{color:#16a34a;background:rgba(34,197,94,.06)}.stage-stats{display:flex;justify-content:center;gap:16px;font-size:12px}.stage-stats>span{display:flex;flex-direction:column;align-items:center;gap:4px}.stat-num{font-size:14px;font-weight:700}.stat-num,.stat-num.task{color:var(--text-primary)}.stat-num.pain{color:#dc2626}.stat-num.summary{color:#4f7bff}.stat-label{font-size:11px;color:var(--text-muted);font-weight:500;text-transform:uppercase;letter-spacing:.03em}.stage-arrow{font-size:18px;color:#cbd5e1;font-weight:300;-webkit-user-select:none;-moz-user-select:none;user-select:none;flex-shrink:0}@media (max-width:900px){.stage-list{justify-content:flex-start}.stage-card{width:160px}.stage-score{font-size:28px}}.sidebar{background:hsla(0,0%,100%,.75);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:var(--glass-border);border-radius:var(--radius-card);padding:20px 0;box-shadow:var(--shadow-elegant);position:-webkit-sticky;position:sticky;top:24px}.sidebar-title{font-size:16px;font-weight:700;color:var(--text-primary);padding:0 24px 16px;margin-bottom:6px;border-bottom:1px solid rgba(0,0,0,.04);letter-spacing:-.02em}.step-list{display:flex;flex-direction:column;padding:8px 16px;gap:4px}.step-item{padding:14px 16px;border-radius:12px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1);color:var(--text-secondary);font-size:14px;font-weight:600;line-height:1.45}.step-item:hover{background:rgba(79,123,255,.04);color:var(--text-primary)}.step-item.active{background:rgba(79,123,255,.08);color:var(--text-primary);border-left:4px solid transparent;position:relative;box-shadow:inset 3px 0 0 #4f7bff}.step-item.active:after{content:"";position:absolute;top:0;bottom:0;right:0;width:100%;background:var(--primary-gradient);opacity:.02;border-radius:12px;z-index:-1}.step-code{font-size:12px;color:var(--text-muted);margin-top:4px;font-weight:500}.step-item.active .step-code{color:#64748b}.stage-collapse-panel{width:100%;max-width:100%;margin:0 0 32px;position:relative}.stage-collapse-panel.collapsed{background:transparent;box-shadow:none;border:none;border-radius:0}.stage-collapse-panel.expanded{background:hsla(0,0%,100%,.95);border:1px solid rgba(226,232,240,.8);border-radius:var(--radius-card);box-shadow:var(--shadow-elegant);overflow:hidden}.stage-collapse-panel.expanded:before{content:"";position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at 30% 10%,rgba(79,123,255,.02) 0,transparent 60%);pointer-events:none}.stage-selector{display:flex;justify-content:center;padding:4px 0}.stage-pill-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:10px 28px;border-radius:100px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;font-size:15px;font-weight:700;transition:all .3s cubic-bezier(.4,0,.2,1);background:hsla(0,0%,100%,.85);backdrop-filter:blur(16px) saturate(180%);-webkit-backdrop-filter:blur(16px) saturate(180%);border:1px solid rgba(79,123,255,.18);box-shadow:0 2px 8px rgba(79,123,255,.08),inset 0 1px 0 hsla(0,0%,100%,.8);position:relative}.stage-pill-btn:hover{border-color:rgba(79,123,255,.4);box-shadow:0 6px 20px rgba(79,123,255,.15),inset 0 1px 0 hsla(0,0%,100%,.9);transform:translateY(-1px)}.stage-collapse-panel.expanded .stage-pill-btn{border-color:rgba(79,123,255,.3);background:rgba(79,123,255,.06);border-bottom-left-radius:14px;border-bottom-right-radius:14px;margin-bottom:-1px;position:relative;z-index:2}.pill-text{background:var(--primary-gradient);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;letter-spacing:.01em}.pill-arrow{font-size:12px;color:#94a3b8;transition:transform .3s cubic-bezier(.4,0,.2,1);display:inline-block}.pill-arrow.up{transform:rotate(180deg)}.task-list-wrapper{display:grid;grid-template-rows:0fr;transition:grid-template-rows .35s cubic-bezier(.4,0,.2,1);opacity:0}.task-list-wrapper.open{grid-template-rows:1fr;opacity:1}.task-list-wrapper>.task-list-container{overflow:hidden;min-height:0}.task-list-container{padding:20px 28px 28px;display:flex;flex-direction:column;gap:16px;min-width:280px}.task-item{background:#fff;border:1px solid #f1f5f9;border-radius:16px;padding:20px 22px;box-shadow:0 2px 8px rgba(0,0,0,.02);transition:box-shadow .2s}.task-item:hover{box-shadow:0 8px 24px rgba(0,0,0,.04)}.task-header-row{display:flex;gap:14px;align-items:flex-start;margin-bottom:12px}.task-num{flex-shrink:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:rgba(79,123,255,.08);color:#4f7bff;font-size:14px;font-weight:700;margin-top:1px}.task-main{flex:1 1;min-width:0}.task-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:15px;font-weight:700;color:var(--text-primary);margin-bottom:4px}.task-desc{font-size:13px;color:var(--text-secondary);margin-bottom:4px;line-height:1.5}.task-status{display:inline-block;padding:3px 12px;border-radius:100px;font-size:11px;font-weight:700;letter-spacing:.02em}.task-status.success{background:rgba(34,197,94,.1);color:#16a34a}.task-status.failure{background:rgba(220,38,38,.1);color:#dc2626}.task-pains,.task-summary{margin-top:12px;border-radius:12px;overflow:hidden}.task-summary{background:#fafbff;border:1px solid #e0e7ff}.task-pains{background:snow;border:1px solid #fee2e2}.pain-header,.summary-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;cursor:pointer;font-size:13px;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none}.summary-header{color:#4f7bff}.pain-header{color:#dc2626}.pain-header-left{display:flex;align-items:center;gap:6px}.count,.pain-status-tag{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;border-radius:100px;font-size:11px;font-weight:700;background:#fff}.count{color:#4f7bff;border:1px solid #e0e7ff}.pain-status-tag{color:#dc2626;border:1px solid #fee2e2}.arrow-icon{font-size:12px;color:#94a3b8}.pain-content,.summary-content{padding:12px 16px 16px;font-size:13px;color:var(--text-secondary);line-height:1.6;border-top:1px solid #f1f5f9}.summary-list{margin:0;padding-left:20px}.summary-list li{margin-bottom:4px}.summary-list li:last-child{margin-bottom:0}.pain-item{padding:6px 0;border-bottom:1px dashed #fee2e2}.pain-item:last-child{border-bottom:none;padding-bottom:0}.pain-item strong{color:#dc2626;font-weight:700}.empty-hint{padding:40px 20px;text-align:center;color:#94a3b8;font-size:14px;background:#fafbfc;border-radius:14px}@media (max-width:720px){.stage-collapse-panel.expanded{border-radius:16px}.stage-selector{padding:2px 0}.stage-pill-btn{padding:8px 20px;font-size:13px}.task-list-container{padding:12px 16px 16px;min-width:auto}.task-item{padding:16px 14px}.task-title{font-size:14px}}.detail-content{background:hsla(0,0%,100%,.85);backdrop-filter:blur(24px) saturate(180%);-webkit-backdrop-filter:blur(24px) saturate(180%);border:var(--glass-border);border-radius:var(--radius-card);box-shadow:var(--shadow-elegant);overflow:hidden}.detail-section{padding:32px 36px}.stage-header{display:flex;gap:20px;align-items:flex-start;margin-bottom:28px}.stage-icon{width:56px;height:56px;display:flex;align-items:center;justify-content:center;font-size:28px;border-radius:16px;background:rgba(79,123,255,.06);flex-shrink:0}.stage-header-info{flex:1 1;min-width:0}.stage-header-info h2{font-size:26px;font-weight:800;color:var(--text-primary);margin-bottom:6px;letter-spacing:-.02em}.stage-subtitle{font-size:14px;color:var(--text-secondary);margin-bottom:16px}.stage-tags{display:flex;flex-wrap:wrap;gap:10px}.tag{display:inline-flex;align-items:center;padding:5px 16px;border-radius:100px;font-size:12px;font-weight:700;background:rgba(0,0,0,.02);border:1px solid #f1f5f9}.tag-blue{background:rgba(79,123,255,.06);color:#4f7bff;border-color:rgba(79,123,255,.1)}.tag-green{background:rgba(34,197,94,.06);color:#16a34a;border-color:rgba(34,197,94,.1)}.tag-red{background:rgba(220,38,38,.06);color:#dc2626;border-color:rgba(220,38,38,.1)}.tag-purple{background:rgba(124,58,237,.06);color:#7c3aed;border-color:rgba(124,58,237,.1)}.tag-yellow{background:rgba(245,158,11,.06);color:#b45309;border-color:rgba(245,158,11,.1)}.tag-gray{background:#f1f5f9;color:var(--text-secondary);border-color:transparent}.sd-narrative{margin-bottom:32px}.sd-metrics h4,.sd-narrative h4,.sd-tasks h4{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:700;color:var(--text-primary);margin-bottom:14px;letter-spacing:-.02em}.sd-narrative h4:before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:linear-gradient(135deg,#f59e0b,#f97316);box-shadow:0 0 6px rgba(245,158,11,.4)}.sd-narrative-text{background:linear-gradient(135deg,#fffbf5,#fef3e2);border:1px solid rgba(245,158,11,.12);border-left:3px solid #f59e0b;border-radius:14px;padding:14px 20px;font-size:14px;color:#451a03;line-height:1.7;position:relative;box-shadow:0 1px 4px rgba(245,158,11,.06),inset 0 1px 0 hsla(0,0%,100%,.7);transition:padding .3s ease}.sd-narrative-text.is-expanded{padding:20px 26px}.narrative-collapsed{display:flex;align-items:baseline;gap:4px}.narrative-preview{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#78350f;font-size:14px;line-height:1.7}.fold-toggle-inline{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;padding:3px 12px;border-radius:100px;background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.18);color:#b45309;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;white-space:nowrap;letter-spacing:.01em}.fold-toggle-inline:hover{background:rgba(245,158,11,.15);border-color:rgba(245,158,11,.3);box-shadow:0 2px 8px rgba(245,158,11,.12)}.fold-toggle-inline svg{flex-shrink:0;transition:transform .2s ease}.fold-toggle-inline:hover svg{transform:translateY(1px)}.narrative-full{color:#451a03;font-size:14.5px;line-height:1.85;animation:narrativeFadeIn .3s ease}@keyframes narrativeFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.fold-toggle-bottom{display:inline-flex;align-items:center;gap:5px;margin-top:14px;padding:4px 14px;border-radius:100px;background:transparent;border:1px solid rgba(245,158,11,.15);color:#b45309;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s ease;letter-spacing:.01em}.fold-toggle-bottom:hover{background:rgba(245,158,11,.06);border-color:rgba(245,158,11,.28)}.fold-toggle-bottom svg{flex-shrink:0}.sd-metrics{margin-bottom:32px}.metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:16px;gap:16px}.metric-card{background:hsla(0,0%,100%,.6);border:1px solid hsla(0,0%,100%,.8);border-radius:16px;padding:20px 22px;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:all .3s;position:relative;overflow:hidden}.metric-card:before{content:"";position:absolute;top:0;left:0;bottom:0;width:3px;background:var(--primary-gradient);border-radius:16px 0 0 16px;opacity:.4}.metric-card:hover{border-color:rgba(79,123,255,.15);box-shadow:0 4px 16px rgba(79,123,255,.04);transform:translateY(-2px)}.metric-name{font-size:13px;font-weight:600;color:var(--text-secondary);margin-bottom:12px;letter-spacing:.01em}.metric-value-row{justify-content:space-between;gap:8px;margin-bottom:10px}.metric-value,.metric-value-row{display:flex;align-items:baseline}.metric-value{font-size:28px;font-weight:800;color:var(--text-primary);gap:6px}.metric-label-prefix{font-size:14px;font-weight:600;color:var(--text-secondary);white-space:nowrap;letter-spacing:.02em}.metric-value strong{font-size:30px;letter-spacing:-.02em}.built-in-metrics-row{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:12px;gap:12px;margin-bottom:16px}.built-in-metric-card{display:flex;align-items:center;gap:10px;padding:14px 16px!important;background:linear-gradient(135deg,hsla(0,0%,100%,.7),rgba(248,250,252,.6))!important}.built-in-metric-icon{font-size:22px;line-height:1;flex-shrink:0}.built-in-metric-body{display:flex;flex-direction:column;gap:2px;min-width:0}.built-in-metric-label{font-size:11.5px;font-weight:600;color:var(--text-muted);text-transform:uppercase;letter-spacing:.04em}.built-in-metric-value{font-size:20px;font-weight:800;letter-spacing:-.01em;line-height:1.2}.built-in-metric-desc{font-size:11px;color:var(--text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}@media (max-width:720px){.built-in-metrics-row{grid-template-columns:repeat(2,1fr)}}.metric-score{font-size:12px;font-weight:700;padding:4px 12px;border-radius:100px}.score-good{background:rgba(34,197,94,.08);color:#16a34a}.score-mid{background:rgba(245,158,11,.08);color:#b45309}.score-bad{background:rgba(220,38,38,.08);color:#dc2626}.metric-desc{font-size:13px;color:var(--text-secondary);line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;transition:all .3s}.metric-desc.expanded{-webkit-line-clamp:unset;display:block}.sd-tasks .task-list{display:flex;flex-direction:column;gap:16px}.app-footer{margin-top:40px;padding-top:24px;border-top:1px solid rgba(0,0,0,.04);text-align:center;font-size:13px;color:var(--text-muted);letter-spacing:.02em}@media (max-width:1100px){.metrics-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:720px){.metrics-grid{grid-template-columns:1fr}.stage-header{flex-direction:column}.detail-section{padding:22px}.metric-value{font-size:24px}}.task-painboard{margin-top:12px;border-radius:14px;overflow:hidden;background:linear-gradient(135deg,#f0f9ff,#e0f2fe);border:1px solid #bae6fd;box-shadow:0 2px 8px rgba(14,165,233,.08),inset 0 1px 0 hsla(0,0%,100%,.6)}.history-pain-header{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;cursor:pointer;font-size:13px;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#0369a1;background:linear-gradient(135deg,rgba(14,165,233,.06),rgba(56,189,248,.04));border-bottom:1px solid #bae6fd;transition:background .2s ease}.history-pain-header:hover{background:linear-gradient(135deg,rgba(14,165,233,.1),rgba(56,189,248,.07))}.history-pain-header .pain-header-left{display:flex;align-items:center;gap:8px}.history-pain-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;border-radius:100px;font-size:11px;font-weight:700;color:#0284c7;background:#fff;border:1px solid #7dd3fc}.history-pain-sub{font-size:11px;font-weight:500;color:#94a3b8;letter-spacing:.02em}.painboard-table-wrap{padding:16px 18px 18px;overflow-x:auto;background:#fff;margin:10px 12px 12px;border-radius:10px;border:1px solid #e2e8f0;box-shadow:0 1px 3px rgba(0,0,0,.04),inset 0 1px 0 hsla(0,0%,100%,.8)}.painboard-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5;border:1px solid #d4dde8}.painboard-table th,.painboard-table thead{border-bottom:2px solid #cbd5e1}.painboard-table th{text-align:left;padding:10px 14px;color:#334155;background:#f8fafc;font-weight:700;font-size:12px;white-space:nowrap;letter-spacing:.02em;text-transform:none;border-right:1px solid #e2e8f0}.painboard-table th:first-child{border-top-left-radius:8px}.painboard-table th:last-child{border-top-right-radius:8px}.painboard-table td{padding:11px 14px;border-bottom:1px solid #e2e8f0;border-right:1px solid #eef2f0;color:#334155;vertical-align:middle;transition:background .15s ease}.painboard-table tbody tr:nth-child(2n){background:#fafbfc}.painboard-table tbody tr:hover{background:#f0f9ff}.painboard-table tbody tr:last-child td{border-bottom:none}.painboard-table .pain-desc{max-width:300px;word-break:break-word;line-height:1.55}.pain-common-tag{margin-left:6px;font-size:10px;font-weight:600;background:linear-gradient(135deg,#fff7ed,#ffedd5);color:#c2410c;padding:2px 7px;border-radius:4px;border:1px solid #fed7aa;letter-spacing:.02em}.painboard-table a{color:#0284c7;text-decoration:none;font-weight:600;font-size:12px;padding:2px 6px;border-radius:4px;transition:all .15s ease}.painboard-table a:hover{color:#0369a1;background:#e0f2fe;text-decoration:none}.metric-sub-row{display:flex;flex-direction:column;gap:6px;margin-top:12px;padding-top:12px;border-top:1px dashed rgba(148,163,184,.2)}.metric-sub-item{display:flex;align-items:center;gap:8px;font-size:12px}.metric-sub-label{width:72px;flex-shrink:0;font-weight:600;color:#64748b;font-size:11.5px;letter-spacing:.01em}.mini-bar-track{flex:1 1;height:6px;background:#f1f5f9;overflow:hidden}.mini-bar-fill,.mini-bar-track{border-radius:3px;position:relative}.mini-bar-fill{height:100%;transition:width .6s cubic-bezier(.4,0,.2,1)}.mini-bar-fill.good{background:linear-gradient(90deg,#22c55e,#4ade80)}.mini-bar-fill.mid{background:linear-gradient(90deg,#3b82f6,#60a5fa)}.mini-bar-fill.bad{background:linear-gradient(90deg,#f97316,#fb923c)}.mini-bar-benchmark{position:absolute;top:-2px;bottom:-2px;width:1px;background:#94a3b8;opacity:.4}.mini-bar-benchmark:after{content:"";position:absolute;top:-3px;left:-3px;width:7px;height:7px;border-radius:50%;background:#94a3b8;opacity:.5}.metric-sub-value{width:38px;text-align:right;flex-shrink:0;font-weight:700;font-size:12px;color:#334155}.metric-sub-bench{width:36px;text-align:right;flex-shrink:0;font-size:10px;color:#94a3b8}.trend-badge{display:inline-flex;align-items:center;gap:3px;padding:2px 8px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.02em}.trend-badge.up{background:rgba(34,197,94,.08);color:#16a34a}.trend-badge.down{background:rgba(220,38,38,.08);color:#dc2626}.trend-badge.stable{background:rgba(100,116,139,.08);color:#64748b}.css-bar-chart{display:flex;align-items:flex-end;gap:8px;height:120px;padding:16px 12px 8px;background:rgba(248,250,252,.6);border-radius:12px;margin-bottom:12px}.css-bar-item{flex:1 1;display:flex;flex-direction:column;align-items:center;gap:4px;max-width:80px}.css-bar-col-wrapper{width:100%;height:100px;display:flex;align-items:flex-end;justify-content:center;gap:2px}.css-bar-col{min-width:8px;max-width:28px;border-radius:4px 4px 0 0;transition:height .5s cubic-bezier(.4,0,.2,1);position:relative;cursor:default}.css-bar-col:hover{filter:brightness(1.1);transform:scaleY(1.02);transform-origin:bottom}.css-bar-value{font-size:12px;font-weight:800;color:#334155;line-height:1}.css-bar-label{font-size:10px;color:#64748b;font-weight:600;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;line-height:1.2}.css-donut-container{display:flex;align-items:center;gap:20px;padding:16px;background:rgba(248,250,252,.6);border-radius:12px;margin-bottom:12px}.css-donut-chart{width:110px;height:110px;border-radius:50%;position:relative;flex-shrink:0}.css-donut-center{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}.css-donut-total{font-size:22px;font-weight:800;color:#0f172a;line-height:1}.css-donut-total-label{font-size:10px;color:#94a3b8;margin-top:2px}.css-donut-legend{display:flex;flex-direction:column;gap:6px;flex:1 1;min-width:0}.css-legend-item{display:flex;align-items:center;gap:8px;font-size:12px;cursor:default}.css-legend-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}.css-legend-label{flex:1 1;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:500}.css-legend-value{font-weight:700;color:#334155;flex-shrink:0;margin-left:4px}.css-legend-pct{font-size:11px;color:#94a3b8;flex-shrink:0;min-width:32px;text-align:right}.journey-mini-chart{margin-top:16px;padding-top:16px;border-top:1px dashed rgba(148,163,184,.15)}.journey-mini-chart-title{font-size:13px;font-weight:700;color:#475569;margin-bottom:10px;display:flex;align-items:center;gap:6px}.journey-mini-chart-title:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--primary-gradient)}.journey-score-bars{display:flex;flex-direction:column;gap:6px}.journey-score-bar-row{display:flex;align-items:center;gap:8px}.journey-score-bar-label{width:80px;flex-shrink:0;font-size:11px;font-weight:600;color:#64748b;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.journey-score-bar-track{flex:1 1;height:14px;background:#f1f5f9;border-radius:7px;overflow:hidden;position:relative}.journey-score-bar-fill{height:100%;border-radius:7px;transition:width .6s cubic-bezier(.4,0,.2,1);display:flex;align-items:center;justify-content:flex-end;padding-right:6px;min-width:28px}.journey-score-bar-fill span{font-size:10px;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.15);line-height:1;white-space:nowrap}.journey-score-bar-val{width:32px;flex-shrink:0;font-size:13px;font-weight:800;color:#0f172a;text-align:right}.card-text-block{background:linear-gradient(135deg,#fafbff,#f0f4ff);border:1px solid rgba(79,123,255,.08);border-left:3px solid #4f7bff;border-radius:12px;padding:14px 18px;font-size:13.5px;color:#334155;line-height:1.75;margin-bottom:16px}.card-text-block:before{content:"📋";margin-right:6px}.task-summary-mini{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.task-phase-pill{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:8px;font-size:11px;font-weight:600;background:rgba(241,245,249,.8);border:1px solid rgba(226,232,240,.8);color:#475569}.task-phase-pill .success-count{color:#16a34a;font-weight:800}.task-phase-pill .fail-count{color:#dc2626;font-weight:800}@media (max-width:720px){.css-bar-chart{height:90px;padding:10px 6px 6px}.css-donut-container{flex-direction:column;padding:12px}.css-donut-chart{width:90px;height:90px}.journey-score-bar-label{width:60px;font-size:10px}.metric-sub-label{width:56px;font-size:10.5px}}