.research-heading{margin-bottom:18px}.research-heading h1{font-size:29px}.research-heading p{margin-top:7px}.research-source{display:flex;align-items:center;gap:14px;padding:12px 16px;margin-bottom:16px}.research-source label{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:11px}.research-source select{min-width:240px}.research-source>button{margin-left:auto}.archive-badge{color:#895f22;background:#fff5df;border:1px solid #f2e4bf;padding:6px 9px;border-radius:5px;font-size:10px}.research-controls{display:grid;grid-template-columns:1.2fr 1fr 1.3fr;gap:14px;align-items:end}.research-controls label,.research-product-tools label{display:grid;gap:6px;font-size:11px;color:var(--muted)}.research-controls input,.research-controls select,.research-product-tools input,.research-product-tools select,.research-source select{border:1px solid #dfe2e7;border-radius:7px;background:#fff;padding:9px 11px;color:var(--ink);font-size:12px;min-width:0;width:100%}.research-extra{margin:11px 0;font-size:11px;color:var(--muted)}.research-extra summary{cursor:pointer;display:list-item}.research-extra .research-controls{margin-top:12px;grid-template-columns:1fr 1fr 1fr 1fr}.research-controls .match-choice{display:flex;align-items:center;gap:7px;align-self:center}.research-controls .match-choice input{width:auto}.research-summary{font-size:11px;color:#5b6370;line-height:1.6;margin:12px 0 5px}.research-summary+.footnote{margin:0 0 14px}.research-board{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:18px;align-items:start}.research-chart{padding:14px 18px 0}.research-chart-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:5px}.research-chart-head h2{font-size:13px;font-weight:600}.research-chart-head>span{font-size:10px;color:var(--muted);white-space:nowrap}.research-bar-row{width:100%;background:none;color:var(--ink);display:grid;grid-template-columns:20px minmax(0,1fr) 85px;gap:8px;padding:9px 0;min-height:45px;text-align:left;border-bottom:1px solid #f0f1f4;align-items:center}.research-rank{font-size:10px;color:#9298a3}.research-bar-name{min-width:0}.research-bar-name strong{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:12px;font-weight:500}.research-bar-name small{display:block;font-size:9px;color:#9298a3;margin:3px 0}.research-rail{display:block;height:4px;background:#f1f2f5;border-radius:3px;overflow:hidden}.research-fill{display:block;height:100%;background:#e22636;opacity:.4;border-radius:3px}.research-bar-row:hover .research-bar-name strong,.research-bar-row.selected .research-bar-name strong{color:var(--red)}.research-bar-row.selected .research-fill{opacity:1}.research-amount{text-align:right;font-size:12px;font-variant-numeric:tabular-nums}.research-bar-row.selected .research-amount{font-weight:600}.research-chart-foot{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:10px;color:var(--muted)}.research-detail{padding:20px}.research-detail .eyebrow{font-size:9px}.research-detail h2{font-size:18px;line-height:1.4;margin:12px 0;overflow-wrap:anywhere}.research-detail-stat{padding:10px 0;border-bottom:1px solid var(--line)}.research-detail-stat>span{display:block;font-size:10px;color:var(--muted)}.research-detail-stat>strong{display:block;font-size:19px;font-weight:600;margin-top:5px;font-variant-numeric:tabular-nums}.research-detail .primary{margin-top:12px;width:100%}.research-warning{font-size:11px;line-height:1.6;background:#fff6df;color:#83652a;border-radius:6px;padding:10px;margin:12px 0}.research-products{margin-top:20px;scroll-margin-top:20px}.research-products .panel-top{padding-bottom:12px}.research-products .panel-top h2{font-size:17px;margin:4px 0}.research-products .panel-top .muted{font-size:10px}.research-products .panel-top .footnote{margin:0}.research-categories{display:flex;flex-wrap:wrap;gap:7px;padding:0 20px 12px}.research-categories .active-category{background:#fbeef0;border-color:#f0b9bf;color:#bd2432}.research-product-tools{display:grid;grid-template-columns:1fr 270px;gap:16px;padding:12px 20px;border-top:1px solid var(--line)}.research-products table{white-space:normal;min-width:900px}.research-products th,.research-products td{padding:12px 14px}.research-products th{font-size:10px}.research-products td{font-size:12px;vertical-align:top}.research-product-name{min-width:260px;max-width:400px}.research-product-link{background:none;color:var(--ink);text-align:left;padding:0;line-height:1.5}.research-product-link:hover strong{color:var(--red)}.research-product-link strong{font-weight:500;font-size:12px}.research-product-link small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.research-products td.num{white-space:nowrap}.research-products td.num strong{display:block;font-size:12px;font-weight:500}.research-products td.num small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.research-products .panel-bottom{font-size:11px}.research-loading{padding:45px 20px;text-align:center;color:var(--muted);font-size:12px}.research-method,.research-market{margin-top:15px;padding:16px 20px}.research-method>summary,.research-market>summary{font-size:12px;cursor:pointer;display:list-item;color:#535b68}.research-method p{font-size:11px;line-height:1.7;margin:10px 0}.research-market .niche-toolbar{margin-top:20px}.research-market .niche-grid{margin-top:20px}.research-score-details{margin:15px 0;font-size:12px}.research-score-details summary{cursor:pointer}.research-score-details table{margin-top:12px}#research-import-form{display:grid;gap:15px}#research-import-form label{display:grid;gap:7px;font-size:12px}#research-import-form input{padding:10px;border:1px solid var(--line);border-radius:7px}#research-import-feedback{font-size:12px;color:#a73945}
@media(min-width:1000px) and (max-height:850px){.research-bar-row{padding:6px 0;min-height:38px}.research-bar-name small{font-size:9px;margin:2px 0}.research-heading h1{font-size:25px}.research-heading{margin-bottom:12px}.research-source{margin-bottom:12px}.research-summary{margin-top:8px}.research-heading .eyebrow{display:none}}
@media(max-width:1100px){.research-board{grid-template-columns:minmax(0,1fr) 240px}.research-source{flex-wrap:wrap}.research-source label{flex:1;min-width:220px}.archive-badge{font-size:9px}.research-detail{padding:15px}.research-detail-stat>strong{font-size:17px}}
@media(max-width:750px){.research-controls{grid-template-columns:1fr 1fr}.research-controls label:first-child{grid-column:1/-1}.research-extra .research-controls{grid-template-columns:1fr 1fr}.research-extra .research-controls label:first-child{grid-column:auto}.research-board{grid-template-columns:minmax(0,1fr)}.research-detail{display:none}.research-bar-row{grid-template-columns:16px minmax(0,1fr) 70px;min-height:49px}.research-source{gap:10px}.research-source label{display:grid;gap:6px}.research-source select{min-width:0}.research-source>button{margin-left:0}.research-heading h1{font-size:24px}.research-product-tools{grid-template-columns:minmax(0,1fr)}.research-products .panel-top{align-items:start}.research-products td.num small{font-size:10px}.research-products table{min-width:0}.research-products thead{display:none}.research-products tbody,.research-products tr{display:block}.research-products tr{padding:14px;border-top:1px solid var(--line);position:relative}.research-products td{display:inline-block;width:33.3%;padding:9px 0;border:0}.research-products td.research-product-name{display:block;width:100%;max-width:none;min-width:0;padding-left:26px}.research-products td.save-cell{position:absolute;top:17px;left:4px;width:27px;padding:0}.research-products td.num:before{content:attr(data-label);display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.research-products .panel-bottom{padding:12px;font-size:10px}.research-chart{padding-inline:12px}.research-categories{padding-inline:14px}.research-product-tools{padding-inline:14px}.research-summary{font-size:11px}.research-chart-head h2{font-size:12px}}

.research-source label{flex-direction:row}.research-bar-name strong{line-height:1.3}.research-rail{margin-top:6px}.research-amount small{display:block;font-size:9px;font-weight:400;color:var(--muted);white-space:nowrap;margin-top:3px}.research-bar-row{padding:7px 0;min-height:40px}@media(min-width:1000px) and (max-height:850px){.research-bar-row{padding:4px 0;min-height:36px}.research-heading p{display:none}.research-heading{margin-bottom:10px}.research-source{padding:10px 14px;margin-bottom:12px}.research-source label{flex-direction:row}.research-controls label{gap:4px}.research-summary+.footnote{margin-bottom:10px}}@media(max-width:750px){.research-source label{flex-direction:column;align-items:start}.research-bar-row{min-height:44px}.research-amount small{font-size:9px}}

.research-product-tools{grid-template-columns:minmax(0,1fr) 100px 240px}@media(max-width:750px){.research-product-tools{grid-template-columns:1fr 1fr}.research-product-tools label:first-child{grid-column:1/-1}}

.research-source{flex-wrap:wrap}.research-source label{flex:1;min-width:220px}.research-source select{max-width:100%;width:100%}.research-categories input{max-width:260px}.research-categories select{max-width:100%;flex:1;min-width:180px}.research-extra .research-controls{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}@media(max-width:600px){.research-source label{min-width:0;width:100%;flex-basis:100%}.research-source>button{flex:1}.research-categories input,.research-categories select{width:100%;max-width:100%}}

/* Uniform action buttons in the research source panel */
.research-source{column-gap:12px;row-gap:12px}.research-source>.research-actions{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;flex:1 0 100%;width:100%;margin:0}.research-actions>button{width:100%;height:42px;min-height:42px;min-width:0;max-width:none;margin:0;padding:8px 10px;display:inline-flex;align-items:center;justify-content:center;text-align:center;white-space:normal;line-height:1.2;font-size:11px}.research-actions>#working-score-entry{order:1}.research-actions>#category-study-entry{order:2}.research-actions>#research-new{order:3}.research-actions>#score-selection-entry{order:4}.research-actions>#data-quality-entry{order:5}.research-actions>#research-refresh{order:6}.research-actions>#research-import{order:7}@media(max-width:1100px){.research-source>.research-actions{grid-template-columns:repeat(auto-fit,minmax(145px,1fr))}}@media(max-width:600px){.research-source>.research-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.research-actions>button{height:auto;min-height:44px}}
