.chleo-research {max-width:1250px}
.chleo-research-panel {background:#fff;border:1px solid #deded9;border-radius:10px;padding:22px 24px;margin:20px 0;box-shadow:0 1px 3px #00000009}
.chleo-research-panel h2{margin-top:0;font-size:20px}
.chleo-research-panel summary{cursor:pointer;padding:10px 0;color:#4c6652}
.chleo-research-panel .widefat{margin:12px 0}
.chleo-research-copytext {background:#f7f8f4!important;color:#323d31!important;border:1px solid #cdd8cb!important;border-radius:5px}
.chleo-research-ideas{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(440px,100%),1fr))}
.chleo-idea{background:#fafaf7;border:1px solid #e3e6df;border-radius:9px;padding:18px;display:flex;flex-direction:column;gap:5px}
.chleo-idea p{margin:5px 0;line-height:1.5}
.chleo-idea-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.chleo-idea-head h3{flex-basis:100%;margin:5px 0;font-size:18px;line-height:1.35}
.chleo-priority{color:#637967;font-size:12px;letter-spacing:.04em;font-weight:700}
.chleo-state{display:inline-block;border:1px solid #c9d2c9;border-radius:100px;padding:3px 10px;font-size:12px;background:#f4f7f2}
.chleo-state.good{background:#e4f3e3;border-color:#b4d8b4}
.chleo-state.warn{background:#fff2d9;border-color:#f0d6a5}
.chleo-idea-actions{margin-top:auto;padding-top:15px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.chleo-idea-actions form{display:flex;gap:7px;align-items:center;flex:1;flex-wrap:wrap}
.chleo-idea-actions .regular-text{max-width:300px;flex:1;min-width:160px}
.chleo-idea details{margin:8px 0}
.chleo-idea li{overflow-wrap:anywhere;padding-bottom:8px}
.chleo-similar{background:#fff4de;padding:10px 12px;border-radius:6px}
.chleo-research-article-tools{max-width:950px}
.chleo-research-article-tools h3{border-top:1px solid #e0e6dd;padding-top:16px;margin-top:19px}
.chleo-res-image-row{border-bottom:1px solid #ddd;padding:10px 0}
.chleo-res-image-row summary{cursor:pointer}
.chleo-res-image-row textarea{margin-top:10px}
.chleo-res-article-import-status,.chleo-res-image-status{color:#546f58;font-weight:600}
.chleo-research-article .chleo-res-figure{margin:25px auto 32px;max-width:100%;text-align:center}
.chleo-research-article .chleo-res-article-image{width:100%;height:auto;max-height:640px;object-fit:contain;border-radius:4px}
.chleo-research-article .chleo-res-image-section:has(.chleo-res-figure){margin-top:18px;margin-bottom:24px}
.chleo-research-article .chleo-res-image-section:not(:has(.chleo-res-figure)){padding:0!important;min-height:0!important}
@media(max-width:782px){.chleo-research-panel{padding:16px}.chleo-research-ideas{grid-template-columns:1fr}}

.chleo-res-json-preview{margin:12px 0;padding:14px 16px;background:#f0f6ef;border:1px solid #c4d7c3;border-radius:7px;color:#253f2b}
.chleo-res-json-preview.has-error{background:#fff3ef;border-color:#dcb8ac;color:#813a2b}
.chleo-res-json-preview ol{margin:9px 0 0 23px;columns:1}
.chleo-res-json-preview li{margin:4px 0;line-height:1.45}

.chleo-res-howto{background:#faf9f3;border:1px solid #e5dcc6;border-radius:8px;padding:15px 18px;margin:16px 0 22px}
.chleo-res-howto ol{margin:10px 0 0 22px}
.chleo-res-howto li{margin:8px 0;line-height:1.5}
.chleo-res-imported{background:#e7f3e5;border-left:4px solid #538357;padding:12px 14px;margin:12px 0}
#chleo-research-results{scroll-margin-top:55px}

/* Version 0.5.2: product-level article-research dashboard. */
.chleo-research {max-width:1480px}
.chleo-res-dashboard{margin-top:20px}
.chleo-res-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:18px 0}
.chleo-res-summary-item{background:#fff;border:1px solid #dddcd5;border-radius:9px;padding:15px 16px;min-height:72px;display:flex;flex-direction:column;justify-content:center;gap:5px}
.chleo-res-summary-item strong{font-size:25px;line-height:1.1;color:#34493a}
.chleo-res-summary-item span{font-size:12px;color:#526255;line-height:1.3}
.chleo-res-dashboard-toolbar{display:flex;align-items:center;gap:12px;margin:22px 0 14px;flex-wrap:wrap}
.chleo-res-dashboard-toolbar input{width:340px;max-width:100%;min-height:36px}
.chleo-res-coverage-note{line-height:2.3!important;margin:10px 0 24px!important;max-width:1200px}
.chleo-res-coverage-tag{display:inline-block;padding:6px 11px;border-radius:6px;font-size:12px;font-weight:700;border:1px solid transparent;white-space:nowrap}
.chleo-res-coverage-tag.coverage-red{color:#852e2e;background:#fbeaea;border-color:#e8b9b9}
.chleo-res-coverage-tag.coverage-yellow{color:#85571a;background:#fff3de;border-color:#e8d1a4}
.chleo-res-coverage-tag.coverage-green{color:#235a38;background:#e7f4e8;border-color:#b5d6bd}
.chleo-res-group{margin:20px 0 28px}
.chleo-res-group-head{display:flex;align-items:baseline;gap:13px;flex-wrap:wrap}
.chleo-res-group-head h2{margin-bottom:5px}
.chleo-res-group-total{color:#607267;font-size:13px}
.chleo-res-table-wrap{overflow-x:auto;margin-top:10px}
.chleo-res-overview-table{border-collapse:collapse;min-width:740px;margin:0!important}
.chleo-res-overview-table th{font-weight:650;padding:11px 12px;background:#f8faf7}
.chleo-res-overview-table td{padding:11px 12px;vertical-align:middle}
.chleo-res-overview-table th:first-child{width:33%}
.chleo-res-overview-table th:nth-child(2),.chleo-res-overview-table th:nth-child(3){width:18%}
.chleo-res-overview-table th:nth-child(4){width:17%}
.chleo-res-product-name a{color:#274e3e;font-weight:650;text-decoration:none}
.chleo-res-product-name a:hover{text-decoration:underline}
.chleo-res-numeric{display:block;font-size:17px;font-weight:700;line-height:1.4}
.chleo-res-secondary{display:block;color:#65736a;font-size:12px;white-space:normal}
.chleo-res-overview-row .button{white-space:nowrap}
.chleo-res-empty-search{color:#65736a;font-style:italic}
@media(max-width:1100px){.chleo-res-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.chleo-res-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.chleo-res-group{padding:14px}.chleo-res-dashboard-toolbar input{width:100%}}

.chleo-res-overview-row[hidden]{display:none!important}

/* Readable, copyable image metadata; reference gallery intentionally removed. */
.chleo-res-title-label{margin:12px 0 4px}
.chleo-res-title-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0 10px}
.chleo-res-title-controls .chleo-res-img-title{flex:1 1 350px;max-width:100%;background:#f7f8f4!important;color:#323d31!important;border:1px solid #cdd8cb!important;border-radius:5px}
