/* Compact draft index; consent, source links and draft actions are unchanged. */
.admin-imports:has(>.admin-draft-list)>p{font-size:13px;line-height:1.6;margin:0 0 12px;color:var(--muted)}
.admin-imports:has(>.admin-draft-list)>details:not([open]){display:inline-block;margin:0 10px 10px 0;vertical-align:middle}
.admin-imports:has(>.admin-draft-list)>details>summary{display:inline-flex;align-items:center;min-height:38px;padding:8px 12px;border:1px solid var(--border);border-radius:9px;background:var(--white);font-size:13px;font-weight:600;cursor:pointer}
.admin-imports:has(>.admin-draft-list)>details[open]{margin:0 0 12px}
.admin-imports:has(>.admin-draft-list)>.import-file{display:inline-flex;align-items:center;flex-wrap:wrap;gap:8px;max-width:100%;margin:0 0 10px;padding:7px 10px;border:1px solid var(--border);border-radius:9px;background:#f7faf8;font-size:12px}
.admin-imports:has(>.admin-draft-list)>.import-file input{font-size:12px;max-width:240px;min-width:0;padding:3px;border:0;background:transparent}
.admin-draft-list{border:1px solid var(--border);border-radius:12px;overflow:hidden}
.admin-draft-list:empty{display:none}
.admin-draft-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 16px;align-items:center;margin:0;padding:14px 16px;border:0;border-bottom:1px solid var(--border);min-width:0;background:var(--white)}
.admin-draft-list>article:last-child{border-bottom:0}
.admin-draft-list>article:nth-child(even){background:#f5f9f6}
.admin-draft-list>article>h3{grid-column:1;grid-row:1;margin:0;font-size:15px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.admin-draft-list>article>p{grid-column:1;grid-row:2;margin:0;font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere}
.admin-draft-list>article>.admin-draft-preview:not([open]){grid-column:2;grid-row:1;justify-self:end;border:0;background:transparent;margin:0;padding:0;min-width:0}
.admin-draft-list>article>.admin-draft-preview>summary{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:7px 10px;border:1px solid #b9d2c2;border-radius:8px;color:var(--green);background:var(--white);font-size:12px;font-weight:600;line-height:1.5;cursor:pointer}
.admin-draft-list>article>.admin-draft-preview>summary svg{width:16px;height:16px;flex-shrink:0}
.admin-draft-list>article>.form-actions{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;margin:0;padding:0}
.admin-draft-list>article>.form-actions>a,.admin-draft-list>article>.form-actions>button,.admin-draft-list>article>button{display:inline-flex;align-items:center;justify-content:center;min-height:36px;width:auto;max-width:100%;padding:7px 10px;border:1px solid var(--border);border-radius:8px;background:var(--white);font:inherit;font-size:12px;line-height:1.5;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.admin-draft-list>article>.form-actions>a:hover,.admin-draft-list>article>.form-actions>button:hover{background:#eaf4ee;border-color:#8eb39e}
.admin-draft-list>article>.admin-draft-preview[open]{grid-column:1/-1;grid-row:3;margin:8px 0 0;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--white);min-width:0}
.admin-draft-list>article>label{grid-column:1/-1;min-width:0;margin-top:6px;font-size:12px}
.admin-draft-list>article>button{justify-self:start}
.admin-imports:has(>.admin-draft-list)>.form-actions{justify-content:flex-end;gap:8px;margin:12px 0 0}
.admin-imports:has(>.admin-draft-list)>.form-actions button{font-size:13px;min-height:38px;padding:8px 14px}
html[data-theme=dark] .admin-draft-list>article:nth-child(even),html[data-theme=dark] .admin-imports:has(>.admin-draft-list)>.import-file{background:#23372c}
@media(max-width:1050px){
 .admin-draft-list>article{grid-template-columns:auto minmax(0,1fr);gap:6px 10px;padding:12px}
 .admin-draft-list>article>h3{grid-column:1/-1;grid-row:1}
 .admin-draft-list>article>p{grid-column:1/-1;grid-row:2}
 .admin-draft-list>article>.admin-draft-preview:not([open]){grid-column:1;grid-row:3;justify-self:start}
 .admin-draft-list>article>.form-actions{grid-column:2;grid-row:3;justify-content:flex-end}
 .admin-draft-list>article>.admin-draft-preview[open]{grid-row:4}
}
@media(max-width:600px){
 .admin-draft-list>article{grid-template-columns:minmax(0,1fr);padding:12px;gap:7px}
 .admin-draft-list>article>h3{font-size:14px}
 .admin-draft-list>article>.admin-draft-preview:not([open]){grid-column:1;grid-row:3}
 .admin-draft-list>article>.form-actions{grid-column:1;grid-row:4;justify-content:flex-start}
 .admin-draft-list>article>.admin-draft-preview[open]{grid-row:5}
 .admin-draft-list>article>.form-actions>a,.admin-draft-list>article>.form-actions>button,.admin-draft-list>article>.admin-draft-preview>summary{min-height:40px}
 .admin-imports:has(>.admin-draft-list)>.import-file{display:flex;width:100%}
}

/* Readable compact reports, scoped to the two admin report pages. */
.admin-content-insights{min-width:0}
.admin-content-insights>p,.admin-content-insights .admin-search-insights>p{font-size:13px;line-height:1.7;margin:0 0 12px;color:var(--muted)}
.admin-content-insights>.button{min-height:36px;font-size:13px;padding:7px 12px;margin-bottom:12px}
.admin-content-insights h3{font-size:16px;margin:14px 0 10px}
.admin-content-insights table{width:100%;min-width:610px;border-spacing:0;border-collapse:separate;table-layout:fixed;border:1px solid var(--border);border-radius:10px;overflow:hidden;font-size:13px;line-height:1.6}
.admin-content-insights th,.admin-content-insights td{padding:9px 12px;border:0;border-bottom:1px solid var(--border);vertical-align:middle;text-align:left;overflow-wrap:anywhere}
.admin-content-insights thead th{background:#eaf2ec;color:#234b3f;font-size:12px;font-weight:650}
.admin-content-insights th:first-child{width:44%}
.admin-content-insights th:nth-child(2){width:14%}
.admin-content-insights th:nth-child(n+3),.admin-content-insights td:nth-child(n+3){text-align:right;font-variant-numeric:tabular-nums}
.admin-content-insights tbody tr:nth-child(odd){background:var(--white)}
.admin-content-insights tbody tr:nth-child(even){background:#f3f7f4}
.admin-content-insights tbody tr:hover{background:#e6f1e9}
.admin-content-insights tbody tr:last-child td{border-bottom:0}
.admin-content-insights td:first-child{font-weight:550}
.admin-content-insights td:nth-child(2){font-size:12px;color:var(--muted)}
.admin-content-insights[data-report=search] th:first-child{width:38%}
.admin-content-insights[data-report=search] th:nth-child(2){width:14%}
.admin-content-insights[data-report=search] th:nth-child(3){width:18%}
.admin-content-insights[data-report=search] th:nth-child(4){width:30%}
.admin-content-insights[data-report=search] td:nth-child(2){text-align:right;color:inherit;font-size:13px;font-variant-numeric:tabular-nums}
.admin-content-insights>ul{padding:0;list-style:none;margin:8px 0}
.admin-content-insights>ul>li{padding:9px 12px;border-bottom:1px solid var(--border);font-size:12px;line-height:1.65;overflow-wrap:anywhere}
.admin-content-insights>ul>li:nth-child(even){background:#f3f7f4}
html[data-theme=dark] .admin-content-insights thead th{background:#294333;color:#d5eadc}
html[data-theme=dark] .admin-content-insights tbody tr:nth-child(even),html[data-theme=dark] .admin-content-insights>ul>li:nth-child(even){background:#243a2d}
html[data-theme=dark] .admin-content-insights tbody tr:hover{background:#304e3b}
@media(max-width:600px){.admin-content-insights th,.admin-content-insights td{padding:8px 10px}}
