/* v0.3 shared sizing: compact summary, poster overlays, readable activity. */
.summary-row{display:grid;grid-template-columns:minmax(300px,.95fr) minmax(0,1.55fr);gap:18px;margin-bottom:22px;align-items:stretch}.summary-row.service-only{grid-template-columns:1fr}.summary-row>.panel{padding:20px}.summary-title{font-size:15px;margin:0 0 16px;color:#c3d4dd}.service-strip{display:flex;flex-wrap:wrap;gap:10px;padding:0;margin:0;border:0;background:transparent;border-radius:0}.service-chip{display:inline-flex;align-items:center;gap:9px;border:1px solid #41665b;background:#29473c88;color:#d0e8de;border-radius:8px;padding:9px 11px;text-decoration:none;font-size:14px;min-height:38px}.service-chip .dot{margin:0;background:#7ae7be;flex-shrink:0}.service-chip small{font-size:14px;color:#b5d1c5;margin-left:2px}.service-chip.error{background:#58452866;border-color:#806441;color:#edcf9f}.service-chip.error .dot{background:#e9bb6d}.service-chip.off{background:#303b4555;border-color:#46515c;color:#9babb6}.service-chip.off .dot{background:#7b8d9a}.service-chip:hover{filter:brightness(1.15)}.metrics{margin:0;gap:0;height:calc(100% - 35px)}.metric{background:transparent;border:0;border-radius:0;padding:0 18px;border-right:1px solid var(--line);min-width:0;overflow:visible}.metric:first-child{padding-left:0}.metric:last-child{border-right:0;padding-right:0}.metric-label{font-size:14px}.metric strong{font-size:30px;margin:12px 0}.metric small{font-size:14px;line-height:1.7;display:block}.metric svg{display:none}.weekly-panel .media-card{width:clamp(102px,calc((100vw - 500px)/10.5),154px);max-width:100%;margin:0}.day-cards{display:grid;grid-template-columns:repeat(auto-fill,clamp(102px,calc((100vw - 500px)/10.5),154px));gap:14px 12px;align-items:start}.media-poster{aspect-ratio:2/3;max-height:none}.poster-caption{position:absolute;inset:auto 0 0;padding:24px 10px 10px;background:linear-gradient(0deg,rgba(229,239,234,.96),rgba(222,235,228,.88) 68%,rgba(226,238,232,0));color:#18352c;min-height:70px;z-index:1}.poster-caption strong{font-size:15px;line-height:1.45;font-weight:750;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 1px #ffffff77}.poster-caption small{display:block;font-size:13px;font-weight:600;color:#345348;margin-top:4px}.poster-status{position:absolute;top:7px;right:6px;border:1px solid #9dafb699;background:#23353ce8;color:#e2eef2;border-radius:5px;padding:4px 6px;font-size:12px;line-height:1.3;max-width:calc(100% - 12px);z-index:2;box-shadow:0 2px 8px #0003}.poster-status.available{background:#244f3eea;color:#bdffdd;border-color:#5c9a77}.poster-status.downloading{background:#253d66ed;color:#c3dcff;border-color:#6585ae}.poster-status.requested{background:#4a3d66ef;color:#eadbff;border-color:#8e7ba6}.poster-status.warning{background:#65452be8;color:#ffe0b1;border-color:#bd9054}.weekly-panel .media-kind,.day-detail-cards .media-kind{display:none}.poster-open{bottom:8px;right:8px;z-index:3;width:22px;height:22px;font-size:15px;background:#184936;color:#d0ffe7}.media-card:hover .poster-caption{background:linear-gradient(0deg,#e1f3e9,#d6ede1df 70%,transparent)}.day-label{font-size:14px}.day-label strong{font-size:15px}.day-label i{font-size:12px}.day-empty{height:56px;font-size:14px}.weekly-content{margin-top:16px}.day-detail-cards{grid-template-columns:repeat(auto-fill,154px)}.activity-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.activity-controls select{font-size:14px}.activity-controls .tabs button{font-size:14px;padding:9px 12px}#requests-count{margin-left:4px;font-size:13px;color:#c8e9db}#activity-note{font-size:14px;margin:-3px 0 20px}#events{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px}.event-card{padding:16px;gap:16px;min-height:154px}.event-poster{width:76px;min-width:76px;height:114px;max-height:114px;aspect-ratio:2/3}.event-meta{font-size:14px;align-items:flex-start}.event-meta small{font-size:14px;line-height:1.5;white-space:nowrap}.event-type{font-size:15px;line-height:1.5}.event-content h3{font-size:18px;line-height:1.5;margin:12px 0 8px;padding-right:5px}.event-content p{font-size:15px;line-height:1.6;margin:5px 0}.event-reason{padding-right:15px}.event-content .external{font-size:19px;bottom:1px}.request-type{color:#d4bef2}.request-card{border-color:#51445c}.event-content{padding-bottom:12px}.subtle,.panel-note{font-size:14px}.calendar-item{font-size:14px}.calendar-item small{font-size:13px}.tabs button{font-size:14px}.calendar-date{font-size:15px}.legend{font-size:13px}.event-poster .poster-placeholder.small strong{font-size:13px}.poster-placeholder strong{font-size:15px;letter-spacing:1px}.poster-placeholder span{font-size:26px}.header-controls small{font-size:14px}.scan-card .subtle{font-size:14px}
@media(min-width:2000px){#events{grid-template-columns:repeat(auto-fill,minmax(400px,1fr))}.day-cards{grid-template-columns:repeat(auto-fill,154px)}.weekly-panel .day-group .media-card{max-width:154px}.event-content h3{font-size:19px}}
@media(max-width:1250px){.summary-row{grid-template-columns:1fr}.metric{padding:0 16px}.metrics{min-height:120px}.service-chip{font-size:14px}.summary-row>.panel{padding:18px}}
@media(max-width:760px){.summary-row{gap:12px}.metrics{height:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.metric{padding:0 12px!important;border:0}.metric:nth-child(odd){padding-left:0!important}.metric strong{font-size:28px}.metric small{font-size:14px}.week-days{min-width:1050px}.day-cards{grid-template-columns:repeat(auto-fill,102px)}.weekly-panel .media-card{width:102px}.poster-caption{padding:22px 7px 8px}.poster-caption strong{font-size:14px}.poster-caption small{font-size:12px}.poster-status{font-size:12px;padding:4px 5px}.activity-controls{gap:10px}.activity-controls .tabs button{padding:8px;font-size:14px}.event-card{padding:14px;gap:12px}.event-poster{width:65px;min-width:65px;height:98px}.event-content h3{font-size:17px}.event-content p{font-size:14px}.event-meta{gap:6px}.event-meta small{font-size:13px}.event-type{font-size:14px}#events{grid-template-columns:1fr}.calendar-item small{font-size:12px}.calendar-date{font-size:14px}.service-chip{padding:8px 10px}.header-controls{max-width:190px}.legend{font-size:12px}}

.media-card .poster-placeholder strong{display:none}

@media(max-width:760px){header{flex-direction:column;align-items:stretch;gap:16px}.header-controls{width:100%;max-width:none;justify-content:flex-start}.header-controls small{text-align:left}header p{line-height:1.8}}
