/* Calendar screen (mockup 10) */
.cx .bar { display:flex; align-items:center; gap:10px; padding:10px 16px; border-bottom:1px solid #eef1f5; }
.cx .wtitle { font-size:15px; font-weight:700; min-width:190px; }
.cx .quick { flex:1; display:flex; align-items:center; gap:4px; border:1px solid #d9e0ea; border-radius:10px; padding:0 4px 0 10px; background:#f8fafc; min-width:0; }
.cx .quick:focus-within { border-color:#4a9ee8; background:#fff; }
.cx .quick .hl-wrap { flex:1; min-width:0; }
.cx .cal { flex:1; min-height:0; display:flex; flex-direction:column; position:relative; }
.cx .heads { display:grid; grid-template-columns:44px repeat(7,minmax(0,1fr)); border-bottom:1px solid #eef1f5; padding-right:8px; }
.cx .heads div { text-align:center; padding:6px 0; font-size:11px; color:#5b6878; }
.cx .heads b { display:block; font-size:16px; color:#1d2633; font-weight:600; }
.cx .heads .today b { background:#4a9ee8; color:#fff; border-radius:50%; width:28px; height:28px; line-height:28px; margin:2px auto 0; }
.cx .scroll { flex:1; overflow-y:auto; position:relative; }
.cx .grid { display:grid; grid-template-columns:44px repeat(7,minmax(0,1fr)); position:relative; touch-action:pan-y pinch-zoom; }
.cx .hours { position:relative; }
.cx .hours span { position:absolute; right:6px; font-size:10px; color:#a3adba; transform:translateY(-50%); }
.cx .daycol { position:relative; border-left:1px solid #eef1f5; cursor:default; background-image:linear-gradient(to bottom,#f1f4f8 1px,transparent 1px); }
.cx .daycol.past { background-color:#fafbfc; }
.cx .now { position:absolute; left:-1px; right:0; border-top:2px solid #2b7de9; z-index:6; pointer-events:none; }
.cx .now:before { content:""; position:absolute; left:-5px; top:-6px; width:10px; height:10px; border-radius:50%; background:#2b7de9; }
.cx .blk { position:absolute; border-radius:6px; padding:3px 5px; font-size:11px; line-height:1.25; overflow:hidden; box-sizing:border-box; border-left:3px solid rgba(0,0,0,.25); color:#1d2633; cursor:pointer; z-index:3; box-shadow:0 1px 2px rgba(0,0,0,.06); display:flex; gap:4px; align-items:flex-start; user-select:none; }
.cx .blk:hover { box-shadow:0 2px 8px rgba(0,0,0,.15); z-index:4; }
.cx .blk .tt { font-weight:600; flex:1; min-width:0; overflow-wrap:break-word; hyphens:auto; }
.cx .blk.narrow { flex-wrap:wrap; row-gap:2px; padding:3px 3px 3px 4px; font-size:10.5px; }
.cx .blk.narrow .tt { order:3; flex-basis:100%; }
.cx .blk.narrow .lk { margin-left:auto; }
.cx .blk.narrow.short .tt { order:0; flex-basis:auto; }
.cx .blk.short .tt { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cx .blk .lk { flex-shrink:0; margin-top:1px; color:rgba(29,38,51,.7); }
.cx .blk .rz { position:absolute; left:0; right:0; bottom:0; height:7px; cursor:ns-resize; }
.cx .blk.past { opacity:.72; }
.cx .blk.done { opacity:.62; }
.cx .blk.done .tt { text-decoration:line-through; text-decoration-color:rgba(29,38,51,.6); }
.cx .blk.tbd { opacity:.4; pointer-events:none; }
.cx .blk.tbd .tt { text-decoration:line-through; }
.cx .blk.dragging { opacity:.9; box-shadow:0 10px 24px rgba(0,0,0,.28); z-index:20; cursor:grabbing; transition:none !important; }
.cx .blk.moved { animation:cxpulse 1.4s ease-out 1; }
.cx .blk.appear { animation:cxin .5s ease-out 1; }
@keyframes cxpulse { 0% { box-shadow:0 0 0 3px rgba(74,158,232,.9); } 100% { box-shadow:0 0 0 3px rgba(74,158,232,0); } }
@keyframes cxin { from { opacity:0; transform:scale(.92); } to { opacity:1; transform:none; } }
.cx .dlabel { position:absolute; z-index:45; background:#1d2633; color:#fff; font-size:11px; border-radius:6px; padding:3px 8px; pointer-events:none; display:none; white-space:nowrap; }
.cx .quick .hl-mirror, .cx .quick .hl-in { font-size:13px; padding:6px 2px; }
.cx .blk .rp { flex-shrink:0; margin-top:1px; color:rgba(29,38,51,.7); }
.cx .blk.narrow .rp { margin-left:auto; } .cx .blk.narrow .rp + .lk { margin-left:0; }
.cx.grabbing, .cx.grabbing * { cursor:grabbing !important; }
.cx.resizing, .cx.resizing *, .cx.creating, .cx.creating * { cursor:ns-resize !important; user-select:none; }
.cx .blk.ghost { background:#4a9ee8; color:#fff; border-left-color:#1d6fb8; box-shadow:0 6px 16px rgba(30,60,110,.28); z-index:7; pointer-events:none; }
.cx .blk.ghost .tt { color:#fff; }
.cx .blk.ghost .gt { display:block; font-weight:500; opacity:.9; }
.cx .overlay.light { background:rgba(15,25,40,.08); }
.cx .blk.narrow.short { flex-wrap:nowrap; }
.cx .blk.narrow.short .rp, .cx .blk.narrow.short .lk { display:none; }
.cx .blk.tiny { padding:0 4px; font-size:9.5px; line-height:1; align-items:center; gap:3px; flex-wrap:nowrap; }
.cx .blk.tiny .tt { order:0; flex-basis:auto; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cx .blk.tiny .rp, .cx .blk.tiny .lk { display:none; }
.cx .blk.tiny .rz { height:4px; }
