.kam-research-page,.kam-research-run{display:grid;gap:18px;color:#101828}.kam-research-tabs{display:flex;gap:8px;overflow:auto;padding:4px;background:#fff;border:1px solid #e3eaf2;border-radius:12px}.kam-research-tabs button{border:0;background:transparent;border-radius:9px;padding:11px 16px;font:800 14px/1.2 inherit;white-space:nowrap;color:#526175}.kam-research-tabs button.active{background:#101827;color:#fff}.kam-research-intro{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;align-items:end;padding:30px;border-radius:18px;background:linear-gradient(115deg,#101827,#202c40);color:#fff}.kam-research-intro h1{font-size:42px;margin:5px 0 10px}.kam-research-intro p{max-width:760px;margin:0;color:#d8e1ed;line-height:1.55}.kam-research-counter{min-width:130px;padding:18px;border-radius:14px;background:rgba(255,255,255,.1);text-align:center}.kam-research-counter b{display:block;font-size:28px;color:#ff4ca2}.kam-research-counter span{font-size:12px;color:#d8e1ed}.kam-research-period{padding:13px 16px;border:1px solid #ffd0e7;border-left:5px solid #ef0076;border-radius:10px;background:#fff6fb;font-weight:800}.kam-research-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.kam-research-test-card{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:20px;border:1px solid #dde6f0;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(16,24,40,.05)}.kam-research-test-card:last-child{grid-column:1/-1}.kam-research-test-card h3{margin:10px 0 5px;font-size:19px}.kam-research-test-card p{margin:0;color:#667085}.kam-research-pill{display:inline-flex;border-radius:999px;padding:6px 9px;background:#eef2f6;color:#526175;font-size:12px;font-style:normal;font-weight:900}.kam-research-pill.ok{background:#eaf8f0;color:#117544}.kam-research-pill.work{background:#fff4df;color:#9a5a00}.kam-research-alert,.kam-research-warning{padding:13px 15px;border-radius:10px;background:#fff4df;color:#744400;border:1px solid #f6d799}.kam-research-alert{background:#fff0f5;color:#9f034e;border-color:#ffc7df}.kam-research-run{max-width:920px;margin:0 auto}.kam-research-back{justify-self:start;border:0;background:transparent;color:#c90063;font-weight:900;cursor:pointer}.kam-research-run-head{display:flex;justify-content:space-between;gap:20px;align-items:end}.kam-research-run-head p{margin:0;color:#68778a;font-weight:800}.kam-research-run-head h2{margin:5px 0 0}.kam-research-save{font-weight:800;color:#19734b}.kam-research-save.error{color:#b42318}.kam-research-progress{height:8px;border-radius:999px;background:#e8eef5;overflow:hidden}.kam-research-progress i{display:block;height:100%;background:#ee0075;border-radius:inherit}.kam-research-question{padding:26px;border:1px solid #dfe7f0;border-radius:16px;background:#fff;box-shadow:0 12px 32px rgba(16,24,40,.06)}.kam-research-question h3{margin:0 0 22px;font-size:22px;line-height:1.38}.kam-research-help,.kam-research-note{color:#667085;line-height:1.55}.kam-research-choices{display:grid;gap:10px}.kam-research-choices label{cursor:pointer}.kam-research-choices input{position:absolute;opacity:0}.kam-research-choices span{display:flex;gap:12px;align-items:center;min-height:52px;padding:10px 14px;border:1px solid #dce5ef;border-radius:10px}.kam-research-choices span b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f0f3f7}.kam-research-choices input:checked+span{border-color:#ef0076;background:#fff4fa;box-shadow:0 0 0 2px rgba(239,0,118,.08)}.kam-research-choices input:focus-visible+span{outline:3px solid #ffc2df}.kam-research-allocation,.kam-research-range{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:15px;align-items:center;padding:12px 0;border-bottom:1px solid #edf1f5}.kam-research-allocation select,.kam-research-allocation input,.kam-research-satisfaction input{width:100%;min-height:44px;border:1px solid #cdd8e4;border-radius:9px;padding:8px;font:inherit}.kam-research-range{grid-template-columns:minmax(0,1fr) minmax(120px,260px) 32px}.kam-research-sum{margin-top:15px;text-align:right;font-weight:800}.kam-research-satisfaction{display:flex;align-items:center;gap:10px;max-width:220px}.kam-research-run-actions{display:flex;justify-content:space-between;gap:12px}.kam-research-result-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px}.kam-research-result-menu,.kam-research-result-panel{padding:20px;border:1px solid #dfe7f0;border-radius:14px;background:#fff}.kam-research-result-menu h3{margin-top:0}.kam-research-result-menu button{display:block;width:100%;border:0;border-radius:8px;background:transparent;padding:11px;text-align:left;font-weight:800;color:#526175}.kam-research-result-menu button.active{background:#fff0f7;color:#bc005c}.kam-research-result-head{display:flex;justify-content:space-between;gap:15px}.kam-research-result-head h3{margin:0}.kam-research-result-head p{color:#69778a}.kam-research-result-panel h4{margin:24px 0 12px}.kam-research-bars{display:grid;gap:13px}.kam-research-bar>div{display:flex;justify-content:space-between;gap:15px;margin-bottom:5px}.kam-research-bar span{font-weight:900}.kam-research-bar i,.kam-research-factor i{display:block;height:8px;border-radius:999px;background:#e8edf3;overflow:hidden}.kam-research-bar i b,.kam-research-factor i b{display:block;height:100%;background:#ef0076}.kam-research-factor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kam-research-factor{padding:14px;border:1px solid #e0e7ef;border-radius:10px}.kam-research-factor.primary{border-color:#ffb9d9;background:#fff8fb}.kam-research-factor header,.kam-research-factor>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.kam-research-factor em{font-style:normal;color:#bf005e;font-weight:900}.kam-research-map-table{display:grid;gap:8px}.kam-research-map-table>div{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px;padding:11px;border-bottom:1px solid #edf1f5}.kam-research-map-table em{color:#b70059;font-style:normal;font-weight:800}.kam-research-history{display:grid;gap:12px}.kam-research-history article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:18px;border:1px solid #dfe7f0;border-radius:12px;background:#fff}.kam-research-history article h3,.kam-research-history article p{margin:0}.kam-research-history article>p{grid-column:1/-1;color:#68778a}.kam-research-empty{padding:35px;border:1px dashed #ccd6e1;border-radius:14px;background:#fff;text-align:center;color:#637185}.kam-research-empty.error{color:#a52020}.m41-research-list{display:grid;gap:10px}.m41-research-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:12px;align-items:center;padding:14px;border:1px solid #dfe7f0;border-radius:10px;background:#fff}.m41-research-detail{display:grid;gap:16px}.m41-research-tabs{display:flex;gap:8px;overflow:auto}.m41-research-tabs button{border:1px solid #dce5ef;border-radius:999px;background:#fff;padding:9px 13px;font-weight:900;white-space:nowrap}.m41-research-tabs button.active{background:#101827;color:#fff}.m41-research-recs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.m41-research-rec{padding:16px;border:1px solid #dfE7f0;border-left:5px solid #ef0076;border-radius:10px}.m41-research-rec h4{margin:0 0 8px}.m41-research-rec p{line-height:1.45}.m41-research-selects{display:flex;gap:10px;flex-wrap:wrap}.m41-research-selects select{min-height:42px;border:1px solid #cfdae6;border-radius:8px;padding:8px}.kam-research-error{color:#b42318}.kam-research-muted{color:#68778a}.kam-research-btn{border:0;border-radius:8px;background:#ef0076;color:#fff;padding:10px 13px;font-weight:900;cursor:pointer}
@media(max-width:760px){.kam-research-intro{grid-template-columns:1fr;padding:22px}.kam-research-intro h1{font-size:34px}.kam-research-counter{justify-self:start}.kam-research-cards,.kam-research-factor-grid,.m41-research-recs{grid-template-columns:1fr}.kam-research-test-card:last-child{grid-column:auto}.kam-research-test-card{align-items:flex-start;flex-direction:column}.kam-research-test-card button{width:100%}.kam-research-question{padding:18px}.kam-research-question h3{font-size:19px}.kam-research-allocation,.kam-research-range{grid-template-columns:1fr 90px}.kam-research-range input{grid-column:1/-1;width:100%}.kam-research-result-layout{grid-template-columns:1fr}.kam-research-result-menu{display:flex;gap:6px;overflow:auto}.kam-research-result-menu h3,.kam-research-result-menu p{display:none}.kam-research-result-menu button{width:auto;white-space:nowrap}.kam-research-map-table>div{grid-template-columns:1fr}.m41-research-row{grid-template-columns:40px minmax(0,1fr)}.m41-research-row>*:nth-child(n+3){grid-column:2}.kam-research-run-actions .v6-btn{flex:1}.kam-research-tabs{width:100%}}
.kam-research-history-actions{grid-column:1/-1;display:flex;gap:7px;flex-wrap:wrap}
.kam-research-deltas{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.kam-research-deltas span{padding:5px 8px;border-radius:7px;background:#f3f6f9;color:#344054;font-size:12px;font-weight:800}
.kam-research-conflict-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}

/* Stage 1 live-acceptance hotfix. */
.kam-research-page,.kam-research-run{min-width:0;width:100%;max-width:100%;box-sizing:border-box}
.kam-research-intro h1{color:#fff!important}
.kam-research-save-wrap{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.kam-research-retry-save{min-height:34px!important;height:34px!important;padding:0 12px!important;font-size:12px!important}
.kam-research-leave-warning p{margin:7px 0 0;line-height:1.45}.kam-research-leave-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
