/* Duit website: the one-click marketing page (one-click-marketing.html, served at /one-click-marketing; written by
   tools/pages.py, SPEC16). Loaded after site.css, window.css, sections.css, products.css and grow.css, which give the
   tokens, both themes, the window, its confirm bar (.dw-confirm, .dw-btn-primary), the sections, the cards, the steps
   and the labels. This file adds:

   oc-win     the hero's still window: one video you filmed (a small 9:16 frame with its captions, and what Duit did
              to it), then three posts shown in full, each with its own small frame (dropped under 360px), its
              platform, account and time, and its words, then window.css's confirm bar with one "Post all 3" button
              look. The window is aria-hidden: the
              .sr line beside it says what it shows, and nothing in it is a real control (spans only).
   oc-keys    the four key cards: their labels sit at the foot of each card, so a row's labels line up.
   is-planned SPEC16's third availability label, "Planned" (tools/pages.py state("planned")): the Coming label's
              empty ring, on a dashed pill, so it never reads as Coming. The word always says it.

   Styled by token only: both themes come from site.css, never from a theme selector here. Nothing moves. No inline
   styles or scripts, so the page runs under the site's strict CSP. */

.oneclick .sec-head:has(+ .gr-label) { margin-bottom: 12px; }

/* ---------- The hero window ---------- */
.oc-win { max-width: 600px; }
.oc-src { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 1em; }
.oc-src-text { display: grid; gap: .5em; min-width: 0; }

/* the video, as a small vertical frame with two burned-in caption lines in its lower third */
.oc-frame {
  position: relative; display: block; flex: none; width: 3.4em; aspect-ratio: 9 / 16; border-radius: .45em;
  border: 1px solid var(--wline);
  background: linear-gradient(170deg, color-mix(in srgb, var(--wmuted) 28%, var(--chrome)), color-mix(in srgb, var(--wmuted) 62%, var(--win)));
}
.oc-frame > i { position: absolute; height: .26em; border-radius: 2px; background: var(--wtext); }
.oc-frame > i:first-child { left: 14%; right: 14%; bottom: 27%; }
.oc-frame > i:last-child { left: 26%; right: 26%; bottom: 19%; }
.oc-frame.is-sm { width: 2.3em; border-radius: .35em; }
.oc-frame.is-sm > i { height: .2em; }

/* what Duit did to it */
.oc-done { display: flex; flex-wrap: wrap; gap: .4em; margin: 0; padding: 0; list-style: none; }
.oc-done > li {
  display: inline-flex; align-items: baseline; gap: .35em; padding: .2em .7em;
  border: 1px solid var(--wline); border-radius: 999px; background: var(--chrome);
  font-size: max(12px, .86em); line-height: 1.4; color: var(--wtext); white-space: nowrap;
}
.oc-done > li::before { content: "\2713"; content: "\2713" / ""; font-weight: 500; color: var(--ok); }

/* the three posts, each in full: its frame, its platform, account and time, its words */
.oc-posts { display: grid; gap: .6em; }
.oc-post {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .8em;
  padding: .65em .7em; border: 1px solid var(--wline); border-radius: 10px; background: var(--chrome);
}
.oc-post-body { display: grid; gap: .4em; min-width: 0; }
.oc-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2em .8em; padding-inline: .2em; font-size: max(12px, .93em); line-height: 1.4; }
.oc-plat { font-weight: 500; color: var(--wtext); }
.oc-acct, .oc-when { color: var(--wmuted); }
.oc-words { display: grid; gap: .3em; }
.oc-words > p { margin: 0; }
.oc-words b { font-weight: 500; }

/* on the narrowest phones the posts drop their small frames, so each post's words keep the window's width */
@media (max-width: 359px) {
  .oc-post { grid-template-columns: minmax(0, 1fr); padding: .6em .55em; }
  .oc-post > .oc-frame { display: none; }
}

/* the confirm bar's one button: the Post all look sits at the window's foot, never a real control */
.oc-win .dw-confirm { padding-top: .9em; }

/* ---------- The key cards ---------- */
.oc-keys > .card > .p-note { margin-top: auto; }

/* ---------- Planned: SPEC16's third label ---------- */
.state.is-planned { border-style: dashed; }
.state.is-planned::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--muted); }
