/* Effort sheet (effort-ui.js). Header, small cards, coaching and footer come
   from stress.css (.st-*), the dial from load.css (.tl-*), lists from
   unified.css (.u-*). Effort's data colour is amber, like the Home ring. */
.ef-sheet { --ef: #f59e0b; --ef-ink: #d97706; --ef-soft: #fef3c7; --ef-deep: #92400e; }
:root[data-theme="dark"] .ef-sheet { --ef-ink: #fbbf24; --ef-soft: rgba(245, 158, 11, 0.16); --ef-deep: #fcd34d; }
.ef-sheet svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ef-sheet .tl-dial, .ef-sheet .dc svg { stroke: none; }
/* Same header insets as the Stress sheet (styles.css, unified.css). */
.view-sheet-body > .vs-content > .ef-sheet:first-child { padding-right: 0; }
.view-sheet-body .ef-sheet > .st-head:first-child { padding: 0 50px 0 0; }
.view-sheet-body .ef-sheet > .st-head:first-child .st-info-btn { right: 50px; }
.ef-card { background: var(--panel); border-radius: 20px; box-shadow: var(--u-card); padding: 14px 16px; }

/* top */
.ef-top { text-align: center; margin: 4px 0 12px; }
.ef-top .tl-g-val small { font-size: 20px; margin-left: 1px; }
.ef-word { font-size: 15px; font-weight: 700; margin-top: 14px; }
.ef-word span { color: var(--muted); font-weight: 600; font-size: 13px; }
.ef-top .tl-optimal { margin-top: 4px; }
.ef-sheet .st-mini-title svg { width: 15px; height: 15px; }
.ef-lvl { font-size: 13px !important; color: var(--acc-600) !important; font-weight: 700 !important; }
.ef-sheet .st-coach p + p { margin-top: 6px; }

/* sections */
.ef-sec { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 22px 2px 10px; }
.ef-sec h3 { margin: 0; font-size: 15px; font-weight: 700; }
.ef-sec > span { font-size: 11.5px; font-weight: 500; color: var(--muted); }

/* day chart */
.ef-chartcard { padding: 12px 12px 10px; }
.ef-chartcard .dc-panel + .dc-panel { margin-top: 8px; }
.ef-sheet .dc-band { fill: rgba(245, 158, 11, 0.12); }
.ef-keys { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 10px; }
.ef-keys i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.ef-k-eff { background: var(--ef); height: 3px !important; vertical-align: 3px !important; }
.ef-k-act { background: rgba(245, 158, 11, 0.22); }

/* activity rows */
.ef-tile { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; background: var(--panel); display: grid; place-items: center; color: var(--ef-ink); }
.ef-tile svg { width: 17px; height: 17px; }
.ef-tile-muted { color: var(--muted); }
.ef-act { align-items: flex-start; cursor: default; }
.ef-act .u-val b { font-size: 16px; }
.ef-chips { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.ef-chip { font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--ef-soft); color: var(--ef-deep); }
.ef-chip-2 { background: var(--panel); color: var(--muted); }
.ef-act.is-faint { opacity: 0.6; }
.ef-act.is-faint .ef-tile { color: var(--muted); }

/* zones */
.ef-zbar { display: flex; gap: 3px; height: 12px; border-radius: 6px; overflow: hidden; margin-bottom: 4px; }
.ef-zbar i.z1, .ef-zdot.z1 { background: var(--hl-z1); }
.ef-zbar i.z2, .ef-zdot.z2 { background: var(--hl-z2); }
.ef-zbar i.z3, .ef-zdot.z3 { background: var(--hl-z3); }
.ef-zbar i.z4, .ef-zdot.z4 { background: var(--hl-z4); }
.ef-zbar i.z5, .ef-zdot.z5 { background: var(--hl-z5); }
.ef-zlist .u-row { padding: 9px 2px; cursor: default; }
.ef-zlist .u-row + .u-row { border-top: 1px solid var(--u-hair); }
.ef-zdot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }

/* week */
.ef-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.ef-wcol { display: flex; flex-direction: column; align-items: center; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.ef-wtrack { position: relative; width: 100%; max-width: 30px; height: 120px; border-radius: 10px; background: var(--u-tile); overflow: hidden; display: block; }
.ef-wband { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, rgba(var(--n-ink-rgb), 0.09) 0 2px, transparent 2px 6px); border-top: 1.5px dashed rgba(var(--n-ink-rgb), 0.25); border-bottom: 1.5px dashed rgba(var(--n-ink-rgb), 0.25); }
.ef-wbar { position: absolute; left: 4px; right: 4px; bottom: 4px; max-height: calc(100% - 8px); border-radius: 7px; background: linear-gradient(180deg, #fcd34d, var(--ef)); }
.ef-wbar.under { background: linear-gradient(180deg, #fde68a, #fcd34d); }
.ef-wzero { position: absolute; left: 50%; bottom: 6px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--n-line); }
.ef-wcol b { font-size: 11.5px; font-weight: 700; margin-top: 7px; }
.ef-wcol > span:last-child { font-size: 10.5px; color: var(--muted); font-weight: 500; }
.ef-wcol.is-sel .ef-wtrack { box-shadow: 0 0 0 2px var(--text); }
:root[data-theme="dark"] .ef-wband { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 6px); border-color: rgba(255, 255, 255, 0.25); }

.ef-how { margin-top: 18px; }
.ef-how-text { padding: 2px 14px 14px 54px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
