/* asherah.css - "Entropy on a harder job" (/asherah). Loads after home.css and case.css and reuses their tokens,
   timeline, lists and number box. Adds the market-day board and the "ran out of time" colour. No text under 16px. */

.as-safe { background: var(--person-soft); border-left-color: var(--person); }
.as-link { color: var(--honey-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }
.as-link:hover { border-bottom-width: 2px; }

/* market-day board: two bars on one clock, marks placed by inline left:% */
.mday { margin: 28px 0 0; padding: 20px 18px 18px; border-radius: 16px; background: var(--bg-2); box-shadow: var(--shadow); }
.day-board { display: grid; gap: 8px; }
.day-name { font-weight: 650; font-size: 16px; color: var(--text); }
.day-name + .day-bar { margin-bottom: 8px; }
.day-bar { position: relative; height: 28px; border-radius: 8px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.day-open { position: absolute; top: 0; bottom: 0; left: 25%; width: 65%; background: var(--honey-soft); }
.tk, .ck { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.tk { width: 4px; height: 18px; border-radius: 2px; background: var(--honey); }
.tk-plan { width: 10px; height: 10px; border-radius: 2px; background: var(--chaos); }
.ck { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.ck-ready { width: 16px; height: 16px; background: var(--bg-2); box-shadow: inset 0 0 0 4px var(--ok); }
.day-axis { position: relative; height: 24px; font: 500 16px/1.4 var(--mono); color: var(--text-3); }
.day-axis span { position: absolute; top: 0; white-space: nowrap; }
.day-axis .day-ax-r { transform: translateX(-100%); }
.day-axis .day-ax-fix { transform: translateX(-50%); color: var(--ok); font-weight: 600; }
.day-cap { margin-top: 12px; font-size: 16px; color: var(--text-2); }
.day-key { margin-top: 12px; }
.kk { flex: none; display: inline-block; }
.kk-tk { width: 4px; height: 16px; border-radius: 2px; background: var(--honey); margin: 0 5px; }
.kk-plan { width: 12px; height: 12px; border-radius: 2px; background: var(--chaos); }
.kk-ck { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); margin: 0 1px; }
.kk-ready { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 4px var(--ok); }

/* the story strip */
.mday-story { background: var(--bg-2); }
.day-bar-s { height: 32px; }
.tk-bad { width: 6px; height: 22px; background: var(--fail); }
.tk-skip { width: 6px; height: 22px; background: transparent; box-shadow: inset 0 0 0 2px var(--chaos); }
.tk-ok { width: 6px; height: 22px; background: var(--ok); }
.day-fixline { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; background: var(--ok); }
.kk-bad, .kk-skip, .kk-ok { width: 6px; height: 16px; border-radius: 2px; margin: 0 4px; }
.kk-bad { background: var(--fail); }
.kk-skip { box-shadow: inset 0 0 0 2px var(--chaos); }
.kk-ok { background: var(--ok); }

/* "ran out of time" events in the timeline */
.ev-bad::before { box-shadow: inset 0 0 0 9px var(--fail); }
.tag-bad { background: var(--fail-soft); color: var(--fail) !important; }

@media (min-width: 760px) { .mday { padding: 24px 26px 22px; } }
