/* The hours panel as a paper planner (28 Nov 2026, session info-capture-design).
   Ronic's palette: paper #f4efe7, deep indigo ink #23215a, indigo pen #4548e2, lilac highlighter #cfc3f0, orange now #e8622f.
   Sized to the stage (.pane-body is a size container): every size steps with its height (cqh). */
.hp { --paper: #f4efe7; --ink: #23215a; --pen: #4548e2; --hl: rgba(207, 195, 240, .95); --now: #e8622f;
  position: relative; flex: 1; min-width: 0; height: 100%; background: var(--paper); color: var(--ink); overflow: hidden;
  display: grid; grid-template-rows: 44% 56%; font-family: "Hanken Grotesk", sans-serif; cursor: pointer; }
.hp-tex { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .45; mix-blend-mode: multiply; pointer-events: none; }
.hp-row { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); min-height: 0; }
.hp-who { grid-column: 1 / span 4; padding: 10px 12px 4.5cqh 16px; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.hp-name { font: 800 clamp(18px, 9cqh, 34px)/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.02em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.hp-addr { font-size: clamp(12px, 5cqh, 15px); font-weight: 400; line-height: 1.3; margin-top: clamp(4px, 3cqh, 12px); }
.hp-link { align-self: flex-start; margin-top: clamp(4px, 2cqh, 8px); font-size: 12px; font-weight: 300; color: var(--ink); text-decoration: none;
  border-bottom: .5px solid var(--ink); display: inline-flex; align-items: center; gap: 4px; padding-bottom: 1px; }
.hp-link svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hp-note { grid-column: 5 / span 3; border-left: 1.5px solid var(--ink); padding: 0 8px 4.5cqh 12px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.hp-pen { font-family: "Patrick Hand", cursive; color: var(--pen); }
.hp-say { font-size: clamp(16px, 7.6cqh, 26px); line-height: 1.08; transform: rotate(-3deg); transform-origin: left bottom; white-space: nowrap; }
.hp-say .ln { display: inline-block; }
.hp-key { position: relative; display: inline-block; padding: 0 3px; }
.hp-wk { border-top: 1.5px solid var(--ink); }
.hp-c { position: relative; border-left: 1.5px solid var(--ink); display: flex; flex-direction: column; min-height: 0; }
.hp-c:first-child { border-left: 0; }
.hp-n { flex: none; height: clamp(20px, 9cqh, 28px); padding: 6px 0 0 6px; box-sizing: border-box; font-size: 12px; font-weight: 500; letter-spacing: .08em; line-height: 1; }
.hp-n.td { font-weight: 600; color: var(--pen); }
.hp-tr { position: relative; flex: 1; min-height: 0; }
.hp-st { position: absolute; left: 50%; width: min(60px, 76%); background: var(--hl); mix-blend-mode: multiply; border-radius: 3px 9px 4px 11px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: clamp(3px, 2cqh, 8px) 0; box-sizing: border-box;
  font-size: 12px; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.hp-off { position: absolute; left: 50%; top: 30%; font-size: clamp(16px, 7cqh, 22px); white-space: nowrap; transform: translateX(-50%) rotate(-8deg); }
.hp-tz { flex: none; align-self: flex-start; padding-top: clamp(10px, 6.5cqh, 20px); font-size: 12px; font-weight: 500; letter-spacing: .08em; line-height: 1; }
.hp-ring { position: absolute; overflow: visible; pointer-events: none; }
.hp-ring path { fill: none; stroke: var(--pen); stroke-width: 1.8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hp-dot { position: absolute; left: 30%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--now); }
.hp-nowl { position: absolute; left: calc(30% + 8px); font-family: "Patrick Hand", cursive; font-size: clamp(14px, 6cqh, 20px); line-height: 1; color: var(--now); transform: translateY(-58%); white-space: nowrap; }
.hp-link:focus-visible { outline: 1.5px solid var(--pen); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .hp-link:hover { border-bottom-width: 1px; } }

/* drawn once when the panel opens; the now dot is the one thing that keeps moving */
.hp.go .hp-st { clip-path: inset(0 0 100% 0); }
.hp.go .ln { opacity: 0; transform: translateY(4px); }
.hp.go .hp-ring path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.hp.go .hp-dot, .hp.go .hp-nowl { opacity: 0; }
.hp.play .hp-st { animation: hp-sw 400ms ease-out forwards; animation-delay: calc(var(--i) * 70ms); }
.hp.play .ln { animation: hp-rise 240ms ease-out forwards; animation-delay: calc(900ms + var(--l) * 120ms); }
.hp.play .hp-ring.g path { animation: hp-draw 600ms ease-in-out 1300ms forwards; }
.hp.play .hp-ring.t path { animation: hp-draw 500ms ease-in-out 1700ms forwards; }
.hp.play .hp-dot { animation: hp-fade 240ms ease-out 2000ms forwards, hp-breathe 2400ms ease-in-out 2300ms infinite; }
.hp.play .hp-nowl { animation: hp-fade 240ms ease-out 2000ms forwards; }
@keyframes hp-sw { to { clip-path: inset(0 0 0 0); } }
@keyframes hp-rise { to { opacity: 1; transform: none; } }
@keyframes hp-draw { to { stroke-dashoffset: 0; } }
@keyframes hp-fade { to { opacity: 1; } }
@keyframes hp-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.45); } }
@media (prefers-reduced-motion: reduce) {
  .hp.go .hp-st { clip-path: none; } .hp.go .ln { opacity: 1; transform: none; } .hp.go .hp-ring path { stroke-dashoffset: 0; }
  .hp.go .hp-dot, .hp.go .hp-nowl { opacity: 1; } .hp.play * { animation: none !important; } }
