/* InterLinc Hub: the one sidebar, shared by the Content Studio and the Video Hub (Unified-Hub/PLAN.md, Phase 3).
   Source of truth: InterLinc-ContentStudio/showcase/site/shared/v1/. The Video Hub ships a copy in web/vendor/
   (scripts/sync_hub_rail.py) so each deploy pins the version it was tested with.
   Design: Unified-Hub/sidebar-prototype.html, the Figma "Sidebar Navigation Menu for Dashboard"
   (ZxPt5c1Ojq9DT5tptMT9VX) in InterLinc colors, with the "comfort" type set (owner, 2026-10-07).
   Every class is hr-*, every variable --hr-*: the two apps' own sheets never reach in, and this never reaches out.
   The prototype's glass needs a busy wallpaper behind it; the hub's pages are a flat canvas, so the panel here is
   the colour the glass shows in the prototype, laid as a fill (sampled from shots-v2/07 and 03). */
/* Inter, self-hosted (was a render-blocking @import of fonts.googleapis.com: a stylesheet, then a cross-origin font
   round trip). The same variable file Google served (opsz 14..32, wght 400..700); swap, so text never waits for it.
   Files live in /shared/fonts/ next to v1/. A host that vendors this sheet (the Video Hub) must copy them too. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;
  src:url(../fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;
  src:url(../fonts/inter-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* layout: what the host pages read to clear the panel */
/* compact (owner 2026-10-19: "más compactas", the sidebar was the largest thing on screen): 236 open / 68 folded, 16 from the edges
   (was 272 / 104 / 24); rows 38 tall with an 18px icon and 13.5px labels (was 56 / 24 / 15), sub-rows 30 (was 36). */
:root{--hr-w-open:236px;--hr-w-min:68px;--hr-w:var(--hr-w-open);--hr-inset:16px;
  --hr-space:calc(var(--hr-inset) + var(--hr-w) + 16px)}
html.rail-min{--hr-w:var(--hr-w-min)}
/* rail-min is the stored choice (hub.rail.v1, set in <head> before paint) and sizes the page's gutter;
   hr-fold is the panel actually folded, which hub-rail.js sets only on a desktop-wide window */
@media (max-width:900px){:root,html.rail-min{--hr-space:0px}}

.hr-scope{
  --hr-navy:#133042;--hr-coral:#f15b4f;
  --hr-font:'Inter','Segoe UI',system-ui,-apple-system,Arial,sans-serif;
  --hr-io:cubic-bezier(.42,0,.58,1);--hr-out:cubic-bezier(0,0,.58,1);--hr-dur:.4s;
  --hr-r-panel:20px;--hr-r-card:20px;--hr-r-item:10px;--hr-r-sub:6px;--hr-r-fly:14px;--hr-r-btn:10px;
  /* type: "compact" (owner 2026-10-19; was "comfort", the file's 14/12/11 one step up: 15/13.5). Weights from the portal's type scale (hub-theme.css --fw-*, owner 2026-10-16:
     lighter everywhere): items in regular, the current item, the name and the small caps in medium; nothing semibold. */
  --hr-fs-eye:10.5px;--hr-fw-eye:var(--fw-label,500);--hr-ls-eye:.9px;--hr-fs-name:13.5px;--hr-fw-name:var(--fw-medium,500);
  --hr-fs-sec:10.5px;--hr-fw-sec:var(--fw-label,500);--hr-ls-sec:1px;--hr-fs-item:13.5px;--hr-fw-item:var(--fw-regular,400);--hr-fw-item-on:var(--fw-medium,500);
  --hr-fs-kid:12.5px;--hr-fw-kid:var(--fw-regular,400);--hr-fw-kid-on:var(--fw-medium,500);--hr-fs-cta-t:17px;--hr-fs-cta-d:13.5px;--hr-fw-cta-d:400;--hr-fs-btn:14.5px;
  /* dark: the navy the prototype's glass reads as */
  --hr-fill:radial-gradient(120% 34% at 0 0,rgba(241,91,79,.10),rgba(241,91,79,0) 70%),
    radial-gradient(110% 30% at 100% 100%,rgba(126,152,152,.16),rgba(126,152,152,0) 70%),
    linear-gradient(180deg,#1c2833 0%,#142836 48%,#1b3341 100%);
  --hr-glass:rgba(17,36,49,.94);
  --hr-rim:radial-gradient(farthest-corner at 0 0,#a9c0c0,#2a4d63);
  --hr-ro-panel:.42;--hr-ro-card:.2;--hr-ro-knob:.48;--hr-ro-item:.12;--hr-ro-fly:.16;
  --hr-sh-panel:0 30px 60px -22px rgba(13,35,48,.5),0 2px 8px rgba(13,35,48,.14);
  --hr-sh-fly:0 30px 60px -20px rgba(13,35,48,.55),0 2px 8px rgba(13,35,48,.18);
  --hr-sh-card:0 30px 50px -30px rgba(8,22,32,.6);
  --hr-card:rgba(255,255,255,.035);
  /* the quiet inks, measured over the rail's own fill (G12): every one of them reaches 4.5:1, the section labels and counts included */
  --hr-ink:#fff;--hr-t56:rgba(255,255,255,.62);--hr-t40:rgba(255,255,255,.6);
  --hr-t3:rgba(169,192,192,.95);--hr-badge:#d34039;--hr-chev:rgba(126,152,152,.7);--hr-knob-ink:#a9c0c0;--hr-knob:#1d3443;
  --hr-act:rgba(255,255,255,.045);--hr-lt-o:.17;
  --hr-light-a:#a9c0c0;--hr-light-b:rgba(126,152,152,0);
  --hr-div-a:#a9c0c0;--hr-div-b:rgba(126,152,152,0);--hr-div-o:.1;
  --hr-wire:#7e9898;--hr-wire-o:.36;
  --hr-glow:drop-shadow(0 0 8px rgba(255,255,255,.28));
  /* buttons and the keyboard ring are navy, never coral (owner rule 2026-10-14): on the dark rail a lifted navy that still reads */
  --hr-btn:#2f5d7c;--hr-btn-sh:0 4px 24px rgba(0,0,0,.3);--hr-focus:#fff;
  --hr-av-bg:#eee6da;--hr-chip-bg:rgba(241,91,79,.18);--hr-chip-ink:#ff8d84;
  color-scheme:dark;
}
html[data-hr-theme=light] .hr-scope{
  --hr-fill:radial-gradient(120% 34% at 0 0,rgba(241,91,79,.07),rgba(241,91,79,0) 70%),
    radial-gradient(110% 30% at 100% 100%,rgba(126,152,152,.12),rgba(126,152,152,0) 70%),
    linear-gradient(180deg,#fbf6f1 0%,#f9f6f1 50%,#f3f2ee 100%);
  --hr-glass:rgba(250,247,242,.95);
  --hr-rim:linear-gradient(#fff,#fff);
  --hr-ro-panel:.9;--hr-ro-card:.7;--hr-ro-knob:.9;--hr-ro-item:.6;--hr-ro-fly:.9;
  --hr-sh-panel:0 30px 60px -26px rgba(19,48,66,.3),0 1px 3px rgba(19,48,66,.08);
  --hr-sh-fly:0 30px 60px -22px rgba(19,48,66,.32),0 1px 3px rgba(19,48,66,.1);
  --hr-sh-card:none;
  --hr-card:rgba(19,48,66,.03);
  --hr-ink:#133042;--hr-t56:rgba(19,48,66,.78);--hr-t40:rgba(19,48,66,.72);
  --hr-t3:rgba(19,48,66,.72);--hr-chev:rgba(19,48,66,.48);--hr-knob-ink:rgba(19,48,66,.55);--hr-knob:#fbf8f4;
  --hr-act:rgba(140,112,80,.08);--hr-lt-o:.23;
  --hr-div-a:#133042;--hr-div-o:.08;
  --hr-wire:#133042;--hr-wire-o:.18;
  --hr-glow:none;
  --hr-btn:#133042;--hr-btn-sh:0 4px 24px rgba(19,48,66,.22);--hr-focus:#133042;
  --hr-av-bg:#efe9e0;--hr-chip-bg:rgba(241,91,79,.12);--hr-chip-ink:#a8322a;
  color-scheme:light;
}
/* over a SOLID background (White, Off white, Bone; owner 2026-10-16) the sidebar drops its coral and sage glows: a flat surface like the
   cards (hub-theme.css 2b), with a hairline instead of the white rim, and the one card shadow (hub-theme.css 2c, owner 2026-11-08). Light: white (warm white on Bone); dark: a neutral graphite (warm on Bone). */
html:is([data-bg=white],[data-bg=offwhite],[data-bg=bone])[data-hr-theme=light] .hr-scope{
  --hr-fill:#ffffff;--hr-glass:rgba(255,255,255,.97);--hr-rim:linear-gradient(rgba(19,48,66,.12),rgba(19,48,66,.08));
  --hr-sh-panel:var(--hub-shadow);--hr-act:rgba(19,48,66,.06)}
html[data-bg=bone][data-hr-theme=light] .hr-scope{--hr-fill:#fbf9f5;--hr-glass:rgba(251,249,245,.97)}
html:is([data-bg=white],[data-bg=offwhite],[data-bg=bone])[data-hr-theme=dark] .hr-scope{
  --hr-fill:linear-gradient(180deg,#202225 0%,#1b1d20 100%);--hr-glass:rgba(32,34,37,.97);
  --hr-rim:linear-gradient(rgba(255,255,255,.14),rgba(255,255,255,.05));--hr-sh-panel:var(--hub-shadow)}
html[data-bg=bone][data-hr-theme=dark] .hr-scope{--hr-fill:linear-gradient(180deg,#2c2722 0%,#26211d 100%);--hr-glass:rgba(44,39,34,.97)}
/* corner smoothing where the browser has it (Figma 100% smoothing ~ squircle at 1.84r) */
@supports (corner-shape:squircle){
  .hr-scope{--hr-r-panel:37px;--hr-r-card:37px;--hr-r-item:18px;--hr-r-sub:11px;--hr-r-fly:26px;--hr-r-btn:18px}
  .hr-sq,.hr-sq::before{corner-shape:squircle}
}

/* Resets, at one class of specificity (:where() adds none): enough to beat the apps' bare
   button/a/ul rules, and still lose to every .hr-* rule below, which comes later. */
.hr-scope,.hr-scope :where(*){box-sizing:border-box}
.hr-scope{font-family:var(--hr-font);font-size:14px;line-height:20px;-webkit-font-smoothing:antialiased;color:var(--hr-ink);
  text-align:left;letter-spacing:normal;text-transform:none;font-style:normal}
.hr-scope :where(button){font:inherit;color:inherit;background:none;border:0;padding:0;margin:0;cursor:pointer;text-align:inherit;
  letter-spacing:inherit;text-transform:inherit;box-shadow:none;min-width:0;min-height:0;height:auto;width:auto;border-radius:0;
  -webkit-appearance:none;appearance:none}
.hr-scope :where(a),.hr-scope :where(a:hover),.hr-scope :where(a:visited){color:inherit;text-decoration:none}
.hr-scope :where(svg){display:block}
.hr-scope :where(em,s,b,i){font-style:normal;text-decoration:none;font-weight:inherit}
.hr-scope :where(ul,li){list-style:none;margin:0;padding:0}
.hr-scope :where(:focus){outline:none}
.hr-scope :where(:focus-visible){outline:2px solid var(--hr-focus);outline-offset:2px}
.hr-scope [hidden]{display:none !important}

/* 0.5px rim, inside, from the top-left corner */
.hr-rim::before{content:'';position:absolute;inset:0;z-index:1;border-radius:inherit;padding:.5px;background:var(--hr-rim);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
          mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  opacity:var(--hr-ro);pointer-events:none;transition:opacity .15s}

/* ============================== the panel ============================== */
#hub-rail.hr-sb{position:fixed;z-index:60;left:var(--hr-inset);top:var(--hr-inset);bottom:var(--hr-inset);width:var(--hr-w);
  display:flex;flex-direction:column;border-radius:var(--hr-r-panel);background:var(--hr-fill);box-shadow:var(--hr-sh-panel);
  --hr-ro:var(--hr-ro-panel);margin:0;padding:0;transition:width var(--hr-dur) var(--hr-io)}
#hub-rail.hr-sb:empty{visibility:hidden}

/* header: avatar 36, eyebrow, name (folded: the avatar centred in the 68px panel) */
.hr-hd{position:relative;flex:none;height:36px;margin-top:16px;padding:0 16px}
.hr-me{display:flex;align-items:center;gap:10px;height:36px;max-width:100%;padding-left:0;border-radius:18px;white-space:nowrap;
  transition:padding var(--hr-dur) var(--hr-io)}
.hr-av{flex:none;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--hr-av-bg) center 18%/cover no-repeat;
  color:var(--hr-navy);font-size:12.5px;font-weight:var(--fw-strong,500);letter-spacing:.02em}
.hr-av.hr-photo{color:transparent}
.hr-av.hr-brand{background:var(--hr-coral)}
.hr-av.hr-brand img{display:block;width:20px;height:auto}
.hr-me-t{display:flex;flex-direction:column;min-width:0;padding-top:0;transition:opacity .2s .18s}
.hr-me-t s{font-size:var(--hr-fs-eye);line-height:14px;font-weight:var(--hr-fw-eye);letter-spacing:var(--hr-ls-eye);text-transform:uppercase;
  color:var(--hr-t3);overflow:hidden;text-overflow:ellipsis}
/* a long role or title is fitted to its one line, never cut (hub-rail.js fitEye: tighter letters, smaller, then sentence case) */
.hr-me-t s[data-fit="1"]{letter-spacing:.3px}
.hr-me-t s[data-fit="2"]{letter-spacing:0;font-size:9.5px}
.hr-me-t s[data-fit="3"]{letter-spacing:0;font-size:10.5px;text-transform:none}
.hr-me-t s[data-fit="4"]{letter-spacing:0;font-size:9.5px;text-transform:none}
.hr-me-t b{font-size:var(--hr-fs-name);line-height:18px;font-weight:var(--hr-fw-name);color:var(--hr-ink);filter:var(--hr-glow);
  overflow:hidden;text-overflow:ellipsis}
html.hr-fold .hr-me-t{opacity:0;transition:opacity .12s}

/* collapse: 22 circle on the panel's right edge, level with the avatar */
.hr-knob{position:absolute;right:-11px;top:7px;z-index:2;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;
  background:var(--hr-knob);color:var(--hr-knob-ink);--hr-ro:var(--hr-ro-knob);box-shadow:0 2px 8px rgba(13,35,48,.18)}
.hr-knob svg{width:22px;height:22px;opacity:.85;transform:translateX(-1.2px) rotate(90deg);transition:transform var(--hr-dur) var(--hr-io)}
html.hr-fold .hr-knob svg{transform:translateX(1.2px) rotate(-90deg)}
.hr-knob:hover svg{opacity:1}

/* dividers */
.hr-rule{position:relative;flex:none;height:.5px}
.hr-rule::before,.hr-msep::before{content:'';position:absolute;left:0;right:0;top:-.25px;height:1px;
  background:linear-gradient(90deg,var(--hr-div-b),var(--hr-div-a) 50%,var(--hr-div-b));opacity:var(--hr-div-o)}
.hr-hd+.hr-rule{margin-top:12px}
.hr-rule.hr-in{margin-top:4px}

/* ---- nav ---- */
.hr-nav{position:relative;flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 0 10px;scrollbar-width:none;
  -webkit-mask:linear-gradient(to bottom,transparent 0,#000 var(--hr-ft,0px),#000 calc(100% - var(--hr-fb,0px)),transparent 100%);
          mask:linear-gradient(to bottom,transparent 0,#000 var(--hr-ft,0px),#000 calc(100% - var(--hr-fb,0px)),transparent 100%)}
.hr-nav::-webkit-scrollbar{display:none}
.hr-nav.hr-ft{--hr-ft:20px}.hr-nav.hr-fb{--hr-fb:36px}

.hr-sec{display:flex;align-items:center;width:calc(100% - 24px);height:20px;margin:12px 12px 2px;padding:0 4px 0 12px;
  font-size:var(--hr-fs-sec);line-height:20px;font-weight:var(--hr-fw-sec);letter-spacing:var(--hr-ls-sec);text-transform:uppercase;
  color:var(--hr-t3);white-space:nowrap}
html.hr-fold .hr-sec{width:calc(100% - 16px);margin-left:8px;margin-right:8px;padding:0;justify-content:center}

/* row: 38 tall, radius 10, padding 0/12, gap 10, icon 18 (was 56 / 12 / 16-20 / 16 / 24) */
.hr-it{position:relative;display:flex;align-items:center;gap:10px;width:calc(100% - 24px);height:38px;margin:0 12px;padding:0 12px;
  border-radius:var(--hr-r-item);color:var(--hr-t56);font-size:var(--hr-fs-item);line-height:20px;font-weight:var(--hr-fw-item);
  white-space:nowrap;overflow:hidden;isolation:isolate;
  --hr-ro:0;transition:background-color .15s,color .15s,padding var(--hr-dur) var(--hr-io)}
html.hr-fold .hr-it{padding:0 13px}
.hr-it:hover{background-color:var(--hr-act);color:var(--hr-ink);--hr-ro:var(--hr-ro-item)}
.hr-it.hr-on{background-color:var(--hr-act);color:var(--hr-ink);--hr-ro:var(--hr-ro-item);font-weight:var(--hr-fw-item-on)}
.hr-ic{position:relative;flex:none;width:18px;height:18px}
.hr-ic svg{width:18px;height:18px}
.hr-it.hr-on .hr-ic svg,.hr-it.hr-on .hr-lb,.hr-kid.hr-on .hr-kt{filter:var(--hr-glow)}
.hr-lb{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;transition:opacity .2s .18s}
.hr-chev{flex:none;width:18px;height:18px;color:var(--hr-chev);transition:transform var(--hr-dur) var(--hr-io),opacity .2s .18s}
.hr-it>.hr-chev{margin-left:-8px}.hr-it>.hr-bd{margin-left:-4px}
.hr-grp.hr-open>.hr-it .hr-chev{transform:translateY(-1.2px) rotate(180deg)}
/* a group that always stands open (hub-rail.js NAV open:true; owner, 2026-11-08: the Content Studio and My Business): in the full
   sidebar its header is a label, not a control, so it neither points nor lights up under the pointer (the page it holds that is open
   still marks it, hr-on); folded to icons it is the flyout's button again, like any group's */
html:not(.hr-fold) .hr-gh{cursor:default}
html:not(.hr-fold) .hr-gh:not(.hr-on):hover{background-color:transparent;color:var(--hr-t56);--hr-ro:0}
html.hr-fold .hr-gh{cursor:pointer}
html.hr-fold .hr-lb,html.hr-fold .hr-chev,html.hr-fold .hr-it>.hr-bd{opacity:0;transition:opacity .12s}

/* the inner light of a current pill */
.hr-kid{isolation:isolate}
.hr-lt{position:absolute;z-index:-1;left:-52px;top:0;width:250px;height:38px;pointer-events:none;opacity:0;
  background:radial-gradient(closest-side,var(--hr-light-a),color-mix(in srgb,var(--hr-light-a) 89%,transparent) 20%,
    color-mix(in srgb,var(--hr-light-a) 62%,transparent) 40%,color-mix(in srgb,var(--hr-light-a) 34%,transparent) 60%,
    color-mix(in srgb,var(--hr-light-a) 13%,transparent) 80%,color-mix(in srgb,var(--hr-light-a) 4%,transparent) 91%,var(--hr-light-b));
  filter:blur(20px);transition:opacity .2s,left var(--hr-dur) var(--hr-io)}
.hr-on>.hr-lt{opacity:var(--hr-lt-o)}
html.hr-fold .hr-it>.hr-lt{left:-103px}

/* counts: coral pill in the trailing slot; folded, a coin on the icon */
.hr-bd{flex:none;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--hr-badge,#d34039);color:#fff;
  font-size:11px;line-height:18px;font-weight:var(--fw-strong,500);text-align:center;transition:opacity .2s .18s}
.hr-pip{position:absolute;right:-9px;top:-7px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--hr-badge,#d34039);color:#fff;
  font-size:10px;line-height:16px;font-weight:var(--fw-strong,500);text-align:center;opacity:0;transform:scale(.6);transition:opacity .2s,transform .2s}
html.hr-fold .hr-pip{opacity:1;transform:none;transition:opacity .2s .2s,transform .25s var(--hr-out) .2s}
.hr-adot{position:absolute;right:-1px;top:-1px;width:6px;height:6px;border-radius:50%;background:var(--hr-coral);transition:opacity .2s}
.hr-grp.hr-open .hr-adot{opacity:0}

/* ---- sub-items: tree connectors, 30 rows, gap 2, list at x 46 (the wire's pitch, 32, is hub-rail.js KID_PITCH) ---- */
.hr-kids{display:grid;grid-template-rows:0fr;visibility:hidden;
  transition:grid-template-rows var(--hr-dur) var(--hr-io),visibility 0s linear var(--hr-dur)}
.hr-grp.hr-open>.hr-kids{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows var(--hr-dur) var(--hr-io),visibility 0s}
.hr-kids-in{position:relative;min-height:0;overflow:hidden}
.hr-wire{position:absolute;left:32.3px;top:0;overflow:visible;color:var(--hr-wire);opacity:var(--hr-wire-o);transition:left var(--hr-dur) var(--hr-io)}
html.hr-fold .hr-wire{left:33.3px}
.hr-tree{margin:0;padding:3px 14px 3px 46px;display:flex;flex-direction:column;gap:2px;transition:opacity .2s .18s}
html.hr-fold #hub-rail .hr-tree{opacity:0;visibility:hidden;transition:opacity .1s,visibility 0s linear .1s}
.hr-kid{position:relative;display:flex;align-items:center;gap:8px;height:30px;padding:0 10px;border-radius:var(--hr-r-sub);
  color:var(--hr-t56);font-size:var(--hr-fs-kid);line-height:20px;font-weight:var(--hr-fw-kid);white-space:nowrap;overflow:hidden;
  --hr-ro:0;transition:background-color .15s,color .15s}
.hr-kid:hover{background-color:var(--hr-act);color:var(--hr-ink)}
.hr-kid.hr-on{border-radius:var(--hr-r-item);background-color:var(--hr-act);color:var(--hr-ink);--hr-ro:var(--hr-ro-item);font-weight:var(--hr-fw-kid-on)}
.hr-kid>.hr-lt{left:-90px;top:-4px}
.hr-kt{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
.hr-kid .hr-bd{min-width:17px;height:17px;line-height:17px;padding:0 5px;font-size:10px;border-radius:9px}
.hr-ct{flex:none;font-size:11.5px;color:var(--hr-t40);font-variant-numeric:tabular-nums}
.hr-chip{flex:none;height:17px;padding:0 6px;border-radius:9px;background:var(--hr-chip-bg);color:var(--hr-chip-ink);
  font-size:10px;line-height:17px;font-weight:var(--fw-strong,500);letter-spacing:.5px}

/* ---- floating layers: flyout, tooltip, account menu ---- */
.hr-layer{position:fixed;z-index:72;background:var(--hr-glass);-webkit-backdrop-filter:var(--glass-blur,none);backdrop-filter:var(--glass-blur,none);
  box-shadow:var(--hr-sh-fly);--hr-ro:var(--hr-ro-fly);opacity:0;visibility:hidden;transform:translateX(-4px) scale(.98);transform-origin:0 0;
  transition:opacity .3s var(--hr-out),transform .3s var(--hr-out),visibility 0s linear .3s}
.hr-layer.hr-show{opacity:1;visibility:visible;transform:none;transition:opacity .3s var(--hr-out),transform .3s var(--hr-out),visibility 0s}
.hr-fly{padding:4px;min-width:168px;border-radius:var(--hr-r-fly)}
.hr-fly .hr-tree{padding:0;min-width:160px}
.hr-tip{padding:5px 10px;border-radius:var(--hr-r-item);font-size:12px;line-height:20px;font-weight:var(--fw-medium,500);white-space:nowrap;pointer-events:none;color:var(--hr-ink)}
.hr-menu{width:224px;padding:4px;border-radius:var(--hr-r-fly)}
.hr-mi{position:relative;display:flex;align-items:center;gap:10px;width:100%;height:36px;padding:0 12px;border-radius:var(--hr-r-item);color:var(--hr-t56);
  font-size:13px;font-weight:var(--fw-medium,500);text-align:left;--hr-ro:0}
.hr-mi:hover{background:var(--hr-act);color:var(--hr-ink);--hr-ro:var(--hr-ro-item)}
.hr-mi svg,.hr-mrow svg{flex:none;width:18px;height:18px}
.hr-mrow{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 6px 0 12px;font-size:13px;font-weight:var(--fw-medium,500);color:var(--hr-t56)}
.hr-mrow>span{display:flex;align-items:center;gap:10px}
.hr-mseg{display:flex;padding:3px;border-radius:12px;background:var(--hr-act);box-shadow:inset 0 0 0 .5px rgba(169,192,192,.22)}
.hr-mseg button{height:26px;padding:0 10px;border-radius:9px;font-size:11px;font-weight:var(--fw-strong,500);letter-spacing:.4px;color:var(--hr-t56)}
.hr-mseg button[aria-pressed=true]{background:var(--hr-btn);color:#fff}
.hr-mseg .hr-mico{width:32px;padding:0;display:grid;place-items:center}
.hr-mseg .hr-mico svg{width:15px;height:15px}
/* the admin's desk (Build as: Yourself | Marketing): its label on a line, the two choices across the menu under it */
.hr-mdesk{display:flex;flex-direction:column;gap:6px;padding:8px 6px 8px 12px;font-size:13px;font-weight:var(--fw-medium,500);color:var(--hr-t56)}
.hr-mdesk>span{display:flex;align-items:center;gap:10px}
.hr-mdesk svg{flex:none;width:18px;height:18px}
.hr-mseg-w{width:100%}
.hr-mseg-w button{flex:1 1 0;height:30px;font-size:12px;letter-spacing:0}
.hr-msep{position:relative;height:.5px;margin:4px 10px}
/* an item with a second line (View as… without the signing key on the server) */
.hr-mi.hr-mi-2{height:auto;min-height:36px;padding-top:6px;padding-bottom:6px}
.hr-mi small{display:block;font-size:11px;line-height:14px;font-weight:var(--fw-regular,400);color:var(--hr-t40)}

/* ---- "View as…" (hub-rail.js openViewAs, owner 2026-11-05): the picker, a sheet over the page in the sidebar's own look. Navy and
   the sidebar's inks only: nothing here is coral. ---- */
.hr-va{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-start;justify-content:center;padding:8vh 16px 16px;background:rgba(4,14,20,.42)}
.hr-va-in{display:flex;flex-direction:column;width:min(520px,100%);max-height:84vh;padding:18px 18px 12px;border-radius:var(--hr-r-card);
  background:var(--hr-glass);box-shadow:var(--hr-sh-fly);color:var(--hr-ink)}
.hr-va-hd{display:flex;align-items:center;justify-content:space-between;gap:12px}
.hr-va-hd h2{margin:0;font-size:17px;line-height:24px;font-weight:var(--fw-medium,500);color:var(--hr-ink)}
.hr-va-x{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:var(--hr-r-item);color:var(--hr-t56)}
.hr-va-x:hover{background:var(--hr-act);color:var(--hr-ink)}
.hr-va-x svg{width:18px;height:18px}
.hr-va-lead{margin:6px 0 12px;font-size:13px;line-height:19px;color:var(--hr-t56)}
.hr-va-q{width:100%;height:38px;padding:0 12px;border-radius:var(--hr-r-item);border:1px solid rgba(126,152,152,.45);background:var(--hr-act);
  color:var(--hr-ink);font:inherit;font-size:13.5px}
.hr-va-q::placeholder{color:var(--hr-t40)}
.hr-va-q:focus-visible,.hr-va-x:focus-visible{outline:2px solid var(--hr-focus);outline-offset:1px}
.hr-va-list{min-height:60px;margin-top:10px;overflow:auto;overscroll-behavior:contain}
.hr-va-gt{padding:10px 8px 4px;font-size:var(--hr-fs-sec);line-height:16px;letter-spacing:var(--hr-ls-sec);text-transform:uppercase;font-weight:var(--hr-fw-sec);color:var(--hr-t40)}
.hr-va-p{display:flex;flex-direction:column;align-items:flex-start;width:100%;padding:8px 10px;border-radius:var(--hr-r-item);text-align:left}
.hr-va-p b{max-width:100%;font-size:13.5px;line-height:19px;font-weight:var(--fw-medium,500);color:var(--hr-ink)}
.hr-va-p span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:17px;color:var(--hr-t56)}
.hr-va-p:hover{background:var(--hr-act)}
.hr-va-p:focus-visible{background:var(--hr-act);outline:2px solid var(--hr-focus);outline-offset:-2px}
.hr-va-p[disabled]{opacity:.55;cursor:default}
.hr-va-p.hr-va-busy{opacity:1;background:var(--hr-act)}
.hr-va-msg{margin:12px 8px;font-size:13px;line-height:19px;color:var(--hr-t56)}
@media (max-width:600px){.hr-va{padding:12px}.hr-va-in{max-height:calc(100vh - 24px)}}

/* ---- no verified identity (hub-rail.js sets html.hub-out): NOTHING of the portal is on screen but the wallpaper and the
   sign-in screen (hub-signin.js), from the first paint. Not the sidebar, not its layers, not the page behind it, not a name.
   data-open (html.hub-open) is the one page that must work for a stranger, the password-reset form: its sidebar is still gone. ---- */
html.hub-out #hub-rail,html.hub-out .hr-scrim,html.hub-out .hr-layer,html.hub-out [data-hr-burger]{display:none!important}
html.hub-out:not(.hub-open){overflow:hidden}
html.hub-out:not(.hub-open) body>*:not(.bg):not(.hs-host):not(script):not(style):not(link){visibility:hidden!important;pointer-events:none!important}
/* ---- a session is held but could not be checked (no login flash, owner 2026-10-14; hub-error.js offline() sets html.hub-retry-on):
   NOT the signed-out state (no hub-out, never the sign-in form), and still no identity: the "Try again" card alone on the wallpaper. */
html.hub-retry-on #hub-rail,html.hub-retry-on .hr-scrim,html.hub-retry-on .hr-layer,html.hub-retry-on [data-hr-burger]{display:none!important}
html.hub-retry-on body>*:not(.bg):not(#hub-retry):not(script):not(style):not(link){visibility:hidden!important;pointer-events:none!important}

/* ---- phones: the panel is a drawer, opened by the page's own menu button ---- */
.hr-scrim{display:none}
@media (max-width:900px){
  /* closed from the very first style, before hub-rail.js has given the <aside> its class: otherwise the page's first
     style recalculation sees an open panel, the class arrives, and the drawer visibly slides shut on every page load */
  #hub-rail:not(.hr-sb){position:fixed;transform:translateX(calc(-100% - 24px));visibility:hidden}
  #hub-rail.hr-sb{left:12px;top:12px;bottom:12px;width:min(var(--hr-w-open),calc(100vw - 48px));transform:translateX(calc(-100% - 24px));visibility:hidden;
    transition:transform .4s var(--hr-io),visibility 0s linear .4s}
  html.hr-drawer #hub-rail.hr-sb{transform:none;visibility:visible;transition:transform .4s var(--hr-io),visibility 0s}
  .hr-scrim{display:block;position:fixed;inset:0;z-index:58;background:rgba(4,14,20,.42);opacity:0;visibility:hidden;
    transition:opacity .3s,visibility 0s linear .3s}
  html.hr-drawer .hr-scrim{opacity:1;visibility:visible;transition:opacity .3s,visibility 0s}
}
@media (prefers-reduced-motion:reduce){.hr-scope,.hr-scope *,.hr-scope *::before{transition-property:opacity,visibility !important;animation:none !important}}

/* ---- a page the person's menu does not offer (corporate staff, owner 2026-10-13; hub-rail.js refuse()): the page stays hidden and one
   polite card says so, with the way to the Content Studio. The sidebar stays. ---- */
html.hub-refused body>*:not(.bg):not(#hub-rail):not(.hr-scope):not([data-hr-burger]):not(script):not(style):not(link){visibility:hidden!important;pointer-events:none!important}
.hr-refuse{position:fixed;z-index:55;inset:0 0 0 var(--hr-space);display:flex;align-items:center;justify-content:center;padding:24px;font-family:var(--hr-font)}
.hr-refuse-in{max-width:440px;padding:36px 32px 32px;border-radius:24px;text-align:center;
  background:var(--glass-strong,rgba(255,255,255,.94));color:#133042;box-shadow:var(--glass-shadow,0 16px 38px rgba(19,48,66,.12))}
html[data-theme=dark] .hr-refuse-in{color:#fff}
.hr-refuse-mk{width:44px;height:auto;display:block;margin:0 auto 18px;filter:brightness(0) saturate(100%) invert(14%) sepia(23%) saturate(1630%) hue-rotate(166deg) brightness(93%) contrast(92%)}
html[data-theme=dark] .hr-refuse-mk{filter:none}
.hr-refuse h1{margin:0 0 10px;font-size:20px;line-height:1.3;font-weight:var(--fw-strong,500);letter-spacing:-.01em}
.hr-refuse p{margin:0 0 22px;font-size:14.5px;line-height:1.55;opacity:.82}
.hr-refuse-go{display:inline-flex;align-items:center;height:44px;padding:0 22px;border-radius:22px;background:#133042;color:#fff;
  font-size:14px;font-weight:var(--fw-strong,500);text-decoration:none}
html[data-theme=dark] .hr-refuse-go{background:#fff;color:#133042}
.hr-refuse-go:focus-visible{outline:2px solid var(--btn-focus,#133042);outline-offset:3px}
@media (max-width:900px){.hr-refuse{inset:0;padding-top:72px}}
.areatabs a[hidden]{display:none!important}
/* the loader (hub-loader.css) keeps its own visibility inside a hidden page: never over the sign-in screen or a refused page */
html.hub-out .hldr,html.hub-refused .hldr{display:none!important}
/* the loader's M (hub-loader.css: fixed, full screen) is centred on the space the page loads into, right of the sidebar, not on the
   monitor (owner 2026-10-28: "centrarla respecto al espacio donde está cargando"). --hr-space is 0 on phones, where the panel is a drawer. */
html:has(>body>#hub-rail) .hldr:not(.hldr-in){left:var(--hr-space)}
