.daily-hint { flex:none; padding:4px 16px; background:#f8fafc; color:#64748b; font-size:11px; border-bottom:1px solid #e2e8f0; }
button.day-cell { position:relative; padding:0; border-radius:0; background:transparent; cursor:pointer; }
button.day-cell:hover { background:#dbeafe; color:#1d4ed8; }
button.day-cell:focus-visible { outline:2px solid #2563eb; outline-offset:-2px; }
button.day-cell.today { background:#eff6ff; }
button.day-cell.report-selected { background:#2563eb; color:#fff; font-weight:700; }
.daily-dot { position:absolute; top:2px; right:2px; width:4px; height:4px; background:#2563eb; border-radius:50%; }
.report-selected .daily-dot { background:#fff; }
.day-bg.report-day { background:rgba(37,99,235,.07); box-shadow:inset 1px 0 #93c5fd,inset -1px 0 #93c5fd; }
.daily-toolbar { flex:none; display:flex; flex-wrap:wrap; align-items:center; gap:8px 14px; padding:8px 16px; background:#eff6ff; border-bottom:1px solid #bfdbfe; font-size:12px; }
.daily-toolbar[hidden],.daily-report[hidden] { display:none; }
.daily-toolbar label { display:inline-flex; align-items:center; gap:6px; white-space:nowrap; }
.daily-toolbar input[type="date"],.daily-toolbar select { min-height:34px; border:1px solid #bfdbfe; border-radius:6px; padding:4px 7px; background:#fff; }
.daily-toolbar button { min-height:34px; font-size:12px; white-space:nowrap; }
.daily-toggle input { accent-color:#2563eb; }
.has-daily .task-cell { align-items:flex-start; padding-top:12px; }
.has-daily .task-main { align-self:flex-start; }
.daily-view-active .task-cell { z-index:8; }
.daily-bubble { position:absolute; top:44px; z-index:6; width:clamp(140px,calc(100vw - var(--task-col) - 12px),280px); overflow:auto; padding:10px 12px; border:1px solid #93c5fd; border-radius:10px; background:#fff; box-shadow:0 5px 16px #1d4ed818; color:#1e293b; cursor:default; font-size:12px; }
.daily-bubble:focus-visible { outline:2px solid #2563eb; }
.daily-bubble-head { display:flex; align-items:center; gap:7px; flex-wrap:wrap; padding-bottom:7px; border-bottom:1px solid #e2e8f0; color:#1d4ed8; font-size:11px; }
.daily-bubble-head strong { font-variant-numeric:tabular-nums; }
.daily-bubble-head>span { color:#64748b; }
.daily-bubble-head button { margin-left:auto; color:#2563eb; text-decoration:underline; }
.daily-entry { padding:9px 0 3px; }
.daily-entry+.daily-entry { margin-top:5px; border-top:1px dashed #e2e8f0; }
.daily-entry-tag { display:block; color:#1d4ed8; font-size:11px; font-weight:700; line-height:1.6; }
.daily-entry p { margin:4px 0; line-height:1.65; white-space:pre-wrap; overflow-wrap:anywhere; }
.daily-delay-entry .daily-entry-tag { color:#9a3412; }
.daily-entry small { color:#64748b; }
.daily-report { position:fixed; right:16px; top:var(--daily-top,180px); bottom:16px; z-index:35; display:flex; flex-direction:column; width:min(450px,calc(100vw - 32px)); min-height:180px; border:1px solid #93c5fd; border-radius:14px; background:#fff; box-shadow:0 14px 45px #0f172a30; overflow:hidden; }
.daily-report>header { flex:none; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; background:#eff6ff; border-bottom:1px solid #bfdbfe; cursor:move; touch-action:none; }
.daily-report>header strong { display:block; font-size:16px; }
.daily-report>header small { display:block; margin-top:4px; color:#64748b; font-size:11px; }
.daily-report>header button { flex:none; width:34px; height:34px; border-radius:6px; font-size:26px; line-height:1; }
.daily-report>header button:hover { background:#dbeafe; }
.daily-report-stats { flex:none; margin:0; padding:10px 16px; border-bottom:1px solid #e2e8f0; font-size:12px; color:#475569; line-height:1.6; }
.daily-report-body { flex:1; min-height:60px; overflow:auto; padding:0 16px 12px; }
.daily-project h3 { font-size:13px; color:#1d4ed8; padding-bottom:7px; border-bottom:1px solid #dbeafe; margin:16px 0 9px; }
.daily-task-card { margin:8px 0 12px; padding:11px 12px; border:1px solid #e2e8f0; border-radius:9px; background:#fff; font-size:12px; }
.daily-task-heading { display:flex; flex-direction:column; gap:5px; }
.daily-task-heading strong { font-size:13px; line-height:1.6; }
.daily-task-heading>span { color:#64748b; font-size:11px; }
.daily-report footer { flex:none; padding:10px 16px 12px; border-top:1px solid #e2e8f0; background:#f8fafc; }
.daily-report footer button { min-height:34px; margin-right:7px; font-size:12px; }
.daily-report-note,#dailyCopyStatus { color:#64748b; font-size:11px; line-height:1.65; margin:7px 0 0; }
#dailyCopyStatus { color:#1d4ed8; }
#dailyCopyFallback { width:100%; height:90px; margin-top:8px; padding:8px; border:1px solid #bfdbfe; border-radius:6px; font-size:12px; }
.daily-empty { padding:28px 0; text-align:center; color:#64748b; line-height:1.8; }
.daily-empty p { font-size:12px; }
@media(max-width:999px) {
 .daily-report { top:auto; bottom:12px; right:12px; max-height:55dvh; width:min(450px,calc(100vw - 24px)); }
 .daily-report>header small { display:none; }
 .daily-toolbar { padding:7px 10px; gap:7px 10px; }
 .daily-toolbar input[type="date"],.daily-toolbar select { font-size:16px; }
 .daily-hint { padding:4px 10px; }
 .daily-report>header { padding:10px 12px; }
 .daily-report-stats,.daily-report footer { padding:8px 12px; }
 .daily-report-body { padding:0 12px 8px; }
 .daily-bubble { padding:8px; }
}
