/* ═══════════════════════════════════════════════════════════════════════
   CIRCLE THRICE · R5-14 · Integrated member portal prototype (CT-PRT family)
   Only the frame around the locked components, plus the two surfaces the locked
   briefs never covered (Sessions · Account) and the requirement manifest.
   Every colour, type size and radius comes from canon tokens (ct-canon.css).
   ═══════════════════════════════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
body{background:#e9edf3;font-family:var(--body);color:var(--ink);-webkit-font-smoothing:antialiased;}
a{color:var(--blue);text-decoration:none;}
a:hover{color:var(--vg);text-decoration:underline;}
.pg{vertical-align:.08em;}

.ctp-page{width:1200px;margin:0 auto;padding:46px 0 70px;display:flex;flex-direction:column;}
.ctp-cap{margin-bottom:26px;}
.ctp-kick{font-family:var(--sc);font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--blue);}
.ctp-title{font-family:var(--disp);font-size:26px;font-weight:600;letter-spacing:-.015em;color:var(--ink);margin-top:6px;}
.ctp-id{display:inline-block;white-space:nowrap;font-family:var(--sc);font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--blue);background:rgba(63,109,150,.09);border:1px solid rgba(63,109,150,.28);border-radius:5px;padding:2px 8px;margin-left:10px;vertical-align:4px;}
.ctp-desc{font-size:14px;line-height:1.55;color:var(--muted);margin-top:7px;max-width:88ch;text-wrap:pretty;}
.ctp-desc b{color:var(--ink);font-weight:600;}

/* the app frame — the canon desk, in normal flow instead of on a canvas */
/* ── PROPOSED glassy dimension (Ivy, 2026-07-29) — portal-scoped, canon untouched.
   The chrome reads as overlapping sheets: rail → header → timespan bar → tab row →
   body, each casting a soft shadow onto the one beneath. Shadows only — no new
   colour, no blur over data — so every tint and hairline the components rely on is
   unchanged and legibility is untouched. Promote on "update the canon". */
/* CT-ELV01–06 and CT-MOT01–05 now live in ct-canon-r514.css and are applied by the
   `r514` scope class on the screen root. What stays below is portal-specific only. */
/* the right rail is the topmost sheet — it sits over the reading column */
/* ── the detail page SLIDES OVER, like a leaf laid across the last one
   (Ivy, 2026-07-29) ─────────────────────────────────────────────────────
   The sheet travels in from the right and comes to rest without a bounce; its
   leading edge carries a soft cast shadow that softens as it lands, so the page
   reads as paper moving over paper. 780ms on a long, soft ease-out. Portal-scoped. */
/* ── the Library reads as its own room (Ivy, 2026-07-29) ────────────────
   A medium-light blue-grey ground under the CARD GRID, so crossing into the Library
   is felt, not read. A DETAIL PAGE IS ALL WHITE — a ground behind the reading sheet
   made it feel like a form, so the page is one continuous white surface for focused
   reading. The chrome stays white throughout, keeping the always-today line whole. */
.ctp-screen .lib-page-body{padding:34px 44px 52px;}
/* the detail page slides over on the same ground */
/* ── the Library / Details tray ground (Ivy, 2026-07-29) — PROPOSED, portal-scoped.
   A very pale blue-grey, one step LIGHTER than the nav tone (--paper #f6f9fc) so the
   tray separates from the reading column without weight: #fcfdff, with a whisper of
   fractal grain (soft-light; no repeating hairlines — a 1px weave moiréd at fractional
   zoom). The white cards still sit ON something. Cards, copy inks, tints and hairlines
   are all untouched — CT-LIB01/02 and CT-ORR11 keep their exact treatment. */
.ctp-screen .rl::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E"),radial-gradient(130% 90% at 50% -10%,rgba(63,109,150,.05),transparent 62%);background-size:140px 140px,100% 100%;mix-blend-mode:multiply;}
/* the scrolling hours band's edges: a HARD hairline with a slight cast shadow, not a
   34px fade — the wide gradient read soft against every other clean line on the
   surface (Ivy, 2026-07-29). Portal-scoped; r4-26-hours.css is untouched. */
/* the closed tray's attention cue on first paint (Ivy, 2026-07-29): it BREATHES —
   a slow, soft swell and settle, no glow and no colour of its own. */
/* the tray's sheets read a touch crisper against the tinted ground */
/* the Now button had been floating over the band's event lane — reserve a strip for
   it above the band instead of overlapping the content (Ivy, 2026-07-29).
   Portal-scoped; r5-portal-day.css / R5-07 are untouched. */
.ctp-screen .viz-body.embed-hours{padding-top:46px;}
.ctp-screen .embed-hours .bandcap{top:2px;}
/* ── one page STRUCTURE across every span (Ivy, 2026-07-29) — portal-scoped.
   The Day surface indents its zones past the anchor gutter (where the day atom sits);
   the Week→Year engine drew them flush to the column edge, so the gutters and measure
   changed as the reader moved between spans. Give the multi-day zones the Day's exact
   inset so only the CONTENT differs between spans. The centred Compact/Expand master
   still centres on the whole column, as it does on the Day. The two insets mirror the
   Day's own optical-centring rule, which narrows the anchor gutter when the rail is open
   (r5-rail.css) — so the structures stay identical in BOTH rail states. */
.ctp-screen:not([data-span="day"]) .ov-split:has(.rl[data-open="true"]) .dp-col>.ov-zone1,
.ctp-screen:not([data-span="day"]) .ov-split:has(.rl[data-open="true"]) .dp-col>.zone{margin-left:128px;margin-right:67px;}
.ctp-screen:not([data-span="day"]) .ov-split:has(.rl[data-open="false"]) .dp-col>.ov-zone1,
.ctp-screen:not([data-span="day"]) .ov-split:has(.rl[data-open="false"]) .dp-col>.zone{margin-left:168px;margin-right:42px;}
/* CT-PRT01 CANON · LOCKED (Ivy, 2026-07-29) — the nav rail's higher-contrast ink.
   Labels and icons were the lightest ink (--icon #8a98ad) on a --paper ground and read
   faint at 7px; the rail carries the tray's label ink (--muted #586073) at weight 600,
   blue on hover and active. This is the portal's canon rail treatment — do not lighten
   it again without an explicit "unlock/update CT-PRT01". */
/* the picker is the one genuinely glassy sheet — it floats over the reading column */
/* ── PROPOSED chrome tone swap (Ivy, 2026-07-29) — portal-scoped, canon untouched:
   the header nav takes the tone of the CT logo square beside it (--paper), so rail
   brand cell and header strip read as one band; the Overview/Orrery row goes white
   so the tab the reader is choosing sits on the lightest surface. Promote into
   CT-HDR01 / CT-TAB01 only on an explicit "update the canon". */
.ctp-screen .strip{background:var(--paper);}
.ctp-screen .chrome-tabs{background:var(--white);}
.ctp-screen{position:relative;width:var(--desk-w);height:var(--desk-h);}
.ctp-screen .scr-main{position:relative;}
/* the always-today header persists on every screen — overlay surfaces (the Library
   detail page) are absolute inside this body, never over the header */
.ctp-body{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;}
.rail .ni,.chrome-tabs .ct,.tsrow .navb,.tsrow .icon-btn,.hdr .more{cursor:pointer;}
.tsrow .range{cursor:pointer;}
.tsrow .range:hover{color:var(--blue);}

/* the timespan picker is PICKER 13 (r5-picker13.css + r4nav/picker13.js), the
   R4-06 / CT-TS15 date picker, anchored to the locked edit-timespan pencil.
   The bespoke span list this file used to carry is retired (Ivy, 2026-07-29). */

/* toast — every simulated destination says where it would go */
.ctp-toast{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:90;background:var(--ink);color:#fff;font-family:var(--body);font-size:12px;line-height:1.4;padding:10px 16px;border-radius:22px;box-shadow:0 8px 26px rgba(30,40,60,.3);max-width:560px;text-align:center;animation:ctpt .18s ease;}
.ctp-toast b{font-family:var(--disp);font-weight:600;}
@keyframes ctpt{from{opacity:0;transform:translate(-50%,7px);}to{opacity:1;transform:translateX(-50%);}}

/* ── Sessions · Account — the two surfaces no locked brief covered ── */
.ctp-surf{flex:1;min-height:0;overflow:auto;padding:30px 40px 46px;}
.ctp-col{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:30px;}
.ctp-hd{display:flex;flex-direction:column;gap:9px;}
.ctp-h1{font-family:var(--disp);font-size:22px;font-weight:600;letter-spacing:-.015em;color:var(--ink);}
.ctp-lede{font-family:var(--body);font-size:13.5px;line-height:1.7;color:var(--muted);max-width:62ch;text-wrap:pretty;}
.ctp-v1{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;font-family:var(--sc);font-size:8px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8f3f78;background:rgba(200,110,172,.11);border-radius:20px;padding:4px 10px;}
.ctp-sec{display:flex;flex-direction:column;}
.ctp-sh{display:flex;align-items:center;gap:12px;font-family:var(--sc);font-size:8.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:4px;}
.ctp-sh .ln{flex:1;height:1px;background:var(--vpale);}
.ctp-x{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:16px;align-items:center;min-height:52px;padding:11px 0;border-bottom:1px solid var(--vpale);background:none;border-left:none;border-right:none;border-top:none;width:100%;text-align:left;cursor:pointer;}
.ctp-x:hover .ctp-x-nm{color:var(--blue);}
.ctp-x-k{font-family:var(--sc);font-size:7.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--icon);text-align:right;}
.ctp-x-b{display:flex;flex-direction:column;gap:3px;min-width:0;}
.ctp-x-nm{font-family:var(--disp);font-size:14px;font-weight:600;letter-spacing:-.01em;color:var(--ink);}
.ctp-x-d{font-family:var(--body);font-size:12px;line-height:1.5;color:var(--muted);}
.ctp-x-go{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:48px;min-height:48px;padding:0 12px;border-radius:8px;font-family:var(--sc);font-size:8.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);}
.ctp-x:hover .ctp-x-go{background:rgba(63,109,150,.07);}
.ctp-x-go svg{width:13px;height:13px;}

/* ── the requirement manifest (below the frame, not inside the product) ── */
.ctp-mf{margin-top:52px;display:flex;flex-direction:column;gap:34px;}
.ctp-mf-h{display:flex;align-items:baseline;gap:14px;border-top:1px solid var(--rule);padding-top:16px;}
.ctp-mf-h .n{font-family:var(--sc);font-size:10px;font-weight:700;letter-spacing:.18em;color:var(--blue);}
.ctp-mf-h h2{font-family:var(--disp);font-size:19px;font-weight:600;letter-spacing:-.012em;color:var(--ink);}
.ctp-mf-h .s{margin-left:auto;font-family:var(--sc);font-size:8.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--icon);}
.ctp-mf p.lede{font-family:var(--body);font-size:13px;line-height:1.7;color:var(--muted);max-width:96ch;margin-top:10px;text-wrap:pretty;}
.ctp-panel{background:var(--white);border:1px solid var(--vpale);border-radius:9px;padding:4px 18px;margin-top:14px;}
.ctp-tbl{width:100%;border-collapse:collapse;}
.ctp-tbl th{font-family:var(--sc);font-size:8px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--icon);text-align:left;padding:12px 10px;border-bottom:1px solid var(--vpale);vertical-align:bottom;}
.ctp-tbl td{font-family:var(--body);font-size:12px;line-height:1.55;color:var(--muted);padding:11px 10px;border-bottom:1px solid var(--vpale);vertical-align:top;}
.ctp-tbl tr:last-child td{border-bottom:none;}
.ctp-tbl td b{font-family:var(--disp);font-weight:600;color:var(--ink);}
.ctp-ref{font-family:var(--sc);font-size:9.5px;font-weight:600;letter-spacing:.02em;color:var(--blue);white-space:nowrap;}
.ctp-ref.nul{color:var(--icon);}
.ctp-go{font-family:var(--sc);font-size:8.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);background:rgba(63,109,150,.08);border:1px solid rgba(63,109,150,.22);border-radius:20px;padding:5px 11px;cursor:pointer;white-space:nowrap;}
.ctp-go:hover{background:rgba(63,109,150,.16);}
.ctp-vd{font-family:var(--sc);font-size:8.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;}
.ctp-vd.met{color:#1c6b4f;}
.ctp-vd.addressed{color:var(--vg);}
.ctp-vd.partial{color:#a8752a;}
.ctp-vd.miss{color:var(--vb);}
.ctp-list{display:flex;flex-direction:column;gap:0;margin-top:14px;}
.ctp-li{display:grid;grid-template-columns:104px minmax(0,1fr);gap:18px;padding:14px 0;border-bottom:1px solid var(--vpale);}
.ctp-li:last-child{border-bottom:none;}
.ctp-li .id{font-family:var(--sc);font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);}
.ctp-li .tx{font-family:var(--body);font-size:12.5px;line-height:1.65;color:var(--muted);text-wrap:pretty;}
.ctp-li .tx b{font-family:var(--disp);font-weight:600;color:var(--ink);}
.ctp-li .tx em{font-style:normal;font-family:var(--sc);font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--icon);display:block;margin-top:5px;}
.ctp-json{position:relative;background:#22283a;border-radius:9px;padding:46px 22px 20px;margin-top:14px;overflow:auto;}
.ctp-json pre{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:1.65;color:#cfd8ea;white-space:pre;}
.ctp-copy{position:absolute;top:12px;right:14px;font-family:var(--sc);font-size:8px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#cfd8ea;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.18);border-radius:20px;padding:6px 12px;cursor:pointer;}
.ctp-copy:hover{background:rgba(255,255,255,.18);}
