/* ============================================================
   EFFORT HISTORY v3 (2026-10-22) — My journal (KPIs, month heatmap,
   timeline) · Team day (Submitted / Working / Not in board) · Team
   matrix (staff × 14 days + day-log panel). Full-bleed hero shared.
   Scoped to .eff-page (root also keeps .efforts-page for the global
   table-cell wrap rule in components.css). Date-strip base styles stay
   in components.css and are only re-toned here.
   ============================================================ */
.eff-page {
  --eff-ink: #0B1F17; --eff-ink-2: #2F3B36; --eff-muted: #61706A; --eff-faint: #98A39E;
  --eff-line: #E4E9E6; --eff-line-2: #EEF1EF; --eff-soft: #F1F4F2; --eff-em: #047857; --eff-em-2: #059669;
  --eff-violet: #7C3AED; --eff-radius: 16px;
  --eff-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 12px 32px -22px rgba(16, 24, 40, .28);
  position: relative; color: var(--eff-ink); min-width: 0;
}
.eff-page svg.lucide { width: 15px; height: 15px; flex: 0 0 auto; }
.eff-page [hidden] { display: none !important; }

/* ── Band ── */
.eff-page .eff-hero {
  --gl: max(var(--page-gutter, 24px), env(safe-area-inset-left, 0px));
  --gr: max(var(--page-gutter, 24px), env(safe-area-inset-right, 0px));
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  margin: calc(-1 * var(--page-gutter, 24px)) calc(-1 * var(--gr)) 0 calc(-1 * var(--gl));
  padding: 16px var(--gr) 60px var(--gl);
  border-bottom: 1px solid #D9E4DC;
  background:
    radial-gradient(520px 220px at 0% 0%, rgba(11, 143, 90, .17), transparent 68%),
    radial-gradient(420px 200px at 60% -20%, rgba(124, 58, 237, .10), transparent 70%),
    radial-gradient(520px 260px at 95% 0%, rgba(245, 158, 11, .12), transparent 66%),
    linear-gradient(112deg, #E3F3EA 0%, #EEF8F2 50%, #FBF6EC 100%);
}
.eff-page .eff-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(11, 143, 90, .16) 1px, transparent 1.3px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, transparent 92%); opacity: .55;
}
.eff-page .eff-hero::after {
  content: ""; position: absolute; right: -90px; top: -120px; z-index: -1; width: 360px; height: 360px;
  border: 44px solid rgba(11, 143, 90, .05); border-radius: 50%; pointer-events: none;
}
.eff-page .eff-hero > *, .eff-page > .eff-layout { width: 100%; max-width: 1480px; margin-left: auto; margin-right: auto; }
.eff-page > .eff-layout { position: relative; z-index: 1; margin-top: -44px; }
.eff-page .eff-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 24px; align-items: start; }
.eff-page .eff-hero-grid:has(> .eff-hero-side:empty) { grid-template-columns: minmax(0, 1fr); }
.eff-page .eff-hero-main { min-width: 0; }
.eff-page .eff-hero-side:empty { display: none; }
.eff-page .eff-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.eff-page .eff-ico { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #10B981, #047857); color: #fff; box-shadow: 0 10px 22px -14px rgba(4, 120, 87, .8); }
.eff-page .eff-ico svg { width: 21px; height: 21px; }
.eff-page .eff-intro { min-width: 0; }
.eff-page .eff-head h1 { margin: 0; font-size: 30px; letter-spacing: -.025em; line-height: 1.1; }
.eff-page .eff-head p { margin: 3px 0 0; color: var(--eff-muted); font-size: 13.5px; }
.eff-page .eff-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.eff-page .eff-acts .btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; min-height: 0; }
.eff-page .eff-cta { border: 1px solid #A7F3D0; background: #fff; color: var(--eff-em); text-decoration: none; }
.eff-page .eff-search { position: relative; display: flex; align-items: center; }
.eff-page .eff-search svg { position: absolute; z-index: 1; left: 11px; color: var(--eff-faint); pointer-events: none; }
.eff-page .eff-search input { width: 250px; height: 38px; min-height: 0; flex: none; padding: 0 12px 0 34px; border: 1px solid rgba(15, 23, 42, .1); border-radius: 10px; background: rgba(255, 255, 255, .85); font: inherit; font-size: 13px; color: var(--eff-ink); }
.eff-page .eff-search input:focus { outline: none; border-color: var(--eff-em-2); box-shadow: 0 0 0 3px rgba(5, 150, 105, .14); background: #fff; }
.eff-page .eff-tabs { display: inline-flex; gap: 2px; max-width: 100%; min-width: 0; padding: 3px; overflow-x: auto; border-radius: 10px; background: rgba(241, 244, 242, .92); scrollbar-width: none; }
.eff-page .eff-tabs::-webkit-scrollbar { display: none; }
.eff-page .eff-tabs button { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 6px; height: 32px; margin: 0; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--eff-muted); font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; }
.eff-page .eff-tabs button svg { width: 13px; height: 13px; }
.eff-page .eff-tabs button:hover { color: var(--eff-ink); }
.eff-page .eff-tabs button.is-on { background: #fff; color: var(--eff-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.eff-page .eff-tabs em { padding: 0 6px; border-radius: 999px; background: #E2E8F0; color: #475569; font-size: 10.5px; font-style: normal; font-weight: 750; }
.eff-page .eff-tabs em:empty { display: none; }
.eff-page .eff-tabs .is-on em { background: #D1FAE5; color: #047857; }

/* hero stats: KPI tiles (journal), day chips (team day), stat chips (matrix) */
.eff-page .eff-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 32px; }
.eff-page .eff-stats.is-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 160px)); }
.eff-page .eff-kpi { min-width: 0; padding: 10px 14px; border: 1px solid rgba(15, 23, 42, .07); border-radius: 14px; background: rgba(255, 255, 255, .86); }
.eff-page .eff-kpi-l { display: block; color: var(--eff-muted); font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eff-page .eff-kpi b { display: block; font-size: 22px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eff-page .eff-kpi.is-green b { color: #047857; }
.eff-page .eff-kpi.is-blue b { color: #1D4ED8; }
.eff-page .eff-kpi small { color: var(--eff-faint); font-size: 11px; }
.eff-page .eff-stat { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; background: var(--eff-soft); color: var(--eff-ink-2); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.eff-page .eff-stat b { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.eff-page .eff-stat svg { width: 14px; height: 14px; }
.eff-page .eff-stat.is-white { border: 1px solid rgba(15, 23, 42, .08); background: #fff; }
.eff-page .eff-stat.is-green { background: #D1FAE5; color: #047857; }
.eff-page .eff-stat.is-blue { background: #DBEAFE; color: #1D4ED8; }
.eff-page .eff-stat.is-amber { background: #FFEDD5; color: #C2410C; }
.eff-page .eff-stat.is-rose { background: #FFE4E8; color: #BE123C; }
.eff-page .eff-dchip { display: grid; place-items: center; min-width: 50px; padding: 5px 10px; border: 1px solid rgba(15, 23, 42, .07); border-radius: 12px; background: rgba(255, 255, 255, .86); color: var(--eff-ink); font: inherit; cursor: pointer; }
.eff-page .eff-dchip span { font-size: 10px; font-weight: 800; opacity: .75; }
.eff-page .eff-dchip b { font-size: 16px; line-height: 1.1; }
.eff-page .eff-dchip.is-today:not(.is-on) { border-color: #10B981; }
.eff-page .eff-dchip.is-on { border-color: #10B981; background: #10B981; color: #fff; }
.eff-page .eff-dchip:disabled { opacity: .45; cursor: default; }
.eff-page .eff-pick { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; min-height: 0; margin-left: 4px; padding: 0 12px; border: 1px solid #A7F3D0; background: #fff; color: var(--eff-em); font-size: 12.5px; cursor: pointer; }
.eff-page .eff-pick input { position: absolute; inset: auto 0 0 0; width: 100%; height: 1px; opacity: 0; pointer-events: none; }
.eff-page .eff-ib { display: inline-grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--eff-line); border-radius: 8px; background: #fff; color: var(--eff-ink-2); cursor: pointer; }
.eff-page .eff-ib:hover:not(:disabled) { background: var(--eff-soft); }
.eff-page .eff-ib:disabled { opacity: .4; cursor: default; }
.eff-page .eff-ib svg { width: 14px; height: 14px; }
.eff-page .eff-ib-lg { width: 30px; height: 44px; border-radius: 10px; background: rgba(255, 255, 255, .86); }

/* month heatmap */
.eff-page .eff-cal { padding: 14px 16px; border: 1px solid rgba(15, 23, 42, .07); border-radius: 14px; background: rgba(255, 255, 255, .9); box-shadow: 0 18px 40px -28px rgba(4, 47, 36, .5); }
.eff-page .eff-cal-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 14px; }
.eff-page .eff-cal-head span { display: flex; gap: 4px; }
.eff-page .eff-cal-head .eff-ib { width: 24px; height: 24px; }
.eff-page .eff-heat { display: grid; grid-template-columns: repeat(7, 24px); gap: 4px; }
.eff-page .eff-heat-dow { margin-bottom: 4px; }
.eff-page .eff-heat-dow span { color: var(--eff-faint); font-size: 10px; font-weight: 700; text-align: center; }
.eff-page .eff-heat > i, .eff-page .eff-heat > button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 6px; background: #E9EEF2; color: transparent; font: inherit; font-size: 9.5px; font-style: normal; font-weight: 700; }
.eff-page .eff-heat > button { cursor: pointer; }
.eff-page .eff-heat > button:hover { color: rgba(11, 31, 23, .7); }
.eff-page .eff-heat .is-blank { visibility: hidden; }
.eff-page .eff-heat .s, .eff-page .eff-legend .s { background: #10B981; }
.eff-page .eff-heat .r, .eff-page .eff-legend .r { background: #34D399; }
.eff-page .eff-heat .d, .eff-page .eff-legend .d { background: #FBBF24; }
.eff-page .eff-heat .m, .eff-page .eff-legend .m { background: #FECDD3; }
.eff-page .eff-heat .w { background: #F8FAFC; }
.eff-page .eff-heat .f, .eff-page .eff-heat .t0 { border: 1px dashed #E2E8F0; background: transparent; }
.eff-page .eff-heat .t0, .eff-page .eff-heat .is-sel { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #7C3AED; }
.eff-page .eff-legend { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; color: var(--eff-muted); font-size: 10.5px; }
.eff-page .eff-legend span { display: inline-flex; align-items: center; gap: 4px; }
.eff-page .eff-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; }

/* chips / avatars */
.eff-page .eff-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 999px; background: var(--eff-soft); color: var(--eff-ink-2); font-size: 11px; font-style: normal; font-weight: 700; white-space: nowrap; }
.eff-page .eff-chip svg { width: 11px; height: 11px; }
.eff-page .eff-chip.is-green { background: #D1FAE5; color: #047857; }
.eff-page .eff-chip.is-blue { background: #DBEAFE; color: #1D4ED8; }
.eff-page .eff-chip.is-amber { background: #FFEDD5; color: #C2410C; }
.eff-page .eff-chip.is-rose { background: #FFE4E8; color: #BE123C; }
.eff-page .eff-av { display: inline-grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; border: 2px solid #fff; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 800; }

/* ── Layout ── */
.eff-page .eff-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.eff-page[data-view="team"] .eff-layout { grid-template-columns: minmax(0, 1fr) 290px; }
.eff-page[data-view="matrix"] .eff-layout { grid-template-columns: minmax(0, 1fr) 340px; }
.eff-page .eff-main { min-width: 0; overflow: hidden; border: 1px solid var(--eff-line); border-radius: var(--eff-radius); background: #fff; box-shadow: var(--eff-shadow); }
.eff-page .eff-rail { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.eff-page .eff-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 14px; border-bottom: 1px solid var(--eff-line-2); }
.eff-page .eff-bar-title { font-size: 14px; }
.eff-page .eff-count { color: var(--eff-faint); font-size: 12px; font-weight: 600; white-space: nowrap; }
.eff-page .eff-count:empty { display: none; }
.eff-page .eff-bar-extra { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-left: auto; }
.eff-page .eff-bar-extra:empty { display: none; }
.eff-page .eff-bar-extra .eff-legend { margin: 0 0 0 8px; font-size: 11px; }
.eff-page .eff-bar-extra .eff-legend i { width: 10px; height: 10px; }
.eff-page .eff-seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--eff-soft); }
.eff-page .eff-seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--eff-muted); font: inherit; font-size: 12.5px; font-weight: 650; cursor: pointer; white-space: nowrap; }
.eff-page .eff-seg button.is-on { background: #fff; color: var(--eff-ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }

/* content area */
.eff-page #effort-tab-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; min-height: 120px; padding: 14px 14px 16px; }
.eff-page .effort-history-entry { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; }
.eff-page .eff-loading { margin: 0; padding: 18px 4px; color: var(--eff-faint); font-size: 13px; }
.eff-page .eff-err { display: grid; place-items: center; gap: 8px; padding: 30px 16px; border: 1px dashed #F0D9A8; border-radius: 12px; background: #FDFAF3; text-align: center; }
.eff-page .eff-err p { margin: 0; color: var(--eff-muted); font-size: 13px; }
.eff-page .eff-empty { display: grid; place-items: center; gap: 8px; padding: 34px 16px; border: 1px dashed #DCE3DF; border-radius: 12px; background: #fff; text-align: center; }
.eff-page .eff-empty-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--eff-soft); color: var(--eff-em); }
.eff-page .eff-empty-ic svg { width: 20px; height: 20px; }
.eff-page .eff-empty p { margin: 0; color: var(--eff-muted); font-size: 13px; }
.eff-page .eff-empty b { display: block; margin-bottom: 2px; color: var(--eff-ink); font-size: 13.5px; }
.eff-page .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* journal timeline */
.eff-page .eff-tl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 2px 2px 4px 58px; }
.eff-page .eff-tl::before { content: ""; position: absolute; left: 32px; top: 0; bottom: 0; width: 2px; background: linear-gradient(#A7F3D0, #E2E8F0); }
.eff-page .eff-entry { position: relative; margin: 0; padding: 14px 16px; border: 1px solid var(--eff-line); border-radius: 14px; background: #fff; box-shadow: none; }
.eff-page .eff-entry:hover { border-color: #CBD8D1; }
.eff-page .eff-entry.is-sel { border-color: #A7F3D0; box-shadow: 0 0 0 3px #ECFDF5; }
.eff-page .eff-node { position: absolute; left: -44px; top: 14px; display: grid; place-items: center; width: 34px; height: 40px; border: 1px solid var(--eff-line); border-radius: 10px; background: #fff; font-size: 15px; font-weight: 800; line-height: 1; }
.eff-page .eff-node small { color: var(--eff-muted); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.eff-page .eff-node.is-on { border-color: #10B981; background: #10B981; color: #fff; }
.eff-page .eff-node.is-on small { color: #D1FAE5; }
.eff-page .eff-entry-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.eff-page .eff-entry-day { font-size: 14.5px; }
.eff-page .eff-entry-time { margin-left: auto; color: var(--eff-faint); font-size: 12px; white-space: nowrap; }
.eff-page .eff-track { position: relative; height: 8px; margin: 10px 0 4px; border-radius: 999px; background: #EEF2F6; }
.eff-page .eff-track b { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #10B981, #3B82F6); }
.eff-page .eff-track b.is-live { background: linear-gradient(90deg, #10B981, #A7F3D0); }
.eff-page .eff-ticks { display: flex; justify-content: space-between; color: var(--eff-faint); font-size: 10.5px; }
.eff-page .eff-summary { margin: 10px 0 0; color: var(--eff-ink-2); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.eff-page .eff-summary.is-empty { color: var(--eff-faint); font-style: italic; }
.eff-page .eff-items { display: grid; gap: 5px; margin: 10px 0 0; padding: 0; list-style: none; }
.eff-page .eff-items li { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: 13px; overflow-wrap: anywhere; }
.eff-page .eff-items li svg { margin-top: 2px; color: #10B981; }
.eff-page .eff-items li span { min-width: 0; }
.eff-page .eff-blocker { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; padding: 9px 12px; border: 1px solid #FED7AA; border-radius: 10px; background: #FFF7ED; color: #9A3412; font-size: 12.5px; }
.eff-page .eff-blocker svg { margin-top: 1px; }
.eff-page .eff-blocker p { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.eff-page .eff-blocker small { color: #C2410C; opacity: .8; }
.eff-page .eff-blocker.is-sm { margin-top: 7px; padding: 6px 9px; font-size: 11.5px; }
.eff-page .eff-blocker.is-sm svg { width: 12px; height: 12px; }
.eff-page .eff-plan { display: flex; align-items: center; gap: 5px; margin: 8px 0 0; color: var(--eff-muted); font-size: 12.5px; overflow-wrap: anywhere; }
.eff-page .eff-plan svg { width: 12px; height: 12px; }
.eff-page .eff-plan b { color: var(--eff-ink-2); }
.eff-page .work-summary-link { color: var(--eff-em); font-weight: 650; }

/* team day board */
.eff-page .eff-board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.eff-page .eff-col { min-width: 0; padding: 10px; border: 1px solid var(--eff-line-2); border-radius: 14px; background: #F7FAF8; }
.eff-page .eff-col h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12.5px; }
.eff-page .eff-col h3 em { margin-left: auto; }
.eff-page .eff-col.is-done h3 svg { color: #10B981; }
.eff-page .eff-col.is-work h3 svg { color: #3B82F6; }
.eff-page .eff-col.is-out h3 svg { color: #E11D48; }
.eff-page .eff-col-empty { margin: 4px 2px; color: var(--eff-faint); font-size: 12px; }
.eff-page .eff-pc { min-width: 0; margin-bottom: 8px; padding: 10px 12px; border: 1px solid var(--eff-line); border-radius: 12px; background: #fff; }
.eff-page .eff-pc:last-child { margin-bottom: 0; }
.eff-page .eff-pc-top { display: flex; align-items: center; gap: 9px; min-width: 0; }
.eff-page .eff-pc-top b { flex: 1; min-width: 0; overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.eff-page .eff-pc-time { display: block; margin-top: 4px; color: var(--eff-faint); font-size: 11.5px; }
.eff-page .eff-pc p.effort-work-summary { display: -webkit-box; margin: 7px 0 0; overflow: hidden; color: var(--eff-ink-2); font-size: 12px; overflow-wrap: anywhere; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.eff-page .eff-pc.is-ghost { display: flex; align-items: center; gap: 9px; }
.eff-page .eff-pc-b { display: grid; min-width: 0; font-size: 13px; }
.eff-page .eff-pc-b small { color: var(--eff-faint); font-size: 11.5px; }
.eff-page .eff-grace { color: var(--eff-faint); }
.eff-page .eff-note { margin: 0; color: var(--eff-faint); font-size: 11.5px; }

/* matrix */
.eff-page[data-view="matrix"] #effort-tab-content { padding: 0; }
.eff-page[data-view="matrix"] #effort-tab-content > :not(.eff-mx-wrap) { margin: 14px; }
.eff-page .eff-mx-wrap { overflow-x: auto; }
.eff-page .eff-mx { display: grid; grid-template-columns: minmax(170px, 210px) repeat(var(--n, 14), minmax(30px, 1fr)); min-width: 640px; }
.eff-page .eff-mx > div { display: grid; place-items: center; padding: 6px 3px; border-bottom: 1px solid var(--eff-line-2); font-size: 11px; text-align: center; }
.eff-page .eff-mx-h { color: var(--eff-muted); font-size: 10px !important; font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.eff-page .eff-mx-h.is-today { color: #047857; }
.eff-page .eff-mx > .eff-mx-nm { display: flex; justify-content: flex-start; gap: 8px; min-width: 0; padding-left: 14px; font-size: 12.5px; font-weight: 650; text-align: left; text-transform: none; }
.eff-page .eff-mx-nm span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.eff-page .eff-cell { display: block; width: 26px; height: 22px; padding: 0; border: 0; border-radius: 6px; cursor: pointer; }
.eff-page .eff-cell:disabled { cursor: default; }
.eff-page .eff-cell:not(:disabled):hover { transform: scale(1.08); }
.eff-page .eff-cell.is-sel { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #7C3AED; }
.eff-page .eff-cell.is-mini { width: 18px; height: 16px; margin-left: auto; cursor: default; }
.eff-page .cs { background: #10B981; }
.eff-page .cr { background: #6EE7B7; }
.eff-page .cd { background: #FCD34D; }
.eff-page .cm { background: #FECDD3; }
.eff-page .cw { border: 1px dashed #E2E8F0; background: #F8FAFC; }
.eff-page .cf { border: 1px dashed #E2E8F0; background: transparent; }

/* rail */
.eff-page .eff-rc { min-width: 0; padding: 14px 16px; border: 1px solid var(--eff-line); border-radius: var(--eff-radius); background: #fff; box-shadow: var(--eff-shadow); }
.eff-page .eff-rc header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.eff-page .eff-rc h2 { display: flex; flex: 1; align-items: center; gap: 8px; margin: 0; font-size: 14.5px; font-weight: 750; }
.eff-page .eff-rc h2 svg { width: 15px; height: 15px; color: var(--eff-em-2); }
.eff-page .eff-rc h2 em { margin-left: auto; }
.eff-page .eff-rc-sub { margin: 6px 0 0; color: var(--eff-muted); font-size: 12.5px; }
.eff-page .eff-rc-empty { margin: 6px 0 0; color: var(--eff-faint); font-size: 12.5px; }
.eff-page .eff-wk { margin: 4px 0 0; padding: 0; list-style: none; }
.eff-page .eff-wk li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--eff-line-2); font-size: 12.5px; }
.eff-page .eff-wk li:last-child { border-bottom: 0; }
.eff-page .eff-wk li > b:first-child { flex: 1; }
.eff-page .eff-wk-h { min-width: 70px; font-weight: 700; text-align: right; }
.eff-page .eff-ringrow { display: flex; align-items: center; gap: 14px; }
.eff-page .eff-ring { display: grid; place-items: center; flex: 0 0 auto; width: 112px; height: 112px; border-radius: 50%; background: conic-gradient(#10B981 0 var(--pd), #3B82F6 var(--pd) var(--pw), #FECDD3 var(--pw) 100%); }
.eff-page .eff-ring > div { display: grid; place-items: center; align-content: center; width: 80px; height: 80px; border-radius: 50%; background: #fff; text-align: center; }
.eff-page .eff-ring b { font-size: 22px; line-height: 1; }
.eff-page .eff-ring small { color: var(--eff-faint); font-size: 11px; }
.eff-page .eff-ring-l { display: grid; gap: 4px; font-size: 12.5px; }
.eff-page .eff-ring-l small { color: var(--eff-faint); }
.eff-page .t-green { color: #047857; } .eff-page .t-blue { color: #1D4ED8; } .eff-page .t-rose { color: #BE123C; }
.eff-page .eff-pick-empty { display: grid; justify-items: center; gap: 8px; padding: 26px 18px; text-align: center; }
.eff-page .eff-pick-empty p { margin: 0; color: var(--eff-muted); font-size: 12.5px; }
.eff-page .eff-pick-empty b { display: block; color: var(--eff-ink); font-size: 13.5px; }
.eff-page .eff-daylog { padding: 16px 18px; }
.eff-page .eff-dl-head { display: flex; align-items: center; gap: 10px; }
.eff-page .eff-dl-head > div { display: grid; min-width: 0; }
.eff-page .eff-dl-head b { font-size: 15px; }
.eff-page .eff-dl-head small { color: var(--eff-faint); font-size: 12px; }
.eff-page .eff-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.eff-page .eff-lbl { margin-top: 14px; color: var(--eff-muted); font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.eff-page .eff-daylog p.effort-work-summary, .eff-page .eff-plan-p { margin: 4px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.eff-page .eff-dl-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.eff-page .eff-dl-nav .btn { display: inline-flex; align-items: center; gap: 4px; height: 30px; min-height: 0; padding: 0 11px; font-size: 12px; }

@media (max-width: 1279px) {
  .eff-page .eff-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .eff-page .eff-stats.is-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .eff-page .eff-board { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1099px) {
  .eff-page .eff-layout, .eff-page[data-view] .eff-layout { grid-template-columns: minmax(0, 1fr); }
  .eff-page .eff-rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 767px) {
  .eff-page .eff-hero { padding: 14px var(--gr) 54px var(--gl); }
  .eff-page .eff-head h1 { font-size: 26px; }
  .eff-page .eff-tabs { flex: 1 1 100%; }
  .eff-page .eff-search { flex: 1 0 100%; }
  .eff-page .eff-search input { width: 100%; }
  .eff-page .eff-acts .btn { flex: 1; justify-content: center; }
  .eff-page .eff-stats.is-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eff-page .eff-stats:not(.is-kpis) { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--gr)) 0 calc(-1 * var(--gl)); padding: 2px var(--gr) 2px var(--gl); scrollbar-width: none; }
  .eff-page .eff-stats::-webkit-scrollbar { display: none; }
  .eff-page .eff-dchip { min-width: 44px; flex: 0 0 auto; }
  .eff-page .eff-pick, .eff-page .eff-ib-lg { flex: 0 0 auto; }
  .eff-page .eff-cal { display: grid; justify-items: center; }
  .eff-page .eff-cal-head { width: 100%; }
  .eff-page .eff-heat { grid-template-columns: repeat(7, 34px); }
  .eff-page .eff-heat > i, .eff-page .eff-heat > button { width: 34px; height: 28px; }
  .eff-page .eff-bar { padding: 10px; }
  .eff-page .eff-bar-extra { flex: 1 1 100%; margin-left: 0; }
  .eff-page .eff-bar-extra .eff-legend { margin: 4px 0 0; flex: 1 1 100%; }
  .eff-page #effort-tab-content { padding: 10px; }
  .eff-page .eff-tl { padding-left: 0; }
  .eff-page .eff-tl::before { display: none; }
  .eff-page .eff-node { position: static; float: left; width: 30px; height: 34px; margin: 0 10px 4px 0; font-size: 13px; }
  .eff-page .eff-entry-time { flex: 1 1 100%; margin-left: 0; }
  .eff-page .eff-rail { grid-template-columns: minmax(0, 1fr); }
  .eff-page .eff-mx { grid-template-columns: 128px repeat(var(--n, 14), 34px); min-width: 0; }
  .eff-page .eff-mx > .eff-mx-nm { position: sticky; left: 0; z-index: 1; padding-left: 10px; background: #fff; font-size: 12px; }
}
