/* =====================================================================================================================
   HUB · MOVARA LOOK, SITE-WIDE (owner 2026-10-28: "quiero aplicar las tarjetas de movara a todo el sitio").
   The Home's Movara test (content-studio/assets/home-movara.css, branch home-movara) made the portal's look on EVERY page: this
   sheet is that one with its Home scope lifted. Linked by build.py's theme_head() on every themed page (before
   hub-theme-studio.css, which stays last) and by hand in the Video Hub's heads.

   HOW IT REACHES EVERY CARD
     - tokens: the portal's own tokens (--glass*, --card-radius, --tile-radius, --card-gap, --card-shadow, the sidebar's --hr-*) take
       the Movara values on html, so every family that reads them (the glass registries in build.py, the Video Hub's
       var(--card-radius)) follows with no per-page rule.
     - folder cards: the board cards (.hn-card: Home, Studio, Catalog, My Business, Approvals, Co-branding, Plan, Style, Email,
       Compliance, Account) get the title tab with the S-curve shoulder over the frosted body.
     - the other families (one glass registry each in build.py): the big Movara corners, see "the other card families" below.
   The Home-only moves (the officer's header card, the KPI wires, the next best action) keep matching the Home's own markup only.
   ===================================================================================================================== */
html:has(>body>#hub-page[data-nav=home]){--mv:1}   /* home-next.js: the count badges and the tags' state classes, on the Home only */

/* Gotham Light as weight 300 of the family the Home already uses (same metric overrides as the Book/Medium/Bold faces). Every Gotham
   stack in this file names 'Gotham Fallback' next (hub-theme.css 0a): until Gotham lands the line is set at Gotham's widths. */
@font-face{font-family:'Gotham';src:url(/updated-catalog/assets/fonts/GothamLight.woff2) format('woff2'),url(/updated-catalog/assets/fonts/GothamLight.ttf) format('truetype');
  ascent-override:78%;descent-override:22%;line-gap-override:0%;font-weight:300;font-style:normal;font-display:swap}

/* ---- tokens --------------------------------------------------------------------------------------------------------- */
html{
  --mv-node-fill:#fbfbfb;                   /* a connector's hollow node: the card it sits on, opaque */
  /* the cards are opaque (2026-11-08): the wallpaper is at 30% now, and the one shadow is a drop-shadow on the folder cards, which a
     translucent fill would let show through as a grey cast over the whole card */
  --mv-card:#ffffff;--mv-card-hi:#ffffff;
  --mv-tile:rgba(255,255,255,.74);--mv-tile-2:rgba(19,32,42,.04);
  --mv-line:rgba(19,32,42,.075);--mv-edge:rgba(255,255,255,.95);
  --mv-ink:#12202a;--mv-body:#4c585d;--mv-muted:#566064;
  --mv-node:#9c9d9d;--mv-wire:#cacdcd;
  --mv-sage:#7e9898;--mv-sage-ink:#3f5a5a;--mv-navy:#133042;--mv-coral:#f15b4f;
  /* the one card shadow (hub-theme.css 2c), in light, dark and over a solid: the tokens below follow it */
  --mv-shadow:var(--hub-shadow);--mv-shadow-sm:var(--hub-shadow-sm);--mv-fold:var(--hub-drop);
  /* the board's sizes follow Appearance -> Card size (--hub-density), like production's tokens in hub-theme.css */
  --mv-k:var(--hub-density,1);
  --mv-r:calc(28px * var(--mv-k));--mv-r-tile:calc(18px * var(--mv-k));--mv-tab:calc(48px * var(--mv-k));
  /* the portal's own tokens, re-read by the Home's sheets and the chart kit */
  --glass:var(--mv-card);--glass-strong:var(--mv-card-hi);--glass-tile:var(--mv-tile);--glass-rule:var(--mv-line);--glass-edge:var(--mv-edge);
  --glass-float:rgba(250,251,250,.94);
  --card-radius:var(--mv-r);--tile-radius:var(--mv-r-tile);--card-gap:calc(18px * var(--mv-k));--card-shadow:var(--mv-shadow);
  --stat-fig-sm-max:34px;--stat-fig-max:34px}
/* ONE card fill on both halves (stage-1 review): hub-theme.css gives each page theme its translucent glass (white .8, navy .8), which the
   Video Hub's cards and tiles read through --glass: the same opaque card as the Studio's here, white in light and charcoal in dark (the
   solid backgrounds keep their own opaque fills, hub-theme.css, a more specific rule) */
html[data-theme=light],html[data-theme=dark]{--glass:var(--mv-card);--glass-strong:var(--mv-card-hi)}
/* ...and the Studio's generated dark sheet (hub-theme-studio.css, loaded last) gives its cards a navy see-through surface (--dk-surface,
   rgba(16,36,50,.84): the Social dashboard's cards): the same charcoal card here, outranking it (:root[...] over html[...]); the solid
   backgrounds keep their own, more specific, opaque surfaces (hub-theme.css) */
:root[data-theme=dark]{--dk-surface:var(--mv-card);--dk-surface-2:var(--mv-tile)}
html[data-theme=dark]{
  --mv-node-fill:#26292b;
  --mv-card:#212426;--mv-card-hi:#2a2d30;
  --mv-tile:rgba(255,255,255,.055);--mv-tile-2:rgba(255,255,255,.04);
  --mv-line:rgba(255,255,255,.085);--mv-edge:rgba(255,255,255,.07);
  --mv-ink:#eef0f0;--mv-body:#bcc2c4;--mv-muted:#b3b7b8;    /* #a3a7a8 measured 4.03:1 on a tinted Activity row over dark Off white */
  --mv-node:#8a8d8e;--mv-wire:#3a3e40;
  --mv-sage-ink:#b9cfcf;
  --mv-shadow:var(--hub-shadow);--mv-shadow-sm:var(--hub-shadow-sm);--mv-fold:var(--hub-drop);
  --glass-float:rgba(30,33,35,.96);
  /* the generated dark rules of hub-theme-studio.css read these */
  --dk-surface:var(--mv-card);--dk-surface-2:var(--mv-tile);--dk-ink:var(--mv-ink);--dk-body:var(--mv-body);--dk-muted:var(--mv-muted);--dk-line:var(--mv-line)}

/* ---- the sidebar on the Home: the same panel, in the canvas' materials (tokens only; hub-rail.css is untouched) ------- */
html .hr-scope{
  --hr-r-panel:28px;--hr-r-card:28px;--hr-r-item:100px;--hr-r-sub:100px;--hr-r-fly:22px}
html[data-hr-theme=light] .hr-scope{
  --hr-fill:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.62));--hr-glass:rgba(250,251,250,.96);
  --hr-rim:linear-gradient(#fff,rgba(255,255,255,.6));--hr-ro-panel:.9;
  --hr-sh-panel:var(--hub-shadow);
  --hr-act:#fff;--hr-card:rgba(19,32,42,.03);--hr-ink:#12202a;--hr-t56:rgba(18,32,42,.8);--hr-t40:rgba(18,32,42,.74);--hr-t3:rgba(18,32,42,.74)}
html[data-hr-theme=dark] .hr-scope{
  --hr-fill:linear-gradient(180deg,rgba(40,43,45,.86),rgba(30,33,35,.8));--hr-glass:rgba(30,33,35,.96);
  --hr-rim:linear-gradient(rgba(255,255,255,.16),rgba(255,255,255,.04));
  --hr-sh-panel:var(--hub-shadow);
  --hr-act:rgba(255,255,255,.08);--hr-card:rgba(255,255,255,.035);--hr-knob:#232628}
/* the current item is a white pill with a soft lift, like the reference's selected chip */
html[data-hr-theme=light] .hr-it.hr-on{box-shadow:var(--hub-shadow-sm)}

/* ---- page frame: airy ----------------------------------------------------------------------------------------------- */
#hub-page[data-nav=home] .shell{color:var(--mv-ink)}
@media (min-width:901px){body.home-next #hub-page .shell{padding:26px 30px 90px !important}}
#hub-page .hn-it{font-style:normal}
#hub-page .bd{column-gap:var(--card-gap);margin-top:22px}
/* an overview's board has that room from the first paint, before board.js makes it a .bd (build.py: the board never drops when it mounts) */
#hub-page #ov-board{margin-top:22px}

/* ---- 8 the user card (the Home's only one; owner 2026-11-08, sheet A-home: "Solo en home vamos a tener ficha del usuario arriba o acting as") --
   Compact: the photo, who this is (eyebrow: the role and the place; the name), the actions at the right (Acting as for an admin, New piece,
   Add partner, Appearance, Sign out) and the facts every piece carries as chips under the name. One grid, sized by the card's own width
   (container hnhead): from 760px the chips run under the name and the actions; narrower, the chips take their own row and the secondary
   actions become round icons (their names stay for assistive tech); on a phone the actions take a row of their own. The figures that
   sat in a strip here live in the cards they belong to now (Content's, Social's, My Business's). Nothing in it is reserved: the card
   and the grid under it are drawn in the same frame, after the portal's "please wait" (board.js mountCategories), so it never moves
   anything that was on screen. */
:is(#hub-page,#vhome) .hn-head{position:relative;isolation:isolate;overflow:visible;box-sizing:border-box;border-radius:26px;border:0;
  background:var(--mv-card);box-shadow:var(--hub-shadow);padding:16px 18px 16px 16px;container:hnhead / inline-size}
/* no glows (owner 2026-11-08): a plain card with the one shadow */
:is(#hub-page,#vhome) .hn-head-top{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:8px 18px;padding:0}
:is(#hub-page,#vhome) .hn-head-av{grid-row:1 / span 2;align-self:center;width:62px;height:62px;border-radius:50%;font-size:21px;font-weight:300;color:var(--mv-navy);
  background:#e7ecea center top/cover no-repeat;box-shadow:inset 0 0 0 1px var(--mv-line)}
:is(#hub-page,#vhome) .hn-nochips .hn-head-av{grid-row:1}
:is(#hub-page,#vhome) .hn-head-who{min-width:0}
:is(#hub-page,#vhome) .hn-eyebrow{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;line-height:1.3;letter-spacing:0;text-transform:none;font-weight:400;font-style:normal;color:var(--mv-muted)}
:is(#hub-page,#vhome) .hn-eyebrow::after{content:none}
:is(#hub-page,#vhome) .hn-eb-dot{flex:none;width:6px;height:6px;margin-top:5px;border-radius:50%;background:var(--mv-sage)}
:is(#hub-page,#vhome) .hn-head-who h1{margin:2px 0 0;font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif;font-weight:300;
  font-size:28px;line-height:1.12;letter-spacing:-.015em;color:var(--mv-ink);overflow-wrap:anywhere}
:is(#hub-page,#vhome) .hn-head-acts{grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:none;align-self:center}
:is(#hub-page,#vhome) .hn-head .hn-chips{grid-column:2 / -1;display:flex;flex-wrap:wrap;gap:6px;min-width:0;margin:0}
:is(#hub-page,#vhome) .hn-chip{display:inline-flex;align-items:center;gap:7px;height:28px;padding:0 12px 0 10px;border-radius:100px;background:var(--mv-tile);
  box-shadow:inset 0 0 0 1px var(--mv-line);font-size:12px;color:var(--mv-ink);white-space:nowrap;text-decoration:none}
:is(#hub-page,#vhome) .hn-chip .ic{color:var(--mv-muted)}
:is(#hub-page,#vhome) .hn-head .hn-btn{height:38px;padding:0 16px}
:is(#hub-page,#vhome) .hn-head .hn-btn.icon-only{width:38px;padding:0}
/* an icon-only action is named by its aria-label (home-next.js sets one on each), so its word is not drawn at all */
:is(#hub-page,#vhome) .hn-head .hn-btn.icon-only span{display:none}
:is(#hub-page,#vhome) .hn-signout{display:inline-flex;align-items:center;gap:6px;height:38px;margin-left:2px;padding:0 4px;border:0;background:none;font:inherit;
  font-size:12.5px;color:var(--mv-body);cursor:pointer;white-space:nowrap}
:is(#hub-page,#vhome) .hn-signout:hover{color:var(--mv-ink)}
/* the admin's desk on the Home card (Acting as: Yourself | Marketing; stage-1 review, sheet A3): two buttons in one pill, the same control
   as the sidebar menu's, in the card's top row. The chosen one is the navy primary; the other a quiet button on the pill (no coral) */
:is(#hub-page,#vhome) .hn-desk{display:inline-flex;align-items:center;gap:2px;height:38px;padding:3px;border-radius:100px;box-sizing:border-box;
  background:var(--mv-tile-2,rgba(19,32,42,.04));box-shadow:inset 0 0 0 1px var(--btn-ghost-edge,rgba(19,48,66,.55))}
:is(#hub-page,#vhome) .hn-desk-l{padding:0 8px 0 11px;font-size:12px;color:var(--mv-muted);white-space:nowrap}
:is(#hub-page,#vhome) .hn-desk button{height:32px;padding:0 13px;border:0;border-radius:100px;background:transparent;color:var(--mv-ink);font:inherit;
  font-size:12.5px;font-weight:400;cursor:pointer;white-space:nowrap}
:is(#hub-page,#vhome) .hn-desk button:hover{background:var(--mv-card-hi)}
:is(#hub-page,#vhome) .hn-desk button[aria-pressed=true]{background:var(--btn-primary-bg,#133042);color:#fff;font-weight:500;cursor:default}
:is(#hub-page,#vhome) .hn-desk button:focus-visible{outline:2px solid var(--mv-ink);outline-offset:1px}
:is(#hub-page,#vhome) .hn-desk button:disabled:not([aria-pressed=true]){opacity:.6}
html[data-theme=dark] :is(#hub-page,#vhome) .hn-desk button[aria-pressed=true]{background:#eef0f0;color:#12202a}
/* an admin's card carries the desk too: below 1100px its secondary actions are round icons already, so the name keeps its room; below
   880px its actions take a row of their own (beside the name they left it a few letters' width) */
@container hnhead (max-width:880px){
  :is(#hub-page,#vhome) .hn-head-top:has(.hn-desk) .hn-head-acts{grid-column:1 / -1;grid-row:auto;justify-content:flex-start}
  :is(#hub-page,#vhome) .hn-head-top:has(.hn-desk) .hn-head-acts .hn-signout{margin-left:auto}
}
@container hnhead (max-width:1100px){
  :is(#hub-page,#vhome) .hn-head-top:has(.hn-desk) :is(.hn-addp,.hn-signout){width:38px;padding:0;justify-content:center;gap:0}
  :is(#hub-page,#vhome) .hn-head-top:has(.hn-desk) :is(.hn-addp,.hn-signout) span{display:none}
  :is(#hub-page,#vhome) .hn-head-top:has(.hn-desk) .hn-signout{border-radius:50%;background:var(--mv-card-hi);box-shadow:inset 0 0 0 1px var(--mv-line);margin-left:0}
}
/* narrower card: the chips get their own full row; Add partner and Sign out become round icons; "Acting as" says only the two choices */
@container hnhead (max-width:880px){
  :is(#hub-page,#vhome) .hn-head-top{grid-template-columns:54px minmax(0,1fr) auto}
  :is(#hub-page,#vhome) .hn-head-av{grid-row:1;width:54px;height:54px;font-size:19px}
  :is(#hub-page,#vhome) .hn-head .hn-chips{grid-column:1 / -1}
  :is(#hub-page,#vhome) .hn-head-who h1{font-size:25px}
  :is(#hub-page,#vhome) .hn-head :is(.hn-addp,.hn-signout){width:38px;padding:0;justify-content:center;gap:0}
  :is(#hub-page,#vhome) .hn-head :is(.hn-addp,.hn-signout) span{display:none}
  :is(#hub-page,#vhome) .hn-head .hn-signout{border-radius:50%;background:var(--mv-card-hi);box-shadow:inset 0 0 0 1px var(--mv-line);margin-left:0}
}
/* a phone: the actions take a row of their own under the name */
@container hnhead (max-width:540px){
  :is(#hub-page,#vhome) .hn-head-top{grid-template-columns:48px minmax(0,1fr);gap:10px 12px}
  :is(#hub-page,#vhome) .hn-head-av{width:48px;height:48px;font-size:17px}
  :is(#hub-page,#vhome) .hn-head-who h1{font-size:23px}
  :is(#hub-page,#vhome) .hn-head-acts{grid-column:1 / -1;grid-row:auto;justify-content:flex-start}
  :is(#hub-page,#vhome) .hn-head-acts .hn-signout{margin-left:auto}
  :is(#hub-page,#vhome) .hn-chip{height:26px;padding:0 10px 0 8px;font-size:11.5px;gap:6px}
}

/* The card's room WHILE IT WAITS (the M in it, then its skeleton; once drawn it is its own height, nothing reserved, no empty band): each
   kind of person's card as it will be drawn (measured 2026-11-08 on the stubbed portal: an officer with all four chips, the admin on each
   desk, staff; re-measured 2026-11-09 for the admin's sheet-A3 card: Acting as, View as…, Appearance, Sign out), so the grid under it,
   unseen while it waits too, starts where it will stay. Re-measure if the card changes. */
html.hub-auth #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:114px}
@media (min-width:1250px){html.hub-auth #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:122px}}
@media (max-width:600px){html.hub-auth #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:182px}}
html.hub-auth.wb-admin.wb-mk #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:160px}
@media (min-width:1250px){html.hub-auth.wb-admin.wb-mk #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:122px}}
@media (max-width:600px){html.hub-auth.wb-admin.wb-mk #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:150px}}
@media (max-width:499px){html.hub-auth.wb-admin.wb-mk #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:427px}}
html.hub-auth.wb-admin:not(.wb-mk) #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:132px}
@media (min-width:1250px){html.hub-auth.wb-admin:not(.wb-mk) #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:94px}}
@media (max-width:600px){html.hub-auth.wb-admin:not(.wb-mk) #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:124px}}
@media (max-width:499px){html.hub-auth.wb-admin:not(.wb-mk) #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:170px}}
html.hub-auth.wb-staff #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:114px}
@media (min-width:1250px){html.hub-auth.wb-staff #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:122px}}
@media (max-width:600px){html.hub-auth.wb-staff #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:150px}}
@media (max-width:349px){html.hub-auth.wb-staff #hub-page .hn-head:is(:has(>.hldr),:has(>.hn-skel-head)){min-height:162px}}

/* every kit figure on the pages' boards (Output, Model Match): sentence-case grey label, a flat dot for the tone (a status mark, never a
   button), the figure in Gotham. Light 300 only where the figures are short counts that stay at display size (Output); the kit shrinks a
   long figure to fit, so Model Match's money keeps regular 400. */
#hub-page .hc-stat .hc-stat-l{text-transform:none;letter-spacing:0;font-weight:400;color:var(--mv-muted)}
#hub-page .hc-stat .hc-stat-f{font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif;align-items:center}
#hub-page .hc-stat .hc-stat-v{font-weight:400;color:var(--mv-ink);letter-spacing:-.02em}
#hub-page .hn-out-h .hc-stat .hc-stat-v{font-weight:300}
#hub-page .hc-stat .hc-stat-bar{width:8px;height:8px;margin:0 10px 0 1px;border-radius:50%;box-shadow:none}

/* ---- buttons: pills (navy primary, white/sage secondary), round icon buttons (7) -------------------------------------- */
:is(#hub-page,#vhome) .hn-btn{height:40px;padding:0 18px;border-radius:100px;font-weight:500;border:1px solid var(--mv-navy);background:var(--mv-navy);color:#fff;
  box-shadow:var(--hub-shadow-sm)}
:is(#hub-page,#vhome) .hn-btn:hover{background:#0d2330}
:is(#hub-page,#vhome) .hn-btn.ghost{background:var(--mv-card-hi);color:var(--mv-ink);border-color:var(--mv-line);font-weight:400;box-shadow:var(--mv-shadow-sm)}
:is(#hub-page,#vhome) .hn-btn.ghost:hover{border-color:rgba(19,48,66,.35);background:#fff}
:is(#hub-page,#vhome) .hn-btn.icon-only{width:40px;padding:0}
#hub-page .bd-tools{padding:0}
#hub-page .bd-tools button{height:40px;padding:0 16px;border-radius:100px;border:1px solid var(--mv-line);background:var(--mv-card-hi);
  color:var(--mv-ink);font-weight:400;box-shadow:var(--mv-shadow-sm)}
#hub-page .bd-tools .bd-edit.on{background:var(--mv-navy);border-color:var(--mv-navy);color:#fff}
#hub-page .hn-menu-b,#hub-page .hn-pp-ic{width:34px;height:34px;border-radius:50%;border:1px solid var(--mv-line);
  background:var(--mv-card-hi);color:var(--mv-ink);box-shadow:var(--mv-shadow-sm)}
#hub-page .hn-pp-ic.hn-pp-skip{box-shadow:none}
#hub-page .hn-pp-pill{height:34px;border-radius:100px;border:1px solid var(--mv-line);background:var(--mv-card-hi);font-weight:400}
#hub-page .hn-link{font-weight:500;color:var(--mv-ink)}

/* ---- 2 the folder cards ------------------------------------------------------------------------------------------------
   The body is the card's ::before (from the tab's foot down); the tab is the title's ::before, reaching left to the card's
   edge and right over the S-curve shoulder (an SVG mask). The collapse button floats on the canvas beside the tab.
   Edit mode keeps a plain rounded card (the grip and the size controls need the full head). */
/* the one card shadow as a filter (hub-theme.css 2c --hub-drop): a box-shadow is a rectangle and misses the tab and its shoulder */
#hub-page .hn-card:not(.bare){background:none;border:0;border-radius:var(--mv-r);isolation:isolate;overflow:visible;
  box-shadow:none;filter:var(--hub-drop)}
html[data-theme=dark] #hub-page .hn-card:not(.bare){background:none;box-shadow:none}
#hub-page .hn-card:not(.bare)::before{content:'';position:absolute;z-index:-1;inset:var(--mv-tab) 0 0 0;
  border-radius:0 var(--mv-r) var(--mv-r) var(--mv-r);background:var(--mv-card);box-shadow:inset 0 -1px 0 var(--mv-edge)}
#hub-page .hn-card-h{height:var(--mv-tab);box-sizing:border-box;padding:0 calc(8px * var(--mv-k,1)) 0 calc(16px * var(--mv-k,1));gap:calc(10px * var(--mv-k,1));align-items:stretch;border-bottom:0 !important;background:none}
#hub-page .hn-card-i{flex:none;align-self:center;width:calc(30px * var(--mv-k,1));height:calc(30px * var(--mv-k,1));border-radius:50%;background:var(--mv-tile);color:var(--mv-ink);
  box-shadow:inset 0 0 0 1px var(--mv-line)}
#hub-page .hn-card-h h2{flex:0 1 auto;min-width:0;position:relative;display:block;line-height:var(--mv-tab);padding-right:6px;
  white-space:nowrap;overflow:clip;overflow-clip-margin:72px;text-overflow:ellipsis;
  font-size:max(11px,calc(15.5px * var(--mv-k,1)));font-weight:400;letter-spacing:-.005em;color:var(--mv-ink)}
/* the tab reaches back over the head's padding, the icon and the gap (16 + 30 + 10 = 56, all * the card size) */
#hub-page .hn-card-h h2::before{content:'';position:absolute;z-index:-1;top:0;bottom:0;left:calc(-56px * var(--mv-k,1));right:calc(-44px * var(--mv-k,1));
  border-top-left-radius:var(--mv-r);background:var(--mv-card);
  -webkit-mask:linear-gradient(#000 0 0) 0 0/calc(100% - 40px * var(--mv-k,1)) 100% no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0H5C22 0 19 48 40 48H0Z'/%3E%3C/svg%3E") 100% 0/calc(40px * var(--mv-k,1)) 100% no-repeat;
          mask:linear-gradient(#000 0 0) 0 0/calc(100% - 40px * var(--mv-k,1)) 100% no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0H5C22 0 19 48 40 48H0Z'/%3E%3C/svg%3E") 100% 0/calc(40px * var(--mv-k,1)) 100% no-repeat}
#hub-page .hn-card-h .hn-menu-b{margin-left:auto;align-self:center}
/* the count: a round badge, like "All fields 92" */
#hub-page .hn-card-h h2 .hn-n{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:22px;margin-left:4px;padding:0 7px;
  box-sizing:border-box;vertical-align:1px;border-radius:100px;background:var(--mv-tile-2);box-shadow:inset 0 0 0 1px var(--mv-line);
  font-size:11.5px;line-height:1;font-weight:500;color:var(--mv-body)}
#hub-page .hn-card-b{padding:calc(8px * var(--mv-k,1)) calc(20px * var(--mv-k,1)) calc(20px * var(--mv-k,1))}
#hub-page .hn-card-f{margin:0 calc(16px * var(--mv-k,1)) calc(16px * var(--mv-k,1));padding:0;height:calc(40px * var(--mv-k,1));display:flex;align-items:center;justify-content:center;border:0 !important;
  border-radius:100px;background:var(--mv-tile);box-shadow:inset 0 0 0 1px var(--mv-line);font-weight:400;color:var(--mv-ink)}
html:not(.is-scrolling) #hub-page .hn-card-f:hover{background:var(--mv-card-hi)}
/* collapsed: one rounded bar, title only (production hides the body and the footer; the footer's display:flex above would bring it back) */
#hub-page .hn-card.collapsed::before{top:0;border-radius:var(--mv-r)}
#hub-page .hn-card.collapsed .hn-card-f{display:none}
#hub-page .hn-card.collapsed .hn-card-h h2::before{display:none}
/* edit mode: plain rounded cards */
body.bd-editing #hub-page .hn-card:not(.bare)::before{top:0;border-radius:var(--mv-r)}
body.bd-editing #hub-page .hn-card-h h2::before{display:none}
body.bd-editing #hub-page .hn-card-h{height:auto;min-height:var(--mv-tab);align-items:center}
/* the grip and the size controls take most of a narrow card's head: the title wraps (as in production) instead of one letter and … */
body.bd-editing #hub-page .hn-card-h h2{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25;padding-block:8px}
body.bd-editing #hub-page .bd-cell>.hn-card{outline-color:rgba(19,48,66,.22)}

/* ---- rows: pills on a tile, the reference's mapped / unmapped lines -------------------------------------------------- */
#hub-page .hn-row,#hub-page .hn-post,#hub-page .hn-person{gap:calc(12px * var(--mv-k,1));margin:calc(6px * var(--mv-k,1)) 0;
  padding:calc(9px * var(--mv-k,1)) calc(14px * var(--mv-k,1)) calc(9px * var(--mv-k,1)) calc(9px * var(--mv-k,1));border:0 !important;
  border-radius:var(--mv-r-tile);background:var(--mv-tile);box-shadow:inset 0 0 0 1px var(--mv-line)}
html:not(.is-scrolling) #hub-page a.hn-row:hover,html:not(.is-scrolling) #hub-page .hn-post:hover{background:var(--mv-card-hi)}
#hub-page .hn-row-i{width:calc(32px * var(--mv-k,1));height:calc(32px * var(--mv-k,1));border-radius:50%;background:var(--mv-card-hi);color:var(--mv-ink);box-shadow:inset 0 0 0 1px var(--mv-line)}
#hub-page .hn-row-m b,#hub-page .hn-person b{font-weight:400;font-size:max(11px,calc(14px * var(--mv-k,1)));color:var(--mv-ink)}
#hub-page .hn-row-m .hn-it,#hub-page .hn-person .hn-it{color:var(--mv-muted);font-size:max(11px,calc(12.5px * var(--mv-k,1)))}
#hub-page .hn-row time{color:var(--mv-muted)}
#hub-page .hn-tag{padding:6px 11px 6px 22px;border-radius:100px;letter-spacing:.4px;font-size:10.5px;color:var(--mv-ink);
  background:var(--mv-card-hi);box-shadow:inset 0 0 0 1px var(--mv-line)}
#hub-page .hn-tag::before{left:10px;width:7px;height:7px;margin-top:-3.5px;background:var(--mv-sage);box-shadow:none}
/* status marks: due / changes are a flat coral dot (a mark inside the row, never the row; no glow) */
#hub-page .hn-tag.t-due::before,#hub-page .hn-tag.t-changes::before{background:var(--mv-coral);box-shadow:none}
/* a narrow card (3 of 12 columns, ~230px of body): the tag drops under the text, which then gets the whole line */
#hub-page .hn-card-b{container-type:inline-size}
@container (max-width:320px){
  #hub-page .hn-row{flex-wrap:wrap;row-gap:7px}
  #hub-page .hn-row .hn-row-m{flex:1 1 calc(100% - 44px * var(--mv-k,1))}
  #hub-page .hn-row .hn-tag{margin-left:calc(44px * var(--mv-k,1))}
}
#hub-page .hn-kv{border:0 !important;padding:10px 0}
#hub-page .hn-kv b{font-weight:400}
#hub-page .hn-sub-h,#hub-page .hn-tl-h{margin:16px 2px 4px;font-size:12px;letter-spacing:0;text-transform:none;font-weight:400;color:var(--mv-muted)}
#hub-page .hn-empty p{color:var(--mv-muted)}
#hub-page .hn-thumb{border-radius:14px}

/* ---- 3 the activity filter: separate pills with round count badges --------------------------------------------------------
   They wrap onto a second line when the card is narrow (on a desktop the pills that did not fit sat past the card's edge, reachable
   only by a sideways scroll a mouse cannot see); a phone keeps one swipeable line that bleeds off the edge (see the end). */
#hub-page .hn-seg{gap:8px;padding:4px 4px 12px;margin:6px -4px -2px;background:none !important;border-radius:0;flex-wrap:wrap;overflow:visible}
#hub-page .hn-seg button{display:inline-flex;align-items:center;gap:8px;height:calc(36px * var(--mv-k,1));padding:0 6px 0 14px;border-radius:100px;
  background:var(--mv-tile);box-shadow:inset 0 0 0 1px var(--mv-line);color:var(--mv-body);font-size:max(11px,calc(13px * var(--mv-k,1)))}
#hub-page .hn-seg button:not(:has(.hn-seg-n)){padding-right:14px}
#hub-page .hn-seg button.on{background:var(--mv-card-hi);color:var(--mv-ink);font-weight:500;
  box-shadow:inset 0 0 0 1px var(--mv-edge),var(--hub-shadow-sm)}
#hub-page .hn-seg-n{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 7px;box-sizing:border-box;
  border-radius:100px;background:var(--mv-tile-2);box-shadow:inset 0 0 0 1px var(--mv-line);font-size:11.5px;font-weight:500;color:var(--mv-body)}
#hub-page .hn-seg button.on .hn-seg-n{background:var(--mv-navy);box-shadow:none;color:#fff}

/* ---- 5 + 6 the activity timeline: tinted pills, nodes on the right edge, curved wires between them ------------------- */
#hub-page .hn-timeline{position:relative;padding-right:14px}
/* flat rows and flat icon balls (owner 2026-11-08: no gradient tints, no glows): the kind is the ball's colour, a status mark */
#hub-page .hn-timeline .hn-tl-row{position:relative;overflow:visible;background:var(--mv-tile)}
#hub-page .hn-timeline .hn-tl-row .hn-row-i{color:#fff;box-shadow:none}
#hub-page .hn-timeline .hn-tl-row.k-made .hn-row-i{background:#4b5aa0}
#hub-page .hn-timeline .hn-tl-row.k-published .hn-row-i{background:#c9463c}
#hub-page .hn-timeline .hn-tl-row.k-delivered .hn-row-i{background:#5f7d7d}
/* the node on the row's right edge, and the wire curving from node to node. Each row draws its own share of the wire, from the
   middle of the gap above it to the middle of the gap below (the rows' margins collapse into one gap of 6px * the card size), so the
   pieces meet whatever height each row has (a title that wraps on a phone): a straight rail at 12px from the rows, and at each node
   a 12px curve in (from above) and/or out (to below), drawn as a mask over the wire colour. */
#hub-page .hn-timeline .hn-tl-row::before{content:'';position:absolute;right:-4px;top:calc(50% - 4px);width:8px;height:8px;box-sizing:border-box;
  border-radius:50%;border:1px solid var(--mv-node);background:var(--mv-node-fill);z-index:1}
#hub-page .hn-timeline{
  --mv-w-l:linear-gradient(#000 0 0);
  --mv-w-in:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24'%3E%3Cpath d='M11.5 0A11.5 12 0 0 1 0 12' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --mv-w-out:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24'%3E%3Cpath d='M0 12A11.5 12 0 0 1 11.5 24' fill='none' stroke='%23000'/%3E%3C/svg%3E");
  --mv-w-both:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 24'%3E%3Cpath d='M11.5 0A11.5 12 0 0 1 0 12A11.5 12 0 0 1 11.5 24' fill='none' stroke='%23000'/%3E%3C/svg%3E")}
#hub-page .hn-timeline :is(.hn-tl-row:has(+ .hn-tl-row),.hn-tl-row + .hn-tl-row)::after{content:'';display:block;position:absolute;
  left:auto;right:-12px;top:calc(-3px * var(--mv-k,1));bottom:calc(-3px * var(--mv-k,1));width:12px;height:auto;box-sizing:border-box;border:0;border-radius:0;background:var(--mv-wire)}
/* the first of a run: out of its node and down */
#hub-page .hn-timeline .hn-tl-row:has(+ .hn-tl-row):not(.hn-tl-row + .hn-tl-row)::after{
  -webkit-mask:var(--mv-w-out) right center/12px 24px no-repeat,var(--mv-w-l) right bottom/1px calc(50% - 12px) no-repeat;
          mask:var(--mv-w-out) right center/12px 24px no-repeat,var(--mv-w-l) right bottom/1px calc(50% - 12px) no-repeat}
/* in the middle: down into its node, then out of it and down */
#hub-page .hn-timeline .hn-tl-row + .hn-tl-row:has(+ .hn-tl-row)::after{
  -webkit-mask:var(--mv-w-l) right top/1px calc(50% - 12px) no-repeat,var(--mv-w-both) right center/12px 24px no-repeat,var(--mv-w-l) right bottom/1px calc(50% - 12px) no-repeat;
          mask:var(--mv-w-l) right top/1px calc(50% - 12px) no-repeat,var(--mv-w-both) right center/12px 24px no-repeat,var(--mv-w-l) right bottom/1px calc(50% - 12px) no-repeat}
/* the last of a run: down into its node */
#hub-page .hn-timeline .hn-tl-row + .hn-tl-row:not(:has(+ .hn-tl-row))::after{
  -webkit-mask:var(--mv-w-l) right top/1px calc(50% - 12px) no-repeat,var(--mv-w-in) right center/12px 24px no-repeat;
          mask:var(--mv-w-l) right top/1px calc(50% - 12px) no-repeat,var(--mv-w-in) right center/12px 24px no-repeat}

/* ---- 5 the next best action: a full folder card titled by its tab, "Next best action" (stage-1 review, sheets 0b and C: no bare wrapper,
   so it lines up with the cards above and below it in its column), its body a plain block; the icon a neutral grey disc, a mark (no coral) */
#hub-page .hn-nba{position:relative;border-radius:0;border:0;padding:0;background:none !important;box-shadow:none !important}   /* (the registry's :is() carries an id: #tp-brief) */
#hub-page .hn-nba-i{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;margin-bottom:12px;
  background:var(--mv-tile-2,rgba(19,32,42,.04));box-shadow:inset 0 0 0 1px var(--mv-line);color:var(--mv-ink)}
html[data-theme=dark] #hub-page .hn-nba-i{background:rgba(255,255,255,.07);color:var(--mv-ink)}
#hub-page .hn-nba em{font-size:12.5px;letter-spacing:0;text-transform:none;font-weight:400;color:var(--mv-body)}
#hub-page .hn-nba h3{margin-top:6px;font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif;font-weight:300;font-size:max(28px,calc(28px * var(--mv-k,1)));line-height:1.1;
  letter-spacing:-.01em;color:var(--mv-ink)}
#hub-page .hn-nba p{margin:8px 0 18px;color:var(--mv-body)}
/* the toggle comes before the tile in the DOM, so the (positioned) tile painted over it and it read as a ghost */
#hub-page .hn-card.bare .hn-menu-b.floating{top:16px;right:16px;z-index:2}

/* ---- figures: light type at size ------------------------------------------------------------------------------------- */
#hub-page .hn-big b{font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif;font-weight:300;font-size:32px;letter-spacing:-.02em;color:var(--mv-ink)}
#hub-page .hn-big .hn-it{color:var(--mv-muted)}
#hub-page .hn-ring-row .hn-it{color:var(--mv-body)}

/* ---- the partners card (home-partners-card.js) ---------------------------------------------------------------------- */
#hub-page .hn-pp-week{letter-spacing:0;text-transform:none;font-size:12.5px;font-weight:400;color:var(--mv-muted)}
#hub-page .hn-pp-intro p,#hub-page .hn-pp-place,#hub-page .hn-pp-reason{color:var(--mv-body)}
#hub-page .hn-pp-row{border-bottom-color:var(--mv-line)}
#hub-page .hn-pp-name b{font-weight:400;font-size:14.5px}
#hub-page .hn-pp-chip{border-radius:100px;padding:6px 10px;background:var(--mv-tile)}

/* ---- skeletons on the new surfaces ------------------------------------------------------------------------------------ */
#hub-page .hn-skel i,#hub-page .hn-shimmer{border-radius:100px}

/* ---- the floating layers the Home opens (they live outside the page element) --------------------------------------- */
html :is(.hn-menu,.hn-pp-menu){border-radius:22px}
html .hn-drawer{border-radius:28px 0 0 28px}
html .hn-pp-msg{border-radius:100px}
/* ---- the background (Appearance -> Background): the portal's own, on the Home too ------------------------------------------
   Over a wallpaper the frosted cards read as they are. Over a SOLID (White, Off white, Bone) a white card has nothing to stand
   against, so, as production does (hub-theme.css 2b), the surfaces turn opaque, in the same colours, with an outline and a low soft
   shadow. A folder's outline is a drop-shadow on the whole card: its tab is a masked shape that a box-shadow can't follow (the body
   is opaque, so the text inside casts nothing; the cards hold no fixed or blurred layer for the filter to disturb). */
html[data-theme=light]:is([data-bg=white],[data-bg=offwhite],[data-bg=bone]){
  --mv-card:#fff;--mv-card-hi:#fff;--mv-tile:rgba(19,48,66,.035);--mv-node-fill:#fff}
html[data-theme=light][data-bg=bone]{
  --mv-card:#fbf9f5;--mv-card-hi:#fdfcf9;--mv-node-fill:#fbf9f5}
html[data-theme=dark]:is([data-bg=white],[data-bg=offwhite],[data-bg=bone]){
  --mv-card:#1d1f22;--mv-card-hi:#212327;--mv-tile:rgba(255,255,255,.05);--mv-node-fill:#1d1f22}
html[data-theme=dark][data-bg=offwhite]{
  --mv-card:#26282b;--mv-card-hi:#2a2c30;--mv-node-fill:#26282b}
html[data-theme=dark][data-bg=bone]{
  --mv-card:#2a2520;--mv-card-hi:#2e2924;--mv-node-fill:#2a2520}
/* (the folder card wears --hub-drop on every background now: see "2 the folder cards") */

/* ---- dark: the same moves over charcoal ------------------------------------------------------------------------------ */
html[data-theme=dark] :is(#hub-page,#vhome) .hn-head{background:var(--mv-card)}
html[data-theme=dark] :is(#hub-page,#vhome) .hn-head-av{background-color:#34393c;color:var(--mv-ink)}
html[data-theme=dark] :is(#hub-page,#vhome) .hn-chip{background:var(--mv-tile);color:var(--mv-ink)}
html[data-theme=dark] :is(#hub-page,#vhome) .hn-btn{background:#2f5d7c;border-color:#2f5d7c;color:#fff;box-shadow:var(--hub-shadow-sm)}
html[data-theme=dark] :is(#hub-page,#vhome) .hn-btn:hover{background:#376a8c}
html[data-theme=dark] :is(#hub-page,#vhome) .hn-btn.ghost,html[data-theme=dark] #hub-page .bd-tools button,
html[data-theme=dark] #hub-page .hn-menu-b,html[data-theme=dark] #hub-page .hn-pp-ic,
html[data-theme=dark] #hub-page .hn-pp-pill{background:var(--mv-card-hi);border-color:var(--mv-line);color:var(--mv-ink)}
html[data-theme=dark] #hub-page .bd-tools .bd-edit.on{background:#2f5d7c;border-color:#2f5d7c;color:#fff}
html[data-theme=dark] #hub-page .hn-card-i{background:var(--mv-tile);color:var(--mv-ink)}
html[data-theme=dark] #hub-page .hn-card-h h2{color:var(--mv-ink)}
html[data-theme=dark] #hub-page .hn-card-f{color:var(--mv-ink)}
html[data-theme=dark] #hub-page .hn-row-i{background:var(--mv-card-hi);color:var(--mv-ink)}
html[data-theme=dark] #hub-page .hn-tag{background:var(--mv-card-hi);color:var(--mv-ink)}
html[data-theme=dark] #hub-page .hn-seg button{background:var(--mv-tile);color:var(--mv-body)}
html[data-theme=dark] #hub-page .hn-seg button.on{background:var(--mv-card-hi);color:var(--mv-ink)}
html[data-theme=dark] #hub-page .hn-seg button.on .hn-seg-n{background:#eef0f0;color:#12202a}
html[data-theme=dark] #hub-page .hn-timeline .hn-tl-row{background:var(--mv-tile)}
html[data-theme=dark] #hub-page .hn-nba em,html[data-theme=dark] #hub-page .hn-nba p{color:var(--mv-body)}
html[data-theme=dark] #hub-page .hn-nba h3{color:var(--mv-ink)}

/* ---- phones and narrow windows ----------------------------------------------------------------------------------------- */
@media (max-width:900px){
  body.home-next #hub-page .shell{padding:70px 16px 60px !important}
  #hub-page .hn-head{border-radius:22px;padding:14px}
  #hub-page .hn-card-b{padding:calc(6px * var(--mv-k,1)) calc(16px * var(--mv-k,1)) calc(18px * var(--mv-k,1))}
  #hub-page .hn-seg{display:flex;flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding-right:20px}
}
@media (prefers-reduced-transparency:reduce){
  html{--mv-card:#fafbfa;--mv-tile:#ffffff}
  html[data-theme=dark]{--mv-card:#232628;--mv-tile:#2a2d2f}
}


/* ---- the other card families: Movara's corners and surfaces ----------------------------------------------------------------
   The glass registries of build.py (CSS / AUDIT_CSS) list every panel of the content pages; here they take the folder card's radius
   (28px x Card size) and tiles the tile's (18px). Their background, edge and shadow already come from the tokens above. */
.shell :is(.pcard,.shot,.linc-review,.ph,.plan-intro,.plan-ctl,.prow,.li,.sched-connect,.cal,.brief,.uptray,.pvw,.tp-ask,.notes .note,.cb-up,.cb-card,
  .ap-piece,.ap-board,.aclog-table,.bz-metric,.bz-opp,.bz-drop,.bz-batch,.bz-map,.bz-rate,.bz-col,.bz-lead-form,.bz-kcard,.bz-facts,.bz-tpl,
  .ask,.acceptbar,.bz-doctrine,.bz-att,.stage,.cbstage,.phdrop,.sty-card,.sc-cost,.bz-bench-c,.bz-kcol,.aclog-msg,.cr-card,#sform,.cat,.wn-card,
  .l1-card,.l1-nba,.hn-nba,.pf-card,.cpl-msg,.xs-notice,.sg,.aim-card,#tp-brief),
.shell .block .card,
html :is(.lc-side,.lc-main,.lk-card,.ib-side,.ib-list,.ib-thread,.pub-col,.pub-list,.rq,.sd-card,.step,.use,.fstep,.firstprompt,.ecx-card,.cal-card,
  .cal-review,.cal-notebox,.sd-post,.fromcanvas,.eb-ask,.eb-gate){border-radius:var(--mv-r)}
.shell :is(.ap-row,.bz-todo-r),html :is(.lk-row,.lc-about,.lc-sk-card,.pub-card,.ask-b,.ask-in,.cmp-card){border-radius:var(--mv-r-tile)}
/* ...and the one card shadow (hub-theme.css 2c), on every one of them, whatever shadow its page's own sheet drew (a 14-38px haze in
   several recipes): html + the registry outranks a page's own rule, and the dark sheet's (both modes read the token). The Video Hub's
   cards are the same list's other half (video/styles.css LOOK PASS), and the chart kit's cards read the same token. */
html .shell :is(.pcard,.shot,.linc-review,.ph,.plan-intro,.plan-ctl,.sched-connect,.cal,.brief,.uptray,.pvw,.tp-ask,.notes .note,.cb-up,.cb-card,
  .ap-piece,.ap-board,.aclog-table,.bz-metric,.bz-opp,.bz-drop,.bz-batch,.bz-map,.bz-rate,.bz-col,.bz-lead-form,.bz-kcard,.bz-facts,.bz-tpl,
  .ask,.acceptbar,.bz-doctrine,.bz-att,.stage,.cbstage,.phdrop,.sty-card,.sc-cost,.bz-bench-c,.bz-kcol,.aclog-msg,.cr-card,#sform,.cat,.wn-card,
  .l1-card,.l1-nba,.hn-nba,.pf-card,.cpl-msg,.xs-notice,.sg,.aim-card,#tp-brief,.hn-head,.step),
html .shell .block .card,
html :is(.lc-side,.lc-main,.lk-card,.ib-side,.ib-list,.ib-thread,.pub-col,.pub-list,.rq,.sd-card,.use,.fstep,.firstprompt,.ecx-card,.cal-card,
  .cal-review,.cal-notebox,.sd-post,.fromcanvas,.eb-ask,.eb-gate,.hc-card),
html #app :is(.card,.fold,.tile,.vp-card,.rv-card,.sbd-card,.bank-card,.link-card):not(:is(.card,.fold,.tile,.vp-card,.rv-card,.sbd-card,.bank-card,.link-card) *){box-shadow:var(--hub-shadow)}
/* chips and small actions as pills */
html .ask-chip{border-radius:100px}
/* a card's media keeps a matching inner corner */
.shell .block .card .media,.shell .cr-card :is(.cr-shot,.cr-img){border-radius:calc(var(--mv-r) - 8px)}


/* =====================================================================================================================
   THE SECTION'S OVAL (owner 2026-11-08: "un óvalo de navegación", image 2). A section's pages (the area tab bar of build.py
   area_tabs() on the Studio's pages, hub-rail.js areaTabs() on the Video Hub's: Production, Rally, Script & storyboard, Social) are
   one rounded bar at the top of the work column, on BOTH halves, with the same markup (nav.areatabs > a.atab[.on]) and these rules:
     - its colour is the SIDEBAR's (it follows the person's Menu look, light or dark, and the solid backgrounds), not a fixed navy:
       --oval-* below are the sidebar's fill (hub-movara.css .hr-scope, hub-rail.css on a solid), flattened for a bar 48px tall;
     - the page you are on is a WHITE pill with navy ink (and the one small shadow); the others sit on a quiet tint of the bar;
     - it runs the full width of the column and its pages share it evenly (each takes an equal part, or its own width when its
       label needs more), tighten on a narrow window, and scroll sideways inside the bar on a phone (no scrollbar; hub-rail.js
       tabIntoView brings the current page into view and marks .ovf for the fade at the edge);
     - it scrolls with the page (not sticky), and it is solid: no backdrop-filter (G17), the one card shadow (hub-theme.css 2c).
   Not on the Home. The board pages' "Edit page" tools sit BESIDE it, at the row's right end (.at-row > .bd-slot, a slot build.py
   reserves: no shift when they land), as the Video Hub's New project does (.at-row > .at-acts).
   Stage-1 review (2026-11-08): the section's round icon starts the oval; the Video Hub's pages carry the sidebar's counts; on a desktop the
   pages that do not fit go into More (never behind the edge's fade); Social's and Co-branding's pages carry the Content Studio's oval with
   their row current and their own pages as folder tabs under it (.sectabs); every word in English and Spanish (build.py _two). */
html,html[data-hr-theme=light]{--oval-bg:rgba(255,255,255,.72);--oval-ink:rgba(19,48,66,.82);--oval-item:rgba(19,48,66,.045);--oval-hover:rgba(19,48,66,.085);
  --oval-chip:rgba(19,48,66,.08)}
html[data-hr-theme=dark]{--oval-bg:rgba(35,38,40,.84);--oval-ink:rgba(255,255,255,.82);--oval-item:rgba(255,255,255,.06);--oval-hover:rgba(255,255,255,.11);
  --oval-chip:rgba(255,255,255,.12)}
html:is([data-bg=white],[data-bg=offwhite],[data-bg=bone])[data-hr-theme=light]{--oval-bg:#ffffff}
html[data-bg=bone][data-hr-theme=light]{--oval-bg:#fbf9f5}
html:is([data-bg=white],[data-bg=offwhite],[data-bg=bone])[data-hr-theme=dark]{--oval-bg:#1e2023}
html[data-bg=bone][data-hr-theme=dark]{--oval-bg:#29241f}
.at-row{position:relative;z-index:2;display:flex;align-items:center;gap:12px;box-sizing:border-box;
  margin:16px 24px 0 calc(var(--work-left,0px) + 24px)}
.areatabs{position:relative;flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:4px;box-sizing:border-box;min-height:48px;
  margin:0;padding:4px;border:0;border-radius:100px;background:var(--oval-bg);
  box-shadow:var(--hub-shadow);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain;
  font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif;-webkit-backdrop-filter:none;backdrop-filter:none}
.areatabs::-webkit-scrollbar{display:none}
/* the section's round icon at the start of the oval (P-ovalos, image 2): a mark, not a control */
.areatabs .at-ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;
  background:var(--oval-item);color:var(--oval-ink)}
.areatabs .at-ic svg{width:18px;height:18px;display:block}
.areatabs .atab{flex:1 1 0;min-width:max-content;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  height:40px;margin:0;padding:0 14px;border:0;border-radius:100px;background:var(--oval-item);box-shadow:none;
  color:var(--oval-ink);font-size:13.5px;line-height:1;font-weight:var(--fw-regular,400);letter-spacing:0;text-transform:none;white-space:nowrap;
  text-decoration:none;transition:background-color .12s;font-family:inherit;cursor:pointer}
html:not(.is-scrolling) .areatabs .atab:hover{background:var(--oval-hover);color:var(--oval-ink)}
.areatabs .atab.on{background:#ffffff;color:#133042;font-weight:var(--fw-medium,500);box-shadow:var(--hub-shadow-sm)}
html:not(.is-scrolling) .areatabs .atab.on:hover{background:#ffffff;color:#133042}
.areatabs .atab[hidden],.areatabs .atab.at-in-more{display:none}
.areatabs .atab:focus-visible{outline:2px solid var(--oval-ink);outline-offset:-3px}
.areatabs .atab.on:focus-visible{outline-color:#133042}
.areatabs .atab.soon{opacity:.55;cursor:default}
/* a mark on a page (My Style while it is due; NEW): never READY (owner 2026-11-08). The coral dot is a status mark, not the control */
.areatabs .atab em{display:inline-flex;align-items:center;gap:5px;height:18px;padding:0 7px;border-radius:100px;background:var(--oval-chip);
  color:inherit;font-style:normal;font-size:9.5px;line-height:1;font-weight:var(--fw-medium,500);letter-spacing:.08em}
.areatabs .atab em.due{gap:4px;padding:0 6px 0 5px}
.areatabs .atab em.due::before{content:'';flex:none;width:5px;height:5px;border-radius:50%;background:#f15b4f}
/* the sidebar's counts on the Video Hub's pages (Projects 9, Calendar 10, Deliverables 2, Chat 1): the coral dot when something waits on you */
.areatabs .atab em.cnt{box-sizing:border-box;min-width:22px;justify-content:center;padding:0 6px;font-size:10.5px;letter-spacing:0}
.areatabs .atab em.cnt.hot{gap:4px;padding:0 7px 0 6px}
.areatabs .atab em.cnt.hot::before{content:'';flex:none;width:5px;height:5px;border-radius:50%;background:#f15b4f}
.areatabs .atab.on em{background:rgba(19,48,66,.08);color:#133042}
.areatabs .atab em[hidden]{display:none}
/* My Style's mark and the counts land after the first paint. Where the pages share the width (1360px up) they land inside their page's
   own share and move nothing; narrower, where the pages take their own widths (on a phone it pushed every page after it 55px), their
   room is kept whether they show or not */
.areatabs .atab > em[data-badge]{box-sizing:border-box;min-width:42px;justify-content:center}
@media (max-width:1359px){.areatabs .atab > em:is([data-badge],[data-cnt])[hidden]{display:inline-flex;visibility:hidden}}
/* More (a desktop whose oval cannot hold every page: hub-rail.js fitBar), and its menu under the oval's right end */
.areatabs .at-more{flex:0 0 auto;gap:6px}
.areatabs .at-more[hidden]{display:none}
.at-more-pop{position:absolute;z-index:40;top:calc(100% + 8px);right:0;min-width:200px;display:flex;flex-direction:column;gap:2px;padding:6px;
  border-radius:18px;background:var(--mv-card,#fff);box-shadow:var(--hub-shadow)}
.at-more-pop[hidden]{display:none}
.at-more-pop .at-more-i{display:flex;align-items:center;justify-content:space-between;gap:10px;height:38px;padding:0 14px;border-radius:12px;
  color:var(--mv-ink,#12202a);font-size:13.5px;text-decoration:none;font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif}
.at-more-pop .at-more-i:hover,.at-more-pop .at-more-i:focus-visible{background:var(--mv-tile-2,rgba(19,32,42,.04));outline:none}
.at-more-pop .at-more-i em{font-style:normal;font-size:10.5px;color:var(--mv-muted,#566064)}
.at-more-pop .at-more-i em[hidden]{display:none}
/* the overview boards' Edit page tools (board.js) and the Video Hub's page action (New project): BESIDE the oval, at the row's right end,
   a pill of their own (sheet C, sheet D), never one of the oval's pages (stage-1 review: inside the oval it read as another page) */
.at-row .bd-slot{flex:none;display:flex;align-items:center;min-width:118px;height:40px}
.at-row .bd-slot .bd-tools,#hub-page .at-row .bd-slot .bd-tools{display:flex;gap:6px;margin:0;padding:0;width:100%}
.at-row .bd-slot .bd-tools button,#hub-page .at-row .bd-slot .bd-tools button{flex:1 0 auto;justify-content:center;height:40px;padding:0 16px;
  border:1px solid var(--mv-line);border-radius:100px;background:var(--mv-card-hi,#fff);color:var(--mv-ink);box-shadow:var(--hub-shadow-sm);
  font:inherit;font-size:13px;font-weight:var(--fw-regular,400)}
html:not(.is-scrolling) .at-row .bd-slot .bd-tools button:hover{border-color:rgba(19,48,66,.35)}
.at-row .bd-slot .bd-tools .bd-edit.on,#hub-page .at-row .bd-slot .bd-tools .bd-edit.on{background:var(--btn-primary-bg,#133042);color:#fff;border-color:transparent}
.at-acts{flex:none;display:flex;align-items:center;gap:8px}
.at-acts:empty{display:none}
/* sideways scroll on a narrow screen: a soft fade at the edge that still hides pages (hub-rail.js tabIntoView: .ovf-r more to the
   right, .ovf-l more to the left) */
.areatabs.ovf-r{-webkit-mask:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
.areatabs.ovf-l{-webkit-mask:linear-gradient(90deg,transparent,#000 24px);mask:linear-gradient(90deg,transparent,#000 24px)}
.areatabs.ovf-l.ovf-r{-webkit-mask:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 28px),transparent);mask:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 28px),transparent)}
/* tighten before More (a desktop) or scrolling (a phone) */
@media (max-width:1180px){.areatabs .atab{padding:0 10px;font-size:13px}.areatabs{gap:3px}
  /* the Edit page tool is its icon alone (its name stays for assistive tech), until the person is editing */
  body:not(.bd-editing) .at-row .bd-slot{min-width:40px}
  body:not(.bd-editing) .at-row .bd-slot .bd-tools .bd-edit,body:not(.bd-editing) #hub-page .at-row .bd-slot .bd-tools .bd-edit{flex:none;width:40px;padding:0;gap:0}
  body:not(.bd-editing) .at-row .bd-slot .bd-edit span:not(.bd-ic){position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}

/* ---- a row's own pages: FOLDER TABS under the oval (Social: Dashboard | Inbox | Preview | Publishing | the team's Plans ...; Co-branding:
   Partners | Make a piece), as the Home's cards wear theirs (image 4): the current one is the card's own white and joins the rule under
   it; the others stand behind it as folder tabs in a softer tone, each with its own outline, with room between them. Both halves. */
.sectabs{position:relative;z-index:1;display:flex;align-items:flex-end;gap:10px;box-sizing:border-box;
  margin:16px 24px 0 calc(var(--work-left,0px) + 24px);padding:0 4px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;
  box-shadow:inset 0 -1px 0 var(--mv-line);font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif}
.sectabs::-webkit-scrollbar{display:none}
/* on a phone the folder tabs scroll inside their strip too, the current one brought into view (hub-rail.js tabIntoView), a fade where more wait */
.sectabs.ovf-r{-webkit-mask:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
.sectabs.ovf-l{-webkit-mask:linear-gradient(90deg,transparent,#000 24px);mask:linear-gradient(90deg,transparent,#000 24px)}
.sectabs.ovf-l.ovf-r{-webkit-mask:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 28px),transparent);mask:linear-gradient(90deg,transparent,#000 24px,#000 calc(100% - 28px),transparent)}
.sectabs .stab{flex:none;display:inline-flex;align-items:center;height:38px;padding:0 18px;border-radius:16px 16px 0 0;
  background:var(--mv-tile-2,rgba(19,32,42,.04));box-shadow:inset 0 1px 0 var(--mv-line),inset 1px 0 0 var(--mv-line),inset -1px 0 0 var(--mv-line);
  color:var(--mv-body,#4c585d);font-size:13px;line-height:1;font-weight:var(--fw-regular,400);white-space:nowrap;text-decoration:none}
html:not(.is-scrolling) .sectabs .stab:hover{color:var(--mv-ink,#12202a);background:var(--mv-card,#fff)}
.sectabs .stab.on{background:var(--mv-card,#fff);color:var(--mv-ink,#12202a);font-weight:var(--fw-medium,500);
  box-shadow:inset 0 1px 0 var(--mv-line),inset 1px 0 0 var(--mv-line),inset -1px 0 0 var(--mv-line),0 1px 0 var(--mv-card,#fff)}
.sectabs .stab[hidden]{display:none}
.sectabs .stab:focus-visible{outline:2px solid var(--mv-ink,#12202a);outline-offset:-3px}
html[data-theme=dark] .sectabs .stab{background:rgba(255,255,255,.03)}
html[data-theme=dark] .sectabs .stab.on{background:var(--mv-card)}
@media (max-width:900px){
  .at-row{margin:14px 16px 0 72px;gap:8px}
  .areatabs{min-height:44px}
  .areatabs .at-ic{display:none}
  .areatabs .atab{height:36px;padding:0 13px}
  .at-row .bd-slot{height:36px;min-width:36px}
  .at-row .bd-slot .bd-tools button,#hub-page .at-row .bd-slot .bd-tools button{height:36px}
  .sectabs{margin:12px 16px 0;gap:8px}
  .sectabs .stab{height:36px;padding:0 14px}
}
@media (prefers-reduced-motion:reduce){.areatabs .atab{transition:none}}

/* My Style's floating footer in dark: the same opaque card as in light (build.py .shell .sf; the generated dark sheet gave it the floating
   layers' fill and an edge) */
html[data-theme=dark] body .shell .sf{background:var(--mv-card);border:0;box-shadow:var(--hub-shadow)}
/* a card title's quiet second half (the Email templates catalog: "Templates  paste your email, pick a look, send it"): a word's space apart
   from the title, never run into it (stage-1 review: "Templatespaste ...") */
#hub-page .hn-card-h h2 > .hn-it{margin-left:.5em;font-weight:var(--fw-regular,400);color:var(--mv-muted)}


/* =====================================================================================================================
   THE FOLDER-TAB CARD (owner 2026-11-08: "Compacta todo el sitio: una tarjeta completa por categoría con pestañas", sheet A-home; the tab
   look of image 4, "Lead & Campaigns | Activity"). Built ONCE (board.js folderTabs / tabCard, these rules) for the Home and the pages that
   follow, on both halves (it reads only the portal's tokens):
     - the chosen tab is the card's own surface, joined to it by the Movara S-curve shoulders (the card's colour, light / dark / a solid);
     - the others stand BEHIND it in EXACTLY its shape (owner 2026-11-09): the first tab's shape for every tab (straight left edge, rounded
       top-left corner, the sweeping diagonal on the right only), the same height, their own hairline outline around that shape, a softer
       tone (the card's colour a shade deeper, --ftab-bg), close together (--ftab-gap): each tab covers the tail of the one before it;
     - counts are small round badges (navy on the chosen tab); a status word (DUE) carries the coral dot, a mark, never the control;
     - the round "open the section" button (↗) sits at the strip's right end, on the canvas;
     - the card's one shadow is the folder cards' filter (--hub-drop: it follows the tabs and the shoulders), no backdrop-filter (G17);
     - narrow cards (container fcard): the tabs tighten (a little less padding, a smaller icon), never the
       category icon, never the word DUE (stage-2 review: the sheets show both at every width); the grid never makes a card too narrow
       for its strip (a row of three goes 2 + 1 under 1100px of content). Past that (a zoomed page) the strip scrolls inside itself,
       the chosen tab in view and the hidden side faded out (.ovf-l / .ovf-r, board.js).
   The folder tabs under a section's oval (.sectabs, stage 1) read the same tokens: one tab look on every page. */
html{--ftab-gap:calc(8px * var(--mv-k,1));--ftab-h:var(--mv-tab);--ftab-r:calc(16px * var(--mv-k,1));
  --ftab-sh:calc(32px * var(--mv-k,1));--ftab-in:calc(12px * var(--mv-k,1));
  --ftab-line:drop-shadow(0 -1px 0 var(--ftab-edge)) drop-shadow(1px 0 0 var(--ftab-edge)) drop-shadow(-1px 0 0 var(--ftab-edge));
  --ftab-bg:color-mix(in srgb,var(--mv-card) 89%,#6f6355);--ftab-edge:rgba(19,32,42,.1);--ftab-ink:var(--mv-body);
  --hk-tile:color-mix(in srgb,var(--mv-card) 95%,#6f6355)}
html[data-theme=dark]{--ftab-bg:color-mix(in srgb,var(--mv-card) 78%,#000);--ftab-edge:rgba(255,255,255,.09);--ftab-ink:var(--mv-muted);
  --hk-tile:color-mix(in srgb,var(--mv-card) 90%,#fff)}
.fcard{position:relative;display:flex;flex-direction:column;flex:1 1 auto;min-width:0;isolation:isolate;filter:var(--hub-drop);
  container:fcard / inline-size;color:var(--mv-ink);font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif}
.fc-h{position:relative;z-index:1;display:flex;align-items:flex-end;gap:8px;height:var(--mv-tab)}
.fc-tabs{position:relative;display:flex;align-items:flex-end;gap:var(--ftab-gap);flex:1 1 auto;min-width:0;height:100%;box-sizing:border-box;
  padding-right:max(var(--ftab-sh),calc(26px * var(--mv-k,1)));overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-x:contain}
.fc-tabs::-webkit-scrollbar{display:none}
.fc-t{--tf:var(--ftab-bg);position:relative;z-index:1;flex:none;display:inline-flex;align-items:center;gap:7px;box-sizing:border-box;height:var(--mv-tab);margin:0;
  padding:0 calc(16px * var(--mv-k,1));border:0;border-radius:var(--mv-r) 0 0 0;background:var(--tf);box-shadow:none;filter:var(--ftab-line);
  color:var(--ftab-ink);font:inherit;font-size:max(12px,calc(13.5px * var(--mv-k,1)));font-weight:var(--fw-regular,400);line-height:1;
  white-space:nowrap;cursor:pointer;transition:background-color .12s,color .12s}
html:not(.is-scrolling) .fc-t:not(.on):hover{--tf:color-mix(in srgb,var(--ftab-bg) 45%,var(--mv-card));color:var(--mv-ink)}
.fc-t:focus-visible{outline:2px solid var(--mv-ink);outline-offset:-4px}
.fc-t.on{--tf:var(--mv-card);z-index:9;filter:none;color:var(--mv-ink);font-weight:var(--fw-medium,500);cursor:default}
/* ONE folder-tab shape for every tab, the FIRST tab's (owner 2026-11-09, the approved Home mockup: "asi van a ser las pestanas en todos
   los menus"; like Create's "02 Your request" tab): a straight left edge with the card's rounded top corner, the sweeping diagonal down
   to the card on the RIGHT only, the same height, chosen or not. The tabs sit close together (--ftab-gap): each tab lies over the tail
   of the one before it (the later tab in front, by its place in the strip), the chosen tab in front of them all, the card's own colour
   and joined to the card (where its straight left edge meets the card, a small concave corner, --ftab-in); the others the softer tone
   (--tf) with their hairline around the whole shape (--ftab-line, a drop-shadow that follows the diagonal). */
.fc-t::after{content:'';position:absolute;top:0;bottom:0;right:calc(1px - var(--ftab-sh));width:var(--ftab-sh);background:var(--tf);pointer-events:none;
  transition:background-color .12s;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0H4C24 0 20 48 44 48H0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0H4C24 0 20 48 44 48H0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
.fc-t.on:not(:first-child)::before{content:'';position:absolute;bottom:0;left:calc(0px - var(--ftab-in));width:var(--ftab-in);height:var(--ftab-in);
  background:var(--tf);pointer-events:none;
  -webkit-mask:radial-gradient(circle at 0 0,transparent calc(var(--ftab-in) - .5px),#000 var(--ftab-in));
          mask:radial-gradient(circle at 0 0,transparent calc(var(--ftab-in) - .5px),#000 var(--ftab-in))}
/* a card whose every tab carries an icon (board.js tabCard: .fc-fold) on a phone: the chosen tab keeps its name, the others fold to
   their icon (their name stays the button's accessible name), so the strip fits whole */
@container fcard (max-width:440px){
  .fcard.fc-fold .fc-t:not(.on){font-size:0;gap:0}
  .fcard.fc-fold .fc-t:not(.on) :is(.fc-n,.fc-due,.due){display:none}
  .fcard.fc-fold .fc-t:not(.on) .fc-ci{margin-left:0}
}
.fc-ci{display:grid;place-items:center;flex:none;width:26px;height:26px;margin-left:calc(-6px * var(--mv-k,1));border-radius:50%;
  background:var(--hk-tile);box-shadow:inset 0 0 0 1px var(--mv-line);color:var(--mv-ink)}
.fc-ci svg{width:15px;height:15px;display:block}
.fc-n{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:20px;height:20px;padding:0 6px;border-radius:100px;
  background:color-mix(in srgb,var(--ftab-bg) 55%,var(--mv-ink) 8%);font-size:11px;font-weight:var(--fw-medium,500);color:var(--mv-body);font-variant-numeric:tabular-nums}
.fc-t.on .fc-n{background:var(--btn-primary-bg,#133042);color:#fff}
html[data-theme=dark] .fc-t.on .fc-n{background:#eef0f0;color:#12202a}
.fc-t :is(.fc-due,.due){display:inline-flex;align-items:center;gap:5px;height:18px;padding:0 7px 0 6px;border-radius:100px;background:var(--hk-tile);
  box-shadow:inset 0 0 0 1px var(--mv-line);font-size:9.5px;font-weight:var(--fw-medium,500);letter-spacing:.08em;color:var(--mv-ink)}
.fc-t :is(.fc-due,.due)::before{content:'';flex:none;width:6px;height:6px;border-radius:50%;background:#f15b4f}
.fc-n[hidden],.fc-t :is(.fc-due,.due)[hidden]{display:none}
.fc-open{flex:none;align-self:center;display:grid;place-items:center;width:calc(34px * var(--mv-k,1));height:calc(34px * var(--mv-k,1));margin:0 2px 0 0;
  border-radius:50%;background:var(--mv-card);color:var(--mv-ink);box-shadow:inset 0 0 0 1px var(--ftab-edge);text-decoration:none}
html:not(.is-scrolling) .fc-open:hover{background:var(--hk-tile)}
.fc-open:focus-visible{outline:2px solid var(--mv-ink);outline-offset:2px}
.fc-b{position:relative;z-index:0;flex:1 1 auto;display:flex;flex-direction:column;min-height:0;box-sizing:border-box;
  padding:calc(14px * var(--mv-k,1)) calc(18px * var(--mv-k,1)) calc(16px * var(--mv-k,1));border-radius:0 var(--mv-r) var(--mv-r) var(--mv-r);background:var(--mv-card)}
/* a card whose strip is a BAND inside its outline (sheet V-video: Create > Video's two cards): the strip's row is the card's own,
   in the tabs' soft tone, its top corners the card's, so what sits at its right end (whose turn it is, an admin's selector) is ON the
   card, not on the page beside the folder tab (stage-3 review: "Your turn" sat on the wallpaper, 12px above the card). The chosen tab
   is still the card's surface with its shoulders; the others keep their outline, behind. */
html{--ftab-band:color-mix(in srgb,var(--mv-card) 52%,var(--ftab-bg))}
.fcard.fc-band>.fc-h{border-radius:var(--mv-r) var(--mv-r) 0 0;background:var(--ftab-band);
  box-shadow:inset 0 1px 0 var(--ftab-edge),inset 1px 0 0 var(--ftab-edge),inset -1px 0 0 var(--ftab-edge)}
.fcard.fc-band>.fc-b{border-top-right-radius:0}
.fc-p{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
.fc-p[hidden]{display:none !important}
.fc-p:focus-visible{outline:2px solid var(--mv-ink);outline-offset:4px;border-radius:12px}
/* a narrower card: the tabs tighten, every label whole, the tabs close together (each over the tail of the one before it),
   the category icon and the word DUE kept (sheets A-home, A2, A3, E). Here the label and its padding stop growing with Card size: at the
   largest Card size every tab still fits its strip at 1440, 1280, 1024 and 390, in English and in Spanish (stage-2 review: 12 of 32
   loads cut a tab at 115%) */
@container fcard (max-width:520px){
  .fc-tabs{--ftab-sh:calc(23px * var(--mv-k,1));gap:min(var(--ftab-gap),8px);padding-right:var(--ftab-sh)}
  .fc-t{padding:0 min(13px,calc(12px * var(--mv-k,1)));gap:6px;font-size:min(13px,max(12px,calc(12.5px * var(--mv-k,1))))}
  .fc-t :is(.fc-due,.due){font-size:9px;letter-spacing:.05em}
  .fc-open{width:min(32px,calc(32px * var(--mv-k,1)));height:min(32px,calc(32px * var(--mv-k,1)))}
}
@container fcard (max-width:440px){
  .fc-tabs{--ftab-sh:15px;--ftab-in:8px;gap:6px;padding-right:var(--ftab-sh)}
  .fc-t{padding:0 10px;gap:5px;font-size:12px}
  .fc-ci{width:22px;height:22px;margin-left:-4px}
  .fc-ci svg{width:13px;height:13px}
  .fc-n{min-width:18px;height:18px;padding:0 5px;font-size:10.5px}
  .fc-t :is(.fc-due,.due){gap:4px;height:17px;padding:0 5px 0 4px;font-size:9px;letter-spacing:.03em}
  .fc-open{width:30px;height:30px}
  .fc-b{padding:12px 14px 14px}
}
/* the narrowest card the grid makes (a pair at 1024 with the sidebar open, about 340px): a little less padding inside each tab, the tabs
   still close together */
@container fcard (max-width:360px){
  .fc-t{padding:0 6px}
  .fc-t{padding-left:9px}
  .fc-t:first-child{padding-left:11px}
  .fc-t :is(.fc-due,.due){padding:0 4px 0 3px;letter-spacing:.02em}
}
/* ...and the panels of the one-card Home (owner 2026-11-09) at 1024 are narrower still (a pair inside the card, about 327px): two pixels less
   inside each tab, so Spanish's Contenido | Historial | Mi estilo PENDIENTE stays whole */
@container fcard (max-width:335px){
  .fc-t{padding:0 4px 0 8px}
  .fc-t:first-child{padding-left:9px}
}
/* a phone's card with FOUR tabs (Production's Active | Urgent | Mine | Done, sheet D; Social's pages): a little less padding inside each tab
   and a smaller icon, so the four fit whole in English and in Spanish */
@container fcard (max-width:400px){
  .fcard:is([data-n="4"],[data-n="5"]) .fc-tabs{--ftab-sh:13px;padding-right:var(--ftab-sh)}
  .fcard:is([data-n="4"],[data-n="5"]) .fc-t{padding:0 6px;gap:4px;font-size:11.5px}
  .fcard:is([data-n="4"],[data-n="5"]) .fc-t:first-child{padding-left:8px}
  .fcard:is([data-n="4"],[data-n="5"]) .fc-ci{width:18px;height:18px;margin-left:-2px}
  .fcard:is([data-n="4"],[data-n="5"]) .fc-ci svg{width:12px;height:12px}
  .fcard:is([data-n="4"],[data-n="5"]) .fc-n{min-width:17px;height:17px;padding:0 4px;font-size:10px}
  /* My Business's one card (owner 2026-11-16): its four names are the longest (Overview | Today 6 | Partners | Model Match), a hair less inside each */
  .fcard[data-card="biz"] .fc-t{padding:0 4px;gap:3px;font-size:11px}
  .fcard[data-card="biz"] .fc-ci{width:16px;height:16px}
  .fcard[data-card="biz"] .fc-t:first-child{padding-left:7px}
}
/* a strip that has to scroll (board.js edges): the side that hides tabs fades out, so the person sees there is more */
.fc-tabs.ovf-r{-webkit-mask:linear-gradient(90deg,#000 calc(100% - 34px),transparent);mask:linear-gradient(90deg,#000 calc(100% - 34px),transparent)}
.fc-tabs.ovf-l{-webkit-mask:linear-gradient(90deg,transparent,#000 34px);mask:linear-gradient(90deg,transparent,#000 34px)}
.fc-tabs.ovf-l.ovf-r{-webkit-mask:linear-gradient(90deg,transparent,#000 34px,#000 calc(100% - 34px),transparent);mask:linear-gradient(90deg,transparent,#000 34px,#000 calc(100% - 34px),transparent)}
@media (prefers-reduced-motion:reduce){.fc-t{transition:none}}
/* the folder tabs under a section's oval (stage 1) are the same tabs */
.sectabs{gap:var(--ftab-gap)}
.sectabs .stab{border-radius:var(--ftab-r) var(--ftab-r) 0 0;background:var(--ftab-bg);color:var(--ftab-ink);
  box-shadow:inset 0 1px 0 var(--ftab-edge),inset 1px 0 0 var(--ftab-edge),inset -1px 0 0 var(--ftab-edge)}
html[data-theme=dark] .sectabs .stab{background:var(--ftab-bg)}
.sectabs .stab.on,html[data-theme=dark] .sectabs .stab.on{background:var(--mv-card);color:var(--mv-ink);
  box-shadow:inset 0 1px 0 var(--ftab-edge),inset 1px 0 0 var(--ftab-edge),inset -1px 0 0 var(--ftab-edge),0 1px 0 var(--mv-card)}

/* ---- inside a card: figures on tiles, lists, a strip, a foot (the compact vocabulary of the category cards) ----------------------- */
.fcard :is(s,em){font-style:normal}   /* upright: the page sheets set every secondary line italic (.shell s); these cards read upright */
.fcard .hk-grid{display:grid;gap:8px}
.fcard .hk-grid.k2{grid-template-columns:repeat(2,minmax(0,1fr))}
.fcard .hk-grid.k3{grid-template-columns:repeat(3,minmax(0,1fr))}
.fcard .hk{display:flex;flex-direction:column;justify-content:flex-start;gap:3px;min-width:0;box-sizing:border-box;padding:9px 12px 10px;border-radius:14px;background:var(--hk-tile)}
.fcard .hk-l{font-size:11.5px;line-height:1.25;color:var(--mv-muted)}
.fcard .hk-v{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:26px}
.fcard .hk-v b{font-size:21px;line-height:1.15;font-weight:300;letter-spacing:-.015em;color:var(--mv-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.fcard .hk-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--mv-navy)}
.fcard .hk-dot.t-sage{background:var(--mv-sage)}
.fcard .hk-dot.t-due{background:#f15b4f}
html[data-theme=dark] .fcard .hk-dot.t-navy{background:#eef0f0}
.fcard .hk-spark{flex:0 1 54px;min-width:26px;margin-left:auto;color:var(--mv-ink)}
.fcard .hk-spark>*{display:block;max-width:100%}
.fcard .hk-dl{margin-left:auto;display:inline-flex;align-items:center;height:18px;padding:0 6px;border-radius:100px;font-size:10.5px;font-weight:var(--fw-medium,500);white-space:nowrap}
.fcard .hk-dl.up{background:rgba(47,125,91,.1);color:#2a6b4e}
.fcard .hk-dl.dn{background:rgba(173,56,48,.09);color:#a1342d}
html[data-theme=dark] .fcard .hk-dl.up{background:rgba(143,208,176,.12);color:#b7e4cd}
html[data-theme=dark] .fcard .hk-dl.dn{background:rgba(240,163,156,.12);color:#fbcfca}
/* the tile is lighter than the card on the Home's panels (measured #4c4e50): the label gets ink, not the muted grey (G12) */
html[data-theme=dark] .fcard .hk-l{color:color-mix(in srgb,var(--mv-ink) 78%,var(--hk-tile))}
.fcard .hk-sub{margin:12px 2px 6px;font-size:11.5px;line-height:1.3;color:var(--mv-muted)}
.fcard .fc-p>.hk-sub:first-child,.fcard .hk-col>.hk-sub:first-child{margin-top:0}
.fcard .hk-rows{display:flex;flex-direction:column}
.fcard .hk-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 4px;border-bottom:1px solid var(--mv-line);
  border-radius:0;color:inherit;text-decoration:none}
.fcard .hk-row:last-child{border-bottom:0}
html:not(.is-scrolling) .fcard a.hk-row:hover{background:var(--hk-tile);border-radius:12px}
.fcard .hk-ri{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--hk-tile);box-shadow:inset 0 0 0 1px var(--mv-line);color:var(--mv-ink)}
.fcard .hk-ri .ic{width:15px;height:15px}
.fcard .hk-rm{min-width:0}
.fcard .hk-rm b{display:block;font-size:13px;font-weight:400;line-height:1.3;color:var(--mv-ink);overflow-wrap:anywhere}
.fcard .hk-rm s{display:block;text-decoration:none;font-size:11.5px;line-height:1.3;color:var(--mv-muted);overflow-wrap:anywhere}
.fcard :is(.hk-tag,.hk-score,.hk-cnt){display:inline-flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;height:22px;padding:0 9px;border-radius:100px;
  background:var(--mv-card);box-shadow:inset 0 0 0 1px var(--mv-line);font-style:normal;font-size:10.5px;font-weight:var(--fw-medium,500);letter-spacing:.03em;
  color:var(--mv-ink);white-space:nowrap}
.fcard .hk-tag::before{content:'';flex:none;width:6px;height:6px;border-radius:50%;background:var(--mv-sage)}
.fcard .hk-tag.t-due::before,.fcard .hk-tag.t-changes::before{background:#f15b4f}
.fcard .hk-tag.t-plan::before{display:none}
.fcard :is(.hk-score,.hk-cnt){min-width:36px;letter-spacing:0;font-variant-numeric:tabular-nums}
.fcard .hk-cnt.hot{background:var(--btn-primary-bg,#133042);color:#fff;box-shadow:none}
html[data-theme=dark] .fcard .hk-cnt.hot{background:#eef0f0;color:#12202a}
.fcard .hk-foot{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-top:auto;padding-top:12px}
.fcard .hk-foot .hk-go{margin-left:auto}
.fcard .hk-go{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:var(--fw-medium,500);color:var(--mv-ink);text-decoration:none;white-space:nowrap}
html:not(.is-scrolling) .fcard .hk-go:hover{text-decoration:underline;text-underline-offset:3px}
.fcard .hk-note{font-size:11.5px;line-height:1.35;color:var(--mv-muted)}
.fcard .hk-strip{display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px;box-sizing:border-box;min-height:40px;margin-top:12px;padding:9px 12px;
  border-radius:14px;background:var(--hk-tile);font-size:12px;line-height:1.35;color:var(--mv-body)}
.fcard .hk-strip b{font-weight:var(--fw-medium,500);color:var(--mv-ink)}
.fcard .hk-strip .hk-go{margin-left:auto}
.fcard .hk-strip.wait{color:var(--mv-muted)}
.fcard .hk-strip .hub-viewas-hidden{margin:0;padding:0;background:none;box-shadow:none}
/* Model Match's line keeps the room of its figures before they land (two lines on a narrow card) */
/* its room for two or three lines of figures only WHILE they are on their way: a one-line answer is one line (stage-2 review: 58-74px
   for one line at 390). It is the last thing in its card, so what it leaves moves nothing above it */
@container fcard (max-width:560px){.fcard .hn-mm.wait{min-height:58px}}
@container fcard (max-width:430px){.fcard .hn-mm.wait{min-height:74px}}
.fcard .hk-empty{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:6px 2px;text-align:left}
.fcard .hk-empty p{margin:0;font-size:12.5px;line-height:1.45;color:var(--mv-body);max-width:none}
.fcard .hk-err{margin:0;font-size:12.5px;color:var(--mv-body)}
.fcard .hn-btn{height:36px;padding:0 16px;font-size:13px}
/* My Business: the book's four figures beside today's picks (one column on a narrow card) */
.fcard .hk-split{display:grid;grid-template-columns:minmax(0,240px) minmax(0,1fr);gap:16px;align-items:stretch}
.fcard .hk-split>.hk-grid{grid-auto-rows:1fr;align-content:stretch}
/* a card narrower than 640px: the four figures in one row over the picks (two by two on a phone), every label whole */
@container fcard (max-width:640px){.fcard .hk-split{grid-template-columns:minmax(0,1fr);gap:12px}
  .fcard .hk-split>.hk-grid{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:auto}}
@container fcard (max-width:430px){.fcard .hk-split>.hk-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container fcard (max-width:340px){.fcard .hk-grid.k3 .hk{padding:8px 8px 9px}.fcard .hk-grid.k3 .hk-l{font-size:10.5px}}
.fcard .hk-bigs{margin-bottom:8px}
/* Today: the next best action, flat (no glow, no coral disc: a sage mark) */
.fcard .hk-nba{display:grid;grid-template-columns:auto minmax(0,1fr);gap:2px 14px;align-items:start}
.fcard .hk-ni{grid-row:1 / span 3;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:rgba(126,152,152,.16);color:var(--mv-sage-ink)}
.fcard .hk-nba em{font-style:normal;font-size:12px;line-height:1.3;color:var(--mv-muted)}
.fcard .hk-nba h3{margin:0;font-family:inherit;font-size:22px;line-height:1.15;font-weight:300;letter-spacing:-.01em;color:var(--mv-ink)}
.fcard .hk-nba p{margin:2px 0 0;font-size:12.5px;line-height:1.4;color:var(--mv-body)}
.fcard .hk-go2{grid-column:2;display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
@container fcard (max-width:300px){.fcard .hk-nba h3{font-size:19px}}
/* View as… on the admin's card (sheet A3): a quiet pill with its word, at every width */
:is(#hub-page,#vhome) .hn-head .hn-viewas{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
:is(#hub-page,#vhome) .hn-desk-l{white-space:nowrap}
/* Content: the figures, then the newest pieces under them; side by side on a wide card (no blank half: stage-2 review) */
.fcard .hk-crec>.hk-sub{margin-top:12px}
@container fcard (min-width:620px){
  .fcard .hk-cwrap{display:grid;grid-template-columns:minmax(0,210px) minmax(0,1fr);gap:18px;align-items:start}
  .fcard .hk-cfig .hk-grid.k3{grid-template-columns:minmax(0,1fr)}
  .fcard .hk-crec>.hk-sub{margin-top:0}
}
/* Video (sheet A-home): each video in the works with its poster, its step and its action (Review storyboard) or its editing bar */
.fcard .hk-vids{display:flex;flex-direction:column}
.fcard .hk-vid{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;padding:8px 2px;border-bottom:1px solid var(--mv-line);
  color:inherit;text-decoration:none}
.fcard .hk-vid:last-child{border-bottom:0}
html:not(.is-scrolling) .fcard a.hk-vid:hover{background:var(--hk-tile);border-radius:12px}
.fcard .hk-vth{display:grid;place-items:center;width:34px;aspect-ratio:9/16;border-radius:8px;background:var(--hk-tile) center/cover no-repeat;
  box-shadow:inset 0 0 0 1px var(--mv-line);color:var(--mv-muted)}
.fcard .hk-vm{min-width:0}
.fcard .hk-vm b{display:block;font-size:13px;font-weight:400;line-height:1.3;color:var(--mv-ink);overflow-wrap:anywhere}
/* a practice run's request (the video edit engine is not live): a quiet word beside its name, a mark, never a control */
.fcard .hk-vm .hk-ptag{display:inline-block;margin-left:7px;padding:0 7px;border-radius:100px;background:var(--hk-tile);box-shadow:inset 0 0 0 1px var(--mv-line);
  font-style:normal;font-size:10.5px;line-height:17px;letter-spacing:.02em;color:var(--mv-body);vertical-align:1px;white-space:nowrap}
.fcard .hk-vm s{display:block;text-decoration:none;font-size:11.5px;line-height:1.3;color:var(--mv-muted)}
.fcard .hn-btn.hk-vgo{display:inline-flex;align-items:center;height:30px;margin-top:7px;padding:0 14px;font-size:12px}
.fcard .hk-vbar{display:block;height:5px;margin-top:8px;border-radius:5px;background:var(--mv-line);overflow:hidden}
.fcard .hk-vbar i{display:block;height:100%;border-radius:5px;background:var(--mv-navy)}
html[data-theme=dark] .fcard .hk-vbar i{background:#eef0f0}
.fcard .hn-btn.hk-vnew{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 14px;font-size:12.5px}
/* Content: the newest pieces, drawn small (home-next.js drawThumbs), and the weekly columns */
/* the four newest fill their row (sheet A-home), whatever the card's width: no blank end (stage-2 review) */
.fcard .hk-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.fcard .hn-thumb.hk-th{display:block;position:relative;width:auto;height:auto;aspect-ratio:4/5;border-radius:11px;overflow:hidden;
  background:var(--hk-tile) center top/cover no-repeat;box-shadow:inset 0 0 0 1px var(--mv-line)}
.fcard .hn-thumb.hk-th.has{box-shadow:0 0 0 1px rgba(19,32,42,.05),0 1px 2px rgba(19,32,42,.12)}
.fcard .hn-thumb.hk-th .hn-thumb-i{color:var(--mv-muted)}
.fcard .hk-bars{display:flex;align-items:flex-end;gap:6px;height:96px;margin-top:4px}
.fcard .hk-bars i{flex:1 1 0;min-width:0;border-radius:5px 5px 2px 2px;background:var(--mv-navy)}
.fcard .hk-bars i.z{background:var(--mv-line)}
html[data-theme=dark] .fcard .hk-bars i:not(.z){background:#eef0f0}
.fcard .hk-axis{display:flex;justify-content:space-between;margin-top:5px;font-size:10.5px;color:var(--mv-muted)}
/* Social: the four figures and the best time in boxes that keep their size whatever lands in them (the numbers come after the card is
   drawn when Zernio is slow: home-next.js waits for them a moment first); a quiet line over the same boxes when there is nothing */
.fcard .hk-soc{position:relative}
.fcard .hk-soc .hk-v{flex-wrap:nowrap}
.fcard .hk-soc-note{min-height:1.35em}
@container fcard (max-width:440px){
  .fcard .hk-best{flex-direction:column;align-items:flex-start;gap:2px}
  .fcard .hk-soc-note{min-height:2.7em}
}
/* a narrow card: the change sits under its figure, its line kept whether it comes or not */
@container fcard (max-width:340px){
  .fcard .hk-soc .hk-v{flex-wrap:wrap;min-height:46px;align-content:flex-start}
  .fcard .hk-soc .hk-v b{font-size:19px}
  .fcard .hk-soc .hk-dl{margin-left:0}
}
.fcard .hk-soc.hk-quiet>:not(.hk-q),.fcard .hk-posts.hk-quiet>.hk-post{visibility:hidden}
.fcard .hk-q{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin:0;padding:12px;text-align:center;
  font-size:12.5px;line-height:1.45;color:var(--mv-body)}
.fcard .hk-q p{margin:0}
.fcard .hk-posts{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,150px));gap:10px}
.fcard .hk-post{display:flex;flex-direction:column;gap:3px;min-width:0;color:inherit;text-decoration:none}
.fcard .hk-pth{display:block;aspect-ratio:4/5;border-radius:11px;overflow:hidden;background:var(--hk-tile);box-shadow:inset 0 0 0 1px var(--mv-line)}
.fcard .hk-pth img{display:block;width:100%;height:100%;object-fit:cover}
.fcard .hk-post b{font-size:11.5px;line-height:1.3;font-weight:400;color:var(--mv-ink);overflow-wrap:anywhere}
.fcard .hk-post small{font-size:11px;line-height:1.3;color:var(--mv-muted)}
.fcard .hk-post.sk b,.fcard .hk-post.sk small{display:block;height:15px;border-radius:6px;background:var(--hk-tile)}
.fcard .hk-post.sk small{height:14px;width:70%}

/* ---- the Home's grid of category cards (board.js mountCategories / categorySpans) -----------------------------------------------------
   Each card's share of its row is set on its cell (--sw from 1100px of content, --s3 from 940px: a row of three goes two side by side
   and one the full width, so no card is too narrow for its folder tabs; --sm below; a phone stacks them). NATURAL HEIGHTS (sheet A-home:
   "Alturas naturales: nada cortado, nada de relleno vacío"; stage-2 review): each card ends with its own content, never stretched to
   its row's tallest with an empty band under it. It is a size container: the shares follow the column's own width, the sidebar open
   or folded. */
/* stage 4: the same grid for the section overviews (#ov-board: My Business, the Content Studio, Co-branding, Approvals; board.js
   mountCatBoard), so every page's categories share their rows the same way */
#hub-page :is(#hn-board,#ov-board).cgrid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:auto;grid-auto-flow:row;align-items:start;
  gap:var(--card-gap);margin-top:var(--card-gap);container:hgrid / inline-size}
#hub-page :is(#hn-board,#ov-board).cgrid>.bd-cell{grid-column:span var(--sw,12);display:flex;flex-direction:column;min-width:0;grid-row-end:auto}
#hub-page :is(#hn-board,#ov-board).cgrid>.bd-cell>.hn-skel{min-height:240px;border-radius:var(--mv-r);background:var(--mv-card)}
@container hgrid (max-width:1099px){#hub-page :is(#hn-board,#ov-board).cgrid>.bd-cell{grid-column:span var(--s3,var(--sw,12))}}
@container hgrid (max-width:939px){#hub-page :is(#hn-board,#ov-board).cgrid>.bd-cell{grid-column:span var(--sm,12)}}
@container hgrid (max-width:619px){#hub-page :is(#hn-board,#ov-board).cgrid{gap:14px}#hub-page :is(#hn-board,#ov-board).cgrid>.bd-cell{grid-column:1 / -1}}

/* =====================================================================================================================
   THE TWO-CARD HOME (owner 2026-11-09, mockup approved: "La tarjeta del usuario si esta separada, la ficha de arriba. Lo de abajo como lo
   pusiste" and "esa ficha era mas grande ... y tenia mas informacion"). Two cards:
   1. THE USER CARD (#hn-head), its own card, big: a large photo, the role line, the name, the chips, every control it had, and the
      person's figures in a row of tiles under it (home-next.js header(): only figures the Home already loads).
   2. ONE TABBED CARD (#hn-one > #hn-board > .fcard.hn-deck, board.js tabCard): a warm-grey PANEL inset in a card, with the portal's folder
      tabs (the .fc-* rules above; a size larger here), a tab per category (Content, My Business, Video). Above the panes the slim Next
      best action row; each pane a 12-column grid of TILES (the views the category cards had), tiles the card's own colour, then the
      pane's quick links as pills. Under 900px of pane every tile takes the row.
   The card carries the one shadow; the panel none. No gradients. Light, dark and the solids: everything reads --mv-card. */
#hub-page :is(.hn-one,#hn-head){--hn-card:var(--mv-card);--hn-panel:color-mix(in srgb,var(--mv-card) 94%,#6f6355)}
html[data-theme=dark] #hub-page :is(.hn-one,#hn-head){--hn-panel:color-mix(in srgb,var(--mv-card) 94%,#fff)}
/* ---- 1. the user card ---- */
#hub-page #hn-head{padding:22px 24px 20px}
#hub-page #hn-head .hn-head-top{grid-template-columns:104px minmax(0,1fr) auto;gap:8px 24px;align-items:center}
#hub-page #hn-head .hn-head-av{grid-row:1 / span 2;align-self:start;width:104px;height:104px;font-size:34px;box-shadow:0 0 0 6px var(--hn-panel)}
#hub-page #hn-head .hn-eyebrow{font-size:14px}
#hub-page #hn-head .hn-eb-dot{margin-top:6px}
#hub-page #hn-head .hn-head-who h1{margin-top:3px;font-size:40px;line-height:1.08}
#hub-page #hn-head .hn-head-top>.hn-chips{grid-column:2 / -1;margin-top:6px;gap:8px}
#hub-page #hn-head.hn-nochips .hn-head-av{grid-row:1;align-self:center}
#hub-page #hn-head .hn-chip{background:var(--hn-panel);box-shadow:none}
#hub-page #hn-head .hn-head-acts{align-self:start}
#hub-page #hn-head .hn-fstats{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:10px;margin-top:20px}
#hub-page #hn-head .hn-fstat{display:flex;flex-direction:column;gap:2px;min-width:0;padding:12px 16px 13px;border-radius:14px;background:var(--hn-panel)}
#hub-page #hn-head .hn-fl{font-size:12.5px;line-height:1.3;color:var(--mv-body);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hub-page #hn-head .hn-fstat b{font-size:30px;line-height:1.12;font-weight:300;letter-spacing:-.015em;color:var(--mv-ink);font-variant-numeric:tabular-nums}
#hub-page #hn-head .hn-fstat small{font-size:11.5px;line-height:1.3;color:var(--mv-muted)}
@container hnhead (max-width:880px){
  #hub-page #hn-head .hn-head-top{grid-template-columns:72px minmax(0,1fr) auto;gap:8px 16px}
  #hub-page #hn-head .hn-head-av{grid-row:1;align-self:center;width:72px;height:72px;font-size:25px;box-shadow:0 0 0 5px var(--hn-panel)}
  #hub-page #hn-head .hn-head-top>.hn-chips{grid-column:1 / -1;margin-top:4px}
  #hub-page #hn-head .hn-head-who h1{font-size:30px}
  #hub-page #hn-head .hn-fstat b{font-size:26px}
}
@container hnhead (max-width:540px){
  #hub-page #hn-head .hn-head-top{grid-template-columns:56px minmax(0,1fr);gap:10px 14px}
  #hub-page #hn-head .hn-head-av{width:56px;height:56px;font-size:20px;box-shadow:0 0 0 4px var(--hn-panel)}
  #hub-page #hn-head .hn-eyebrow{font-size:12.5px}
  #hub-page #hn-head .hn-head-who h1{font-size:25px}
  #hub-page #hn-head .hn-fstats{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
  #hub-page #hn-head .hn-fstats[data-n="1"]{grid-template-columns:minmax(0,1fr)}
  #hub-page #hn-head .hn-fstats[data-n="3"]>:last-child{grid-column:1 / -1}
  #hub-page #hn-head .hn-fstat{padding:10px 12px 11px}
  #hub-page #hn-head .hn-fstat b{font-size:24px}
}
@media (max-width:620px){#hub-page #hn-head{padding:16px}}
/* ---- 2. the one tabbed card ---- */
#hub-page .hn-one{position:relative;box-sizing:border-box;margin-top:var(--card-gap,14px);background:var(--mv-card);border-radius:var(--mv-r);
  box-shadow:var(--hub-shadow);padding:16px 18px 18px}
#hub-page .hn-one>#hn-board.cgrid{margin-top:0;gap:0;align-items:stretch}
#hub-page .hn-one>#hn-board.cgrid>.bd-cell{grid-column:1 / -1}
#hub-page .hn-one>#hn-board.cgrid>.bd-cell>.hn-skel{background:var(--hn-panel)}
/* the panel: the folder card's own rules with the panel's colours (the chosen tab and the body the panel, the tabs behind a shade deeper,
   the tiles, the icon discs the card's colour); no shadow of its own */
#hub-page .hn-one .fcard{filter:none;--mv-card:var(--hn-panel);--mv-card-hi:var(--hn-card);--hk-tile:var(--hn-card);
  --ftab-bg:color-mix(in srgb,var(--hn-panel) 89%,#6f6355)}
html[data-theme=dark] #hub-page .hn-one .fcard{--ftab-bg:color-mix(in srgb,var(--hn-panel) 78%,#000);--hk-tile:color-mix(in srgb,var(--hn-panel) 94%,#fff)}
#hub-page .hn-one .fcard .fc-ci{background:var(--hn-card)}
html[data-theme=dark] #hub-page .hn-one .fcard .fc-ci{background:var(--hk-tile)}
#hub-page .hn-one .fcard .fc-b{padding:14px;gap:12px}
/* the big card's tabs: the shared shape, a size larger (the mockup's) */
#hub-page .hn-one .fcard.hn-deck{--mv-tab:calc(48px * var(--mv-k,1));--ftab-sh:calc(44px * var(--mv-k,1))}
#hub-page .hn-one .fcard.hn-deck>.fc-h .fc-t{font-size:14.5px;padding-left:20px;padding-right:8px}
#hub-page .hn-one .fcard.hn-deck>.fc-h .fc-ci{width:28px;height:28px}
/* the next best action: one slim row above the panes */
#hub-page .hn-next{flex:none}
#hub-page .hn-next .hk-nba{display:flex;align-items:center;gap:12px;padding:9px 10px 9px 12px;border-radius:14px;background:var(--hk-tile)}
#hub-page .hn-next .hk-ni{flex:none;width:34px;height:34px}
#hub-page .hn-next .hk-nt{flex:1 1 auto;min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:1px 10px}
#hub-page .hn-next .hk-nt em{flex:0 0 100%;font-size:11.5px}
#hub-page .hn-next .hk-nt h3{font-size:16px;line-height:1.25;font-weight:var(--fw-medium,500);letter-spacing:0}
#hub-page .hn-next .hk-nt p{margin:0;font-size:12.5px}
#hub-page .hn-next .hk-go2{flex:none;grid-column:auto;margin:0;flex-wrap:nowrap}
#hub-page .hn-next .hk-go2 .hn-btn{height:34px;padding:0 14px}
/* a pane: tiles on 12 columns, then the quick links */
#hub-page .hn-deck .fc-p{gap:12px;container:hnpane / inline-size}
#hub-page .hn-tg{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;align-items:stretch}
#hub-page .hn-tile{grid-column:span var(--s,12);display:flex;flex-direction:column;gap:10px;min-width:0;box-sizing:border-box;padding:12px 14px 14px;
  border-radius:14px;background:var(--hn-card);--hk-tile:var(--hn-panel)}
html[data-theme=dark] #hub-page .hn-tile{background:color-mix(in srgb,var(--hn-panel) 94%,#fff);--hk-tile:color-mix(in srgb,var(--hn-panel) 86%,#fff)}
#hub-page .hn-tile.bare{padding:0;background:none;--hk-tile:var(--hn-card)}
html[data-theme=dark] #hub-page .hn-tile.bare{background:none;--hk-tile:color-mix(in srgb,var(--hn-panel) 94%,#fff)}
#hub-page .hn-sh{display:flex;align-items:center;gap:8px;min-height:22px}
#hub-page .hn-sh b{font-size:14px;line-height:1.3;font-weight:var(--fw-medium,500);color:var(--mv-ink)}
#hub-page .hn-sh-n{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:20px;height:20px;padding:0 6px;border-radius:100px;
  background:var(--hk-tile);font-style:normal;font-size:11.5px;color:var(--mv-ink);font-variant-numeric:tabular-nums}
#hub-page .hn-sh .due{display:inline-flex;align-items:center;gap:5px;height:18px;padding:0 7px 0 6px;border-radius:100px;background:var(--hk-tile);
  font-size:10px;letter-spacing:.04em;color:var(--mv-ink)}
#hub-page .hn-sh .due::before{content:'';flex:none;width:6px;height:6px;border-radius:50%;background:#f15b4f}
#hub-page .hn-sh :is(.hn-sh-n,.due)[hidden]{display:none}
#hub-page .hn-tb{display:flex;flex-direction:column;flex:1 1 auto;min-width:0;gap:10px}
#hub-page .hn-tile .hk-rows{padding:0;border-radius:0;background:none}
#hub-page .hn-quick{display:flex;flex-wrap:wrap;gap:8px}
#hub-page .hn-quick a.hn-q{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:100px;box-shadow:inset 0 0 0 1px var(--mv-line);
  background:var(--hk-tile);font-size:12.5px;color:var(--mv-ink);text-decoration:none;white-space:nowrap}
html:not(.is-scrolling) #hub-page .hn-quick a.hn-q:hover{background:var(--hn-card);color:var(--mv-ink)}
#hub-page .hn-quick a.hn-q:focus-visible{outline:2px solid var(--mv-ink);outline-offset:2px}
@container hnpane (max-width:899px){#hub-page .hn-tile{grid-column:1 / -1}}
/* the phone's fold (the shared .fc-fold rule) at this card's own weight: an unchosen tab is its icon alone */
@container fcard (max-width:440px){#hub-page .hn-one .fcard.hn-deck.fc-fold>.fc-h .fc-t:not(.on){font-size:0}}
@media (max-width:1180px){#hub-page .hn-one{padding:14px 14px 16px;border-radius:24px}}
@media (max-width:620px){
  #hub-page .hn-one{padding:10px 10px 12px;border-radius:22px}
  #hub-page .hn-one .fcard .fc-b{padding:12px}
  #hub-page .hn-one .fcard.hn-deck{--mv-tab:calc(44px * var(--mv-k,1));--ftab-sh:24px}
  #hub-page .hn-one .fcard.hn-deck>.fc-h .fc-t{font-size:13.5px;padding-left:12px;padding-right:4px}
  #hub-page .hn-next .hk-nba{flex-wrap:wrap}
  #hub-page .hn-next .hk-nt{flex-basis:calc(100% - 46px)}
  #hub-page .hn-next .hk-go2{margin-left:46px}
  #hub-page .hn-quick a.hn-q{height:32px;padding:0 12px}
}

/* =====================================================================================================================
   STAGE 4 (owner 2026-11-08, sheets C-my-business and D-produccion-video-hub): the other pages compacted into the same folder-tab cards.
   ---- the strip's quiet word at its right end ("Last upload Oct 5", "Urgent first"): a fact on the canvas beside the tabs, never a control;
   a narrow card has no room for it (the sheets' phones show none) */
.fc-meta{flex:none;align-self:center;max-width:40%;overflow:hidden;text-overflow:ellipsis;padding:3px 8px 3px 4px;font-size:11.5px;line-height:1.45;
  color:var(--mv-muted);white-space:nowrap}
.fc-meta[hidden]{display:none}
@container fcard (max-width:600px){.fc-meta{display:none}}
/* Edit page on the category boards: the tool's icon in its own box (board.js mountCatBoard), the words beside it */
.bd-tools .bd-ic{display:inline-flex;align-items:center}
/* a card hidden in Edit page (board.js mountCatBoard): its × at the strip's end, on the canvas */
.fc-hide{flex:none;align-self:center;display:grid;place-items:center;width:32px;height:32px;margin:0 2px 0 0;padding:0;border:0;border-radius:50%;
  background:var(--mv-card);color:var(--mv-ink);box-shadow:inset 0 0 0 1px var(--ftab-edge);cursor:pointer}
html:not(.is-scrolling) .fc-hide:hover{background:var(--hk-tile)}
.fc-hide:focus-visible{outline:2px solid var(--mv-ink);outline-offset:2px}
body.bd-editing #ov-board.cgrid .fcard{outline:2px dashed color-mix(in srgb,var(--mv-ink) 26%,transparent);outline-offset:4px;border-radius:var(--mv-r)}
/* ---- inside: eight figures four to a row (two on a narrow card), the tier bar and its legend, initials, a quiet box for Model Match */
.fcard .hk-grid.k4{grid-template-columns:repeat(4,minmax(0,1fr))}
@container fcard (max-width:560px){.fcard .hk-grid.k4{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fcard .hk-tier{display:flex;gap:3px;height:8px;margin:14px 0 0;border-radius:8px;overflow:hidden}
.fcard .hk-tier i{flex:1 1 0;min-width:4px;border-radius:2px;background:var(--mv-navy)}
.fcard .hk-tier i.t-sage,.fcard .hk-tier-l i.t-sage{background:var(--mv-sage)}
.fcard .hk-tier i.t-due,.fcard .hk-tier-l i.t-due{background:#f15b4f}
html[data-theme=dark] .fcard .hk-tier i.t-navy,html[data-theme=dark] .fcard .hk-tier-l i.t-navy{background:#eef0f0}
.fcard .hk-tier-l{display:flex;flex-wrap:wrap;gap:4px 16px;margin-top:8px;font-size:11.5px;line-height:1.3;color:var(--mv-body)}
.fcard .hk-tier-l span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.fcard .hk-tier-l i{flex:none;width:8px;height:8px;border-radius:2px;background:var(--mv-navy)}
.fcard .hk-ri.hk-av{font-size:10.5px;font-weight:var(--fw-medium,500);letter-spacing:.02em;color:var(--mv-ink)}
.fcard .mb-mm{position:relative}
.fcard .mb-mm.hk-quiet>:not(.hk-q){visibility:hidden}
.fcard .mb-mm .hn-mix{margin-top:2px}
/* the next best action standing alone in a narrow card (sheet C): its mark, then the line, the why and the button under it */
/* My Business, ONE big card (owner 2026-11-16): a folder tab holds several of the old windows side by side, each a quiet outlined
   part with its own small heading; the widest (At a glance) takes two columns where there are two */
.fcard .fc-p.mb-merge{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:calc(14px * var(--mv-k,1));align-items:stretch}
.fcard .mb-part{display:flex;flex-direction:column;gap:10px;min-width:0;box-sizing:border-box;padding:calc(14px * var(--mv-k,1));border-radius:calc(14px * var(--mv-k,1));
  box-shadow:inset 0 0 0 1px var(--ftab-edge)}
.fcard .mb-part-h{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:1.3;font-weight:var(--fw-medium,500);color:var(--mv-ink)}
.fcard .mb-part-go{margin-left:auto;font-size:12px;font-weight:400;color:var(--mv-body);text-decoration:none;white-space:nowrap}
html:not(.is-scrolling) .fcard .mb-part-go:hover{color:var(--mv-ink);text-decoration:underline}
.fcard .mb-part-b{display:flex;flex-direction:column;flex:1 1 auto;min-width:0}
@container fcard (min-width:700px){.fcard .mb-part.mb-wide{grid-column:span 2}}
.fcard .mb-nba{grid-template-columns:minmax(0,1fr);gap:6px}
.fcard .mb-nba .hk-ni{grid-row:auto}
.fcard .mb-nba .hk-go2{grid-column:1;margin-top:8px}

/* (the ids in the first list are the registry's own: an :is() weighs as its heaviest argument, so the registry above weighs an id, and
   this rule must too to win over it) */
/* ---- a page's working area as ONE folder-tab card (stage 4: My Business's Today's list | Your database | Data gaps | Partners, the
   Social pages, Co-branding's): the boxes its pages drew as cards of their own are TILES of the card now (outlined on the card's fill, no
   shadow), never a card on a card; a section's big ruled title is the tab's word already, so only its line of explanation stays */
#bizapp>.fcard{margin-top:var(--card-gap)}
html .shell .fcard .fc-b :is(.pcard,.shot,.ph,.plan-intro,.plan-ctl,.sched-connect,.cal,.brief,.uptray,.pvw,.cb-up,.cb-card,.ap-piece,.ap-board,
  .aclog-table,.bz-metric,.bz-opp,.bz-drop,.bz-batch,.bz-map,.bz-rate,.bz-col,.bz-lead-form,.bz-kcard,.bz-facts,.bz-tpl,.bz-doctrine,.bz-att,.stage,
  .cbstage,.phdrop,.sty-card,.sc-cost,.bz-bench-c,.bz-kcol,.aclog-msg,.cr-card,.cat,.wn-card,.l1-card,.hn-nba,.pf-card,.sg,.hn-card,#sform,#tp-brief),
html .fcard .fc-b :is(.lc-side,.lc-main,.lk-card,.ib-side,.ib-list,.ib-thread,.pub-col,.pub-list,.rq,.sd-card,.use,.ecx-card,.cal-card,.cal-review,
  .cal-notebox,.sd-post,.hc-card),
html #app .fcard .fc-b :is(.card,.fold,.tile,.vp-card,.rv-card,.sbd-card,.bank-card,.link-card){box-shadow:none;background:var(--mv-card);border-color:transparent;
  outline:1px solid var(--mv-line);outline-offset:-1px}
/* (an outlined tile on the card's own fill, not the tile tone: the pages' muted words keep the contrast they were written for, G12) */
html .shell .fcard .fc-b .bz-drop{border:2px dashed var(--mv-line);outline:0}
.fcard .bz-sec{margin-top:0}
.fcard .bz-sec>.bz-h{margin:0 0 12px;padding:0;border-bottom:0}
.fcard .bz-sec>.bz-h>b{display:none}
.fcard .bz-sec>.bz-h>span{color:var(--mv-muted)}

/* ---- the Video Hub's pages as category cards (stage 4, sheet D): a 12-column grid whose cells are folder-tab cards. Projects: the
   table's card and "Where the work stands" side by side from 1040px of page (1440 with the sidebar), one over the other below (1280,
   1024, a phone), as the sheet lays them out. Natural heights. */
#page .vgrid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:var(--card-gap,18px);align-items:start;container:vgrid / inline-size}
#page .vgrid>.vg-cell{grid-column:1 / -1;display:flex;flex-direction:column;min-width:0}
@container vgrid (min-width:1040px){
  #page .vgrid.vproj>.vg-main{grid-column:span 8}
  #page .vgrid.vproj>.vg-side{grid-column:span 4}
  #page .vgrid>.vg-half{grid-column:span 6}
  #page .vgrid>.vg-third{grid-column:span 4}
  #page .vgrid>.vg-two{grid-column:span 8}
}
@container vgrid (min-width:700px) and (max-width:1039px){#page .vgrid>:is(.vg-half,.vg-third){grid-column:span 6}}
html{--vp-navy:#133042}
html[data-theme=dark]{--vp-navy:#eef0f0}
/* the page's headline (sheet D: "Ten projects open. Two need attention now."): its second sentence quieter */
#title .t2{font-weight:300;color:var(--mv-body,#4c585d)}
/* the table inside its card: the sheet's five columns, a hairline between rows, the status a quiet pill (the select that moves it) */
.fcard .vp-tw{margin:-4px -4px 0;overflow-x:auto}
.fcard .vp-tbl{width:100%;border-collapse:collapse}
.fcard .vp-tbl th{padding:4px 6px 9px;border-bottom:1px solid var(--mv-line);text-align:left;font-family:inherit;font-size:9.5px;font-weight:var(--fw-medium,500);
  letter-spacing:.14em;color:var(--mv-muted);white-space:nowrap;text-transform:uppercase}
.fcard .vp-tbl td{padding:10px 6px;border-bottom:1px solid var(--mv-line);vertical-align:middle;font-family:inherit;font-size:12.5px;color:var(--mv-ink)}
.fcard .vp-tbl tr:last-child td{border-bottom:0}
.fcard .vp-tbl .c-pri{width:1%;white-space:nowrap}
/* the project's column takes what the others leave (at least 200px); the person, the dates and the status take their words' width, the
   admins' delivery date on its own line under the due date: the table fits its card at 1440 beside Where the work stands, Edit in view */
.fcard .vp-tbl .c-pr{min-width:150px}
.fcard .vp-tbl :is(.c-st,.c-act){width:1%;white-space:nowrap}
.fcard .vp-tbl :is(.c-who,.c-due){width:1%}
.fcard .vp-tbl .who2{white-space:normal}
.fcard .vp-tbl .who2 span{min-width:5.5em}
.fcard .vp-tbl .c-due .due{white-space:nowrap}
.fcard .vp-tbl .c-pri .prio{font-family:inherit;font-size:12px;font-weight:var(--fw-regular,400)}
.fcard .vp-name{font-weight:var(--fw-medium,500);color:var(--mv-ink);text-decoration:none;overflow-wrap:anywhere}
html:not(.is-scrolling) .fcard .vp-name:hover{text-decoration:underline;text-underline-offset:3px}
.fcard .vp-sum{margin-top:2px;max-width:440px;font-size:11.5px;line-height:1.35;color:var(--mv-muted)}
.fcard .vp-chips{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:3px}
.fcard .vp-tbl .who2 .av{width:24px;height:24px;font-size:9.5px}
.fcard .vp-tbl .who2 span{font-size:12.5px}
.fcard .vp-tbl .due{font-size:12.5px}
.fcard .vp-tbl .due.late{font-family:inherit;font-weight:var(--fw-regular,400)}
.fcard .vp-dl{margin-top:2px;font-size:11px;color:var(--mv-muted)}
.fcard .vp-dl .due{font-size:11px}
.fcard .vp-tbl .stat-sel{height:28px;max-width:136px;padding:0 26px 0 12px;border:0;border-radius:14px;background-color:var(--hk-tile);
  box-shadow:inset 0 0 0 1px var(--mv-line);font-family:inherit;font-size:11.5px;color:var(--mv-ink)}
.fcard .vp-tbl .stat-sel:disabled{opacity:1;color:var(--mv-body)}
.fcard .vp-edit{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:none;color:var(--mv-ink);cursor:pointer}
.fcard .vp-edit svg{width:16px;height:16px}
html:not(.is-scrolling) .fcard .vp-edit:hover{background:var(--hk-tile)}
.fcard .vp-edit:focus-visible,.fcard .vp-late:focus-visible{outline:2px solid var(--mv-ink);outline-offset:2px}
.fcard .vp-foot .hk-note{margin-right:2px}
.fcard .vp-late{height:26px;padding:0 10px;border:0;border-radius:13px;background:var(--hk-tile);box-shadow:inset 0 0 0 1px var(--mv-line);font:inherit;
  font-size:11.5px;color:var(--mv-ink);cursor:pointer;white-space:nowrap}
.fcard .vp-late.on{background:var(--btn-primary-bg,#133042);box-shadow:none;color:#fff}
html[data-theme=dark] .fcard .vp-late.on{background:#eef0f0;color:#12202a}
.fcard button.hk-go{border:0;padding:0;background:none;cursor:pointer;font-family:inherit}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* a narrow card (a phone, a tablet's column): each project is its own few lines, as sheet D's phone: the priority and the status on one
   line, the project and its line, then who and when; the column names are read (the table's roles stay), not shown */
@container fcard (max-width:600px){
  .fcard .vp-tw{margin:0}
  .fcard .vp-tbl,.fcard .vp-tbl tbody{display:block}
  .fcard .vp-tbl thead{display:block;position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .fcard .vp-tbl tr{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"pri act st" "pr pr pr" "who due due";gap:6px 8px;
    padding:12px 0;border-bottom:1px solid var(--mv-line)}
  .fcard .vp-tbl tr:last-child{border-bottom:0}
  .fcard .vp-tbl td,.fcard .vp-tbl :is(.c-pri,.c-pr,.c-who,.c-due,.c-st,.c-act){display:block;width:auto;min-width:0;padding:0;border:0}
  .fcard .vp-tbl td::before{display:none !important}
  .fcard .vp-tbl .c-pri{grid-area:pri;align-self:center;width:auto}
  .fcard .vp-tbl .c-st{grid-area:st;justify-self:end}
  .fcard .vp-tbl .c-pr{grid-area:pr}
  .fcard .vp-tbl .c-who{grid-area:who;align-self:center}
  .fcard .vp-tbl .c-due{grid-area:due;align-self:center;text-align:right}
  .fcard .vp-tbl .c-act{grid-area:act;align-self:center}
  .fcard .vp-tbl .c-act:empty{display:none}
  .fcard .vp-name{font-size:14px}
  .fcard .vp-sum{max-width:none}
}
/* Production's Overview (app.js viewDash): the five figures as tiles that open Projects on their tab, the work as rows, the workload as
   bars drawn here (no chart kit to wait for), the activity and the collections beside them */
.fcard .hk-grid.k5{grid-template-columns:repeat(5,minmax(0,1fr))}
@container fcard (max-width:620px){.fcard .hk-grid.k5{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container fcard (max-width:360px){.fcard .hk-grid.k5{grid-template-columns:repeat(2,minmax(0,1fr))}}
.fcard a.hk{color:inherit;text-decoration:none}
html:not(.is-scrolling) .fcard a.hk:hover{background:color-mix(in srgb,var(--hk-tile) 80%,var(--mv-ink) 4%)}
.fcard a.hk:focus-visible{outline:2px solid var(--mv-ink);outline-offset:2px}
.fcard .vd-feed{margin-top:2px}
.fcard .vd-feed .ev{padding:9px 2px}
.fcard .vd-load{display:flex;flex-direction:column;gap:9px;margin-top:4px}
.fcard .vd-lr{display:grid;grid-template-columns:minmax(0,9em) minmax(0,1fr) auto;gap:12px;align-items:center;font-size:12.5px;color:var(--mv-ink)}
.fcard .vd-ln{overflow-wrap:anywhere}
.fcard .vd-lb{display:flex;height:8px;border-radius:8px;background:var(--hk-tile);overflow:hidden}
.fcard .vd-lb i{display:block;height:100%;background:var(--vp-navy)}
.fcard .vd-lb i.vd-ur{background:#f15b4f}
.fcard .vd-lr b{font-weight:var(--fw-regular,400);font-variant-numeric:tabular-nums}
.fcard .vd-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
/* Where the work stands: the ring and its legend, the two due next beside them on a wide card (under them on a narrow one) */
.fcard .vp-standw{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
@container fcard (min-width:620px){.fcard .vp-standw{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}
  .fcard .vp-next>.hk-sub{margin-top:0}}
.fcard .vp-stat{display:grid;grid-template-columns:118px minmax(0,1fr);gap:16px;align-items:center}
.fcard .vp-donut svg{display:block;width:118px;height:118px}
.fcard .vp-ctr{font-size:28px;font-weight:300;fill:var(--mv-ink);font-family:inherit}
.fcard .vp-ctl{font-size:9px;letter-spacing:.16em;fill:var(--mv-muted);font-family:inherit}
.fcard .vp-leg{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:12px;line-height:1.3;color:var(--mv-body)}
.fcard .vp-leg>span{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:8px;align-items:center}
.fcard .vp-leg i{width:8px;height:8px;border-radius:50%}
.fcard .vp-leg b{font-weight:var(--fw-regular,400);color:var(--mv-ink);font-variant-numeric:tabular-nums}
@container fcard (max-width:300px){.fcard .vp-stat{grid-template-columns:96px minmax(0,1fr);gap:12px}.fcard .vp-donut svg{width:96px;height:96px}}

/* ---- a row's pages as the FOLDER TABS of the page's main card (stage 4: Social's Dashboard | Inbox | Preview | Publishing, and the team's
   Plans | Content | Content bank on the Video Hub; build.py sec_card, video app.js vhSecCard): the card under the page's header, its tabs
   the row's pages (links; the current one the card's own tab, joined by its shoulders; the others behind it, outlined, in the softer
   tone), its body the page. The tabs keep .sectabs / .stab (the sidebar trims them; the team's first-paint rules hold): here they are the
   folder tabs' look, not the strip under the oval. */
.shell>.secard,#app .main>.secard{margin-top:var(--card-gap,18px)}
#app .main>.secard{flex:0 0 auto;margin:0 calc(26px * var(--hub-density,1)) 60px}
#app .main>.secard>.fc-b>#page{padding:0;min-height:0}
.secard>.fc-h>.sectabs{margin:0;padding:0 max(var(--ftab-sh),calc(26px * var(--mv-k,1))) 0 0;box-shadow:none;gap:var(--ftab-gap);height:100%;align-items:flex-end;
  font-family:inherit}
/* the page's tabs are the card's folder tabs (.fc-t, above): one shape for the chosen tab and the ones behind it, whichever page it is */
.secard>.fc-h>.sectabs .stab{height:var(--mv-tab);padding:0 calc(16px * var(--mv-k,1));border-radius:var(--mv-r) 0 0 0;background:var(--tf);
  box-shadow:none;color:var(--ftab-ink);font-size:max(12px,calc(13.5px * var(--mv-k,1)));font-family:inherit;font-weight:var(--fw-regular,400)}
html:not(.is-scrolling) .secard>.fc-h>.sectabs .stab:not(.on):hover{--tf:color-mix(in srgb,var(--ftab-bg) 45%,var(--mv-card));color:var(--mv-ink);background:var(--tf)}
.secard>.fc-h>.sectabs .stab.on,html[data-theme=dark] .secard>.fc-h>.sectabs .stab.on{--tf:var(--mv-card);background:var(--tf);box-shadow:none;
  color:var(--mv-ink);font-weight:var(--fw-medium,500)}
html[data-theme=dark] .secard>.fc-h>.sectabs .stab:not(.on){background:var(--tf)}
.secard>.fc-b{padding:calc(16px * var(--mv-k,1)) calc(18px * var(--mv-k,1)) calc(18px * var(--mv-k,1))}
@media (max-width:900px){
  .shell>.secard{margin-top:14px}
  #app .main>.secard{margin:0 14px 48px}
  .secard>.fc-h>.sectabs{margin:0;gap:var(--ftab-gap)}
}
@container fcard (max-width:520px){.secard>.fc-h>.sectabs .stab{padding:0 12px;font-size:12.5px}.secard>.fc-b{padding:12px 12px 14px}}
@container fcard (max-width:400px){.secard>.fc-h>.sectabs .stab{padding:0 8px;font-size:12px}.secard>.fc-h>.sectabs .stab:first-child{padding-left:11px}}
/* the Social Dashboard inside its card, compact (stage 4): on a wide card the top posts sit beside the engagements by day (no three
   thumbnails a third of the page wide each) */
.secard .sd-grid{container:sdg / inline-size}
@container sdg (min-width:900px){.secard .sd-tops{grid-column:span 5}.secard .sd-daily{grid-column:span 7}}
/* the dashboard's quiet words on the card's fill read at 4.5:1 or more (G12: #6b7a7a was 4.26:1 on white) */
.secard .fc-b :is(.sd-note,.sd-post small){color:var(--mv-body)}
/* inside the card the page's own boxes are its tiles (the rule above); a page's first block sits at the body's top */
.secard>.fc-b>*>:first-child{margin-top:0}

/* =====================================================================================================================
   DOWNLOAD, ONE AT A TIME (owner 2026-11-08: Download had no busy state; two clicks recorded two rows and handed over two files). Both
   halves: the Content Studio's activity-log.js guardDownload and the Video Hub's app.js dlButton mark the button busy at once (.dl-busy,
   aria-busy) and ignore a second click; on a slow machine (.dl-slow, after 300 ms) a spinner, and for several files how far it is
   (data-prog "2/6"), stand over the label, which stays laid out unseen: the button never changes width and nothing around it moves. */
button.dl-busy{cursor:progress}
button.dl-slow{position:relative}
button.dl-slow>*{visibility:hidden}
button.dl-slow::before{content:'';position:absolute;left:calc(50% - 8px);top:calc(50% - 8px);width:16px;height:16px;box-sizing:border-box;border-radius:50%;
  border:2px solid currentColor;border-right-color:transparent;animation:dl-spin .8s linear infinite}
button.dl-slow[data-prog]::before{left:calc(50% - 26px)}
button.dl-slow[data-prog]::after{content:attr(data-prog);position:absolute;left:calc(50% - 4px);top:50%;transform:translateY(-50%);font-size:12px;line-height:1;
  font-variant-numeric:tabular-nums;white-space:nowrap}
@keyframes dl-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){button.dl-slow::before{animation:none;border-right-color:currentColor;opacity:.55}}

/* =====================================================================================================================
   STAGE 4 REVIEW (owner's standing rules: one portal, no coral on a clickable, natural compact cards, keyboard first)
   ---- a page's main card (.secard) is as tall as what it holds: .fcard is flex:1 1 auto for a category grid's cells, but .shell is a
   column at least the screen tall, so on a Social page the card stretched to the screen (the Inbox 739px for 263px of content) */
.shell>.secard{flex:0 0 auto}
/* its foot: the page's one quiet line of figures (Publishing's "2 accounts connected · …", Preview's, Co-branding's), under the page in the
   card, where it lands late without moving anything (it sat in the header above the card and pushed it down 36px on a phone) */
.secard .sec-foot{margin-top:6px}
.secard .sec-foot>.stats{margin:8px 0 0;font-size:11px;letter-spacing:.12em;color:var(--mv-muted)}
.secard .sec-foot>.stats:empty{display:none}
/* ---- a tile inside a folder card (the registry above) keeps the browser's focus ring: its quiet outline must not replace it (WCAG 2.4.7) */
html .shell .fcard .fc-b :is(.pcard,.shot,.ph,.plan-intro,.plan-ctl,.sched-connect,.cal,.brief,.uptray,.pvw,.cb-up,.cb-card,.ap-piece,.ap-board,
  .aclog-table,.bz-metric,.bz-opp,.bz-drop,.bz-batch,.bz-map,.bz-rate,.bz-col,.bz-lead-form,.bz-kcard,.bz-facts,.bz-tpl,.bz-doctrine,.bz-att,.stage,
  .cbstage,.phdrop,.sty-card,.sc-cost,.bz-bench-c,.bz-kcol,.aclog-msg,.cr-card,.cat,.wn-card,.l1-card,.hn-nba,.pf-card,.sg,.hn-card,#sform,#tp-brief):focus-visible,
html .fcard .fc-b :is(.lc-side,.lc-main,.lk-card,.ib-side,.ib-list,.ib-thread,.pub-col,.pub-list,.rq,.sd-card,.use,.ecx-card,.cal-card,.cal-review,
  .cal-notebox,.sd-post,.hc-card,.hc-stat):focus-visible,
html #app .fcard .fc-b :is(.card,.fold,.tile,.vp-card,.rv-card,.sbd-card,.bank-card,.link-card):focus-visible{outline:2px solid var(--mv-ink);outline-offset:2px}
/* ---- the figures' tiles inside a folder card (the Social Dashboard's Today / To do / Last 7 days, the overviews' At a glance, Approvals'):
   the same outlined tile on the card's fill in light and in dark (they were a 55% white on a white card in light: invisible); an alert is
   its dot, never a coral fill (Failed opens Publishing: a link) */
html .fcard .fc-b .hc-stat.hc-v-tile,html .fcard .fc-b .hc-stat.hc-v-tile.hc-alert{background:var(--mv-card);box-shadow:none;outline:1px solid var(--mv-line);outline-offset:-1px}
html:not(.is-scrolling) .fcard .fc-b a.hc-stat.hc-v-tile:hover{background:var(--hk-tile)}
html .fcard .fc-b .hc-stat.hc-v-tile:focus-visible{outline:2px solid var(--mv-ink);outline-offset:2px}
/* ---- the section overviews' rows end level (sheet C: every row's cards share their bottom): a card fills its cell, its foot at the bottom */
#hub-page #ov-board.cgrid{align-items:stretch}
#hub-page #ov-board.cgrid>.bd-cell>.fcard{flex:1 1 auto}
/* the Video Hub's grid: the same (sheet D: Projects and Where the work stands one height) */
#page .vgrid{align-items:stretch}
#page .vgrid>.vg-cell>.fcard{flex:1 1 auto}
/* ---- Production > Projects, compact as sheet D (stage 4 review: rows were 100-150px): each row is the project's one title line and its
   one hook line, the person on one line, the date (and the admins' delivery date under it), the status a pill (the select and the pencil
   went to the project's own page). The columns are fixed, so a long name never widens the table and nothing re-wraps when the font lands. */
.fcard .vp-tbl{table-layout:fixed}
.fcard .vp-tbl col.k-pri{width:84px}
.fcard .vp-tbl col.k-who{width:128px}
.fcard .vp-tbl col.k-due{width:140px}
.fcard .vp-tbl col.k-st{width:142px}
.fcard .vp-tbl td{padding:8px 6px}
.fcard .vp-tbl .c-pr{min-width:0}
.fcard .vp-tbl :is(.c-st,.c-who,.c-due){width:auto}
.fcard .vp-name{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal}
.fcard .vp-sum{max-width:none;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.fcard .vp-tbl .who2{white-space:nowrap;min-width:0}
.fcard .vp-tbl .who2 span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.fcard .vp-tbl .vp-dl{white-space:nowrap}
.fcard .vp-st{display:inline-flex;align-items:center;gap:6px;max-width:100%;box-sizing:border-box;height:24px;padding:0 10px 0 8px;border-radius:12px;
  background:var(--mv-card);box-shadow:inset 0 0 0 1px var(--mv-line);font-size:11.5px;line-height:1;color:var(--mv-ink);white-space:nowrap;overflow:hidden;
  text-overflow:ellipsis}
.fcard .vp-st i{flex:none;width:6px;height:6px;border-radius:50%;background:var(--vp-navy)}
.fcard .vp-st[data-st=ready_to_edit] i{background:#7e9898}
.fcard .vp-st[data-st=in_review] i{background:#a9c0c0}
.fcard .vp-st[data-st=revisions] i{background:#f3a59e}
.fcard .vp-st[data-st=approved] i{background:#3f6a80}
.fcard .vp-st[data-st=blocked] i{background:#ad3830}
.fcard .vp-st[data-st=delivered] i{background:var(--mv-sage)}
@container fcard (max-width:600px){
  .fcard .vp-tbl{table-layout:auto}
  .fcard .vp-tbl colgroup{display:none}
  .fcard .vp-tbl tr{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"pri st" "pr pr" "who due"}
  .fcard .vp-name,.fcard .vp-sum{white-space:normal}
  .fcard .vp-sum{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
}
/* Production's Overview's rows ("On your plate"): the priority, the project and its line (one each), the date at the right end, never
   wrapped under the rest (stage 4 review: the dates fell onto their own line when the web font landed, 0.05+ CLS on a phone) */
.fcard .vd-feed .ev.vp-line{display:grid !important;grid-template-columns:auto minmax(0,1fr) auto;flex-wrap:nowrap !important;gap:12px !important}
.fcard .vd-feed .ev.vp-line>div{min-width:0}
.fcard .vd-feed .ev.vp-line :is(p,small){display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.fcard .vd-feed .ev.vp-line>div:last-child{margin-left:0 !important;white-space:nowrap}
/* the Projects headline (two sentences): on a phone each its own line, and two lines' room from the first paint (the title is rewritten
   from "Projects" once the rows are in: 0.024 CLS at 390) */
@media (max-width:700px){
  html.vh-projects #title{min-height:2.5em}
  #title .t2{display:block}
}
/* ---- the Video Hub's Social pages as the Studio's (stage 4 review, one portal): eyebrow, title, the italic line under it (reserved from
   the first paint on those three addresses: index.html's early script, html.vh-lede), then the card; the page in the card is the card's
   body itself, no inner box with a grey band (its title is the page's; its one action, New plan, stays at the top of the body) */
#app .top .vh-lede{display:none;margin:5px 0 0;font-size:var(--page-lede-size,12.5px);line-height:1.55;font-style:italic;color:var(--mv-body,#586c6c);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.vh-lede #app .top .vh-lede{display:block;min-height:1.55em}
html #app #vh-sec .fc-b>#page>.card.sp-plan{padding:0;background:none;outline:0;border:0;box-shadow:none;overflow:visible}
#vh-sec .fc-b>#page>.card.sp-plan>.sp-head{padding:0 0 12px;background:none;border:0}
#vh-sec .fc-b>#page>.card.sp-plan>.sp-head>.sp-head-t{display:none}
#vh-sec .fc-b>#page>.card.sp-plan>.sp-head:has(>.sp-tools:empty){display:none}
#vh-sec .fc-b>#page>.card.sp-plan>.sp-head>.sp-tools{margin-left:auto}
/* ---- My Business: the work as a sheet (stage 4 review: ONE card per category; the work card under the board repeated Today, Data gaps and
   Partners). A modal <dialog> the board's links open on their tab; its card is the portal's folder-tab card; a solid backdrop, no blur. */
dialog.biz-sheet{width:min(1040px,calc(100vw - 32px));max-height:calc(100vh - 48px);margin:auto;padding:0;border:0;background:none;color:var(--mv-ink);
  overflow:visible;font-family:Gotham,'Gotham Fallback',-apple-system,'Segoe UI',sans-serif}
dialog.biz-sheet::backdrop{background:rgba(12,20,26,.42)}
dialog.biz-sheet[open]{display:flex;flex-direction:column}
.biz-sheet-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 10px;color:#fff}
.biz-sheet-h h2{margin:0;font-size:15px;font-weight:var(--fw-medium,500);letter-spacing:.01em;color:#fff}
.biz-sheet-x{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:var(--mv-card);color:var(--mv-ink);
  font:inherit;font-size:20px;line-height:1;cursor:pointer}
.biz-sheet-x:focus-visible{outline:2px solid #fff;outline-offset:2px}
.biz-sheet-b{min-height:0;overflow:auto;border-radius:var(--mv-r);overscroll-behavior:contain}
.biz-sheet-b>.fcard{filter:none}
.biz-sheet .fcard .bz-digest{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:10px}
@media (max-width:600px){dialog.biz-sheet{width:calc(100vw - 16px);max-height:calc(100vh - 24px)}}
/* ---- Model Match's twelve months (sheet C), drawn from the officer's own book: navy bars, this month sage, quiet month names */
.fcard .mb-bars{margin-top:12px}
.fcard .mb-bars-p{display:flex;align-items:flex-end;gap:4px;height:58px}
.fcard .mb-bar{flex:1 1 0;min-width:0;border-radius:3px 3px 1px 1px;background:var(--vp-navy,#133042)}
.fcard .mb-bar.t-sage{background:var(--mv-sage)}
.fcard .mb-bars-x{display:flex;gap:4px;margin-top:5px;font-size:10.5px;line-height:1.3;color:var(--mv-muted)}
.fcard .mb-bars-x span{flex:1 1 0;min-width:0;white-space:nowrap;overflow:visible}
.fcard .mb-bars-l{display:block;margin-top:6px;font-size:11px}
/* ---- the Content Studio Overview's social snapshot as a folder card (stage 4 review: it was a loose card above the category cards, three
   pictures and its right half empty). The same boxes (studio-social.js, the room build.py keeps for them from the first paint), drawn as
   the portal's folder card: its title the card's own tab on the canvas, "See all" at the strip's end; on a wide page the four figures two
   by two on the left and the three latest posts on the right; every box keeps its fixed height, so nothing moves when the numbers land. */
#cs-social{position:relative;isolation:isolate;margin:0 0 var(--card-gap,18px);padding:0 !important;border:0 !important;border-radius:0;background:none !important;
  box-shadow:none !important;filter:var(--hub-drop);color:var(--mv-ink)}
#cs-social::before{content:'';position:absolute;z-index:-1;left:0;right:0;bottom:0;top:var(--mv-tab);border-radius:0 var(--mv-r) var(--mv-r) var(--mv-r);background:var(--mv-card)}
#cs-social>.cs-soc-h{height:var(--mv-tab);margin:0;align-items:center;gap:10px}
#cs-social>.cs-soc-h h3{position:relative;align-self:stretch;display:flex;align-items:center;flex:none;max-width:70%;padding:0 18px;border-radius:var(--mv-r) var(--mv-r) 0 0;
  background:var(--mv-card);font-size:max(12px,calc(13.5px * var(--mv-k,1)));font-weight:var(--fw-medium,500);line-height:1}
#cs-social>.cs-soc-h h3::after{content:'';position:absolute;top:0;bottom:0;right:calc(-22px * var(--mv-k,1));width:calc(23px * var(--mv-k,1));background:var(--mv-card);pointer-events:none;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0H5C22 0 19 48 40 48H0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48' preserveAspectRatio='none'%3E%3Cpath d='M0 0H5C22 0 19 48 40 48H0Z'/%3E%3C/svg%3E") 0 0/100% 100% no-repeat}
#cs-social>.cs-soc-h .cs-soc-n{padding-left:22px;color:var(--mv-muted);font-size:11.5px}
#cs-social>.cs-soc-h .cs-soc-all{margin-right:4px}
#cs-social>:not(.cs-soc-h){margin-left:calc(18px * var(--mv-k,1));margin-right:calc(18px * var(--mv-k,1))}
#cs-social>.cs-soc-h+*{margin-top:calc(14px * var(--mv-k,1))}
#cs-social{padding-bottom:calc(16px * var(--mv-k,1)) !important}
#cs-social .cs-soc-post{border-color:var(--mv-line)}
#cs-social .cs-soc-k .hc-stat.hc-v-tile{background:var(--mv-card);box-shadow:none;outline:1px solid var(--mv-line);outline-offset:-1px}
/* a wide page: the figures two by two on the left, the three latest posts on the right (the quiet states keep the same boxes) */
@media (min-width:1200px){
  html.wb-admin #cs-social,html.wb-lo:not(.wb-corp) #cs-social,html.wb-guess #cs-social,#cs-social.cs-soc-on,
  #cs-social>.cs-soc-qr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:calc(16px * var(--mv-k,1));align-items:start}
  #cs-social>.cs-soc-h,#cs-social>.cs-soc-qr{grid-column:1 / -1}
  #cs-social>.cs-soc-qr{margin-top:calc(14px * var(--mv-k,1))}
  #cs-social>.cs-soc-qr>.cs-soc-k,#cs-social>.cs-soc-qr>.cs-soc-p{margin-left:0;margin-right:0}
  #cs-social .cs-soc-k{grid-template-columns:repeat(2,minmax(0,1fr)) !important;margin-bottom:0;margin-right:0}
  #cs-social>.cs-soc-p,#cs-social>.cs-soc-qr>.cs-soc-p{margin-left:0;grid-template-columns:repeat(3,minmax(0,1fr))}
  #cs-social>.cs-soc-h+.cs-soc-k+.cs-soc-p{margin-top:calc(14px * var(--mv-k,1))}
  #cs-social .cs-soc-p>.cs-soc-post:nth-child(n+4){display:none}
  #cs-social .cs-soc-qr>.cs-soc-q{grid-column:1 / -1}
}
@media (min-width:901px) and (max-width:1199px){#cs-social .cs-soc-p{grid-template-columns:repeat(3,minmax(0,1fr))}#cs-social .cs-soc-p>.cs-soc-post:nth-child(n+4){display:none}}
html.wb-admin #hub-page #cs-social.cs-soc-off,html #cs-social.cs-soc-off{display:none}
/* a phone: the note under the figures' tab would be cut beside it: its own line at the card's foot is not possible without moving the
   boxes, so the strip keeps the tab and "See all" and the note goes (the figures carry their change) */
@media (max-width:600px){#cs-social>.cs-soc-h .cs-soc-n{visibility:hidden}}
/* the catalog's donut beside its words (stage 4 review: centred in a large empty area) */
.fcard .co-fmtw{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin-top:6px}
@container fcard (min-width:560px){.fcard .co-fmtw{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:center}}
.fcard .co-fmtw>.co-fmtl{order:2}
/* a row of six or seven pages (the admin's Social: Dashboard … Content bank) on a tablet's card: a little less padding inside each tab,
   the room between them kept, so all seven fit whole at 1024 (stage 4 review: "Dashboard" showed as "ashboard" behind the strip's edge) */
@container fcard (max-width:960px){
  .secard:has(.stab:nth-child(6))>.fc-h>.sectabs .stab{padding:0 calc(11px * var(--mv-k,1))}
  .secard:has(.stab:nth-child(6))>.fc-h>.sectabs{--ftab-sh:14px;padding-right:var(--ftab-sh)}
}
/* the team's Social pages on a phone: the filters (All | New | Planned | Done) and the head's action keep one line in either font, so
   nothing under them moves when the web font lands (stage 4 review: the toolbar grew 15px at Gotham's arrival, 0.15 CLS at 390) */
@media (max-width:700px){
  #vh-sec .sp-tools,#vh-sec .sp-seg{flex-wrap:nowrap}
  #vh-sec .sp-seg{overflow-x:auto;scrollbar-width:none}
  #vh-sec .sp-seg::-webkit-scrollbar{display:none}
  #vh-sec :is(.sp-btn,.sp-seg button){white-space:nowrap}
  #vh-sec .sp-controls{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
}
/* the figures' labels inside a narrow tile wrap at a word, never inside one ("Programa-das") */
.fcard .hc-stat .hc-stat-l{hyphens:manual;-webkit-hyphens:manual}
/* the tier bar's legend keeps one line in either font (a phone's legend wrapped in the fallback face and unwrapped when Gotham landed:
   everything under At a glance moved 19px) */
.fcard .hk-tier-l{flex-wrap:nowrap;gap:4px 12px;overflow:hidden}
@container fcard (max-width:420px){.fcard .hk-tier-l{gap:4px 9px;font-size:11px}.fcard .hk-tier-l span{gap:5px}}
