/* v0.4: shared equal-height modules, artwork types and activity drill-through. */
body[data-view="overview"] #modules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:22px;align-items:stretch}
body[data-view="overview"] .chart-grid,body[data-view="overview"] .bottom-grid{display:contents}
body[data-view="overview"] #modules-grid>.chart-grid>.panel,body[data-view="overview"] #tasks-panel{height:420px;display:flex;flex-direction:column;min-height:0;overflow:hidden}
body[data-view="overview"] #indexers,body[data-view="overview"] #tasks-panel .table-wrap{overflow:auto;min-height:0;flex:1;scrollbar-width:thin}
body[data-view="overview"] #modules-grid .panel-heading{flex-shrink:0;align-items:flex-start}
body[data-view="overview"] #modules-grid .panel-note{margin-top:12px;flex-shrink:0}
body[data-view="overview"] #trend{flex:1;min-height:0;display:flex;align-items:center}
body[data-view="overview"] #trend svg{height:100%;max-height:270px}
body[data-view="overview"] .side-panels{border:1px solid var(--line);border-radius:10px;background:var(--panel);gap:0;height:420px;grid-template-rows:1fr 1fr;overflow:hidden}
body[data-view="overview"] .side-panels>.panel{border:0;border-radius:0;padding:18px;overflow:auto;min-height:0}
body[data-view="overview"] #subtitle-panel{border-bottom:1px solid var(--line)}
body[data-view="overview"] .subtitle-metric{margin:12px 0;gap:15px}
body[data-view="overview"] .subtitle-metric strong{font-size:29px}
body[data-view="overview"] .subtitle-metric .ring{width:48px;height:48px;border-width:4px;font-size:15px}
body[data-view="overview"] #subtitle-panel .subtle{font-size:13px;margin-bottom:0}
body[data-view="overview"] #scan-panel p{margin:12px 0;font-size:14px}
body[data-view="overview"] #tasks-panel .search-row{flex-wrap:wrap;align-items:flex-start;flex-shrink:0}
body[data-view="overview"] #tasks-panel input{width:100%}
body[data-view="overview"] #tasks-panel .table-wrap table{min-width:535px}
body[data-view="overview"] #tasks-panel th{position:sticky;top:0;z-index:1}
@media(min-width:1800px){body[data-view="overview"] #modules-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) minmax(0,1.4fr) minmax(0,.85fr)}}
@media(max-width:1000px){body[data-view="overview"] #modules-grid{grid-template-columns:1fr}body[data-view="overview"] #tasks-panel{height:auto;max-height:500px}body[data-view="overview"] #trend-panel{height:350px}body[data-view="overview"] .side-panels{height:auto;grid-template-rows:auto auto}body[data-view="overview"] .side-panels>.panel{overflow:visible}body[data-view="overview"] #tasks-panel .table-wrap{max-height:350px}}
.event-poster{position:relative;width:100px;min-width:100px;height:150px;max-height:150px;overflow:hidden;border-radius:7px}
.art-kind,.media-kind{position:absolute;top:6px;left:6px;background:#13212fe8;color:#f0f6fb;border:1px solid #c4d4df55;border-radius:4px;padding:4px 6px;font-size:12px;line-height:1.3;z-index:2;white-space:nowrap}
.weekly-panel .media-kind,.day-detail-cards .media-kind{display:inline-block}
.media-poster{container-type:inline-size}
@container(max-width:140px){.poster-status{top:34px}}
.event-card{min-height:184px;align-items:flex-start}
.request-card{min-height:220px}
.release-date{color:#c4d7e2!important}
.activity-controls{position:relative}
.event-filter{position:relative}
.event-filter summary{list-style:none;display:flex;align-items:center;gap:7px;padding:9px 10px;background:#202a32;border:1px solid var(--line);border-radius:7px;font-size:14px;color:#c7d9e4;cursor:pointer}
.event-filter summary::-webkit-details-marker{display:none}
.event-filter summary svg{width:18px;height:18px}
.event-filter[open] summary{border-color:#7cc2a3;color:var(--mint)}
.event-filter fieldset{position:absolute;right:0;top:calc(100% + 9px);margin:0;min-width:205px;padding:18px;border:1px solid #456254;background:#1c2a30;border-radius:10px;z-index:20;box-shadow:0 15px 40px #0007;display:grid;gap:14px}
.event-filter legend{font-size:13px;color:#a9c4d2;padding:0 6px}
.event-filter fieldset label{font-size:14px;display:flex;gap:10px;align-items:center;white-space:nowrap}
.event-filter input{width:16px;height:16px;margin:0;accent-color:var(--mint)}
.more-activity{border:1px dashed #597e6d;background:linear-gradient(135deg,#20382e66,#18252a);border-radius:9px;color:#d5eee3;min-height:184px;padding:22px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;cursor:pointer;font:inherit}
.more-activity>span{font-size:38px;color:var(--mint)}
.more-activity>strong{font-size:17px}
.more-activity>small{font-size:14px;color:#a3bcba}
.more-activity:hover{background:#294638;border-color:var(--mint)}
@media(max-width:760px){.event-poster{width:76px;min-width:76px;height:114px;max-height:114px}.event-card{min-height:155px}.request-card{min-height:230px}.art-kind{font-size:11px;padding:3px 4px;left:4px;top:4px}.activity-controls{gap:8px}.event-filter summary{font-size:13px;padding:8px}.event-filter fieldset{right:auto;left:0}.more-activity{min-height:145px}body[data-view="overview"] #modules-grid .panel-heading{flex-wrap:wrap}}

.activity-pagination{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:18px;margin-top:14px;font-size:14px;color:#afc3cc}
