/* ------------------------------------------------------------------
   Rideau, wherever you work (#integrations on the home page).
   One task shown three ways: "create a stakeholder map for energy projects
   in Northern Ontario", in the Rideau app, in the Claude desktop app and in
   the ChatGPT desktop app with the Rideau app open inside it. A segmented
   control swaps them; anywhere.js runs the tabs, the fit and the theme.

   Each mockup is a recreation of the real interface, drawn at its own
   size on a fixed canvas (.aw-win) and scaled as one object to the stage:
   1120 by 660 on wide stages, a 560 by 760 narrow-window layout below a
   640 px stage (sidebars collapse, as the real apps do). All three share
   one canvas size, so switching never moves the page. Without script the
   canvas fills the stage unscaled and the first panel shows.

   Dark to light (December 1, 2026). The section starts on the site's dark
   canvas and ends light. Its own colours are custom properties (--aw-*)
   that anywhere.js sets from the scroll position; without script they keep
   the dark values below. Each mockup has two sets of colour properties,
   its product's dark theme and its real light theme, and .aw-stage.is-light
   switches all three at once (a 300 ms colour transition while .aw-flip is
   on, so never under reduced motion).

   Dark colours are sampled from screenshots of each product in dark mode;
   Claude light from screenshots of the Claude desktop app in light mode;
   the Rideau app light theme from the app's own tokens (stone ramp);
   ChatGPT light from its standard light theme.
   Text pairs (WCAG), dark: Rideau #EDEEF0 on #101213 16.5, #A0A3A8 on
   #1A1C1E 6.7, #F26A6E on #1A1C1E 5.6; Claude #ECECEC on #181818 15.4,
   #9C9DA1 on #25262A 5.7; ChatGPT #ECECEC on #111111 16.1, #BDBDBD on
   #111111 10.4, #6FA8FF on #262626 5.9. Light: Rideau #1C1917 on #FFFFFF
   17.5, #57534E on #FFFFFF 7.6, #A82328 on #FFFFFF 7.7; Claude #131313 on
   #FFFFFF 18.9, #5E5E5E on #ECECEC 5.4; ChatGPT #0D0D0D on #FFFFFF 19.4,
   #57534E on #FFFFFF 7.6, #0169CC on #FFFFFF 5.6.
   ------------------------------------------------------------------ */

/* --- the section's own colours ----------------------------------------- */
.anywhere {
  --aw-bg: var(--ink-950);
  --aw-ink: var(--ink-100);
  --aw-ink-2: var(--ink-400);
  --aw-line: var(--ink-700);
  --aw-well: var(--ink-900);
  --aw-well-on: var(--ink-750);
  --aw-well-ring: var(--ink-600);
  --aw-tab-ink: var(--ink-400);
  --aw-focus: var(--signal-500);
  position: relative;
  /* The top 100px stay clear; ::before feathers the ground up into the
     section above. The bottom needs no fade: anywhere.js has the ground
     back on the dark canvas before that edge comes into view. */
  background: linear-gradient(to bottom, transparent 0, transparent 100px, var(--aw-bg) 100px);
  color: var(--aw-ink);
  transition: color 300ms ease;
}
.anywhere::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -180px;
  height: 280px;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0), var(--aw-bg));
  pointer-events: none;
}
.anywhere .lede { color: var(--aw-ink-2); transition: color 300ms ease; }

.aw-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 48px;
  margin-bottom: clamp(28px, 3vw, 40px);
}
.aw-head .lede { max-width: 34em; }

/* --- the segmented control ------------------------------------------- */
.aw-switch { display: flex; justify-content: center; margin-bottom: clamp(20px, 2.4vw, 32px); }
.aw-tabs {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--aw-line);
  border-radius: var(--radius-sm);
  background-color: var(--aw-well);
  transition: background-color 300ms ease, border-color 300ms ease;
}
.aw-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius-button);
  background: none;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--aw-tab-ink);
  white-space: nowrap;
  cursor: pointer;
  transition: color 300ms ease, background-color 300ms ease, box-shadow 300ms ease;
}
.aw-tab:hover { color: var(--aw-ink); }
.aw-tab[aria-selected="true"] { color: var(--aw-ink); background-color: var(--aw-well-on); box-shadow: inset 0 0 0 1px var(--aw-well-ring); }
.aw-tab:focus-visible { outline: 2px solid var(--aw-focus); outline-offset: 2px; }
/* Each platform's mark, monochrome, in the tab's own text colour. */
.aw-tab-i { flex: 0 0 auto; width: 16px; height: 16px; fill: currentColor; }
.aw-tab-i--claude, .aw-tab-i--gpt { fill: currentColor; stroke: none; }
/* The selected tab's hairline. On phones it is the cycle's timer: it fills
   along the tab's foot, then hands on to the next tab, paused while the
   pointer or focus is on the tabs, gone once the visitor picks a tab. On
   wide screens (.aw-scroll) it follows the scroll through each tab's hold. */
.aw-tab-bar { position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 1px; background-color: var(--aw-ink); opacity: 0; transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
:is(.aw-auto, .aw-scroll) .aw-tab[aria-selected="true"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 5px; height: 2px; border-radius: 1px; background-color: var(--aw-ink); opacity: 0.14; pointer-events: none; }
.aw-auto .aw-tab[aria-selected="true"] .aw-tab-bar { opacity: 0.6; animation: aw-fill var(--aw-dwell, 6s) linear forwards; }
.aw-auto.is-paused .aw-tab[aria-selected="true"] .aw-tab-bar { animation-play-state: paused; }
.aw-scroll .aw-tab[aria-selected="true"] .aw-tab-bar { opacity: 0.6; transform: scaleX(var(--aw-fill, 0)); }
@keyframes aw-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- the stage: three frames in one cell ------------------------------ */
.aw-stage {
  display: grid;
  height: clamp(540px, 42vw, 600px);
  container: aw / inline-size;
  --aw-frame-ring: var(--ink-700);
  --aw-frame-shadow: rgba(0, 0, 0, 0.3);
  --aw-frame-edge: rgba(255, 255, 255, 0.09);
}
.aw-stage.is-light {
  --aw-frame-ring: rgba(0, 0, 0, 0.1);
  --aw-frame-shadow: transparent;
  --aw-frame-edge: rgba(0, 0, 0, 0.04);
}
.aw-panel { grid-area: 1 / 1; min-width: 0; min-height: 0; border-radius: var(--radius-lg); }
.aw-panel:focus-visible { outline: 2px solid var(--aw-focus); outline-offset: 3px; }
.aw-stage.is-live .aw-panel {
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.aw-stage.is-live .aw-panel.is-on {
  opacity: 1;
  visibility: visible;
  transition: opacity 200ms ease, visibility 0s linear 0s;
}

.aw-frame {
  position: relative;
  height: 100%;
  border-radius: var(--radius-lg);
  background-color: #111;
  box-shadow: 0 0 0 1px var(--aw-frame-ring), 0 2px 8px var(--aw-frame-shadow);
  overflow: hidden;
}
/* The hairline sits over the canvas so the scaled window never covers it. */
.aw-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--aw-frame-edge);
  border-radius: inherit;
  pointer-events: none;
}
/* The theme change inside the mockups: every colour eases at once. */
.aw-stage.aw-flip .aw-frame,
.aw-stage.aw-flip .aw-frame * {
  transition: background-color 300ms ease, color 300ms ease, border-color 300ms ease, fill 300ms ease, box-shadow 300ms ease;
}

/* --- integrations, centred under the mockups ----------------------- */
/* A white tile, so the row sits on something rather than floating on the
   section's light grey (Michael, December 1, 2026). Its text keeps the light
   palette's own inks whatever the section's scroll state. */
/* Straight on the section's ground, no tile (Michael, December 1, 2026); its
   ink follows the section's theme with everything else. */
.aw-int { max-width: 980px; margin: clamp(64px, 8vw, 112px) auto 0; padding: 0 clamp(20px, 4vw, 56px); text-align: center; }
.aw-int-h { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; color: var(--aw-ink); }
.aw-int-sub { margin: 12px auto 0; max-width: 36em; font-size: 16px; line-height: 1.5; color: var(--aw-ink-2); }
.aw-int-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px clamp(32px, 5vw, 64px); margin: clamp(32px, 3.5vw, 44px) 0 0; padding: 0; list-style: none; }
.aw-int-list li { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 96px; font-size: 15px; font-weight: 500; color: var(--aw-ink); }
.aw-int-list li.is-soon { color: var(--aw-ink-2); }
.aw-int-list em { margin-top: -4px; font-style: normal; font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--aw-ink-2); }
.aw-int-h, .aw-int-sub, .aw-int-list li, .aw-int-list em { transition: color 300ms ease; }
.aw-int-i { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.aw-int-i--claude, .aw-int-i--gpt, .aw-int-i--grok { fill: currentColor; stroke: none; }
.aw-int-i--google { stroke-width: 2.2; }
.aw-int-i--ms { fill: currentColor; stroke: none; }

/* --- the canvas: one window, drawn at real size, scaled to fit ---------- */
.aw-win {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--aw-w, 100%);
  height: var(--aw-h, 100%);
  transform: scale(var(--aw-s, 1));
  transform-origin: 0 0;
  container: awc / inline-size;
  overflow: hidden;
  line-height: 1.3;
  letter-spacing: 0;
  -webkit-user-select: none;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}
.aw-win :where(p, ul, ol, li) { margin: 0; padding: 0; list-style: none; }
.aw-win :where(b) { font-weight: 600; }
.aw-win img { display: block; width: 100%; height: 100%; object-fit: cover; }
.aw-win .i {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mac-lights { display: inline-flex; gap: 8px; flex: 0 0 auto; }
.mac-lights i { width: 12px; height: 12px; border-radius: 50%; background-color: #FF5F57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.25); }
.mac-lights i:nth-child(2) { background-color: #FEBC2E; }
.mac-lights i:nth-child(3) { background-color: #28C840; }

/* --- the Rideau app (Discover) ------------------------------------------ */
.aw-frame--rx {
  --rx-bg: #101213;
  --rx-side: #17191A;
  --rx-surface: #1A1C1E;
  --rx-raise: #232527;
  --rx-on: #25262A;
  --rx-av: #2A2C2F;
  --rx-line: #222427;
  --rx-line-2: #2B2D30;
  --rx-edge: transparent;
  --rx-ink: #EDEEF0;
  --rx-ink-hi: #F2F2F3;
  --rx-ink-soft: #E4E5E7;
  --rx-ink-nav: #C5C7CA;
  --rx-ink-2: #A0A3A8;
  --rx-logo: #8D9096;
  --rx-red: #F26A6E;
  --rx-shadow: rgba(0, 0, 0, 0.25);
  background-color: var(--rx-bg);
}
/* Light: the Rideau app's own light theme (stone ramp, rideau-app globals.css). */
.aw-stage.is-light .aw-frame--rx {
  --rx-bg: #FAFAF9;
  --rx-side: #F5F5F4;
  --rx-surface: #FFFFFF;
  --rx-raise: #F5F5F4;
  --rx-on: #E7E5E4;
  --rx-av: #E7E5E4;
  --rx-line: #E7E5E4;
  --rx-line-2: #D6D3D1;
  --rx-edge: #E7E5E4;
  --rx-ink: #1C1917;
  --rx-ink-hi: #1C1917;
  --rx-ink-soft: #292524;
  --rx-ink-nav: #44403C;
  --rx-ink-2: #57534E;
  --rx-logo: #78716C;
  --rx-red: #A82328;
  --rx-shadow: rgba(28, 25, 23, 0.06);
}
.rx {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  background-color: var(--rx-bg);
  color: var(--rx-ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
}
.rx-mark { width: 15px; height: 15px; fill: #E8383D; flex: 0 0 auto; }
.rx-brand { display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 300; letter-spacing: -0.018em; color: var(--rx-logo, #8D9096); white-space: nowrap; }
.rx-brand b { font-weight: 500; color: var(--rx-ink-hi, #F2F2F3); }

.rx-side { width: 222px; display: flex; flex-direction: column; min-height: 0; padding: 0 6px 8px; background-color: var(--rx-side); box-shadow: inset -1px 0 0 var(--rx-edge); }
.rx-side .rx-brand { height: 49px; padding-left: 4px; }
.rx-nav { margin-top: 14px; }
.rx-nav li { display: flex; align-items: center; gap: 10px; height: 26px; padding: 0 9px 0 11px; border-radius: 7px; color: var(--rx-ink-nav); }
.rx-nav li.is-on { background-color: var(--rx-on); color: var(--rx-ink-hi); font-weight: 500; }
.rx-nav .i { width: 12px; height: 12px; }
.rx-more { margin-left: auto; color: var(--rx-ink-2); }
.rx-recents { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding: 0 9px 0 11px; font-size: 11.5px; color: var(--rx-ink-2); }
.rx-recents .i { width: 12px; height: 12px; }
.rx-promo { display: flex; gap: 10px; margin-top: auto; padding: 8px; border: 1px solid var(--rx-line); border-radius: 9px; background-color: var(--rx-surface); }
.rx-promo-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 6px; background-color: var(--rx-raise); flex: 0 0 auto; }
.rx-promo-ic .rx-mark { width: 18px; height: 18px; }
.rx-promo p { font-size: 11.5px; line-height: 1.4; color: var(--rx-ink-2); }
.rx-promo b { display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--rx-ink-hi); }
.rx-feedback { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 9px 11px; border-top: 1px solid var(--rx-line); color: var(--rx-ink-nav); }
.rx-me { display: flex; align-items: center; gap: 9px; padding: 4px 6px; font-size: 11.5px; color: var(--rx-ink-2); }
.rx-me b { display: block; font-size: 12.5px; font-weight: 500; color: var(--rx-ink-hi); }
.rx-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background-color: var(--rx-av); font-size: 11px; font-weight: 600; color: var(--rx-ink-hi); }

.rx-main { display: grid; grid-template-rows: 50px 39px minmax(0, 1fr); min-width: 0; }
.rx-top { display: flex; align-items: center; padding: 0 14px 0 25px; background-color: var(--rx-surface); }
.rx-toggle { color: var(--rx-ink-nav); }
.rx-title { margin-left: 24px; font-weight: 500; }
.rx-live { display: flex; align-items: center; gap: 5px; margin-left: auto; color: var(--rx-ink-2); }
.rx-live i, .rx-live-tag i { width: 6px; height: 6px; border-radius: 50%; background-color: #E8383D; }
.rx-live b { font-weight: 500; color: var(--rx-ink-hi); }
.rx-search { display: flex; align-items: center; gap: 8px; width: 260px; height: 37px; margin-left: 18px; padding: 0 12px; border: 1px solid var(--rx-line-2); border-radius: 7px; color: var(--rx-ink-2); }
.rx-search kbd { margin-left: auto; font: inherit; font-size: 11.5px; }
.rx-tool { margin-left: 18px; color: var(--rx-ink-nav); }
.rx-tabs { display: flex; justify-content: center; gap: 25px; border-top: 1px solid var(--rx-line); background-color: var(--rx-surface); box-shadow: inset 0 -1px 0 var(--rx-edge); color: var(--rx-ink-2); }
.rx-tabs li { display: flex; align-items: center; padding: 0 8px; white-space: nowrap; }
.rx-tabs li.is-on { color: var(--rx-ink-hi); font-weight: 500; box-shadow: inset 0 -2px 0 var(--rx-ink-hi); }

.rx-body { min-height: 0; overflow: hidden; }
.rx-hero { padding-top: 66px; }
.rx-greet { font-size: 22.5px; font-weight: 500; letter-spacing: -0.02em; text-align: center; color: var(--rx-ink-hi); }
.rx-composer { display: flex; flex-direction: column; justify-content: space-between; width: 627px; max-width: calc(100% - 32px); height: 114px; margin: 18px auto 0; padding: 13px 10px 10px 14px; border: 1px solid var(--rx-line-2); border-radius: 13px; background-color: var(--rx-surface); box-shadow: 0 2px 8px var(--rx-shadow); }
.rx-prompt { color: var(--rx-ink); }
.rx-controls { display: flex; align-items: center; gap: 7px; }
.rx-chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 8px; border-radius: 6px; background-color: var(--rx-raise); font-size: 12.5px; color: var(--rx-ink-hi); white-space: nowrap; }
.rx-chip > span { color: var(--rx-ink-2); }
.rx-chip .i { width: 10px; height: 10px; margin-left: 3px; color: var(--rx-ink-2); }
.rx-chip--end { margin-left: auto; }
.rx-send { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background-color: #E8383D; color: #FFF; flex: 0 0 auto; }
.rx-send .i { width: 14px; height: 14px; stroke-width: 1.8; }

.rx-feed { display: grid; grid-template-columns: 598px minmax(0, 1fr); gap: 22px; margin: 67px -12px 0 1px; }
.rx-story { padding: 18px; border-radius: 11px; background-color: var(--rx-surface); box-shadow: inset 0 0 0 1px var(--rx-edge); }
.rx-story img { height: 281px; border-radius: 8px; object-position: 50% 30%; }
/* The photo credit sits on the image, as the app shows its own (CC BY needs it). */
.rx-story-media { position: relative; }
.rx-credit { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 5px; background-color: rgba(10, 10, 12, 0.72); color: #ECECEC; font-size: 12px; line-height: 1.3; }
.rx-story-h { margin-top: 18px; font-size: 27px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; }
.rx-card { padding: 15px 15px 18px; border: 1px solid var(--rx-line); border-radius: 11px; background-color: var(--rx-surface); }
.rx-card-h { display: flex; justify-content: space-between; font-weight: 500; }
.rx-live-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--rx-red); }
.rx-card-t { margin-top: 14px; color: var(--rx-ink-soft); }
.rx-link { display: flex; align-items: center; gap: 6px; margin-top: 21px; font-weight: 500; color: var(--rx-red); }
.rx-link .i { width: 10px; height: 10px; }
.rx-follow { display: flex; align-items: center; gap: 6px; margin: 36px 0 14px; font-size: 14px; font-weight: 500; }
.rx-follow .i { width: 10px; height: 10px; }
.rx-list p { padding: 0 0 10px; font-size: 12px; color: var(--rx-ink-2); }
.rx-list p + p { padding-top: 10px; border-top: 1px solid var(--rx-line-2); }
.rx-list b { display: block; margin-bottom: 3px; font-size: 13.5px; font-weight: 500; line-height: 1.35; color: var(--rx-ink-hi); }

/* --- Claude (desktop app) ----------------------------------------------- */
.aw-frame--cl {
  --cl-bg: #181818;
  --cl-side: #25262A;
  --cl-side-edge: #2D2F2F;
  --cl-chrome: #C8C9CC;
  --cl-dim: #75767A;
  --cl-seg: #303134;
  --cl-seg-on: #45464A;
  --cl-nav-i: #D7D8DA;
  --cl-ink: #ECECEC;
  --cl-ink-2: #9C9DA1;
  --cl-beta: #34363A;
  --cl-beta-ink: #A5A6A9;
  --cl-recent-on: #3B3C40;
  --cl-rule: #2F3134;
  --cl-top-edge: #2E2E2E;
  --cl-top-i: #D0D0D0;
  --cl-btn-on: #2C2C2E;
  --cl-bubble: #262626;
  --cl-comp: #303030;
  --cl-comp-edge: #3A3A3A;
  --cl-comp-ink: #8E8E8E;
  --cl-comp-shadow: transparent;
  --cl-stop: #F2F2F2;
  --cl-foot: #BDBDBD;
  --cl-disc: #8A8A8A;
  --cl-model: #E5E5E5;
  --cl-model-2: #9A9A9A;
  --cl-prog-edge: #2A2A2A;
  --cl-prog-ink: #D9D9D9;
  --cl-prog-li: #9C9C9C;
  --cl-prog-rule: #3A3A3A;
  background-color: var(--cl-bg);
}
/* Light: sampled from the Claude desktop app in light mode. */
.aw-stage.is-light .aw-frame--cl {
  --cl-bg: #FFFFFF;
  --cl-side: #ECECEC;
  --cl-side-edge: #DCDCDC;
  --cl-chrome: #3A3A3A;
  --cl-dim: #A9A9A9;
  --cl-seg: #E1E1E1;
  --cl-seg-on: #FAFAFA;
  --cl-nav-i: #222222;
  --cl-ink: #131313;
  --cl-ink-2: #5E5E5E;
  --cl-beta: #DFDFDF;
  --cl-beta-ink: #5E5E5E;
  --cl-recent-on: #DADADA;
  --cl-rule: #DCDCDC;
  --cl-top-edge: #E3E3E3;
  --cl-top-i: #3A3A3A;
  --cl-btn-on: #EDEDED;
  --cl-bubble: #F3F3F3;
  --cl-comp: #FFFFFF;
  --cl-comp-edge: #D9D9D9;
  --cl-comp-ink: #858585;
  --cl-comp-shadow: rgba(0, 0, 0, 0.05);
  --cl-stop: #151515;
  --cl-foot: #4A4A4A;
  --cl-disc: #858585;
  --cl-model: #1F1F1F;
  --cl-model-2: #636363;
  --cl-prog-edge: #E5E5E5;
  --cl-prog-ink: #1F1F1F;
  --cl-prog-li: #6B6B6B;
  --cl-prog-rule: #DADADA;
}
.cl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  background-color: var(--cl-bg);
  color: var(--cl-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 13.5px;
}
.cl-side { width: 226px; display: flex; flex-direction: column; min-height: 0; padding: 0 6px; border-right: 1px solid var(--cl-side-edge); background-color: var(--cl-side); }
.cl-chrome { display: flex; align-items: center; gap: 12px; height: 39px; padding-left: 12px; color: var(--cl-chrome); }
.cl-chrome .mac-lights { margin-right: 6px; }
.cl-dim { color: var(--cl-dim); }
.cl-seg { display: inline-flex; margin-left: 4px; padding: 2px; border-radius: 7px; background-color: var(--cl-seg); }
.cl-seg span { display: grid; place-items: center; width: 28px; height: 20px; border-radius: 5px; }
.cl-seg .is-on { background-color: var(--cl-seg-on); }
.cl-nav { margin-top: 4px; }
.cl-nav li, .cl-recents li { display: flex; align-items: center; gap: 10px; height: 29px; padding: 0 12px; border-radius: 7px; white-space: nowrap; }
.cl-nav .i { width: 13px; height: 13px; color: var(--cl-nav-i); }
.cl-beta { padding: 1px 6px; border-radius: 5px; background-color: var(--cl-beta); font-size: 10.5px; color: var(--cl-beta-ink); }
.cl-nav .cl-star { color: #E8B33A; }
.cl-label { display: flex; align-items: center; gap: 4px; height: 29px; margin-top: 17px; padding: 0 12px; font-size: 11.5px; color: var(--cl-ink-2); }
.cl-label .i { width: 9px; height: 9px; }
.cl-recents li { display: block; overflow: hidden; text-overflow: ellipsis; position: relative; }
.cl-recents li.is-on { padding-right: 34px; background-color: var(--cl-recent-on); }
.cl-recents li span { position: absolute; right: 10px; top: 0; line-height: 29px; letter-spacing: 1px; }
.cl-me { display: flex; align-items: center; gap: 6px; height: 40px; margin-top: auto; padding: 0 8px 2px; border-top: 1px solid var(--cl-rule); }
.cl-me > span:not(.cl-av) { font-size: 12px; color: var(--cl-ink-2); }
.cl-me .i { width: 9px; height: 9px; color: var(--cl-ink-2); }
.cl-me .cl-me-end { width: 13px; height: 13px; margin-left: auto; color: var(--cl-chrome); }
.cl-av { width: 17px; height: 17px; margin-right: 3px; border-radius: 50%; background: #4C86E0 radial-gradient(circle, rgba(255, 255, 255, 0.85) 0.8px, transparent 1.2px) 0 0 / 4px 4px; }

.cl-main { display: grid; grid-template-rows: 39px minmax(0, 1fr); min-width: 0; }
.cl-top { display: flex; align-items: center; gap: 12px; padding: 0 10px 0 17px; border-bottom: 1px solid var(--cl-top-edge); color: var(--cl-ink); }
.cl-top-lights { display: none; }
.cl-title { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; }
.cl-title .i { width: 10px; height: 10px; }
.cl-laptop { position: relative; color: var(--cl-top-i); }
.cl-share { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.cl-btn { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; color: var(--cl-top-i); }
.cl-btn.is-on { background-color: var(--cl-btn-on); }
.cl-body { display: grid; grid-template-columns: minmax(0, 1fr) 244px; min-height: 0; }
.cl-col { position: relative; min-width: 0; overflow: hidden; }
.cl-thread { padding: 32px 25px 0 27px; font-size: 13.6px; line-height: 18.4px; }
.cl-thread > * + * { margin-top: 15px; }
.cl-user { width: fit-content; max-width: 474px; margin-left: auto; padding: 9px 14px; border-radius: 10px; background-color: var(--cl-bubble); }
.cl-user + p { margin-top: 34px; }
.cl-tool { display: flex; align-items: center; gap: 8px; color: var(--cl-ink-2); }
.cl-tool-mark { width: 16px; height: 16px; fill: #E8383D; }
.cl-tool .i { width: 10px; height: 10px; margin-left: -2px; }
.cl-thread .cl-h { margin-top: 20px; font-weight: 600; }
.cl-thread .cl-h2 { margin-top: 9px; }
.cl-thread ul { margin-top: 9px; padding-left: 29px; }
.cl-thread ul li { list-style: disc; }
.cl-thread ul li + li { margin-top: 4px; }
.cl-thread ul li::marker { color: var(--cl-ink); }
.cl-thread ul + .cl-h2 { margin-top: 15px; }
.cl-spark { display: block; width: 22px; height: 22px; margin-top: 16px; fill: #D97757; }
.cl-dock { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 10px; background-color: var(--cl-bg); }
.cl-composer { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 12px; border: 1px solid var(--cl-comp-edge); border-radius: 11px; background-color: var(--cl-comp); box-shadow: 0 1px 3px var(--cl-comp-shadow); color: var(--cl-comp-ink); }
.cl-stop { width: 9px; height: 9px; border-radius: 2px; background-color: var(--cl-stop); }
.cl-foot { display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 6px 0 14px; font-size: 12.5px; color: var(--cl-foot); }
.cl-foot .cl-tiny { width: 8px; height: 8px; margin-left: -6px; }
.cl-disc { margin: 0 auto; font-size: 11.5px; color: var(--cl-disc); white-space: nowrap; }
.cl-model { color: var(--cl-model); white-space: nowrap; }
.cl-model span { margin-left: 4px; color: var(--cl-model-2); }
.cl-auto { margin-left: 6px; color: var(--cl-model); }
.cl-progress { padding: 22px 14px; border-left: 1px solid var(--cl-prog-edge); font-size: 12.5px; color: var(--cl-prog-ink); }
.cl-progress ol { margin-top: 13px; padding-left: 16px; border-left: 1.5px solid var(--cl-prog-rule); }
.cl-progress li { line-height: 1.4; color: var(--cl-prog-li); }
.cl-progress li + li { margin-top: 10px; }

/* --- ChatGPT (desktop app) with the Rideau app open ---------------------- */
.aw-frame--cg {
  --cg-win: #181818;
  --cg-chrome: #D0D0D0;
  --cg-dim: #6C6C6C;
  --cg-rail: #C9C9C9;
  --cg-logo: #ECECEC;
  --cg-rule: #333333;
  --cg-app: #2A2A2A;
  --cg-app-mark: #FFFFFF;
  --cg-app-edge: transparent;
  --cg-main: #111111;
  --cg-main-edge: #1F1F1F;
  --cg-line: #2E2E2E;
  --cg-logo-2: #9A9A9A;
  --cg-ink: #F2F2F2;
  --cg-ink-2: #BDBDBD;
  --cg-pill-edge: #3A3A3A;
  --cg-pill-ink: #CFCFCF;
  --cg-card: #1B1918;
  --cg-card-edge: #3A3836;
  --cg-card-ink: #B5B5B5;
  --cg-chat: #262626;
  --cg-chat-edge: #333333;
  --cg-chat-shadow: rgba(0, 0, 0, 0.4);
  --cg-chat-rule: #353535;
  --cg-chat-ink: #ECECEC;
  --cg-chat-i: #D0D0D0;
  --cg-mention: #6FA8FF;
  --cg-send: #FEFEFE;
  --cg-send-ink: #111111;
  background-color: var(--cg-main);
}
/* Light: ChatGPT's standard light theme around the Rideau app's own light
   theme (the app panel takes the Rideau stone ramp). */
.aw-stage.is-light .aw-frame--cg {
  --cg-win: #F9F9F9;
  --cg-chrome: #3C3C3C;
  --cg-dim: #B4B4B4;
  --cg-rail: #3C3C3C;
  --cg-logo: #0D0D0D;
  --cg-rule: #E3E3E3;
  --cg-app: #FFFFFF;
  --cg-app-mark: #E8383D;
  --cg-app-edge: #E3E3E3;
  --cg-main: #FFFFFF;
  --cg-main-edge: #E5E5E5;
  --cg-line: #E7E5E4;
  --cg-logo-2: #78716C;
  --cg-ink: #1C1917;
  --cg-ink-2: #57534E;
  --cg-pill-edge: #E7E5E4;
  --cg-pill-ink: #44403C;
  --cg-card: #FAFAF9;
  --cg-card-edge: #E7E5E4;
  --cg-card-ink: #57534E;
  --cg-chat: #FFFFFF;
  --cg-chat-edge: #E3E3E3;
  --cg-chat-shadow: rgba(0, 0, 0, 0.08);
  --cg-chat-rule: #EDEDED;
  --cg-chat-ink: #0D0D0D;
  --cg-chat-i: #5D5D5D;
  --cg-mention: #0169CC;
  --cg-send: #0D0D0D;
  --cg-send-ink: #FFFFFF;
}
.cg {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: 39px minmax(0, 1fr);
  background-color: var(--cg-win);
  color: var(--cg-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
}
.cg-chrome { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 0 14px 0 12px; color: var(--cg-chrome); }
.cg-chrome .mac-lights { margin-right: 28px; }
.cg-dim { color: var(--cg-dim); }
.cg-end { margin-left: auto; }
.cg-rail { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 6px; color: var(--cg-rail); }
.cg-rail .i { width: 14px; height: 14px; }
.cg-logo { width: 21px; height: 21px; fill: var(--cg-logo); }
.cg-rule { width: 22px; height: 1px; margin: -6px 0; background-color: var(--cg-rule); }
.cg-app { display: grid; place-items: center; width: 31px; height: 31px; margin-top: -6px; border-radius: 8px; background-color: var(--cg-app); box-shadow: inset 0 0 0 1px var(--cg-app-edge); }
.cg-app svg { width: 17px; height: 17px; fill: var(--cg-app-mark); }
.cg-rail-end { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: auto; padding-bottom: 11px; }
.cg-av { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background-color: #8E4FD1; font-size: 9px; font-weight: 600; color: #FFF; }

.cg-main { position: relative; min-width: 0; min-height: 0; overflow: hidden; border-top: 1px solid var(--cg-main-edge); border-left: 1px solid var(--cg-main-edge); border-top-left-radius: 8px; background-color: var(--cg-main); }
.cg-appbar { display: flex; align-items: center; gap: 22px; height: 46px; padding: 0 38px 0 30px; border-bottom: 1px solid var(--cg-line); }
.cg-appbar .rx-brand { font-family: var(--font-sans); font-size: 14px; color: var(--cg-logo-2); }
.cg-appbar .rx-brand b { color: var(--cg-ink); }
.cg-explore { margin-left: auto; color: var(--cg-ink); }
.cg-home { padding: 56px 50px 0; text-align: center; }
.cg-hero-mark { display: block; width: 36px; height: 36px; margin: 0 auto; fill: #E8383D; }
.cg-h1 { margin-top: 12px; font-size: 27px; font-weight: 700; letter-spacing: -0.025em; color: var(--cg-ink); }
.cg-sub { margin-top: 8px; font-size: 12.5px; color: var(--cg-ink-2); }
.cg-sub.cg-ask { margin-top: 19px; }
.cg-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.cg-pills span { display: inline-flex; align-items: center; height: 37px; padding: 0 9px; border: 1px solid var(--cg-pill-edge); border-radius: 19px; font-size: 11.5px; color: var(--cg-pill-ink); }
.cg-row { display: flex; align-items: center; justify-content: space-between; text-align: left; font-size: 11.5px; color: var(--cg-ink-2); }
.cg-row b { font-size: 14.5px; font-weight: 600; color: var(--cg-ink); }
.cg-row span { display: inline-flex; align-items: center; gap: 4px; }
.cg-row .i { width: 9px; height: 9px; }
.cg-home > .cg-row { margin-top: 42px; }
.cg-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin-top: 21px; text-align: left; }
.cg-cards p { position: relative; height: 79px; padding: 22px 38px 0 13px; border: 1px solid var(--cg-card-edge); border-radius: 5px; background-color: var(--cg-card); font-size: 11.5px; color: var(--cg-card-ink); }
.cg-cards b { display: block; margin-bottom: 5px; font-size: 12.5px; color: var(--cg-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cg-cards .i { position: absolute; right: 13px; top: 31px; width: 13px; height: 13px; color: var(--cg-ink); }
.cg-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 25px; margin-top: 40px; }
.cg-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; height: 150px; margin-top: 21px; }
.cg-photos img { border-radius: 8px 8px 0 0; }
.cg-photos img { width: 100%; height: 100%; object-fit: cover; }
.cg-photos .rx-story-media img { object-position: 50% 22%; }
.cg-photos .rx-story-media { height: 100%; }
.cg-photos .rx-credit { font-size: 10px; right: 6px; bottom: 6px; }
.cg-chat { position: absolute; right: 13px; bottom: 11px; width: 480px; border: 1px solid var(--cg-chat-edge); border-radius: 16px; background-color: var(--cg-chat); box-shadow: 0 2px 8px var(--cg-chat-shadow); }
.cg-chat-h { display: flex; align-items: center; gap: 10px; height: 39px; padding: 0 14px; border-bottom: 1px solid var(--cg-chat-rule); font-size: 13.5px; color: var(--cg-chat-ink); }
.cg-input { padding: 12px 14px 0; font-size: 13.5px; line-height: 1.4; color: var(--cg-chat-ink); }
.cg-mention { display: inline-flex; align-items: center; gap: 5px; color: var(--cg-mention); }
.cg-mention svg { width: 11px; height: 11px; padding: 1px; border-radius: 3px; background-color: #F2F2F2; fill: #E8383D; }
.cg-chat-f { display: flex; align-items: center; gap: 16px; padding: 18px 10px 10px 14px; color: var(--cg-chat-i); }
.cg-chat-f .i { width: 14px; height: 14px; }
.cg-send { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background-color: var(--cg-send); color: var(--cg-send-ink); }
.cg-send .i { width: 13px; height: 13px; stroke-width: 1.8; }

/* --- narrow windows (the 560 px canvas, and no-script narrow stages) ---- */
@container awc (max-width: 900px) {
  .rx-side, .rx-tool, .rx-search span, .rx-search kbd { display: none; }
  .rx-top { padding: 0 14px 0 18px; }
  .rx-title { margin-left: 16px; }
  .rx-search { width: auto; margin-left: 16px; border: 0; padding: 0; font-size: 0; color: var(--rx-ink-nav); }
  .rx-tabs { justify-content: flex-start; gap: 18px; padding-left: 10px; overflow: hidden; }
  .rx-hero { padding-top: 40px; }
  .rx-greet { font-size: 21px; }
  .rx-composer { height: 120px; }
  .rx-feed { grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 32px 16px 0; }
  .rx-story img { height: 210px; }
  .rx-story-h { font-size: 22px; }
  .rx-follow, .rx-list { display: none; }

  .cl-side, .cl-progress, .cl-laptop, .cl-share, .cl-disc { display: none; }
  .cl-top { padding-left: 12px; }
  .cl-top-lights { display: inline-flex; margin-right: 8px; }
  .cl-title { overflow: hidden; }
  .cl-btn:first-of-type { margin-left: auto; }
  .cl-body { grid-template-columns: minmax(0, 1fr); }
  .cl-thread { padding: 26px 18px 0; }
  .cl-user { max-width: 86%; }
  .cl-model { margin-left: auto; }

  .cg-chrome .mac-lights { margin-right: 10px; }
  .cg-home { padding: 44px 20px 0; }
  .cg-h1 { font-size: 24px; }
  .cg-cards { grid-template-columns: 1fr 1fr; }
  .cg-split { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .cg-chat { left: 12px; right: 12px; width: auto; }
}


@media (max-width: 479px) {
  .aw-tabs { display: flex; width: 100%; }
  .aw-tab { flex: 1 1 auto; justify-content: center; gap: 7px; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .aw-stage.is-live .aw-panel, .aw-stage.is-live .aw-panel.is-on { transition: none; }
  .anywhere, .anywhere .lede, .aw-tabs, .aw-tab, .aw-int-h, .aw-int-sub, .aw-int-list li, .aw-int-list em { transition: none; }
}
