:root{--color-bg: #f4f6f9;--color-surface: #ffffff;--color-border: #e2e6ed;--color-border-strong: #cfd6e2;--color-text: #1a2233;--color-text-secondary: #5b6577;--color-text-muted: #8a93a6;--color-primary: #2f5be0;--color-primary-dark: #1f3fb0;--color-primary-bg: #eaefff;--color-green: #1a9c5f;--color-green-bg: #e6f6ee;--color-yellow: #b8860a;--color-yellow-bg: #fff6e0;--color-red: #d33f3f;--color-red-bg: #fdecec;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--shadow-sm: 0 1px 2px rgba(20, 28, 46, .06);--shadow-md: 0 4px 16px rgba(20, 28, 46, .08);--shadow-lg: 0 12px 32px rgba(20, 28, 46, .14);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:var(--color-bg);color:var(--color-text);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font-family:inherit}.app-shell{min-height:100%;display:flex;flex-direction:column}.topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 32px;background:var(--color-surface);border-bottom:1px solid var(--color-border);position:sticky;top:0;z-index:20}.topbar__title{font-size:20px;font-weight:700;letter-spacing:-.01em}.topbar__subtitle{font-size:13px;color:var(--color-text-secondary);margin-top:2px}.topbar__nav{display:flex;align-items:center;gap:6px;padding:4px;border-radius:12px;background:var(--color-bg)}.topbar__nav-link{padding:8px 14px;border-radius:9px;color:var(--color-text-secondary);font-size:13px;font-weight:650}.topbar__nav-link:hover{color:var(--color-text)}.topbar__nav-link--active{color:var(--color-primary);background:var(--color-surface);box-shadow:var(--shadow-sm)}.page{padding:28px 32px 64px;max-width:1400px;margin:0 auto;width:100%}.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--color-text-secondary);margin-bottom:16px}.breadcrumb a:hover{color:var(--color-primary)}.kpi-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;margin-bottom:28px}.kpi-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:18px 20px;box-shadow:var(--shadow-sm)}.kpi-card__value{font-size:30px;font-weight:800;letter-spacing:-.02em;line-height:1.1}.kpi-card__label{margin-top:6px;font-size:12.5px;color:var(--color-text-secondary);font-weight:500}.kpi-card--red .kpi-card__value{color:var(--color-red)}.kpi-card--yellow .kpi-card__value{color:var(--color-yellow)}.kpi-card--green .kpi-card__value{color:var(--color-green)}.status-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;font-size:12.5px;font-weight:600;white-space:nowrap}.status-badge:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}.status-badge--GREEN{background:var(--color-green-bg);color:var(--color-green)}.status-badge--YELLOW{background:var(--color-yellow-bg);color:var(--color-yellow)}.status-badge--RED{background:var(--color-red-bg);color:var(--color-red)}.card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.card__header{padding:18px 22px;border-bottom:1px solid var(--color-border);display:flex;align-items:center;justify-content:space-between}.card__title{font-size:15px;font-weight:700}.card__body{padding:20px 22px}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}.project-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-lg);padding:20px;box-shadow:var(--shadow-sm);transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease;cursor:pointer;display:flex;flex-direction:column;gap:14px}.project-card:hover{box-shadow:var(--shadow-md);border-color:var(--color-border-strong);transform:translateY(-1px)}.project-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.project-card__title{font-size:16px;font-weight:700;letter-spacing:-.01em}.project-card__meta{font-size:12.5px;color:var(--color-text-secondary);margin-top:4px}.progress-bar{height:8px;border-radius:999px;background:var(--color-border);overflow:hidden}.progress-bar__fill{height:100%;border-radius:999px;background:var(--color-primary)}.progress-bar__fill--GREEN{background:var(--color-green)}.progress-bar__fill--YELLOW{background:var(--color-yellow)}.progress-bar__fill--RED{background:var(--color-red)}.project-card__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;font-size:12px}.stat-pill{display:flex;flex-direction:column;gap:2px;padding:8px 10px;border-radius:var(--radius-sm);background:var(--color-bg)}.stat-pill__value{font-weight:700;font-size:14px}.stat-pill__label{color:var(--color-text-muted);font-size:11px}.filters-row{display:flex;align-items:center;gap:10px;margin-bottom:20px;flex-wrap:wrap}.search-input{flex:1;min-width:240px;padding:10px 14px;border-radius:var(--radius-md);border:1px solid var(--color-border-strong);background:var(--color-surface);font-size:13.5px}.search-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg)}.filter-chip{padding:8px 14px;border-radius:999px;border:1px solid var(--color-border-strong);background:var(--color-surface);font-size:13px;font-weight:500;cursor:pointer;color:var(--color-text-secondary);transition:all .12s ease}.filter-chip:hover{border-color:var(--color-primary);color:var(--color-primary)}.filter-chip--active{background:var(--color-primary);border-color:var(--color-primary);color:#fff}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border-radius:var(--radius-md);font-size:13.5px;font-weight:600;border:1px solid transparent;cursor:pointer;transition:all .12s ease}.btn--primary{background:var(--color-primary);color:#fff}.btn--primary:hover{background:var(--color-primary-dark)}.btn--secondary{background:var(--color-surface);border-color:var(--color-border-strong);color:var(--color-text)}.btn--secondary:hover{border-color:var(--color-primary);color:var(--color-primary)}.btn--ghost{background:transparent;color:var(--color-text-secondary)}.btn--ghost:hover{background:var(--color-bg)}.btn:disabled{opacity:.55;cursor:not-allowed}.project-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;max-width:100%}.tabs{display:flex;gap:4px;border-bottom:1px solid var(--color-border);margin-bottom:24px;max-width:100%;overflow-x:auto}.tab{padding:10px 18px;font-size:13.5px;font-weight:600;color:var(--color-text-secondary);cursor:pointer;border-bottom:2px solid transparent;margin-bottom:-1px}.tab:hover{color:var(--color-text)}.tab--active{color:var(--color-primary);border-bottom-color:var(--color-primary)}.attention-list{display:flex;flex-direction:column;gap:8px}.attention-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:var(--radius-md);font-size:13.5px;font-weight:500}.attention-item--RED{background:var(--color-red-bg);color:#8a2424}.attention-item--YELLOW{background:var(--color-yellow-bg);color:#7a5a06}.attention-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.attention-dot--RED{background:var(--color-red)}.attention-dot--YELLOW{background:var(--color-yellow)}.roadmap{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.roadmap-stage{padding:14px 14px 16px;border-radius:var(--radius-md);border:1px solid var(--color-border);background:var(--color-bg)}.roadmap-stage__title{font-size:12px;font-weight:600;color:var(--color-text-secondary);margin-bottom:10px;min-height:32px}.roadmap-stage__readiness{font-size:20px;font-weight:800;margin-bottom:8px}.data-table{width:100%;border-collapse:collapse;font-size:13.5px}.data-table th{text-align:left;padding:10px 14px;font-size:11.5px;text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-muted);border-bottom:1px solid var(--color-border);font-weight:600}.data-table td{padding:13px 14px;border-bottom:1px solid var(--color-border);vertical-align:middle}.data-table tr:last-child td{border-bottom:none}.data-table tbody tr{cursor:pointer;transition:background .1s ease}.data-table tbody tr:hover{background:var(--color-bg)}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f142073;z-index:100;display:flex;justify-content:flex-end}.overlay--center{justify-content:center;align-items:center}.drawer{width:520px;max-width:92vw;height:100%;background:var(--color-surface);box-shadow:var(--shadow-lg);overflow-y:auto;animation:slideIn .18s ease}.modal{width:520px;max-width:92vw;max-height:88vh;overflow-y:auto;background:var(--color-surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);animation:popIn .15s ease}@keyframes slideIn{0%{transform:translate(24px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes popIn{0%{transform:scale(.97);opacity:0}to{transform:scale(1);opacity:1}}.drawer__header,.modal__header{display:flex;align-items:flex-start;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--color-border);position:sticky;top:0;background:var(--color-surface);z-index:1}.drawer__body,.modal__body{padding:22px 24px}.close-btn{border:none;background:var(--color-bg);border-radius:50%;width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--color-text-secondary);font-size:15px}.close-btn:hover{background:var(--color-border)}.form-field{margin-bottom:16px}.form-field label{display:block;font-size:12.5px;font-weight:600;color:var(--color-text-secondary);margin-bottom:6px}.form-field input,.form-field select,.form-field textarea{width:100%;padding:10px 12px;border:1px solid var(--color-border-strong);border-radius:var(--radius-md);font-size:13.5px;font-family:inherit;background:var(--color-surface)}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg)}.toast-stack{position:fixed;bottom:24px;right:24px;z-index:200;display:flex;flex-direction:column;gap:10px}.toast{background:#16203a;color:#fff;padding:14px 18px;border-radius:var(--radius-md);box-shadow:var(--shadow-lg);font-size:13.5px;max-width:360px;animation:slideUp .2s ease}.toast--error{background:#7a2424}@keyframes slideUp{0%{transform:translateY(8px);opacity:0}to{transform:translateY(0);opacity:1}}.skeleton{background:linear-gradient(90deg,var(--color-border) 25%,#edf0f5 37%,var(--color-border) 63%);background-size:400% 100%;animation:shimmer 1.4s ease infinite;border-radius:var(--radius-sm)}@keyframes shimmer{0%{background-position:100% 50%}to{background-position:0 50%}}.empty-state{text-align:center;padding:56px 24px;color:var(--color-text-secondary)}.empty-state__title{font-size:15px;font-weight:600;color:var(--color-text);margin-bottom:6px}.route-steps{display:flex;flex-direction:column}.route-step{display:flex;gap:12px;padding-bottom:18px;position:relative}.route-step:not(:last-child):before{content:"";position:absolute;left:10px;top:24px;bottom:0;width:2px;background:var(--color-border)}.route-step__dot{width:22px;height:22px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;z-index:1}.route-step__dot--DONE{background:var(--color-green-bg);color:var(--color-green)}.route-step__dot--IN_PROGRESS{background:var(--color-yellow-bg);color:var(--color-yellow)}.route-step__dot--OVERDUE{background:var(--color-red-bg);color:var(--color-red)}.route-step__dot--PENDING{background:var(--color-bg);color:var(--color-text-muted);border:1px solid var(--color-border-strong)}.route-step__role{font-weight:600;font-size:13.5px}.route-step__person{font-size:12.5px;color:var(--color-text-secondary)}.badge-1c{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:#eef1f7;color:var(--color-text-secondary);font-size:11px;font-weight:600}.text-muted{color:var(--color-text-secondary)}.section-title{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.03em;color:var(--color-text-muted);margin-bottom:12px}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.page-heading h1{margin:3px 0 4px;font-size:clamp(26px,3vw,38px);line-height:1.15;letter-spacing:-.035em}.page-heading p{margin:0;color:var(--color-text-secondary)}.eyebrow{color:var(--color-primary);font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.registry-updated{display:inline-flex;align-items:center;gap:8px;color:var(--color-text-secondary);font-size:12px;white-space:nowrap}.live-dot{width:8px;height:8px;border-radius:50%;background:var(--color-green);box-shadow:0 0 0 4px var(--color-green-bg)}.kpi-grid--registry{grid-template-columns:repeat(5,minmax(150px,1fr));margin-bottom:18px}.source-strip{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px;overflow-x:auto;padding:2px 2px 12px;margin-bottom:12px}.source-card{min-width:150px;padding:12px;text-align:left;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);color:var(--color-text-secondary);font-size:11.5px;cursor:pointer}.source-card:hover,.source-card--active{border-color:var(--color-primary);box-shadow:0 0 0 2px var(--color-primary-bg)}.source-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:7px;color:var(--color-text)}.connection-state{display:inline-flex;padding:2px 6px;border-radius:999px;font-size:8.5px;font-weight:800;text-transform:uppercase;white-space:nowrap}.connection-state--LIVE{color:var(--color-green);background:var(--color-green-bg)}.connection-state--PILOT{color:var(--color-primary);background:var(--color-primary-bg)}.connection-state--PLANNED{color:var(--color-text-muted);background:var(--color-bg)}.registry-toolbar{display:grid;grid-template-columns:minmax(280px,1fr) auto auto;gap:10px;margin-bottom:14px}.registry-select{min-height:40px;padding:9px 34px 9px 12px;border-radius:var(--radius-md);border:1px solid var(--color-border-strong);background:var(--color-surface);color:var(--color-text);font:inherit}.registry-select:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-bg)}.registry-table-wrap{overflow-x:auto}.registry-table{min-width:980px}.registry-table th:last-child{width:34%}.registry-table__preview-row{cursor:default!important}.task-title{font-weight:700;max-width:320px}.task-meta{color:var(--color-text-muted);font-size:11.5px;margin-top:3px;max-width:340px}.source-badge,.forecast-pill{display:inline-flex;align-items:center;padding:4px 8px;border-radius:7px;font-size:10.5px;font-weight:750;white-space:nowrap}.source-badge{color:#365071;background:#edf3fb}.source-badge--ONE_C_DO{color:#9b6710;background:#fff3d7}.source-badge--MS_PROJECT{color:#315b9e;background:#e9f0ff}.source-badge--EMAIL{color:#7650a3;background:#f3ebff}.source-badge--MESSENGER{color:#19768f;background:#e6f7fb}.source-badge--REDMINE{color:#a13e48;background:#fae9eb}.source-badge--SERVICE_DESK{color:#4d6574;background:#eaf0f3}.forecast-pill--ON_TRACK{color:var(--color-green);background:var(--color-green-bg)}.forecast-pill--WATCH{color:var(--color-primary);background:var(--color-primary-bg)}.forecast-pill--AT_RISK{color:var(--color-yellow);background:var(--color-yellow-bg)}.forecast-pill--DELAYED{color:var(--color-red);background:var(--color-red-bg)}.prediction-cell__top{display:flex;align-items:center;justify-content:space-between;gap:12px}.prediction-impact{color:var(--color-text-secondary);font-size:11.5px;font-weight:650;margin-top:6px}.deadline--overdue{color:var(--color-red);font-weight:700}.task-summary{display:flex;align-items:stretch;gap:10px;margin-bottom:14px}.task-summary>div{min-width:145px;padding:12px 14px;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface)}.task-summary strong,.task-summary span{display:block}.task-summary strong{font-size:20px}.task-summary span{color:var(--color-text-muted);font-size:10.5px}.task-summary .registry-select{margin-left:auto}.forecast-card{padding:22px;margin-bottom:20px;border:1px solid #cfdcff;border-radius:var(--radius-lg);background:linear-gradient(135deg,#fbfcff,#eef3ff);box-shadow:var(--shadow-sm)}.forecast-card--WARNING{border-color:#eedba5;background:linear-gradient(135deg,#fffdf8,#fff6dc)}.forecast-card--CRITICAL{border-color:#f0c5c5;background:linear-gradient(135deg,snow,#fdecec)}.forecast-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px}.forecast-card__headline{margin-top:5px;font-size:clamp(20px,2vw,27px);font-weight:800;letter-spacing:-.025em}.forecast-card__impact{margin-top:5px;color:var(--color-text-secondary)}.forecast-card__score{min-width:92px;text-align:right}.forecast-card__score strong,.forecast-card__score span{display:block}.forecast-card__score strong{font-size:24px}.forecast-card__score span{color:var(--color-text-muted);font-size:10px}.forecast-factors{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;margin-top:18px}.forecast-factor{display:flex;flex-direction:column;gap:3px;padding:11px 12px;border:1px solid rgba(80,100,140,.12);border-radius:var(--radius-md);background:#ffffffb3}.forecast-factor span{color:var(--color-primary);font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.forecast-factor strong{font-size:12.5px}.forecast-factor small{color:var(--color-text-secondary);font-size:11px}.forecast-action{margin-top:14px;padding-top:14px;border-top:1px solid rgba(80,100,140,.14)}.forecast-action span{color:var(--color-text-muted);font-size:9.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.forecast-action p{margin:3px 0 0;font-weight:600}.template-hint{padding:11px 12px;margin-bottom:16px;border-radius:var(--radius-md);background:var(--color-primary-bg);color:#334c92;font-size:12px}@media (max-width: 800px){.topbar{padding:14px 16px}.topbar__subtitle{display:none}.topbar__nav-link{padding:7px 9px;font-size:11.5px}.page{padding:20px 16px 48px}.page-heading{align-items:flex-start;flex-direction:column}.kpi-grid--registry{grid-template-columns:repeat(2,1fr)}.registry-toolbar{grid-template-columns:1fr}.task-summary{flex-wrap:wrap}.task-summary .registry-select{width:100%;margin-left:0}.forecast-card__header{flex-direction:column}.forecast-card__score{text-align:left}.project-actions{width:100%}.project-actions .status-badge{width:100%;justify-content:center}.project-actions .btn{flex:1 1 145px;padding:9px 10px;white-space:normal;line-height:1.25}.tabs{scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{flex:0 0 auto;padding:10px 12px}.roadmap{grid-template-columns:repeat(6,140px);max-width:100%;overflow-x:auto;scrollbar-width:none}.roadmap::-webkit-scrollbar{display:none}}
