/* Studio main page: the WebOS website, the middle row of cards from webos-ref-806848089538218951 on a dark ground.
   Fixed sizes (CLS 0). Layouts, widths in CSS px:
   - computer   >= 1024: the cards in one row, three columns wide (an empty column while there are two apps).
   - large      640-1023: two per row.
   - phone      < 640: one per row. */
body:has(.mp){background:#083224}   /* the ink ground before the skin loads; same value as --st-ink */
.mp{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:20px calc(4rem + 12px) auto;background:var(--st-ink);color:var(--st-cream);
  padding:0 max(var(--st-gap),env(safe-area-inset-right)) 2rem max(var(--st-gap),env(safe-area-inset-left))}
.mp-tag{justify-self:stretch;height:20px;display:grid;justify-items:center;align-items:start;overflow:visible;min-width:0}   /* webchat's <clw-capsule edge="top"> (webchat #1859): 20px tall (--clw-edge-h), width follows its words, the tab's curved ends reach 20px past each side; it hangs from the top edge. Fixed row, centred, so nothing moves (CLS 0). Empty until the release is vendored */
.mp-top,.mp-stage{width:100%;max-width:72rem;margin:0 auto}
.mp-top{display:flex;justify-content:space-between;align-items:center}
.mp-mark{font-size:.9rem;font-weight:600}
.mp-avatar{display:grid;place-items:center;width:2.5rem;height:2.5rem;border-radius:50%;background:var(--st-cream);color:var(--st-ink);font-size:.85rem;text-decoration:none}
.mp-stage{padding-top:2rem}
.mp-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
.mp-cell{position:relative}
/* the diamond joint between two cards, on the line above the foot (drawn on the cell, outside the card's clip) */
.mp-cell + .mp-cell::before{content:"";position:absolute;left:calc(-1.5px - .55rem);bottom:calc(4.2rem - .55rem);width:1.1rem;height:1.1rem;
  background:var(--st-seam);transform:rotate(45deg);z-index:1}
@media (min-width:640px) and (max-width:1023px){.mp-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:639px){
  .mp-row{grid-template-columns:minmax(0,1fr);gap:1rem}
  .mp-cell + .mp-cell::before{display:none}
  .acard{aspect-ratio:auto;height:24rem}
}
/* webchat's capsule colours, set through its own two variables (lobe, via cooper 11-18; webchat's files untouched):
   on the ink ground a cream tab with ink words (13.4:1) */
.mp-tag clw-capsule{--clw-tab-fill:var(--st-cream);--clw-tab-ink:var(--st-ink)}
/* the scrollbar keeps its room from the start: a page that becomes taller than the screen after data arrives (or with a
   taller language) must not narrow by a classic scrollbar later (CLS 0; overlay scrollbars take no room anyway) */
html:has(.mp){scrollbar-gutter:stable}
/* sign up (flow step 1), left of the avatar; fixed height, so the header never moves (CLS 0) */
.mp-top .mp-signup{margin-left:auto;margin-right:1rem;height:2.75rem;display:inline-flex;align-items:center;font-size:.75rem;color:var(--st-cream);text-decoration:none;opacity:.85}
.mp-signup.is-soon{opacity:.55;cursor:default}
.mp-about{max-width:44rem;margin:2.4rem auto 0;padding:0 1.5rem;line-height:1.7}
.mp-about h2{font-size:1.1rem;margin:1.6rem 0 .5rem}
.mp-foot{display:flex;flex-wrap:wrap;gap:1.2rem 1.6rem;justify-content:center;padding:1.4rem 1rem calc(1.4rem + env(safe-area-inset-bottom));border-top:1px solid color-mix(in srgb,var(--st-ink) 25%,transparent)}
.mp-foot{border-top-color:color-mix(in srgb,currentColor 25%,transparent);margin-top:2.4rem}
.mp-foot a{font-size:.72rem;color:inherit;text-decoration:none}
.mp-foot .foot-line{color:inherit;opacity:.75}
.mp-about a{color:inherit;text-decoration:underline}
.mp-about h3{font-size:1rem;margin:1.4rem 0 .4rem}
.mp-about ul{padding-left:1.2rem}
.mp-about p{margin:0 0 1rem}
.mp-hero{max-width:44rem;margin:0 auto 2rem;padding:0 1.5rem;text-align:center;line-height:1.6}
.mp-hero h2{font-size:clamp(1.6rem,4vw,2.4rem);margin:0 0 .6rem}
.mp-hero p{margin:0}
