.ciThumb{position:relative;display:block;margin:5px;width:64px;height:45px;padding:0;background:#102331;border:1px solid #b39c68;border-radius:5px;z-index:2}.ciThumb img{width:100%;height:100%;object-fit:cover;border-radius:4px;transition:transform .16s}.ciThumb:hover,.ciThumb:focus-visible{z-index:12}.ciThumb:hover img,.ciThumb:focus-visible img{transform:scale(1.65);box-shadow:0 5px 20px #000}.ciThumb span{position:absolute;right:0;bottom:0;background:#08131edc;color:#fff;padding:0 3px;font-size:12px}.ciPanel{border-top:1px solid #344452;margin:18px 0;padding-top:16px}.ciPanel h3{color:#d8b46b}.ciPanel form{display:grid;gap:9px}.ciPanel input,.ciPanel select,.ciPanel button,.ciViewer button{background:#172b39;border:1px solid #506371;color:#e8ebee;border-radius:6px;padding:8px;max-width:100%;font:inherit}.ciItem{margin:12px 0;padding-bottom:12px;border-bottom:1px solid #344452}.ciItem>button:first-child{padding:0;width:100%}.ciItem img{display:block;width:100%;max-height:160px;object-fit:contain}.ciItem p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.ciItem small{display:block;color:#aabdc9;font-size:14px;margin:5px 0}.ciViewer{width:min(1100px,95vw);max-width:95vw;max-height:94vh;overflow:auto}.ciViewer>div{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.ciViewer img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}.ciViewer p{white-space:pre-wrap;overflow-wrap:anywhere}@media(prefers-reduced-motion:reduce){.ciThumb img{transition:none}}@media(max-width:650px){.ciThumb{width:40px;height:35px;margin:3px}.ciThumb:hover img{transform:none}}
/* The day button and screenshot share one cell surface, with separate click targets. */
.dayCell:has(.ciThumb){display:flex;flex-direction:column;border:1px solid #2c4150;border-radius:8px;background:#152736;min-width:0}
.dayCell:has(.ciThumb)>.day{height:auto;flex:1;border:0;border-radius:8px 8px 0 0;background:transparent;min-height:95px}
.dayCell:has(.ciThumb):has(.day.selected){border:2px solid #e1bd73;background:#233d4d}
.dayCell:has(.ciThumb):has(.day.weekend){background:#1a2937}
.dayCell:has(.ciThumb):has(.day.selected){background:#233d4d}
.dayCell.skipDay:has(.ciThumb){border-color:#77bcb5;background:#1b343d}
.dayCell:has(.ciThumb) .ciThumb{width:calc(100% - 12px);max-width:112px;height:76px;margin:0 6px 7px;align-self:center;flex:none}
.dayCell:has(.ciThumb):hover{border-color:#d5b673}
@media(max-width:650px){.dayCell:has(.ciThumb)>.day{min-height:70px}.dayCell:has(.ciThumb) .ciThumb{width:calc(100% - 6px);height:56px;margin:0 3px 4px}}
