/* ═══════════════════════════════════════════════════════════════════════
   CIRCLE THRICE · R7-02 · CT-DV11 HOURS RAIL r1 — INTEGRATION GLUE (candidate)
   PROPOSED. R6 remains the current authority; nothing is approved.

   What this styles (all scoped to .r7h-* / .u6-side[data-r7panel] / .r7f-*;
   no canon or other component's class is redefined):
     · the shared right-rail host's two states — Hours (default, day) and
       the canonical At Hand tray (temporary alternate);
     · the CT-DV11 rail inside the host (r4-26-hours.css owns .o1-* / va-*;
       this file only adapts where it meets the portal host);
     · the All day region (untimed material; never a fabricated time);
     · the review frames (intermediate width · mobile — specified).

   CT-DV11 itself is reused: its markup pattern, its classes, its builder
   (H26.buildRail) and its Hide → slim-tab behaviour are the recovered design.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── the calendar as the FIRST tab of the rail — model B (Jamie, 2026-09-30)
   One container, three views — Calendar · At Hand · Sky — so the calendar is
   never hidden and switching is symmetric. Canonical tab mechanics drive it
   (data-side / data-tab / .on); the tray's close collapses to the door.
   The host keeps ONE width in every tab, so the reading column never moves. */
.u6-side .u6-cal{flex:1;min-height:0;display:none;flex-direction:column;overflow:hidden;}
.u6-side[data-tab="calendar"] .u6-cal{display:flex;}
.u6-cal .r7h{width:100%;height:100%;}

/* ── the rail block (CT-DV11) inside the Calendar tab ──────────────────── */
.r7h{flex:1;display:flex;flex-direction:column;min-height:0;background:var(--paper);}
.r7h .o1-body{height:100%;min-height:0;min-width:0;}
.r7h .o1-rail{width:100%;border-left:none;}
.r7h .o1-lane{min-width:0;}
.r7h .mini-hint{bottom:8px;}

/* the windowed scroll — the rail keeps the source's own docked scale
   (H:860) while the host shows sunrise → evening; the night hours extend
   below the scroll (Jamie, 2026-09-30). No new nested scroll elsewhere. */
.r7h .r7h-scroll{flex:1;min-height:0;display:flex;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;}
.r7h .r7h-scroll::-webkit-scrollbar{width:7px;}
.r7h .r7h-scroll::-webkit-scrollbar-thumb{background:var(--vpale);border-radius:4px;}
.r7h .r7h-scroll::-webkit-scrollbar-thumb:hover{background:#ccd6e0;}
.o1-body.rail-collapsed .r7h-scroll{display:none;}
/* the cap stays pinned over the scrolling lane (it was the lane's absolute
   top in the source; the windowed rail keeps it reachable) */
.r7h .o1-cap{position:sticky;top:0;left:auto;right:auto;}

/* All day — rendered only when untimed material exists */
.r7h-allday{padding:10px 10px 9px;border-bottom:1px solid var(--vpale);background:var(--paper);}
.r7h-allday .h{display:flex;align-items:center;gap:8px;}
.r7h-allday .t{font-family:var(--sc);font-size:8px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);}
.r7h-allday .ln{flex:1;height:1px;background:var(--vpale);}
.r7h-allday .i{margin-top:7px;font-family:var(--body);font-size:11.5px;line-height:1.4;color:var(--ink);}
.r7h-allday .i .pg{font-size:12px;}
.r7h-allday .mt{display:block;font-family:var(--sc);font-size:7.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--icon);margin-top:3px;}
.r7h:has(.o1-body.rail-collapsed) .r7h-allday{display:none;}

/* the accessible companion for the rail (visual lane is decorative) */
.r7h-vh{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;}

/* ── review frames (specified compositions — not a second implementation) ─ */
.r7f-wrap{padding:26px 0 10px;}
.r7f-cap{max-width:1160px;margin:0 auto 12px;font-family:var(--sc);font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--icon);}
.r7f-cap b{color:var(--blue);}
.r7f-inter{width:1024px;margin:0 auto;background:var(--white);border:1px solid rgba(63,109,150,.22);box-shadow:0 14px 34px rgba(30,40,60,.10);border-radius:10px;overflow:hidden;}
.r7f-bar{display:flex;align-items:center;gap:12px;padding:12px 20px;border-bottom:1px solid var(--vpale);background:var(--paper);}
.r7f-bar .k{font-family:var(--sc);font-size:8px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--icon);}
.r7f-bar .d{font-family:var(--disp);font-size:14px;font-weight:600;color:var(--ink);}
.r7f-body{padding:20px 24px 24px;display:flex;flex-direction:column;gap:16px;}
.r7f-title{font-family:var(--disp);font-size:24px;font-weight:600;letter-spacing:-.015em;color:var(--ink);}
.r7f-sub{font-family:var(--body);font-size:14px;color:var(--muted);margin-top:4px;}
.r7f-hours{position:relative;border:1px solid var(--vpale);background:var(--white);border-radius:6px;}
.r7f-hours .o1-body{height:860px;}
.r7f-hours .o1-rail{width:100%;border-left:none;background:var(--paper);}
.r7f-hours .o1-cap{background:linear-gradient(to bottom,var(--white) 55%,rgba(255,255,255,0));}
.r7f-note{font-family:var(--sc);font-size:8px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:var(--icon);}

.r7f-mob{width:390px;margin:0 auto;background:var(--paper);border:1px solid rgba(63,109,150,.22);border-radius:14px;box-shadow:0 14px 34px rgba(30,40,60,.10);overflow:hidden;}
.r7f-ph-top{background:var(--white);border-bottom:1px solid var(--vpale);padding:12px 16px 11px;}
.r7f-ph-k{font-family:var(--sc);font-size:8px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--icon);}
.r7f-ph-d{font-family:var(--disp);font-size:15px;font-weight:600;letter-spacing:-.01em;color:var(--ink);margin-top:3px;}
.r7f-ph-body{padding:14px 14px 18px;background:var(--white);display:flex;flex-direction:column;gap:12px;}
.r7f-ph-body .r7f-title{font-size:19px;}
.r7f-ph-body .r7f-sub{font-size:13px;}
.r7f-mob-hours .o1-body{height:860px;}
.r7f-mob-hours{border:1px solid var(--vpale);border-radius:6px;background:var(--white);}
.r7f-mob-hours .o1-rail{width:100%;border-left:none;}
.r7f-athand{display:flex;align-items:center;gap:12px;border-top:1px solid var(--vpale);padding-top:12px;}
.r7f-athand .ic{width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--blue);background:var(--white);border:1px solid var(--l-blue);box-shadow:0 2px 8px rgba(1,78,103,.08);flex-shrink:0;}
.r7f-athand .lbl{font-family:var(--sc);font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);}
.r7f-athand .sub{font-family:var(--body);font-size:12px;color:var(--muted);margin-top:3px;}

/* ── the candidate banner (this copy's own furniture) ──────────────────── */
.r72-banner{max-width:1160px;margin:0 auto;padding:16px 22px;background:var(--white);border:1px solid rgba(63,109,150,.18);border-left:3px solid var(--blue);font-family:var(--body);font-size:13.5px;line-height:1.5;color:var(--muted);}
.r72-banner .r72-tag{display:inline-block;font-family:var(--sc);font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--blue);background:rgba(63,109,150,.08);border:1px solid rgba(63,109,150,.22);border-radius:10px;padding:2px 8px;margin-right:10px;vertical-align:1px;}
.r72-banner b{color:var(--ink);font-weight:600;}
.r72-banner .mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;}
.r72-banner a{color:var(--blue);}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .u6-side,.r7h *,.r7f-wrap *{transition:none!important;animation:none!important;}
}
