/* What only the Quip study needs on top of the shared look (/meadow/study.css). */
/* The menu-bar still: the 2x capture at half size, so it stays sharp, set between the title row and the clip. */
.q-menubar { margin: 0 0 4px; display: flex; align-items: center; justify-content: flex-start; align-self: flex-start; gap: 14px; text-align: left; }
.q-menubar picture { flex: none; }
.q-menubar .cs-zoom { margin: 0; flex: none; }   /* script.js wraps the still in a zoom button, which centres itself */
.q-menubar img { display: block; width: 161px; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--card-edge); }
.q-menubar figcaption { font-family: var(--font-mono); font-size: 14px; line-height: 20px; color: var(--text-muted); }
/* The copy-states diagram sits in a card: the paper site's dashed box becomes a plain panel with the inside radius. */
.cs-copystate { margin-inline: 0; max-width: none; border: 0; border-radius: 14px; }
/* The stills: two windows side by side at the same height (their widths are 802 and 552), lying on the card like the clips. */
.cs-duo, .cs-duo--wide { grid-template-columns: 802fr 552fr; gap: 28px; align-items: start; max-width: none; margin: 0; }
@media (max-width: 639px) { .cs-duo, .cs-duo--wide { grid-template-columns: 1fr; } }
.cs-duo img { box-shadow: 0 0 0 0.5px var(--obj-edge), 0 24px 40px -18px var(--obj-lift), 0 4px 10px -4px var(--obj-lift); border-radius: 2.54% / 1.59%; }
/* The marks were 10px on the paper page; 12px is the floor the a11y probe holds every page to. */
.cs-copystate-mark { font-size: 12px; }
.cs-comic__panel canvas { background: var(--card); }
/* The comic: two rows of three, one per invisible action, each with a small label. On a phone each panel sits beside its
   caption, one per line, so the rows keep their order. */
.q-comic__row { margin: 0 0 10px; font-family: var(--font-mono); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text-primary); }
.q-comic .cs-comic__panels + .q-comic__row { margin-top: 28px; }
@media (min-width: 640px) { .q-comic .cs-comic__panels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 639px) {
  .q-comic .cs-comic__panels { grid-template-columns: 1fr; gap: 14px; }
  .q-comic .cs-comic__panel { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 12px; align-items: center; }
  .q-comic .cs-comic__panel figcaption { margin: 0; }
}
/* The window's own corners: 14px on a 552 by 880 frame (the sizes clip and the stills carry their own transparency or corners). */
:root { --win-r: 2.54% / 1.59%; }
