/* Studio > Maya's page, Conversations and the one player (A-126). Written by that part's builder. Loaded after race.css. */

/* ================================================================== MAYA'S PAGE (studio-maya.blade.php)
   The picture he approved: v3/wireframe-and-plans/studio-next-2026-11-12/mockups/2-maya.png. Brand tokens only. */

/* ---- Maya in the HoloBox911. The cabinet is the product's own photograph (the 7 ft unit, black, empty), cut to the
   cabinet with its backdrop cleared (harness/b8/mkbox.py). Her picture has a white background: multiplied over the
   lit glass, the white goes and she stands inside. Every picture of her on these screens is drawn this way. ---- */
.my-hbx { position: relative; display: block; aspect-ratio: 8 / 15; background: url('/brand/v3/maya/holobox.webp') center / 100% 100% no-repeat; }
.my-glass { position: absolute; left: 15.5%; top: 8.2%; width: 74.6%; height: 80.2%; overflow: hidden; display: block; }
.my-glass img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; mix-blend-mode: multiply; display: block; }

.my-page { display: flex; flex-direction: column; gap: 14px; }
.my-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.my-card { background: var(--hb-white); border: 1px solid var(--hb-line); border-radius: 18px; padding: 14px 22px 14px; display: flex; flex-direction: column; gap: 8px; }
.my-card > p { margin: 0; }

/* ONE PAGE (13 Nov 2026; Rrahul: "ensure simplicity - page shows maya for the day, then user wants to see the maya in
   other attire then clicks on different box and see maya"). Maya large in the HoloBox911 with her placards, her week under
   her, both on one laptop screen (sizes follow the window's height), so a press on a day is seen above it at once. */

/* ---- the hero: three placards, Maya in the HoloBox911, three placards ---- */
.my-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 4px 26px; align-items: center; background: var(--hb-white); border: 1px solid var(--hb-line); border-radius: 18px; padding: 16px 26px 10px; position: relative; overflow: hidden; }
.my-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--hb-spectrum); }
.my-stage { position: relative; display: grid; place-items: center; padding: 0 6px 10px; }
/* The floor under the cabinet, and a soft light behind it, so it stands in a room and not on a page. */
.my-stage::before { content: ''; position: absolute; inset: 4% -34% 2%; background: radial-gradient(closest-side, rgba(0,168,232,.10), rgba(123,42,144,.05) 55%, transparent 100%); pointer-events: none; }
.my-stage::after { content: ''; position: absolute; left: -6%; right: -6%; bottom: 0; height: 26px; background: radial-gradient(closest-side, rgba(15,18,34,.20), transparent 100%); pointer-events: none; }
.my-hbx-hero { width: clamp(150px, 22vh, 220px); z-index: 1; }
/* The small line under her: what the HoloBox911 is showing, and the way back to today while another jacket is looked at. */
.my-showing { grid-column: 1 / -1; margin: 0; min-height: 26px; display: flex; align-items: center; justify-content: center; gap: 4px 10px; flex-wrap: wrap; text-align: center; font-size: 14px; font-weight: 600; color: var(--hb-ink); }
.my-showing .small { font-weight: 400; color: var(--hb-slate); }
.my-showing button.link { font-weight: 600; font-size: 13.5px; text-decoration: underline; }
.my-placs { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
/* A placard SAYS what is set. It is not a button and has no "Change": every change is in Actions. */
.my-plac { border: 1px solid var(--hb-line); border-radius: 14px; padding: 11px 14px 12px; background: var(--hb-white); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; min-width: 0; }
.my-plac .my-lab { grid-area: 1 / 1; font-size: 10.5px; letter-spacing: .16em; color: var(--hb-slate); font-weight: 600; text-transform: uppercase; align-self: center; }
.my-plac b { grid-column: 1 / -1; font-size: 15px; font-weight: 600; color: var(--hb-ink); line-height: 1.35; overflow-wrap: anywhere; }
.my-plac .small { grid-column: 1 / -1; color: var(--hb-slate); overflow-wrap: anywhere; }
/* "See", on This month: the one link on the page (the conversations are read on their own screen). */
.my-plac a { grid-area: 1 / 2; font-size: 12.5px; font-weight: 600; color: var(--hb-blue-deep); }
.my-plac a:hover { text-decoration: underline; }
.my-plac a:focus-visible { outline: 3px solid var(--hb-blue); outline-offset: 2px; border-radius: 4px; }

/* ---- her week: seven HoloBoxes. A press on one is a look at that day's jacket in the large HoloBox911. ---- */
.my-weekhead { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.my-weekhead h2 { margin: 0; }
.my-weekhead .small { color: var(--hb-slate); }
.my-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.my-day { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; text-align: center; padding: 8px 4px 7px; min-height: 0; border: 1px solid transparent; border-radius: 12px; background: none; color: var(--hb-ink); font-weight: 400; }
.my-day:hover { background: var(--hb-mist); border-color: transparent; }
.my-hbx-day { width: clamp(34px, 5.4vh, 52px); margin-bottom: 5px; }
.my-day b { font-size: 13px; font-weight: 600; }
.my-day .small { color: var(--hb-slate); }
/* Today: a green ring, and the word "today" beside the day. */
.my-day.on { outline: 3px solid var(--hb-ok); outline-offset: -1px; background: var(--hb-white); }
/* The day being looked at: a dark frame and a bar under it (not colour alone: it is pressed, and the line under her names it). */
.my-day.look, .my-dot.look { border-color: var(--hb-ink); box-shadow: 0 0 0 1px var(--hb-ink), inset 0 -4px 0 var(--hb-ink); background: var(--hb-mist); }
.my-day:focus-visible, .my-dot:focus-visible, .my-pick:focus-visible { outline: 3px solid var(--hb-blue); outline-offset: 2px; }
/* ---- all thirteen, to look at the same way: a dot of the colour and its name ---- */
.my-all { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 4px 6px; align-items: start; border-top: 1px solid var(--hb-line); padding-top: 10px; margin-top: 2px; }
.my-all > .small { grid-column: 1 / -1; color: var(--hb-slate); }
.my-dot { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 3px; min-height: 0; padding: 6px 2px 7px; border: 1px solid transparent; border-radius: 10px; background: none; font-weight: 400; font-size: 11.5px; line-height: 1.2; color: var(--hb-ink); text-align: center; }
.my-dot:hover { background: var(--hb-mist); border-color: transparent; }
.my-dot i, .my-pick i { display: block; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--hb-white); box-shadow: 0 0 0 1px #c9ceda; flex: none; position: relative; }

/* ---- the small pop-ups opened from Actions (Studio's one pop-up, over this page) ---- */
.my-popend { justify-content: flex-end; align-items: center; margin-top: 14px; gap: 10px; }
#dlgForm:has(.my-popend) { display: flex; flex-direction: column; gap: 12px; }
#dlgForm:has(.my-popend) > h2 { margin: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
#dlgForm:has(.my-popend) > p, #dlgForm:has(.my-popend) fieldset { margin: 0; }
#dlgForm:has(.my-popend) fieldset { display: flex; flex-direction: column; gap: 8px; }
#dlgForm:has(.my-popend) .msg:empty { display: none; }
/* Questions she answers: the list scrolls inside the pop-up, so "Add a question" and "Done" stay in view. */
.my-qs { display: flex; flex-direction: column; max-height: 38vh; overflow: auto; border: 1px solid var(--hb-line); border-radius: 12px; }
.my-qs > p { margin: 0; padding: 14px; }
.my-q { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--hb-line); }
.my-q:first-child { border-top: 0; }
.my-q > div { min-width: 0; overflow-wrap: anywhere; }
/* Change a day's jacket: Maya in the chosen colour at the left, the day and the thirteen colours at the right. */
.my-jk { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: start; }
.my-hbx-pop { width: clamp(110px, 20vh, 168px); }
.my-jkset { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.my-jkset p { margin: 0; }
.my-jkset label { margin: 0; }
.my-picks { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px 6px; }
.my-pick { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; text-align: center; padding: 8px 4px 6px; min-height: 0; border-radius: 12px; border: 2px solid transparent; background: none; font-weight: 400; }
.my-pick:hover:not([disabled]) { background: var(--hb-mist); border-color: transparent; }
.my-pick i { width: 30px; height: 30px; margin-bottom: 2px; }
.my-pick b { font-size: 13px; font-weight: 600; color: var(--hb-ink); }
.my-pick .small { color: var(--hb-slate); min-height: 17px; line-height: 1.3; }
.my-pick[disabled] { opacity: 1; cursor: not-allowed; }
.my-pick[disabled] i { opacity: .35; }
/* The colour the day has now: a green ring AND a tick. The colour just pressed: a dark frame. */
.my-pick.now { border-color: var(--hb-ok); }
.my-pick.now .small { color: var(--hb-ok); font-weight: 600; }
.my-tick { position: absolute; top: -8px; right: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--hb-ok); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.my-pick.on { background: var(--hb-mist); box-shadow: 0 0 0 2px var(--hb-ink); }
.my-pick.on.now { border-color: var(--hb-ok); }
.my-chosen { margin: 0; font-weight: 600; color: var(--hb-ink); }

@media (max-width: 1340px) {
  .my-hero { gap: 4px 18px; padding: 16px 18px 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .my-pick, .my-day, .my-dot { transition: background-color .15s, box-shadow .15s; }
}

/* ================================================================== CONVERSATIONS, AND THE ONE PLAYER (studio-conversations.blade.php) */
.cv-page { display: flex; flex-direction: column; gap: 14px; }

/* ---- the filters, in one row: who, the five slabs with their counts, the order ---- */
.cv-filters { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; }
.cv-filters .chips { display: flex; gap: 6px; flex-wrap: nowrap; }
.cv-filters .chip { min-height: 0; padding: 6px 12px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--hb-white); cursor: pointer; }
.cv-filters .chip:hover { border-color: var(--hb-slate); }
.cv-filters .chip.on { background: var(--hb-ink); color: var(--hb-white); border-color: var(--hb-ink); }
.cv-filters .cv-n { font-weight: 600; color: var(--hb-slate); font-variant-numeric: tabular-nums; }
.cv-filters .cv-n:empty { display: none; }
.cv-filters .chip.on .cv-n { color: var(--hb-white); }
.cv-filters .cv-sort { margin-left: auto; }

/* ---- the list: one row, one conversation; the whole row is the button ---- */
.cv-head, .cv-row { display: grid; grid-template-columns: 44px minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.9fr) auto; gap: 14px; align-items: center; }
.cv-head { padding: 0 16px 0; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--hb-slate); }
.cv-head span:last-child { width: 68px; }
.cv-list { list-style: none; margin: 0; padding: 0; background: var(--hb-white); border: 1px solid var(--hb-line); border-radius: var(--hb-radius); overflow: hidden; }
.cv-list li + li { border-top: 1px solid var(--hb-line); }
.cv-row { width: 100%; text-align: left; border: 0; border-radius: 0; background: none; padding: 11px 16px; min-height: 0; font-weight: 400; justify-content: initial; }
.cv-row:hover { background: var(--hb-mist); }
.cv-row:focus-visible { outline: 3px solid var(--hb-blue); outline-offset: -3px; }
.cv-face { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--hb-mist); border: 1px solid var(--hb-line); display: grid; place-items: center; font-weight: 600; color: var(--hb-purple); }
.cv-face img { width: 100%; height: 100%; object-fit: cover; }
.cv-col { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cv-col b { font-weight: 600; color: var(--hb-ink); overflow-wrap: anywhere; line-height: 1.3; }
.cv-col > span:first-child { color: var(--hb-ink); overflow-wrap: anywhere; line-height: 1.3; }
.cv-col .small { color: var(--hb-slate); }
.cv-rated { align-items: flex-start; gap: 3px; }
.cv-rated .small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.cv-slab { font-weight: 600; white-space: nowrap; }
.cv-go { display: inline-flex; align-items: center; gap: 6px; width: 68px; justify-content: center; font-size: 13px; font-weight: 600; color: var(--hb-blue-deep); border: 1px solid var(--hb-line); border-radius: var(--hb-pill); padding: 5px 0; background: var(--hb-white); }
.cv-go .svg-i { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.cv-more { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 0 8px; }
.cv-more .small { color: var(--hb-slate); }
.cv-none { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cv-none p { margin: 0; }

/* ---- the one player ---- */
dialog.wide.cv-dlg { width: min(1040px, 95vw); }
.cv-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--hb-line); }
.cv-top h2 { margin: 0 0 4px; font-size: 20px; }
.cv-top p { margin: 0; }
.cv-top .small { color: var(--hb-slate); }
.cv-top-rate { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.cv-reason { font-weight: 500; color: var(--hb-ink); }
.cv-play { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; margin-top: 16px; align-items: start; }
.cv-left { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.cv-pic { aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: var(--hb-mist); border: 1px solid var(--hb-line); display: grid; place-items: center; }
.cv-pic img, .cv-pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-initial { font-size: 64px; font-weight: 600; color: var(--hb-purple); }
.cv-ctl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 10px; align-items: center; }
.cv-ctl #cvPlay { min-width: 104px; }
.cv-ctl #cvBar { width: 100%; min-height: 0; padding: 0; accent-color: var(--hb-purple); }
.cv-ctl #cvTime { grid-column: 2; font-variant-numeric: tabular-nums; color: var(--hb-slate); }
.cv-left > .small { margin: 0; color: var(--hb-slate); }
.cv-left > .small.cv-bad { color: var(--hb-bad); }
.cv-left > .small:empty { display: none; }
.cv-right { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.cv-right > .small { margin: 0; color: var(--hb-slate); }
.cv-lines { list-style: none; margin: 0; padding: 12px; max-height: min(56vh, 470px); overflow-y: auto; border: 1px solid var(--hb-line); border-radius: 14px; background: var(--hb-mist); display: flex; flex-direction: column; gap: 8px; position: relative; }
.cv-lines:focus-visible { outline: 3px solid var(--hb-blue); outline-offset: 2px; }
/* The lines Maya spoke sit at the left with a bar on their left; the lines of the person at the right with a bar on
   their right. Each carries the name of who spoke, so they are told apart by place, shape and word, not by colour alone. */
.cv-line { max-width: 84%; display: flex; flex-direction: column; gap: 2px; padding: 8px 12px; border-radius: 12px; background: var(--hb-white); border: 1px solid var(--hb-line); }
.cv-maya { align-self: flex-start; border-left: 4px solid var(--hb-purple); border-top-left-radius: 4px; border-bottom-left-radius: 4px; }
.cv-them { align-self: flex-end; border-right: 4px solid var(--hb-blue-deep); border-top-right-radius: 4px; border-bottom-right-radius: 4px; }
.cv-by b { font-size: 12.5px; font-weight: 600; color: var(--hb-ink); }
.cv-by .small { color: var(--hb-slate); font-variant-numeric: tabular-nums; }
.cv-said { color: var(--hb-ink); overflow-wrap: anywhere; }
/* A line the AI marked, with its reason in words. */
.cv-mark { align-self: flex-start; margin-top: 3px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: var(--hb-pill); background: var(--hb-mist); color: var(--hb-slate); border: 1px solid var(--hb-line); }
.cv-mark-ai { background: var(--hb-warn-bg); color: var(--hb-warn); border-color: transparent; }
.cv-marked { border-color: var(--hb-warn); }
.cv-maya.cv-marked { border-left-color: var(--hb-purple); }
.cv-them.cv-marked { border-right-color: var(--hb-blue-deep); }
/* The line being spoken: a dark frame, and the word "Now". */
.cv-now { box-shadow: 0 0 0 2px var(--hb-ink); }
.cv-now .cv-by::after { content: 'Now'; margin-left: 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--hb-ink); color: var(--hb-white); border-radius: var(--hb-pill); padding: 1px 8px; }
.cv-foot { justify-content: flex-end; align-items: center; margin-top: 14px; gap: 10px; }
.cv-foot .msg { flex: 1; min-width: 0; }

@media (max-width: 1340px) {
  .cv-filters { gap: 8px 10px; }
  .cv-filters .chips { gap: 5px; }
  .cv-filters .chip { padding: 6px 9px; font-size: 12.5px; }
  .cv-head, .cv-row { gap: 10px; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1.8fr) auto; }
}

/* ================================================================== HER DAY'S MUSIC (A-144, 13 Nov 2026)
   Under her week and drawn the way it is: one tile for each part of the day, the one playing now outlined as today
   is; her five moods under it, as her thirteen jackets are. */
.my-plans { display: inline-flex; gap: 6px; margin-left: auto; }
.my-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.my-slot { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; min-height: 0; border: 1px solid var(--hb-line); border-radius: 12px; background: var(--hb-white); color: var(--hb-ink); font-weight: 400; text-align: center; }
.my-slot:hover { background: var(--hb-mist); }
.my-slot.on { outline: 3px solid var(--hb-ok); outline-offset: -1px; }
.my-slot.add { border-style: dashed; justify-content: center; }
.my-slot i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.my-slot i svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.my-slot b { font-size: 13px; font-weight: 600; }
.my-slot .small { color: var(--hb-slate); }
.my-slot:focus-visible { outline: 3px solid var(--hb-blue); outline-offset: 2px; }
.my-moods { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.my-credit { color: var(--hb-slate); font-size: 12px; margin: 0; }
.my-tracks { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--hb-line); border-radius: 12px; padding: 8px 12px; margin-top: 4px; }
.my-track { gap: 10px; align-items: center; padding: 4px 0; border-top: 1px solid var(--hb-mist); }
.my-track .grow { min-width: 0; }
.chip .my-sw { display: inline-block; width: 14px; height: 14px; border-radius: 50%; margin-right: 6px; vertical-align: -2px; }
@media (max-width: 640px) { .my-plans { margin-left: 0; } .my-moods { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
