/* float.css - the Bell (bottom left) and Chat (bottom right) on every screen, as the old Workspace
 * has them (Sam, 30 Oct 2026). The Bell is the old Workspace's own, in a frame: these are its
 * host rules from notify.js. Chat is a button in the kit's colours with its sharp corners. */
#gg-notify { position: fixed; left: 24px; bottom: 24px; z-index: 2147482999; width: 56px; height: 56px; }
#gg-notify iframe { width: 100%; height: 100%; border: 0; display: block; background: transparent; color-scheme: normal; }
/* the frame is seen only once the Bell in it has spoken (shell.js), so a gateway's error page never shows in its corner */
#gg-notify:not(.gg-alive) iframe { visibility: hidden; }
#gg-notify.open { left: 0; top: 0; bottom: 0; width: 100vw; height: 100vh; height: 100dvh;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html.gg-notify-open .gg-float--chat { display: none !important; }
.gg-float { position: fixed; bottom: 24px; z-index: 900; width: 56px; height: 56px; display: flex;
  align-items: center; justify-content: center; background: var(--primary); color: var(--on-primary);
  border-radius: 0; box-shadow: 0 4px 14px rgba(0, 0, 0, .28); text-decoration: none; transition: transform .15s; }
.gg-float:hover, .gg-float:focus-visible { transform: translateY(-2px); color: var(--on-primary); }
.gg-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; }
.gg-float--chat { right: 24px; }
@media (max-width: 600px) {
  .gg-float { bottom: 16px; width: 52px; height: 52px; }
  #gg-notify { left: 16px; bottom: 16px; }
  #gg-notify.open { left: 0; bottom: 0; }
  .gg-float--chat { right: 16px; }
}
/* a page's own table buttons, moved into the table's one-row toolbar (shell.js tableTools): the
 * toolbar's compact boxes (kit 2.6.8) */
.gg-gl-bar .gg-gl-tool { order: 7; flex: 0 0 auto; display: inline-flex; align-items: center; height: 32px; padding: 0 9px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: normal; text-transform: none; color: var(--ink); background: var(--glass-ctl, var(--paper)); border: 1px solid var(--hair);
  border-radius: 0; box-shadow: none; white-space: nowrap; }
.gg-gl-bar .gg-gl-tool:hover { border-color: var(--primary); color: var(--ink); }
/* a page's New buttons, moved into its toolbar: first on the row, the toolbar's height */
.gg-gl-bar .gg-new.gg-gl-tool { order: 0; display: inline-flex; align-items: center; gap: 8px; }
.gg-gl-bar .gg-new.gg-gl-tool svg { width: 15px; height: 15px; flex: 0 0 15px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.gg-gl-bar .gg-new.gg-gl-tool:hover { border-color: #E8B44F; color: #B7862A; }
.gg-ws-bar .gg-new { order: -1; }
.gg-ws-bar .gg-new:last-of-type { margin-right: auto; }
/* a page with no toolbar keeps its New buttons under its title, centred, so the title stays centred */
.page.page--hero .head { flex-wrap: wrap; width: 100%; box-sizing: border-box; }
.page.page--hero .head > .btn-row { flex: 1 1 100%; max-width: none; justify-content: center; margin-top: 8px; }
/* THE HOME TILES, as the old Workspace's (Sam, 30 Oct 2026): darker toward the bottom, the app's icon in a
 * ring beside its bold name, and a ? at the top right that shows what the app is */
.gg-home .tile { position: relative; overflow: hidden; }
.gg-home .tile::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6, 12, 20, .94) 0%, rgba(6, 12, 20, .72) 38%, rgba(6, 12, 20, .25) 70%, rgba(6, 12, 20, .15) 100%); }
.gg-home .gg-home-name { position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 12px; }
.gg-home .gg-home-name .an { color: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; font-weight: 700; line-height: 1.2; }
.gg-home .gg-home-ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: rgba(8, 17, 29, .62); border: 1px solid rgba(255, 255, 255, .28); color: #7FC6DE; }
.gg-home .gg-home-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; }
.gg-home .gg-home-qm { position: absolute; top: 14px; right: 14px; z-index: 2; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(8, 17, 29, .55);
  border: 1px solid rgba(255, 255, 255, .35); color: #fff; font: 700 13px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; cursor: help; }
.gg-home .gg-home-tip { position: absolute; top: 46px; left: 14px; right: 14px; z-index: 3; padding: 10px 12px; background: #08111D;
  border: 1px solid rgba(255, 255, 255, .18); color: #DDDFE2; font: 13px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4); opacity: 0; visibility: hidden; transition: opacity .12s ease; }
.gg-home .gg-home-qm:is(:hover, :focus-visible) + .gg-home-tip { opacity: 1; visibility: visible; }
.gg-home .tile .a-face { display: none; }
/* an app's photo from the old Workspace's home, covering its tile under the darkening */
.gg-home .tile.gg-home-pic { background-size: cover; background-position: center; background-repeat: no-repeat; }
.gg-home .tile.gg-home-pic::before { display: none; }
/* the name, its icon and the ? sit above the darkening, never under it */
.gg-home .tile::after { z-index: 1; }
.gg-home .gg-home-name { z-index: 3; }
.gg-home .gg-home-name .an { color: #fff !important; opacity: 1 !important; }
.gg-home .gg-home-qm { z-index: 4; }
.gg-home .gg-home-tip { z-index: 5; }
@media print { .gg-float, #gg-notify { display: none; } }

/* THE BELL AND CHAT FLOAT IN THE BOTTOM CORNERS, WITH NO FOOTER (Sam, 25 Nov 2026: "remove the footer ... so the page can go
   right to bottom. but keep the bell and message icons where they are"). Both are 42px circles 7px above the window's foot, the
   Bell bottom left and Chat bottom right, and the page runs to the window's bottom edge behind them. --gg-foot-safe keeps them
   clear of a phone's home bar. */
:root { --gg-float-d: 42px; --gg-float-up: 7px; --gg-foot-safe: env(safe-area-inset-bottom, 0px); }
/* the Bell's frame is 100px, its round button 18px in from the frame's left and 22px up from its foot
   (bell-window.html), so the frame hangs 22px below the window for the button to sit 7px above the bottom edge */
#gg-notify:not(.open) { left: -4px; bottom: calc(var(--gg-foot-safe) + var(--gg-float-up) - 22px); width: 100px; height: 100px; }
.gg-float { bottom: calc(var(--gg-foot-safe) + var(--gg-float-up)); width: var(--gg-float-d); height: var(--gg-float-d); border-radius: 50%; }
.gg-float svg { width: 21px; height: 21px; }
.gg-float--chat { right: 14px; }
@media (max-width: 600px) {
  #gg-notify:not(.open) { left: -8px; }
  .gg-float--chat { right: 10px; }
}
/* the Phone App's tabs fill the window's foot, so its Bell sits just above them, its clear frame clear of the tabs too, so a
   tap on a tab never lands in it (Sam, 1 Dec 2026 21:39: "I cannot see the bell on Workspace") */
body.gg-app { --gg-float-up: 88px; }

/* a folder's pencil shows on hover, beside its bin (modules/docs) */
.gg-folder-rename { opacity: 0; transition: opacity .15s; }
div:hover > .gg-folder-rename, .gg-folder-rename:focus-visible { opacity: 1; }
[contenteditable].gg-fname { outline: 2px solid #E8B44F; outline-offset: 2px; background: rgba(9,18,32,.6); padding: 0 4px; cursor: text; }

/* a page's View drop-down, where a page has a few views of one thing (Hours) */
.gg-viewpick { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.gg-viewpick .ggsort { height: 32px; min-width: 160px; font-size: 12.5px; font-weight: 600; color: var(--ink); }

/* a call's one-click Join (Sam, 31 Oct 2026) */
.gg-join { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; font-size: 12px; font-weight: 600; }
.gg-join svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Read aloud and voice typing on a document (Docs and the Bible), bottom centre, side by side, clear of the Bell
 * and Chat, as the old Workspace has them (moved there 23 Oct; V2 1 Nov 2026). The kit's colours, sharp corners.
 * .is-on while reading or listening. */
.gg-float--voice { left: calc(50% - 28px); }
.gg-float--voice.is-on { background: var(--bad); color: #fff; }
.gg-float--read { left: calc(50% - 96px); }
.gg-float.is-on { background: var(--ink); color: var(--paper); }
.gg-float.is-on:hover, .gg-float.is-on:focus-visible { color: var(--paper); }
.gg-float-say { position: fixed; bottom: 88px; left: 50%; transform: translateX(-50%); z-index: 900; max-width: min(90vw, 420px);
  padding: 6px 10px; background: var(--glass, var(--paper)); color: var(--ink); border: 1px solid var(--hair); font-size: 13px; text-align: center; }
.gg-float-say:empty { display: none; }
@media (max-width: 600px) {
  .gg-float--read { left: calc(50% - 90px); }
  .gg-float-say { bottom: 76px; }
}
/* the voice button (the kit's Speak to write) stands bottom centre, a document's Read aloud just to its left,
   and what they say shows just above them */
.gg-float--voice { left: calc(50% - var(--gg-float-d) / 2); }
.gg-float--read { left: calc(50% - var(--gg-float-d) * 1.5 - 14px); }
.gg-float-say { bottom: calc(var(--gg-float-d) + var(--gg-float-up) + 8px + var(--gg-foot-safe)); }

/* A section's tabs in named sets, side by side in one row (Sam, 2 Nov 2026: Admin as Servers and
 * connections, Claudes, Accounts and keys). shell/app.py section_tabs draws them. */
.tabs--section.tabs--sets { align-items: flex-start; gap: 14px; overflow: visible; }  /* tabs never scroll sideways (Sam, 3 Nov 2026) */
.tabs-set { display: flex; flex-direction: column; gap: 3px; flex: 0 0 auto; }
.tabs-set + .tabs-set { padding-left: 14px; border-left: 1px solid var(--hair); }
.tabs-set__label { padding: 2px 2px 0; font-size: 10.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.tabs-set__row { display: flex; gap: 3px; }
.page .tabs.tabs--sets .tabs-set__row :is(a, button) { min-width: 0; flex: 0 0 auto; padding-left: 9px; padding-right: 9px; gap: 5px; }

/* A section's tabs in named sets (Sam, 3 Nov 2026: Admin as Servers, Doors, Links, Claudes, Accounts and
 * Changes): the sets side by side in one row across the page, room between them, each in its own colour
 * (by its place, the 1st to the 6th) and every one the same width. Each set is a dropdown ("rather than
 * displaying all, make each a dropdown, with an icon to represent that it's a dropdown"): a button with its
 * icon, its name and a down arrow; open, its tabs as one list under it, every tab the same width. The set
 * holding the page you are on is filled in its colour. shell.js keeps one open at a time. Narrower than
 * 900px the sets are three across; a phone has two. */
.page .tabs.tabs--section.tabs--sets { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: row;
  align-items: start; gap: 10px 18px; width: calc(100vw - 40px); max-width: none; margin-left: 50%; margin-right: 0;
  transform: translateX(-50%); overflow: visible; padding: 8px 14px; position: relative; z-index: 30; }
.tabs--section.tabs--sets .tabs-set { position: relative; display: block; min-width: 0; padding: 0; border: 0; }
.tabs--section.tabs--sets .tabs-set + .tabs-set { padding-left: 0; border-left: 0; }
.tabs--section.tabs--sets .tabs-set__label { display: flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer;
  list-style: none; padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--set-c, var(--hair)) 55%, var(--hair));
  border-top: 3px solid var(--set-c, var(--hair)); color: var(--set-c, var(--ink-3)); background: transparent;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; user-select: none; }
.tabs--section.tabs--sets .tabs-set__label::-webkit-details-marker { display: none; }
.tabs--section.tabs--sets .tabs-set__label::marker { content: ""; }
.tabs--section.tabs--sets .tabs-set__label:hover { border-color: var(--set-c, var(--primary)); }
.tabs--section.tabs--sets .tabs-set__label svg { width: 14px; height: 14px; flex: 0 0 14px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabs--section.tabs--sets .tabs-set__label .tabs-set__arrow { margin-left: 2px; transition: transform .15s ease; }
.tabs--section.tabs--sets .tabs-set[open] .tabs-set__arrow { transform: rotate(180deg); }
.tabs--section.tabs--sets .tabs-set--here .tabs-set__label { background: var(--set-c); border-color: var(--set-c); color: #fff; }
.tabs--section.tabs--sets .tabs-set__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
.tabs--section.tabs--sets details.tabs-set[open] > .tabs-set__row { position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 100%; width: max-content; max-width: calc(100vw - 24px);
  z-index: 40; padding: 4px; background: var(--glass, var(--paper)); border: 1px solid var(--set-c, var(--hair));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28); }
.page .tabs.tabs--section.tabs--sets .tabs-set__row :is(a, button) { display: block; min-width: 0; width: 100%; padding: 6px 8px;
  font-size: 12px; letter-spacing: 0; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  border-color: transparent; background: transparent; }
.page .tabs.tabs--section.tabs--sets .tabs-set__row :is(a, button) svg { display: inline-block; vertical-align: -1px; margin-right: 7px; }
.page .tabs.tabs--section.tabs--sets .tabs-set__row :is(a, button):hover { border-color: var(--set-c, var(--primary));
  background: color-mix(in srgb, var(--set-c, var(--primary)) 14%, transparent); }
.page .tabs.tabs--section.tabs--sets .tabs-set__row :is(a, button)[aria-selected="true"] { background: var(--set-c, var(--primary));
  border-color: var(--set-c, var(--primary)); color: #fff; }
.tabs--section.tabs--sets .tabs-set:nth-child(6n+1) { --set-c: #4F9FD8; }
.tabs--section.tabs--sets .tabs-set:nth-child(6n+2) { --set-c: #3FA88A; }
.tabs--section.tabs--sets .tabs-set:nth-child(6n+3) { --set-c: #C99A2E; }
.tabs--section.tabs--sets .tabs-set:nth-child(6n+4) { --set-c: #9B7BD8; }
.tabs--section.tabs--sets .tabs-set:nth-child(6n+5) { --set-c: #D9765A; }
.tabs--section.tabs--sets .tabs-set:nth-child(6n+6) { --set-c: #7C8EA3; }
@media (max-width: 899px) { .page .tabs.tabs--section.tabs--sets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .page .tabs.tabs--section.tabs--sets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; margin-left: 0; transform: none; }
  .tabs--section.tabs--sets details.tabs-set:nth-child(even)[open] > .tabs-set__row { left: auto; right: 0; }
}
/* one row of tabs, always (Sam, 3 Nov 2026: "one row of tabs only, NEVER 2 rows!"): on a phone Admin's groups stay
   one row, each its icon and arrow; the name is still read out, and shows in the open list's tabs */
@media (max-width: 899px) {
  .page .tabs.tabs--section.tabs--sets { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; width: 100%;
    margin-left: 0; transform: none; padding: 6px; }
  .tabs--section.tabs--sets .tabs-set__label { gap: 2px; padding: 8px 2px; }
  .tabs--section.tabs--sets .tabs-set__label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tabs--section.tabs--sets .tabs-set:nth-child(n+4)[open] > .tabs-set__row { left: auto; right: 0; }
  .tabs--section.tabs--sets details.tabs-set[open] > .tabs-set__row { min-width: 180px; }
}

/* Above every sign-in screen: the logo, the app's name and which copy this is (Sam, 6 Nov 2026). The place mark itself
 * (.gg-place, .gg-place-own, .gg-place-words, .gg-place-app) is the kit's since kit 2.8.352; only the Workspace's own
 * GG mark and the small logo inside the panel's title are here. */
.gg-place-mark { width: 52px; height: 52px; display: block; flex: none; }
:root[data-theme="dark"] .gg-place-mark { content: url("/shell/static/gg-mark-light.png"); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gg-place-mark { content: url("/shell/static/gg-mark-light.png"); } }
.gg-signin-to-own { display: inline-flex; align-items: center; justify-content: center; flex: none; border-radius: 50%;
  overflow: hidden; color: var(--own-glow, #fff);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--own-main) 55%, var(--own-deep)), var(--own-deep) 72%);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--own-glow) 60%, transparent), 0 0 12px -2px var(--own-main); }
.gg-signin-to-own { width: 34px; height: 34px; }
.gg-signin-to-own svg { width: 20px; height: 20px; fill: currentColor; }
.gg-signin-to-own img { width: 100%; height: 100%; object-fit: cover; }
.gg-signin h1.gg-signin-to { display: flex; align-items: center; gap: 10px; }

/* THE BELL'S PANEL (Sam, 9 Nov 2026: "The Bell pop-up should use the Workspace V1 Bell design"). What the floating Bell opens
 * (/bell/panel, drawn by modules/bell/bell.js): Workspace V1's notification centre (GG Chat's notify.html, 15-16 Oct 2026),
 * copied in look. One panel in the page's own surface: a top row of person tabs with counts, Category and Sort and the close
 * cross on its right; a full-width row of type tabs, each its icon and count, the chosen one underlined; then the items, each a
 * chevron, a square icon box in its type's colour, its title, its type and who waits, who sent it and how long ago. A row opens
 * in place on a raised band with the item's words and its buttons. The kit's tokens throughout, so it follows light and dark;
 * sharp corners, semi-bold at most. A type's colour is its tone: data-tone on the row or tab. */
.gg-bellp { --k: var(--ink-3); position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--glass-hi, var(--paper)), var(--glass-lo, var(--paper))); color: var(--ink); }
/* THE BELL OPENS ONCE, WITH NO BACKGROUND PICTURE (HQ project "Bell - the one home for blockers", Sam, 24 Nov 2026). The panel is a
 * page of its own in the Bell's frame: its head put the last picture on before the first paint and the look then swapped in
 * another, so the Bell showed a picture and redrew without one. Its body never wears one, and the panel is solid, so nothing
 * behind it (the picture, the page's own title) shows through. */
html:where(:not(.gg-marked *,.gg-marked)):has(.gg-bellp) body,html:is(.ggm-bell,.gg-bellp:not(*)) body { background-image: none !important; }
.gg-bellp [data-tone="danger"] { --k: var(--bad); }
.gg-bellp [data-tone="info"] { --k: var(--primary); }
.gg-bellp [data-tone="warn"] { --k: var(--warn); }
.gg-bellp [data-tone="ok"] { --k: var(--ok); }
.gg-bellp [data-tone="muted"] { --k: var(--ink-3); }
.gg-bellp [data-tone="all"] { --k: var(--ink-2); }
.gg-bellp-box { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.gg-bellp svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gg-bellp button { font: inherit; color: inherit; cursor: pointer; }
.gg-bellp-n { min-width: 18px; padding: 0 5px; border: 1px solid var(--hair); font-size: 11.5px; font-weight: 600; line-height: 17px;
  text-align: center; color: var(--ink-3); }
/* the top row: whose, then the tools, then the cross */
.gg-bellp-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px 0; background: var(--top-bg); border-bottom: 1px solid var(--hair); }
.gg-bellp-who { display: flex; gap: 4px; min-width: 0; }
.gg-bellp-who button { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 10px 10px 9px; background: none; border: 0;
  border-bottom: 2px solid transparent; font-size: 13px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.gg-bellp-who button svg { width: 15px; height: 15px; }
.gg-bellp-who button:hover { color: var(--ink); }
.gg-bellp-who button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--primary); }
.gg-bellp-who button[aria-selected="true"] .gg-bellp-n { color: var(--ink); }
.gg-bellp-l { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gg-bellp-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; padding-bottom: 4px; }
/* its chooser's own look and its buttons' edge are the kit's (2.8.256) */
.gg-bellp-dd { display: flex; align-items: center; gap: 6px; padding-left: 8px; font-size: 12.5px; color: var(--ink-3); }
.gg-bellp-x { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0 0 4px 6px; padding: 0;
  background: none; border: 0; color: var(--ink-3); }
.gg-bellp-x svg { width: 20px; height: 20px; }
.gg-bellp-x:hover { color: var(--ink); }
/* the type tabs: one row across the panel, every tab the same width */
.gg-bellp-kinds { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 8px 20px; border: 1px solid var(--hair); }
.gg-bellp-kinds button { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; padding: 9px 10px;
  background: var(--glass-ctl, var(--paper)); border: 0; border-right: 1px solid var(--hair); box-shadow: inset 0 -3px 0 transparent;
  font-size: 13.5px; font-weight: 600; color: var(--ink-3); white-space: nowrap; }
.gg-bellp-kinds button:last-child { border-right: 0; }
.gg-bellp-kinds button svg { width: 17px; height: 17px; color: var(--k); }
.gg-bellp-kinds button:hover { color: var(--ink); }
.gg-bellp-kinds button[aria-selected="true"] { background: var(--paper-2); color: var(--ink); box-shadow: inset 0 -3px 0 var(--primary); }
.gg-bellp-kinds button .gg-bellp-n { font-size: 12px; padding: 0 6px; }
.gg-bellp-kinds button[aria-selected="true"] .gg-bellp-n { color: var(--ink); border-color: var(--primary); }
.gg-bellp-kinds + .gg-bellp-list { border-top: 1px solid var(--hair); }
/* the items */
.gg-bellp-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.gg-bellp-none { padding: 40px 24px; margin: 0; text-align: center; font-size: 13px; color: var(--ink-3); }
.gg-bellp-row { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr) auto 34px; column-gap: 18px; align-items: center;
  padding: 14px 28px 14px 56px; border-bottom: 1px solid var(--hair); cursor: pointer; }
.gg-bellp-row:hover { background: color-mix(in srgb, var(--primary) 5%, transparent); }
.gg-bellp-row:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.gg-bellp-chev { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-3); transition: transform .15s; }
.gg-bellp-row:hover .gg-bellp-chev { color: var(--ink); }
.gg-bellp-row[aria-expanded="true"] { background: var(--paper-2); border-bottom-color: transparent; }
.gg-bellp-row[aria-expanded="true"] .gg-bellp-chev { transform: rotate(90deg); color: var(--primary); }
@media (prefers-reduced-motion: reduce) { .gg-bellp-chev { transition: none; } }
.gg-bellp-ic { align-self: center; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid var(--hair); color: var(--ink-2); }
.gg-bellp-ic svg { width: 17px; height: 17px; }
/* the icon and the type together, one column wide enough for the longest type, so the titles line up after them */
.gg-bellp-kind { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 15px; font-weight: 600; white-space: nowrap; }
.gg-bellp-t { min-width: 0; font-size: 15.5px; font-weight: 600; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
/* Chat or Computer, just its icon at the right of the type column, so the icons line up as a column of their own (HQ project
   "Bell - order items by how much they unblock", Sam, 1 Dec 2026); the Bell page's table draws the same icon */
.gg-bellp-by, .gg-bell-by { display: inline-flex; flex: none; color: var(--ink-3); }
.gg-bellp-by { margin-left: auto; }
.gg-bellp-by svg, .gg-bell-by svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the line: its type in its colour, then its title, then how long ago (HQ project "Bell - one Copy prompt button", 24 Nov 2026) */
.gg-bellp-k { color: var(--k); }
/* what an item clears, under its title, so the biggest unblocker reads first (HQ project "Bell - order items by how much they unblock") */
.gg-bellp-clears { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--primary); }
.gg-bellp-blocked { margin: 0 0 8px; padding: 6px 10px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--hair); }
.gg-bellp-blocked b { color: var(--ink); font-variant-numeric: tabular-nums; }
.gg-bellp-when { font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
/* COPY THE PROMPT FROM THE ROW (same project): a small copy button at the end of each line that has a prompt for Claude;
 * one click copies it, and the row stays shut. A line with no prompt keeps the space, so the times line up. */
.gg-bellp-cp { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; background: none;
  border: 1px solid var(--hair); color: var(--ink-3); }
.gg-bellp-cp:hover, .gg-bellp-cp:focus-visible { color: var(--ink); border-color: var(--primary); }
.gg-bellp-cp svg { width: 16px; height: 16px; }
.gg-bellp-row.is-done .gg-bellp-t { color: var(--ink-3); }
.gg-bellp-row.is-done .gg-bellp-ic { opacity: .55; }
/* a row opened in place: its words and its one Copy prompt for Claude, on the raised band */
.gg-bellp-detail { padding: 0 28px 24px 254px; background: var(--paper-2); border-bottom: 1px solid var(--hair); box-shadow: inset 2px 0 0 var(--primary);
  font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.gg-bellp-words > :first-child { margin-top: 0; }
.gg-bellp-words p { margin: 0 0 10px; }
.gg-bellp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
/* a phone: the same panel, the whole screen. Whose is one row across the top, the tools and the cross under it; the type tabs
   stay one row, their icon and count, the name in the tooltip (tabs one row only, Sam, 3 Nov 2026) */
@media (max-width: 700px) {
  .gg-bellp-top { flex-wrap: wrap; padding: 4px 6px 0; gap: 0; }
  .gg-bellp-who { width: 100%; gap: 0; justify-content: space-between; }
  .gg-bellp-who button { flex: 0 1 auto; gap: 5px; padding: 10px 5px 9px; font-size: 12.5px; }
  .gg-bellp-who button svg { display: none; }
  .gg-bellp-who .gg-bellp-n { min-width: 16px; padding: 0 4px; }
  .gg-bellp-tools { flex: 1; flex-wrap: wrap; margin-left: 0; padding: 2px 0 4px; }
  .gg-bellp-x { margin: 0 0 4px auto; }
  .gg-bellp-dd { padding-left: 4px; }
  /* three drop-downs fit a phone only without their words; each select keeps its name for a screen reader (Bell sort, 25 Nov 2026) */
  .gg-bellp-dd > span:first-child { display: none; }
  .gg-bellp-kinds { margin: 8px; }
  .gg-bellp-kinds button { gap: 5px; padding: 9px 2px; }
  .gg-bellp-kinds button .gg-bellp-l { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gg-bellp-kinds button .gg-bellp-n { padding: 0 4px; min-width: 16px; }
  .gg-bellp-row { grid-template-columns: minmax(0, 1fr) 34px; column-gap: 12px; row-gap: 4px; padding: 12px 14px 12px 40px; }
  .gg-bellp-kind { grid-column: 1; grid-row: 1; font-size: 13.5px; gap: 8px; }
  .gg-bellp-kind .gg-bellp-ic { width: 28px; height: 28px; flex-basis: 28px; }
  .gg-bellp-kind .gg-bellp-ic svg { width: 15px; height: 15px; }
  .gg-bellp-row .gg-bellp-t { grid-column: 1; grid-row: 2; }
  .gg-bellp-row .gg-bellp-when { grid-column: 1; grid-row: 3; }
  .gg-bellp-row .gg-bellp-cp, .gg-bellp-row .gg-bellp-cp0 { grid-column: 2; grid-row: 1 / span 3; }
  .gg-bellp-chev { left: 12px; }
  .gg-bellp-t { font-size: 15px; }
  .gg-bellp-detail { padding: 0 14px 20px 16px; }
}
/* A BOARD FILLS THE SCREEN (HQ project "Boards - the redesigned Projects board", Sam and Paul 24 Nov 2026): on a page showing
   a Board (the kit marks it data-gg-board) the board and its sideways bar reach the window's bottom edge; the old bell in the
   corner goes (the Bell is in the top menu) and Chat stays */
html[data-gg-board] { --gg-foot-safe: 0px; }
html[data-gg-board] #gg-notify:not(.open) { display: none; }
/* THE DETAILS DRAWER (shell/page.py details_drawer, project 4mq3wa0m0z, 30 Nov 2026): its fields fill the drawer on every
   object page, a project's too, where the kit's form width would otherwise stop them short of its right edge */
[data-gg-drawer] { max-width: none; }
