/* OSB-F1 · the Studio chat look (founder, 8 Nov: the one look; the trial variants and their ?skin= switches are gone).
   From the Design Atlas picks for an assistant thread in a console: a bright white work surface, the assistant's answer as plain text with a
   quiet label saying which tool answered, the owner's words as a soft grey pill, hairline cards with one lead result and the rest as compact
   rows, one dark action, a compact composer. The same look carries into the OS Ask panel. Applied by studio-intents.js (html.gr-chat-look).
   10 Nov: inside the OS the frame (wash, card, composer, accent) now comes from the OS; see the Studio-shell block at the end. */
html.gr-chat-look body:has(#sc-root){background:#f6f6f4}
.gr-chat-look .sc{--ink:#16151a;--ink-70:#3d3b42;--ink-45:#6b6872;--hair:#ebe9e4;--hair-hot:#dedbd4;
  max-width:800px;margin:18px auto 0;padding:0 32px;background:#fff;border:1px solid #ebe9e4;border-radius:20px 20px 0 0;
  box-shadow:0 1px 2px rgba(20,18,30,.04),0 30px 60px -40px rgba(20,18,30,.25);font-size:15px;line-height:1.55;color:#16151a}
.gr-chat-look .sc-top{padding-top:18px}
.gr-chat-look .sc-thread{padding:18px 0 32px}
.gr-chat-look .sc-mark{display:none}
.gr-chat-look .sc-msg{margin:0 0 26px}
.gr-chat-look .sc-bub{max-width:74%;background:#f2f1ee;border:0;border-radius:14px;padding:8px 14px;font-size:14.5px;color:#16151a}
.gr-chat-look .sc-txt{margin:0 0 12px;font-size:15px;line-height:1.6;color:#16151a}
.gr-chat-look .si-lab{display:flex;align-items:center;gap:6px;margin:0 0 8px;font:500 12.5px var(--sans);color:#6b6872}
.gr-chat-look .si-lab::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--amethyst,#6e4fd8)}
/* result cards */
.gr-chat-look .si-card{gap:10px}
.gr-chat-look .cw-card,.gr-chat-look .insp-card,.gr-chat-look .si-list,.gr-chat-look .si-tool .sh-link{border:1px solid #e7e5e0;border-radius:12px;box-shadow:none;background:#fff}
.gr-chat-look .si-tool.first .sh-link{border-color:#cfcbc3}
.gr-chat-look .si-cw-row{gap:12px}
.gr-chat-look .si-cw-row .cw-th,.gr-chat-look .si-insp-row .insp-th{border-bottom:1px solid #efede8}
.gr-chat-look .si-cw-row .cw-who{font:600 13.5px var(--sans)}
.gr-chat-look .si-cw-row .cw-cap,.gr-chat-look .si-insp-row .insp-why{font-size:13px;line-height:1.5;color:#3d3b42}
.gr-chat-look .si-cw-row .cw-stop{color:#6e4fd8;font-size:10.5px}
.gr-chat-look .si-cw-row .cw-make,.gr-chat-look .si-go,.gr-chat-look .si-insp-row .insp-acts .mk2-btn:not(.ghost){background:#16151a;color:#fff;border:0;border-radius:9px;min-height:34px;padding:7px 12px;font:600 12.5px var(--sans)}
.gr-chat-look .si-insp-row .insp-acts .mk2-btn.ghost{background:none;border:1px solid #e3e0da;color:#16151a;border-radius:9px;min-height:34px;padding:7px 12px;font:500 12.5px var(--sans)}
.gr-chat-look .si-cw-row .cw-link{font-size:12.5px;color:#6b6872}
.gr-chat-look .si-more,.gr-chat-look .si-chips .sh-set,.gr-chat-look .si-say{min-height:32px;padding:5px 11px;border:1px solid #e7e5e0;background:#faf9f7;border-radius:999px;font:500 12.5px var(--sans);color:#3d3b42}
.gr-chat-look .si-say{background:#fff;border-color:#d8d4cc;color:#16151a}
.gr-chat-look .si-row{padding:9px 12px;border-top-color:#f0eee9}
.gr-chat-look .si-gh{color:#6b6872;font-size:11px}
/* composer */
.gr-chat-look .sc-comp{background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 18px);-webkit-backdrop-filter:none;backdrop-filter:none;padding:8px 0 14px}
.gr-chat-look .sc-chiprow{gap:6px;padding:2px 0 8px}
.gr-chat-look .sc-qchip{min-height:30px;padding:0 11px;border:0;background:#f3f2ef;color:#3d3b42;font:500 12.5px var(--sans)}
.gr-chat-look .sc-qchip:hover{background:#eceae6;color:#16151a}
.gr-chat-look .sc-box{border:1px solid #e3e0da;border-radius:16px;box-shadow:0 1px 2px rgba(20,18,30,.05);padding:4px 6px}
.gr-chat-look .sc-box:focus-within{border-color:#c9c5bd;box-shadow:0 0 0 4px rgba(22,21,26,.05)}
.gr-chat-look .sc-box textarea{font-size:15px}
.gr-chat-look .sc-box textarea:focus,.gr-chat-look .sc-box textarea:focus-visible{outline:0;box-shadow:none}
.gr-chat-look .sc-plus{width:38px;height:38px}
.gr-chat-look .sc-send{width:36px;height:36px;margin:3px;background:#16151a}
.gr-chat-look .sc-send:hover{background:#000}
.gr-chat-look .sc-fine{font-size:11.5px;color:#8a8790}
@media(max-width:700px){
  html.gr-chat-look body:has(#sc-root){background:#fff}
  .gr-chat-look .sc{margin:0;padding:0 16px;border:0;border-radius:0;box-shadow:none}
  .gr-chat-look .sc-bub{max-width:86%}
}
/* the console's global focus ring (3px ink + white halo) sits inside the composer box; in this look the box itself shows focus (still visible, 4px ring) */
.gr-chat-look .sc-box #sc-in:focus,.gr-chat-look .sc-box #sc-in:focus-visible{outline:0!important;box-shadow:none!important}
.gr-chat-look .sc-box:focus-within{border-color:#16151a;box-shadow:0 0 0 4px rgba(22,21,26,.08)}
.gr-chat-look .sc-box .sc-send{background:#16151a}
.gr-chat-look .sc-box .sc-send:hover{background:#000}
.gr-chat-look .si-card{max-width:none}
.gr-chat-look .sc-box .sc-send:not(.is-stop){background:#16151a!important}
/* 16px card padding on an 8px grid, 14/600 titles, 12.5 meta, nothing under 4.5:1 */
.gr-chat-look .si-cw-row .cw-body,.gr-chat-look .si-insp-row .insp-b{padding:16px;gap:8px}
.gr-chat-look .si-cw-row .cw-who,.gr-chat-look .si-insp-row .insp-brand{font:600 14px/1.35 var(--sans)}
.gr-chat-look .si-cw-row .cw-who span{display:block;margin-top:2px;font:400 12.5px/1.4 var(--sans);color:#55525b}
.gr-chat-look .si-tool .sh-link{padding:16px}
.gr-chat-look .si-row{padding:12px 16px}
.gr-chat-look .si-help{gap:24px}.gr-chat-look .si-grp{gap:8px}.gr-chat-look .si-chips{gap:8px}
.gr-chat-look .si-gh,.gr-chat-look .si-lab,.gr-chat-look .si-cw-row .cw-link{color:#55525b}
.gr-chat-look .sc-fine{color:#6b6872}
.gr-chat-look .si-chips .sh-set,.gr-chat-look .si-more{color:#2a2830;background:#fff;border-color:#dcd9d2}
.gr-chat-look .sc-qchip{color:#2a2830;background:#f0efec}
/* ── results: one lead result, then compact rows ── */
.gr-chat-look .si-cw-row{grid-template-columns:1fr;gap:0;border:1px solid #e7e5e0;border-radius:14px;overflow:hidden;background:#fff}
.gr-chat-look .si-cw-row>.cw-card,.gr-chat-look .si-cw-row>.insp-card{flex-direction:row;border:0;border-radius:0;border-top:1px solid #efede8;height:auto}
.gr-chat-look .si-cw-row>:first-child{border-top:0}
.gr-chat-look .si-cw-row>:first-child .cw-th,.gr-chat-look .si-cw-row>:first-child .insp-th{width:42%;flex:none;aspect-ratio:4/3;min-height:0;border-bottom:0;border-right:1px solid #efede8}
.gr-chat-look .si-cw-row>:first-child .cw-body,.gr-chat-look .si-cw-row>:first-child .insp-b{padding:20px 24px;justify-content:center}
.gr-chat-look .si-cw-row>:first-child .cw-who,.gr-chat-look .si-cw-row>:first-child .insp-brand{font-size:16px}
.gr-chat-look .si-cw-row>:first-child .cw-cap{font-size:14px;-webkit-line-clamp:4}
.gr-chat-look .si-cw-row>:not(:first-child) .cw-th,.gr-chat-look .si-cw-row>:not(:first-child) .insp-th{width:72px;height:72px;flex:none;aspect-ratio:1/1;min-height:0;margin:12px 0 12px 16px;border-radius:8px;border:0}
.gr-chat-look .si-cw-row>:not(:first-child) .cw-body,.gr-chat-look .si-cw-row>:not(:first-child) .insp-b{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:16px;row-gap:2px;padding:12px 16px}
.gr-chat-look .si-cw-row>:not(:first-child) .cw-who{flex:1 1 60%}
.gr-chat-look .si-cw-row>:not(:first-child) .cw-cap,.gr-chat-look .si-cw-row>:not(:first-child) .insp-why{flex:1 1 60%;order:3;-webkit-line-clamp:1}
.gr-chat-look .si-cw-row>:not(:first-child) .cw-stop{order:2}
.gr-chat-look .si-cw-row>:not(:first-child) .cw-acts,.gr-chat-look .si-cw-row>:not(:first-child) .insp-acts{order:4;margin:0;padding:0;min-height:0;flex-direction:row;align-items:center;gap:12px}
.gr-chat-look .si-cw-row>:not(:first-child) .cw-make,.gr-chat-look .si-cw-row>:not(:first-child) .insp-acts .mk2-btn:not(.ghost){background:#fff;color:#16151a;border:1px solid #dcd9d2}
.gr-chat-look .si-cw-row>:not(:first-child) .insp-acts .mk2-btn.ghost{display:none}
@media(max-width:700px){
  .gr-chat-look .si-cw-row>:first-child{flex-direction:column}
  .gr-chat-look .si-cw-row>:first-child .cw-th,.gr-chat-look .si-cw-row>:first-child .insp-th{width:100%;aspect-ratio:16/10;border-right:0;border-bottom:1px solid #efede8}
  .gr-chat-look .si-cw-row>:first-child .cw-body{padding:16px}
  .gr-chat-look .si-cw-row>:not(:first-child) .cw-th{width:56px;height:56px}
  .gr-chat-look .si-cw-row .cw-long{display:none}.gr-chat-look .si-cw-row .cw-short{display:inline}
}
.gr-chat-look .si-cw-row>:first-child .cw-acts{margin-top:16px;min-height:0;flex-direction:row;align-items:center;gap:16px}
/* ── OS chat panel (founder, 8 Nov: "yes" to the same look): white work surface, owner's words as a soft grey pill, no avatar,
   hairline cards, one dark action. Scoped to .o2-panel so the rest of the OS home keeps its own design. ── */
.gr-chat-look .o2-panel{--o2-edge:#e7e5e0;--os-surface:#fff;--os-surface-soft:#f2f1ee;--ink:#16151a;--o2-mute:#55525b;background:#fff;color:#16151a}
.gr-chat-look .o2-panel>header{background:#fff;border-bottom:1px solid #ebe9e4;font:600 15px var(--sans)}
.gr-chat-look .o2-panel .o2-mark{display:none}
.gr-chat-look .o2-panel .o2-msg{gap:0}
.gr-chat-look .o2-panel .o2-msg.me .o2-bub{background:#f2f1ee;border:0;border-radius:14px;color:#16151a;padding:8px 14px;font-size:14.5px}
.gr-chat-look .o2-panel .o2-card{background:#fff;border:1px solid #e7e5e0;border-radius:12px;box-shadow:none}
.gr-chat-look .o2-panel .o2-btn:not(.ghost){background:#16151a;color:#fff;border:0;border-radius:9px;box-shadow:none}
.gr-chat-look .o2-panel .o2-btn.ghost{background:#fff;border:1px solid #dcd9d2;color:#16151a;border-radius:9px}
.gr-chat-look .o2-panel .s5-inputs span{background:#faf9f7;border-color:#e7e5e0;color:#55525b}
/* ── Studio-shell (founder, 10 Nov: "Studio should keep the OS shell, type, spacing, colours and nav"). Inside the OS (body.o2-on) the
   chat look keeps only its result layout (one lead result, compact rows). The frame comes from the OS: the page wash, no boxed card,
   the OS composer, chips and the one accent colour. Classic (body without .o2-on) is unchanged. ── */
html.gr-chat-look body.o2-on:has(#sc-root){background:var(--o2-wash) fixed}
html.gr-chat-look body.o2-on .sc{--ink:inherit;--ink-70:var(--os-ink-muted);--ink-45:var(--o2-muted);--hair:var(--o2-edge);--hair-hot:var(--o2-edge-hi);
  max-width:var(--os-arrival-width);margin:0 auto;background:none;border:0;border-radius:0;box-shadow:none;color:inherit;font-size:15px}
html.gr-chat-look body.o2-on .sc-comp{background:none}
html.gr-chat-look body.o2-on .sc-box{border:1px solid var(--o2-edge);border-radius:var(--os-radius-composer,28px);background:var(--o2-glass);box-shadow:var(--o2-shadow)}
html.gr-chat-look body.o2-on .sc-box:focus-within{border-color:var(--o2-edge-hi);box-shadow:0 0 0 4px var(--amethyst-14,rgba(46,110,78,.14))}
html.gr-chat-look body.o2-on .sc-box .sc-send:not(.is-stop),html.gr-chat-look body.o2-on .sc-send:not(.is-stop){background:var(--amethyst)!important;color:var(--os-on-accent)}
html.gr-chat-look body.o2-on .sc-box .sc-send:not(.is-stop):hover{background:var(--amethyst-deep)!important}
html.gr-chat-look body.o2-on .sc-qchip,html.gr-chat-look body.o2-on .si-more,html.gr-chat-look body.o2-on .si-chips .sh-set,html.gr-chat-look body.o2-on .si-say{background:var(--o2-glass);border:1px solid var(--o2-edge);color:var(--ink);border-radius:var(--os-radius-chip,999px)}
html.gr-chat-look body.o2-on .sc-bub{background:var(--o2-glass-hi);border:1px solid var(--o2-edge)}
html.gr-chat-look body.o2-on :is(.cw-card,.insp-card,.si-list,.si-cw-row,.si-tool .sh-link){background:var(--o2-glass);border-color:var(--o2-edge);border-radius:var(--o2-r)}
html.gr-chat-look body.o2-on :is(.si-cw-row .cw-make,.si-go,.si-insp-row .insp-acts .mk2-btn:not(.ghost)){background:var(--amethyst);color:var(--os-on-accent);border-radius:var(--os-radius-chip,999px)}
html.gr-chat-look body.o2-on .si-cw-row>:not(:first-child) :is(.cw-make,.insp-acts .mk2-btn:not(.ghost)){background:var(--o2-glass-hi);color:var(--ink);border:1px solid var(--o2-edge-hi)}
html.gr-chat-look body.o2-on .si-lab::before{background:var(--amethyst)}
@media(max-width:700px){html.gr-chat-look body.o2-on:has(#sc-root){background:var(--o2-wash) fixed}}
