/* 12-call-transcriber.css - the live call screen (Call Transcriber, Sam, 9 Nov 2026: "this page looks like shit"; copy
   the old Call Transcriber's layout and look). The old one's shape: one bar across the top (the name, a small square
   that says idle or listening, the microphone, then on the right Start transcribing in the brand colour,
   Pause, Stop in red, + Marker, History and a ... menu with Copy all and New conversation); the two sides
   under it (below); the words filling
   the rest of the screen, one row a line with who said it in small capitals; and a bar pinned at the foot with Copy
   since last marker and + Marker. Edge to edge, sharp corners, drawn from the kit's tokens, nothing heavier than 600.
   Everything is inside .gg-tr, so nothing else in the kit changes. */
/* THE PANEL FITS THE WINDOW AND THE BACKDROP SHOWS THROUGH IT (Call Picker, Sam 11 Nov 2026). Its height already leaves
   room for the bar at the foot, so the page under it needs none: with it the page ran 56px past the window and scrolled. */
#ggMain:has(> * > .gg-tr){max-width:none;padding-left:16px;padding-right:16px;padding-bottom:0}
.gg-tr{display:flex;flex-direction:column;height:calc(100vh - var(--gg-tr-top,140px) - 12px);
  height:calc(100dvh - var(--gg-tr-top,140px) - 12px);min-height:420px;
  background:color-mix(in srgb,var(--paper) 86%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border:1px solid var(--hair);font-family:var(--ui);font-size:15px;line-height:1.55;color:var(--ink)}
.gg-tr [hidden]{display:none}
.gg-tr-sp{flex:1 1 auto}

/* the bar across the top */
.gg-tr-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 16px;border-bottom:1px solid var(--hair)}
.page.page--hero .gg-tr-bar .head{display:block;flex:0 0 auto;width:auto;margin:0;padding:0}
.page.page--hero .gg-tr-bar .head h1{display:block;margin:0;font:600 16px/1.3 var(--ui);letter-spacing:.01em;text-transform:none;color:var(--ink)}
.page.page--hero .gg-tr-bar .gg-hero-ic{display:none}
.gg-tr-state{display:inline-flex;align-items:center;gap:7px;max-width:360px;min-width:0;font-size:12.5px;line-height:1.3;color:var(--ink-3)}
.gg-tr-state [data-tr="status"]:empty::before{content:"idle"}
.gg-tr-dot{width:8px;height:8px;flex:0 0 8px;background:var(--idle)}
.gg-tr[data-state="live"] .gg-tr-dot{background:var(--ok);box-shadow:0 0 0 3px color-mix(in srgb,var(--ok) 22%,transparent)}
.gg-tr[data-state="paused"] .gg-tr-dot{background:var(--warn)}
.gg-tr .bd-select{width:auto;max-width:220px;height:34px;padding:0 8px;background:var(--glass-ctl);font:400 13px var(--ui)}
.page.page--hero .gg-tr :is(.btn,.btn-sm).gg-tr-go{background:var(--primary);border-color:var(--primary);color:var(--on-primary)}
.page.page--hero .gg-tr :is(.btn,.btn-sm).gg-tr-go:is(:hover,:focus-visible){background:var(--primary);border-color:#E8B44F;color:var(--on-primary)}
.page.page--hero .gg-tr :is(.btn,.btn-sm).gg-tr-stop{background:var(--bad);border-color:var(--bad);color:#fff}
.page.page--hero .gg-tr :is(.btn,.btn-sm).gg-tr-stop:disabled{opacity:.4}
.gg-tr[data-state="paused"] .btn[data-tr="pause"]{background:var(--warn);border-color:var(--warn);color:#2E1A04}

/* the ... menu */
.gg-tr-more{position:relative}
.gg-tr-more > summary{list-style:none;min-width:42px;justify-content:center}
.gg-tr-more > summary::-webkit-details-marker{display:none}
.gg-tr-more > summary svg{width:16px;height:16px;fill:currentColor;stroke:none}
.gg-tr-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:30;min-width:220px;padding:6px 0;
  background:var(--glass);border:1px solid var(--ink-3);box-shadow:0 8px 24px rgba(0,0,0,.35)}
.gg-tr-menu button{display:block;width:100%;padding:9px 14px;border:0;background:none;text-align:left;
  font:500 13.5px/1.3 var(--ui);color:var(--ink);cursor:pointer}
.gg-tr-menu button:hover,.gg-tr-menu button:focus-visible{background:color-mix(in srgb,var(--ink) 8%,transparent);outline:0}

/* THE TWO SIDES (Sam, 9 Nov 2026: "big circular icons ... you is very much left, other side is very much right"; "you set
   up the settings big in the middle, and when you hit start transcribe, those settings go up to the top"). .gg-tr-sides
   holds the call picker (.gg-tr-pick), the pair (.gg-tr-pair: two .gg-tr-side, data-side="me" and "other", each a
   .gg-tr-face holding the person's Identities circle, a .gg-tr-label, then their name and sound drop-downs) and the big
   Start (.gg-tr-big). data-mode="setup" on .gg-tr shows it large in the middle; data-mode="call" folds it into one
   slim row under the top bar, You on the left and Other side on the right. --lvl (0 to 1) on a side is how loud it is
   now: its circle's ring grows with it, so a person sees they are being heard. */
.gg-tr-sides{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:28px;padding:32px 16px}
/* THE CALL PICKER where the call's name was (Call Picker, Sam 11 Nov 2026: "obviously a drop-down"): the call's name
   large, in a drop-down with its arrow - saved call links, upcoming calls, Add a call link */
.gg-tr-sides .bd-select.gg-tr-pick{width:auto;min-width:min(300px,100%);max-width:min(460px,100%);height:46px;padding:0 14px;
  font:600 18px/1.3 var(--ui);text-align:center;text-align-last:center}
.gg-tr-pair{display:flex;align-items:flex-start;justify-content:center;gap:24px;width:100%;max-width:760px}
.gg-tr-side{display:flex;flex-direction:column;align-items:center;gap:10px;flex:1 1 0;min-width:0}
.gg-tr-face{position:relative;display:inline-flex;width:120px;height:120px;border-radius:50%;
  box-shadow:0 0 0 calc(4px + var(--lvl,0) * 18px) color-mix(in srgb,var(--ok) calc(18% + var(--lvl,0) * 40%),transparent);
  transition:box-shadow .08s linear}
.gg-tr-side:not([data-on]) .gg-tr-face{box-shadow:0 0 0 4px color-mix(in srgb,var(--ink) 8%,transparent)}
.gg-tr-face > .gg-id{flex:0 0 100%;width:100%;height:100%}
span.gg-tr-face > .gg-id.gg-id > svg{width:58%;height:58%;flex:0 0 58%}
.gg-tr-face.is-none{opacity:.45}
.gg-tr-label{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3)}
.gg-tr-side .bd-select{width:100%;max-width:260px}
.gg-tr-link{flex:0 0 64px;align-self:center;margin-top:-90px;height:2px;
  background:repeating-linear-gradient(90deg,var(--hair) 0 6px,transparent 6px 12px)}
.gg-tr[data-state="live"] .gg-tr-link{background:repeating-linear-gradient(90deg,var(--ok) 0 6px,transparent 6px 12px)}
.page.page--hero .gg-tr :is(.btn,.btn-sm).gg-tr-big{height:48px;padding:0 32px;font-size:16px}
/* both ways in, side by side (Sam, 12 Nov 2026: "I already have the meeting open, I dont want to open it again", "maybe need
   both options"): .gg-tr-gos holds the big Start and, when the call has a link, Join and transcribe beside it; wraps on a phone */
.gg-tr-gos{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.gg-tr-gos > [hidden]{display:none}
/* Join a call's list of calls opens upwards from the big button, centred on it, and scrolls when long (Sam, 12 Nov 2026: the
   call picker moved onto Join) */
.gg-tr-gos .gg-tr-menu{top:auto;bottom:calc(100% + 4px);right:auto;left:50%;transform:translateX(-50%);
  max-height:min(360px,60vh);overflow-y:auto}
.gg-tr[data-mode="setup"] :is(.gg-tr-lines,.gg-tr-foot,.gg-tr-bar [data-tr="start2"],.gg-tr-bar .gg-tr-name){display:none}
.gg-tr[data-mode="setup"] .gg-tr-sides{flex:1 1 auto}
/* nothing to pause, stop or mark before a call: those buttons wait until it starts */
.gg-tr[data-mode="setup"] .gg-tr-bar :is([data-tr="pause"],[data-tr="stop"],[data-tr="marker"]){display:none}

/* in a call: one slim row, You left and Other side right, the name in the top bar */
.gg-tr[data-mode="call"] :is(.gg-tr-pick,.gg-tr-big,.gg-tr-gos,.gg-tr-link,.gg-tr-label){display:none}
.gg-tr[data-mode="call"] .gg-tr-sides{flex-direction:row;gap:12px;padding:8px 16px;border-bottom:1px solid var(--hair);
  background:color-mix(in srgb,var(--ink) 3%,var(--paper))}
.gg-tr[data-mode="call"] .gg-tr-pair{max-width:none;justify-content:space-between;gap:12px}
.gg-tr[data-mode="call"] .gg-tr-side{flex-direction:row;flex:0 1 auto;gap:8px}
.gg-tr[data-mode="call"] .gg-tr-side[data-side="other"]{flex-direction:row-reverse}
.gg-tr[data-mode="call"] .gg-tr-face{width:36px;height:36px;flex:0 0 36px;
  box-shadow:0 0 0 calc(2px + var(--lvl,0) * 8px) color-mix(in srgb,var(--ok) calc(18% + var(--lvl,0) * 40%),transparent)}
.gg-tr[data-mode="call"] .gg-tr-side:not([data-on]) .gg-tr-face{box-shadow:0 0 0 2px color-mix(in srgb,var(--ink) 8%,transparent)}
.gg-tr[data-mode="call"] .gg-tr-side .bd-select{width:auto;max-width:200px}
.gg-tr-bar .gg-tr-name{min-width:0;max-width:340px;padding:0;border:0;background:none;font:500 14px/1.3 var(--ui);color:var(--ink-2);
  cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gg-tr-bar .gg-tr-name:hover{text-decoration:underline;text-underline-offset:3px}

/* being heard and turned into words: a row at the end of the words for each side with sound on its way, its dots moving */
.gg-tr-wait{display:flex;gap:12px;align-items:center;padding:5px 0}
.gg-tr-wait .gg-tr-who{color:var(--ink-3)}
.gg-tr-dots{display:inline-flex;gap:5px}
.gg-tr-dots i{width:6px;height:6px;border-radius:50%;background:var(--ink-3);animation:gg-tr-dot 1.2s infinite ease-in-out}
.gg-tr-dots i:nth-child(2){animation-delay:.15s}
.gg-tr-dots i:nth-child(3){animation-delay:.3s}
@keyframes gg-tr-dot{0%,80%,100%{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){.gg-tr-dots i{animation:none;opacity:.6}.gg-tr-face{transition:none}}

/* the words */
.gg-tr-lines{flex:1 1 auto;min-height:0;overflow-y:auto;padding:18px 16px}
.gg-tr-row{display:flex;gap:12px;align-items:baseline;padding:5px 0}
.gg-tr-who{flex:0 0 64px;text-align:right;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--info)}
.gg-tr-row[data-src="other"] .gg-tr-who{color:var(--warn)}
.gg-tr-said{flex:1 1 auto;min-width:0;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.gg-tr-mark{margin:12px 0 6px;padding-top:10px;border-top:1px solid var(--primary);font-size:12px;font-weight:600;
  letter-spacing:.05em;text-transform:uppercase;color:var(--primary)}
:root[data-theme="dark"] .gg-tr-mark{border-top-color:var(--info);color:var(--info)}
/* copy one section (Sam, 19 Nov 2026: "a one-click copy at the bottom and the top of each section... A section is between
   two markers"): a quiet small button under the marker that opens a section, and another above the marker that closes it,
   lined up with the words. Never selected with the words, so a copy by hand never picks up its label. */
.gg-tr-sec{display:flex;padding:3px 0 3px 76px;-webkit-user-select:none;user-select:none}
.page.page--hero .gg-tr .gg-tr-sec :is(.btn,.btn-sm,.btn-q){height:22px;padding:0 9px;gap:6px}

/* the bar at the foot */
.gg-tr-foot{display:flex;align-items:center;gap:12px;padding:9px 16px;border-top:1px solid var(--hair);
  background:color-mix(in srgb,var(--ink) 3%,var(--paper))}
.gg-tr-hint{font-size:12.5px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}

@media (max-width:760px){
  #ggMain:has(> * > .gg-tr){padding-left:0;padding-right:0}
  .gg-tr{min-height:0;border-left:0;border-right:0}
  .gg-tr-bar{padding:10px 12px}
  .gg-tr-bar .gg-tr-sp{display:none}
  .gg-tr-lines,.gg-tr-foot{padding-left:12px;padding-right:12px}
  .gg-tr-sides{padding:24px 12px;gap:22px}
  .gg-tr-pair{gap:10px}
  .gg-tr-link{flex-basis:16px;margin-top:-70px}
  .gg-tr-face{width:84px;height:84px}
  .gg-tr[data-mode="call"] .gg-tr-sides{padding:8px 12px}
  .gg-tr[data-mode="call"] .gg-tr-pair{flex-direction:column;gap:6px}
  .gg-tr[data-mode="call"] .gg-tr-side[data-side="other"]{flex-direction:row}
  .gg-tr[data-mode="call"] .gg-tr-side .bd-select{max-width:42vw}
  .gg-tr-who{flex-basis:52px}
  .gg-tr-sec{padding-left:64px}
  .gg-tr-hint{display:none}
}
