:root{color:#17201b;background:#f6f7f4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,a{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:292px minmax(0,1fr);min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:20px;padding:22px;border-right:1px solid #dde4db;background:#fbfcfa}.brand{display:flex;align-items:center;gap:12px}.brand.large{align-items:flex-start}.brand strong{display:block;font-size:18px}.brand span,.user-box span,.repo-item small,.github-repo small,.section-heading p,.empty-state p,.overview-band p,.status-panel span,.run-row small,.activity-item small,.prompt-card pre{color:#68736c}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:8px;color:#f8fbf7;background:#245642}.user-box{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #dde4db;border-radius:8px;background:#fff}.user-box img{width:36px;height:36px;border-radius:50%}.primary-button,.secondary-button,.ghost-button,.github-login{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:0 16px;border-radius:8px;border:1px solid transparent;text-decoration:none;font-weight:700}.compact-button{min-height:36px;padding:0 12px;white-space:nowrap}.primary-button,.github-login{color:#fff;background:#245642}.secondary-button{color:#245642;border-color:#bfd1c6;background:#eef5f0}.ghost-button{color:#526059;background:transparent}.primary-button:disabled,.secondary-button:disabled,.github-repo:disabled{cursor:wait;opacity:.6}.repo-list{display:flex;flex:1;flex-direction:column;gap:8px;overflow:auto}.repo-item{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;min-height:58px;padding:10px 12px;border:1px solid transparent;border-radius:8px;color:#17201b;background:transparent;text-align:left}.repo-item.active{border-color:#bfd1c6;background:#eef5f0}.logout{justify-content:flex-start}.main{min-width:0;padding:28px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.topbar h1,.overview-band h2,.report h2,.empty-state h2,.section-heading h2{margin:0;letter-spacing:0}.topbar h1{font-size:30px}.eyebrow{margin:0 0 4px;color:#6b5141;font-size:12px;font-weight:800;letter-spacing:0;text-transform:uppercase}.notice{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:8px;margin-bottom:18px}.notice.error{color:#6a251f;border:1px solid #efc7c2;background:#fff1ef}.login-screen{display:grid;min-height:100vh;place-items:center;padding:24px;background:linear-gradient(180deg,#f6f7f4d6,#f6f7f4fa),url(https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80);background-position:center;background-size:cover}.login-panel{display:flex;flex-direction:column;gap:22px;width:min(460px,100%);padding:28px;border:1px solid rgba(221,228,219,.9);border-radius:8px;background:#ffffffeb;box-shadow:0 24px 60px #17201b1f}.not-found-page{display:grid;min-height:100vh;place-items:center;padding:24px}.not-found-panel{display:grid;justify-items:center;gap:14px;width:min(460px,100%);padding:32px;border:1px solid #dde4db;border-radius:8px;background:#fff;text-align:center;box-shadow:0 18px 46px #17201b14}.not-found-panel h1{margin:0;font-size:30px;letter-spacing:0}.not-found-panel p{margin:0;color:#68736c;line-height:1.5}.auth-callback-page{display:grid;min-height:100vh;place-items:center;color:#245642}.access-note{display:flex;gap:8px;margin:0;color:#526059;line-height:1.5}.repo-picker,.history-panel,.analysis-activity,.report-section,.technical-notes{padding:18px;border:1px solid #dde4db;border-radius:8px;background:#fff}.section-heading{display:flex;flex-direction:column;gap:4px;margin-bottom:14px}.section-heading.compact h2{display:flex;align-items:center;gap:8px;font-size:18px}.github-repo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px}.github-installation-list{display:grid;gap:16px}.github-installation-group{display:grid;gap:10px}.github-installation-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;min-height:24px}.github-installation-heading small{color:#68736c}.github-repo{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:72px;padding:12px;border:1px solid #dde4db;border-radius:8px;color:#17201b;background:#fbfcfa;text-align:left}.github-repo span{display:grid;gap:3px;min-width:0}.github-repo strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-state{display:grid;place-items:center;gap:12px;min-height:380px;padding:28px;color:#245642;text-align:center}.empty-state.inline{min-height:280px;border:1px dashed #bfd1c6;border-radius:8px;background:#fbfcfa}.empty-state p{max-width:420px;margin:0}.dashboard-grid{display:grid;gap:18px}.overview-band,.status-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;border-radius:8px}.overview-band{border:1px solid #dde4db;background:#fff}.report{display:grid;gap:18px}.health-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.metric-tile{display:flex;gap:12px;min-width:0;min-height:112px;padding:16px;border:1px solid #dde4db;border-top:4px solid #bfd1c6;border-radius:8px;background:#fff}.metric-tile.healthy{border-top-color:#245642}.metric-tile.needs_attention{border-top-color:#d59a24}.metric-tile.high_risk{border-top-color:#8b2f2b}.metric-icon{display:grid;flex:0 0 auto;place-items:center;width:34px;height:34px;border-radius:8px;color:#245642;background:#eef5f0}.metric-tile.high_risk .metric-icon{color:#8b2f2b;background:#fff1ef}.metric-tile.needs_attention .metric-icon{color:#6b5141;background:#f8e4bc}.metric-tile div:last-child{display:grid;align-content:start;gap:4px;min-width:0}.metric-tile span,.metric-tile small{color:#68736c}.metric-tile span{font-size:12px;font-weight:800;text-transform:uppercase}.metric-tile strong{overflow-wrap:anywhere;color:#17201b;font-size:22px;line-height:1.15}.status-panel{color:#fff}.status-panel.healthy{background:#245642}.status-panel.needs_attention{color:#2d2517;background:#f2c66d}.status-panel.high_risk{background:#8b2f2b}.summary-list{display:grid;gap:10px;padding-left:20px}.scope-item h3,.area-finding h4,.area-action h4{margin:0}.scope-item p,.area-finding p,.area-action p{margin:0;color:#526059;line-height:1.5}.scope-grid{display:grid;gap:12px}.scope-grid.service{grid-template-columns:repeat(4,minmax(0,1fr))}.scope-grid.report{grid-template-columns:repeat(2,minmax(0,1fr))}.scope-item{display:flex;gap:12px;min-width:0;padding:16px;border:1px solid #dde4db;border-radius:8px;background:#fbfcfa}.scope-item.report{align-items:flex-start;min-height:142px}.scope-content{display:grid;align-content:start;gap:6px;min-width:0;width:100%}.scope-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.scope-badges{display:flex;flex:0 0 auto;flex-wrap:wrap;justify-content:flex-end;gap:6px}.scope-question{font-weight:700}.scope-summary-line{display:-webkit-box;min-height:45px;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.scope-toggle{justify-self:start;min-height:32px;padding:0;color:#245642}.area-details{display:grid;gap:14px;margin-top:10px;padding-top:12px;border-top:1px solid #dde4db}.area-block{display:grid;gap:8px}.area-finding-list,.area-action-list{display:grid;gap:10px}.area-finding{display:grid;gap:8px;padding:12px;border:1px solid #edf0ec;border-radius:8px;background:#fff}.area-action{display:flex;gap:12px;padding:12px 0;border-top:1px solid #edf0ec}.area-action span{display:inline-flex;flex:0 0 auto;width:fit-content;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;color:#245642;background:#dff0e5;font-size:12px;font-weight:800;text-transform:uppercase}.repo-overview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px}.repo-overview-card{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;min-height:96px;padding:16px;border:1px solid #dde4db;border-radius:8px;color:#17201b;background:#fbfcfa;text-align:left}.repo-overview-card:hover{border-color:#bfd1c6;background:#f7faf8}.repo-overview-title{display:grid;gap:6px;min-width:0}.repo-overview-title strong{overflow-wrap:anywhere}.repo-overview-title small{color:#68736c}.prompt-generator,.scalability-section{display:grid;gap:14px}.scalability-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.scalability-card{display:grid;align-content:start;gap:12px;padding:16px;border:1px solid #dde4db;border-radius:8px;background:#fbfcfa}.scalability-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.scalability-card h3{margin:0;overflow-wrap:anywhere}.scalability-card p{margin:0;color:#526059}.scalability-list{display:grid;gap:6px}.scalability-list ul{display:grid;gap:6px;margin:0;padding-left:18px;color:#526059}.readiness{display:inline-flex;width:fit-content;flex:0 0 auto;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:800;text-transform:uppercase}.readiness.likely_ready{color:#245642;background:#dff0e5}.readiness.needs_changes,.readiness.unknown{color:#6b5141;background:#f8e4bc}.readiness.not_ready{color:#8b2f2b;background:#f8d8d4}.prompt-heading{align-items:flex-start;flex-direction:row;justify-content:space-between}.prompt-list{display:grid;gap:12px}.prompt-card{display:grid;gap:12px;padding:16px;border:1px solid #dde4db;border-radius:8px;background:#fbfcfa}.prompt-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.prompt-card-header>div{display:grid;gap:8px;min-width:0}.prompt-card h3{margin:0;overflow-wrap:anywhere}.prompt-card pre{max-height:260px;margin:0;overflow:auto;padding:12px;border:1px solid #edf0ec;border-radius:8px;background:#fff;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:13px;line-height:1.55;white-space:pre-wrap}.severity,.coverage-badge,.run-badge{display:inline-flex;width:fit-content;align-items:center;min-height:24px;padding:0 8px;border-radius:999px;font-size:12px;font-weight:800;text-transform:uppercase}.severity.low,.coverage-badge.reviewed,.run-badge.completed,.run-badge.healthy{color:#245642;background:#dff0e5}.severity.medium,.coverage-badge.limited_evidence,.run-badge.queued,.run-badge.running,.run-badge.needs_attention{color:#6b5141;background:#f8e4bc}.severity.high,.severity.critical,.coverage-badge.not_found,.run-badge.failed,.run-badge.high_risk{color:#8b2f2b;background:#f8d8d4}.run-badge.idle{color:#526059;background:#edf0ec}.run-list{display:grid;gap:10px}.activity-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}.activity-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;min-height:54px;padding:10px 0;border-top:1px solid #edf0ec}.activity-item:first-child{border-top:0}.activity-marker{display:grid;place-items:center;width:26px;height:26px;border-radius:999px;color:#526059;background:#eef2ef}.activity-item.active .activity-marker{color:#245642;background:#dff0e5}.activity-item.completed .activity-marker{color:#245642;background:#eef5f0}.activity-item.failed .activity-marker{color:#8b2f2b;background:#fff1ef}.activity-item span:nth-child(2){display:grid;gap:3px;min-width:0}.activity-item strong,.activity-item small{overflow-wrap:anywhere}.activity-item time{color:#68736c;font-size:12px;white-space:nowrap}.run-row{display:flex;gap:12px;align-items:flex-start;width:100%;padding:12px 0;border:0;border-top:1px solid #edf0ec;color:#17201b;background:transparent;text-align:left}.run-row{align-items:center;justify-content:space-between;flex-wrap:wrap}.run-row.active{padding-inline:10px;border:1px solid #bfd1c6;border-radius:8px;background:#eef5f0}.run-row:disabled{cursor:default}.technical-notes summary{cursor:pointer;font-weight:800}.spin{animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid #dde4db}.repo-list{max-height:190px}.main{padding:20px}.topbar,.overview-band,.status-panel,.repo-overview-card,.scalability-card-header,.prompt-heading,.prompt-card-header{align-items:flex-start;flex-direction:column}.health-summary,.scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.health-summary,.scalability-grid,.scope-grid{grid-template-columns:1fr}}
