/* ─────────────────────────────────────────────────────────────────────────────
   Charles Elena - Staff Dashboard

   Part 1 is carried over from the Replicate console so both sites look and
   behave the same: brand tokens, light/dark mode, buttons, fields, the sign-in
   screen and its animated background, and the header.
   Part 2 is the dashboard's own: search, answers, shortcuts, panels, chat.
   ───────────────────────────────────────────────────────────────────────────── */

/* ═════════════════════ PART 1 - shared with Replicate ═════════════════════ */
/* ── reset ─────────────────────────────────────────────────────────────────── */
*{margin:0;padding:0;box-sizing:border-box}
html{height:100%;scroll-behavior:smooth}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
img{max-width:100%}
[hidden]{display:none!important}

:root{
    --black:#000000; --white:#ffffff;
    --aqua:#2DE1FD; --aqua-dark:#193F44; --aqua-light:#C2F3FA;
    --magenta:#FC31BB; --magenta-dark:#430560; --magenta-light:#FFDDF8;
    --orange:#FF7A00; --orange-light:#FFDDC3;
    --grey-90:#262626; --grey-80:#393939; --grey-70:#525252; --grey-60:#5E5E5E; --grey-50:#707070;
    --grey-40:#A8A8A8; --grey-30:#C6C6C6; --grey-20:#E0E0E0; --grey-10:#F5F5F5;
    --green-dark:#194B15; --green-light:#C6FFC1; --red-dark:#92001E;
    --brand-gradient:linear-gradient(90deg,var(--aqua) 21.5%,var(--magenta) 51.6%,var(--orange) 80.5%);
    --brand-gradient-flow:linear-gradient(90deg,var(--aqua),var(--magenta),var(--orange),var(--magenta),var(--aqua));
    --font:'Roboto',system-ui,-apple-system,'Segoe UI',sans-serif;
    --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;

    --ground:var(--white); --panel:var(--white); --sunken:var(--grey-10);
    --ink:var(--black); --ink-2:var(--grey-70); --ink-3:var(--grey-60);
    --line:var(--grey-20); --line-2:var(--grey-30);
    --series-1:#2a78d6; --series-1-soft:#cde2fb; --series-2:#eb6834; --good-ink:#006300;
    --tint-pink:#FFE6F6; --tint-pink-2:#FFF0F9; --tint-amber:#FFF4E0; --tint-red:#FDEEF1; --tint-green:#EAF7EF; --tint-grey:#EEF0F3; --tint-grey-2:#D5D8DE;
    --pink-ink:#B3148A; --amber-ink:#8a4b00; --red-ink:#B0173A; --green-ink:#1f7a45;
    --skel-a:#EEF0F3; --skel-b:#F8F9FA;
    color-scheme:light;
  }
  @media (prefers-color-scheme: dark){
    :root:not([data-theme="light"]){
      --ground:#0b0b0b; --panel:#141414; --sunken:#1b1b1b;
      --ink:#ffffff; --ink-2:#C6C6C6; --ink-3:#A8A8A8;
      --line:#2b2b2b; --line-2:#3a3a3a;
      --grey-10:#1b1b1b; --grey-20:#2b2b2b; --grey-30:#3a3a3a; --grey-60:#A8A8A8; --grey-70:#C6C6C6;
      --series-1:#3987e5; --series-1-soft:#184f95; --series-2:#d95926; --good-ink:#0ca30c;
      --tint-pink:#3a1230; --tint-pink-2:#26101f; --tint-amber:#33260f; --tint-red:#3a141c; --tint-green:#10301d; --tint-grey:#222428; --tint-grey-2:#34373d;
      --pink-ink:#FF8AD8; --amber-ink:#F5C06A; --red-ink:#FF8FA6; --green-ink:#5FD68F; --skel-a:#1d1f22; --skel-b:#2a2d31;
      --magenta-light:#3a1230; --magenta-dark:#FFB3E8; --grey-40:#5a5a5a; --grey-50:#8f8f8f; --black:#ffffff; --white:#141414;
      color-scheme:dark;
    }
  }
  :root[data-theme="dark"]{
    --ground:#0b0b0b; --panel:#141414; --sunken:#1b1b1b;
    --ink:#ffffff; --ink-2:#C6C6C6; --ink-3:#A8A8A8;
    --line:#2b2b2b; --line-2:#3a3a3a;
    --grey-10:#1b1b1b; --grey-20:#2b2b2b; --grey-30:#3a3a3a; --grey-60:#A8A8A8; --grey-70:#C6C6C6;
    --series-1:#3987e5; --series-1-soft:#184f95; --series-2:#d95926; --good-ink:#0ca30c;
    --tint-pink:#3a1230; --tint-pink-2:#26101f; --tint-amber:#33260f; --tint-red:#3a141c; --tint-green:#10301d; --tint-grey:#222428; --tint-grey-2:#34373d;
    --pink-ink:#FF8AD8; --amber-ink:#F5C06A; --red-ink:#FF8FA6; --green-ink:#5FD68F; --skel-a:#1d1f22; --skel-b:#2a2d31;
    --magenta-light:#3a1230; --magenta-dark:#FFB3E8; --grey-40:#5a5a5a; --grey-50:#8f8f8f; --black:#ffffff; --white:#141414;
    color-scheme:dark;
  }

  *{box-sizing:border-box}
  body{background:var(--ground);color:var(--ink);font-family:var(--font);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}
  h1,h2,h3{margin:0;letter-spacing:-.01em;text-wrap:balance}
  [hidden]{display:none!important}
  button{font-family:inherit;cursor:pointer}
  input,select,textarea{font-family:var(--font);color:var(--ink)}
  :focus-visible{outline:2px solid var(--magenta);outline-offset:2px}
  ::selection{background:var(--magenta);color:#fff}
  .mono{font-family:var(--mono);font-variant-numeric:tabular-nums}
  .num{font-variant-numeric:tabular-nums}
  code{font-family:var(--mono);font-size:12px;background:var(--sunken);border:1px solid var(--line);padding:1px 5px;border-radius:4px}

  .grad-line{height:3px;width:100%;background:var(--brand-gradient-flow);background-size:300% 100%;animation:gradFlow 7s linear infinite}
  @keyframes gradFlow{to{background-position:300% 0}}
  .eyebrow{display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.22em;text-transform:uppercase;color:var(--grey-60);font-weight:400}
  .eyebrow::before{content:"";width:28px;height:3px;border-radius:100px;background:var(--brand-gradient);flex-shrink:0}
  .logo-svg{height:19px;width:auto;display:block}
  .logo-svg path{fill:var(--ink)}

  .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:100px;height:40px;padding:0 20px;font-size:14.5px;line-height:1;font-weight:400;white-space:nowrap;border:1px solid transparent;transition:background .2s,border-color .2s}
  .btn-primary{background:var(--ink);color:var(--ground)}
  .btn-primary:hover{background:var(--grey-70)}
  .btn-primary:disabled{background:var(--grey-30);color:var(--grey-60);cursor:wait}
  .btn-secondary{background:transparent;color:var(--ink);border:1px solid var(--grey-40)}
  .btn-secondary:hover{background:var(--sunken)}
  .btn-sm{height:40px;padding:0 20px;font-size:14.5px}   /* same size as .btn — one button size across the app */
  .btn-primary{border-color:var(--ink)}

  /* ================= LOGIN ================= */
  #screen-login{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:32px 16px}
  .login-card{width:100%;max-width:420px;background:var(--panel);border:1px solid var(--line);border-radius:8px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.08)}
  .login-card .grad-line{height:3px}
  .login-body{padding:34px 30px 28px}
  .login-body .logo-svg{height:22px;margin-bottom:26px}
  .login-body h1{font-size:26px;font-weight:600;margin-bottom:6px}
  .login-body p{color:var(--grey-70);font-size:14px;margin:0 0 24px}
  .sso{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;background:var(--panel);border:1px solid var(--grey-30);border-radius:100px;padding:12px 18px;font-size:15px;color:var(--ink)}
  .sso:hover{background:var(--sunken)}
  .sso .gmark{width:17px;height:17px;flex:none}
  .divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:var(--grey-50);font-size:12px;letter-spacing:.14em;text-transform:uppercase}
  .divider::before,.divider::after{content:"";height:1px;background:var(--line);flex:1}
  /* login form */
  #pw-form .field,#fp-form .field,#rs-form .field{margin-bottom:12px}
  #pw-form .field label,#fp-form .field label,#rs-form .field label{font-size:11px}
  /* forgotten password and the new-password-from-a-link card */
  .login-body p.login-forgot{margin:-4px 0 14px;font-size:12.5px;text-align:right}
  .login-body p.login-step{margin-bottom:16px}
  .login-body p.login-back{margin:16px 0 0;font-size:13px;display:flex;gap:18px;flex-wrap:wrap}
  .login-body .linkish{font-size:inherit}
  .login-ok{background:var(--tint-green);border:1px solid var(--green-ink);color:var(--green-ink);border-radius:6px;padding:9px 12px;font-size:13px;margin-bottom:12px;line-height:1.45}
  .login-err{background:var(--magenta-light);border:1px solid var(--magenta);color:var(--pink-ink);border-radius:6px;padding:9px 12px;font-size:13px;margin-bottom:12px}
  @media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .login-err{background:#430560;color:#ffd9f2}}
  :root[data-theme="dark"] .login-err{background:#430560;color:#ffd9f2}
  .login-foot{font-size:12.5px;color:var(--grey-60);margin-top:16px!important;line-height:1.45}
  /* while signing in, the button keeps its pink hover colour rather than going grey */
  .login-body .btn-primary:disabled{background:var(--magenta);border-color:var(--magenta);color:#fff;opacity:1;cursor:wait}


  /* password field with a reveal control */
  .pw-wrap{position:relative;display:block}
  .pw-wrap input{padding-right:46px!important}
  .pw-eye{position:absolute;top:50%;right:6px;transform:translateY(-50%);background:none;border:0;padding:7px;
    line-height:0;border-radius:100px;color:var(--grey-60)}
  .pw-eye:hover{color:var(--ink);background:var(--sunken)}
  .pw-eye svg{width:18px;height:18px;display:block}

  /* ================= APP CHROME ================= */
  .av{position:relative;overflow:hidden;width:26px;height:26px;border-radius:50%;display:inline-grid;place-items:center;vertical-align:middle;font-size:11px;font-weight:600;line-height:1;color:#fff;flex:none}
  .av.sm{width:20px;height:20px;font-size:9px}
  .av.lg{width:40px;height:40px;font-size:14px}
  .av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}

  main{max-width:var(--page-w);margin:0 auto;padding:32px 20px 80px}
  .sec-head{margin-bottom:26px}
  .sec-head h2{font-size:clamp(26px,3vw,36px);font-weight:600;margin-top:13px}
  .sec-head p{color:var(--grey-70);margin-top:11px;max-width:640px;font-size:15.5px}
  .row-head{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:18px}
  .row-head .spacer{margin-left:auto}

  .panel{background:var(--panel);border:1px solid var(--line);border-radius:8px}
  .panel-pad{padding:18px 20px}
  .panel h3{font-size:15px;font-weight:500}
  .p-note{font-size:13px;color:var(--grey-60);margin-top:3px}
  .console{background:var(--sunken);border:1px solid var(--line);border-radius:8px;overflow:hidden}
  .console-tag{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 20px;border-bottom:1px solid var(--line);background:var(--panel);flex-wrap:wrap}
  .console-tag .t{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--grey-60)}
  .console-tag .s{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--magenta);font-weight:500}

  .field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px}
  .field label{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--grey-60)}
  .field .help{font-size:13px;color:var(--grey-60);margin-top:-3px}
  .field input[type=text],.field input[type=number],.field input[type=password],.field input[type=email],.field select,.field textarea{background:var(--panel);border:1px solid var(--grey-30);padding:11px 13px;font-size:14.5px;border-radius:6px;width:100%}
  .field textarea{resize:vertical;min-height:96px;line-height:1.5}
  .field input:focus,.field select:focus,.field textarea:focus{border-color:var(--magenta);outline:none}

  @media (max-width:1000px){
  }
  @media (max-width:600px){ main{padding:24px 16px 64px} }

  /* ================= BRAND BACKGROUND (sign-in) ================= */
  .brand-bg{position:fixed;inset:0;z-index:0;overflow:hidden;background:var(--panel);pointer-events:none}
  .brand-bg[hidden]{display:none}
  .bb-frame{position:absolute;left:50%;top:50%;width:1920px;height:1080px;transform:translate(-50%,-50%) scale(var(--bb-s,1));transform-origin:center}
  .bb-blob{position:absolute;display:flex;align-items:center;justify-content:center}
  .bb-blob .bb-rot{flex:none;transform:rotate(-23.69deg);position:relative}
  .bb-blob img{position:absolute;inset:0;display:block;max-width:none}
  .bb-blue{left:907px;top:643.97px;width:1170.885px;height:1037.183px}
  .bb-orange{left:1536.49px;top:312px;width:932.693px;height:932.693px}
  .bb-pink{left:1536px;top:750px;width:530.413px;height:530.413px}
  .bb-blur{position:absolute;inset:0;backdrop-filter:blur(225.882px);-webkit-backdrop-filter:blur(225.882px);background:rgba(255,255,255,.01)}
  .bb-veil{position:absolute;inset:0;background:rgba(255,255,255,.01)}
  #screen-login,#screen-password{position:relative;z-index:1}
  #screen-login{background:transparent}
  .login-card{box-shadow:0 24px 70px rgba(20,20,40,.12)}
  /* Phones and tablets: the live blur above (a 1920px layer under a 226px
     backdrop blur) is too heavy for iPhone and iPad browsers - the page
     stalled and taps on the sign-in fields didn't take. They get the same
     background as a flat picture instead. */
  @media (hover:none),(pointer:coarse){
    .bb-frame{display:none}
    .brand-bg{background:#fff url(../images/login/bg-soft.jpg) center/cover no-repeat}
  }
  @media (hover:none) and (orientation:portrait),(pointer:coarse) and (orientation:portrait){
    .brand-bg{background-image:url(../images/login/bg-soft-tall.jpg)}
  }
  @media (hover:none) and (prefers-color-scheme:dark),(pointer:coarse) and (prefers-color-scheme:dark){
    :root:not([data-theme="light"]) .brand-bg{background-color:var(--panel);background-image:url(../images/login/bg-soft-dark.jpg)}
  }
  @media (hover:none) and (prefers-color-scheme:dark) and (orientation:portrait),(pointer:coarse) and (prefers-color-scheme:dark) and (orientation:portrait){
    :root:not([data-theme="light"]) .brand-bg{background-image:url(../images/login/bg-soft-tall-dark.jpg)}
  }
  @media (hover:none),(pointer:coarse){
    :root[data-theme="dark"] .brand-bg{background-color:var(--panel);background-image:url(../images/login/bg-soft-dark.jpg)}
  }

/* The colour fields drift slowly; blurred once, moved on the GPU. */
.bb-blur{display:none}
.bb-blob{filter:blur(226px);will-change:transform}
.bb-blue{animation:bbBlue 22s ease-in-out infinite alternate}
.bb-orange{animation:bbOrange 26s ease-in-out infinite alternate}
.bb-pink{animation:bbPink 18s ease-in-out infinite alternate}
@keyframes bbBlue{0%{transform:translate(0,0) rotate(0deg) scale(1)}50%{transform:translate(-140px,-90px) rotate(8deg) scale(1.08)}100%{transform:translate(-60px,-170px) rotate(-6deg) scale(.96)}}
@keyframes bbOrange{0%{transform:translate(0,0) rotate(0deg) scale(1)}50%{transform:translate(-180px,120px) rotate(-10deg) scale(1.1)}100%{transform:translate(-90px,-60px) rotate(6deg) scale(.94)}}
@keyframes bbPink{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-220px,-140px) scale(1.18)}100%{transform:translate(-120px,40px) scale(.9)}}
@media (prefers-reduced-motion:reduce){ .bb-blob{animation:none!important} }

/* Start-up: a quiet loader instead of flashing the sign-in screen */
.boot-splash{position:fixed;inset:0;z-index:5;display:flex;align-items:center;justify-content:center;gap:10px;pointer-events:none}
.bs-dot{width:10px;height:10px;border-radius:50%;background:var(--magenta);animation:bsPulse 1s ease-in-out infinite}
.bs-dot:nth-child(2){animation-delay:.15s;background:#a06ee6}
.bs-dot:nth-child(3){animation-delay:.3s;background:#2DE1FD}
@keyframes bsPulse{0%,100%{transform:scale(.6);opacity:.4}50%{transform:scale(1);opacity:1}}

/* ═════════════════════ PART 2 - the dashboard ═════════════════════ */
#screen-password{min-height:100vh;min-height:100dvh;display:grid;place-items:center;padding:32px 16px}
.btn-wide{width:100%}
.btn:disabled{opacity:.6;cursor:wait}
.linkish{color:var(--ink);text-decoration:underline;text-decoration-color:var(--magenta);text-underline-offset:3px;cursor:pointer}
.form-err{background:var(--tint-red);color:var(--red-ink);border-radius:6px;padding:9px 12px;font-size:13px;margin-top:10px}
.icon-btn{display:grid;place-items:center;width:36px;height:36px;border-radius:100px;border:0;background:none;color:var(--ink-2)}
.icon-btn:hover{background:var(--sunken);color:var(--ink)}
.icon-btn svg{width:20px;height:20px}
.banner{max-width:var(--page-w);margin:12px auto 0;padding:10px 16px;border-radius:8px;background:var(--tint-amber);color:var(--amber-ink);font-size:14px;width:calc(100% - 40px)}
.banner button{margin-left:10px}
.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:90;background:var(--ink);color:var(--ground);padding:10px 18px;border-radius:100px;font-size:14px;box-shadow:0 10px 30px rgba(0,0,0,.2);max-width:calc(100% - 32px)}
.row-head{margin:44px 0 16px}

/* ── hero and search ─────────────────────────────────────────────────────── */
.hero{max-width:860px;margin:18px auto 0;text-align:center}
.hero .eyebrow{justify-content:center}
.hero h1{font-size:clamp(30px,4.4vw,48px);font-weight:600;margin:14px 0 26px}
.search{position:relative;display:flex;align-items:center;gap:10px;background:var(--panel);border-radius:100px;padding:8px 8px 8px 22px;
  box-shadow:0 18px 50px -18px rgba(20,20,40,.25);isolation:isolate}
.search::before{content:"";position:absolute;inset:-2px;border-radius:inherit;background:var(--brand-gradient-flow);background-size:300% 100%;z-index:-2;animation:gradFlow 7s linear infinite;opacity:.55;transition:opacity .25s}
.search::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--panel);z-index:-1}
.search:focus-within::before{opacity:1}
.search-ic{width:22px;height:22px;color:var(--grey-60);flex:none}
.search input{flex:1;min-width:0;border:0;background:none;font-size:18px;padding:12px 4px;outline:none}
.search input::-webkit-search-cancel-button{display:none}
.search .btn{height:48px;padding:0 26px;font-size:15.5px}
.search-hint{font-size:13px;color:var(--grey-60);margin-top:14px}
.chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}
.chip{border:1px solid var(--line-2);background:var(--panel);color:var(--ink-2);border-radius:100px;padding:7px 14px;font-size:13.5px}
.chip:hover{border-color:var(--magenta);color:var(--ink)}

/* ── an answer ───────────────────────────────────────────────────────────── */
.answer{text-align:left;margin-top:26px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:20px 22px;box-shadow:0 12px 40px -20px rgba(20,20,40,.25);animation:rise .35s ease both}
.answer-head{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60);margin-bottom:10px}
.spark{width:14px;height:14px;border-radius:50%;background:var(--brand-gradient);background-size:200% 100%;flex:none}
.answer.busy .spark{animation:spin 1.2s linear infinite;background:conic-gradient(var(--aqua),var(--magenta),var(--orange),var(--aqua))}
.answer-foot{margin-top:16px;display:flex;gap:10px;flex-wrap:wrap}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* answer text (markdown) */
.md{font-size:15.5px;line-height:1.62;color:var(--ink);overflow-wrap:anywhere}
.md p{margin:0 0 .75em}
.md p:last-child{margin-bottom:0}
.md ul,.md ol{margin:0 0 .75em 1.3em}
.md li{margin:.2em 0}
.md h3,.md h4{font-size:16px;font-weight:600;margin:.9em 0 .4em}
.md a{color:inherit;text-decoration:underline;text-decoration-color:var(--magenta);text-underline-offset:3px}
.md code{font-size:13px}
.md .cursor{display:inline-block;width:8px;height:1.05em;vertical-align:-.15em;margin-left:2px;border-radius:2px;background:var(--magenta);animation:blink 1s steps(2,start) infinite}
@keyframes blink{to{visibility:hidden}}
.cite{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin:0 1px;border-radius:100px;background:var(--tint-pink);color:var(--pink-ink)!important;font-size:11px;font-weight:600;text-decoration:none!important;vertical-align:.15em;line-height:1}
.cite:hover{background:var(--magenta);color:#fff!important}
.cites{display:flex;flex-direction:column;gap:6px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.cites .lab{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60);margin-bottom:2px}
.src-link{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--ink);text-decoration:none;padding:6px 8px;border-radius:6px;min-width:0}
.src-link:hover{background:var(--sunken)}
.src-link .n{flex:none}
.src-link .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.src-link .h{color:var(--grey-60);font-size:12px;white-space:nowrap;flex:none}

/* ── shortcuts ───────────────────────────────────────────────────────────── */
.shortcuts{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px}
.shortcut{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;background:var(--panel);border:1px solid var(--line);border-radius:10px;color:inherit;text-decoration:none;transition:transform .18s ease,box-shadow .18s ease,border-color .18s}
.shortcut:hover{transform:translateY(-2px);box-shadow:0 14px 30px -18px rgba(20,20,40,.35);border-color:var(--line-2)}
.sc-mark{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#fff;font-weight:700;font-size:17px;flex:none;letter-spacing:-.02em}
.sc-t{display:flex;flex-direction:column;min-width:0}
.sc-t b{font-weight:500;font-size:15.5px}
.sc-t span{font-size:13px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.shortcut .arr{margin-left:auto;color:var(--grey-50);transition:transform .18s}
.shortcut:hover .arr{transform:translate(2px,-2px);color:var(--ink)}

/* ── information panels ──────────────────────────────────────────────────── */
.panels{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.ipanel{background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}
.ipanel .strip{height:3px;background:var(--brand-gradient)}
.ipanel .in{padding:18px 20px 20px;display:flex;flex-direction:column;gap:10px;flex:1}
.ipanel h3{font-size:17px;font-weight:600}
.ipanel .md{font-size:14.5px;color:var(--ink-2)}
.ipanel .foot{margin-top:auto;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;color:var(--grey-60)}
.ipanel .foot a{color:var(--ink);font-size:14px}
.empty{border:1.5px dashed var(--line-2);border-radius:10px;padding:26px;text-align:center;color:var(--grey-60);font-size:14.5px}

/* ── sources ─────────────────────────────────────────────────────────────── */
#src-admin{display:grid;gap:12px;margin-bottom:26px}
.inline-form{display:grid;grid-template-columns:2fr 1.2fr 2fr auto;gap:10px;align-items:end;margin-top:12px}
.inline-form .field{margin:0}
@media (max-width:900px){ .inline-form{grid-template-columns:1fr} }
.drop{transition:border-color .2s,background .2s}
.drop.over{border-color:var(--magenta);background:var(--tint-pink-2)}
.uploads{list-style:none;margin-top:10px;display:grid;gap:6px}
.uploads li{font-size:13.5px;display:flex;gap:10px;align-items:center}
.uploads .st{margin-left:auto;color:var(--grey-60)}
.uploads .bad{color:var(--red-ink)}
.src-list{display:grid;gap:8px}
.src-row{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 16px}
.src-kind{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--sunken);color:var(--ink-2)}
.src-kind svg{width:20px;height:20px}
.src-main{min-width:0}
.src-main b{font-weight:500;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.src-main .meta{font-size:12.5px;color:var(--grey-60);display:flex;gap:10px;flex-wrap:wrap;margin-top:2px}
.src-main .msg{font-size:12.5px;margin-top:4px;color:var(--ink-2)}
.src-main .msg.err{color:var(--red-ink)}
.src-acts{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.src-acts .btn{height:34px;padding:0 14px;font-size:13px}
.pill{display:inline-flex;align-items:center;gap:6px;font-size:11px;letter-spacing:.08em;text-transform:uppercase;border-radius:100px;padding:2px 9px;background:var(--tint-grey);color:var(--ink-2)}
.pill.ready{background:var(--tint-green);color:var(--green-ink)}
.pill.error{background:var(--tint-red);color:var(--red-ink)}
.pill.indexing,.pill.pending{background:var(--tint-amber);color:var(--amber-ink)}
.pill.indexing::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;animation:bsPulse 1s ease-in-out infinite}
.pill.lock{background:var(--tint-pink);color:var(--pink-ink)}
@media (max-width:700px){ .src-row{grid-template-columns:auto 1fr} .src-acts{grid-column:1/-1;justify-content:flex-start} }
.login-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0;border-top:1px solid var(--line)}
.login-row:first-child{border-top:0}
.login-row .res{font-size:13px;color:var(--ink-2);flex-basis:100%}

/* Sources page: the Replicate console's purple Explore header, then the
   admin tools as three cards, then the list. */
.pick-hero{position:relative;margin-bottom:22px;padding:34px 36px 30px;border-radius:20px;color:#fff;overflow:hidden;isolation:isolate;
  background:linear-gradient(120deg,#1b1330 0%,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%);box-shadow:0 20px 50px -24px rgba(74,29,94,.75)}
.ex-hero > :not(.ex-bg){position:relative;z-index:1}
.ex-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.exb{position:absolute;display:block;border-radius:50%;will-change:transform}
.exb-blue{width:900px;height:800px;right:-160px;bottom:-460px;background:radial-gradient(closest-side,rgba(45,190,230,.30),rgba(45,190,230,0));animation:bbBlue 28s ease-in-out infinite alternate}
.exb-orange{width:760px;height:760px;right:-260px;top:-300px;background:radial-gradient(closest-side,rgba(255,150,70,.22),rgba(255,150,70,0));animation:bbOrange 34s ease-in-out infinite alternate}
.exb-pink{width:620px;height:620px;right:18%;top:-200px;background:radial-gradient(closest-side,rgba(232,80,170,.20),rgba(232,80,170,0));animation:bbPink 30s ease-in-out infinite alternate}
@media (prefers-reduced-motion:reduce){ .exb{animation:none} }
.ex-hero .sec-head{margin:0 0 22px}
.ex-hero .sec-head h2{color:#fff}
.ex-hero .sec-head p{color:rgba(255,255,255,.85)}
.ex-hero .eyebrow{color:rgba(255,255,255,.8)}
.ex-hero .searchbar{display:flex;align-items:center;gap:10px;height:56px;padding:4px 8px 4px 18px;border:1px solid rgba(255,255,255,.35);border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 30px -12px rgba(0,0,0,.35)}
.ex-hero .searchbar:focus-within{border-color:#fff;box-shadow:0 0 0 4px rgba(252,49,187,.35)}
.ex-hero .searchbar input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:#111}
.ex-hero .searchbar input::placeholder{color:#6F6F6F}
.src-hero .sec-head{max-width:640px}
.src-stats{position:absolute !important;top:34px;right:36px;display:flex;gap:10px}
.src-stat{min-width:104px;padding:12px 16px;border-radius:14px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.src-stat b{display:block;font-size:26px;font-weight:600;line-height:1.1;color:#fff}
.src-stat span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.75)}
.src-stat.live b::after{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:#2DE1FD;margin-left:8px;vertical-align:middle;animation:bsPulse 1s ease-in-out infinite}
.src-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.src-chips .chip{height:36px;padding:0 16px;font-size:13.5px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;cursor:pointer;transition:background .15s,border-color .15s}
.src-chips .chip:hover{background:rgba(255,255,255,.22);border-color:rgba(255,255,255,.45)}
.src-chips .chip[aria-pressed="true"]{background:#fff;border-color:#fff;color:#1b1330;font-weight:500}
@media (max-width:1240px){ .src-stats{position:relative !important;top:auto;right:auto;margin:-6px 0 20px;flex-wrap:wrap} }
@media (max-width:720px){
  .pick-hero{padding:24px 18px 20px;border-radius:16px}
  .ex-hero .searchbar{height:50px}
  .src-stat{min-width:0;flex:1 1 30%;padding:10px 12px}
  .src-stat b{font-size:21px}
  .src-stat span{font-size:10.5px}
  .exb-blue{width:520px;height:480px;right:-200px;bottom:-300px} .exb-orange{width:420px;height:420px;right:-200px;top:-200px} .exb-pink{width:340px;height:340px;right:10%;top:-160px}
}

.src-tools:not([hidden]){display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:14px;margin-bottom:26px;align-items:stretch}
.src-tools #logins-panel[hidden]{display:none}
.src-tool{border-radius:14px;display:flex;flex-direction:column;min-width:0}
.tool-head{display:flex;gap:12px;align-items:flex-start;margin-bottom:14px}
.tool-head h3{margin:0}
.tool-ic{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:none;color:#fff}
.tool-ic svg{width:20px;height:20px}
.tool-ic-site{background:linear-gradient(135deg,#4a1d5e,#c1287f)}
.tool-ic-file{background:linear-gradient(135deg,#c1287f,#ff7a00)}
.tool-ic-lock{background:linear-gradient(135deg,#4a1d5e,#6A2BD9)}
.stack-form .field{margin-bottom:12px}
.field-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.stack-form .btn{margin-top:2px}
.drop-zone{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;min-height:150px;padding:20px;
  border:1.5px dashed var(--line-2);border-radius:12px;background:var(--sunken);cursor:pointer;transition:border-color .2s,background .2s}
.drop-zone:hover,.drop.over .drop-zone{border-color:var(--magenta);background:var(--tint-pink-2)}
.drop-zone b{font-weight:500;font-size:15px}
.drop-zone span{font-size:13.5px;color:var(--ink-2)}
.drop-zone small{font-size:12px;color:var(--grey-60);margin-top:6px}
.drop.over{background:var(--panel)}
@media (max-width:1100px){ .src-tools:not([hidden]){grid-template-columns:1fr 1fr} .src-tools > :first-child{grid-column:1/-1} }
@media (max-width:720px){ .src-tools:not([hidden]){grid-template-columns:1fr} .field-pair{grid-template-columns:1fr} }

.resultbar{display:flex;align-items:center;gap:12px;margin:0 2px 12px;font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60)}
.resultbar .spacer{flex:1}
.src-list .src-row{border-radius:14px;padding:16px 18px;transition:border-color .15s,box-shadow .15s}
.src-list .src-row:hover{border-color:var(--line-2);box-shadow:0 8px 24px -16px rgba(27,19,48,.35)}
.src-row .src-kind{width:44px;height:44px;border-radius:12px;color:#fff}
.src-row.src-site .src-kind{background:linear-gradient(135deg,#4a1d5e,#c1287f)}
.src-row.src-file .src-kind{background:linear-gradient(135deg,#c1287f,#ff7a00)}
.src-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.src-title b{min-width:0;max-width:100%;font-size:15.5px}
.src-main .meta{margin-top:4px}
.src-main .meta span + span::before{content:"·";margin-right:10px;color:var(--grey-50)}
.src-main .msg{margin-top:8px;padding:8px 11px;border-radius:8px;background:var(--sunken)}
.src-main .msg.err{background:var(--tint-red)}
@media (max-width:700px){ .src-list .src-row{align-items:start} .src-row .src-kind{width:38px;height:38px} .src-main .meta span + span::before{content:none} }

/* ── admin ───────────────────────────────────────────────────────────────── */
.subtabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:18px;overflow-x:auto}
.subtabs button,.subtabs a{background:none;border:0;border-bottom:2px solid transparent;padding:10px 14px;font-size:14px;color:var(--ink-2);white-space:nowrap}
.subtabs button[aria-selected="true"],.subtabs a[aria-selected="true"]{border-bottom-color:var(--magenta);color:var(--ink);font-weight:500}
.edit-list{display:grid;gap:10px}
.edit-card{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:16px 18px}
.edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px}
.edit-grid .full{grid-column:1/-1}
.edit-grid .field{margin:0}
@media (max-width:700px){ .edit-grid{grid-template-columns:1fr} }
.edit-acts{display:flex;gap:8px;align-items:center;margin-top:12px;flex-wrap:wrap}
.edit-acts .spacer{margin-left:auto}
.edit-acts .btn{height:36px;padding:0 16px;font-size:13.5px}
.field input[type=color]{width:52px;height:40px;border:1px solid var(--grey-30);border-radius:6px;background:var(--panel);padding:3px}
.stat-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.stat{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 18px;min-width:170px}
.stat .k{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60)}
.stat .v{font-size:26px;font-weight:600;margin-top:4px;font-variant-numeric:tabular-nums}
table.tbl{width:100%;border-collapse:collapse;background:var(--panel);border:1px solid var(--line);border-radius:10px;overflow:hidden;font-size:14px}
.tbl th,.tbl td{text-align:left;padding:10px 14px;border-bottom:1px solid var(--line)}
.tbl th{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--grey-60);font-weight:400}
.tbl td.n{text-align:right;font-variant-numeric:tabular-nums}
.tbl tr:last-child td{border-bottom:0}
.checklist{display:grid;gap:8px}
.checklist li{list-style:none;font-size:14px;display:flex;gap:10px}

/* ── the chat drawer ─────────────────────────────────────────────────────── */
.chat-fab{position:fixed;right:22px;bottom:22px;z-index:70;display:flex;align-items:center;gap:10px;height:58px;padding:0 22px 0 18px;border:0;border-radius:100px;color:#fff;
  background:linear-gradient(135deg,#6A2BD9 0%,#9B2BB8 55%,#D6308F 100%);box-shadow:0 14px 34px -10px rgba(106,43,217,.65),0 2px 6px rgba(0,0,0,.18);transition:transform .2s ease,box-shadow .2s ease}
.chat-fab:hover{transform:translateY(-2px);box-shadow:0 18px 40px -10px rgba(106,43,217,.8)}
.chat-fab svg{width:24px;height:24px;flex:none}
.chat-fab .cf-t{font-size:15px;font-weight:500}
.chat-fab .cf-ring{position:absolute;inset:0;border-radius:inherit;box-shadow:0 0 0 0 rgba(214,48,143,.55);animation:ring 2.6s ease-out infinite;pointer-events:none}
@keyframes ring{0%{box-shadow:0 0 0 0 rgba(214,48,143,.5)}70%,100%{box-shadow:0 0 0 16px rgba(214,48,143,0)}}
.chat-fab[aria-expanded="true"]{transform:scale(.85);opacity:0;pointer-events:none}
@media (max-width:600px){ .chat-fab .cf-t{display:none} .chat-fab{padding:0;width:58px;justify-content:center;right:14px;bottom:14px} }
.chat-scrim{position:fixed;inset:0;z-index:79;background:rgba(10,10,20,.25);animation:fade .25s ease both}
@keyframes fade{from{opacity:0}}
.chat{position:fixed;top:0;right:0;bottom:0;z-index:80;width:min(460px,100vw);display:flex;flex-direction:column;background:var(--ground);border-left:1px solid var(--line);
  box-shadow:-24px 0 60px -20px rgba(20,20,40,.3);transform:translateX(105%);transition:transform .38s cubic-bezier(.2,.8,.2,1);visibility:hidden}
.chat.open{transform:none;visibility:visible}
.chat-hd{display:flex;align-items:center;gap:6px;padding:12px 12px 12px 10px}
.chat-title{flex:1;min-width:0;display:flex;flex-direction:column;padding-left:4px}
.chat-title b{font-weight:600;font-size:15.5px}
.chat-title span{font-size:12px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-history{border-bottom:1px solid var(--line);max-height:45%;overflow:auto;padding:8px;animation:rise .2s ease both}
.chat-history .h-item{display:flex;align-items:center;gap:6px;border-radius:8px}
.chat-history .h-item:hover{background:var(--sunken)}
.chat-history .h-open{flex:1;min-width:0;text-align:left;background:none;border:0;padding:9px 10px;font-size:14px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-history .h-open small{display:block;font-size:11.5px;color:var(--grey-60)}
.chat-history .icon-btn{width:30px;height:30px}
.chat-focus{display:flex;align-items:center;gap:10px;margin:10px 14px 0;padding:8px 12px;border-radius:8px;background:var(--tint-pink-2);border:1px solid var(--tint-pink);font-size:13px}
.chat-focus b{font-weight:500;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chat-log{flex:1;overflow-y:auto;padding:18px 14px 8px;display:flex;flex-direction:column;gap:14px;scroll-behavior:smooth}
.msg{display:flex;gap:10px;max-width:100%;animation:bubbleIn .32s cubic-bezier(.2,.8,.2,1) both}
@keyframes bubbleIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.msg.user{justify-content:flex-end}
.bubble{border-radius:16px;padding:11px 14px;max-width:86%;font-size:14.5px;line-height:1.55}
.msg.user .bubble{background:var(--ink);color:var(--ground);border-bottom-right-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere}
.msg.bot .bubble{background:var(--panel);border:1px solid var(--line);border-bottom-left-radius:5px}
.msg.bot .bubble .md{font-size:14.5px}
.msg.bot .bot-av{width:30px;height:30px;border-radius:50%;flex:none;background:conic-gradient(from 200deg,var(--aqua),var(--magenta),var(--orange),var(--aqua));display:grid;place-items:center;margin-top:2px}
.msg.bot .bot-av::after{content:"";width:12px;height:12px;border-radius:50%;background:var(--ground)}
.msg.bot.busy .bot-av{animation:spin 2s linear infinite}
.msg .cites{margin-top:10px;padding-top:10px}
.msg .err{color:var(--red-ink)}
.typing{display:inline-flex;gap:5px;padding:4px 2px}
.typing i{width:7px;height:7px;border-radius:50%;background:var(--grey-50);animation:typing 1.2s ease-in-out infinite}
.typing i:nth-child(2){animation-delay:.15s}
.typing i:nth-child(3){animation-delay:.3s}
@keyframes typing{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-5px);opacity:1}}
.status-line{font-size:12px;color:var(--grey-60);margin-top:6px;display:flex;align-items:center;gap:6px}
.chat-welcome{margin:auto 0;text-align:center;color:var(--ink-2);padding:20px 10px;animation:rise .4s ease both}
.chat-welcome h3{font-size:20px;font-weight:600;color:var(--ink);margin-bottom:6px}
.chat-welcome .chips{margin-top:16px}
.chat-in{display:flex;align-items:flex-end;gap:8px;margin:8px 12px 14px;padding:6px 6px 6px 16px;border:1px solid var(--line-2);border-radius:22px;background:var(--panel);transition:border-color .2s,box-shadow .2s}
.chat-in:focus-within{border-color:var(--magenta);box-shadow:0 0 0 4px color-mix(in srgb,var(--magenta) 15%,transparent)}
.chat-in textarea{flex:1;border:0;background:none;resize:none;outline:none;font-size:15px;line-height:1.45;padding:8px 0;max-height:160px}
.send{width:40px;height:40px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--ink);color:var(--ground);flex:none;transition:transform .15s}
.send:hover{transform:scale(1.06)}
.send:disabled{background:var(--grey-30);cursor:wait;transform:none}
.send svg{width:18px;height:18px}
@media (prefers-reduced-motion:reduce){
  .msg,.answer,.chat-welcome,.chat-history{animation:none}
  .chat{transition:none}
  .chat-fab .cf-ring,.search::before,.grad-line{animation:none}
}
.answer .err{color:var(--red-ink)}
.edit-acts .toggle{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink-2)}
.edit-acts .toggle input{accent-color:var(--magenta);width:16px;height:16px}
a.btn{text-decoration:none}
main{padding-bottom:120px}                     /* room for the chat button */

/* ── organisation chart ──────────────────────────────────────────────────── */
.org-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.org-edit{font-size:13.5px}
.org{--org-line:var(--line-2);position:relative;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:28px 16px 30px;overflow-x:auto;overflow-y:hidden;
  background-image:radial-gradient(circle at 1px 1px,color-mix(in srgb,var(--ink) 9%,transparent) 1px,transparent 0);background-size:22px 22px}
.org-fit{position:relative}
.org-tree{width:max-content;transform-origin:top left;margin:0;padding:0}
.org-tree,.org-tree ul{list-style:none;margin:0;padding:0}
.org-tree li{position:relative;list-style:none}
.org:not(.play) .org-tree{visibility:hidden}

/* a person */
.org-card{position:relative;z-index:1;display:flex;align-items:center;gap:10px;width:212px;padding:11px 12px 10px;border-radius:12px;border:1px solid var(--line);background:var(--panel);
  color:inherit;font:inherit;text-align:left;cursor:pointer;box-shadow:0 8px 22px -16px rgba(20,20,40,.45);transition:transform .2s ease,box-shadow .2s ease,border-color .2s}
.org-card::before{content:"";position:absolute;left:10px;right:10px;top:-1px;height:3px;border-radius:0 0 4px 4px;background:var(--team,var(--grey-50))}
.org-card:hover,.org-card:focus-visible{transform:translateY(-3px);border-color:var(--team);box-shadow:0 16px 32px -16px color-mix(in srgb,var(--team) 70%,transparent)}
.org-card .av{flex:none}
.oc-t{display:flex;flex-direction:column;min-width:0}
.oc-t b{font-size:14px;font-weight:600;line-height:1.25}
.oc-t span{font-size:12px;color:var(--grey-60);line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.oc-n{position:absolute;top:-9px;right:-9px;min-width:22px;height:22px;padding:0 6px;border-radius:100px;background:var(--ink);color:var(--ground);font-size:11px;font-weight:600;display:grid;place-items:center}
.org-card.company{cursor:default;width:auto;padding:12px 20px;border:0;isolation:isolate;background:transparent;box-shadow:0 14px 34px -18px rgba(106,43,217,.6)}
.org-card.company::before{inset:-2px;left:-2px;right:-2px;top:-2px;height:auto;border-radius:14px;background:var(--brand-gradient-flow);background-size:300% 100%;animation:gradFlow 7s linear infinite;z-index:-2}
.org-card.company::after{content:"";position:absolute;inset:0;border-radius:12px;background:var(--panel);z-index:-1}
.org-card.company:hover{transform:none}
.org-card.company .oc-t b{font-size:16px}
.oc-spark{width:26px;height:26px;border-radius:50%;background:conic-gradient(from 200deg,var(--aqua),var(--magenta),var(--orange),var(--aqua));animation:spin 6s linear infinite;flex:none;position:relative}
.oc-spark::after{content:"";position:absolute;inset:7px;border-radius:50%;background:var(--panel)}
.av.xl{width:64px;height:64px;font-size:20px}

/* fold a team away */
.oc-fold{position:relative;z-index:2;width:22px;height:22px;margin:-11px auto 0;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line-2);background:var(--panel);color:var(--ink-2);font-size:14px;line-height:1;padding:0}
.oc-fold:hover{border-color:var(--magenta);color:var(--ink)}
.org-tree li.shut > ul{display:none}

/* it draws itself in */
.org.play .org-card{animation:orgIn .55s cubic-bezier(.2,.8,.2,1) calc(var(--d) + .12s) both}
.org.play .oc-fold{animation:fade .3s ease calc(var(--d) + .4s) both}
@keyframes orgIn{from{opacity:0;transform:translateY(14px) scale(.94)}to{opacity:1;transform:none}}
@keyframes lineX{from{transform:scaleX(0)}}
@keyframes lineY{from{transform:scaleY(0)}}

/* wide screens: top-down chart */
@media (min-width:760px){
  .org-tree,.org-tree ul{display:flex;justify-content:center}
  .org-tree ul{position:relative;padding-top:30px}
  .org-tree li{display:flex;flex-direction:column;align-items:center;padding:30px 9px 0}
  .org-tree > li{padding-top:0}
  /* the line across the top of each row of siblings, and the drop into each card */
  .org-tree li::before,.org-tree li::after{content:"";position:absolute;top:0;right:50%;width:50%;height:30px;border-top:2px solid var(--org-line)}
  .org-tree li::after{right:auto;left:50%;border-left:2px solid var(--org-line)}
  .org-tree li::before{transform-origin:right}
  .org-tree li::after{transform-origin:left}
  .org-tree li:only-child::before{display:none}
  .org-tree li:only-child::after{border-top:0}
  .org-tree li:first-child::before,.org-tree li:last-child::after{border:0}
  .org-tree li:last-child::before{border-right:2px solid var(--org-line);border-radius:0 10px 0 0}
  .org-tree li:first-child::after{border-radius:10px 0 0 0}
  .org-tree li:only-child::after{border:0;border-left:2px solid var(--org-line);border-radius:0}
  .org-tree > li::before,.org-tree > li::after{display:none}
  /* the line down from a manager */
  .org-tree ul::before{content:"";position:absolute;top:0;left:50%;height:30px;border-left:2px solid var(--org-line);transform-origin:top}
  /* a column of people with no reports: one spine behind the cards */
  .org-tree ul.stack{flex-direction:column;align-items:center;gap:10px}
  .org-tree ul.stack::before{height:auto;bottom:24px}
  .org-tree ul.stack > li{padding:0}
  .org-tree ul.stack > li::before,.org-tree ul.stack > li::after{display:none}
  .org.play .org-tree li::before,.org.play .org-tree li::after{animation:lineX .45s ease var(--d) both}
  .org.play .org-tree ul::before{animation:lineY .35s ease calc(var(--d) + .3s) both}
}

/* phones: the same tree as an indented list */
@media (max-width:759px){
  .org{padding:18px 12px 20px}
  .org-tree{width:auto}
  .org-tree ul{padding-left:26px;position:relative}
  .org-tree li{padding-top:10px}
  .org-tree > li{padding-top:0}
  .org-card{width:100%}
  .org-card.company{width:100%}
  .oc-fold{margin:-11px 0 0 0}
  /* a line down the left of each team, and a tick across to each card */
  .org-tree ul > li::after{content:"";position:absolute;left:-15px;top:0;bottom:0;border-left:2px solid var(--org-line);transform-origin:top}
  .org-tree ul > li:last-child::after{bottom:auto;height:42px}
  .org-tree ul > li::before{content:"";position:absolute;left:-15px;top:41px;width:15px;border-top:2px solid var(--org-line);transform-origin:left}
  .org.play .org-tree ul > li::after{animation:lineY .35s ease var(--d) both}
  .org.play .org-tree ul > li::before{animation:lineX .25s ease calc(var(--d) + .2s) both}
}

/* a person, opened */
.org-scrim{position:fixed;inset:0;z-index:84;background:rgba(10,10,20,.35);animation:fade .2s ease both}
.org-pop{position:fixed;z-index:85;left:50%;top:50%;width:min(420px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;transform:translate(-50%,-50%);
  background:var(--panel);border-radius:16px;padding:22px;box-shadow:0 30px 80px -20px rgba(20,20,40,.5);border-top:4px solid var(--team)}
.org-pop.in{animation:popIn .32s cubic-bezier(.2,.8,.2,1) both}
@keyframes popIn{from{opacity:0;transform:translate(-50%,-46%) scale(.96)}to{opacity:1;transform:translate(-50%,-50%)}}
.op-close{position:absolute;top:10px;right:10px}
.op-head{display:flex;gap:16px;align-items:center;margin-bottom:16px;padding-right:30px}
.op-head h3{font-size:20px;font-weight:600}
.op-head p{color:var(--ink-2);font-size:14px;margin-top:2px}
.op-team{display:inline-block;margin-top:8px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;padding:2px 9px;border-radius:100px;background:color-mix(in srgb,var(--team) 18%,transparent);color:var(--ink)}
.op-row{display:flex;flex-direction:column;gap:8px;padding:12px 0;border-top:1px solid var(--line)}
.op-row .lab{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60)}
.op-chips{display:flex;flex-wrap:wrap;gap:6px}
.org-chip{display:inline-flex;align-items:center;gap:7px;padding:4px 12px 4px 4px;border-radius:100px;border:1px solid var(--line-2);background:var(--panel);color:var(--ink);font-size:13px;align-self:flex-start}
.org-chip:hover{border-color:var(--magenta)}
.op-acts{display:flex;gap:8px;flex-wrap:wrap;padding-top:14px;border-top:1px solid var(--line)}
@media (prefers-reduced-motion:reduce){
  .org.play .org-card,.org.play .oc-fold,.org.play .org-tree li::before,.org.play .org-tree li::after,.org.play .org-tree ul::before,.org-pop.in,.oc-spark,.org-card.company::before{animation:none}
}


/* ── forms ───────────────────────────────────────────────────────────────── */
.forms{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:10px}
.form-link{display:flex;align-items:center;gap:14px;padding:13px 16px;background:var(--panel);border:1px solid var(--line);border-radius:10px;color:inherit;text-decoration:none;transition:transform .18s ease,border-color .18s,box-shadow .18s}
.form-link:hover{transform:translateY(-2px);border-color:var(--magenta);box-shadow:0 14px 30px -18px rgba(214,48,143,.45)}
.fl-ic{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;flex:none;background:var(--tint-pink-2);color:var(--pink-ink)}
.form-link:hover .fl-ic{background:var(--magenta);color:#fff}
.form-link .arr{margin-left:auto;color:var(--grey-50);transition:transform .18s}
.form-link:hover .arr{transform:translate(2px,-2px);color:var(--ink)}
.sub-h{font-size:17px;font-weight:600;margin-bottom:6px}

/* ── your team ───────────────────────────────────────────────────────────── */
.myteam{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px}
.tcard{position:relative;background:var(--panel);border:1px solid var(--line);border-radius:14px;overflow:hidden;animation:rise .5s cubic-bezier(.2,.8,.2,1) calc(var(--i,0) * .08s) both}
.tcard .strip{height:4px;background:linear-gradient(90deg,var(--team),color-mix(in srgb,var(--team) 30%,transparent))}
.tcard .in{padding:18px 20px 20px;display:flex;flex-direction:column;gap:16px;
  background:radial-gradient(120% 90% at 100% 0%,color-mix(in srgb,var(--team) 12%,transparent),transparent 60%)}
.t-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.t-head h3{font-size:24px;font-weight:600;margin-top:2px}
.t-k{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60)}
.t-count{font-size:12px;color:var(--ink-2);border:1px solid var(--line-2);border-radius:100px;padding:3px 10px;white-space:nowrap}
.t-lead{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.t-person{display:flex;align-items:center;gap:14px;background:none;border:0;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer;min-width:0}
.t-person .av.xl{box-shadow:0 0 0 3px var(--panel),0 0 0 5px var(--team)}
.t-person b{display:block;font-size:17px;font-weight:600;margin-top:2px}
.t-person .t-title{display:block;font-size:13.5px;color:var(--ink-2)}
.t-person:hover b{text-decoration:underline;text-decoration-color:var(--team);text-underline-offset:3px}
.t-msg{margin-left:auto}
.t-members{display:flex;flex-wrap:wrap;gap:6px;padding-top:14px;border-top:1px solid var(--line)}
.t-mem{position:relative;background:none;border:0;padding:0;cursor:pointer;border-radius:50%;transition:transform .15s}
.t-mem .av{width:34px;height:34px;font-size:12px;box-shadow:0 0 0 2px var(--panel)}
.t-mem:hover{transform:translateY(-2px) scale(1.06)}
.t-mem i{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);font-style:normal;font-size:9px;font-weight:600;background:var(--ink);color:var(--ground);border-radius:100px;padding:0 5px;line-height:14px}
@media (max-width:600px){ .myteam{grid-template-columns:1fr} .t-msg{margin-left:0} }

/* ── induction ───────────────────────────────────────────────────────────────
   The step cards, callouts and footnote are the Replicate console's "How it
   works" rules, unchanged; the ticks, progress bar and banner are added. */
.callout{background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--magenta);border-radius:0 6px 6px 0;padding:13px 16px;font-size:13.5px;color:var(--ink-2);margin-top:12px}
.callout b{color:var(--ink);font-weight:500}
.callout.aqua{border-left-color:var(--aqua)}
.callout.orange{border-left-color:var(--orange)}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.step{background:var(--panel);border:1px solid var(--line);border-radius:8px;padding:16px 17px}
.step .s-n,.edit-card > .s-n{font-family:var(--mono);font-size:12px;color:var(--magenta);font-weight:500}
.step h3{font-size:15px;font-weight:500;margin:5px 0 7px}
.step p{margin:0;font-size:13.5px;color:var(--ink-2)}
.foot{margin-top:28px;font-size:12.5px;color:var(--grey-60);border-top:1px solid var(--line);padding-top:14px}

#ind-steps{margin-bottom:6px}
#ind-steps .step{position:relative;display:flex;flex-direction:column;transition:border-color .2s,background .2s;animation:rise .45s cubic-bezier(.2,.8,.2,1) calc(var(--i,0) * .05s) both}
#ind-steps .step .md{font-size:13.5px;color:var(--ink-2);line-height:1.55}
#ind-steps .step .md ul{margin-left:1.1em}
.s-top{display:flex;align-items:center;justify-content:space-between}
.s-check{width:26px;height:26px;border-radius:50%;border:1.5px solid var(--line-2);background:var(--panel);color:transparent;display:grid;place-items:center;padding:0;transition:background .2s,border-color .2s,color .2s,transform .15s}
.s-check svg{width:15px;height:15px}
.s-check:hover{border-color:var(--magenta);color:var(--magenta)}
.step.done{border-color:color-mix(in srgb,var(--magenta) 45%,var(--line));background:linear-gradient(180deg,var(--tint-pink-2),var(--panel) 60%)}
.step.done .s-check{background:var(--brand-gradient);border-color:transparent;color:#fff;animation:tick .35s cubic-bezier(.2,.8,.2,1)}
@keyframes tick{0%{transform:scale(.6)}60%{transform:scale(1.15)}100%{transform:scale(1)}}
.s-link{margin-top:auto;padding-top:12px;font-size:13.5px;color:var(--ink);text-decoration:none;font-weight:500}
.s-link span{display:inline-block;transition:transform .18s}
.s-link:hover{color:var(--magenta)}
.s-link:hover span{transform:translateX(3px)}
.ind-progress{margin:-6px 0 18px}
.ip-t{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:8px}
.ip-t b{font-weight:500;font-size:15px}
.ip-t span{font-size:13px;color:var(--grey-60)}
.ip-bar,.ib-bar{height:6px;border-radius:100px;background:var(--sunken);overflow:hidden}
.ip-bar i,.ib-bar i{display:block;height:100%;border-radius:inherit;background:var(--brand-gradient);transition:width .5s cubic-bezier(.2,.8,.2,1)}

/* the home-page banner */
.ind-banner{display:grid;grid-template-columns:auto 1fr 160px auto auto;align-items:center;gap:16px;max-width:860px;margin:26px auto 0;padding:14px 18px;background:var(--panel);border:1px solid var(--line);border-left:3px solid var(--magenta);border-radius:0 10px 10px 0;animation:rise .4s ease both}
.ib-ic{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--tint-pink-2);color:var(--pink-ink)}
.ib-t{display:flex;flex-direction:column;min-width:0}
.ib-t b{font-weight:500}
.ib-t span{font-size:13px;color:var(--grey-60)}
.ib-hide{background:none;border:0;font-size:13px;color:var(--grey-60)}
@media (max-width:760px){ .ind-banner{grid-template-columns:auto 1fr;margin-top:18px}
  .ib-bar{grid-column:1/-1} .ind-banner .btn{grid-column:1/2} }
.ind-build{margin-bottom:14px}
.ind-build h3{margin-bottom:4px}
.ind-build-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.ind-build-row select{flex:1;min-width:220px;border:1px solid var(--grey-30);border-radius:6px;padding:10px 12px;background:var(--panel);font-size:14.5px}

/* ═════════════════════ HEADER - identical to the Replicate console ═════════════════════
   Copied rule for rule from ce-replicate's styles.css (header, menu, the
   Administration drop-down, the signed-in badge, and the phone menu), in the
   same order, so the two sites' headers look and behave the same. If
   Replicate's header changes, copy its rules here again. */
.mega{position:absolute;left:0;top:calc(100% + 8px);z-index:40;background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px rgba(0,0,0,.14);padding:14px;max-width:calc(100vw - 32px);overflow:auto}
.mega[hidden]{display:none!important}
.btn-primary{border-color:var(--ink)}
.btn-primary:hover:not(:disabled),.btn-primary:focus-visible:not(:disabled){background:var(--magenta);border-color:var(--magenta);color:#fff}
.btn .btn-ico{flex:none;margin-left:-3px}
header.app{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:rgba(255,255,255,.94);background:color-mix(in srgb,var(--ground) 94%,transparent);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.hd-in{display:flex;align-items:center;gap:18px;height:57px;padding:0 20px;max-width:var(--page-w);margin:0 auto}
.hd-mark{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}
.hd-mark span{font-size:13px;color:var(--grey-50);border-left:1px solid var(--grey-30);padding-left:14px;white-space:nowrap}
nav.hd-nav{display:flex;height:57px;margin-left:8px;overflow-x:auto;flex:1 1 auto;min-width:0}
nav.hd-nav button{display:flex;align-items:center;background:none;border:0;border-bottom:2px solid transparent;color:var(--ink);font-size:14px;padding:0 15px;white-space:nowrap}
nav.hd-nav button:hover{border-bottom-color:var(--magenta)}
nav.hd-nav button[aria-current="page"]{border-bottom-color:var(--magenta);font-weight:500}
.hd-right{margin-left:auto;display:flex;align-items:center;gap:10px;flex:0 0 auto}
#hd-signout{white-space:nowrap}
.who{display:flex;align-items:center;gap:8px;font-size:13.5px}
.rolepill{font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--grey-60);border:1px solid var(--line);border-radius:100px;padding:2px 8px}
@media (max-width:1000px){
  .hd-in{flex-wrap:wrap;height:auto;padding:10px 16px;gap:10px}
  nav.hd-nav{order:3;width:100%;height:44px;margin-left:0}
  nav.hd-nav button{padding:0 12px}
}
#hd-signout,#pick-signout{white-space:nowrap}
.mega-grid{display:grid;grid-template-rows:repeat(4,auto);grid-auto-flow:column;grid-auto-columns:minmax(210px,1fr);gap:6px}
.mega-item{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:10px;border:1px solid transparent;background:transparent;text-align:left;cursor:pointer;font:inherit;color:inherit;width:100%}
.mega-item:hover{background:var(--sunken)}
.mega-item[aria-pressed="true"]{border-color:var(--magenta);background:var(--sunken)}
.mega-img{width:52px;height:52px;border-radius:9px;overflow:hidden;flex:none;background:var(--sunken);display:grid;place-items:center}
.mega-img img,.mega-img svg{width:100%;height:100%;object-fit:cover;display:block}
.mega-t{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.mega-t b{font-weight:500;font-size:14.5px}
.mega-t span{font-size:12.5px;color:var(--grey-60)}
@media (max-width:720px){
  .mega-grid{grid-template-rows:none;grid-auto-flow:row;grid-template-columns:1fr 1fr}
}
nav.hd-nav .nav-more{display:flex;align-items:center;gap:6px;background:none;border:0;border-bottom:2px solid transparent;color:var(--ink);font-size:14px;padding:0 15px;white-space:nowrap;font-family:inherit}
nav.hd-nav .nav-more:hover{border-bottom-color:var(--magenta)}
nav.hd-nav .nav-more[aria-current="page"]{border-bottom-color:var(--magenta);font-weight:500}
nav.hd-nav .nav-more .caret{font-size:10px;transition:transform .2s}
nav.hd-nav .nav-more[aria-expanded="true"] .caret{transform:rotate(180deg)}
.nav-mega{position:absolute;top:100%;margin-top:4px}
.hd-right .who .rolepill{display:inline-flex;align-items:center;height:40px;padding:0 16px;font-size:12px;border-radius:100px;border:1px solid var(--grey-40);color:var(--ink)}
#hd-signout,#pick-signout{background:var(--magenta);border-color:var(--magenta);color:#fff}
#hd-signout:hover,#pick-signout:hover{background:#e0169f;border-color:#e0169f}
nav.hd-nav{justify-content:center}
nav.hd-nav button,nav.hd-nav .nav-more{gap:8px}
nav.hd-nav .ico{flex:none;opacity:.8}
nav.hd-nav button[aria-current="page"] .ico{opacity:1;color:var(--magenta)}
.nav-mega{position:absolute;left:0;right:0;top:100%;margin:0;border-radius:0 0 16px 16px;border-top:0;padding:0; background:linear-gradient(135deg,var(--panel) 0%,var(--tint-pink-2) 45%,var(--sunken) 100%);box-shadow:0 24px 50px rgba(20,20,40,.14)}
.nav-mega-in{max-width:var(--page-w);margin:0 auto;padding:22px 20px 26px}
.nav-mega .mega-grid{grid-template-rows:repeat(4,auto);grid-auto-flow:column;grid-auto-columns:minmax(240px,340px);justify-content:center;gap:8px 16px}
.mega-ico{width:52px;height:52px;border-radius:12px;display:grid;place-items:center;flex:none;background:var(--panel);border:1px solid var(--line);color:var(--ink)}
.mega-item:hover .mega-ico,.mega-item[aria-pressed="true"] .mega-ico{border-color:var(--magenta);color:var(--magenta)}
.mega-item{padding:10px 12px}
@media (max-width:720px){
  .nav-mega .mega-grid{grid-template-rows:none;grid-auto-flow:row;grid-template-columns:1fr}
  nav.hd-nav .nl{display:none}
}
#hd-signout,#pick-signout,#back-models{background:var(--ink);border-color:var(--ink);color:var(--ground)}
#hd-signout:hover,#pick-signout:hover,#back-models:hover, #hd-signout:focus-visible,#pick-signout:focus-visible,#back-models:focus-visible{background:var(--magenta);border-color:var(--magenta);color:#fff}
.nav-mega{background:var(--panel)}
.nav-mega-in{padding:28px 20px 32px}
.nav-mega .mega-grid{grid-template-rows:none;grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,360px));grid-auto-columns:unset;justify-content:start;gap:12px 20px}
.nav-mega .mega-item{font-family:var(--font);padding:14px 16px;border-radius:14px;gap:16px;align-items:center}
.nav-mega .mega-item:hover{background:var(--grey-10,#f5f5f5)}
.nav-mega .mega-ico{width:60px;height:60px;border-radius:14px}
.nav-mega .mega-ico svg{width:28px;height:28px}
.nav-mega .mega-t b{font-family:var(--font);font-size:17px;font-weight:500;letter-spacing:-.005em;color:var(--ink)}
.nav-mega .mega-t span{font-family:var(--font);font-size:14.5px;color:var(--grey-60);margin-top:2px}
@media (max-width:1000px){
  .nav-mega .mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:640px){
  .nav-mega .mega-grid{grid-template-columns:1fr}
}
#nav .ico,.nav-more .ico{flex:none;min-width:18px}
#nav > button{white-space:nowrap}
nav.hd-nav{justify-content:flex-start}
nav.hd-nav > :first-child{margin-left:auto}
nav.hd-nav > :last-child{margin-right:auto}
nav.hd-nav button,nav.hd-nav .nav-more{padding:0 12px}
@media (max-width:1380px){
  .hd-mark span{display:none}
}
@media (max-width:1240px){
  nav.hd-nav button,nav.hd-nav .nav-more{padding:0 9px;font-size:13.5px}
  #who .rolepill{display:none}
}
#who .who-n{display:none}
@media (max-width:1320px){
  #who .rolepill{display:none}
}
.hd-mark span{display:none}
@media (max-width:1180px){
  nav.hd-nav button .ico,nav.hd-nav .nav-more .ico{display:none}
}
nav.hd-nav button[aria-current="page"],nav.hd-nav .nav-more[aria-current="page"]{color:var(--magenta)}
nav.hd-nav .nav-more[aria-current="page"] .ico{color:var(--magenta);opacity:1}
.hd-burger{display:none;position:relative;margin-left:auto;flex:none;width:44px;height:44px;border:0;border-radius:10px;background:none;color:var(--ink);cursor:pointer;padding:0;-webkit-tap-highlight-color:transparent}
.hd-burger:hover,.hd-burger[aria-expanded="true"]{background:var(--sunken)}
.hd-burger span{position:absolute;right:11px;height:2px;border-radius:2px;background:currentColor;transform-origin:center;transition:top .2s ease .15s,transform .2s ease,width .25s ease,right .25s ease,opacity .15s ease .1s}
.hd-burger span:nth-child(1){top:15px;width:22px}
.hd-burger span:nth-child(2){top:21px;width:13px}
.hd-burger span:nth-child(3){top:27px;width:17px}
.hd-burger:hover span{width:22px}
.hd-burger[aria-expanded="true"] span{top:21px;width:22px;transition:top .2s ease,transform .2s ease .15s,width .2s ease,opacity .1s ease}
.hd-burger[aria-expanded="true"] span:nth-child(1){transform:rotate(45deg)}
.hd-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.hd-burger[aria-expanded="true"] span:nth-child(3){transform:rotate(-45deg)}
@media (prefers-reduced-motion:reduce){
  .hd-burger span{transition:none!important}
}
.mnav{position:fixed;left:0;right:0;top:calc(57px + env(safe-area-inset-top,0px));bottom:0;z-index:60;background:rgba(0,0,0,.35)}
.mnav-in{background:var(--panel,#fff);max-height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:8px 16px calc(20px + env(safe-area-inset-bottom,0px));border-bottom:1px solid var(--line);box-shadow:0 20px 40px rgba(0,0,0,.18)}
.mnav-who{display:flex;align-items:center;gap:12px;padding:12px 4px 14px;border-bottom:1px solid var(--line);margin-bottom:6px;min-width:0}
.mnav-user{display:flex;flex-direction:column;min-width:0}
.mnav-user b{font-weight:500;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mnav-user span{font-size:13px;color:var(--grey-60)}
.mnav-item{display:flex;align-items:center;gap:14px;width:100%;min-height:48px;padding:0 10px;border:0;border-radius:10px;background:none;color:var(--ink);font:inherit;font-size:16px;text-align:left;cursor:pointer}
.mnav-item:hover,.mnav-item:active{background:var(--sunken)}
.mnav-item .ico{flex:none;opacity:.75}
.mnav-item[aria-current="page"]{font-weight:500;background:var(--sunken)}
.mnav-item[aria-current="page"] .ico{opacity:1;color:var(--magenta)}
.mnav-h{margin:14px 10px 4px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60)}
.mnav-out{width:100%;margin-top:16px;height:46px}
body.mnav-open{overflow:hidden}
@media (max-width:1000px){
  .hd-in{flex-wrap:nowrap;height:57px;padding:0 16px;gap:12px}
  nav.hd-nav,.hd-right,.nav-mega{display:none!important}
  .hd-burger{display:flex}
}
#who.who-badge{display:inline-flex;align-items:center;gap:10px;padding:0 4px 0 0;cursor:default;user-select:none}
.who-av{display:inline-grid;place-items:center;padding:2px;border-radius:50%;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.who-av .av{width:34px;height:34px;border:2px solid #fff;box-sizing:content-box}
.who-t{display:flex;flex-direction:column;line-height:1.15;min-width:0}
#who .who-t .who-n{display:block;font-size:13.5px;font-weight:500;color:var(--ink);max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}
.who-r{font-size:10px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;background:linear-gradient(90deg,#1FB8D6,#FC31BB 55%,#FF7A00);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.hd-mark{cursor:pointer}
@media (max-width:900px){
  .who-t{display:none}
}
nav.hd-nav button:hover,nav.hd-nav .nav-more:hover,nav.hd-nav button:focus-visible{border-bottom-color:var(--magenta)}
body.mnav-open .chat-fab{display:none}
.ind-src{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.ind-src > b{font-weight:500;font-size:14px}
.ind-src .ind-build-row{margin-top:8px}
.ind-under{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--ink-2);margin-top:10px}
.ind-under input{accent-color:var(--magenta);width:16px;height:16px}
#ind-build-msg{margin-top:12px}
#ind-steps.ref .s-check{display:none}
.ind-who{margin:14px 0}
.ind-who h3{margin-bottom:4px}
.ind-who input[type=date]{border:1px solid var(--grey-30);border-radius:6px;padding:4px 8px;background:var(--panel);color:var(--ink);font:inherit;font-size:13px}
.ind-tbl{margin-top:12px}
.ind-tbl td{vertical-align:middle}
.ind-tbl .btn{height:34px;padding:0 14px;font-size:13px}
.ind-mini{display:flex;align-items:center;gap:10px;min-width:180px}
.ind-mini .ip-bar{flex:1}
.ind-mini span:last-child{font-size:12.5px;color:var(--ink-2);white-space:nowrap}
button.linkish{background:none;border:0;padding:0;font:inherit;color:var(--ink)}

/* ── induction: tasks inside a step ──────────────────────────────────────── */
.s-tasks{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.s-task{font-size:11px;letter-spacing:.06em;text-transform:uppercase;border-radius:100px;padding:3px 9px;background:var(--tint-grey);color:var(--ink-2)}
.s-task.ok{background:var(--tint-green);color:var(--green-ink)}
.s-foot{margin-top:auto;padding-top:14px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.s-foot .s-link{margin:0;padding:0}
.s-foot .btn{height:36px;padding:0 16px;font-size:13.5px}
.s-auto{cursor:default}
.s-auto[data-on]{background:var(--brand-gradient);border-color:transparent;color:#fff}
.ind-sheet{position:fixed;z-index:85;left:50%;top:50%;transform:translate(-50%,-50%);width:min(720px,calc(100vw - 32px));max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;
  background:var(--panel);border-radius:16px;padding:26px 28px 30px;box-shadow:0 30px 80px -20px rgba(20,20,40,.5);border-top:4px solid var(--magenta)}
.ind-sheet.in{animation:popIn .32s cubic-bezier(.2,.8,.2,1) both}
.ind-sheet > .s-n{font-family:var(--mono);font-size:12px;color:var(--magenta);font-weight:500}
.ind-sheet h2{font-size:24px;font-weight:600;margin:4px 40px 10px 0}
.ind-sheet .md{font-size:15px;color:var(--ink-2)}
.sh-sec{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.sh-h{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60);margin-bottom:12px;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.sh-h span{letter-spacing:0;text-transform:none;font-size:13px;color:var(--ink-2)}
.sh-video{width:100%;aspect-ratio:16/9;border-radius:10px;overflow:hidden;background:#000;display:block}
.sh-video iframe{width:100%;height:100%;border:0;display:block}
.sh-ok{background:var(--tint-green);color:var(--green-ink);border-radius:8px;padding:10px 14px;font-size:14px}
.sh-warn{background:var(--tint-amber);color:var(--amber-ink);border-radius:8px;padding:10px 14px;font-size:14px;margin-bottom:12px}
.sh-agree{margin:0 0 14px;padding:14px 16px;border-left:3px solid var(--magenta);background:var(--sunken);border-radius:0 8px 8px 0;font-size:15px}
.sh-form .toggle{display:flex;align-items:center;gap:9px;font-size:14.5px;margin-bottom:12px}
.sh-form .toggle input,.qz-o input{accent-color:var(--magenta);width:17px;height:17px}
.sh-files{list-style:none;display:grid;gap:6px;margin-bottom:12px}
.sh-files li{font-size:14px}
.sh-files span{color:var(--grey-60);font-size:12.5px;margin-left:6px}
.sh-up{cursor:pointer}
.sh-up + .p-note{margin-top:8px}
.quiz{display:grid;gap:12px}
.qz{border:1px solid var(--line);border-radius:10px;padding:12px 14px 10px;transition:border-color .2s,background .2s}
.qz legend{padding:0 4px;font-size:14.5px}
.qz.wrong{border-color:var(--red-ink);background:var(--tint-red)}
.qz-o{display:flex;gap:10px;align-items:flex-start;padding:6px 4px;font-size:14.5px;cursor:pointer;border-radius:6px}
.qz-o:hover{background:var(--sunken)}
.quiz .btn{justify-self:start}
body.sheet-open{overflow:hidden}

/* the certificate */
.cert{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);margin-bottom:6px;animation:rise .5s ease both}
.cert-in{padding:34px 30px 30px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;
  background:radial-gradient(90% 120% at 50% 0%,var(--tint-pink-2),transparent 70%)}
.cert-in .logo-svg{height:22px;margin-bottom:12px}
.cert-in .eyebrow{justify-content:center}
.cert-in h3{font-size:clamp(28px,4vw,40px);font-weight:600;margin-top:6px}
.cert-in p{color:var(--ink-2);font-size:16px}
.cert-meta{display:flex;gap:28px;flex-wrap:wrap;justify-content:center;margin:10px 0 14px;font-size:14px}
.cert-meta b{display:block;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60);font-weight:400}
@media print{
  body.printing-cert *{visibility:hidden}
body.printing-cert #cert,body.printing-cert #cert *{visibility:visible}
body.printing-cert #cert{position:fixed;inset:0;border:0;display:flex;flex-direction:column;justify-content:center}
body.printing-cert .cert-print{display:none}
}

/* new starters, for their managers */
.ind-starters{margin-bottom:26px}
.starters{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:12px}
.starter{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.starter.ready{border-color:var(--magenta);box-shadow:0 12px 30px -20px rgba(214,48,143,.5)}
.st-head{display:flex;align-items:center;gap:10px}
.st-head .av{width:34px;height:34px}
.st-t{display:flex;flex-direction:column;min-width:0;flex:1}
.st-t b{font-weight:500}
.st-t span{font-size:12.5px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-recs{list-style:none;display:grid;gap:6px;font-size:13px;border-top:1px solid var(--line);padding-top:10px}
.st-recs li{display:flex;flex-wrap:wrap;gap:4px 10px}
.st-recs li b{font-weight:500;width:100%}
.st-recs span{color:var(--ink-2)}
.st-sign{display:flex;gap:8px}
.st-note{flex:1;min-width:0;border:1px solid var(--grey-30);border-radius:100px;padding:0 14px;height:40px;background:var(--panel);color:var(--ink);font-size:13.5px}
.st-recs a,.sh-files a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--magenta);text-underline-offset:3px}
@media print{
  body.printing-cert #cert,body.printing-cert #cert *{animation:none!important;opacity:1!important} }
.sc-mark.sc-brand{background:#fff;border:1px solid var(--line)}
.sc-mark.sc-brand img{width:26px;height:26px;object-fit:contain;display:block}
.setup-mail{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}

/* ── Office clocks (top of home) ─────────────────────────────────────────── */
.clocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 26px}
@media (max-width:1000px) and (min-width:721px){ .clocks{grid-template-columns:repeat(2,minmax(0,1fr))} }
.clock-time{white-space:nowrap}
.clock-ov{font-size:11.5px;color:var(--ink-2);margin-top:6px;padding-top:6px;border-top:1px dashed var(--line)}
.clock-ov.none{color:var(--grey-50)}
.clock[title]{cursor:help}
.clock{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:16px;background:var(--panel);border:1px solid var(--line);
  animation:bubbleIn .5s cubic-bezier(.2,.8,.2,1) both}
.clock:nth-child(2){animation-delay:.05s}.clock:nth-child(3){animation-delay:.1s}.clock:nth-child(4){animation-delay:.15s}.clock:nth-child(5){animation-delay:.2s}.clock:nth-child(6){animation-delay:.25s}
.clock-face{width:52px;height:52px;flex:none;border-radius:50%;background:var(--sunken)}
.clock-face circle:first-child{fill:none;stroke:var(--line-2);stroke-width:1}
.clock-face .tick{stroke:var(--grey-50);stroke-width:1;stroke-linecap:round}
.clock-face .hh{stroke:var(--ink);stroke-width:2.6;stroke-linecap:round}
.clock-face .mh{stroke:var(--ink);stroke-width:1.8;stroke-linecap:round}
.clock-face .sh{stroke:var(--magenta);stroke-width:.9;stroke-linecap:round}
.clock-face .pin{fill:var(--magenta)}
.clock.open .clock-face{background:linear-gradient(135deg,rgba(45,225,253,.18),rgba(252,49,187,.16))}
.clock-txt{min-width:0}
.clock-city{font-weight:500;font-size:14.5px;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.clock-city span{font-weight:400;font-size:12px;color:var(--grey-60)}
.clock-time{font-size:24px;font-weight:600;letter-spacing:-.01em;line-height:1.2;font-variant-numeric:tabular-nums}
.clock-meta{font-size:12px;color:var(--grey-60);display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.clock-meta .dot{width:7px;height:7px;border-radius:50%;background:var(--grey-50)}
.clock.open .clock-meta .dot{background:#1fbf75;box-shadow:0 0 0 3px rgba(31,191,117,.18)}
.clock-meta em{font-style:normal;margin-left:auto;padding-left:8px;color:var(--ink-2)}
@media (max-width:720px){
  .clocks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:18px}
  .clock{flex-direction:column;align-items:flex-start;gap:8px;padding:12px}
  .clock-face{width:38px;height:38px}
.clock-time{font-size:17px;white-space:nowrap}
.clock-city{font-size:13px}
.clock-city span,.clock-meta .st,.clock-ov{display:none}
.clock-meta{flex-wrap:nowrap}
.clock-meta em{margin-left:0;padding-left:0;white-space:nowrap;font-size:11.5px}
}

/* ── Read aloud ──────────────────────────────────────────────────────────── */
.say-wrap{display:inline-flex}
.say-wrap .btn{display:inline-flex;align-items:center;gap:7px}
.say-wrap .say-btn{border-top-right-radius:0;border-bottom-right-radius:0}
.say-wrap .say-opts{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:-1px;padding:0 12px}
.say-btn[aria-pressed="true"]{background:var(--tint-pink-2);border-color:var(--magenta);color:var(--magenta)}
.no-speech .say-wrap{display:none}
.bubble-acts{margin-top:10px}
.bubble-acts .btn{height:30px;font-size:12.5px;padding:0 11px}
.bubble-acts .say-opts{padding:0 9px}
.voice-pop{position:fixed;z-index:120;width:min(340px,calc(100vw - 24px));padding:16px 18px;border-radius:16px;background:var(--panel);border:1px solid var(--line);
  box-shadow:0 24px 60px -20px rgba(27,19,48,.45)}
.voice-pop[hidden]{display:none}
.vp-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.vp-x{background:none;border:0;font-size:22px;line-height:1;color:var(--grey-60);cursor:pointer}
.voice-pop .field{margin-bottom:12px}
.voice-pop select{width:100%}
.voice-pop label span{text-transform:none;letter-spacing:0;color:var(--ink-2);margin-left:4px}
.voice-pop input[type=range]{width:100%;accent-color:var(--magenta)}
.vp-auto{display:flex;align-items:center;gap:8px;font-size:13.5px;margin:4px 0 14px;cursor:pointer}
.vp-auto input{accent-color:var(--magenta)}
.vp-foot{display:flex;align-items:center;gap:12px}
.vp-foot .p-note{margin:0;font-size:12px}

/* ── People page: everyone as a panel, then the org chart ────────────────── */
.src-chips .chip .tdot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--team);margin-right:7px;box-shadow:0 0 0 2px rgba(255,255,255,.35)}
.src-chips .chip{display:inline-flex;align-items:center}
.people-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-bottom:40px}
.pcard{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:20px 18px 18px;border-radius:16px;background:var(--panel);border:1px solid var(--line);overflow:hidden;
  transition:border-color .18s,box-shadow .18s,transform .18s;animation:bubbleIn .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * 25ms)}
.pcard::before{content:"";position:absolute;inset:0 0 auto 0;height:64px;background:linear-gradient(180deg,color-mix(in srgb,var(--team) 16%,transparent),transparent);pointer-events:none}
.pcard::after{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:var(--team)}
.pcard:hover{border-color:var(--line-2);box-shadow:0 14px 34px -20px rgba(27,19,48,.4);transform:translateY(-2px)}
.pc-open{position:absolute;inset:0;z-index:0;background:none;border:0;cursor:pointer;border-radius:16px}
.pc-open:focus-visible{outline:2px solid var(--magenta);outline-offset:-2px}
.pcard > :not(.pc-open){position:relative;z-index:1;pointer-events:none}
.pcard .pc-mail,.pcard .pc-acts{pointer-events:auto}
.pc-top{display:flex;align-items:center;gap:10px;margin-bottom:12px;width:100%}
.pc-top .av{box-shadow:0 0 0 3px var(--panel),0 0 0 5px var(--team)}
.pc-you{margin-left:auto;font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:3px 9px;border-radius:100px;background:var(--ink);color:var(--ground)}
.pcard h3{font-size:16.5px;font-weight:600;margin:0}
.pc-title{font-size:13.5px;color:var(--grey-70);margin:2px 0 10px;min-height:1.4em}
.pc-teams{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.pc-rel{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:12.5px;color:var(--grey-60);margin-bottom:12px}
.pc-rel b{font-weight:500;color:var(--ink-2)}
.pc-mail{display:block;max-width:100%;font-size:13px;color:var(--ink-2);text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:auto;margin-bottom:10px}
.pc-mail:hover{color:var(--magenta);text-decoration:underline}
.pc-acts{display:flex;gap:6px;width:100%}
.pc-acts .btn{height:34px;font-size:13px;padding:0 13px;flex:1}
.pc-acts .pc-ic{flex:none;padding:0 11px;display:inline-flex;align-items:center}
#tab-people .resultbar .linkish{text-transform:none;letter-spacing:0;font-size:13.5px}
#tab-people .org-head{margin-top:8px}
@media (max-width:720px){ .people-grid{grid-template-columns:1fr 1fr;gap:10px} .pcard{padding:16px 13px 14px} .pc-acts .btn:not(.pc-ic){font-size:12px;padding:0 8px} .pc-mail{font-size:12px} }
@media (max-width:440px){ .people-grid{grid-template-columns:1fr} }
.pc-teams .op-team{margin-top:0}

/* ── Home: birthdays and on this day ─────────────────────────────────────── */
.clock-city{display:flex}
.clock-txt{flex:1}
.dayrow{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}
.day-col{display:flex;flex-direction:column;min-width:0}
.day-col > .panel{flex:1;border-radius:16px;overflow:hidden;position:relative}
.bday{padding:8px 18px 14px}
.bd-today{position:relative;margin:8px -18px 4px;padding:16px 18px;background:linear-gradient(120deg,#1b1330 0%,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%);color:#fff;overflow:hidden}
.bd-hero{position:relative;z-index:1;display:flex;align-items:center;gap:14px;padding:4px 0}
.bd-hero .av{box-shadow:0 0 0 3px rgba(255,255,255,.9)}
.bd-hero b{display:block;font-size:18px;margin:2px 0 8px}
.bd-hero .t-k{color:rgba(255,255,255,.8)}
.bd-wish{height:32px;font-size:12.5px;padding:0 12px;background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4);color:#fff}
.bd-wish:hover{background:rgba(255,255,255,.26)}
.confetti{position:absolute;inset:0;pointer-events:none}
.confetti i{position:absolute;top:-12px;width:7px;height:12px;border-radius:2px;opacity:.9;animation:confetti 3.6s linear infinite}
.confetti i:nth-child(3n){background:#2DE1FD}.confetti i:nth-child(3n+1){background:#FC31BB}.confetti i:nth-child(3n+2){background:#FFB000}
.confetti i:nth-child(1){left:4%;animation-delay:0s}.confetti i:nth-child(2){left:10%;animation-delay:1.4s}.confetti i:nth-child(3){left:16%;animation-delay:.6s}
.confetti i:nth-child(4){left:23%;animation-delay:2.2s}.confetti i:nth-child(5){left:29%;animation-delay:.9s}.confetti i:nth-child(6){left:35%;animation-delay:2.9s}
.confetti i:nth-child(7){left:42%;animation-delay:.3s}.confetti i:nth-child(8){left:48%;animation-delay:1.8s}.confetti i:nth-child(9){left:54%;animation-delay:1.1s}
.confetti i:nth-child(10){left:61%;animation-delay:2.5s}.confetti i:nth-child(11){left:67%;animation-delay:.2s}.confetti i:nth-child(12){left:73%;animation-delay:1.6s}
.confetti i:nth-child(13){left:79%;animation-delay:3.1s}.confetti i:nth-child(14){left:85%;animation-delay:.8s}.confetti i:nth-child(15){left:91%;animation-delay:2s}
.confetti i:nth-child(16){left:96%;animation-delay:1.3s}.confetti i:nth-child(17){left:57%;animation-delay:3.4s}
@keyframes confetti{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(220px) rotate(540deg);opacity:0}}
@media (prefers-reduced-motion:reduce){ .confetti{display:none} }
.bd-list{list-style:none;margin:0;padding:0}
.bd-list li{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid var(--line)}
.bd-list li:last-child{border-bottom:0}
.bd-p{display:flex;align-items:center;gap:11px;min-width:0;flex:1;background:none;border:0;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer}
.bd-p .av{width:38px;height:38px;font-size:13px}
.bd-p > span{min-width:0}
.bd-p b{display:block;font-weight:500;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bd-p > span > span{display:block;font-size:12.5px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bd-p:hover b{color:var(--magenta)}
.bd-when{text-align:right;flex:none}
.bd-when b{display:block;font-size:14px;font-weight:600}
.bd-when span{font-size:12px;color:var(--grey-60)}
.bd-empty{display:flex;align-items:center;gap:10px;padding:18px 0;color:var(--grey-60);font-size:14px}
.bd-empty svg{width:22px;height:22px;color:var(--magenta);flex:none}
.bd-mine{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:6px;padding-top:12px;border-top:1px dashed var(--line);font-size:13.5px;color:var(--ink-2)}
.bd-mine > span{display:inline-flex;align-items:center;gap:8px}
.bd-mine svg{color:var(--magenta)}
.bd-form{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.bd-form[hidden]{display:none}
.bd-form select{height:38px}
.bd-form .btn{height:38px}
.pc-bday{display:inline-flex;align-items:center;gap:5px;color:var(--magenta)}
.pc-bday svg{width:14px;height:14px}
.otd{padding:0}
.otd-in{padding:18px 20px 18px;display:flex;flex-direction:column;height:100%}
.otd.flip .otd-in{animation:bubbleIn .45s cubic-bezier(.2,.8,.2,1) both}
.otd-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.otd-year{font-size:38px;font-weight:700;letter-spacing:-.02em;line-height:1;background:linear-gradient(90deg,#4a1d5e,#c1287f 60%,#ff7a00);-webkit-background-clip:text;background-clip:text;color:transparent}
.otd-ago{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60)}
.otd-img{float:right;width:96px;height:96px;object-fit:cover;border-radius:12px;margin:0 0 8px 14px;background:var(--sunken)}
.otd-text{font-size:16.5px;line-height:1.5;margin:0 0 8px}
.otd-more{font-size:13.5px;color:var(--grey-70);line-height:1.5;margin:0 0 12px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.otd-acts{display:flex;align-items:center;gap:14px;margin-top:14px;clear:both;flex-wrap:wrap}
.otd-acts .btn{height:34px;font-size:13px}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .otd-year{background:linear-gradient(90deg,#c58ff0,#ff5fc8 60%,#ffa04d);-webkit-background-clip:text;background-clip:text} }
:root[data-theme="dark"] .otd-year{background:linear-gradient(90deg,#c58ff0,#ff5fc8 60%,#ffa04d);-webkit-background-clip:text;background-clip:text}
@media (max-width:820px){ .dayrow{grid-template-columns:1fr;gap:0}
  .otd-img{width:72px;height:72px} }

/* ── Administration → Claude usage ───────────────────────────────────────── */
.u-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.seg{display:inline-flex;border:1px solid var(--line-2);border-radius:100px;padding:3px;background:var(--panel)}
.seg button{border:0;background:none;color:var(--ink-2);font:inherit;font-size:13px;padding:6px 14px;border-radius:100px;cursor:pointer}
.seg button[aria-pressed="true"]{background:var(--ink);color:var(--ground)}
.u-stats .stat{flex:1 1 160px}
.u-panel{margin-bottom:22px;border-radius:14px}
.u-panel h3{margin:0 0 12px;font-size:15px;font-weight:500}
.u-chart{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:150px auto;column-gap:10px}
.u-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:11.5px;color:var(--grey-60);text-align:right;font-variant-numeric:tabular-nums}
.u-bars{display:flex;align-items:flex-end;gap:2px;border-bottom:1px solid var(--line-2);background:repeating-linear-gradient(to top,transparent 0 49px,var(--line) 49px 50px)}
.u-bar{flex:1;height:100%;display:flex;align-items:flex-end;cursor:default;min-width:0}
.u-bar i{display:block;width:100%;max-width:22px;margin:0 auto;border-radius:4px 4px 0 0;background:var(--magenta);transition:opacity .15s}
.u-bars:hover .u-bar i{opacity:.45}
.u-bars:hover .u-bar:hover i{opacity:1}
.u-x{grid-column:2;display:flex;justify-content:space-between;font-size:11.5px;color:var(--grey-60);margin-top:6px}
.u-tip{position:absolute;top:-6px;padding:5px 9px;border-radius:8px;background:var(--ink);color:var(--ground);font-size:12px;white-space:nowrap;pointer-events:none;z-index:2}
.tbl-wrap{overflow-x:auto;border-radius:10px}
#sub-usage .sub-h{margin:22px 0 10px}
#sub-usage .tbl{margin-bottom:6px}
.u-recent td{font-size:13px}
@media (max-width:720px){ #sub-usage .tbl th:nth-child(4),#sub-usage .tbl td:nth-child(4){display:none} .u-recent th:nth-child(5),.u-recent td:nth-child(5){display:none} }
#sub-usage .tbl th:nth-last-child(-n+3),#sub-usage .u-people th:not(:first-child){text-align:right}

/* ── Office clocks: a full-width band that slides across the screen ──────── */
html{overflow-x:clip}
.clock-band{position:relative;width:100vw;margin:-32px 0 28px calc(50% - 50vw);padding:18px 0;overflow:hidden;
  background:linear-gradient(120deg,#1b1330 0%,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.clock-track{display:flex;width:max-content;animation:clockSlide 70s linear infinite}
.clock-band:hover .clock-track,.clock-band:focus-within .clock-track{animation-play-state:paused}
@keyframes clockSlide{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.clock-set{display:flex;gap:12px;padding-right:12px}
.clock-band .clock{width:330px;flex:none;animation:none;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.clock-band .clock-city span,.clock-band .clock-meta,.clock-band .clock-ov{color:rgba(255,255,255,.75)}
.clock-band .clock-meta em{color:#fff}
.clock-band .clock-ov{border-top-color:rgba(255,255,255,.2)}
.clock-band .clock-ov.none{color:rgba(255,255,255,.55)}
.clock-band .clock-face{background:rgba(255,255,255,.92)}
.clock-band .clock.open .clock-face{background:#fff;box-shadow:0 0 0 3px rgba(45,225,253,.45)}
.clock-band .clock-face .hh,.clock-band .clock-face .mh{stroke:#1b1330}
.clock-band .clock-face .tick{stroke:#8D8D8D}
.clock-band .clock-meta .dot{background:rgba(255,255,255,.5)}
@media (prefers-reduced-motion:reduce){
  .clock-track{animation:none}
.clock-band{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
.clock-set[aria-hidden]{display:none}
.clock-set{padding-left:20px}
}
@media (max-width:720px){
  .clock-band{padding:12px 0}
.clock-track{animation-duration:50s}
.clock-band .clock{width:auto;min-width:0;flex-direction:row;align-items:center;gap:10px;padding:10px 14px}
.clock-band .clock-face{width:36px;height:36px}
.clock-band .clock-city span,.clock-band .clock-meta .st,.clock-band .clock-ov{display:none}
}
@media (max-width:600px){
  .clock-band{margin-top:-24px} }
/* Clock band: the city and country read first */
.clock-band .clock-city{font-size:17px;font-weight:600;letter-spacing:-.01em;align-items:baseline;gap:8px}
.clock-band .clock-city span{font-size:12.5px;font-weight:400}
.clock-band .clock{width:350px}
@media (max-width:720px){
  .clock-band .clock-city{font-size:15px}
.clock-band .clock{width:auto} }

/* ── Sources: four tool cards; folders ───────────────────────────────────── */
.src-tools:not([hidden]){grid-template-columns:1fr 1fr}
.src-tools > :first-child{grid-column:auto}
.tool-ic-drive{background:linear-gradient(135deg,#2A78D6,#4a1d5e)}
.drive-conn{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.drive-conn:empty{display:none}
@media (max-width:720px){ .src-tools:not([hidden]){grid-template-columns:1fr} }

/* Citations: title, then the file path / address */
.src-link{align-items:flex-start}
.src-link .t{display:flex;flex-direction:column;min-width:0;flex:1;white-space:normal}
.src-link .t b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.src-link .src-path{font-size:11.5px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:left;unicode-bidi:plaintext}
.answer-saved{align-self:center;font-size:13px}

/* ── My questions ────────────────────────────────────────────────────────── */
.q-list{display:grid;gap:10px;margin-bottom:24px}
.q-card{border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden;transition:border-color .15s,box-shadow .15s}
.q-card:hover,.q-card.open{border-color:var(--line-2);box-shadow:0 10px 28px -20px rgba(27,19,48,.4)}
.q-open{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;width:100%;text-align:left;background:none;border:0;padding:16px 18px;font:inherit;color:inherit;cursor:pointer}
.q-kind{font-size:11px;letter-spacing:.1em;text-transform:uppercase;padding:2px 9px;border-radius:100px;background:var(--tint-pink);color:var(--pink-ink);justify-self:start}
.q-kind.k-chat{background:var(--tint-grey);color:var(--ink-2)}
.q-when{font-size:12px;color:var(--grey-60);justify-self:end}
.q-t{grid-column:1/-1;font-size:16px;font-weight:500;margin-top:4px}
.q-a{grid-column:1/-1;font-size:13.5px;color:var(--grey-70);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.q-src{grid-column:1/-1;font-size:12px;color:var(--grey-60)}
.q-card.open .q-a{display:none}
.q-full{padding:0 18px 16px;border-top:1px solid var(--line)}
.q-q{margin-top:14px;font-weight:500}
.q-q span{display:block;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--grey-60);font-weight:400;margin-bottom:2px}
.q-ans{margin-top:8px;padding:12px 14px;border-radius:12px;background:var(--sunken)}
.q-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:14px}
.q-acts .spacer{flex:1}
.q-acts .btn{height:34px;font-size:13px}

/* ── Induction: the portal's photos and videos ───────────────────────────── */
.step.has-cover{padding-top:0;overflow:hidden}
.s-cover{display:block;position:relative;width:calc(100% + 2 * var(--step-pad, 22px));margin:0 calc(-1 * var(--step-pad, 22px)) 16px;aspect-ratio:16/9;border:0;padding:0;background:var(--sunken);cursor:pointer;overflow:hidden}
.s-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.s-cover:hover img{transform:scale(1.04)}
.s-play{position:absolute;inset:0;margin:auto;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:rgba(27,19,48,.72);color:#fff;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.s-play svg{width:24px;height:24px;margin-left:3px}
.sh-gallery{display:grid;gap:8px;margin:16px 0}
.sh-gallery.n1{grid-template-columns:1fr}
.sh-gallery.n2,.sh-gallery.n4{grid-template-columns:1fr 1fr}
.sh-gallery.n3{grid-template-columns:2fr 1fr 1fr}
.sh-gallery figure{margin:0}
.sh-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;display:block;background:var(--sunken)}
.sh-gallery.n1 img{aspect-ratio:16/9}
.sh-gallery figcaption{font-size:12px;color:var(--grey-60);margin-top:4px}
@media (max-width:600px){ .sh-gallery.n3{grid-template-columns:1fr 1fr} .sh-gallery.n3 figure:first-child{grid-column:1/-1} }
.step{--step-pad:17px}
.src-row.src-drive .src-kind{background:linear-gradient(135deg,#2A78D6,#4a1d5e)}
/* Seven menu items: on laptop widths drop the icons and tighten, so nothing is cut off */
@media (max-width:1420px) and (min-width:1001px){
  nav.hd-nav button,nav.hd-nav .nav-more{padding:0 10px;gap:0}
  nav.hd-nav button > svg,nav.hd-nav .nav-more > svg:first-child{display:none}
}
@media (max-width:1240px) and (min-width:1001px){ .who-t{display:none} }
@media (max-width:1100px) and (min-width:1001px){ nav.hd-nav button,nav.hd-nav .nav-more{padding:0 7px;font-size:13.5px} }

/* ── Office clocks, calmer: white band, location first, offices beneath ─── */
.clock-band{background:var(--ground);border-bottom:1px solid var(--line);padding:20px 0 22px}
.clock-band .clock{width:340px;align-items:flex-start;gap:16px;padding:18px 20px;border-radius:16px;
  background:var(--panel);border:1px solid var(--line);color:var(--ink);-webkit-backdrop-filter:none;backdrop-filter:none;
  box-shadow:0 1px 2px rgba(27,19,48,.04)}
.clock-band .clock:hover{border-color:var(--line-2);box-shadow:0 12px 30px -20px rgba(27,19,48,.35)}
.clock-band .clock-face{width:54px;height:54px;background:var(--sunken);box-shadow:none;margin-top:2px}
.clock-band .clock.open .clock-face{background:var(--sunken);box-shadow:0 0 0 3px rgba(31,191,117,.35)}
.clock-band .clock-face .hh,.clock-band .clock-face .mh{stroke:var(--ink)}
.clock-band .clock-face .tick{stroke:var(--grey-50)}
.clock-band .clock-city{display:block;font-size:22px;font-weight:600;letter-spacing:-.015em;line-height:1.15;color:var(--ink)}
.ck-offices{list-style:none;margin:6px 0 12px;padding:0;display:grid;gap:3px}
.ck-offices li{font-size:12.5px;line-height:1.35;color:var(--grey-60);display:flex;gap:6px;align-items:baseline;min-width:0}
.ck-offices b{font-weight:600;color:var(--ink-2);flex:none}
.ck-offices span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ck-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.clock-band .clock-time{font-size:26px;font-weight:600;color:var(--ink);letter-spacing:-.01em}
.ck-diff{font-style:normal;font-size:12.5px;color:var(--grey-60);white-space:nowrap;font-variant-numeric:tabular-nums}
.clock-band .clock-meta{color:var(--grey-60);margin-top:2px}
.clock-band .clock-meta .dot{background:var(--grey-50)}
.clock-band .clock.open .clock-meta{color:#13894f}
.clock-band .clock-ov{color:var(--ink-2);border-top-color:var(--line)}
.clock-band .clock-ov.none{color:var(--grey-60)}
.clock-band .clock-txt{flex:1;min-width:0}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .clock-band .clock.open .clock-meta{color:#4fd38f} }
:root[data-theme="dark"] .clock-band .clock.open .clock-meta{color:#4fd38f}
@media (max-width:720px){
  .clock-band{padding:12px 0 14px}
.clock-band .clock{width:200px;flex-direction:column;gap:8px;padding:14px}
.clock-band .clock-face{width:38px;height:38px}
.clock-band .clock-city{font-size:17px}
.ck-offices{margin:4px 0 8px}
.ck-offices li{font-size:11.5px}
.clock-band .clock-time{font-size:20px}
.clock-band .ck-offices{display:grid}
}
@media (max-width:720px){
  .clock-band .clock-meta{display:none} }

/* ── Where answers came from: place marks ────────────────────────────────── */
.pl-mark{width:20px;height:20px;border-radius:6px;display:inline-grid;place-items:center;flex:none;background:#fff;border:1px solid var(--line);overflow:hidden;color:var(--ink-2)}
.pl-mark img{width:14px;height:14px;object-fit:contain}
.pl-mark i{width:100%;height:100%;display:grid;place-items:center;font-style:normal;font-size:9px;font-weight:700;color:#fff;letter-spacing:-.02em}
.pl-mark svg{width:13px;height:13px}
.pl-mark.pl-paymo,.pl-mark.pl-sharepoint,.pl-mark.pl-portal,.pl-mark.pl-experiences{border:0}
.found-in{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:10px}
.found-in .lab{margin:0 4px 0 0}
.fi-chip{display:inline-flex;align-items:center;gap:7px;height:30px;padding:0 11px 0 5px;border-radius:100px;border:1px solid var(--line);background:var(--panel);color:var(--ink);text-decoration:none;font-size:13px}
.fi-chip:hover{border-color:var(--magenta)}
.fi-chip em{font-style:normal;font-size:11px;color:var(--grey-60);background:var(--sunken);border-radius:100px;padding:0 6px}
.src-link .pl-mark{margin-top:1px}

/* ── Administration → Data access ────────────────────────────────────────── */
.acc-card{border-radius:14px;padding:20px 22px;max-width:860px}
.acc-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}
.acc-head .pl-mark{width:40px;height:40px;border-radius:11px}
.acc-head .pl-mark i{font-size:17px}
.acc-head h3{margin:0 0 2px}
.acc-grid{border:1px solid var(--line);border-radius:12px;overflow:hidden}
.acc-row{display:grid;grid-template-columns:1fr 96px 96px;align-items:center;gap:10px;padding:11px 16px;border-top:1px solid var(--line)}
.acc-row:first-child{border-top:0}
.acc-row > span:first-child{min-width:0}
.acc-row b{display:block;font-weight:500;font-size:14px}
.acc-row small{display:block;font-size:12px;color:var(--grey-60)}
.acc-th{background:var(--sunken);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-60)}
.acc-th span:not(:first-child),.acc-fixed{text-align:center;justify-self:center}
.acc-fixed{font-size:12px;color:var(--grey-60)}
.acc-foot{margin-top:12px}
.switch{position:relative;justify-self:center;width:40px;height:24px;display:inline-block;cursor:pointer}
.switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.switch span{position:absolute;inset:0;border-radius:100px;background:var(--line-2);transition:background .18s}
.switch span::after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .18s}
.switch input:checked + span{background:var(--magenta)}
.switch input:checked + span::after{transform:translateX(16px)}
.switch input:focus-visible + span{outline:2px solid var(--magenta);outline-offset:2px}
@media (max-width:600px){ .acc-row{grid-template-columns:1fr 64px 64px;padding:10px 12px} .acc-card{padding:16px} }
.pl-mark.pl-synology{border:0}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .pl-mark.pl-portal i,:root:not([data-theme="light"]) .pl-mark.pl-paymo i,:root:not([data-theme="light"]) .pl-mark.pl-synology i{box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)} }
:root[data-theme="dark"] .pl-mark.pl-portal i,:root[data-theme="dark"] .pl-mark.pl-paymo i,:root[data-theme="dark"] .pl-mark.pl-synology i{box-shadow:inset 0 0 0 1px rgba(255,255,255,.28)}

/* ── Induction as a course: full screen, one step at a time ──────────────── */
.ind-sheet{left:0;top:0;transform:none;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;border-radius:0;border:0;padding:0;
  display:flex;flex-direction:column;overflow:hidden;z-index:120;background:var(--ground)}
.ind-sheet.in{animation:none}
.lms-top{display:flex;align-items:center;gap:16px;height:64px;padding:0 24px;border-bottom:1px solid var(--line);flex:none}
.lms-top .logo-svg{height:16px;width:auto;color:var(--ink)}
.lms-title{display:flex;flex-direction:column;line-height:1.2;padding-left:16px;border-left:1px solid var(--line)}
.lms-title b{font-weight:600;font-size:14.5px}
.lms-title span{font-size:12px;color:var(--grey-60)}
.lms-top .op-close{position:static;margin-left:auto}
.lms-dots{display:flex;gap:4px;padding:10px 24px;flex:none}
.lms-dot{flex:1;height:22px;border:0;background:none;padding:8px 0;cursor:pointer}
.lms-dot i{display:block;height:6px;border-radius:100px;background:var(--line-2);transition:background .25s}
.lms-dot.done i{background:linear-gradient(90deg,#2DE1FD,#FC31BB)}
.lms-dot.on i{background:var(--ink);box-shadow:0 0 0 2px var(--ground),0 0 0 3px var(--ink)}
.lms-dot.done.on i{background:linear-gradient(90deg,#2DE1FD,#FC31BB);box-shadow:0 0 0 2px var(--ground),0 0 0 3px var(--magenta)}
.lms-dot:hover i{opacity:.75}
.lms-body{flex:1;overflow:auto;-webkit-overflow-scrolling:touch}
.lms-in{max-width:820px;margin:0 auto;padding:36px 24px 56px}
.lms-in.slide{animation:lmsIn .45s cubic-bezier(.2,.8,.2,1) both}
@keyframes lmsIn{from{opacity:0;transform:translateX(28px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .lms-in.slide{animation:none} }
.ind-sheet .lms-in > .s-n{font-family:var(--mono);font-size:12.5px;color:var(--magenta);font-weight:500;letter-spacing:.04em}
.ind-sheet .lms-in h2{font-size:clamp(28px,3.4vw,40px);font-weight:600;letter-spacing:-.02em;margin:8px 0 16px}
.ind-sheet .lms-in .md{font-size:16.5px;line-height:1.65}
.ind-sheet .sh-gallery.n1 img{border-radius:16px}
.lms-foot{display:flex;align-items:center;gap:12px;padding:14px 24px;padding-bottom:max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line);flex:none;background:var(--panel)}
.lms-state{flex:1;text-align:center;font-size:13.5px;color:var(--grey-60)}
.lms-state .ok{color:#13894f;font-weight:600}
.lms-foot .btn{height:44px;padding:0 20px}
.lms-next{min-width:130px}
.ip-start{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 16px}
.ip-start .btn{height:46px;padding:0 22px;font-size:15px}
.ip-start span{font-size:13px;color:var(--grey-60)}
/* the end */
.lms-end{text-align:center;position:relative;padding-top:64px;overflow:hidden}
.lms-end .confetti{position:absolute;inset:0;pointer-events:none}
.end-ic{width:84px;height:84px;margin:0 auto 18px;border-radius:50%;display:grid;place-items:center;font-size:38px;font-weight:700;color:#fff;
  background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 18px 40px -16px rgba(252,49,187,.6);animation:popIn .5s cubic-bezier(.2,.8,.2,1) both}
.end-ic.warn{background:var(--ink);font-size:30px;box-shadow:none}
.lms-end .eyebrow{justify-content:center}
.ind-sheet .lms-end h2.end-name{font-size:clamp(34px,5vw,56px);margin:10px 0 8px}
.end-p{font-size:17px;color:var(--ink-2);max-width:560px;margin:0 auto}
.end-sub{font-size:14px;color:var(--grey-60);max-width:520px;margin:14px auto 0}
.end-acts{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.end-acts .btn{height:46px;padding:0 22px}
.end-left{list-style:none;padding:0;margin:26px auto 0;max-width:560px;display:grid;gap:8px;text-align:left}
.lms-jump{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;width:100%;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font:inherit;color:inherit;cursor:pointer;text-align:left}
.lms-jump:hover{border-color:var(--magenta)}
.lms-jump .s-n{font-family:var(--mono);font-size:12px;color:var(--magenta)}
.lms-jump > span:last-child{font-size:12.5px;color:var(--grey-60)}
@media (max-width:600px){
  .lms-top{height:56px;padding:0 14px;gap:10px}
.lms-top .logo-svg{display:none}
.lms-title{border-left:0;padding-left:0}
  .lms-dots{padding:8px 14px;gap:3px}
  .lms-in{padding:24px 18px 40px}
.lms-foot{padding:10px 12px;gap:8px}
.lms-foot .btn{padding:0 14px;height:42px}
.lms-state{display:none}
.lms-foot #sh-done{flex:1}
.lms-next{margin-left:auto;min-width:0}
}

/* ── Home: arrangeable sections ──────────────────────────────────────────── */
.hblocks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;align-items:stretch}
.hb{grid-column:1/-1;min-width:0}
.hb[data-size="half"]{grid-column:auto;display:flex;flex-direction:column}
.hb[data-size="half"] > .panel{flex:1;border-radius:16px}
.hb.hb-off{display:none}
.hb-bar{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin:28px 0 -24px;position:relative;z-index:2}
.hb-arrange{display:inline-flex;align-items:center;gap:8px;height:36px;font-size:13px}
.hb-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end;padding:10px 12px 10px 16px;border-radius:14px;background:var(--panel);border:1px solid var(--line);box-shadow:0 12px 30px -20px rgba(27,19,48,.35)}
.hb-tools[hidden]{display:none}
.hb-tip{font-size:13px;color:var(--grey-60);margin-right:auto}
.hb-tools .btn{height:36px;font-size:13px}
body.arranging .hb-bar{position:sticky;top:66px;margin-bottom:0}
body.arranging .hb,body.arranging .hb.hb-off{display:block;position:relative;margin-top:14px;padding:4px 14px 16px;border:2px dashed var(--line-2);border-radius:18px;background:var(--ground)}
body.arranging .hb[data-size="half"]{display:flex}
body.arranging .hb.hb-off{opacity:.45}
body.arranging .hb > :not(.hb-handle){pointer-events:none;user-select:none}
body.arranging .hb > .row-head{display:none}
.hb-handle{display:flex;align-items:center;gap:10px;margin:8px 0 10px;min-height:36px}
.hb-handle b{font-weight:600;font-size:14.5px}
.hb-grip{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--grey-60);display:grid;place-items:center;cursor:grab;touch-action:none}
.hb-grip:active{cursor:grabbing}
.hb-offtag{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60);background:var(--sunken);border-radius:100px;padding:2px 8px}
.hb-seg{display:inline-flex;margin-left:auto;border:1px solid var(--line);border-radius:100px;padding:2px;background:var(--panel)}
.hb-seg button{border:0;background:none;font:inherit;font-size:12.5px;padding:4px 11px;border-radius:100px;color:var(--ink-2);cursor:pointer}
.hb-seg button[aria-pressed="true"]{background:var(--ink);color:var(--ground)}
.hb-eye{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--ink-2);display:grid;place-items:center;cursor:pointer}
.hb-eye[aria-pressed="false"]{color:var(--grey-50)}
.hb.hb-dragging{position:fixed !important;z-index:200;margin:0 !important;pointer-events:none;box-shadow:0 30px 60px -20px rgba(27,19,48,.45);opacity:.96;transform:rotate(.6deg);border-style:solid !important;border-color:var(--magenta) !important}
.hb-ph{grid-column:1/-1;margin-top:14px;border-radius:18px;border:2px dashed var(--magenta);background:var(--tint-pink-2)}
.hb-ph[data-size="half"]{grid-column:auto}
@media (max-width:820px){
  .hblocks{grid-template-columns:1fr}
  .hb[data-size="half"],.hb-ph[data-size="half"]{grid-column:1/-1}
  .hb-seg{display:none}
  .hb-tip{display:none}
  .hb-bar{margin-bottom:-18px}
}

/* ═══════════════════════════════════════════════════════════════════════════
   THE HUB - Figma "CE Hub Dashboard" (Ronnie's exploration)
   Black nav bar with a gradient line; Roboto; pill buttons; status pills;
   filter chips; a soft pink/blue wash behind each page's heading.
   ═══════════════════════════════════════════════════════════════════════════ */
:root{
  --hub-grad:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);
  --hub-magenta:#FC31BB; --hub-aqua:#2DE1FD; --hub-orange:#FF7A00;
  --g10:#F5F5F5; --g20:#E0E0E0; --g30:#C6C6C6; --g50:#707070; --g60:#5E5E5E; --g70:#525252; --g80:#393939; --g90:#262626;
  --aqua-m:#3E94A6; --magenta-m:#A924B4; --orange-m:#B05027;
  --hub-card:var(--panel); --hub-line:var(--line); --hub-soft:var(--sunken);
}

/* ── Nav bar (Figma 76:159): black, white wordmark + Hub, magenta active ─── */
body header.app{background:#000;border-bottom:0;-webkit-backdrop-filter:none;backdrop-filter:none;color:#fff}
body header.app .hd-in{height:72px;padding:0 40px;gap:24px;max-width:none}
body header.app .hd-mark{color:#fff;gap:10px}
body header.app .hd-mark .logo-svg{height:15px;width:auto;fill:#fff;color:#fff}
body header.app .hd-mark .logo-svg path{fill:#fff}
body header.app .hd-mark .hub-badge{display:inline-block !important;border:1px solid #fff;border-radius:4px;padding:1px 6px;font-size:11px;line-height:1.3;color:#fff;margin-left:0;border-left:1px solid #fff}
body header.app nav.hd-nav{height:72px;margin-left:16px;gap:4px}
body header.app nav.hd-nav button,body header.app nav.hd-nav .nav-more{color:#E0E0E0;font-size:15px;padding:0 12px;border-bottom:0;gap:6px}
body header.app nav.hd-nav button > svg.ico,body header.app nav.hd-nav .nav-more > svg.ico{display:none}
body header.app nav.hd-nav button:hover,body header.app nav.hd-nav .nav-more:hover{color:#fff;border-bottom:0}
body header.app nav.hd-nav button[aria-current="page"],body header.app nav.hd-nav .nav-more[aria-current="page"]{color:var(--hub-magenta);font-weight:500;border-bottom:0}
body header.app .grad-line{height:2px;background:var(--hub-grad);animation:none}
body header.app .hd-right{gap:14px}
.hd-bell{position:relative;width:36px;height:36px;border-radius:50%;border:0;background:none;color:#fff;display:grid;place-items:center;cursor:pointer}
.hd-bell:hover{background:rgba(255,255,255,.12)}
.hd-dot{position:absolute;top:6px;right:7px;width:8px;height:8px;border-radius:50%;background:var(--hub-magenta);box-shadow:0 0 0 2px #000}
.hd-dot[hidden]{display:none}
body header.app #who .who-av .av{width:36px;height:36px;border:2px solid var(--hub-aqua);box-sizing:border-box;background:var(--magenta-m)}
body header.app #who .who-n{display:block;color:#fff;font-size:14px;font-weight:500}
body header.app #who .who-r{color:var(--hub-aqua) !important;-webkit-text-fill-color:var(--hub-aqua);background:none !important;font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:500}
body header.app #hd-signout{background:none;border:1px solid #393939;color:#E0E0E0;height:34px;padding:0 12px;font-size:12.5px}
body header.app #hd-signout:hover{border-color:#8D8D8D;color:#fff}
body header.app .hd-burger{color:#fff}
body header.app .hd-burger:hover,body header.app .hd-burger[aria-expanded="true"]{background:rgba(255,255,255,.12)}
.mega-head{grid-column:1/-1;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60);padding:10px 4px 0;border-top:1px solid var(--line);margin-top:4px}
.bell-pop{position:absolute;top:64px;right:120px;width:340px;max-height:70vh;overflow:auto;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 24px 50px -16px rgba(0,0,0,.35);padding:8px;z-index:60}
.bell-pop[hidden]{display:none}
.bp-h{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--grey-60);padding:8px 10px}
.bp-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:none;border:0;padding:10px;border-radius:10px;font:inherit;color:inherit;cursor:pointer}
.bp-item:hover{background:var(--sunken)}
@media (max-width:1280px){ body header.app .hd-in{padding:0 20px;gap:14px} body header.app nav.hd-nav button,body header.app nav.hd-nav .nav-more{padding:0 8px;font-size:14px} body header.app #who .who-t{display:none} }
@media (max-width:1000px){ body header.app .hd-in{height:auto;min-height:60px} body header.app nav.hd-nav{height:44px;margin-left:0} .bell-pop{right:12px;top:60px} }

/* ── Shared pieces ───────────────────────────────────────────────────────── */
.grad-text{background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.claude-mark{width:24px;height:24px;border-radius:50%;flex:none;display:inline-block;background:conic-gradient(from 200deg,#2DE1FD,#FC31BB,#FF7A00,#2DE1FD);box-shadow:inset 0 0 0 5px rgba(255,255,255,.0)}
.claude-mark.sm{width:20px;height:20px}
.hub-btn{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 20px;border-radius:999px;font-size:14px;font-weight:600;text-decoration:none;border:1px solid transparent;white-space:nowrap;cursor:pointer}
.hub-btn.sm{height:32px;padding:0 14px;font-size:13px}
.hub-btn.dark{background:#000;color:#fff;border-color:#000}
.hub-btn.dark:hover{background:#262626}
.hub-btn.light{background:#fff;color:#000;border-color:#fff}
.hub-btn.outline{background:transparent;color:var(--ink);border-color:var(--ink)}
.hub-link{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap}
.hub-link:hover{color:var(--hub-magenta)}
.hub-link.light{color:#fff}
.hub-link.off{color:var(--grey-50);font-weight:500;cursor:default}
.hub-more{font-size:14px;font-weight:600;color:var(--ink);text-decoration:none}
.hub-more:hover{color:var(--hub-magenta)}
.spill{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:600;white-space:nowrap;background:var(--g10);color:var(--g70)}
.spill.success{background:#C6FFC1;color:#194B15}
.spill.danger{background:#FFE5E9;color:#92001E}
.spill.warn{background:#FFDDC3;color:#2F1113}
.spill.info{background:#D5F8FF;color:#0E4A57}
.spill.neutral{background:var(--g10);color:var(--g70)}
.spill.outline{background:transparent;border:1px solid var(--g80);color:var(--ink);font-size:10.5px;letter-spacing:.04em}
.spill.light{background:#fff;color:#000;font-size:10.5px;letter-spacing:.04em}
.fchips{display:flex;gap:6px;flex-wrap:wrap}
.fchip{height:28px;padding:0 12px;border-radius:999px;border:1px solid var(--g30);background:var(--panel);color:var(--ink);font-size:12.5px;font-weight:500;cursor:pointer;white-space:nowrap}
.fchip[aria-pressed="true"]{background:#000;border-color:#000;color:#fff}
.tile{width:40px;height:40px;border-radius:8px;display:grid;place-items:center;flex:none;color:#111}
.tile.aqua{background:#C8F6FF;color:#0E4A57}
.tile.magenta{background:#FFD6F4;color:#5E0C6A}
.tile.orange{background:#FFDDC3;color:#5A2A08}
.tile.grey{background:var(--g10);color:var(--g80);width:36px;height:36px}
.app-mark{width:var(--s,40px);height:var(--s,40px);border-radius:8px;display:grid;place-items:center;flex:none;color:#fff;font-weight:600;font-size:calc(var(--s,40px) * .4);letter-spacing:-.02em;overflow:hidden}
.app-mark.brand{background:#fff;border:1px solid var(--g20)}
.app-mark.brand img{width:62%;height:62%;object-fit:contain}
.app-mark.brand.up img{width:76%;height:76%}
.app-mark.brand.full{border:0;background:none}
.app-mark.brand.full img{width:100%;height:100%}
.app-mark.tile,.app-mark.tile img{border-radius:8px}
.app-mark.tile img{object-fit:cover}
.app-mark.ic{background:var(--g10);color:var(--g80)}
.av.xs{width:28px;height:28px;font-size:10px;border:2px solid var(--panel);box-sizing:content-box;margin-left:-8px}
.av.xs:first-child{margin-left:0}
.av.xs.more{background:var(--g20) !important;color:var(--g80)}
.av.sm{width:28px;height:28px;font-size:10.5px}
.hub-card{background:var(--panel);border:1px solid var(--g20);border-radius:12px;overflow:hidden}
.hc-head{display:flex;align-items:center;gap:10px;padding:16px 20px}
.hc-head > div{display:flex;flex-direction:column;min-width:0}
.hc-head b{font-size:17px;font-weight:600;line-height:1.25}
.hc-head > div > span{font-size:13px;color:var(--grey-60)}
.hc-head .sp,.rc-bill .sp{flex:1}
.hc-empty{padding:14px 20px 20px;font-size:13.5px;color:var(--grey-60)}
.sd-t{display:flex;flex-direction:column;min-width:0;flex:1;line-height:1.3}
.sd-t b{font-weight:600;font-size:14.5px;overflow:hidden;text-overflow:ellipsis}
.sd-t > span{font-size:12.5px;color:var(--grey-60);overflow:hidden;text-overflow:ellipsis}
.pbar{display:block;height:4px;border-radius:999px;background:var(--g20);overflow:hidden}
.pbar i{display:block;height:100%;border-radius:999px;background:var(--hub-aqua)}
.pbar.danger i{background:#92001E}
.pbar.warn i{background:var(--hub-orange)}
.hub-input{display:flex;align-items:center;gap:10px;height:40px;padding:0 16px;border:1px solid var(--g30);border-radius:999px;background:var(--panel);color:var(--grey-60)}
.hub-input:focus-within{border-color:var(--ink)}
.hub-input input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:14.5px;color:var(--ink)}
.hub-note{margin-top:28px;padding:14px 20px;border-radius:8px;background:var(--g10);font-size:14px;color:var(--g70)}
.hub-note b{color:var(--ink);font-weight:600;margin-right:4px}
:root[data-theme="dark"] .hub-note,:root[data-theme="dark"] .spill.neutral,:root[data-theme="dark"] .fchip{background:var(--sunken)}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .hub-note,:root:not([data-theme="light"]) .spill.neutral{background:var(--sunken);color:var(--ink-2)} :root:not([data-theme="light"]) .hub-card{border-color:var(--line)} :root:not([data-theme="light"]) .fchip:not([aria-pressed="true"]){background:var(--panel);border-color:var(--line-2)} :root:not([data-theme="light"]) .fchip[aria-pressed="true"]{background:#fff;color:#000;border-color:#fff} :root:not([data-theme="light"]) .hub-btn.dark{background:#fff;color:#000;border-color:#fff} }

/* The soft wash behind each page's heading (Figma "Background wash"). */
#tab-home,.hub-page{position:relative;isolation:isolate}
.hub-wash{position:absolute;z-index:-1;right:-80px;top:0;width:min(900px,70vw);height:520px;pointer-events:none;
  background:radial-gradient(closest-side at 72% 38%,rgba(252,49,187,.16),transparent 70%),radial-gradient(closest-side at 38% 62%,rgba(45,225,253,.16),transparent 72%),radial-gradient(closest-side at 92% 70%,rgba(255,122,0,.10),transparent 70%);filter:blur(24px)}
#tab-home .hub-wash{top:160px}

/* ── Home (Figma 30:65) ─────────────────────────────────────────────────── */
.hub-hero{max-width:var(--page-w);margin:0 auto;text-align:left}
.hub-greet{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;flex-wrap:wrap;margin:8px 0 28px}
.hub-hello{font-size:44px;font-weight:600;letter-spacing:-.01em;line-height:1.1;margin:0}
.hub-sub{font-size:16px;color:var(--grey-60);margin:6px 0 0}
.hub-sub .dot-sep{margin:0 8px}
.qa-row{display:flex;gap:12px;flex-wrap:wrap}
.qa{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border:1px solid var(--ink);border-radius:999px;background:var(--panel);color:var(--ink);text-decoration:none;font-size:14.5px;font-weight:600}
.qa em{font-style:normal;font-size:10px;font-weight:500;letter-spacing:.04em;padding:2px 8px;border-radius:999px;background:var(--g10);color:var(--g70)}
.qa:hover{background:var(--ink);color:var(--ground)}
.qa:hover em{background:rgba(255,255,255,.18);color:inherit}
.hub-search{position:relative;display:flex;align-items:center;gap:16px;height:60px;padding:8px 8px 8px 20px;border-radius:999px;border:1.5px solid transparent;
  background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--hub-grad) border-box;max-width:none;margin:0;box-shadow:none}
.hub-search::before{display:none !important}
.hub-search.typing{background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(var(--ink),var(--ink)) border-box}
.hub-search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:16px;color:var(--ink);height:auto;padding:0}
.hub-search input::placeholder{color:var(--g50)}
.hub-kbd{font:inherit;font-size:13px;color:var(--g50);background:none;border:0}
.hub-search #search-go{height:44px;padding:0 20px;border-radius:999px;background:#000;color:#fff;font-size:14px;font-weight:600;border:0}
.search-drop{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:30;background:var(--panel);border:1px solid var(--g20);border-radius:16px;box-shadow:0 24px 50px -18px rgba(0,0,0,.28);padding:6px;max-height:440px;overflow:auto}
.search-drop[hidden]{display:none}
.sd-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:none;border:0;padding:10px 12px;border-radius:10px;font:inherit;color:inherit;cursor:pointer}
.sd-item:hover,.sd-item.on{background:var(--g10)}
.sd-kind{font-size:11px;font-weight:600;color:var(--g60);background:var(--g10);padding:2px 8px;border-radius:999px;white-space:nowrap}
.sd-item.on .sd-kind,.sd-item:hover .sd-kind{background:var(--panel)}
.sd-ask{border-top:1px solid var(--g20);border-radius:0 0 10px 10px;margin-top:4px}
.sd-ask kbd{font:inherit;font-size:11px;color:var(--g60);border:1px solid var(--g30);border-radius:6px;padding:1px 6px}
.hub-hero .search-hint{text-align:left;margin:10px 0 0 22px}
.hub-hero .answer{margin-top:18px}
.hub-cols{max-width:var(--page-w);margin:28px auto 0;display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}
.hub-main,.hub-side{display:flex;flex-direction:column;gap:22px;min-width:0}
.hub-sec[hidden]{display:none}
.hub-sec .row-head{margin:0 0 12px;display:flex;align-items:center;justify-content:space-between}
/* Replicate mini console (Figma 87:197) */
.rep-card{background:#111;border:1px solid #262626;border-radius:12px;overflow:hidden;color:#fff}
.rep-card:empty{display:none}
.rep-card .grad-line{height:2px;background:var(--hub-grad);animation:none}
.rc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px 16px}
.rc-head .eyebrow{color:#C6C6C6}
.rc-head h3{font-size:22px;font-weight:600;margin:8px 0 0;color:#fff}
.rc-bill{display:flex;align-items:center;gap:12px;padding:10px 24px;background:#1C1C1C;font-size:14px;flex-wrap:wrap}
.rc-bill .k{font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:#8D8D8D}
.rc-bill b{font-weight:600}
.rc-client{font-size:12.5px;color:#A8A8A8}
.rc-change{border:1px solid #525252;border-radius:999px;padding:3px 12px;color:#E0E0E0;text-decoration:none;font-size:12.5px}
.rc-change:hover{border-color:#fff}
.rc-spend{font-size:13px;color:#C6C6C6}
.rc-tiles{display:flex;gap:12px;padding:16px 24px 20px}
.rc-tile{position:relative;flex:1;min-width:0;height:128px;border-radius:8px;overflow:hidden;display:flex;align-items:flex-end;padding:0 0 6px 8px;text-decoration:none;color:#fff}
.rc-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rc-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.72));pointer-events:none}
.rc-tile.empty::after{display:none}
.rc-cap{position:relative;z-index:1;display:flex;flex-direction:column;gap:1px;min-width:0;padding-right:8px}
.rc-cap b{font-size:12px;font-weight:600;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.rc-cap small{display:flex;align-items:center;gap:5px;font-size:10.5px;color:rgba(255,255,255,.78);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rc-cap small i{width:7px;height:7px;border-radius:50%;flex:none}
.rc-play{position:absolute;z-index:1;top:8px;right:8px;width:24px;height:24px;border-radius:50%;background:rgba(0,0,0,.55);display:grid;place-items:center;color:#fff}
.rc-tile:hover img{transform:scale(1.04)}
.rc-tile img{transition:transform .3s}
.rc-tile.g0{background:linear-gradient(135deg,#1F4E79,#3E0B5A)}
.rc-tile.g1{background:linear-gradient(135deg,#4A1D5E,#C1287F 60%,#FF7A00 130%)}
.rc-tile.g2{background:linear-gradient(135deg,#3B0B2E,#A924B4)}
.rc-tile.g3{background:linear-gradient(135deg,#1B5E66,#3E94A6)}
.rc-tile.empty{opacity:.55}
.rc-all{flex:0 0 100px;height:128px;border-radius:8px;border:1px solid #393939;background:#1C1C1C;display:grid;place-items:center;text-align:center;font-size:12.5px;color:#E0E0E0;text-decoration:none;line-height:1.4}
.rc-all:hover{border-color:#8D8D8D}
/* Your projects */
.pj-row{display:grid;grid-template-columns:minmax(0,1fr) 120px 200px 70px;gap:20px;align-items:center;padding:14px 20px;border-top:1px solid var(--g20)}
.pj-th{background:var(--g10);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--g60);padding:10px 20px;font-weight:500}
.pj-th span:last-child{text-align:right}
.pj-name{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}
.pj-name b{font-weight:600;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.pj-team{display:flex;align-items:center}
.pj-bar{display:flex;flex-direction:column;gap:6px}
.pj-nums{display:flex;justify-content:space-between;font-size:12px;color:var(--g70)}
.pj-nums span:last-child{color:var(--g50)}
.pj-mine{text-align:right;display:flex;flex-direction:column;line-height:1.2}
.pj-mine b{font-size:16px;font-weight:600}
.pj-mine span{font-size:11.5px;color:var(--g50)}
/* Everyday apps */
.apps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.app{display:flex;align-items:center;gap:12px;height:68px;padding:0 16px;border:1px solid var(--g20);border-radius:10px;background:var(--panel);color:var(--ink);text-decoration:none;font-size:15px;min-width:0}
.app b{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.app:hover{border-color:var(--ink)}
/* Who's away (Figma 87:200) */
.away-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 20px 20px}
.away-row{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:8px;background:var(--g10)}
.away-row .av{width:32px;height:32px}
.away-city{font-size:12px;font-weight:600;color:var(--g70)}
/* Today (Figma 78:139) */
.mt-row{display:flex;align-items:center;gap:12px;margin:0 20px 10px;padding:10px 12px;border-radius:8px}
.mt-row > i{width:3px;height:32px;border-radius:2px;background:var(--g30);flex:none}
.mt-row.next{background:var(--g10)}
.mt-row.next > i{background:var(--ink)}
.mt-row.soon > i{background:var(--hub-magenta)}
.mt-time{font-size:14px;font-weight:500;width:42px;flex:none;font-variant-numeric:tabular-nums}
.mt-open{color:var(--g60)}
.today-card{padding-bottom:10px}
/* To-dos (Figma 78:118) */
.todo-card .hc-head{padding-bottom:10px}
.todo-card .fchips{padding:0 20px 12px}
.todo-list{list-style:none;margin:0;padding:0 20px}
.todo{display:flex;align-items:flex-start;gap:12px;padding:10px 0}
.td-check{width:18px;height:18px;flex:none;margin-top:2px;border:1.5px solid var(--g70);border-radius:3px;background:var(--panel);color:#fff;font-size:12px;line-height:1;display:grid;place-items:center;cursor:pointer;padding:0}
.todo.done .td-check{background:#000;border-color:#000}
.todo.done .sd-t b{text-decoration:line-through;color:var(--g50);font-weight:500}
.td-del{border:0;background:none;color:var(--g50);font-size:18px;line-height:1;cursor:pointer;opacity:0;padding:0 2px}
.todo:hover .td-del,.td-del:focus{opacity:1}
.td-add{display:flex;gap:8px;align-items:center;margin:8px 20px 0;padding:12px 0 6px;border-top:1px solid var(--g20)}
.td-add input[type=text]{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:14px;font-weight:600;color:var(--ink)}
.td-add input[type=date]{border:1px solid var(--g30);border-radius:8px;height:30px;padding:0 6px;font:inherit;font-size:12px;color:var(--g70);background:var(--panel);width:122px}
/* Resources (Figma ResourceRow, compact) */
.res-mini{display:grid;gap:10px}
.res-mini-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;padding:14px 16px;border-radius:8px;background:var(--sunken);color:var(--ink);text-decoration:none}
.res-mini-row b{font-weight:600;font-size:14.5px}
.res-mini-row span{font-size:13.5px;color:var(--g60)}
.res-mini-row:hover{background:var(--g20)}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .res-mini-row,:root:not([data-theme="light"]) .away-row,:root:not([data-theme="light"]) .mt-row.next,:root:not([data-theme="light"]) .pj-th,:root:not([data-theme="light"]) .sd-item:hover,:root:not([data-theme="light"]) .sd-item.on{background:var(--sunken)} :root:not([data-theme="light"]) .todo.done .td-check{background:#fff;color:#000;border-color:#fff} :root:not([data-theme="light"]) .app-mark.brand{background:#fff} }
@media (max-width:1100px){ .hub-cols{grid-template-columns:1fr} .apps{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:720px){
  .hub-hello{font-size:32px}
  .qa-row{width:100%} .qa{flex:1 1 auto;justify-content:center;padding:0 12px}
  .hub-search{height:54px;gap:10px;padding-left:14px} .hub-kbd{display:none} .hub-search #search-go{padding:0 14px;height:40px}
  .rc-tiles{flex-wrap:wrap} .rc-tile{flex:1 1 40%} .rc-all{flex:1 1 100%;height:44px}
  .pj-row{grid-template-columns:minmax(0,1fr) 64px} .pj-team,.pj-th span:nth-child(2),.pj-th span:nth-child(3){display:none} .pj-bar{grid-column:1/-1;order:3}
  .away-grid{grid-template-columns:1fr}
  .apps{gap:10px} .app{height:60px;padding:0 12px;font-size:14px}
}

/* ── Page headings (Requests, Tools, Resources) ──────────────────────────── */
.hub-page{max-width:var(--page-w);margin:0 auto}
.hp-head{margin:8px 0 36px}
.hp-head h2{font-size:44px;font-weight:600;letter-spacing:-.01em;margin:12px 0 8px}
.hp-head p{font-size:18px;color:var(--g70);margin:0}
@media (max-width:720px){ .hp-head h2{font-size:32px} .hp-head p{font-size:16px} }
/* Requests (Figma 30:696) */
.req-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.req-card{display:flex;flex-direction:column;min-height:380px;padding:24px;border:1px solid var(--g20);border-radius:12px;background:var(--panel)}
.req-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:16px}
.req-card h3{font-size:22px;font-weight:600;margin:0 0 10px}
.req-card p{font-size:15px;color:var(--g80);margin:0 0 8px}
.req-card .req-meta{font-size:13px;color:var(--g50)}
.req-tip{margin-top:8px;padding:8px 12px;border-radius:6px;background:var(--g10);font-size:13px;color:var(--g80)}
.req-card .hub-btn{margin-top:auto;align-self:flex-start}
.req-none{margin-top:auto;font-size:13px;color:var(--g60)}
.req-more{margin-top:28px}
.req-more h3{font-size:18px;font-weight:600;margin:0 0 12px}
.track-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:44px 0 16px}
.track-head h3{font-size:24px;font-weight:600;margin:0}
.trk-row{display:grid;grid-template-columns:150px 1fr 140px 140px 120px;gap:16px;padding:14px 20px;align-items:center;font-size:14.5px}
.trk-th{background:var(--g10);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--g60);padding:10px 20px}
.trk-empty{padding:22px 20px}
@media (max-width:1000px){ .req-grid{grid-template-columns:1fr} .req-card{min-height:0} .req-card .hub-btn{margin-top:16px} .trk-th{display:none} }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .req-tip,:root:not([data-theme="light"]) .trk-th{background:var(--sunken);color:var(--ink-2)} }
/* Tools (Figma 30:808) */
.tools-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:32px}
.tools-bar .hub-input{width:320px}
.rep-banner{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:28px;border-radius:12px;background:#000;color:#fff;margin-bottom:32px}
.rep-banner[hidden]{display:none}
.rep-banner > div:first-child{flex:1;min-width:260px}
.rep-banner .eyebrow{color:#E0E0E0;font-size:11px}
.rep-banner h3{font-size:30px;font-weight:600;margin:10px 0 8px;color:#fff}
.rep-banner p{margin:0;color:#E0E0E0;font-size:15px}
.rb-steps{display:flex;gap:8px;flex-wrap:wrap}
.rb-steps span{background:#1C1C1C;border-radius:999px;padding:6px 12px;font-size:12.5px;color:#fff}
.rb-steps b{margin-right:4px}
.tool-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.tool-card{position:relative;display:flex;flex-direction:column;min-height:196px;padding:20px;border:1px solid var(--g20);border-radius:12px;background:var(--panel);text-align:left;font:inherit;color:inherit}
.tool-card h3{font-size:18px;font-weight:600;margin:16px 0 6px}
.tool-card p{font-size:13.5px;color:var(--g70);margin:0 0 14px}
.tc-star{position:absolute;top:18px;right:18px;border:0;background:none;color:var(--g50);cursor:pointer;padding:4px;border-radius:8px}
.tc-star:hover{color:var(--ink);background:var(--g10)}
.tc-star[aria-pressed="true"]{color:var(--hub-orange)}
.tc-star[aria-pressed="true"] svg{fill:currentColor}
.tc-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.tc-suggest{align-items:center;justify-content:center;gap:6px;border:1.5px dashed var(--g30);background:var(--g10);cursor:pointer;color:var(--g70)}
.tc-suggest b{font-size:16px;color:var(--ink);font-weight:600}
.tc-suggest span{font-size:13px}
.tc-suggest:hover{border-color:var(--ink)}
@media (max-width:1100px){ .tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:600px){ .tool-grid{grid-template-columns:1fr} .tools-bar .hub-input{width:100%} }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .tc-suggest{background:var(--sunken)} }
/* Resources (Figma 30:967) */
.res-layout{display:grid;grid-template-columns:216px minmax(0,1fr);gap:40px;align-items:start}
.res-cats{display:flex;flex-direction:column;gap:4px;position:sticky;top:96px}
.res-cats button{display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 14px;border:0;border-radius:6px;background:none;font:inherit;font-size:14.5px;color:var(--ink);cursor:pointer;text-align:left}
.res-cats button em{font-style:normal;font-size:12px;color:var(--g50)}
.res-cats button:hover{background:var(--g10)}
.res-cats button[aria-pressed="true"]{background:#000;color:#fff;font-weight:600}
.res-cats button[aria-pressed="true"] em{color:#fff}
.res-main{display:flex;flex-direction:column;gap:24px;min-width:0}
.res-search{height:42px}
.res-top{display:grid;grid-template-columns:minmax(0,1fr) 332px;gap:24px}
.res-top[hidden]{display:none}
.res-hero{padding:24px;border-radius:12px;color:#fff;background:linear-gradient(110deg,#3A145A 0%,#7A1E6E 45%,#C1287F 100%);display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.res-hero h3{font-size:24px;font-weight:600;margin:4px 0 0;color:#fff}
.res-hero p{margin:0 0 6px;font-size:14px;color:rgba(255,255,255,.88)}
.res-new{padding:24px;border-radius:12px;border:1.5px solid transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--hub-grad) border-box}
.res-new h3{font-size:20px;font-weight:600;margin:0 0 8px}
.res-new p{font-size:14px;color:var(--g70);margin:0 0 12px}
.res-row{display:grid;grid-template-columns:36px minmax(0,1fr) 140px 100px 140px 70px;gap:16px;align-items:center;padding:12px 20px;border-top:1px solid var(--g20)}
.res-row:first-child{border-top:0}
.res-row .tile{width:36px;height:36px}
.rr-src,.rr-ver{font-size:13px;color:var(--g70)}
.rr-ver{color:var(--g50)}
@media (max-width:1000px){ .res-layout{grid-template-columns:1fr;gap:16px} .res-cats{position:static;flex-direction:row;flex-wrap:wrap} .res-cats button{height:34px;gap:8px;border:1px solid var(--g30);border-radius:999px} .res-top{grid-template-columns:1fr} .res-row{grid-template-columns:36px minmax(0,1fr) auto} .rr-cat,.rr-src,.rr-ver{display:none} }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .res-cats button[aria-pressed="true"]{background:#fff;color:#000} :root:not([data-theme="light"]) .res-cats button[aria-pressed="true"] em{color:#000} }
/* Hub fixes: the bar and its gradient line stack; nothing pokes out sideways */
body header.app{display:flex;flex-direction:column;border-radius:0;margin:0}
body header.app .hd-in{width:100%;box-sizing:border-box}
.hub-wash{right:0;width:min(900px,62vw)}
/* Wide screens: room for a whole email address in the third column (Who is who); phones keep their three columns */
@media (min-width:1001px){ .res-row{grid-template-columns:36px minmax(0,1fr) 140px 270px 140px 100px} }
.res-row > .hub-link,.res-row > .hub-link.off{justify-self:end}
@media (max-width:720px){
  .hc-head{flex-wrap:wrap;padding:14px 16px}
  .hc-head .sp{display:none}
  .proj-card .hc-head > div{flex:1 1 60%}
  .proj-card .hc-head .hub-btn,.proj-card .hc-head .hub-link{margin-top:4px}
  .rc-head{padding:16px 16px 12px;flex-wrap:wrap}
  .rc-head h3{font-size:19px}
  .rc-bill,.rc-tiles{padding-left:16px;padding-right:16px}
  .hub-greet{margin-bottom:18px}
  .mt-row{margin:0 12px 8px}
  .todo-list,.todo-card .fchips{padding-left:16px;padding-right:16px}
  .td-add{margin:8px 16px 0;flex-wrap:wrap}
  .td-add input[type=text]{flex:1 1 100%}
}

/* ── Lightbox (as the Replicate console) ─────────────────────────────────── */
#lightbox{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.93);display:grid;grid-template-rows:1fr auto;padding:44px 20px 0}
#lightbox[hidden]{display:none}
#lightbox .lb-stage{display:grid;place-items:center;min-height:0}
#lightbox .lb-stage img,#lightbox .lb-stage video{max-width:100%;max-height:100%;object-fit:contain;border-radius:6px;background:#111}
#lightbox .lb-frame{width:min(1100px,100%,calc((100vh - 160px) * 16 / 9));aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#111}
#lightbox .lb-frame iframe{width:100%;height:100%;border:0;display:block}
#lightbox .lb-meta{color:#fff;padding:18px 4px 22px;max-width:1100px;margin:0 auto;width:100%;display:flex;gap:22px;align-items:flex-start;flex-wrap:wrap;font-size:13.5px}
#lightbox .lb-meta .t{font-size:16px;font-weight:500;margin-bottom:3px}
#lightbox .lb-meta .m{font-family:var(--mono);font-size:12px;color:#A8A8A8}
#lightbox > button{position:absolute;background:rgba(255,255,255,.1);color:#fff;border:0;border-radius:100px;width:42px;height:42px;font-size:20px;line-height:1;display:grid;place-items:center;cursor:pointer;z-index:2}
#lightbox > button:hover{background:rgba(255,255,255,.22)}
#lightbox > button[hidden]{display:none}
#lb-close{top:14px;right:16px}
#lb-prev{left:16px;top:50%;transform:translateY(-50%)}
#lb-next{right:16px;top:50%;transform:translateY(-50%)}
@media (max-width:620px){ #lb-prev,#lb-next{top:auto;bottom:16px;transform:none} }
body.lb-open-body{overflow:hidden}
/* A video in a step: a poster with a play button that opens the lightbox */
.vid-poster{position:relative;display:block;width:100%;aspect-ratio:16/9;border:0;padding:0;border-radius:14px;overflow:hidden;cursor:pointer;
  background:linear-gradient(135deg,#1b1330,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%)}
.vid-poster img,.vid-poster video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.vid-poster::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.65))}
.vp-play{position:absolute;inset:0;margin:auto;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;z-index:1;color:#fff;
  background:rgba(255,255,255,.18);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 0 0 2px rgba(255,255,255,.5);transition:transform .2s}
.vp-play svg{width:30px;height:30px;margin-left:4px}
.vid-poster:hover .vp-play{transform:scale(1.08);background:rgba(255,255,255,.28)}
.vp-t{position:absolute;left:20px;bottom:16px;z-index:1;display:flex;flex-direction:column;text-align:left;color:#fff}
.vp-t b{font-size:16px;font-weight:600}
.vp-t span{font-size:13px;opacity:.85}
.sh-gallery .lb-open{display:block;width:100%;border:0;padding:0;background:none;cursor:zoom-in}

/* Induction: one blue → pink → orange bar across all the steps */
.lms-dot.done i,.lms-dot.done.on i{background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);background-size:calc(var(--n,1) * 100% + (var(--n,1) - 1) * 4px) 100%;
  background-position:calc(var(--k,0) / max(var(--n,1) - 1, 1) * 100%) 0}
.ip-bar i,.ind-mini .ip-bar i{background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) !important}
/* Induction intro */
.lms-intro{padding-top:28px}
.li-hero{position:relative;border-radius:18px;overflow:hidden;min-height:240px;display:flex;align-items:flex-end;
  background:linear-gradient(120deg,#1b1330 0%,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%)}
.li-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.li-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.6))}
.li-hero-in{position:relative;z-index:1;padding:28px}
.li-hero .eyebrow{color:rgba(255,255,255,.85)}
.ind-sheet .li-hero h2{color:#fff;margin:10px 0 0;font-size:clamp(30px,4vw,46px)}
.li-intro{font-size:17px;line-height:1.6;color:var(--ink-2);margin:24px 0 0}
.li-facts{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 0}
.li-facts span{padding:8px 14px;border-radius:999px;background:var(--sunken);font-size:14px;color:var(--ink-2)}
.li-facts b{color:var(--ink);font-weight:700;margin-right:3px}
.li-tasks{font-size:14px;color:var(--grey-60);margin:14px 0 0}
.li-steps{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:8px}
.li-steps button{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font:inherit;color:inherit;text-align:left;cursor:pointer}
.li-steps button:hover{border-color:var(--hub-magenta)}
.li-steps .s-n{font-family:var(--mono);font-size:12px;color:var(--hub-magenta)}
.li-steps b{flex:1;font-weight:500;font-size:14px}
.li-steps .li-ok{color:#13894f;font-weight:700}
.li-steps .done b{color:var(--grey-60)}
.li-acts{justify-content:flex-start;margin-top:28px}
/* Answers: open the pages and files straight from the answer */
.go-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px;margin:0 0 14px}
.go-card{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);text-decoration:none;min-width:0}
.go-card:hover{border-color:var(--hub-magenta);box-shadow:0 8px 20px -14px rgba(27,19,48,.4)}
.go-card .pl-mark{width:28px;height:28px;border-radius:8px}
.go-card .pl-mark img{width:18px;height:18px}
.go-card .sd-t b{font-size:13.5px;white-space:nowrap}
.go-card .sd-t span{font-size:11.5px;white-space:nowrap}
.go-open{flex:none;font-size:12.5px;font-weight:600;padding:5px 10px;border-radius:999px;background:#000;color:#fff}
.go-card:hover .go-open{background:var(--hub-magenta)}
.msg .go-cards{grid-template-columns:1fr}

/* Admin: a tool's uploaded logo */
.logo-field{display:flex;align-items:center;gap:12px}
.lf-prev{width:44px;height:44px;border-radius:8px;border:1px dashed var(--g30,#ccc);display:grid;place-items:center;overflow:hidden;background:#fff;flex:none}
.lf-prev img{width:76%;height:76%;object-fit:contain}
.lf-pick{cursor:pointer}

/* Induction tab: one welcome screen and one button into the course */
.ind-welcome{max-width:880px;margin:8px auto 28px;border-radius:20px;overflow:hidden;background:var(--panel);border:1px solid var(--g20,#e5e5e5)}
.ind-welcome .li-hero{border-radius:0;min-height:300px}
.ind-welcome .li-hero h2{color:#fff;margin:10px 0 0;font-size:clamp(30px,4.4vw,46px)}
.iw-body{padding:28px 32px 34px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.iw-body .li-intro,.iw-body .li-tasks{margin:0}
.iw-note{margin:0;font-size:14px;color:var(--grey-60);line-height:1.55}
.iw-prog{width:100%}
.iw-prog-t{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px}
.iw-prog-t span{color:var(--grey-60)}
.iw-bar{height:6px;border-radius:99px;background:var(--sunken);overflow:hidden}
.iw-bar i{display:block;height:100%;border-radius:inherit;background:var(--hub-grad)}
.ind-welcome .cert{width:100%;margin:0}
/* The home search box's gradient ring, as a button */
.grad-btn{display:inline-flex;align-items:center;gap:14px;height:56px;padding:0 30px;margin-top:6px;border-radius:999px;border:2px solid transparent;cursor:pointer;
  font:inherit;font-size:16px;font-weight:600;color:var(--ink);
  background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--hub-grad) border-box;transition:box-shadow .2s,transform .2s}
.grad-btn:hover{box-shadow:0 8px 28px -8px rgba(252,49,187,.45),0 4px 16px -6px rgba(45,225,253,.4);transform:translateY(-1px)}
.grad-btn:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.grad-btn span:last-child{transition:transform .2s}
.grad-btn:hover span:last-child{transform:translateX(3px)}
@media (max-width:640px){ .iw-body{padding:22px 18px 26px} .ind-welcome .li-hero{min-height:220px}
  .grad-btn{width:100%;justify-content:center} }

/* Answers: pages with a picture get a large card; your matching generations */
.pic-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;margin:0 0 12px}
.pic-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);color:var(--ink);text-decoration:none;transition:box-shadow .2s,border-color .2s,transform .2s}
.pic-card:hover{border-color:var(--hub-magenta);box-shadow:0 14px 30px -18px rgba(27,19,48,.5);transform:translateY(-1px)}
.pc-img{display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#1F4E79,#3E0B5A);overflow:hidden}
.pc-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.pic-card:hover .pc-img img{transform:scale(1.03)}
.pc-body{display:flex;align-items:center;gap:10px;padding:14px 14px 16px;min-width:0}
.pc-body .sd-t{flex:1;min-width:0}
.pc-body .sd-t b{font-size:15.5px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-body .sd-t span{font-size:12px;color:var(--grey-60);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pc-body .go-open{flex:none}
.msg .pic-cards{grid-template-columns:1fr}
.answer-gens{margin:6px 0 14px}
.answer-gens .lab{margin-bottom:8px}
.ag-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.ag-tile{position:relative;aspect-ratio:1/1;border-radius:12px;overflow:hidden;display:flex;align-items:flex-end;padding:0 0 8px 10px;color:#fff;text-decoration:none;background:linear-gradient(135deg,#4A1D5E,#C1287F 60%,#FF7A00 130%)}
.ag-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.ag-tile:hover img{transform:scale(1.04)}
.ag-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.75));pointer-events:none}
.ag-all{display:grid;place-items:center;aspect-ratio:1/1;border-radius:12px;border:1px dashed var(--line);color:var(--ink);text-decoration:none;font-size:13px;font-weight:500}
.ag-all:hover{border-color:var(--hub-magenta)}

/* Header content sits in the same 1280 container as the page */
body header.app .hd-in{max-width:var(--page-w);margin:0 auto;padding:0 40px}
@media (max-width:720px){ body header.app .hd-in{padding:0 16px} }
/* The wash (Figma 180:10313 "Background wash"): one 900x520 ellipse, aqua -> magenta -> orange,
   blurred 160 and running off the right edge of the window. */
html,body{overflow-x:clip}
.hub-wash,#tab-home .hub-wash{top:0;right:calc(-1 * max(20px, (100vw - 1400px) / 2) - 220px);width:900px;height:520px;border-radius:50%;filter:blur(80px);
  background:linear-gradient(90deg,rgba(45,225,253,.18),rgba(252,49,187,.14) 50%,rgba(255,122,0,.16))}
@media (max-width:900px){ .hub-wash,#tab-home .hub-wash{width:640px;height:400px;right:-260px;filter:blur(60px)} }
/* Office times: a small clock button; the band opens under the header */
.hd-clock{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:none;color:#fff;font:inherit;font-size:13px;cursor:pointer}
.hd-clock:hover,.hd-clock[aria-expanded="true"]{border-color:#fff;background:rgba(255,255,255,.08)}
.hd-clock .hc-t{display:none}
@media (max-width:720px){ .hd-clock .hc-t{display:none} .hd-clock{padding:0 8px} }
#clocks.clock-band{margin:0;width:auto;animation:ck-open .28s ease-out}
@keyframes ck-open{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
#clocks[hidden]{display:none !important}

/* ── Role home pages (Figma role layouts) ─────────────────────────────────── */
.sec-pool{display:none !important}
.qa.dark{background:#000;color:#fff;border-color:#000}
button.qa{font-family:inherit;cursor:pointer}
.hb-viewas{display:inline-flex;align-items:center;gap:8px;margin-right:auto;font-size:12.5px;color:var(--grey-60)}
.hb-viewas select{height:34px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:0 12px;font:inherit;font-size:13px}
.hc-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 20px 16px;border-top:1px solid var(--g20)}
.pbar.grad i{background:var(--hub-grad)}
b.bad{color:#B00020}
/* Studio notices */
.notice-bar{max-width:var(--page-w);margin:0 auto 20px;display:grid;gap:8px}
.nb-item{display:flex;gap:12px;align-items:flex-start;padding:12px 16px;border-radius:12px;background:#D5F8FF;color:#0E4A57}
.nb-item svg{flex:none;margin-top:2px}
.nb-item b{display:block;font-size:14.5px}
.nb-item span{font-size:13px}
.nt-row{display:flex;align-items:flex-start;gap:10px;padding:12px 20px;border-top:1px solid var(--g20)}
.nt-row > div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.nt-row b{font-size:14px}
.nt-row span{font-size:12.5px;color:var(--grey-60)}
.nt-row em{font-style:normal;font-size:11.5px;font-weight:600}
.nt-row em.live{color:#1E7B34}
.nt-row em.sched{color:#B05027}
/* Figma */
.fg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 20px 20px}
.fg-tile{display:flex;flex-direction:column;border:1px solid var(--g20);border-radius:10px;overflow:hidden;text-decoration:none;color:var(--ink);background:var(--panel)}
.fg-tile:hover{border-color:var(--hub-magenta)}
.fg-img{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#1F4E79,#3E0B5A)}
.fg-img img{width:100%;height:100%;object-fit:cover;display:block}
.fg-img .grad-line{position:absolute;left:10px;bottom:10px;width:18px;height:2px;background:var(--hub-grad)}
.fg-tile b{font-size:13px;padding:10px 12px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fg-tile span:last-child{font-size:11.5px;color:var(--grey-60);padding:2px 12px 12px}
.fg-row{display:flex;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid var(--g20)}
.fg-row img,.fg-row .fg-ph{width:56px;height:36px;border-radius:6px;object-fit:cover;flex:none;background:linear-gradient(135deg,#1F4E79,#3E0B5A)}
.fg-row > div{flex:1;min-width:0;display:flex;flex-direction:column}
.fg-row b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fg-row span{font-size:12px;color:var(--grey-60)}
.btn.sm{height:32px;padding:0 14px;font-size:12.5px}
@media (max-width:720px){ .fg-grid{grid-template-columns:1fr 1fr}
  .fg-grid .fg-tile:nth-child(3){display:none} }
/* KPI tiles */
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.kpi{background:var(--panel);border:1px solid var(--g20);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:4px;min-width:0}
.kpi.first{border:1.5px solid transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--hub-grad) border-box}
.kpi .k-l{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60)}
.kpi b{font-size:28px;font-weight:700;letter-spacing:-.02em;line-height:1.15}
.kpi .k-s{font-size:12px;color:var(--grey-60)}
.kpi .k-s.bad{color:#B00020}
.kpi .k-s.good{color:#1E7B34}
.kpi-note{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--grey-60);margin:10px 0 0}
@media (max-width:900px){ .kpis{grid-template-columns:1fr 1fr} }
/* Bars by client / AI spend */
.cl-rows,.ai-rows{padding:4px 20px 18px}
.cl-row,.ai-row{display:grid;grid-template-columns:minmax(90px,170px) minmax(0,1fr) 90px;align-items:center;gap:14px;padding:9px 0;font-size:14px}
.ai-row{grid-template-columns:minmax(90px,170px) minmax(0,1fr) 80px 50px;width:100%;background:none;border:0;border-radius:8px;font:inherit;color:inherit;text-align:left;cursor:pointer;padding:9px 8px;margin:0 -8px}
.ai-row:hover,.ai-row[aria-expanded="true"]{background:var(--g10)}
.ai-row b,.cl-row b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cl-bar{height:10px;border-radius:99px;background:var(--g10);overflow:hidden}
.cl-bar i{display:block;height:100%;border-radius:inherit}
.cl-n{text-align:right;font-variant-numeric:tabular-nums}
.ai-used{text-align:right;color:var(--grey-60);font-size:13px}
.ai-more{display:grid;grid-template-columns:1fr 1fr;gap:6px 24px;margin:4px 0 10px;padding:12px 14px;border-radius:10px;background:var(--g10);font-size:13px}
.ai-more em{display:block;font-style:normal;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60);margin-bottom:4px}
.ai-more span{display:flex;justify-content:space-between;padding:2px 0}
.ai-more p{grid-column:1/-1;margin:6px 0 0;color:var(--grey-60);font-size:12px}
/* Invoices owed */
.aging{display:flex;height:10px;border-radius:99px;overflow:hidden;margin:0 20px;background:var(--g10)}
.aging i{display:block;height:100%}
.aging-key{display:flex;flex-wrap:wrap;gap:6px 18px;padding:10px 20px 6px;font-size:12px;color:var(--grey-60)}
.aging-key i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px}
.aging-key b{color:var(--ink);margin-left:4px}
.inv-row{display:grid;grid-template-columns:90px minmax(0,1fr) 90px 120px 70px;gap:12px;align-items:center;padding:10px 20px;border-top:1px solid var(--g20);font-size:13.5px}
.inv-row > span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.inv-th{font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60);background:var(--g10)}
@media (max-width:720px){
  .inv-row{grid-template-columns:1fr auto}
.inv-row > :nth-child(2),.inv-row > :nth-child(4),.inv-th{display:none} }
/* Brand kits + drawer */
.kits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.kit{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:12px;border:1px solid var(--g20);border-radius:12px;background:var(--panel);color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.kit:hover{border:1px solid transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--hub-grad) border-box}
.kit-sw{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:100%;margin-bottom:8px}
.kit-sw i{height:28px;border-radius:5px;border:1px solid rgba(0,0,0,.06)}
.kit b{font-size:14px} .kit span{font-size:12px;color:var(--grey-60)} .kit em{font-style:normal;font-size:12.5px;font-weight:600;margin-top:6px;display:inline-flex;gap:4px;align-items:center}
@media (max-width:900px){ .kits{grid-template-columns:1fr 1fr} }
.hub-drawer-scrim{position:fixed;inset:0;z-index:80;background:rgba(0,0,0,.4)}
.hub-drawer{position:fixed;z-index:81;top:0;right:0;bottom:0;width:min(440px,100vw);background:var(--panel);overflow-y:auto;padding:28px 28px 40px;box-shadow:-20px 0 60px -30px rgba(0,0,0,.5);animation:dr-in .25s ease-out}
@keyframes dr-in{from{transform:translateX(30px);opacity:0}to{transform:none;opacity:1}}
.dr-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:20px}
.dr-head h3{font-size:26px;margin:4px 0 2px}
.dr-head span{font-size:12.5px;color:var(--grey-60)}
.dr-close{border:0;background:none;font-size:26px;line-height:1;cursor:pointer;color:var(--ink);height:32px}
.dr-sec{margin:0 0 22px}
.dr-sec .lab{margin-bottom:10px}
.sw-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.sw{position:relative;display:flex;flex-direction:column;gap:2px;border:0;background:none;padding:0;text-align:left;font:inherit;color:var(--ink);cursor:pointer}
.sw i{height:56px;border-radius:8px;border:1px solid var(--g20);margin-bottom:6px}
.sw.copied i{outline:2px solid var(--hub-magenta);outline-offset:2px}
.sw.copied::after{content:"Copied";position:absolute;top:6px;left:6px;font-size:10.5px;font-weight:600;background:#C6FFC1;color:#194B15;padding:2px 7px;border-radius:99px}
.sw b{font-size:12.5px} .sw span{font-size:11.5px;color:var(--grey-60)}
.font-row{display:flex;gap:14px;align-items:center;padding:12px 14px;border-radius:10px;background:var(--g10);margin-bottom:8px}
.font-row > span{font-size:20px;font-weight:600}
.font-row b{display:block;font-size:14px}
.font-row small{font-size:12px;color:var(--grey-60)}
/* Recent files */
.file-row{position:relative;display:flex;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid var(--g20)}
.file-ic{width:34px;height:34px;border-radius:7px;display:grid;place-items:center;font-size:12px;font-weight:700;flex:none}
.file-row > div{flex:1;min-width:0;display:flex;flex-direction:column}
.file-row b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-row > div > span{font-size:12px;color:var(--grey-60)}
.file-row > em{font-style:normal;font-size:12px;color:var(--grey-60);white-space:nowrap}
.file-menu{position:relative}
.fm-btn{border:0;background:none;font:inherit;cursor:pointer}
.fm-pop{position:absolute;right:0;top:calc(100% + 6px);z-index:20;width:240px;background:var(--panel);border:1px solid var(--g20);border-radius:12px;box-shadow:0 18px 40px -20px rgba(0,0,0,.45);padding:6px;display:flex;flex-direction:column}
.fm-pop a,.fm-pop button{display:flex;justify-content:space-between;gap:8px;padding:10px 12px;border-radius:8px;font:inherit;font-size:13.5px;color:var(--ink);text-decoration:none;background:none;border:0;text-align:left;cursor:pointer}
.fm-pop a:hover,.fm-pop button:hover{background:var(--g10)}
.fm-pop span{font-size:11.5px;color:var(--grey-60)}
/* Code reviews */
.pr-row{display:flex;align-items:center;gap:12px;padding:12px 20px;border-top:1px solid var(--g20)}
.pr-dot{width:8px;height:8px;border-radius:50%;flex:none;background:var(--g40)}
.pr-dot.passed{background:#1E7B34}
.pr-dot.failed{background:#B00020}
.pr-dot.running{background:#FF7A00}
.pr-row > div{flex:1;min-width:0;display:flex;flex-direction:column}
.pr-row b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pr-row b span{color:var(--grey-60);font-weight:400}
.pr-row > div > span{font-size:12px;color:var(--grey-60)}
.spill.dark{background:#000;color:#fff}
@media (max-width:720px){
  .pr-row .spill{display:none} }
/* Console health */
.health-card{position:relative;background:#111;color:#fff;border-radius:12px;overflow:hidden}
.health-card .grad-line{height:2px;background:var(--hub-grad)}
.hl-in{padding:20px 24px 22px}
.hl-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.hl-head h3{font-size:20px;margin:0 0 4px}
.hl-head span{font-size:12.5px}
.hl-head .good{color:#7CF29C}
.hl-head .bad{color:#FF8A8A}
.hl-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,180px));gap:12px;margin:16px 0}
.hl-t{border:1px solid #393939;border-radius:10px;padding:12px 14px;display:flex;flex-direction:column}
.hl-t.aqua{border-color:#2DE1FD}
.hl-t.orange{border-color:#FF7A00}
.hl-t em{font-style:normal;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:#C6C6C6}
.hl-t b{font-size:30px;line-height:1.2}
.hl-t span{font-size:12px;color:#C6C6C6}
.hl-errs{border-top:1px solid #393939}
.hl-err{display:flex;gap:14px;padding:10px 0;border-bottom:1px solid #262626;font-size:13px}
.hl-err > b{width:44px;flex:none}
.hl-err small{display:block;color:#A8A8A8;font-size:11.5px}
.hl-ok{color:#C6C6C6;font-size:13px;margin:0}
/* Paymo tasks */
.tk-row{display:flex;align-items:center;gap:12px;padding:11px 20px;border-top:1px solid var(--g20);text-decoration:none;color:var(--ink)}
.tk-row:hover{background:var(--g10)}
.tk-box{width:18px;height:18px;border:1.5px solid var(--g60);border-radius:4px;display:grid;place-items:center;flex:none}
.tk-row.done .tk-box{background:#000;border-color:#000;color:#fff}
.tk-row.done b{text-decoration:line-through;color:var(--grey-60)}
.tk-row > div{flex:1;min-width:0;display:flex;flex-direction:column}
.tk-row b{font-size:14px;font-weight:500}
.tk-row > div > span{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--grey-60)}
/* Timesheets */
.ts-bar{padding:0 20px 10px}
.ts-row{display:grid;grid-template-columns:28px minmax(0,1fr) 80px 44px;gap:10px;align-items:center;padding:7px 20px;font-size:13.5px}
.ts-row .av.xs{margin:0}
.ts-row b{text-align:right;color:#B00020}
.rm-list{max-height:300px;overflow:auto;border:1px solid var(--g20);border-radius:10px;margin-bottom:14px}
.rm-row{display:grid;grid-template-columns:20px 28px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 12px;border-top:1px solid var(--g20);font-size:14px;cursor:pointer}
.rm-row:first-child{border-top:0}
.rm-row .av.xs{margin:0}
/* Freelancer: your project, invoices; finance: to process */
.fp-hero{border-radius:14px;padding:22px 24px;color:#fff;background:linear-gradient(110deg,#2B0A3D,#6B1773 55%,#C1287F)}
.fp-top{display:flex;gap:10px;align-items:center;font-size:11px;letter-spacing:.06em;text-transform:uppercase}
.fp-code{background:#fff;color:#000;border-radius:99px;padding:3px 10px;font-weight:700;letter-spacing:.02em}
.fp-hero h3{font-size:28px;margin:12px 0 18px}
.fp-hours{display:flex;justify-content:space-between;font-size:12.5px;margin-bottom:6px;color:rgba(255,255,255,.85)}
.fp-hero .pbar{background:rgba(255,255,255,.25)}
.fp-acts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.fp-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:99px;border:0;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-size:12.5px;text-decoration:none;cursor:pointer}
.fp-btn:hover{background:rgba(255,255,255,.24)}
.fp-team{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.fp-person{display:flex;align-items:center;gap:10px;background:#fff;color:#000;border-radius:10px;padding:10px 12px}
.fp-person b{display:block;font-size:13.5px}
.fp-person span{font-size:11.5px;color:#6f6f6f}
.mi-row{display:grid;grid-template-columns:20px minmax(0,1fr) auto auto auto;gap:12px;align-items:center;padding:11px 20px;border-top:1px solid var(--g20);font-size:13.5px}
.mi-row > div{display:flex;flex-direction:column;min-width:0}
.mi-row > div span{font-size:12px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-row{display:flex;flex-wrap:wrap;align-items:flex-start;gap:8px 12px;padding:14px 20px;border-top:1px solid var(--g20)}
.tp-row > div:first-child{flex:1;min-width:0;display:flex;flex-direction:column}
.tp-row b{font-size:14px}
.tp-row span,.tp-row small{font-size:12px;color:var(--grey-60)}
.tp-acts{flex-basis:100%;display:flex;gap:8px}
/* The hub's modal */
.hub-modal{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.45);display:grid;place-items:center;padding:16px;animation:ck-open .2s ease-out}
.hm-card{width:min(520px,100%);max-height:calc(100vh - 32px);overflow:auto;background:var(--panel);color:var(--ink);border-radius:18px;padding:24px 24px 20px;box-shadow:0 30px 80px -30px rgba(0,0,0,.6)}
.hm-card h3{display:flex;align-items:center;gap:10px;font-size:21px;margin:0 0 4px}
.hm-sub{font-size:13px;color:var(--grey-60);margin:0 0 16px}
.hm-f{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:500;margin:0 0 12px}
.hm-f input,.hm-f select,.hm-f textarea{font:inherit;font-size:14.5px;font-weight:400;padding:10px 12px;border:1px solid var(--g30,#c6c6c6);border-radius:10px;background:var(--panel);color:var(--ink);width:100%;box-sizing:border-box}
.hm-f input:focus,.hm-f select:focus,.hm-f textarea:focus{outline:2px solid var(--ink);outline-offset:0;border-color:var(--ink)}
.hm-2{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.hm-help{font-size:12px;color:var(--grey-60);margin:-4px 0 10px}
.hm-check{display:flex;align-items:center;gap:8px;font-size:13.5px;margin:0 0 12px}
.hm-acts{display:flex;align-items:center;gap:10px;margin-top:16px}
.hm-acts .sp{flex:1}
.hm-drop{display:flex;align-items:center;justify-content:center;gap:8px;min-height:64px;margin:0 0 12px;border:1.5px dashed var(--g30,#c6c6c6);border-radius:12px;font-size:13.5px;color:var(--grey-60);cursor:pointer;text-align:center;padding:10px}
.hm-drop.over,.hm-drop:hover{border-color:var(--hub-magenta);color:var(--ink)}
.hm-drop.has{border-style:solid;color:var(--ink);background:var(--g10)}
.seg{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.seg button{height:30px;padding:0 12px;border-radius:99px;border:1px solid var(--g30,#c6c6c6);background:var(--panel);color:var(--ink);font:inherit;font-size:12.5px;cursor:pointer}
.seg button[aria-pressed="true"]{background:#000;border-color:#000;color:#fff}
.hm-f .seg{margin:4px 0 0}
.lv-sum{font-size:13px;font-weight:600;margin:-2px 0 12px;color:var(--hub-magenta-medium,#A924B4)}
.lv-done{text-align:center;padding:10px 4px 0}
.lv-done h3{justify-content:center}
.lv-done p{color:var(--grey-60);font-size:14px;line-height:1.5}
.lv-ok{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#C6FFC1;color:#194B15;margin-bottom:10px}
.app-mark.ic.tint-aqua{background:#D5F8FF;color:#0E4A57}
@media (max-width:600px){ .hm-2{grid-template-columns:1fr} .hm-card{padding:20px 16px 16px} }

.hm-f small{font-weight:400;color:var(--grey-60)}
.hm-help2{font-size:12px;font-weight:400;color:var(--grey-60);margin-top:-2px}
.rf-files{display:grid;gap:6px;margin:-4px 0 12px}
.rf-file{display:flex;align-items:center;gap:8px;font-size:13px;padding:8px 10px;border-radius:8px;background:var(--g10)}
.rf-file span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rf-file em{font-style:normal;color:var(--grey-60);font-size:12px}
.res-person .av{margin:0}
.res-row button.hub-link{background:none;border:0;font:inherit;cursor:pointer;justify-self:end}
.res-row .rr-src,.res-row .rr-ver{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* Phones and tablets: the clock button stays in the header beside the menu */
@media (max-width:1000px){ body header.app .hd-right{display:flex!important;margin-left:auto;gap:8px} body header.app .hd-right > :not(.hd-clock):not(.hd-wx){display:none!important} body header.app .hd-right > .hd-wx[hidden]{display:none!important} }

/* ── Induction: welcome, path, gradient progress, pink tick boxes ─────────── */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.iw{max-width:1120px;margin:4px auto 28px}
.iw-hero{position:relative;border-radius:24px;overflow:hidden;min-height:360px;display:flex;align-items:flex-end;background:#1b1330;color:#fff;isolation:isolate}
.iw-hero > img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;animation:iw-zoom 22s ease-in-out infinite alternate;filter:grayscale(.2)}
@keyframes iw-zoom{from{transform:scale(1.02)}to{transform:scale(1.12) translate(-1.5%,-1%)}}
.iw-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(14,8,28,.92) 0%,rgba(14,8,28,.72) 45%,rgba(14,8,28,.2) 100%)}
.iw-glow{position:absolute;z-index:-1;right:-10%;bottom:-40%;width:70%;height:120%;border-radius:50%;filter:blur(60px);opacity:.55;
  background:radial-gradient(closest-side,rgba(252,49,187,.7),transparent),radial-gradient(closest-side at 30% 60%,rgba(45,225,253,.55),transparent);animation:iw-drift 12s ease-in-out infinite alternate}
@keyframes iw-drift{to{transform:translate(-12%,-8%) scale(1.1)}}
.iw-hero-in{width:100%;display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:40px 44px}
.iw-copy{max-width:640px;animation:iw-up .6s ease-out both}
.iw-copy .eyebrow{color:rgba(255,255,255,.8)}
.iw-copy h2{color:#fff;font-size:clamp(34px,5vw,58px);letter-spacing:-.025em;line-height:1.02;margin:12px 0 14px}
.iw-copy p{font-size:16px;line-height:1.6;color:rgba(255,255,255,.86);margin:0}
.iw-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.iw-chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);font-size:13.5px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.iw-chip b{font-weight:700}
@keyframes iw-up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
.iw-ring{position:relative;width:148px;height:148px;flex:none;animation:iw-up .6s .15s ease-out both}
.iw-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.iw-ring circle{fill:none;stroke-width:8}
.iw-ring .r-bg{stroke:rgba(255,255,255,.18)}
.iw-ring .r-fg{stroke:url(#iw-grad);stroke-linecap:round;stroke-dasharray:var(--c);stroke-dashoffset:var(--c);animation:iw-ring 1.4s .3s cubic-bezier(.2,.8,.2,1) forwards}
@keyframes iw-ring{to{stroke-dashoffset:var(--off)}}
.iw-ring > div{position:absolute;inset:0;display:grid;place-content:center;text-align:center}
.iw-ring b{font-size:30px;font-weight:700;line-height:1}
.iw-ring span{font-size:11.5px;color:rgba(255,255,255,.75);margin-top:4px}
.iw-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;margin-top:24px;align-items:start}
.iw-path{background:var(--panel);border:1px solid var(--g20,#e5e5e5);border-radius:20px;padding:22px 22px 12px}
.iw-h{display:flex;align-items:baseline;justify-content:space-between;margin:0 6px 10px}
.iw-h b{font-size:18px}
.iw-h span{font-size:12.5px;color:var(--grey-60)}
.iw-path ol{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.iw-path li{animation:iw-up .45s ease-out both;animation-delay:calc(var(--i) * 45ms)}
.iw-path li button{width:100%;display:flex;align-items:center;gap:14px;padding:12px 14px;border:1px solid transparent;border-radius:14px;background:none;font:inherit;color:var(--ink);text-align:left;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}
.iw-path li button:hover{background:var(--sunken);transform:translateX(3px)}
.iw-path li.next button{border:1.5px solid transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--hub-grad) border-box}
.iw-n{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:12px;font-weight:700;background:var(--sunken);color:var(--grey-60);flex:none}
.iw-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.iw-t b{font-size:15px;font-weight:600}
.iw-path li.done .iw-t b{color:var(--grey-60)}
.iw-t span{display:flex;gap:5px;flex-wrap:wrap}
.iw-t em{font-style:normal;font-size:10.5px;font-weight:600;letter-spacing:.03em;padding:2px 8px;border-radius:99px;background:#FFE3F5;color:#A9127A}
.iw-next{font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#fff;background:var(--hub-grad);padding:4px 10px;border-radius:99px;white-space:nowrap}
.iw-go{color:var(--grey-60);transition:transform .2s}
.iw-path li button:hover .iw-go{transform:translateX(3px);color:var(--ink)}
.iw-side{position:sticky;top:96px}
.iw-cta{background:var(--panel);border:1px solid var(--g20,#e5e5e5);border-radius:20px;padding:24px;display:flex;flex-direction:column;gap:14px;animation:iw-up .5s .2s ease-out both}
.iw-cta .iw-note{margin:0}
.iw-cta .grad-btn{width:100%;justify-content:center;margin:0}
.iw-cta .cert{margin:0}
.iw-listen,.lms-say{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--g30,#c6c6c6);background:var(--panel);color:var(--ink);font:inherit;font-size:14px;cursor:pointer}
.iw-listen[aria-pressed="true"],.lms-say[aria-pressed="true"]{border-color:#FC31BB;color:#A9127A;background:#FFF0FA}
.iw-voice{font-size:11.5px;color:var(--grey-60);text-align:center;margin-top:-8px}
.lms-say{height:34px;padding:0 12px;font-size:13px;margin-left:auto;margin-right:8px}
@media (max-width:900px){
  .iw-grid{grid-template-columns:1fr}
.iw-side{position:static;order:-1}
.iw-hero-in{flex-direction:column;align-items:flex-start;padding:28px 22px}
.iw-ring{width:118px;height:118px}
.iw-hero{min-height:420px} }
/* The pink tick box */
.ptick{width:24px;height:24px;flex:none;border-radius:7px;border:2px solid #FC31BB;display:grid;place-items:center;background:#fff;transition:background .2s,box-shadow .2s}
.ptick svg{width:16px;height:16px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:22;stroke-dashoffset:22}
.ptick.on{background:#FC31BB;box-shadow:0 4px 12px -4px rgba(252,49,187,.7);animation:ptick-pop .38s cubic-bezier(.3,1.6,.5,1)}
.ptick.on svg{animation:ptick-draw .32s .08s ease-out forwards}
@keyframes ptick-pop{0%{transform:scale(.7)}60%{transform:scale(1.15)}100%{transform:scale(1)}}
@keyframes ptick-draw{to{stroke-dashoffset:0}}
.iw-path .ptick.on{animation-delay:calc(var(--i) * 45ms + .3s);animation-fill-mode:both}
.iw-path .ptick.on svg{animation-delay:calc(var(--i) * 45ms + .38s)}
/* Step checklists */
.lms-in .md ul,.lms-in .md ol{list-style:none;padding:0;margin:14px 0}
.lms-in .md li.tick-li{display:flex;align-items:flex-start;gap:12px;padding:10px 12px;margin:0 0 6px;border-radius:12px;cursor:pointer;transition:background .2s}
.lms-in .md li.tick-li:hover{background:#FFF0FA}
.lms-in .md li.tick-li:focus-visible{outline:2px solid #FC31BB;outline-offset:1px}
.lms-in .md li.tick-li .ptick{margin-top:1px}
.lms-in .md li.ticked{color:var(--grey-60)}
.tick-count{font-size:13px;color:#A9127A;margin:6px 0 0}
/* The course's progress: one gradient bar with a segment per step */
.lms-prog{position:relative;height:10px;margin:12px 24px 10px;border-radius:99px;background:var(--line-2,#e0e0e0);overflow:hidden;flex:none}
.lms-fill{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);background-size:200% 100%;
  transition:width .7s cubic-bezier(.2,.8,.2,1);animation:lms-flow 6s linear infinite}
@keyframes lms-flow{from{background-position:0 0}to{background-position:200% 0}}
.lms-segs{position:absolute;inset:0;display:flex}
.lms-seg{flex:1;border:0;padding:0;background:none;cursor:pointer;position:relative}
.lms-seg + .lms-seg::before{content:"";position:absolute;left:-1.5px;top:0;bottom:0;width:3px;background:var(--ground,#fff)}
.lms-seg:hover{background:rgba(255,255,255,.25)}
.lms-seg.on{box-shadow:inset 0 0 0 2px var(--ink);border-radius:99px}
@media (max-width:600px){
  .lms-prog{margin:8px 14px}
.lms-say span{display:none} }
@media (prefers-reduced-motion:reduce){
  .iw-hero > img,.iw-glow,.lms-fill{animation:none} }
.iw-cta .grad-btn{font-size:15px;white-space:nowrap;padding:0 22px}
.lms-top .lms-title{flex:1}
.lms-say{margin-left:0}
/* Admin → Forms */
.fb-top{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;margin-bottom:16px}
.fb-top .p-note{flex:1;min-width:260px;margin:0}
.fb-acts{display:flex;gap:8px;flex-wrap:wrap}
.fb-acts .btn{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.fb-list{display:grid;gap:10px}
.fb-card{border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden}
.fb-card.open{border-color:var(--ink)}
.fb-head{width:100%;display:flex;align-items:center;gap:12px;padding:14px 16px;background:none;border:0;font:inherit;color:var(--ink);text-align:left;cursor:pointer}
.fb-head .sd-t{flex:1;min-width:0}
.fb-chev{transition:transform .2s;color:var(--grey-60)}
.fb-head[aria-expanded="true"] .fb-chev{transform:rotate(180deg)}
.fb-body{padding:6px 16px 16px;border-top:1px solid var(--line)}
.fb-inline{display:inline-flex;gap:5px;align-items:center;margin-left:8px;font-weight:500}
.fb-qh{display:flex;flex-direction:column;gap:2px;margin:18px 0 10px}
.fb-qh span{font-size:12.5px;color:var(--grey-60)}
.fb-qs{display:grid;gap:8px;margin-bottom:10px}
.fb-q{display:grid;gap:6px;padding:12px;border-radius:12px;background:var(--sunken,#f5f5f5)}
.fb-q input,.fb-q select,.fb-q textarea{font:inherit;font-size:14px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);min-width:0}
.fb-q1{display:grid;grid-template-columns:minmax(0,1fr) 210px auto;gap:6px;align-items:center}
.fb-q2{display:flex;flex-wrap:wrap;gap:6px 16px;align-items:center;font-size:12.5px}
.fb-q2 label{display:inline-flex;align-items:center;gap:6px}
.fb-q2 select{padding:4px 8px;font-size:12.5px}
.fb-id input{font-family:ui-monospace,Menlo,monospace;font-size:12px !important;width:260px;padding:4px 8px !important}
.fb-move{display:flex;gap:4px}
.fb-move button{width:30px;height:30px;border-radius:8px;border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer;font-size:14px}
.fb-move .fb-x:hover{border-color:#B00020;color:#B00020}
button.form-link{font:inherit;text-align:left;cursor:pointer;width:100%}
@media (max-width:720px){ .fb-q1{grid-template-columns:1fr} .fb-id input{width:100%} }
.fb-body .field input{background:var(--panel);border:1px solid var(--grey-30);padding:11px 13px;font-size:14.5px;border-radius:6px;width:100%;box-sizing:border-box;color:var(--ink);font-family:inherit}
.fb-body .field input:focus{border-color:var(--magenta);outline:none}
.fb-body .edit-grid{margin-top:12px}
/* Induction banner: edge to edge, purple, with a gradient that keeps pulsing */
.iw-hero{width:100vw;margin-left:calc(50% - 50vw);margin-top:-32px;border-radius:0;min-height:400px;
  background:linear-gradient(115deg,#1B0A2E 0%,#3B0B5A 30%,#6B1773 55%,#A31F7E 78%,#3B0B5A 100%);background-size:240% 240%;animation:iw-flow 14s ease-in-out infinite}
.iw-hero::before{background:linear-gradient(90deg,rgba(14,6,26,.55),rgba(14,6,26,.1) 70%)}
@keyframes iw-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
.iw-hero-in{max-width:1120px;margin:0 auto;padding:56px 24px 48px;box-sizing:border-box}
.iw-glow{position:absolute;z-index:-1;border-radius:50%;filter:blur(70px);opacity:.6;bottom:auto;right:auto;animation:iw-pulse 7s ease-in-out infinite}
.iw-glow.g1{width:46vw;height:46vw;max-width:640px;max-height:640px;right:-6vw;top:-30%;background:radial-gradient(closest-side,#FC31BB,transparent)}
.iw-glow.g2{width:38vw;height:38vw;max-width:520px;max-height:520px;left:22%;bottom:-55%;background:radial-gradient(closest-side,#2DE1FD,transparent);animation-delay:-2.3s;opacity:.45}
.iw-glow.g3{width:30vw;height:30vw;max-width:420px;max-height:420px;right:24%;bottom:-40%;background:radial-gradient(closest-side,#FF7A00,transparent);animation-delay:-4.6s;opacity:.4}
@keyframes iw-pulse{0%,100%{transform:scale(.85) translate(0,0);opacity:.35}50%{transform:scale(1.15) translate(-4%,3%);opacity:.7}}
.iw{max-width:none}
.iw-grid{max-width:1120px;margin:28px auto 0}
@media (max-width:600px){
  .iw-hero{margin-top:-24px}
.iw-hero-in{padding:36px 18px 32px} }
@media (prefers-reduced-motion:reduce){
  .iw-hero,.iw-glow{animation:none} }
/* Step checklist: progress, then a "complete" panel */
.tick-count{display:flex;align-items:center;gap:10px;font-size:13px;color:#A9127A;margin:8px 0 0}
.tick-bar{width:120px;height:6px;border-radius:99px;background:#FFE3F5;overflow:hidden}
.tick-bar i{display:block;height:100%;border-radius:inherit;background:var(--hub-grad);transition:width .4s cubic-bezier(.2,.8,.2,1)}
.tick-count.all{display:block}
.tick-done{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:16px;color:var(--ink);overflow:hidden;
  border:1.5px solid transparent;background:linear-gradient(#FFF5FB,#FFF5FB) padding-box,var(--hub-grad) border-box}
.tick-count.burst .tick-done{animation:td-in .5s cubic-bezier(.3,1.5,.5,1)}
@keyframes td-in{from{transform:scale(.94);opacity:0}to{transform:none;opacity:1}}
.tick-done > div{flex:1;display:flex;flex-direction:column;gap:2px}
.tick-done b{font-size:15.5px}
.tick-done span{font-size:13px;color:var(--grey-60)}
.ptick.big{width:36px;height:36px;border-radius:10px}
.ptick.big svg{width:22px;height:22px}
.tick-done .confetti{position:absolute;inset:0;pointer-events:none;display:block}
.tick-done .confetti i{position:absolute;top:50%;left:40px;width:6px;height:10px;border-radius:2px;opacity:0;background:#FC31BB}
.tick-count.burst .tick-done .confetti i{animation:td-pop 1s ease-out forwards}
.tick-done .confetti i:nth-child(3n){background:#2DE1FD} .tick-done .confetti i:nth-child(3n+1){background:#FF7A00}
.tick-done .confetti i:nth-child(1){--x:60px;--y:-40px} .tick-done .confetti i:nth-child(2){--x:120px;--y:-20px} .tick-done .confetti i:nth-child(3){--x:90px;--y:30px}
.tick-done .confetti i:nth-child(4){--x:180px;--y:-35px} .tick-done .confetti i:nth-child(5){--x:150px;--y:25px} .tick-done .confetti i:nth-child(6){--x:240px;--y:-10px}
.tick-done .confetti i:nth-child(7){--x:210px;--y:35px} .tick-done .confetti i:nth-child(8){--x:300px;--y:-30px} .tick-done .confetti i:nth-child(9){--x:30px;--y:40px}
.tick-done .confetti i:nth-child(10){--x:20px;--y:-45px} .tick-done .confetti i:nth-child(11){--x:330px;--y:20px} .tick-done .confetti i:nth-child(12){--x:270px;--y:-45px} .tick-done .confetti i:nth-child(13){--x:360px;--y:-5px}
@keyframes td-pop{0%{opacity:1;transform:translate(0,0) rotate(0)}100%{opacity:0;transform:translate(var(--x),var(--y)) rotate(260deg)}}
/* Answers: a project's final links */
.pic-card{display:flex;flex-direction:column}
.pc-main{display:flex;flex-direction:column;color:inherit;text-decoration:none}
.pc-img{position:relative}
.pc-play{position:absolute;left:50%;top:50%;width:54px;height:54px;margin:-27px 0 0 -27px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.pc-play svg{width:22px;height:22px;margin-left:3px}
.final-acts{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 14px}
.go-wrap{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.go-wrap .go-card{border:0}
.go-wrap .final-acts{padding:0 12px 12px}
.final-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:inherit;font-size:12.5px;font-weight:600;text-decoration:none;cursor:pointer}
.final-btn:hover{border-color:var(--ink)}
.final-btn.first{background:#000;border-color:#000;color:#fff}
.final-btn.first img{background:#fff;border-radius:3px}
.iw-hero{margin-top:-36px} @media (max-width:600px){
  .iw-hero{margin-top:-28px} }

/* ── Request forms: wide, two columns, pink dropdowns and calendar ─────────── */
.hm-card.rf-card{width:min(1040px,100%);padding:32px 36px 26px;border-radius:22px;position:relative;overflow:visible;animation:rf-in .32s cubic-bezier(.2,.8,.2,1)}
.hm-card.rf-card::before{content:"";position:absolute;inset:0;border-radius:inherit;border-top:4px solid transparent;background:var(--hub-grad) border-box;background-size:200% 100%;animation:lms-flow 6s linear infinite;pointer-events:none;-webkit-mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0) border-box;-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) padding-box exclude,linear-gradient(#000 0 0) border-box}
@keyframes rf-in{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
.hub-modal:has(.rf-card){overflow-y:auto;align-items:start;padding:40px 16px}
.hm-card.rf-card{max-height:none;overflow:visible}
.rf-card h3{font-size:26px;gap:12px}
.rf-card .hm-sub{font-size:14.5px;margin-bottom:22px}
.rf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 22px}
.rf-grid .rf-wide{grid-column:1/-1}
.rf-grid .hm-f{animation:rf-field .4s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--n) * 35ms + 80ms)}
@keyframes rf-field{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.rf-card .hm-f > label{font-size:13px;font-weight:600}
.rf-card .hm-f input,.rf-card .hm-f textarea{border-radius:12px;padding:12px 14px;transition:border-color .15s,box-shadow .15s}
.rf-card .hm-f input:focus,.rf-card .hm-f textarea:focus{outline:none;border-color:#FC31BB;box-shadow:0 0 0 4px rgba(252,49,187,.14)}
.rf-card .lv-sum{color:#A9127A}
.rf-card .hm-drop:hover,.rf-card .hm-drop.over{border-color:#FC31BB;background:#FFF5FB}
.rf-card .btn-primary{background:#000}
@media (max-width:720px){ .rf-grid{grid-template-columns:1fr} .hm-card.rf-card{padding:24px 18px 18px} .hub-modal:has(.rf-card){padding:12px} }
/* the dropdown and the calendar share a button */
.cs,.cd{position:relative}
.cs-btn{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:46px;padding:0 14px;border:1px solid var(--g30,#c6c6c6);border-radius:12px;background:var(--panel);color:var(--ink);font:inherit;font-size:14.5px;font-weight:400;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s,background .15s}
.cs-btn:hover{border-color:#FC31BB}
.cs.open .cs-btn,.cd.open .cs-btn,.cs-btn:focus-visible{outline:none;border-color:#FC31BB;box-shadow:0 0 0 4px rgba(252,49,187,.14)}
.cs.is-empty .cs-v,.cd.is-empty .cs-v{color:var(--grey-60)}
.cs-v{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cs-chev,.cd-btn svg{color:#FC31BB;flex:none;transition:transform .2s}
.cs.open .cs-chev{transform:rotate(180deg)}
.cs.picked .cs-btn,.cd.picked .cs-btn{animation:cs-pick .45s ease-out}
@keyframes cs-pick{0%{box-shadow:0 0 0 0 rgba(252,49,187,.45)}100%{box-shadow:0 0 0 10px rgba(252,49,187,0)}}
.cs-pop,.cd-pop{position:absolute;z-index:30;left:0;top:calc(100% + 6px);background:var(--panel);border:1px solid var(--g20,#e5e5e5);border-radius:14px;box-shadow:0 22px 50px -18px rgba(27,19,48,.4);
  opacity:0;transform:translateY(-6px) scale(.98);transform-origin:top left;pointer-events:none;visibility:hidden;transition:opacity .16s,transform .18s cubic-bezier(.2,.8,.2,1),visibility 0s .18s}
.cs.open .cs-pop,.cd.open .cd-pop{opacity:1;transform:none;pointer-events:auto;visibility:visible;transition:opacity .16s,transform .18s cubic-bezier(.2,.8,.2,1)}
.cs-pop{right:0;padding:6px}
.cs-list{max-height:260px;overflow-y:auto;display:grid;gap:2px}
.cs-find{width:100%;box-sizing:border-box;margin:0 0 6px;padding:9px 12px;border:1px solid var(--g20,#e5e5e5);border-radius:10px;font:inherit;font-size:14px;background:var(--panel);color:var(--ink)}
.cs-find:focus{outline:none;border-color:#FC31BB}
.cs-o{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;border:0;border-radius:9px;background:none;color:var(--ink);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.cs-o:hover,.cs-o:focus{outline:none;background:#FFF0FA;color:#A9127A}
.cs-o.on{background:#FC31BB;color:#fff;font-weight:600}
.cs-o.on svg{animation:ptick-pop .35s cubic-bezier(.3,1.6,.5,1)}
/* calendar */
.cd-pop{width:312px;padding:14px}
.cd-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.cd-head b{font-size:15px}
.cd-nav{width:34px;height:34px;border-radius:50%;border:0;background:#FFF0FA;color:#A9127A;font-size:20px;line-height:1;cursor:pointer;transition:background .15s,transform .15s}
.cd-nav:hover{background:#FC31BB;color:#fff;transform:scale(1.06)}
.cd-wk,.cd-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}
.cd-wk span{font-size:11px;font-weight:600;letter-spacing:.04em;color:var(--grey-60);padding:4px 0}
.cd-grid.slide-l{animation:cd-l .22s ease-out} .cd-grid.slide-r{animation:cd-r .22s ease-out}
@keyframes cd-l{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
@keyframes cd-r{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:none}}
.cd-d{aspect-ratio:1;border:0;border-radius:50%;background:none;color:var(--ink);font:inherit;font-size:13.5px;cursor:pointer;transition:background .12s,color .12s,transform .12s}
.cd-d.wkend{color:var(--grey-60)}
.cd-d:hover:not([disabled]),.cd-d:focus{outline:none;background:#FFF0FA;color:#A9127A}
.cd-d.today{box-shadow:inset 0 0 0 1.5px #FC31BB;font-weight:600}
.cd-d.on{background:#FC31BB;color:#fff;font-weight:700;animation:ptick-pop .35s cubic-bezier(.3,1.6,.5,1)}
.cd-d[disabled]{opacity:.3;cursor:default}
.cd-foot{display:flex;justify-content:space-between;margin-top:10px;padding-top:10px;border-top:1px solid var(--g20,#e5e5e5)}
.cd-foot button{border:0;background:none;color:#A9127A;font:inherit;font-size:13px;font-weight:600;cursor:pointer;padding:4px 6px;border-radius:6px}
.cd-foot button:hover{background:#FFF0FA}
@media (max-width:720px){ .cd-pop{width:min(312px,calc(100vw - 60px))} }
.rf-grid .hm-f{position:relative;z-index:1;animation-fill-mode:backwards}
.rf-grid .hm-f:has(.cs.open),.rf-grid .hm-f:has(.cd.open){z-index:40}
.hub-modal:has(.rf-card){display:block}
.hm-card.rf-card{margin:0 auto;box-sizing:border-box}
.hub-modal{z-index:120}
/* Answers: a project's preview picture plays its video */
button.pc-img{display:block;width:100%;padding:0;border:0;margin:0;cursor:pointer;font:inherit;text-align:left}
.pc-watch{position:absolute;left:12px;bottom:12px;padding:5px 10px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:12px;font-weight:600;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s}
.pic-card.has-vid:hover .pc-watch,button.pc-img:focus-visible .pc-watch{opacity:1;transform:none}
.pic-card.has-vid .pc-play{transition:transform .2s,background .2s}
.pic-card.has-vid button.pc-img:hover .pc-play{transform:scale(1.08);background:var(--hub-magenta,#FC31BB)}
/* Modals and drawers sit on a dark, near-black backdrop */
.hub-modal{background:rgba(0,0,0,.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.hub-drawer-scrim,.org-scrim,.chat-scrim{background:rgba(0,0,0,.7)}

/* ── Breathing room between the home page's sections ───────────────────── */
.hub-cols{margin-top:40px;gap:36px}
.hub-main,.hub-side{gap:40px}
.hblocks{row-gap:40px;column-gap:28px;margin-top:48px}
#tab-home .hb-bar{margin-top:48px}
#tab-home .row-head{margin-bottom:14px}

/* ── Charles Elena on socials ───────────────────────────────────────────── */
.so-tabs,.sc-tabs{display:flex;gap:6px;flex-wrap:wrap}
.so-tabs .fchip,.sc-tabs .fchip{display:inline-flex;align-items:center;gap:6px}
.so-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media (max-width:1100px){ .so-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
.so-post{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);color:var(--ink);text-decoration:none;
  animation:so-in .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * 60ms);transition:transform .2s,box-shadow .2s,border-color .2s}
.so-post:hover{transform:translateY(-3px);border-color:var(--hub-magenta,#FC31BB);box-shadow:0 18px 34px -22px rgba(27,19,48,.55)}
@keyframes so-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.so-img{position:relative;display:block;aspect-ratio:1/1;background:linear-gradient(135deg,#2DE1FD22,#FC31BB22,#FF7A0022);overflow:hidden}
.so-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.so-post:hover .so-img img{transform:scale(1.04)}
.so-noimg{position:absolute;inset:0;display:grid;place-items:center;color:var(--grey-60)}
.so-noimg svg{width:40px;height:40px}
.so-net{position:absolute;top:10px;right:10px;width:30px;height:30px;border-radius:9px;display:grid;place-items:center;color:#fff;background:#0A66C2}
.so-net.so-instagram{background:linear-gradient(45deg,#F58529,#DD2A7B 50%,#8134AF)}
.so-net.so-other{background:#000}
.so-txt{padding:12px 14px 4px;font-size:13.5px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.so-when{padding:4px 14px 14px;font-size:12px;color:var(--grey-60);margin-top:auto}
.so-follow{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.so-follow .btn{display:inline-flex;align-items:center;gap:8px}
.hblocks .row-head{min-height:36px;align-items:center}

/* ── Scores ─────────────────────────────────────────────────────────────── */
.scores{padding:6px 18px}
.sc-game{display:grid;grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto;column-gap:14px;padding:14px 0;border-bottom:1px solid var(--line);animation:so-in .4s ease both;animation-delay:calc(var(--i) * 50ms)}
.sc-game:last-child{border-bottom:0}
.sc-state{grid-row:1/3;align-self:center;font-size:11.5px;font-weight:600;color:var(--grey-60);text-transform:uppercase;letter-spacing:.04em}
.sc-state.live{color:#E0115F;display:inline-flex;align-items:center;gap:6px}
.sc-state.live i{width:8px;height:8px;border-radius:50%;background:#E0115F;animation:sc-pulse 1.2s ease-in-out infinite}
@keyframes sc-pulse{50%{opacity:.25;transform:scale(.7)}}
.sc-teams{display:flex;flex-direction:column;gap:6px}
.sc-team{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;font-size:14px;color:var(--grey-70)}
.sc-team i{width:24px;height:24px;border-radius:6px;background:var(--sunken);display:grid;place-items:center;font-style:normal;font-size:8.5px;font-weight:700;color:var(--grey-70)}
.sc-team img{width:22px;height:22px;object-fit:contain}
.sc-team b{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-team em{font-style:normal;font-weight:700;font-variant-numeric:tabular-nums}
.sc-team.win{color:var(--ink)}
.sc-team.win b{font-weight:700}
.sc-detail{grid-column:2;font-size:11.5px;color:var(--grey-60);margin-top:4px}

/* ── Client news ────────────────────────────────────────────────────────── */
.cnews{padding:14px 18px}
.cn-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.cn-row{display:block;padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.cn-row:last-child{border-bottom:0}
.cn-row:hover b{color:var(--hub-magenta,#FC31BB)}
.cn-topic{display:block;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#A9127A;margin-bottom:3px}
.cn-row b{display:block;font-size:14px;line-height:1.4;font-weight:600;transition:color .15s}
.cn-row small{display:block;margin-top:4px;font-size:12px;color:var(--grey-60)}

/* ── The news ticker along the bottom ───────────────────────────────────── */
.ticker{position:fixed;left:0;right:0;bottom:0;z-index:65;height:40px;display:flex;align-items:stretch;background:#000;color:#fff;font-size:13.5px;box-shadow:0 -8px 24px -12px rgba(0,0,0,.4)}
.ticker::before{content:"";position:absolute;left:0;right:0;top:0;height:2px;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.tk-lab{flex:none;display:flex;align-items:center;gap:8px;padding:0 16px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:11.5px;background:linear-gradient(90deg,#FC31BB,#A924B4);position:relative;z-index:1}
.tk-lab i{width:8px;height:8px;border-radius:50%;background:#fff;animation:sc-pulse 1.4s ease-in-out infinite}
.tk-view{flex:1;overflow:hidden;position:relative;-webkit-mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,transparent,#000 40px,#000 calc(100% - 40px),transparent)}
.tk-track{display:flex;width:max-content;height:100%;animation:tk-roll var(--tk-dur,60s) linear infinite}
.ticker:hover .tk-track,.ticker:focus-within .tk-track{animation-play-state:paused}
@keyframes tk-roll{to{transform:translateX(-50%)}}
.tk-run{display:flex;align-items:center;flex:none;padding-right:28px}
.tk-item{color:#fff;text-decoration:none;white-space:nowrap;display:inline-flex;align-items:baseline;gap:8px}
.tk-item b{color:#2DE1FD;font-size:11.5px;letter-spacing:.06em;text-transform:uppercase}
.tk-item small{color:rgba(255,255,255,.55);font-size:12px}
.tk-item:hover{text-decoration:underline}
.tk-dot{width:5px;height:5px;border-radius:50%;background:#FC31BB;margin:0 22px;flex:none}
.tk-x{flex:none;width:40px;border:0;background:none;color:rgba(255,255,255,.7);font-size:22px;cursor:pointer}
.tk-x:hover{color:#fff}
body.has-ticker{padding-bottom:40px}
body.has-ticker .chat-fab{bottom:62px}
@media (max-width:600px){
  .tk-lab span,.tk-lab{font-size:0;gap:0;padding:0 12px}
.tk-lab i{width:10px;height:10px}
body.has-ticker .chat-fab{bottom:54px} }
@media (prefers-reduced-motion:reduce){
  .tk-track{animation-duration:calc(var(--tk-dur,60s) * 3)} .so-post,.sc-game{animation:none} }
/* Admin → Home extras */
.ex-h{margin:0 0 6px;font-size:16px}
.ex-leagues{display:flex;flex-wrap:wrap;gap:10px 22px;margin-top:8px}
.ex-pin{display:grid;grid-template-columns:2fr 1.4fr 1.4fr auto;gap:8px;margin:10px 0}
.ex-pin input{height:42px;padding:0 12px;border:1px solid var(--line-2);border-radius:10px;font:inherit;background:var(--panel);color:var(--ink)}
@media (max-width:900px){ .ex-pin{grid-template-columns:1fr} }
.ex-post{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid var(--line)}
.ex-post img,.ex-noimg{width:48px;height:48px;border-radius:8px;object-fit:cover;background:var(--sunken)}
.ex-post b{display:block;font-size:13px} .ex-post small{display:block;font-size:12px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* ── Induction: one container width, roomier path, a calm progress bar ─── */
.iw-hero-in{max-width:var(--page-w);padding:56px 40px 48px}
.iw-grid{max-width:var(--page-w);margin-top:40px;gap:32px}
@media (max-width:720px){
  .iw-hero-in{padding:40px 16px 34px} }
.iw-path{padding:28px 28px 20px}
.iw-path .iw-h{margin-bottom:16px}
.iw-path ol{gap:12px}
.iw-step{display:flex;align-items:center;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink)}
.iw-path li.done .iw-step{background:var(--sunken)}
.iw-path li.next .iw-step{border:1.5px solid transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--hub-grad) border-box;box-shadow:0 12px 26px -20px rgba(169,18,122,.6)}
.iw-step .iw-t{flex:1;min-width:0}
.lms-progrow{display:grid;grid-template-columns:minmax(0,auto) minmax(120px,1fr) auto;align-items:center;gap:16px;margin:14px 24px 12px;flex:none}
.lms-progrow .lms-prog{margin:0;height:10px}
.lms-step{font-size:13px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:46vw}
.lms-step b{color:var(--ink);font-weight:600}
.lms-pct{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;background:var(--hub-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
@media (max-width:600px){
  .lms-progrow{grid-template-columns:1fr auto;margin:10px 14px}
.lms-step{grid-column:1/-1;max-width:none} }
/* A slow-moving glow behind the induction page and its steps */
#tab-induction{position:relative;isolation:isolate}
#tab-induction::after,.ind-sheet::before{content:"";position:fixed;inset:-20% -10% auto auto;width:70vw;height:70vh;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(90px);opacity:.55;
  background:radial-gradient(closest-side,rgba(252,49,187,.35),transparent),radial-gradient(closest-side at 30% 70%,rgba(45,225,253,.3),transparent),radial-gradient(closest-side at 70% 80%,rgba(255,122,0,.22),transparent);
  animation:ind-drift 18s ease-in-out infinite alternate}
@keyframes ind-drift{0%{transform:translate(0,0) scale(1)}50%{transform:translate(-14vw,18vh) scale(1.15)}100%{transform:translate(-30vw,4vh) scale(.95)}}
@media (prefers-reduced-motion:reduce){ #tab-induction::after,.ind-sheet::before{animation:none} }
/* Home → Completed */
.cmp{padding:6px 18px}
.cmp-row{display:flex;align-items:center;gap:14px;padding:14px 0;color:var(--ink);text-decoration:none}
.cmp-row + .cmp-row{border-top:1px solid var(--line)}
.cmp-t{flex:1;min-width:0}
.cmp-t b{display:block;font-size:15px}
.cmp-t span{display:block;font-size:12.5px;color:var(--grey-60);margin-top:2px}
.cmp-go{display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:13px}
.cmp-row:hover .cmp-go{color:#A9127A}
/* Request forms: "Add it to Paymo" */
.rf-paymo{margin-top:22px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(135deg,rgba(45,225,253,.06),rgba(252,49,187,.06))}
.rf-pm-head{display:flex;align-items:center;gap:14px}
.rf-pm-head > span:nth-child(2){flex:1} .rf-pm-head b{display:block;font-size:15px} .rf-pm-head small{display:block;color:var(--grey-60);font-size:12.5px;margin-top:2px}
.rf-paymo .hm-f{margin-top:14px}
.pm-sw{position:relative;flex:none;width:46px;height:26px;cursor:pointer}
.pm-sw input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.pm-sw i{position:absolute;inset:0;border-radius:99px;background:var(--line-2,#d0d0d0);transition:background .25s}
.pm-sw i::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.pm-sw input:checked + i{background:#FC31BB}
.pm-sw input:checked + i::after{transform:translateX(20px)}
.pm-sw input:focus-visible + i{outline:2px solid #FC31BB;outline-offset:2px}
/* New invoice / estimate: line items */
.bl{margin-top:22px;border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.bl-head,.bl-row{display:grid;grid-template-columns:minmax(0,1fr) 80px 130px 120px 32px;gap:10px;align-items:center}
.bl-head{font-size:11.5px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60);padding-bottom:8px}
.bl-row{padding:6px 0}
.bl-row input{height:42px;padding:0 12px;border:1px solid var(--grey-30,#c6c6c6);border-radius:8px;font:inherit;background:var(--panel);color:var(--ink);min-width:0;transition:border-color .15s,box-shadow .15s}
.bl-row input:focus{outline:none;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.15)}
.bl-amt{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.bl-del{border:0;background:none;font-size:20px;color:var(--grey-60);cursor:pointer;border-radius:8px;height:32px}
.bl-del:hover{background:#FFF0FA;color:#A9127A}
.bl-add{margin:8px 0 4px;color:#A9127A;font-weight:600}
.bl-tot{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-top:12px;padding-top:14px;border-top:1px solid var(--line);flex-wrap:wrap}
.bl-gst{display:inline-flex;align-items:center;gap:10px;font-size:14px;cursor:pointer}
.bl-tot dl{display:grid;grid-template-columns:auto auto;gap:4px 24px;margin:0;font-variant-numeric:tabular-nums}
.bl-tot dt{color:var(--grey-60);font-size:13px} .bl-tot dd{margin:0;text-align:right;font-size:13.5px}
.bl-tot .t{font-size:17px;font-weight:700;color:var(--ink);padding-top:6px}
@media (max-width:640px){ .bl-head{display:none} .bl-row{grid-template-columns:1fr 70px 32px;grid-template-areas:"i i d" "q p p" "a a a"} .bl-item{grid-area:i} .bl-qty{grid-area:q} .bl-price{grid-area:p} .bl-amt{grid-area:a} .bl-del{grid-area:d} }
/* Every modal sits in the middle of the screen; a tall one scrolls and starts at the top */
.hub-modal,.hub-modal:has(.rf-card){display:flex;flex-direction:column;align-items:center;overflow-y:auto;padding:40px 16px}
.hub-modal > .hm-card,.hm-card.rf-card{margin:auto;flex:none;max-width:100%}
@media (max-width:720px){ .hub-modal,.hub-modal:has(.rf-card){padding:12px} }
/* Dropdowns and calendars outside forms: a compact size; lists open upwards near the bottom */
.cs.up .cs-pop,.cd.up .cd-pop{top:auto;bottom:calc(100% + 6px)}
.cd-sm,.hb-viewas .cs{min-width:0}
.cd-sm .cs-btn,.hb-viewas .cs-btn,.td-add .cs-btn{min-height:38px;border-radius:10px;font-size:13.5px;padding:0 10px;gap:8px}
.cd-sm .cd-pop{min-width:296px;right:0;left:auto}
.hb-viewas .cs{min-width:220px}
.edit-card .cs-btn,.field .cs-btn{min-height:42px;border-radius:10px}

/* The news ticker: the studio's purple, moving gradient; the headlines line up with the page */
.ticker{background:linear-gradient(115deg,#1B0A2E 0%,#3B0B5A 30%,#6B1773 55%,#A31F7E 78%,#3B0B5A 100%);background-size:240% 240%;animation:iw-flow 14s ease-in-out infinite}
.tk-in{display:flex;align-items:stretch;width:100%;max-width:var(--page-w);margin:0 auto;padding:0 40px;box-sizing:border-box}
.tk-lab{background:rgba(255,255,255,.12);border-radius:0;margin-right:12px}
.tk-x{margin-right:-10px}
@media (max-width:720px){
  .tk-in{padding:0 8px 0 0}
.tk-x{margin-right:0} }
.hub-card:has(.cs.open),.hub-card:has(.cd.open),.panel:has(.cs.open),.panel:has(.cd.open),.edit-card:has(.cs.open),.edit-card:has(.cd.open){overflow:visible;position:relative;z-index:30}

/* ── Melbourne weather ──────────────────────────────────────────────────── */
.wx-chip{display:inline-flex;align-items:center;gap:6px;margin-left:14px;padding:4px 12px 4px 6px;border-radius:99px;background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--hub-grad) border-box;border:1.5px solid transparent;color:var(--ink);font-size:13px;text-decoration:none;vertical-align:middle}
.wx-chip .wx-ic svg{width:22px;height:22px;display:block}
.wx{padding:20px 22px}
.wx-now{display:flex;align-items:center;gap:18px;padding:14px 18px;border-radius:16px;margin-bottom:14px;color:#fff;background:linear-gradient(120deg,#2DE1FD,#A924B4);background-size:200% 200%;animation:iw-flow 12s ease-in-out infinite}
.wx-now.wx-sun{background-image:linear-gradient(120deg,#FF7A00,#FC31BB)}
.wx-now.wx-storm{background-image:linear-gradient(120deg,#3B0B5A,#FC31BB)}
.wx-now.wx-rain{background-image:linear-gradient(120deg,#2DE1FD,#6B1773)}
.wx-big{flex:none;width:64px;height:64px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:0 10px 24px -10px rgba(0,0,0,.4)}
.wx-big svg{width:46px;height:46px}
.wx-now b.wx-t{display:block;font-size:40px;line-height:1;font-weight:800;letter-spacing:-.02em}
.wx-now span{display:block;font-weight:600;margin-top:2px}
.wx-now small{display:block;opacity:.85;font-size:12px;margin-top:4px}
.wx-days{display:grid;gap:2px}
.wx-day{display:grid;grid-template-columns:56px 30px 36px 34px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:6px 0;font-size:13.5px;animation:so-in .4s ease both;animation-delay:calc(var(--i) * 50ms)}
.wx-day b{font-weight:600}
.wx-day .wx-ic svg{width:26px;height:26px;display:block}
.wx-rain{font-size:11.5px;color:#0E7FA0;font-weight:600}
.wx-day em{font-style:normal;color:var(--grey-60);text-align:right} .wx-day em.hi{color:var(--ink);font-weight:600;text-align:left}
.wx-range{position:relative;height:6px;border-radius:99px;background:var(--sunken)}
.wx-range i{position:absolute;top:0;bottom:0;border-radius:99px;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}

/* ── Victorian public holidays ──────────────────────────────────────────── */
.ph{padding:8px 18px}
.ph-row{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid var(--line);animation:so-in .4s ease both;animation-delay:calc(var(--i) * 50ms)}
.ph-row:last-child{border-bottom:0}
.ph-date{flex:none;width:48px;height:52px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--sunken);line-height:1}
.ph-date b{font-size:19px}
.ph-date small{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--grey-60);margin-top:3px}
.ph-row.next .ph-date{background:linear-gradient(135deg,#FF7A00,#FC31BB 55%,#A924B4);color:#fff}
.ph-row.next .ph-date small{color:rgba(255,255,255,.85)}
.ph-t{flex:1;min-width:0}
.ph-t b{display:block;font-size:14.5px}
.ph-t span{display:block;font-size:12.5px;color:var(--grey-60);margin-top:2px}
.ph-when{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.ph-when small{font-size:12px;color:var(--grey-60);white-space:nowrap}
.sc-state small{display:block;font-weight:500;color:var(--grey-60);text-transform:none;letter-spacing:0;margin-top:2px}

/* ── Client news, read in the hub ───────────────────────────────────────── */
.hm-card.news-read{width:min(780px,100%);padding:0;overflow:hidden;position:relative;max-height:none}
.nr-load{padding:32px 32px 28px;position:relative}
.nr-bar{position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#2DE1FD,#FC31BB,#FF7A00,#2DE1FD);background-size:300% 100%;animation:nr-load 1.2s linear infinite}
@keyframes nr-load{to{background-position:-300% 0}}
.nr-img{aspect-ratio:16/8;background:linear-gradient(115deg,#1B0A2E,#6B1773 55%,#A31F7E);overflow:hidden}
.nr-img.none{aspect-ratio:auto;height:10px}
.nr-img img{width:100%;height:100%;object-fit:cover;display:block;animation:rf-in .4s ease both}
.nr-body{padding:24px 32px 26px}
.nr-body h3{font-size:24px;line-height:1.25;margin:6px 0 6px}
.nr-meta{color:var(--grey-60);font-size:13px;margin:0 0 16px}
.nr-body p:not(.nr-meta){font-size:15px;line-height:1.65;margin:0 0 12px;color:var(--ink-2,#333)}
.nr-lead{font-size:16px!important}
.nr-x{position:absolute;top:12px;right:12px;z-index:2;width:38px;height:38px;border-radius:50%;border:0;background:rgba(0,0,0,.55);color:#fff;font-size:22px;cursor:pointer}
.nr-x:hover{background:#FC31BB}
@media (max-width:600px){ .nr-body{padding:20px 18px} .nr-body h3{font-size:20px} }
.hblocks{align-items:start}

/* ── Induction steps: wide and structured ───────────────────────────────── */
.lms-in{max-width:var(--page-w);padding:44px 48px 64px;box-sizing:border-box}
.lms-head{padding-bottom:22px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.ind-sheet .lms-in .lms-head h2{margin:8px 0 0;font-size:clamp(30px,3.2vw,46px)}
.lms-cols{display:grid;grid-template-columns:minmax(0,1fr);gap:48px;align-items:start}
.lms-in.has-side .lms-cols{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.lms-main{min-width:0;max-width:760px}
.lms-main > .md{font-size:17px;line-height:1.7}
.lms-side{position:sticky;top:12px;display:flex;flex-direction:column;gap:22px;min-width:0}
.lms-side .sh-sec{margin:0;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.lms-side .sh-gallery{margin:0}
.lms-main .sh-sec{margin-top:28px;padding:22px 24px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.lms-main .sh-sec:first-child{margin-top:0}
.sh-h{font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:#A9127A}
@media (max-width:1000px){
  .lms-in{padding:28px 20px 48px}
.lms-in.has-side .lms-cols{grid-template-columns:1fr;gap:28px} .lms-side{position:static}
  .lms-main{max-width:none} }

/* ── Ticks: animated circles, not boxes ─────────────────────────────────── */
.ptick{width:26px;height:26px;border-radius:50%;border:0;background:none;position:relative}
.ptick::before{content:"";position:absolute;inset:0;border-radius:50%;padding:2px;background:var(--hub-grad,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%));
  -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)}
.ptick svg{position:relative;z-index:1;width:15px;height:15px}
.ptick.on{background:linear-gradient(135deg,#FF7A00,#FC31BB 55%,#A924B4);box-shadow:0 6px 14px -6px rgba(252,49,187,.8)}
.ptick.on::before{opacity:0}
.ptick.on::after{content:"";position:absolute;inset:-5px;border-radius:50%;border:2px solid #FC31BB;opacity:0;animation:ptick-ring .6s ease-out}
@keyframes ptick-ring{0%{opacity:.7;transform:scale(.7)}100%{opacity:0;transform:scale(1.35)}}
.tick-li:hover .ptick:not(.on){transform:scale(1.08);transition:transform .2s}
.ind-sheet .lms-head > .s-n{font-family:var(--mono);font-size:12.5px;color:var(--magenta);font-weight:500;letter-spacing:.04em}
/* Resources, read in the hub */
.res-text{max-height:min(56vh,620px);overflow:auto;padding-right:6px;margin-bottom:6px}
.res-text h4{font-size:16px;margin:18px 0 6px}
.res-text h4:first-child{margin-top:0}
.res-text ul{margin:0 0 12px;padding-left:20px} .res-text li{margin:4px 0;line-height:1.55}
.res-text p{font-size:15px;line-height:1.65;margin:0 0 12px}

/* ── One motion language: the same easing and timing everywhere ─────────── */
:root{--ease:cubic-bezier(.2,.8,.2,1)}
main > section.tab-in{animation:tab-in .38s var(--ease) both}
@keyframes tab-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* Sections arrive in a gentle cascade when a page opens */
main > section.tab-in .hub-main > .hub-sec,main > section.tab-in .hub-side > .hub-sec,main > section.tab-in .hblocks .hb:not(.hb-off),
main > section.tab-in .tools-grid > *,main > section.tab-in .res-row,main > section.tab-in .iw-grid > *{animation:sec-in .5s var(--ease) both}
.hub-main > .hub-sec:nth-child(2),.hub-side > .hub-sec:nth-child(2),.hblocks .hb:nth-child(2){animation-delay:60ms}
.hub-main > .hub-sec:nth-child(3),.hub-side > .hub-sec:nth-child(3),.hblocks .hb:nth-child(3){animation-delay:120ms}
.hub-main > .hub-sec:nth-child(4),.hub-side > .hub-sec:nth-child(4),.hblocks .hb:nth-child(4){animation-delay:180ms}
.hub-main > .hub-sec:nth-child(n+5),.hub-side > .hub-sec:nth-child(n+5),.hblocks .hb:nth-child(n+5){animation-delay:240ms}
@keyframes sec-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* Content that loads in after the page (cards filling with data) fades rather than pops */
.hub-card > *,.panel > *,.kpis > *{animation:fade-in .35s var(--ease) both}
@keyframes fade-in{from{opacity:0}to{opacity:1}}
.hb.hb-dragging{transition:box-shadow .2s var(--ease),transform .2s var(--ease);transform:scale(1.02) rotate(-.4deg)}
.hb-ph{transition:height .25s var(--ease)}
.btn,.hub-btn,.fchip,.qa,.cs-btn,.so-post,.pic-card,.hub-link{transition-timing-function:var(--ease)}
@media (prefers-reduced-motion:reduce){ main > section.tab-in,main > section.tab-in *{animation:none!important} .hub-card > *,.panel > *,.kpis > *{animation:none} }
/* Socials before the networks are connected */
.so-empty{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px;align-items:start}
.so-empty.so-instagram,.so-empty.so-linkedin{grid-template-columns:minmax(0,1fr);max-width:720px}
.so-ig{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff;animation:so-in .45s var(--ease,ease) both}
.so-ig iframe{display:block;width:100%;height:620px;border:0}
.so-li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:0 24px 26px;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel);color:var(--ink);text-decoration:none;animation:so-in .45s .08s var(--ease,ease) both;transition:transform .2s var(--ease,ease),box-shadow .2s}
.so-li:hover{transform:translateY(-3px);box-shadow:0 18px 34px -22px rgba(27,19,48,.55)}
.so-li-band{align-self:stretch;height:110px;margin:0 -24px;background:linear-gradient(115deg,#1B0A2E,#6B1773 45%,#FC31BB 75%,#FF7A00);background-size:200% 200%;animation:iw-flow 12s ease-in-out infinite}
.so-li-logo{width:76px;height:76px;margin-top:-38px;border-radius:16px;border:4px solid var(--panel);overflow:hidden;background:#000}
.so-li-logo img{width:100%;height:100%;display:block}
.so-li b{font-size:19px;margin-top:6px}
.so-li > span:not(.btn):not(.so-li-band):not(.so-li-logo){color:var(--grey-60);font-size:13.5px}
.so-li .btn{margin-top:12px;display:inline-flex;align-items:center;gap:8px;background:#0A66C2;border-color:#0A66C2}
@media (max-width:900px){ .so-empty{grid-template-columns:1fr} }
.so-ig-head{display:flex;align-items:center;gap:12px;padding:14px 16px;color:#fff;text-decoration:none;background:linear-gradient(45deg,#F58529,#DD2A7B 45%,#8134AF 80%,#515BD4)}
.so-ig-head > span:nth-child(2){flex:1;min-width:0} .so-ig-head b{display:block;font-size:15px} .so-ig-head small{display:block;opacity:.85;font-size:12px}
.so-ig-av{width:44px;height:44px;border-radius:50%;overflow:hidden;border:2px solid #fff;flex:none;background:#000} .so-ig-av img{width:100%;height:100%;display:block}
.so-ig-head .btn{background:#fff;color:#000;border-color:#fff}
.so-ig iframe{height:540px}
/* Client news: the article in a frame */
.hm-card.news-read.nr-framed{width:min(1180px,100%)}
.nr-head{display:flex;align-items:flex-start;gap:20px;padding:22px 26px 16px;border-bottom:1px solid var(--line);position:relative}
.nr-head::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.nr-ht{flex:1;min-width:0}
.nr-ht h3{font-size:21px;line-height:1.3;margin:4px 0}
.nr-ht .nr-meta{margin:0}
.nr-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.nr-tabs{display:flex;gap:6px}
.nr-x2{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--panel);font-size:22px;color:var(--ink);cursor:pointer}
.nr-x2:hover{background:#FFF0FA;color:#A9127A;border-color:#FC31BB}
.nr-frame{position:relative;height:min(72vh,820px);background:#fff}
.nr-frame iframe{width:100%;height:100%;border:0;display:block;opacity:0;transition:opacity .35s var(--ease,ease)}
.nr-frame.loaded iframe{opacity:1}
.nr-frame .nr-bar{top:0}
.nr-frame.loaded .nr-bar{display:none}
.nr-text{max-height:min(72vh,820px);overflow:auto}
.nr-framed .nr-text .nr-img{aspect-ratio:16/6}
@media (max-width:720px){
  .nr-head{flex-direction:column;padding:18px}
.nr-tools{justify-content:flex-start}
.nr-frame{height:70vh} }
/* The weather chip: filled with the colours of the weather, white text */
.wx-chip{border:0;padding:5px 14px 5px 6px;color:#fff;background:linear-gradient(120deg,#2DE1FD,#A924B4);background-size:200% 200%;animation:iw-flow 10s ease-in-out infinite;box-shadow:0 8px 20px -12px rgba(169,36,180,.8);transition:transform .2s var(--ease,ease),box-shadow .2s}
.wx-chip.wx-sun{background-image:linear-gradient(120deg,#FF7A00,#FC31BB)}
.wx-chip.wx-rain{background-image:linear-gradient(120deg,#2DE1FD,#6B1773)}
.wx-chip.wx-storm{background-image:linear-gradient(120deg,#3B0B5A,#FC31BB)}
.wx-chip:hover{transform:translateY(-1px);box-shadow:0 12px 24px -12px rgba(169,36,180,.9);color:#fff}
.wx-chip .wx-ic{width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.95);display:grid;place-items:center}
.wx-chip .wx-ic svg{width:19px;height:19px}
.wx-src{margin:12px 0 0;font-size:11.5px;color:var(--grey-60)}
.wx-src a{color:#A9127A}
/* Scores: the time and the day in colour */
.sc-state.upcoming{background:linear-gradient(90deg,#2DE1FD,#FC31BB);-webkit-background-clip:text;background-clip:text;color:transparent}
.sc-state.final small{color:#A9127A}
/* Socials: Instagram as a grid of just the posts */
.so-wrap{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:20px;align-items:start}
.so-wrap.so-instagram,.so-wrap.so-linkedin{grid-template-columns:minmax(0,1fr)}
.so-wrap.so-linkedin .so-li{max-width:560px}
.so-igwrap{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel)}
.so-ig-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
.so-wrap.so-instagram .so-ig-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
@media (max-width:900px){ .so-wrap{grid-template-columns:1fr} .so-ig-grid,.so-wrap.so-instagram .so-ig-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
.so-tile{position:relative;aspect-ratio:1/1;border:0;padding:0;margin:0;cursor:pointer;overflow:hidden;background:linear-gradient(135deg,#2DE1FD33,#FC31BB33,#FF7A0033);animation:so-in .45s var(--ease,ease) both;animation-delay:calc(var(--i) * 40ms)}
.so-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s var(--ease,ease)}
.so-tile:hover img{transform:scale(1.06)}
.so-tile-cap{position:absolute;inset:auto 0 0 0;padding:28px 10px 10px;color:#fff;font-size:12px;line-height:1.35;text-align:left;background:linear-gradient(transparent,rgba(27,10,46,.85));opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s var(--ease,ease);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.so-tile:hover .so-tile-cap,.so-tile:focus-visible .so-tile-cap{opacity:1;transform:none}
.so-tile-vid{position:absolute;top:8px;right:8px;color:#fff;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}
.so-grid-li{grid-template-columns:minmax(0,1fr)}
.hm-card.ig-card{width:min(560px,100%);padding:0;overflow:hidden;position:relative}
.ig-modal{position:relative}
.ig-modal iframe{display:block;width:100%;height:min(78vh,760px);border:0;background:#fff}
.ig-modal .hm-acts{padding:12px 16px}
.ig-modal .nr-bar{top:0;z-index:2}
.ig-modal.loaded .nr-bar{display:none}
/* Scores in the studio's colours, with the teams' logos */
.sc-tabs .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff}
.sc-team{grid-template-columns:30px minmax(0,1fr) auto;gap:12px}
.sc-team img{width:30px;height:30px;object-fit:contain;border-radius:50%;background:#fff;box-shadow:0 0 0 1px var(--line);padding:2px;box-sizing:border-box}
.sc-team i{width:30px;height:30px;border-radius:50%;background:var(--hub-grad);color:#fff;font-size:9px}
.sc-team em{font-size:16px}
.sc-team.win em{background:linear-gradient(90deg,#FC31BB,#FF7A00);-webkit-background-clip:text;background-clip:text;color:transparent;font-weight:800}
.sc-team.win b{color:var(--ink)}
.sc-game{border-radius:12px;padding:14px 10px;margin:0 -10px;border-bottom-color:transparent;position:relative;transition:background .2s}
.sc-game + .sc-game::before{content:"";position:absolute;left:10px;right:10px;top:0;height:1px;background:var(--line)}
.sc-game:hover{background:#FFF0FA}
.sc-state.live{color:#FC31BB}
.sc-state.live i{background:#FC31BB}
.sc-state.final{color:var(--ink)}
/* Weather in the name's gradient (aqua → purple → pink → orange), whatever the weather */
.wx-chip,.wx-chip.wx-sun,.wx-chip.wx-rain,.wx-chip.wx-storm,
.wx-now,.wx-now.wx-sun,.wx-now.wx-rain,.wx-now.wx-storm{background-image:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);background-size:220% 100%;animation:wx-flow 12s ease-in-out infinite}
@keyframes wx-flow{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
/* The forecast's icons sit in the same white circle as the header chip's, with a gradient ring */
.wx-day{grid-template-columns:56px 40px 36px 34px minmax(0,1fr) 34px}
.wx-day .wx-ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box;border:2px solid transparent;box-shadow:0 6px 14px -8px rgba(169,36,180,.7)}
.wx-day .wx-ic svg{width:22px;height:22px}
.wx-day:first-child b{background:linear-gradient(90deg,#2DE1FD,#FC31BB);-webkit-background-clip:text;background-clip:text;color:transparent}
.sc-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-width:100%;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent);padding-right:24px}
.sc-tabs::-webkit-scrollbar{display:none}
.sc-tabs .fchip{flex:none}
.hb[data-block="scores"] .row-head{gap:12px;flex-wrap:nowrap;min-width:0}
.hb[data-block="scores"] .row-head > div:first-child{flex:none}

/* Weather and scores: white, with a gradient border; the numbers carry the colour */
.wx-now,.wx-now.wx-sun,.wx-now.wx-rain,.wx-now.wx-storm{animation:none;color:var(--ink);border:0;padding-left:0;padding-right:0;background:none}
.wx-now b.wx-t{background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:46px}
.wx-now span{color:var(--ink)}
.wx-now small{color:var(--grey-60);opacity:1}
.wx-big{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box;border:2px solid transparent;box-shadow:0 10px 24px -14px rgba(169,36,180,.7)}
.wx-chip,.wx-chip.wx-sun,.wx-chip.wx-rain,.wx-chip.wx-storm{animation:none;color:var(--ink);border:1.5px solid transparent;box-shadow:none;
  background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box}
.wx-chip:hover{color:var(--ink);box-shadow:0 8px 18px -12px rgba(169,36,180,.7)}
.wx-chip b{background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);-webkit-background-clip:text;background-clip:text;color:transparent;font-size:14px}
.wx-chip .wx-ic{background:none}
.wx-day em.hi{background:linear-gradient(90deg,#FC31BB,#FF7A00);-webkit-background-clip:text;background-clip:text;color:transparent}
.sc-tabs .fchip[aria-pressed="true"]{color:var(--ink);border:1.5px solid transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box}
.sc-team i{background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box;border:2px solid transparent;color:var(--ink);box-sizing:border-box}
.sc-team img{box-shadow:none;border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box}
.sc-team b,.sc-team.win b{color:var(--ink)}
.sc-state.upcoming{background:none;color:var(--ink)}
.sc-state.final small{color:var(--grey-60)}
.wx-now b.wx-t{display:inline-block;padding-right:4px}

/* ── Socials: Instagram banner slider (three at a time) and the latest from LinkedIn ── */
.so-wrap2{display:flex;flex-direction:column;gap:22px}
.sr-row{display:flex;flex-direction:column;gap:12px}
.sr-head{display:flex;align-items:center;gap:10px}
.sr-head b{flex:1;font-size:15px}
.sr-mark{width:28px;height:28px;border-radius:7px;color:#fff;display:grid;place-items:center}
.sr-mark.linkedin{background:#0A66C2}
.sr-mark.instagram{background:linear-gradient(45deg,#F58529,#DD2A7B 45%,#8134AF 80%,#515BD4)}
.sr-view{position:relative}
.sr-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:4px 2px 14px;scrollbar-width:thin;scrollbar-color:#e3c4dd transparent;overscroll-behavior-x:contain}
.sr-track::-webkit-scrollbar{height:6px}
.sr-track::-webkit-scrollbar-thumb{background:#e3c4dd;border-radius:99px}
.sr-card,.sr-card.so-tile{flex:0 0 calc((100% - 32px) / 3);aspect-ratio:auto;scroll-snap-align:start;display:flex;flex-direction:column;text-align:left;padding:0;margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);color:var(--ink);font:inherit;cursor:pointer;
  animation:so-in .45s var(--ease,ease) both;animation-delay:calc(var(--i) * 60ms);transition:transform .2s var(--ease,ease),box-shadow .2s,border-color .2s}
.sr-card:hover{transform:translateY(-3px);border-color:#FC31BB;box-shadow:0 18px 34px -22px rgba(169,18,122,.55)}
.sr-card.li-post:hover{border-color:#0A66C2;box-shadow:0 18px 34px -22px rgba(10,102,194,.6)}
.sr-img{position:relative;display:block;aspect-ratio:4/3;background:linear-gradient(115deg,#1B0A2E,#6B1773 45%,#FC31BB 75%,#FF7A00);overflow:hidden;flex:none}
.li-post .sr-img{aspect-ratio:16/9}
.sr-img img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;transition:transform .45s var(--ease,ease)}
.sr-card:hover .sr-img img{transform:scale(1.05)}
.sr-img.none{display:grid;place-items:center}
.sr-img.none img{width:56px;height:56px;border-radius:12px;object-fit:contain}
.sr-body{display:flex;flex-direction:column;gap:8px;padding:16px 18px 18px;flex:1}
.sr-title{font-size:15px;line-height:1.35;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sr-intro{font-size:13.5px;line-height:1.5;color:var(--muted,#6b6b6b);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sr-meta{display:flex;align-items:center;gap:6px;margin-top:auto;padding-top:6px;font-size:12px;font-weight:600;color:#A9127A}
.li-post .sr-meta{color:#0A66C2}
.sr-meta svg{width:13px;height:13px}
.sr-arrow{position:absolute;top:calc(50% - 28px);width:42px;height:42px;border-radius:50%;border:0;background:rgba(255,255,255,.96);color:#000;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 8px 20px -10px rgba(0,0,0,.5);opacity:1;transition:opacity .2s,transform .2s var(--ease,ease);z-index:2}
.sr-arrow.prev{left:-12px}
.sr-arrow.next{right:-12px}
.sr-view:hover .sr-arrow,.sr-arrow:focus-visible{opacity:1}
.sr-view.at-start .sr-arrow.prev,.sr-view.at-end .sr-arrow.next{opacity:0;pointer-events:none}
.sr-arrow:hover{transform:scale(1.08);color:#A9127A}
@media (max-width:900px){
  .sr-card,.sr-card.so-tile{flex-basis:calc((100% - 16px) / 2)}
.sr-arrow{display:none} }
@media (max-width:600px){
  .sr-card,.sr-card.so-tile{flex-basis:82%} }
/* The profile embed, with Instagram's own header cropped off */
.so-ig{overflow:hidden}
.so-ig iframe{height:720px;margin-top:-178px}
.li-modal iframe{height:min(78vh,720px)}

/* ── The news ticker, closed: a tab in the corner brings it back ── */
.tk-open{position:fixed;left:16px;bottom:16px;z-index:65;display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;border:0;border-radius:99px;color:#fff;font:inherit;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;cursor:pointer;
  background:linear-gradient(115deg,#1B0A2E,#6B1773 55%,#A31F7E);box-shadow:0 10px 24px -12px rgba(107,23,115,.8);animation:so-in .35s var(--ease,ease) both}
.tk-open i{width:7px;height:7px;border-radius:50%;background:#2DE1FD;animation:sc-pulse 1.4s ease-in-out infinite}
.tk-open:hover{transform:translateY(-2px)}
/* Forms: wider, and the same padding whichever modal opened before */
.hm-card.rf-card{width:min(1200px,100%);padding:36px 44px 30px}
@media (max-width:720px){ .hm-card.rf-card{padding:24px 18px 18px} }
/* Resources read in the hub: the same width and spacing as the forms, with the page's pictures */
.hm-card.res-read{width:min(1040px,100%)}
.res-read .res-strip{height:4px;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.res-read .nr-body{padding:32px 44px 30px}
.res-read .nr-body h3{font-size:28px;margin:6px 0 6px}
.res-read .nr-meta{margin:0 0 20px}
.res-gal{display:grid;gap:10px;margin:0 0 22px}
.res-gal.n1{grid-template-columns:1fr} .res-gal.n2{grid-template-columns:repeat(2,minmax(0,1fr))} .res-gal.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.res-gal button{display:block;padding:0;border:0;border-radius:14px;overflow:hidden;cursor:zoom-in;background:var(--sunken);aspect-ratio:16/10}
.res-gal.n1 button{aspect-ratio:16/7}
.res-gal img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s var(--ease,ease)}
.res-gal button:hover img{transform:scale(1.04)}
.res-read .res-text{max-height:none;overflow:visible;padding:0}
.res-read .res-text p,.res-read .res-text li{font-size:16px;line-height:1.7}
.res-read .res-text p{margin:0 0 14px}
.res-read .res-text h4{font-size:18px;margin:22px 0 8px}
.res-read .hm-acts{margin-top:24px}
@media (max-width:720px){ .res-read .nr-body{padding:24px 18px} .res-gal.n3{grid-template-columns:repeat(2,minmax(0,1fr))} }

/* ── Open dropdowns sit above whatever comes after them ──
   The sections below are animated (so each is its own layer, painted later):
   the search area, and any section with a dropdown or calendar open, are lifted above them. */
.hub-hero{position:relative;z-index:40}
.hb:has(.cs.open,.cd.open),.hub-sec:has(.cs.open,.cd.open),.panel:has(.cs.open,.cd.open),.hub-card:has(.cs.open,.cd.open),.todo-card:has(.cs.open,.cd.open){position:relative;z-index:45}
.hub-card:has(.cd.open),.todo-card:has(.cd.open){overflow:visible}

/* ── Closing a search answer ── */
.answer-x{margin-left:auto;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border:1px solid var(--line);border-radius:99px;background:var(--panel);color:var(--ink);font:inherit;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:none;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
.answer-x span{font-size:18px;line-height:1;font-weight:400}
.answer-x:hover,.answer-x:focus-visible{outline:none;border-color:#FC31BB;color:#A9127A;background:#FFF5FB}
.answer.closing{animation:answer-out .22s ease both}
@keyframes answer-out{to{opacity:0;transform:translateY(-6px)}}

/* ── Resources: most opened ── */
.res-mini-row .rm-n{display:inline-flex;align-items:center;gap:4px;margin-top:4px;font-style:normal;font-size:11.5px;font-weight:600;color:#A9127A}
.res-most{grid-column:1/-1;border:1px solid var(--line);border-radius:16px;background:var(--panel);padding:20px 22px}
.rmo-head{display:flex;align-items:baseline;gap:12px;margin-bottom:14px}
.rmo-head h3{margin:0;font-size:17px} .rmo-head span{font-size:13px;color:var(--muted,#6b6b6b)}
.rmo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.rmo-card{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;min-width:0;animation:so-in .4s var(--ease,ease) both;transition:border-color .2s,transform .2s var(--ease,ease)}
.rmo-card:hover{border-color:#FC31BB;transform:translateY(-2px)}
.rmo-card .sd-t{flex:1;min-width:0} .rmo-card .sd-t b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.rmo-card .sd-t span{display:block;font-size:12.5px;color:var(--muted,#6b6b6b)}
.rmo-rank{width:24px;height:24px;border-radius:50%;flex:none;display:grid;place-items:center;font-size:12px;font-weight:700;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
@media (max-width:720px){ .rmo-grid{grid-template-columns:1fr} }

/* ── Home: the arrange bar and the blocks share the search's container (1280) ── */
#tab-home .hb-bar,#tab-home .hblocks{max-width:var(--page-w);margin-left:auto;margin-right:auto}

/* ── A resource's details, in a modal ── */
.hm-card.res-read:has(.res-info-card){width:min(640px,100%);padding:32px 34px 26px;position:relative}
.res-info-card .ri-top{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.res-info-card .ri-top .tile{width:52px;height:52px;border-radius:14px;flex:none}
.res-info-card h3{font-size:24px;margin:6px 0 0}
.ri-desc{font-size:15.5px;line-height:1.55;margin:0 0 18px}
.ri-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 20px;padding:14px 16px;border:1px solid var(--line);border-radius:12px}
.ri-meta dt{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted,#6b6b6b)} .ri-meta dd{margin:4px 0 0;font-weight:600}
.ri-meta:empty{display:none}
@media (max-width:600px){ .ri-meta{grid-template-columns:1fr} }
.so-errs{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border:1px dashed #e3c4dd;border-radius:12px;font-size:12.5px;color:#A9127A}
.so-errs small{color:var(--muted,#6b6b6b)}

/* A LinkedIn post shown with LinkedIn's own embed (when the server can't read it) */
.sr-card.li-frame{cursor:default;padding:0}
.li-frame iframe{display:block;width:100%;height:440px;border:0;background:#fff}
.li-frame .sr-meta{display:flex;align-items:center;gap:6px;width:100%;margin:0;padding:12px 18px;border:0;border-top:1px solid var(--line);background:var(--panel);font:inherit;font-size:12px;font-weight:600;color:#0A66C2;cursor:pointer;text-align:left}
.li-frame .sr-meta .sp{flex:1}
.li-frame .sr-meta:hover{background:#F3F8FD}
.sr-card.li-frame:hover{border-color:#0A66C2;transform:none}

/* The weather icon sits dead centre in its circle (".wx-now span" was making it a block) */
.wx-now .wx-big{display:grid;place-items:center;margin-top:0;box-sizing:border-box;width:68px;height:68px}
.wx-now .wx-big svg{display:block;width:44px;height:44px}

/* "Ask Claude" lines up with the suggestions: a divider only when suggestions sit above it */
.sd-ask{border-top:0;margin-top:0;border-radius:10px;position:relative}
.sd-item + .sd-ask{margin-top:7px}
.sd-item + .sd-ask::before{content:"";position:absolute;left:12px;right:12px;top:-4px;height:1px;background:var(--g20)}
.sd-ask .claude-mark.sm{width:28px;height:28px;flex:none}

/* Answer cards that open in the viewer (a video, a PDF) are buttons that look like the link cards */
button.go-card,button.pc-main{font:inherit;text-align:left;width:100%;cursor:pointer}
button.pc-main{border:0;background:none;padding:0;color:inherit}

/* ── Dark mode: hover states keep the text readable (a soft pink tint, not a near-white fill) ── */
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .lms-in .md li.tick-li:hover,:root:not([data-theme="light"]) .cs-o:hover,:root:not([data-theme="light"]) .cs-o:focus,:root:not([data-theme="light"]) .cd-d:hover:not([disabled]),:root:not([data-theme="light"]) .cd-d:focus,:root:not([data-theme="light"]) .cd-foot button:hover,:root:not([data-theme="light"]) .bl-del:hover,:root:not([data-theme="light"]) .nr-x2:hover,:root:not([data-theme="light"]) .sc-game:hover,:root:not([data-theme="light"]) .answer-x:hover,:root:not([data-theme="light"]) .answer-x:focus-visible,:root:not([data-theme="light"]) .rf-card .hm-drop:hover,:root:not([data-theme="light"]) .rf-card .hm-drop.over,:root:not([data-theme="light"]) .li-frame .sr-meta:hover,:root:not([data-theme="light"]) .sr-card:hover{background:rgba(252,49,187,.16);color:var(--ink)} }
:root[data-theme="dark"] .lms-in .md li.tick-li:hover,:root[data-theme="dark"] .cs-o:hover,:root[data-theme="dark"] .cs-o:focus,:root[data-theme="dark"] .cd-d:hover:not([disabled]),:root[data-theme="dark"] .cd-d:focus,:root[data-theme="dark"] .cd-foot button:hover,:root[data-theme="dark"] .bl-del:hover,:root[data-theme="dark"] .nr-x2:hover,:root[data-theme="dark"] .sc-game:hover,:root[data-theme="dark"] .answer-x:hover,:root[data-theme="dark"] .answer-x:focus-visible,:root[data-theme="dark"] .rf-card .hm-drop:hover,:root[data-theme="dark"] .rf-card .hm-drop.over,:root[data-theme="dark"] .li-frame .sr-meta:hover,:root[data-theme="dark"] .sr-card:hover{background:rgba(252,49,187,.16);color:var(--ink)}
/* The chosen league keeps its gradient in dark mode too */
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .sc-tabs .fchip[aria-pressed="true"],:root:not([data-theme="light"]) .so-tabs .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff} }
:root[data-theme="dark"] .sc-tabs .fchip[aria-pressed="true"],:root[data-theme="dark"] .so-tabs .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff}

/* ── On this day: three facts, each with its source ── */
.otd-label{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-60);margin-bottom:6px}
.otd-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.otd-fact{padding:14px 0;border-bottom:1px solid var(--line);animation:so-in .4s var(--ease,ease) both;animation-delay:calc(var(--i) * 70ms);overflow:hidden}
.otd-fact:last-child{border-bottom:0}
.otd-fact .otd-head{margin-bottom:6px}
.otd-fact .otd-year{font-size:28px}
.otd-fact .otd-text{font-size:15px;margin:0 0 6px}
.otd-fact .otd-img{width:64px;height:64px;margin:0 0 6px 14px}
.otd-src{font-size:12px;font-weight:600;color:#A9127A;text-decoration:none}
.otd-src:hover{text-decoration:underline}
.otd-in > .otd-acts{margin-top:6px}
/* Home resources: the open count sits at the bottom right of its row */
.res-mini-row{position:relative}
.res-mini-row .rm-n{position:absolute;right:16px;bottom:12px;margin:0}
.res-mini-row:has(.rm-n){padding-bottom:34px}

/* ── Infosys events & conferences ── */
.ev-row{display:flex;align-items:center;gap:16px;padding:12px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;animation:so-in .4s ease both;animation-delay:calc(var(--i) * 50ms)}
.ev-row:last-child{border-bottom:0}
a.ev-row:hover .ev-t b{color:#A9127A}
.ev-count{flex:none;width:64px;height:58px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--sunken);line-height:1;text-align:center}
.ev-count b{font-size:20px;font-weight:800;font-variant-numeric:tabular-nums}
.ev-count small{font-size:9.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--grey-60);margin-top:4px}
.ev-count .ev-now{font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.ev-row.next .ev-count{background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);color:#fff}
.ev-row.next .ev-count small{color:rgba(255,255,255,.88)}
.ev-t{flex:1;min-width:0}
.ev-t b{display:block;font-size:14.5px;transition:color .15s}
.ev-t span{display:flex;align-items:center;gap:6px;font-size:13px;margin-top:2px}
.ev-t small{display:block;font-size:12px;color:var(--grey-60);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ev-t .spill{font-style:normal;font-size:10.5px}
.ev-er{display:grid;grid-template-columns:1.4fr 150px 150px 1fr 1fr 1fr auto;gap:8px;align-items:center;margin-bottom:8px}
.ev-er input{min-width:0}
@media (max-width:900px){ .ev-er{grid-template-columns:1fr 1fr} }
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .ev-count{background:var(--sunken)} }
:root[data-theme="dark"] .ev-count{background:var(--sunken)}
.ev{padding:8px 18px}
.ev-orgs{display:flex;gap:6px;flex-wrap:wrap;padding:10px 0 6px}
.ev-orgs .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff}
.ev-list{max-height:520px;overflow-y:auto;margin-right:-8px;padding-right:8px}
.ev-org{display:block;font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#A9127A;margin-bottom:2px}
.ev-er{grid-template-columns:130px 1.3fr 140px 140px 1fr 1fr 1fr auto}

/* ── Infosys verticals ── */
.vt{padding:8px 18px}
.vt-row{display:flex;align-items:center;gap:14px;padding:11px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;animation:so-in .4s ease both;animation-delay:calc(var(--i) * 40ms)}
.vt-row:last-of-type{border-bottom:0}
a.vt-row:hover b{color:#A9127A}
.vt-t{flex:1;min-width:0} .vt-t b{display:block;font-size:14.5px;transition:color .15s}
.vt-t small{display:block;font-size:12px;color:var(--grey-60);margin-top:2px}
.vt-src{font-size:11.5px;color:var(--grey-60);margin:8px 0 6px}
.vt-er{grid-template-columns:1.4fr 1fr 1fr 1fr 1fr auto}
.otd-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:4px}
.otd-top .otd-label{margin:0}
.otd-kinds{display:flex;gap:6px;flex-wrap:wrap}
.otd-kinds .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff}
.otd-fact .otd-head .spill{font-size:10.5px}
.otd-no1:empty{display:none}
.otd-note{display:block;font-size:12.5px;margin:0 0 6px;padding:7px 10px;border-radius:8px;background:var(--sunken)}
.otd-note a{color:#A9127A;font-weight:600;text-decoration:none;margin-left:4px}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .otd-note{background:var(--sunken)} }
:root[data-theme="dark"] .otd-note{background:var(--sunken)}

/* ── Marketing accounts & contacts ── */
.ac{padding:8px 18px 14px}
.ac-search{max-width:280px;height:38px}
.ac-search input{width:100%}
.ac-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px;padding-top:8px;max-height:640px;overflow-y:auto}
.ac-card{border:1px solid var(--line);border-radius:14px;padding:14px 16px;animation:so-in .4s ease both;animation-delay:calc(min(var(--i),12) * 40ms)}
.ac-head{margin-bottom:6px}
.ac-head b{font-size:15.5px}
.ac-person{display:flex;gap:12px;align-items:flex-start;padding:10px 0;border-top:1px solid var(--line)}
.ac-person:first-of-type{border-top:0}
.ac-t{flex:1;min-width:0} .ac-t b{display:block;font-size:14px} .ac-t small{display:block;font-size:12px;color:var(--grey-60)}
.ac-t .spill{font-size:10px;font-style:normal;vertical-align:middle}
.ac-ways{display:flex;flex-direction:column;gap:2px;margin-top:4px}
.ac-ways a{font-size:12.5px;color:#A9127A;text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-ways a:hover{text-decoration:underline}
.ac-clients{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:8px;margin:10px 0 18px;max-height:360px;overflow-y:auto}
.ac-cl{display:grid;grid-template-columns:1fr 130px auto;gap:8px;align-items:center;font-size:13px}
.ac-cl > span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-h4{font-size:14px;margin:6px 0 8px}
.ac-er{grid-template-columns:1.2fr 110px 1fr 1fr 1.2fr 130px auto}
.ac-jobs{border-top:1px solid var(--line);margin-top:6px;padding-top:10px}
.ac-jh{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60);margin-bottom:6px}
.ac-job{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;padding:6px 0;font-size:13px;border-bottom:1px dashed var(--line)}
.ac-job:last-child{border-bottom:0}
.ac-job span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-job b{font-weight:600;text-align:right;white-space:nowrap}
.ac-job small{grid-column:2;text-align:right;font-size:11px;color:var(--grey-60)}
.vt-er{grid-template-columns:1.3fr 1fr 1fr 1fr 1fr 1fr auto}
.ac-job span{white-space:normal;overflow:visible}

/* ── The header: no border (it shares the "app" class name with the app tiles) ── */
body header.app{border:0;border-radius:0}

/* ── Desktop: the search is the featured section, the rest starts below it ── */
.hub-hero .chips{justify-content:flex-start;align-items:center;margin:18px 0 0}
.hub-hero .chips-lab{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-60);margin-right:4px}
.hub-hero .chip{cursor:pointer;height:36px;padding:0 16px;border-radius:999px;border:1px solid var(--line-2,#d6d6d6);background:var(--panel);font-size:13.5px;transition:border-color .15s,color .15s,transform .15s}
.hub-hero .chip:hover,.hub-hero .chip:focus-visible{outline:none;border-color:#FC31BB;color:#A9127A;transform:translateY(-1px)}
@media (min-width:901px){
  body[data-view="director"] .hub-hero{min-height:calc(100vh - 68px - 40px);display:flex;flex-direction:column;justify-content:center;padding:24px 0 56px}
  body[data-view="director"] .hub-hero .hub-greet{margin-bottom:40px}
  body[data-view="director"] .hub-hello{font-size:60px}
  body[data-view="director"] .hub-search{height:84px;padding:10px 10px 10px 30px;gap:20px}
  body[data-view="director"] .hub-search input{font-size:20px}
  body[data-view="director"] .hub-search .claude-mark{width:34px;height:34px}
  body[data-view="director"] .hub-search .btn{height:64px;padding:0 30px;font-size:17px}
  body[data-view="director"] .hub-hero .search-hint{margin-top:14px;font-size:13.5px}
  body[data-view="director"] .hub-hero .answer{margin-top:28px}
}
/* With an answer showing, the featured section shrinks back to fit it */
@media (min-width:901px){ body[data-view="director"] .hub-hero:has(#answer:not([hidden])){min-height:0;justify-content:flex-start} }

/* ── Mobile: the form shortcuts are just their icons ── */
@media (max-width:720px){
  .qa-row{justify-content:flex-start;gap:12px}
  .qa-row .qa{flex:0 0 auto;width:52px;height:52px;padding:0;border-radius:50%;justify-content:center}
  .qa-row .qa span,.qa-row .qa em{display:none}
  .qa-row .qa svg{width:22px;height:22px}
  .hub-hero .chips{flex-wrap:nowrap;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:0 16px 4px;scrollbar-width:none}
  .hub-hero .chips::-webkit-scrollbar{display:none}
  .hub-hero .chip{flex:none}
}
@media (min-width:901px){
  body[data-view="director"] .hub-hero{min-height:calc(100vh - 68px - 60px);justify-content:flex-start;padding:72px 0 64px}
  body[data-view="director"] .hub-search #search-go{height:64px;padding:0 32px;font-size:17px;border-radius:999px}
  body[data-view="director"] .hub-search .hub-kbd{font-size:13px}
}
/* "All forms": the forms icon, filled so it stands apart from the single forms */
.qa.qa-all{background:var(--ink);color:var(--panel);border-color:var(--ink)}
.qa.qa-all:hover{background:linear-gradient(115deg,#6B1773,#FC31BB 60%,#FF7A00);border-color:transparent;color:#fff}

/* ── The featured search: three-quarters of the screen, the shortcuts centred ── */
body[data-view="director"] .hub-hero{min-height:calc(75vh - 68px);min-height:calc(75svh - 68px);display:flex;flex-direction:column;justify-content:center;padding-top:32px;padding-bottom:40px;box-sizing:border-box}
@media (min-width:901px){ body[data-view="director"] .hub-hero{min-height:75vh;padding:40px 0 48px;justify-content:center} }
body[data-view="director"] .hub-hero:has(#answer:not([hidden])){min-height:0;justify-content:flex-start}
body[data-view="director"] .hub-greet{flex-direction:column;align-items:center;text-align:center}
body[data-view="director"] .hub-hello-wrap{text-align:center}
body[data-view="director"] .hub-sub{justify-content:center}
body[data-view="director"] .qa-row,body[data-view="director"] .qa-row:not(:empty){justify-content:center;width:100%}
body[data-view="director"] .hub-hero .chips{justify-content:center}
@media (max-width:720px){ body[data-view="director"] .qa-row{justify-content:center} body[data-view="director"] .hub-hero .chips{justify-content:flex-start} }

/* ── Weather on a phone: just today, compact; the week a tap away ── */
.wx-more{display:none}
@media (max-width:720px){
  .wx{padding:12px 14px}
  .wx .wx-now{gap:14px;margin-bottom:0;padding-top:0;padding-bottom:0}
.wx-now .wx-big{width:52px;height:52px}
.wx-now .wx-big svg{width:34px;height:34px}
.wx-now b.wx-t{font-size:34px}
.wx-now span{font-size:14px;margin-top:0}
.wx-now small{font-size:11.5px;margin-top:2px}
  .wx .wx-days,.wx .wx-src{display:none}
  .wx-more{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:0;border:0;background:none;color:#A9127A;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
  .wx.wx-open .wx-days{display:block;margin-top:8px}
.wx.wx-open .wx-src{display:block}
}

/* ── Admin editors: each entry a card of labelled fields ── */
.ev-edit .ev-rows{display:flex;flex-direction:column;gap:10px;margin:12px 0 14px}
.ev-er.rec{display:flex;gap:12px;align-items:flex-start;padding:14px 14px 12px;border:1px solid var(--line);border-radius:14px;background:var(--panel);transition:border-color .15s,box-shadow .15s;grid-template-columns:none}
.ev-er.rec:focus-within{border-color:#FC31BB;box-shadow:0 0 0 4px rgba(252,49,187,.10)}
.rec-fields{flex:1;min-width:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px 12px}
.rec-f{display:flex;flex-direction:column;gap:4px;min-width:0}
.rec-f.wide{grid-column:span 2}
.rec-f span{font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60)}
.rec-f input{height:38px;padding:0 12px;border:1px solid var(--line-2,#d6d6d6);border-radius:10px;background:var(--panel);color:var(--ink);font:inherit;font-size:14px;min-width:0;transition:border-color .15s,box-shadow .15s}
.rec-f input:focus{outline:none;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.rec-acts{display:flex;flex-direction:column;gap:6px;padding-top:18px}
.rec-mv,.rec-del{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer;font-size:15px;line-height:1;display:grid;place-items:center;transition:border-color .15s,color .15s,background .15s}
.rec-mv:hover{border-color:var(--ink)}
.rec-del:hover{border-color:#C0262D;color:#C0262D;background:#FFF1F1}
.rec-dirty{display:none;font-size:12.5px;font-weight:600;color:#A9127A;margin-right:10px;align-self:center}
.ev-edit.dirty .rec-dirty{display:inline}
.ev-edit .edit-acts{position:sticky;bottom:0;background:var(--panel);padding:10px 0 4px;z-index:2}
@media (max-width:700px){ .rec-f.wide{grid-column:auto} .ev-er.rec{flex-direction:column} .rec-acts{flex-direction:row;padding-top:0} }
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .rec-del:hover{background:rgba(192,38,45,.15)} }

/* ── Inspiration & AI ── */
.inspo{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:28px;padding:18px 20px 20px}
@media (max-width:1100px){
  .inspo{grid-template-columns:1fr 1fr}
.in-sites{grid-column:1/-1} }
@media (max-width:700px){
  .inspo{grid-template-columns:1fr} }
.in-h{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.in-h b{font-size:15px}
.in-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:700px){ .in-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
.in-site{display:flex;flex-direction:column;gap:6px;color:var(--ink);text-decoration:none;animation:so-in .4s ease both;animation-delay:calc(var(--i) * 50ms);min-width:0}
.in-img{display:block;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:var(--sunken);border:1px solid var(--line)}
.in-img img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block;transition:transform .4s var(--ease,ease)}
.in-site:hover .in-img img{transform:scale(1.04)}
.in-site b{font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.in-site small{font-size:11.5px;color:var(--grey-60)}
.in-ai .cn-row{display:block;padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none}
.in-ai .cn-row:last-child{border-bottom:0}
.in-ai .cn-row b{display:block;font-size:13.5px;font-weight:600;line-height:1.35}
.in-ai .cn-row small{font-size:11.5px;color:var(--grey-60)}
.in-ai .cn-row:hover b{color:#A9127A}
.in-lg{margin-bottom:12px}
.in-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.in-chip{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border:1px solid var(--line-2,#d6d6d6);border-radius:999px;font-size:12.5px;color:var(--ink);text-decoration:none;transition:border-color .15s,color .15s}
.in-chip img{width:14px;height:14px;border-radius:3px}
.in-chip:hover{border-color:#FC31BB;color:#A9127A}
.in-img.none{background:linear-gradient(115deg,#1B0A2E,#6B1773 45%,#FC31BB 75%,#FF7A00)}

/* ── Close buttons on modals: a round brand-gradient button with a white × ──
   (pop-up windows, the lightbox and the person card; elsewhere they keep their own look) */
.nr-x,.nr-x2,.answer-x,#lb-close,.op-close{
  width:40px !important;height:40px !important;padding:0 !important;border-radius:50% !important;
  display:grid !important;place-items:center;font-size:22px;line-height:1;
  background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) !important;
  color:#fff !important;border:0 !important;box-shadow:0 8px 18px -10px rgba(169,18,122,.75);
  transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,filter .2s;cursor:pointer}
.nr-x:hover,.nr-x2:hover,.answer-x:hover,.answer-x:focus-visible,#lb-close:hover,.op-close:hover,.nr-x:focus-visible,.nr-x2:focus-visible,#lb-close:focus-visible,.op-close:focus-visible{
  outline:none;transform:rotate(90deg) scale(1.06);filter:saturate(1.15);box-shadow:0 10px 22px -10px rgba(169,18,122,.9)}
.op-close svg{stroke:#fff !important;color:#fff;width:18px;height:18px}

/* ── Forms: the close button, how it works, and a layout that fits phones ── */
.hm-card.rf-card{position:relative}
.hm-card.rf-card > .nr-x{top:18px;right:18px}
.rf-card h3{padding-right:52px}
.rf-how{list-style:none;margin:0 0 22px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.rf-how li{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--sunken)}
.rf-how b{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.rf-how span{font-size:12.5px;line-height:1.45;color:var(--grey-70)}
.rf-how strong{display:block;font-size:13px;color:var(--ink);margin-bottom:2px}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .rf-how li{background:var(--sunken)} }
:root[data-theme="dark"] .rf-how li{background:var(--sunken)}
@media (max-width:720px){
  .hub-modal:has(.rf-card){padding:0 !important;align-items:stretch}
  .hm-card.rf-card{width:100% !important;min-height:100vh;min-height:100dvh;margin:0 !important;border-radius:0 !important;padding:20px 16px calc(96px + env(safe-area-inset-bottom)) !important}
  .hm-card.rf-card > .nr-x{position:fixed;top:12px;right:12px}
  .rf-card h3{font-size:22px}
  .rf-how{grid-template-columns:1fr;gap:6px}
  .rf-how li{padding:10px 12px}
  .rf-grid{grid-template-columns:1fr !important}
  .rf-card .hm-acts{position:fixed;left:0;right:0;bottom:0;margin:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line);z-index:5}
  .rf-card .hm-acts .btn{flex:1}
  .rf-card .hm-acts .sp{display:none}
}
@media (max-width:720px){
  .rf-how{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:18px}
  .rf-how li{flex-direction:column;align-items:center;text-align:center;gap:6px;padding:10px 6px}
  .rf-how span{font-size:0;line-height:0} .rf-how strong{font-size:12px;line-height:1.2;margin:0}
  .rf-card h3{padding-right:56px}
}

/* ── Phone: card heads keep their link (Calendar, Open Figma …) at the top right ── */
@media (max-width:720px){
  .hc-head{flex-wrap:nowrap;align-items:flex-start}
  .hc-head .sp{display:block;flex:1}
  .hc-head > .hub-link{flex:none;margin-top:2px;white-space:nowrap}
}
/* The Home page picker, with what it does underneath */
.hb-viewas{display:inline-grid;grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:6px;align-items:center;max-width:560px}
.hb-viewas .hb-desc{grid-column:2;font-size:12px;line-height:1.45;color:var(--grey-60)}
@media (max-width:720px){ .hb-viewas{grid-template-columns:1fr;flex:1} .hb-viewas > span{white-space:nowrap} .hb-viewas .hb-desc{grid-column:1} }
@media (max-width:720px){
  #tab-home .hb-bar{flex-wrap:wrap;align-items:flex-start;gap:10px}
  .hb-viewas{display:grid;grid-template-columns:1fr;flex:1 1 100%;max-width:none;margin-right:0}
  .hb-viewas .cs{min-width:0;width:100%}
}

/* ── Phone: the to-do adder, and calendars that fit the screen ── */
@media (max-width:720px){
  .td-add{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding-top:14px}
  .td-add input[type=text]{grid-column:1/-1;height:46px;padding:0 14px;border:1px solid var(--line-2,#d6d6d6);border-radius:12px;background:var(--panel);font-weight:500;font-size:15px}
  .td-add input[type=text]:focus{border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
  .td-add .cd{min-width:0;width:100%}
  .td-add .cs-btn{min-height:46px;width:100%;border-radius:12px;justify-content:space-between}
  .td-add .btn{height:46px;padding:0 24px;border-radius:12px}
  .cd-pop{width:min(312px,calc(100vw - 24px));box-sizing:border-box}
}

/* ── Phone: a card head with a button as well as a link (Your projects: Log time + Open Paymo)
   keeps its title across the card, with the actions on a row beneath ── */
@media (max-width:720px){
  .hc-head:has(> .btn),.hc-head:has(> button){flex-wrap:wrap;row-gap:12px;align-items:center}
  .hc-head:has(> .btn) > div,.hc-head:has(> button) > div{flex:1 1 calc(100% - 44px)}
  .hc-head:has(> .btn) > .sp,.hc-head:has(> button) > .sp{display:none}
  .hc-head:has(> .btn) > .btn,.hc-head:has(> button) > button{margin-left:34px;height:40px}
  .hc-head:has(> .btn) > .hub-link,.hc-head:has(> button) > .hub-link{margin-left:auto;margin-top:0}
}

/* ── Home: the work group, then the lighter "off the clock" group in two columns ── */
.hb-group{grid-column:1/-1;display:flex;align-items:baseline;gap:14px;flex-wrap:wrap;padding-bottom:12px;margin-bottom:-22px;border-bottom:1px solid var(--line)}
.hb-group[hidden]{display:none}

.hb-group-t{font-size:22px;font-weight:600;letter-spacing:-.01em;color:var(--ink)}
.hb-group-s{font-size:13.5px;color:var(--grey-60)}
.hb-seg-sp{margin-left:auto}
body:not(.arranging) .hb.hb-wide{grid-column:1/-1}
#tab-home .hblocks .hb.hb-top > .row-head{margin-top:0}
@media (max-width:820px){
  .hb-group{margin-bottom:-26px}
  .hb-group-t{font-size:19px}
}

/* The fun group's band: a soft gradient running the full width of the screen,
   its sections lined up with the rest of the page */
.hb-band{--band-bg:linear-gradient(135deg,#E9FBFF 0%,#FFEFF8 52%,#FFF3E6 100%);--band-edge:rgba(252,49,187,.12);
  position:relative;isolation:isolate;grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px;row-gap:40px;margin-top:24px;padding:56px 0 64px}
.hb-band::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--band-bg);border-top:1px solid var(--band-edge);border-bottom:1px solid var(--band-edge)}
.hb-band[hidden]{display:none}
.hb-band .hb-group{border-bottom-color:rgba(27,19,48,.1)}
.hb-band .panel{box-shadow:0 14px 30px -24px rgba(27,19,48,.45)}
body.arranging .hb-band .hb{background:rgba(255,255,255,.6)}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .hb-band{--band-bg:linear-gradient(135deg,#0E2A33 0%,#2A1030 52%,#2E1C0C 100%);--band-edge:rgba(252,49,187,.22)} :root:not([data-theme="light"]) .hb-band .hb-group{border-bottom-color:rgba(255,255,255,.12)} }
:root[data-theme="dark"] .hb-band{--band-bg:linear-gradient(135deg,#0E2A33 0%,#2A1030 52%,#2E1C0C 100%);--band-edge:rgba(252,49,187,.22)}
:root[data-theme="dark"] .hb-band .hb-group{border-bottom-color:rgba(255,255,255,.12)}
@media (max-width:820px){
  .hb-band{grid-template-columns:1fr;padding:32px 0 40px}
}


/* Suggested searches belong to the Director's featured search */
body:not([data-view="director"]) #search-chips{display:none}

/* ── The home page picker: its own card, so it reads as a control, not page content ── */
#hb-viewas.hb-viewas{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;column-gap:16px;row-gap:12px;align-items:center;max-width:none;flex:1 1 100%;margin-right:0;
  padding:14px 16px 14px 14px;border-radius:18px;border:1px solid var(--line);background:linear-gradient(115deg,rgba(45,225,253,.08),rgba(252,49,187,.07) 55%,rgba(255,122,0,.06)),var(--panel);
  box-shadow:0 10px 26px -22px rgba(27,19,48,.4);color:var(--ink);font-size:13px;position:relative;overflow:visible}
#hb-viewas::before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 3px 3px 0;background:var(--brand-gradient)}
#hb-viewas .hv-ico{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);flex:none}
#hb-viewas .hv-txt{min-width:0}
#hb-viewas .hv-txt b{display:block;font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.35}
#hb-viewas .hv-tag,#hb-viewas .hv-now{display:inline-block;vertical-align:2px;margin-left:8px;line-height:1.5}
#hb-viewas .hv-tag{font-style:normal;font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--pink-ink,#A9127A);background:var(--tint-pink);border-radius:999px;padding:2px 8px}
#hb-viewas .hb-desc{display:block;grid-column:auto;margin-top:3px;font-size:12.5px;line-height:1.45;color:var(--grey-60)}
#hb-viewas .hv-pick{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
#hb-viewas .hv-pick .cs{min-width:210px}
#hb-viewas .hv-pick .cs-btn{min-height:42px;border-radius:12px;font-weight:600;background:var(--panel)}
#hb-viewas .hv-now{font-size:10.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#fff;background:linear-gradient(115deg,#FC31BB,#FF7A00);border-radius:999px;padding:2px 9px}
#hb-viewas .hv-now[hidden],#hb-viewas .hv-back[hidden]{display:none}
#hb-viewas .hv-back{font-size:12.5px;white-space:nowrap}
#hb-viewas.hv-on{border-color:rgba(252,49,187,.55);box-shadow:0 0 0 3px rgba(252,49,187,.12),0 10px 26px -22px rgba(27,19,48,.4)}
#tab-home .hb-bar{align-items:center}
@media (max-width:900px){
  #hb-viewas.hb-viewas{grid-template-columns:auto minmax(0,1fr);flex:1 1 100%;max-width:none}
  #hb-viewas .hv-pick{grid-column:1/-1;justify-content:flex-start}
  #hb-viewas .hv-pick .cs{flex:1;min-width:0}
  #hb-viewas .hv-txt b{display:flex;flex-wrap:wrap;align-items:center;gap:4px 6px}
  #hb-viewas .hv-tag,#hb-viewas .hv-now{margin-left:0}
}

/* ── Arrange: a filled gradient button, in the picker card when there is one ── */
#hb-arrange.hb-arrange{height:42px;padding:0 20px;gap:10px;border:0;border-radius:999px;font-size:14px;font-weight:600;color:#fff;cursor:pointer;
  background:linear-gradient(115deg,#6B1773,#FC31BB 55%,#FF7A00);box-shadow:0 10px 22px -12px rgba(252,49,187,.7);transition:transform .15s,box-shadow .15s,filter .15s}
#hb-arrange.hb-arrange:hover{transform:translateY(-1px);box-shadow:0 14px 26px -12px rgba(252,49,187,.8);filter:saturate(1.1)}
#hb-arrange.hb-arrange:focus-visible{outline:2px solid #FC31BB;outline-offset:3px}
#hb-arrange.hb-arrange svg{width:18px;height:18px}
#hb-arrange[hidden]{display:none}
#hb-viewas{grid-template-columns:auto minmax(0,1fr) auto auto}
#hb-viewas .hv-acts{display:flex;align-items:center;padding-left:16px;border-left:1px solid var(--line);align-self:stretch}
#hb-viewas .hv-acts:not(:has(> :not([hidden]))){display:none}
@media (max-width:900px){
  #hb-viewas .hv-acts{grid-column:1/-1;padding:12px 0 0;border-left:0;border-top:1px solid var(--line)}
  #hb-viewas .hv-acts .hb-arrange{width:100%;justify-content:center}
}

/* Arranging: the controls sit inside the picker card, a row across its foot */
#hb-viewas > .hb-tools{grid-column:1/-1;margin:2px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none;box-shadow:none;justify-content:flex-end}
#hb-viewas > .hb-tools[hidden]{display:none}
#hb-viewas > .hb-tools .hb-tip{display:block;margin-right:auto}
#hb-viewas > .hb-tools #hb-done{background:linear-gradient(115deg,#6B1773,#FC31BB 55%,#FF7A00);border:0;color:#fff}
@media (max-width:900px){ #hb-viewas > .hb-tools{justify-content:flex-start} #hb-viewas > .hb-tools .hb-tip{flex:1 1 100%} }
@media (max-width:900px){
  body.arranging #hb-viewas .hv-ico,body.arranging #hb-viewas .hb-desc,body.arranging #hb-viewas .hv-pick,body.arranging #hb-viewas .hv-tag,body.arranging #hb-viewas > .hb-tools .hb-tip{display:none}
  body.arranging #hb-viewas{grid-template-columns:1fr;padding:12px 14px;row-gap:8px}
  body.arranging #hb-viewas > .hb-tools{padding-top:8px;gap:8px}
  body.arranging #hb-viewas > .hb-tools #hb-done{margin-left:auto}
}

/* ── The weather in the top bar: a white symbol and the temperature ── */
.hd-wx{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px 0 10px;border-radius:999px;border:1px solid rgba(255,255,255,.22);color:#fff;text-decoration:none;font-size:13.5px;white-space:nowrap;transition:background .15s,border-color .15s}
.hd-wx b{font-weight:600}
.hd-wx:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.4)}
.hd-wx[hidden]{display:none}
@media (max-width:720px){ .hd-wx{padding:0 9px 0 7px;font-size:13px} .hd-wx svg{width:18px;height:18px} }

/* The home page ends on the 'Just for fun' band: no white strip under it (the band runs on under the news ticker) */
main:has(> #tab-home:not([hidden]) .hb-band:not([hidden]):last-child){padding-bottom:0}
body.has-ticker .hb-band:last-child::before{bottom:-40px}
/* Phones: room for the weather, the clock and the menu beside the logo */
@media (max-width:480px){
  body header.app .hd-mark .logo-svg{height:12px}
  body header.app .hd-right{gap:4px!important}
  body header.app .hd-wx{border:0;padding:0 6px;gap:4px;height:32px}
  body header.app .hd-clock{width:32px;height:32px}
  body header.app .hd-burger{width:40px}
}
@media (max-width:360px){ body header.app .hd-mark .hub-badge{display:none!important} body header.app{padding-left:0;padding-right:0} body header.app .hd-in{padding:0 10px;gap:8px} body header.app .hd-mark .logo-svg{height:11px} body header.app .hd-burger{margin-left:2px} }

/* ── Arranging: compact previews, so sections are easy to pick up and move ── */
body.arranging .hb > :not(.hb-handle){max-height:170px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
body.arranging .hb{cursor:grab;transition:border-color .15s,box-shadow .15s}
body.arranging .hb:hover{border-color:var(--magenta,#FC31BB)}
body.arranging .hb-handle button{cursor:pointer}
body.arranging .hb-handle .hb-grip{cursor:grab}
body.hb-moving,body.hb-moving *{cursor:grabbing!important;user-select:none}
.hb.hb-dragging{left:0!important;top:0!important;transition:none;will-change:transform}
body.arranging .hb-band .hb.hb-dragging{background:var(--ground)}
.hb-ph{transition:height .2s}
body.arranging .hb-ph.hb-wide{grid-column:auto}

/* ── Infosys verticals: a card per vertical, its leader's photo, where they're based, their email ── */
.vt{padding:16px 18px 10px}
.vt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.vt-card{display:flex;gap:14px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel);animation:so-in .4s ease both;animation-delay:calc(var(--i) * 40ms);transition:border-color .15s,box-shadow .15s,transform .15s}
.vt-card:hover{border-color:rgba(252,49,187,.5);box-shadow:0 14px 28px -22px rgba(27,19,48,.5);transform:translateY(-1px)}
.vt-pic{flex:none;width:56px;height:56px;border-radius:50%;overflow:hidden;padding:2px;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.vt-pic img{width:100%;height:100%;object-fit:cover;border-radius:50%;display:block;background:var(--sunken)}
.vt-pic.vt-ini{display:grid;place-items:center}
.vt-pic.vt-ini > *{width:100%!important;height:100%!important;border-radius:50%;font-size:17px}
.vt-body{flex:1;min-width:0}
.vt-body .ev-org{display:block;margin-bottom:3px}
.vt-body > b{display:block;font-size:15px;line-height:1.3}
.vt-body > small{display:block;font-size:12.5px;color:var(--grey-60);margin-top:2px}
.vt-meta{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px;font-size:12.5px}
.vt-meta span,.vt-meta a{display:inline-flex;align-items:center;gap:5px;color:var(--ink-2);text-decoration:none;min-width:0;overflow-wrap:anywhere}
.vt-meta svg{flex:none;color:var(--pink-ink,#B3148A)}
.vt-meta a:hover{color:var(--pink-ink,#B3148A);text-decoration:underline}
.vt-note{margin:8px 0 0;font-size:12px;line-height:1.45;color:var(--grey-60)}

/* The lightbox while a video loads, and the note under a framed Vimeo video */
.lb-loading{display:flex;align-items:center;gap:12px;color:#fff;font-size:15px}
.lb-loading .spin{width:22px;height:22px;border-radius:50%;border:2px solid rgba(255,255,255,.25);border-top-color:#FC31BB;animation:lb-spin .8s linear infinite}
@keyframes lb-spin{to{transform:rotate(360deg)}}
.lb-hint{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);max-width:min(720px,90vw);margin:0;padding:10px 14px;border-radius:12px;background:rgba(0,0,0,.6);color:#ddd;font-size:12.5px;text-align:center}
#lb-stage video{max-width:min(1280px,94vw);max-height:80vh;border-radius:12px;background:#000}

/* In the studio, under the band */
.hb-band + .hb > .row-head{margin-top:8px}

/* ── Experiences under an answer: a card each, with its picture and a play button ── */
.xp-wrap{margin:4px 0 18px}
.xp-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.xp-head b{font-size:15px}
.xp-count{min-width:28px;height:28px;padding:0 8px;border-radius:999px;display:inline-grid;place-items:center;font-size:13px;font-weight:700;color:#fff;background:linear-gradient(115deg,#6B1773,#FC31BB 55%,#FF7A00)}
.xp-sub{font-size:12.5px;color:var(--grey-60)}
.xp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.xp-card{display:flex;flex-direction:column;padding:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel);color:var(--ink);text-decoration:none;text-align:left;font:inherit;cursor:pointer;
  animation:so-in .4s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * 35ms);transition:transform .18s,box-shadow .18s,border-color .18s}
.xp-card:hover,.xp-card:focus-visible{outline:none;transform:translateY(-3px);border-color:rgba(252,49,187,.55);box-shadow:0 18px 34px -22px rgba(27,19,48,.55)}
.xp-img{position:relative;display:block;aspect-ratio:16/10;background:linear-gradient(135deg,#2DE1FD22,#FC31BB22,#FF7A0022);overflow:hidden}
.xp-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.xp-card:hover .xp-img img{transform:scale(1.05)}
.xp-noimg{position:absolute;inset:0;display:grid;place-items:center;font-size:42px;font-weight:700;color:rgba(107,23,115,.35)}
.xp-kind{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:999px;background:rgba(0,0,0,.66);color:#fff;font-size:11.5px;font-weight:600;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.xp-kind svg,.xp-kind img{flex:none}
.xp-play{position:absolute;left:50%;top:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#FC31BB,#FF7A00);box-shadow:0 10px 24px -8px rgba(252,49,187,.8);transition:transform .18s}
.xp-play svg{width:22px;height:22px;margin-left:3px}
.xp-card:hover .xp-play{transform:scale(1.1)}
.xp-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px}
.xp-body b{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.xp-tags{display:flex;flex-wrap:wrap;gap:5px}
.xp-tags em{font-style:normal;font-size:11px;font-weight:600;color:var(--pink-ink,#B3148A);background:var(--tint-pink);border-radius:999px;padding:2px 8px}
.xp-body small{font-size:12px;color:var(--grey-60);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:560px){ .xp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px} .xp-body{padding:10px} .xp-play{width:40px;height:40px;margin:-20px 0 0 -20px} }

/* Answer lists: brand ticks instead of plain bullets */
.answer .md ul,.bubble .md ul,.q-ans .md ul{list-style:none;padding-left:0}
.answer .md ul > li,.bubble .md ul > li,.q-ans .md ul > li{position:relative;padding-left:26px;margin:6px 0}
.answer .md ul > li::before,.bubble .md ul > li::before,.q-ans .md ul > li::before{content:"";position:absolute;left:2px;top:.42em;width:14px;height:14px;border-radius:50%;
  background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);-webkit-mask:radial-gradient(circle,#000 0 3px,transparent 3.5px 5px,#000 5.5px);mask:radial-gradient(circle,#000 0 3px,transparent 3.5px 5px,#000 5.5px)}

/* The kind badge on an experience's picture card */
.pc-img{position:relative}
.pc-img .xp-kind{z-index:2}

/* The news modal while the article loads: the close button is there from the start */
.hm-card.news-read{position:relative}
.hm-card.news-read .nr-load{padding-right:56px}
.answer-x span{font-size:22px!important;color:#fff}

/* ── People: Everyone by team, who's working externally, and round email buttons ── */
.people-grid.grouped{display:block}
.pg-sec{margin-bottom:34px}
.pg-head{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.pg-head h3{margin:0;font-size:19px}
.pg-head span{font-size:13px;color:var(--grey-60)}
.pg-head .tdot{width:12px;height:12px;border-radius:50%;background:var(--team,#FC31BB);flex:none}
.pg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}
.pg-away{padding:20px;border-radius:20px;background:linear-gradient(115deg,rgba(45,225,253,.08),rgba(252,49,187,.07) 55%,rgba(255,122,0,.07)),var(--panel);border:1px solid var(--line)}
.pg-away .pg-head{border-bottom-color:rgba(27,19,48,.08)}
.ext-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:12px}
.ext-card{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--panel);text-align:left;font:inherit;color:var(--ink);cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s}
.ext-card:hover{border-color:rgba(252,49,187,.5);transform:translateY(-2px);box-shadow:0 14px 28px -22px rgba(27,19,48,.5)}
.ext-t{flex:1;min-width:0} .ext-t b{display:block;font-size:14.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .ext-t span{display:block;font-size:12px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ext-co{display:flex;align-items:center;gap:8px;padding-left:12px;border-left:1px solid var(--line)}
.ext-co small{display:block;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60)} .ext-co b{display:block;font-size:14px}
.co-logo{position:relative;flex:none;width:34px;height:34px;border-radius:10px;overflow:hidden;background:#fff;border:1px solid var(--line);display:grid;place-items:center}
.co-logo img{position:absolute;inset:3px;width:calc(100% - 6px);height:calc(100% - 6px);object-fit:contain;z-index:1}
.co-ini{font-style:normal;font-size:11px;font-weight:700;color:#6B1773}
.pc-away{display:inline-flex;align-items:center;gap:6px;margin:-4px auto 8px;padding:3px 10px 3px 3px;border-radius:999px;background:var(--tint-pink);color:var(--pink-ink,#B3148A);font-size:12px;font-weight:600}
.pc-away .co-logo{width:22px;height:22px;border-radius:50%}
.pc-away .co-logo img{inset:2px;width:calc(100% - 4px);height:calc(100% - 4px)}
.pc-away .co-ini{font-size:8px}
.op-mail{color:var(--ink);text-decoration:underline;text-decoration-color:rgba(252,49,187,.5);overflow-wrap:anywhere}
.op-mail:hover{color:var(--pink-ink,#B3148A)}
.op-away{display:inline-flex;align-items:center;gap:8px} .op-away a{color:var(--ink)}
.op-away .co-logo{width:28px;height:28px}
/* The email button on each person: a perfect circle */
.pc-acts .pc-ic{width:40px;height:40px;min-width:40px;padding:0!important;border-radius:50%!important;justify-content:center;flex:none}
@media (max-width:720px){ .pg-grid{grid-template-columns:1fr 1fr;gap:10px} .ext-row{grid-template-columns:1fr} .pc-acts .pc-ic{width:36px;height:36px;min-width:36px} }

/* ── Links that leave the hub: an arrow that slides out and back in ── */
.ext-go{flex:none;position:relative;width:30px;height:30px;margin-left:auto;border-radius:50%;display:grid;place-items:center;overflow:hidden;color:var(--grey-60);border:1px solid var(--line);transition:color .2s,border-color .2s,background .2s}
.ext-go svg{overflow:visible}
.ext-go .a2{transform:translate(-26px,26px);opacity:0}
a:hover > .ext-go,a:focus-visible > .ext-go{color:#fff;border-color:transparent;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
a:hover > .ext-go .a1,a:focus-visible > .ext-go .a1{animation:ext-out .45s cubic-bezier(.5,0,.2,1) forwards}
a:hover > .ext-go .a2,a:focus-visible > .ext-go .a2{animation:ext-in .45s cubic-bezier(.2,.8,.2,1) .12s forwards}
@keyframes ext-out{to{transform:translate(26px,-26px)}}
@keyframes ext-in{from{transform:translate(-26px,26px);opacity:1}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){ a:hover > .ext-go .a1,a:hover > .ext-go .a2{animation:none} .ext-go .a2{display:none} }

/* ── Side-by-side sections: the same height, each list scrolling inside its panel ── */
#hblocks{align-items:stretch}
#hblocks > .hb[data-size="half"]:not(.hb-wide) > .panel{max-height:640px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(169,18,122,.35) transparent}
#hblocks > .hb[data-size="half"]:not(.hb-wide) > .panel::-webkit-scrollbar{width:8px}
#hblocks > .hb[data-size="half"]:not(.hb-wide) > .panel::-webkit-scrollbar-thumb{background:rgba(169,18,122,.3);border-radius:8px}
.ev .ev-orgs,.cnews .cn-tabs,.cnews > .ev-orgs{position:sticky;top:-8px;z-index:2;background:var(--panel);padding-top:8px;padding-bottom:8px}
body.arranging #hblocks > .hb > .panel{max-height:none}

/* ── Inspiration: when Awwwards won't load, the places to browse instead ── */
.in-fallback{display:flex;flex-direction:column;gap:12px}
.in-fb-note{margin:0;font-size:13px;color:var(--grey-60)}
.in-fb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.in-fb{display:flex;flex-direction:column;align-items:flex-start;gap:6px;min-height:128px;padding:16px;border:1px solid var(--line);border-radius:16px;color:var(--ink);text-decoration:none;position:relative;
  background:linear-gradient(135deg,rgba(45,225,253,.10),rgba(252,49,187,.08) 55%,rgba(255,122,0,.08)),var(--panel);animation:so-in .4s ease both;animation-delay:calc(var(--i) * 60ms);transition:transform .18s,box-shadow .18s,border-color .18s}
.in-fb:hover{transform:translateY(-3px);border-color:rgba(252,49,187,.5);box-shadow:0 16px 30px -22px rgba(27,19,48,.55)}
.in-fb-ic{width:44px;height:44px;border-radius:12px;background:var(--panel);border:1px solid var(--line);display:grid;place-items:center}
.in-fb b{font-size:15px;margin-top:4px} .in-fb small{font-size:12px;color:var(--grey-60)}
.in-fb .ext-go{position:absolute;top:14px;right:14px;margin:0}
.in-err{font-size:11.5px;color:var(--grey-60)} .in-err summary{cursor:pointer}
@media (max-width:700px){ .in-fb-grid{grid-template-columns:1fr 1fr} .in-fb{min-height:110px;padding:12px} }

/* ── Breathing room between the home page's sections ── */
#tab-home .hblocks{row-gap:64px;column-gap:32px;margin-top:64px}
#tab-home .hb-band{row-gap:64px;column-gap:32px;padding-top:72px;padding-bottom:80px;margin-top:40px}
#tab-home .hub-cols{margin-top:56px;gap:44px}
#tab-home .hub-main,#tab-home .hub-side{gap:52px}
#tab-home .row-head{margin-bottom:18px}
#tab-home .hb-group{margin-bottom:-36px}
.ev,.vt,.cnews{padding-left:22px;padding-right:22px}
.inspo{gap:36px;padding:24px 26px 26px}
@media (max-width:820px){
  #tab-home .hblocks,#tab-home .hb-band{row-gap:44px}
  #tab-home .hb-band{padding-top:44px;padding-bottom:52px}
  #tab-home .hb-group{margin-bottom:-22px}
}

/* ── Admin: Home extras in tabs, and editors that stand out from the page ── */
.ex-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 22px;padding:6px;border-radius:16px;background:var(--sunken);border:1px solid var(--line)}
.ex-tabs button{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border:0;border-radius:12px;background:none;color:var(--ink-2);font:inherit;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s,color .15s,box-shadow .15s}
.ex-tabs button:hover{background:var(--panel);color:var(--ink)}
.ex-tabs button[aria-selected="true"]{background:var(--panel);color:var(--ink);font-weight:600;box-shadow:0 6px 16px -10px rgba(27,19,48,.4),inset 0 -2px 0 #FC31BB}
.ex-tabs button svg{color:#A9127A}
.ex-pane[hidden]{display:none}
#sub-extras .edit-card,.sec-acc,#sub-access .acc-card{border:1px solid var(--line);border-radius:20px;padding:22px 24px;background:linear-gradient(180deg,rgba(252,49,187,.035),transparent 140px),var(--panel);box-shadow:0 14px 34px -28px rgba(27,19,48,.45);margin-bottom:22px}
#sub-extras .ex-h,.sec-acc h3{display:flex;align-items:center;gap:10px;font-size:18px;margin:0 0 6px}
#sub-extras .ex-h::before{content:"";width:6px;height:22px;border-radius:4px;background:linear-gradient(180deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
#sub-extras .rec{background:var(--sunken);border:1px solid var(--line);border-radius:14px}
#sub-extras .rec input,#sub-extras .hm-f input{background:var(--panel)}
/* Data access → Home page sections */
.sec-acc{margin-top:22px}
.sec-acc .acc-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:14px}
.sa-ic{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.sa-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:14px}
.sa-tbl{width:100%;border-collapse:collapse;font-size:13px}
.sa-tbl th{position:sticky;top:0;background:var(--sunken);font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--grey-60);padding:10px 8px;text-align:center;white-space:nowrap}
.sa-tbl th:first-child,.sa-tbl td:first-child{text-align:left;padding-left:14px;min-width:190px}
.sa-tbl td{padding:10px 8px;border-top:1px solid var(--line);text-align:center}
.sa-tbl td b{display:block;font-size:14px} .sa-tbl td small{display:block;font-size:11.5px;color:var(--grey-60)}
.sa-tbl tbody tr:hover{background:rgba(252,49,187,.04)}
.sa-ck{width:18px;height:18px;accent-color:#FC31BB;cursor:pointer}
.sa-all{background:rgba(252,49,187,.04)}
.sec-acc.dirty .rec-dirty{display:inline}
.sec-acc .edit-acts{margin-top:14px}
@media (max-width:720px){ .ex-tabs{flex-wrap:nowrap;overflow-x:auto} .ex-tabs button{flex:none} #sub-extras .edit-card,.sec-acc{padding:16px} }
/* Hidden for this home page by Admin → Data access */
.hb.hb-noaccess,body.arranging .hb.hb-noaccess{display:none!important}

/* The news modal while the full article is still on its way */
.nr-wait{display:flex;align-items:center;gap:10px;margin-top:16px;padding:10px 14px;border-radius:12px;background:var(--tint-pink);color:var(--pink-ink,#B3148A);font-size:13px;font-weight:500}
.nr-wait .spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(179,20,138,.25);border-top-color:#FC31BB;animation:lb-spin .8s linear infinite;flex:none}

/* Home → Resources: why each is there */
.res-mini-row .rm-meta{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.rm-why{font-style:normal;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--pink-ink,#B3148A);background:var(--tint-pink);border-radius:999px;padding:3px 9px;margin-right:auto}

/* ── Admin: numbered parts, and every editor on a card that stands off the page ── */
.adm-step{display:flex;align-items:flex-start;gap:14px;margin:34px 0 14px}
.adm-step:first-child{margin-top:6px}
.adm-n{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:15px;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 8px 18px -10px rgba(169,18,122,.7)}
.adm-step h3{margin:4px 0 2px;font-size:19px}
.adm-step p{margin:0;font-size:13.5px;color:var(--grey-60)}
#tab-admin .edit-card,#tab-admin .panel.panel-pad{border:1px solid var(--line);border-radius:20px;background:linear-gradient(180deg,rgba(252,49,187,.035),transparent 140px),var(--panel);box-shadow:0 14px 34px -28px rgba(27,19,48,.45)}
#tab-admin .edit-card textarea,#tab-admin .edit-card input[type=text],#tab-admin .edit-card input[type=url]{background:var(--panel)}
/* Induction sources: three choices side by side */
.ind-build h3{font-size:16px}
.ind-build{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ind-build > h3,.ind-build > .p-note{grid-column:1/-1;margin:0}
.ind-build .ind-src{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid var(--line);border-radius:16px;background:var(--sunken);border-top:0;margin:0}
.ind-build .ind-src > b{font-size:15.5px;font-weight:600}
.ind-build .ind-course{background:linear-gradient(135deg,rgba(45,225,253,.12),rgba(252,49,187,.10) 55%,rgba(255,122,0,.10)),var(--panel);border-color:rgba(252,49,187,.3)}
.ind-build .ind-build-row{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:auto}
.ind-build .ind-build-row .btn{align-self:flex-start}
.ind-build .ind-build-row .cs{width:100%;min-width:0}
@media (max-width:1100px){ .ind-build{grid-template-columns:1fr} }
.adm-auto{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px;padding:16px 18px;border-radius:16px;border:1px solid rgba(252,49,187,.25);background:linear-gradient(135deg,rgba(45,225,253,.08),rgba(252,49,187,.07) 55%,rgba(255,122,0,.07)),var(--panel)}
.adm-auto b{display:block;margin-bottom:4px} .adm-auto .p-note{margin:0}

/* ── Add an experience: the home section and its form ── */
.xe{padding:22px;display:flex;flex-direction:column;gap:16px;background:linear-gradient(135deg,rgba(45,225,253,.08),rgba(252,49,187,.07) 55%,rgba(255,122,0,.07)),var(--panel)}
.xe-in{display:flex;gap:14px;align-items:flex-start}
.xe-in b{display:block;font-size:16px;margin-bottom:4px}
.xe-in p{margin:0;font-size:13.5px;color:var(--grey-60);line-height:1.5}
.xe-ic{flex:none;width:44px;height:44px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 10px 22px -12px rgba(252,49,187,.7)}
.xe-acts{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:auto}
.xe-note{margin:0;font-size:12.5px;color:var(--grey-60)}
.hm-card.xe-card{max-width:760px;width:100%;position:relative}
.hm-card.xe-card > .nr-x{position:absolute;top:16px;right:16px}
.hm-card.xe-card #hm-title{padding-right:56px}
.xe-form{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-top:14px}
.xe-form .xe-wide,.xe-form .xe-tax{grid-column:1/-1}
.xe-form textarea{resize:vertical}
.xe-terms{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.xe-tax > span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60)}
.xe-prev img{display:block;margin-top:8px;max-height:140px;border-radius:12px;border:1px solid var(--line)}
.xe-done{text-align:center;padding:12px 6px}
.xe-done .xe-ic{margin:0 auto 12px}
.xe-done .hm-acts{justify-content:center}
@media (max-width:640px){
  .xe-form{grid-template-columns:1fr} }
.q-clear{height:36px;font-size:13px}
.q-clear + .q-clear{margin-left:8px}

/* Birthdays: the list fills its panel - rows share the height beside a taller neighbour */
.bday.panel{display:flex;flex-direction:column}
.bday .bd-list{flex:1;display:flex;flex-direction:column}
.bday .bd-list li{flex:1 1 auto;min-height:64px}
.bday .bd-mine{margin-top:auto}

/* Scores: the league's logo on its tab, and bigger team logos */
.sc-tabs .fchip .lg-logo{width:18px;height:18px;object-fit:contain;border-radius:4px;background:#fff;flex:none}
.sc-game .sc-team img{width:34px;height:34px}
.sc-game .sc-team i{width:34px;height:34px;border-radius:50%;font-size:10px}

/* A person working with another company: its logo at the top right of their card */
.pcard{position:relative}
.pcard > .pc-co{position:absolute;top:16px;right:16px;z-index:2}
.pcard > .pc-away{margin:10px 0 0}
.pc-co .co-logo{width:40px;height:40px;border-radius:12px;box-shadow:0 6px 16px -10px rgba(27,19,48,.5)}
.pc-co .co-logo img{inset:4px;width:calc(100% - 8px);height:calc(100% - 8px)}
.pc-co .co-ini{font-size:12px}
.pc-away{padding:3px 10px}

/* ── The hero's forms: behind "All forms" on a computer, opening in place ── */
.qa-all .qa-chev{transition:transform .3s cubic-bezier(.2,.8,.2,1);margin-left:2px}
.qa-row.qa-open .qa-all .qa-chev{transform:rotate(180deg)}
@media (min-width:721px){
  .qa-row{align-items:center}
  .qa-set{display:inline-flex;gap:12px;flex-wrap:nowrap;align-items:center;max-width:0;overflow:hidden;opacity:0;pointer-events:none;
    margin:-6px 0;padding:6px 0;   /* room for focus rings while clipped */
    transition:max-width .6s cubic-bezier(.22,1,.36,1),opacity .35s ease}
  .qa-row.qa-open .qa-set{opacity:1;pointer-events:auto}
  .qa-set > .qa{flex:none;transform:translateX(-18px);opacity:0;transition:transform .35s cubic-bezier(.22,1,.36,1),opacity .2s ease}
  .qa-row.qa-open .qa-set > .qa{transform:none;opacity:1;transition:transform .55s cubic-bezier(.22,1,.36,1),opacity .4s ease;transition-delay:calc(60ms + var(--i, 0) * 50ms)}
  .qa-all{transition:background-color .35s,color .35s,border-color .35s}
  .qa-row.qa-open .qa-all{background:linear-gradient(115deg,#6B1773,#FC31BB 60%,#FF7A00);border-color:transparent;color:#fff}
  .qa-every{border-style:dashed}
}
/* The button's two words share one space and cross-fade, so it never changes width. */
.qa-all-t{display:inline-grid}
.qa-all-t > span{grid-area:1/1;transition:opacity .25s ease,transform .35s cubic-bezier(.22,1,.36,1)}
.qa-all-t > span + span{opacity:0;transform:translateY(6px)}
.qa-row.qa-open .qa-all-t > span:first-child{opacity:0;transform:translateY(-6px)}
.qa-row.qa-open .qa-all-t > span + span{opacity:1;transform:none}
@media (max-width:720px){
  .qa-set{display:contents}
  .qa-all .qa-chev,.qa-every{display:none}
}
@media (prefers-reduced-motion:reduce){ .qa-set,.qa-set > .qa,.qa-row.qa-open .qa-set > .qa,.qa-all-t > span{transition:none} }
.wx-warn{display:inline-block;margin-top:4px;color:#B4531A}
/* Home resources: icon, title with a two-line summary, and an arrow that moves on hover. */
.res-mini{gap:8px}
.res-mini-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 14px;border:1px solid transparent;transition:background .2s,border-color .2s,transform .2s}
.res-mini-row:has(.rm-n){padding-bottom:12px}
.res-mini-row .tile{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;flex:none}
.res-mini-row .rm-t{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:inherit;color:inherit}
.res-mini-row .rm-t b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.res-mini-row .rm-t span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
.res-mini-row .rm-go{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--g60);transition:transform .2s,color .2s,background .2s}
.res-mini-row:hover{border-color:var(--g20)}
.res-mini-row:hover .rm-go,.res-mini-row:focus-visible .rm-go{transform:translateX(3px);color:#fff;background:linear-gradient(135deg,#2BD4F2,#E73CB4,#FF7A1A)}
@media (prefers-reduced-motion:reduce){ .res-mini-row,.res-mini-row .rm-go{transition:none} .res-mini-row:hover .rm-go{transform:none} }
.res-mini-row .tile.grey{background:var(--panel,#fff)}
.res-mini-row:hover{background:var(--panel,#fff);box-shadow:0 6px 18px rgba(0,0,0,.06)}

/* ── Scores: every league with its logo, round club badges, more or fewer games ── */
.lg-logo{width:18px;height:18px;object-fit:contain;border-radius:50%;background:#fff;flex:none}
.lg-ini{display:inline-grid;place-items:center;font-style:normal;font-size:8px;font-weight:700;color:#fff;background:var(--hub-grad)}
.sc-tabs .fchip .lg-logo{border-radius:50%;padding:1px;box-sizing:border-box}
.sc-tabs .sc-edit{border-style:dashed;color:var(--g60)}
.sc-tabs .sc-edit[aria-expanded="true"]{color:var(--ink);border-style:solid}
.sc-badge{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;overflow:hidden;box-sizing:border-box;
  border:2px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box}
.sc-game .sc-team .sc-badge img,.sc-team .sc-badge img{width:100%;height:100%;object-fit:contain;padding:4px;box-sizing:border-box;border:0;border-radius:50%;background:none;box-shadow:none}
.sc-team .sc-badge.flag img{object-fit:cover;padding:0}
.sc-game .sc-team i{flex:none;border-radius:50%}
.sc-more{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin-top:6px;padding:10px;border:1px dashed var(--line);border-radius:10px;background:none;color:var(--ink);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.sc-more:hover{border-style:solid;border-color:#FC31BB}
.sc-pick{margin-bottom:10px;padding:12px 14px;border-radius:12px;background:var(--sunken)}
.sc-pick p{margin:0 0 8px;font-size:12.5px;color:var(--g60)}
.sc-pick > div{display:flex;flex-wrap:wrap;gap:8px}
.sc-pick-l{display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 6px;border-radius:999px;background:var(--panel);font-size:13px;font-weight:600;cursor:pointer}
.sc-pick-l input{accent-color:#FC31BB;margin:0}
.ex-lg{display:inline-flex;align-items:center;gap:8px}
.ex-lg .lg-logo{width:20px;height:20px}
.ex-games{margin-top:16px;max-width:320px}
.ex-step{display:inline-flex;align-items:center;gap:6px}
.ex-step input{width:64px;text-align:center}
.ex-step button{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:inherit;font-size:18px;line-height:1;cursor:pointer}
.ex-step button:hover{background:linear-gradient(115deg,#6B1773,#FC31BB 60%,#FF7A00);color:#fff;border-color:transparent}
/* Admin → verticals: a leader's photo, uploaded beside its link. */
.vt-upw{display:flex;align-items:center;gap:10px;margin-top:6px}
.vt-prev{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none;box-shadow:0 0 0 2px #fff,0 0 0 3px #FC31BB}
.vt-up{display:inline-flex;align-items:center;gap:6px}
/* Admins: the "Send to CE Hub" bookmark for Sites of the Day. */
.in-bm{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:12px 0 0}
.in-bm small{flex:1 1 220px;font-size:12px;color:var(--g60);line-height:1.45}
.in-bm small a{color:#A9127A}
.in-bm-link{display:inline-flex;align-items:center;gap:6px;cursor:grab;border-style:dashed}

/* ── Add a project to Experiences: the site's four steps, in the hub's form style, with the card beside ── */
.xe-card .xe-steps{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0 20px}
.xe-step{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 18px 0 8px;border:1px solid var(--line-2,#d6d6d6);border-radius:999px;background:var(--panel);color:var(--ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.xe-step b{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--sunken);font-size:12.5px;transition:background .2s,color .2s}
.xe-step:hover{border-color:#FC31BB}
.xe-step[aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:var(--panel)}
.xe-step[aria-selected="true"] b{background:var(--panel);color:var(--ink)}
.xe-step.done b{background:var(--hub-grad);color:#fff}
.xe-body{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:28px;align-items:start}
.xe-main{min-width:0;padding:22px;border-radius:16px;background:var(--sunken)}
.xe-pane{animation:xe-pane .35s cubic-bezier(.22,1,.36,1)}
@keyframes xe-pane{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.xe-req{color:#FC31BB;font-style:normal}
.xe-terms{display:flex;flex-wrap:wrap;gap:8px}
.xe-terms .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff}
.xe-viss{display:grid;gap:10px}
.xe-vis{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;border:1px solid var(--line-2,#d6d6d6);border-radius:14px;background:var(--panel);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.xe-vis input{margin:3px 0 0;accent-color:#FC31BB}
.xe-vis b{display:block;font-size:14.5px}
.xe-vis small{display:block;font-size:13px;color:var(--g60);margin-top:2px}
.xe-vis:has(input:checked){border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.12)}
.xe-card .hm-drop u{color:#A9127A}
.xe-preview{position:sticky;top:0;display:grid;gap:10px}
.xe-pv-k{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--g60)}
.xe-pv-card{display:grid;gap:10px;padding-bottom:4px}
.xe-pv-img{aspect-ratio:4/3;border-radius:14px;background:linear-gradient(135deg,rgba(45,225,253,.18),rgba(252,49,187,.18),rgba(255,122,0,.18));background-size:cover;background-position:center;transition:background-image .3s}
.xe-pv-img.has{background-color:var(--sunken)}
.xe-pv-t{font-size:22px;line-height:1.2;font-weight:500;overflow-wrap:anywhere}
.xe-pv-card p{margin:0;font-size:13.5px;line-height:1.45;color:var(--g60);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.xe-pv-card p:empty{display:none}
.xe-pv-btn{justify-self:start;display:inline-flex;align-items:center;height:40px;padding:0 22px;border-radius:999px;background:var(--ink);color:var(--panel);font-size:14px;font-weight:600}
.xe-preview small{font-size:12px;color:var(--g60)}
.xe-card .hm-acts{margin-top:20px;align-items:center}
.xe-card .xe-next{font-weight:600}
@media (max-width:860px){
  .xe-body{grid-template-columns:1fr}
  .xe-preview{position:static;order:-1;grid-template-columns:96px 1fr;align-items:center}
  .xe-pv-k,.xe-preview small{grid-column:1/-1}
  .xe-pv-card{display:contents}
  .xe-pv-img{grid-row:span 3}
  .xe-pv-btn{display:none}
  .xe-pv-t{font-size:17px}
.xe-main{padding:16px}
.xe-step{height:38px;padding:0 12px 0 6px;font-size:13px}
.xe-step b{width:24px;height:24px}
}
@media (prefers-reduced-motion:reduce){
  .xe-pane{animation:none} }
.xe-card .hm-f label.xe-vis{display:flex;flex-direction:row;align-items:flex-start;gap:12px;font-weight:400}
.xe-card .hm-f .xe-vis input{width:18px;height:18px;flex:none;margin:2px 0 0;padding:0;border:0;box-shadow:none}
.xe-card .xe-vis span{flex:1;min-width:0}
@media (max-width:860px){
  .xe-card .xe-body{grid-template-columns:minmax(0,1fr)}
.xe-card .xe-main{min-width:0}
.xe-card .xe-steps{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-18px;padding-right:18px}
.xe-card .xe-step{flex:none} }
@media (max-width:720px){
  .xe-card .hm-acts{flex-wrap:wrap;gap:8px}
.xe-card .hm-acts .sp{display:none}
.xe-card .xe-next{order:-1;flex-basis:100%;text-align:center;padding:2px 0}
.xe-card .hm-acts .btn{flex:1 1 0;min-width:0;padding-left:10px;padding-right:10px;white-space:nowrap}
}
/* Wider, so the steps, the fields and the card preview all have room. */
.hm-card.xe-card{max-width:none;width:min(1180px,100%)}
@media (min-width:861px){
  .xe-card .xe-body{grid-template-columns:minmax(0,1fr) 320px;gap:36px}
.xe-card .xe-main{padding:26px 28px} }
.xe-card .xe-terms .fchip{height:36px}

/* ── Assign to client ── */
.as-clients{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.as-clients .fchip em{font-style:normal;font-size:11.5px;font-weight:700;margin-left:4px;opacity:.7}
.as-clients .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff}
.as-list{display:grid;gap:8px;max-height:360px;overflow:auto}
.as-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 12px 8px 8px;border-radius:12px;background:var(--sunken);color:var(--ink);text-decoration:none;animation:rf-field .4s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0)*35ms)}
.as-row:hover{background:var(--g20)}
.as-th{width:56px;height:42px;border-radius:8px;background:linear-gradient(135deg,rgba(45,225,253,.25),rgba(252,49,187,.25),rgba(255,122,0,.25));background-size:cover;background-position:center}
.as-t{display:flex;flex-direction:column;min-width:0}
.as-t b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.as-t small{font-size:12px;color:var(--g60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.as-acts{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:12px}
.as-acts .btn{display:inline-flex;align-items:center;gap:6px}
.as-bar{display:flex;align-items:center;gap:16px;margin:4px 0 12px;font-size:13px;font-weight:600}
.as-bar #as-n{margin-right:auto;color:#A9127A}
.as-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;max-height:min(52vh,520px);overflow:auto;padding:4px}
.as-tile{display:flex;flex-direction:column;gap:4px;padding:0 0 10px;border:0;background:none;color:var(--ink);font:inherit;text-align:left;cursor:pointer}
.as-img{position:relative;aspect-ratio:4/3;border-radius:12px;background:linear-gradient(135deg,rgba(45,225,253,.2),rgba(252,49,187,.2),rgba(255,122,0,.2));background-size:cover;background-position:center;box-shadow:0 0 0 1px var(--line);transition:box-shadow .2s,transform .2s}
.as-tile:hover .as-img{transform:translateY(-2px)}
.as-tile[aria-pressed="true"] .as-img{box-shadow:0 0 0 3px #FC31BB}
.as-tick{position:absolute;top:8px;right:8px;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.92);color:transparent;box-shadow:0 0 0 1px var(--line);transition:background .2s,color .2s}
.as-tile[aria-pressed="true"] .as-tick{background:var(--hub-grad);color:#fff;box-shadow:none}
.as-tile b{font-size:13.5px;line-height:1.3;margin-top:6px}
.as-tile small{font-size:12px;color:var(--g60)}
@media (max-width:720px){ .as-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px} }
@media (prefers-reduced-motion:reduce){
  .as-row{animation:none} }
/* Inspiration: the one featured Site of the Day. */
.in-feat{display:grid;gap:12px;color:var(--ink);text-decoration:none}
.in-feat-img{position:relative;display:block;aspect-ratio:16/10;border-radius:16px;overflow:hidden;background:var(--sunken);box-shadow:0 0 0 1px var(--line)}
.in-feat-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.in-feat:hover .in-feat-img img{transform:scale(1.03)}
.in-sotd{position:absolute;left:12px;top:12px;padding:5px 11px;border-radius:999px;background:var(--hub-grad);color:#fff;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.in-feat-t{display:flex;flex-direction:column;gap:2px}
.in-feat-t b{font-size:18px;line-height:1.25}
.in-feat-t small{font-size:13px;color:var(--g60)}
.in-feat-go{display:inline-flex;align-items:center;gap:6px;margin-top:6px;font-size:13px;font-weight:600;color:#A9127A}
@media (prefers-reduced-motion:reduce){
  .in-feat-img img{transition:none} }
/* Assign to client: client logos, a new client. */
.as-head-acts{display:inline-flex;gap:8px;flex-wrap:wrap}
.as-logo{width:18px;height:18px;border-radius:50%;object-fit:contain;background:#fff;flex:none;box-shadow:0 0 0 1px var(--line)}
.as-logo.big{width:32px;height:32px;border-radius:8px}
.as-clients .fchip{display:inline-flex;align-items:center;gap:6px}
.as-none{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:16px;border-radius:12px;background:var(--sunken)}
.as-none p{margin:0;font-size:14px;color:var(--g60)}
.as-card label .as-newlink{float:right;font-size:12.5px;font-weight:600}
.hm-card.nc-card{width:min(680px,100%)}
.nc-card .nc-opt{margin-top:6px;font-size:14px}
.nc-card .nc-opt small{color:var(--g60)}
.nc-card .hm-drop span{display:inline-flex;align-items:center;gap:8px}

/* ── Assign to client: a new client's login, and the drag-and-drop board ── */
.nc-login{margin:14px 0 4px;padding:16px 18px;border-radius:14px;background:var(--sunken)}
.nc-login > .toggle{font-size:14.5px}
.nc-login > .toggle small{color:var(--g60);font-weight:400}
.nc-login .rf-grid{margin-top:12px}
.nc-pw{display:flex;gap:8px;align-items:center}
.nc-pw input{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.02em}
.nc-pw .btn{flex:none}
.nc-cred{display:grid;gap:10px;margin:18px 0;padding:16px 18px;border-radius:14px;background:var(--sunken);text-align:left}
.nc-cred div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;align-items:baseline}
.nc-cred dt{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--g60)}
.nc-cred dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.nc-cred code{font-size:15px;padding:2px 8px;border-radius:6px;background:var(--panel)}
.as-top{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.as-top .hm-f{margin:0;min-width:220px}
.as-top #as-newc{margin-bottom:4px}
.as-copyf{margin-left:auto!important}
.as-copyrow{display:flex;gap:8px;align-items:center}
.as-board{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}
.as-col{display:flex;flex-direction:column;min-width:0;border-radius:16px;background:var(--sunken);padding:14px}
.as-col-h{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:10px;min-height:38px}
.as-col-h b{font-size:14.5px}
.as-col-h input{flex:1;max-width:260px;height:36px;padding:0 12px;border:1px solid var(--line-2,#d6d6d6);border-radius:999px;background:var(--panel);color:var(--ink);font:inherit;font-size:13.5px}
.as-items{display:grid;gap:8px;align-content:start;height:min(46vh,460px);overflow:auto;padding:2px}
.as-it{display:grid;grid-template-columns:auto 52px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:var(--panel);box-shadow:0 0 0 1px var(--line);cursor:grab;transition:box-shadow .15s,opacity .15s,transform .15s}
.as-all .as-it{grid-template-columns:52px minmax(0,1fr) auto}
.as-it:hover{box-shadow:0 0 0 1px #FC31BB}
.as-it.dragging{opacity:.4}
.as-it.on{opacity:.55}
.as-it .as-th{width:52px;height:38px}
.as-n{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--hub-grad);color:#fff;font-size:11.5px;font-weight:700}
.as-mv{display:inline-flex;gap:4px}
.as-btn{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:1px solid var(--line-2,#d6d6d6);background:var(--panel);color:var(--ink);font:inherit;font-size:16px;line-height:1;cursor:pointer;flex:none}
.as-btn.sm{width:26px;height:26px;font-size:13px}
.as-btn:hover:not(:disabled){background:linear-gradient(115deg,#6B1773,#FC31BB 60%,#FF7A00);color:#fff;border-color:transparent}
.as-btn:disabled{opacity:.4;cursor:default}
.as-drop.over{box-shadow:inset 0 0 0 2px #FC31BB;border-radius:12px}
.as-line{height:3px;border-radius:3px;background:var(--hub-grad);margin:-2px 0}
.as-hint{margin:0;padding:14px;font-size:13.5px;color:var(--g60)}
.as-empty{display:flex;align-items:center;justify-content:center;gap:8px;height:100%;border:1.5px dashed var(--g30,#c6c6c6);border-radius:12px;text-align:center}
.as-empty svg{transform:rotate(90deg)}
.as-dragging .as-empty{border-color:#FC31BB;color:var(--ink)}
@media (max-width:860px){
  .as-board{grid-template-columns:minmax(0,1fr)}
.as-items{height:auto;max-height:40vh}
.as-copyf{margin-left:0!important}

}

/* ── The header's nav, the edge-to-edge news ticker and the Ask the studio button ── */
/* The nav: more room between the sections. */
body header.app nav.hd-nav{gap:6px}
body header.app nav.hd-nav button,body header.app nav.hd-nav .nav-more{padding:0 16px;font-size:15px}
@media (max-width:1440px){ body header.app nav.hd-nav button,body header.app nav.hd-nav .nav-more{padding:0 13px} }
@media (max-width:1280px){ body header.app nav.hd-nav{gap:2px} body header.app nav.hd-nav button,body header.app nav.hd-nav .nav-more{padding:0 11px;font-size:14px} }
@media (max-width:1100px){ body header.app nav.hd-nav button,body header.app nav.hd-nav .nav-more{padding:0 8px;font-size:14px} }
/* The Client news ticker: headlines run the full width of the screen. */
.tk-in{max-width:none;padding:0}
.tk-lab{margin-right:0;padding:0 18px 0 max(16px, 3.4vw)}
.tk-x{margin-right:0;width:max(44px, 3.4vw)}
/* Ask the studio: a clean lift - no pulsing ring or purple haze. */
.chat-fab .cf-ring{display:none}
.chat-fab{box-shadow:0 10px 24px -10px rgba(0,0,0,.45),0 2px 6px rgba(0,0,0,.12);background:linear-gradient(135deg,#6A2BD9 0%,#B12FA8 60%,#E3348F 100%);background-size:160% 100%;background-position:0 0;transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s ease,background-position .4s ease}
.chat-fab:hover{transform:translateY(-2px);box-shadow:0 16px 30px -12px rgba(0,0,0,.5),0 2px 6px rgba(0,0,0,.12);background-position:100% 0}
.chat-fab:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px #FC31BB}

/* ── Scores: a game opens larger ── */
.sc-game[role="button"]{cursor:pointer;border-radius:12px;transition:background .2s}
.sc-game[role="button"]:hover{background:var(--sunken)}
.sc-game[role="button"]:focus-visible{outline:2px solid #FC31BB;outline-offset:2px}
.hm-card.gm-card{width:min(760px,100%);padding:32px 36px 26px;border-radius:22px;position:relative}
.gm-card > .nr-x{position:absolute;top:16px;right:16px}
.gm-top{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--g60)}
.gm-top .lg-logo{width:22px;height:22px}
.gm-title{font-size:22px;margin:8px 48px 22px 0}
.gm-board{display:grid;grid-template-columns:1fr auto 1fr;gap:16px;align-items:center;padding:24px 18px;border-radius:18px;background:var(--sunken)}
.gm-side{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;min-width:0}
.gm-side b{font-size:16px;line-height:1.25}
.gm-side small{font-size:12.5px;color:var(--g60)}
.gm-logo{display:grid;place-items:center;width:96px;height:96px;border-radius:50%;background:#fff;border:3px solid transparent;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box;box-shadow:0 10px 24px -14px rgba(0,0,0,.4)}
.gm-logo img{width:70%;height:70%;object-fit:contain}
.gm-ini{font-weight:800;font-size:22px;color:var(--ink)}
.gm-score{font-size:46px;font-weight:800;line-height:1;margin-top:6px;font-variant-numeric:tabular-nums;color:var(--g60)}
.gm-side.win .gm-score{background:var(--hub-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.gm-mid{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.gm-mid small{font-size:12.5px;color:var(--g60);max-width:140px}
.gm-state{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;background:var(--ink);color:var(--panel);font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.gm-state.soon{background:var(--panel);color:var(--ink);box-shadow:0 0 0 1px var(--line);text-transform:none;letter-spacing:0}
.gm-state.live{background:#E0245E;color:#fff}
.gm-state.live i{width:8px;height:8px;border-radius:50%;background:#fff;animation:gm-live 1.2s ease-in-out infinite}
@keyframes gm-live{50%{opacity:.25}}
.gm-lines{margin-top:16px;border:1px solid var(--line);border-radius:14px;overflow:auto}
.gm-lr{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(36px,1fr);grid-template-columns:minmax(64px,1.4fr);align-items:center;padding:8px 14px;font-variant-numeric:tabular-nums;font-size:14px;text-align:center}
.gm-lr + .gm-lr{border-top:1px solid var(--line)}
.gm-lr b{text-align:left}
.gm-lh{font-size:11.5px;color:var(--g60);font-weight:700;background:var(--sunken)}
.gm-lr .gm-t{font-weight:800}
.gm-lr.win .gm-t{color:#A9127A}
.gm-podium{display:grid;gap:10px}
.gm-pos{display:flex;align-items:center;gap:14px;padding:12px 16px;border-radius:14px;background:var(--sunken)}
.gm-pos .gm-logo{width:48px;height:48px}
.gm-pos.win{box-shadow:0 0 0 2px #FC31BB}
.gm-n{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--hub-grad);color:#fff;font-weight:800}
.gm-story{margin:18px 0 0;font-size:15px;line-height:1.5}
.gm-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;margin:18px 0 0}
.gm-facts dt{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--g60)}
.gm-facts dd{margin:2px 0 0;font-size:14px;font-weight:600}
.gm-card .hm-acts{margin-top:22px}
@media (max-width:600px){
  .hm-card.gm-card{padding:24px 18px 18px}
.gm-logo{width:64px;height:64px}
.gm-score{font-size:34px}
.gm-board{padding:16px 10px;gap:8px}
.gm-side b{font-size:14px} }
@media (prefers-reduced-motion:reduce){
  .gm-state.live i{animation:none} }

/* ── Marketing accounts: the company's logo, the account as people say it, and people as compact rows ── */
.ac-card{padding:16px 18px;border-radius:16px;background:var(--panel);transition:box-shadow .2s,border-color .2s}
.ac-card:hover{border-color:transparent;box-shadow:0 0 0 1px #FC31BB,0 12px 28px -18px rgba(0,0,0,.35)}
.ac-head{display:flex;align-items:center;gap:12px;padding-bottom:12px;margin-bottom:4px;border-bottom:1px solid var(--line)}
.ac-co{display:grid;place-items:center;width:40px;height:40px;flex:none;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--line);font-size:13px;font-weight:800}
.ac-co img{width:26px;height:26px;object-fit:contain}
.ac-hn{display:flex;flex-direction:column;min-width:0;flex:1}
.ac-hn .ev-org{font-size:10.5px}
.ac-hn b{font-size:16px;line-height:1.25;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.ac-reg{flex:none;align-self:flex-start;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.06em;padding:4px 9px;border-radius:999px;background:var(--tint-pink,#FDE6F5);color:#A9127A}
.ac-people{display:grid}
.ac-card .ac-person{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 0}
.ac-person .ac-t{display:flex;flex-direction:column;min-width:0}
.ac-person .ac-t b{font-size:14.5px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.ac-person .ac-t small{font-size:12.5px;color:var(--g60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-main{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:2px 8px;border-radius:999px;background:var(--hub-grad);color:#fff}
.ac-acts{display:inline-flex;gap:6px}
.ac-act{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:1px solid var(--line-2,#d6d6d6);background:var(--panel);color:var(--ink);cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .2s}
.ac-act:hover{background:linear-gradient(115deg,#6B1773,#FC31BB 60%,#FF7A00);border-color:transparent;color:#fff;transform:translateY(-1px)}
@media (max-width:600px){
  .ac-card .ac-person{grid-template-columns:auto minmax(0,1fr)}
.ac-acts{grid-column:2} }
.ac-card .ac-person{grid-template-columns:auto minmax(0,1fr);align-items:start}
.ac-person .ac-acts{grid-column:2;margin-top:6px}
.ac-person .ac-t small{white-space:normal;overflow-wrap:anywhere}
.ac-act{width:32px;height:32px}
.ac-hn b{-webkit-line-clamp:3}

/* ── Induction steps: one centred column - the heading, the picture large, the words, then what to do ── */
.lms-in.lms-one{max-width:880px;padding:48px 32px 72px}
.lms-one .lms-head{text-align:center;border-bottom:0;padding-bottom:0;margin-bottom:28px}
.lms-one .lms-head h2,.lms-one .lms-head .s-n{text-align:center;margin-left:auto;margin-right:auto;max-width:none;width:100%}
.lms-one .lms-main{max-width:none;display:grid;gap:24px}
.lms-one .lms-main > *{margin:0}
.lms-one .sh-gallery{gap:14px}
.lms-one .sh-gallery.n1{grid-template-columns:1fr}
.lms-one .sh-gallery.n2,.lms-one .sh-gallery.n3,.lms-one .sh-gallery.n4{grid-template-columns:repeat(2,minmax(0,1fr))}
.lms-one .sh-gallery img{aspect-ratio:16/9;border-radius:20px;box-shadow:0 18px 40px -24px rgba(0,0,0,.35)}
.lms-one .sh-gallery.n1 img{aspect-ratio:16/9}
.lms-one .sh-gallery.n3 figure:first-child{grid-column:1/-1}
.lms-one .sh-gallery figcaption{text-align:center;margin-top:8px;font-size:13px}
.lms-one .md{font-size:17px;line-height:1.65}
.lms-one .md > p:first-child{font-size:19px;text-align:center;color:var(--ink)}
.lms-one .md ul{list-style:none;padding:0;margin:.6em 0 0;display:grid;gap:10px}
.lms-one .md ul li{position:relative;padding:14px 18px 14px 44px;border-radius:14px;background:var(--sunken);margin:0}
.lms-one .md ul li::before{content:"";position:absolute;left:18px;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:var(--hub-grad)}
.lms-one .md ol{padding-left:1.4em}
.lms-one .sh-sec{margin:0}
.lms-one .vid-poster{border-radius:20px;overflow:hidden}
@media (max-width:720px){
  .lms-in.lms-one{padding:28px 18px 48px}
.lms-one .sh-gallery.n2,.lms-one .sh-gallery.n3,.lms-one .sh-gallery.n4{grid-template-columns:1fr}
.lms-one .md > p:first-child{font-size:17px} }

/* The induction page: new starters and the footer inside the same container as the rest. */
#tab-induction .ind-starters,#tab-induction .foot{max-width:var(--page-w);margin-left:auto;margin-right:auto}

/* ── Pink ticks: every checkbox in the hub (switches keep their own look) ── */
input[type="checkbox"]:not(.sr-only){-webkit-appearance:none;appearance:none;flex:none;width:20px;height:20px;margin:0 8px 0 0;vertical-align:-4px;border:1.5px solid var(--g30,#c6c6c6);border-radius:6px;background:var(--panel) center/14px 14px no-repeat;cursor:pointer;transition:background-color .15s,border-color .15s,box-shadow .15s}
input[type="checkbox"]:not(.sr-only):hover{border-color:#FC31BB}
input[type="checkbox"]:not(.sr-only):checked{border-color:transparent;background-color:#FC31BB;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
input[type="checkbox"]:not(.sr-only):indeterminate{border-color:transparent;background-color:#FC31BB;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E")}
input[type="checkbox"]:not(.sr-only):focus-visible{outline:none;box-shadow:0 0 0 3px rgba(252,49,187,.3)}
input[type="checkbox"]:not(.sr-only):disabled{opacity:.45;cursor:default}
.switch input[type="checkbox"]:not(.sr-only),.pm-sw input[type="checkbox"]:not(.sr-only){-webkit-appearance:auto;appearance:auto;position:absolute;opacity:0;width:100%;height:100%;inset:0;margin:0;border:0;background:none;box-shadow:none}

/* ── The gradient orb (Ask Claude, to-dos, Claude's replies): the same slow, steady turn everywhere.
      The gradient turns, not the element, so anything inside it stays upright. ── */
@property --orb-a{syntax:"<angle>";inherits:false;initial-value:200deg}
@keyframes orb-turn{to{--orb-a:560deg}}
.claude-mark,.msg.bot .bot-av,.oc-spark{background:conic-gradient(from var(--orb-a),#2DE1FD,#FC31BB,#FF7A00,#2DE1FD);animation:orb-turn 8s linear infinite}
.answer.busy .spark{background:conic-gradient(from var(--orb-a),#2DE1FD,#FC31BB,#FF7A00,#2DE1FD);animation:orb-turn 1.6s linear infinite}
@media (prefers-reduced-motion:reduce){ .claude-mark,.msg.bot .bot-av,.oc-spark,.answer.busy .spark{animation:none} }

/* ── Inspiration & AI: category tiles across the top, then Awwwards and AI news side by side ── */
.inspo{display:block;padding:24px 26px 26px}
.in-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px;margin-bottom:28px}
.in-cat{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:6px 14px;padding:16px 18px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,rgba(45,225,253,.08),rgba(252,49,187,.08) 55%,rgba(255,122,0,.08));color:var(--ink);font:inherit;text-align:left;cursor:pointer;animation:so-in .4s ease both;animation-delay:calc(var(--i,0) * 50ms);transition:transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s,border-color .25s}
.in-cat:hover{transform:translateY(-3px);border-color:transparent;box-shadow:0 0 0 1px #FC31BB,0 18px 34px -22px rgba(0,0,0,.45)}
.in-cat:focus-visible{outline:2px solid #FC31BB;outline-offset:2px}
.in-cat-ic{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:var(--hub-grad);color:#fff;grid-row:span 2;flex:none;box-shadow:0 10px 22px -12px rgba(252,49,187,.7)}
.in-cat-t{display:flex;flex-direction:column}
.in-cat-t b{font-size:15.5px}
.in-cat-t small{font-size:12.5px;color:var(--g60)}
.in-cat-favs{display:flex;padding-left:4px}
.in-cat-favs i{display:grid;place-items:center;width:24px;height:24px;margin-left:-6px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--panel),0 0 0 3px var(--line);overflow:hidden}
.in-cat-favs i:first-child{margin-left:0}
.in-cat-favs img{width:14px;height:14px}
.in-pair{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;align-items:start}
.in-none{display:flex;gap:14px;align-items:flex-start;padding:18px;border-radius:16px;background:var(--sunken)}
.in-none-ic{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:14px;background:#fff;box-shadow:0 0 0 1px var(--line)}
.in-none b{font-size:15px}
.in-none p{margin:4px 0 12px;font-size:13.5px;color:var(--g60)}
.in-why{margin:10px 0 0;font-size:12px;color:var(--g60);line-height:1.45}
@media (max-width:900px){
  .in-pair{grid-template-columns:1fr} }
@media (max-width:520px){
  .in-cats{grid-template-columns:1fr 1fr;gap:10px}
.in-cat{grid-template-columns:1fr;padding:14px}
.in-cat-ic{grid-row:auto;width:40px;height:40px}
.in-cat-favs{display:none} }
/* The links modal */
.hm-card.inl-card{width:min(860px,100%);padding:30px 32px 30px;border-radius:22px;position:relative}
.inl-card > .nr-x{position:absolute;top:16px;right:16px}
.inl-title{display:flex;align-items:center;gap:14px;margin:0 48px 16px 0;font-size:24px}
.inl-title .in-cat-ic{grid-row:auto}
.inl-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.inl-tabs .fchip{display:inline-flex;align-items:center;gap:6px}
.inl-tabs .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff}
.inl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:12px;max-height:60vh;overflow:auto;padding:2px}
.inl-link{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;color:var(--ink);text-decoration:none;animation:so-in .35s ease both;animation-delay:calc(var(--i,0) * 35ms);transition:border-color .2s,box-shadow .2s,transform .2s}
.inl-link:hover{border-color:transparent;box-shadow:0 0 0 1px #FC31BB,0 14px 28px -20px rgba(0,0,0,.4);transform:translateY(-2px)}
.inl-fav{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#fff;box-shadow:0 0 0 1px var(--line);font-weight:800;color:#A9127A}
.inl-t{display:flex;flex-direction:column;min-width:0}
.inl-t b{font-size:14.5px}
.inl-t small{font-size:12.5px;color:var(--g60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:600px){
  .hm-card.inl-card{padding:24px 18px}
.inl-grid{grid-template-columns:1fr} }
/* Admin → verticals: how each leader's photo is going. */
.vt-st{grid-column:1/-1;flex-basis:100%;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:10px 12px;border-radius:10px;font-size:13px;background:var(--sunken)}
.vt-st.ok{color:#1F7A4D}
.vt-st img{width:22px;height:22px;border-radius:50%;object-fit:cover}
.vt-st.none{background:#FFF4FB;color:var(--ink)}
.vt-st small{flex-basis:100%;color:var(--g60);font-size:12px}
.vt-st.none{display:block}
.vt-st.none small{display:block;margin-top:4px}

/* ── Admin tabs: the same look as Home extras' - a soft tray, the chosen one raised with a pink underline ── */
.subtabs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 22px;padding:6px;border:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:16px;background:var(--sunken);overflow:visible}
.subtabs button,.subtabs a{display:inline-flex;align-items:center;height:40px;padding:0 16px;border:0;border-radius:12px;background:none;color:var(--ink-2);font:inherit;font-size:14px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background .2s,box-shadow .2s,color .2s}
.subtabs button:hover,.subtabs a:hover{background:var(--panel);color:var(--ink)}
.subtabs button[aria-selected="true"],.subtabs a[aria-selected="true"]{background:var(--panel);color:var(--ink);font-weight:600;border-bottom:0;box-shadow:0 6px 16px -10px rgba(27,19,48,.4),inset 0 -2px 0 #FC31BB}
@media (max-width:720px){ .subtabs{flex-wrap:nowrap;overflow-x:auto} .subtabs button,.subtabs a{flex:none} }

/* ── Admin → Marketing accounts: the hub's own inputs, each client a tidy row ── */
.ac-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 10px}
.ac-find{flex:1 1 240px;max-width:360px;height:40px;padding:0 14px;border:1px solid var(--line-2,#d6d6d6);border-radius:999px;background:var(--panel);color:var(--ink);font:inherit;font-size:14px}
.ac-find:focus{outline:none;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.ac-filt{display:inline-flex;gap:6px}
.ac-filt .fchip[aria-pressed="true"]{background:var(--hub-grad);border-color:transparent;color:#fff}
.ac-clients{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:8px;max-height:440px;padding:2px}
.ac-cl{grid-template-columns:minmax(0,1fr) 140px auto;gap:10px;padding:8px 10px 8px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:13.5px;transition:opacity .2s,border-color .2s}
.ac-cl[hidden]{display:none}
.ac-cl:hover{border-color:#FC31BB}
.ac-cl.off{opacity:.55}
.ac-cn{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ac-cl input[type="text"]{height:34px;padding:0 12px;border:1px solid var(--line-2,#d6d6d6);border-radius:10px;background:var(--panel);color:var(--ink);font:inherit;font-size:13.5px;min-width:0;transition:border-color .15s,box-shadow .15s}
.ac-cl input[type="text"]:focus{outline:none;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.ac-hide{display:inline-flex;align-items:center;font-size:13px;color:var(--g60);cursor:pointer;white-space:nowrap}
.ac-hide input{margin-right:6px}

/* ── The close button: a drawn ×, two lines that spin a quarter turn (with a little spring) on hover,
      press in when clicked, and draw themselves in when a modal opens ── */
.nr-x,.nr-x2,.answer-x,#lb-close,.op-close{font-size:0 !important;color:transparent !important;overflow:hidden;
  background-size:160% 160% !important;background-position:0 0 !important;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1),box-shadow .25s,background-position .5s ease !important}
.nr-x::before,.nr-x::after,.nr-x2::before,.nr-x2::after,.answer-x::before,.answer-x::after,#lb-close::before,#lb-close::after,.op-close::before,.op-close::after{
  content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;border-radius:2px;background:#fff;
  transform:translate(-50%,-50%) rotate(45deg);transition:transform .45s cubic-bezier(.34,1.56,.64,1);animation:x-draw .5s cubic-bezier(.22,1,.36,1) both}
.nr-x::after,.nr-x2::after,.answer-x::after,#lb-close::after,.op-close::after{transform:translate(-50%,-50%) rotate(-45deg);animation-name:x-draw2;animation-delay:.08s}
@keyframes x-draw{from{transform:translate(-50%,-50%) rotate(45deg) scaleX(0)}}
@keyframes x-draw2{from{transform:translate(-50%,-50%) rotate(-45deg) scaleX(0)}}
.op-close svg{display:none !important}
.nr-x:hover,.nr-x2:hover,.answer-x:hover,#lb-close:hover,.op-close:hover,.nr-x:focus-visible,.nr-x2:focus-visible,.answer-x:focus-visible,#lb-close:focus-visible,.op-close:focus-visible{
  transform:scale(1.08) !important;background-position:100% 100% !important;box-shadow:0 12px 24px -10px rgba(169,18,122,.85),0 0 0 4px rgba(252,49,187,.18) !important}
.nr-x:hover::before,.nr-x2:hover::before,.answer-x:hover::before,#lb-close:hover::before,.op-close:hover::before,.nr-x:focus-visible::before,.nr-x2:focus-visible::before,.answer-x:focus-visible::before,#lb-close:focus-visible::before,.op-close:focus-visible::before{transform:translate(-50%,-50%) rotate(135deg)}
.nr-x:hover::after,.nr-x2:hover::after,.answer-x:hover::after,#lb-close:hover::after,.op-close:hover::after,.nr-x:focus-visible::after,.nr-x2:focus-visible::after,.answer-x:focus-visible::after,#lb-close:focus-visible::after,.op-close:focus-visible::after{transform:translate(-50%,-50%) rotate(45deg)}
.nr-x:active,.nr-x2:active,.answer-x:active,#lb-close:active,.op-close:active{transform:scale(.9) !important;transition-duration:.12s !important}
@media (prefers-reduced-motion:reduce){ .nr-x::before,.nr-x::after,.nr-x2::before,.nr-x2::after,.answer-x::before,.answer-x::after,#lb-close::before,#lb-close::after,.op-close::before,.op-close::after{animation:none;transition:none} }

/* ── Admin → Scores: leagues as tidy chips; pink, not the gradient, for + and −; no number spinners ── */
.ex-leagues{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px;margin-top:12px}
.ex-leagues .ex-lg{display:flex;align-items:center;gap:10px;padding:9px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);font-size:14px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.ex-leagues .ex-lg:hover{border-color:#FC31BB}
.ex-leagues .ex-lg:has(input:checked){border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.1)}
.ex-leagues .ex-lg input{margin:0}
.ex-step button{transition:background .2s,color .2s,border-color .2s,transform .2s}
.ex-step button:hover{background:#FC31BB;border-color:#FC31BB;color:#fff;transform:scale(1.05)}
.ex-step button:active{transform:scale(.92)}
.ex-step input{height:40px;border:1px solid var(--line-2,#d6d6d6);border-radius:12px;font:inherit;font-size:15px;font-weight:600;-moz-appearance:textfield;appearance:textfield}
.ex-step input::-webkit-outer-spin-button,.ex-step input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.ex-step input:focus{outline:none;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.in-pair + .in-cats{margin:28px 0 0;padding-top:24px;border-top:1px solid var(--line)}
/* Infosys leaders' photos framed the same way: cropped round the face (upper middle), a white inner ring. */
.vt-pic{padding:2.5px}
.vt-pic img{object-position:50% 18%;transform:scale(1.06);box-shadow:inset 0 0 0 2px #fff;border:2px solid #fff;box-sizing:border-box;background:#F4F1F7}
/* Marketing accounts: alternating rows of white and grey cards (dashboard.js marks .alt); the hover line drawn on the card's own border, inside the list. */
.ac-grid{padding:8px 4px 4px}
.ac-card{border:1.5px solid var(--line)}
.ac-card.alt{background:var(--sunken)}
.ac-card.alt .ac-co,.ac-card.alt .ac-act{background:var(--panel)}
.ac-card:hover{border-color:#FC31BB;box-shadow:0 10px 24px -18px rgba(0,0,0,.35)}
/* A leader's note: a small i at the card's bottom right, its words in a bubble on hover, focus or tap. */
.vt-card{position:relative}
.vt-info{position:absolute;right:12px;bottom:12px;display:grid;place-items:center;width:24px;height:24px;padding:0;border-radius:50%;border:1.5px solid #FC31BB;background:var(--panel);color:#A9127A;font:italic 700 13px/1 Georgia,serif;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.vt-info:hover,.vt-info:focus-visible,.vt-info.open{background:#FC31BB;color:#fff;outline:none;transform:scale(1.08)}
.vt-info::after{content:attr(data-tip);position:absolute;right:-6px;bottom:calc(100% + 10px);width:max-content;max-width:240px;padding:9px 12px;border-radius:10px;background:var(--ink);color:var(--panel);font:400 12.5px/1.45 inherit;font-family:inherit;font-style:normal;text-align:left;white-space:normal;box-shadow:0 12px 26px -12px rgba(0,0,0,.5);opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity .2s,transform .2s;z-index:5}
.vt-info:hover::after,.vt-info:focus-visible::after,.vt-info.open::after{opacity:1;transform:none}
/* Cards always fit the list's width (a long email or name no longer pushes them wider), so their edges show. */
.ac-grid{grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));padding:8px 8px 6px}
.ac-card{min-width:0;box-sizing:border-box}
.ac-card .ac-person,.ac-person .ac-t{min-width:0}
.vt-info{font-family:inherit;font-style:normal;font-weight:700;font-size:13px}
.vt-info::after{font-family:inherit;font-weight:400;font-size:12.5px;line-height:1.45}
.vt-card:has(.vt-info){padding-right:44px}

/* People: the Teams mark on Message in Teams, and who's away from the office. */
.ic-teams{flex:none}
.pc-acts .btn,.op-acts .btn,.t-msg{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.op-acts .btn-primary .ic-teams rect{fill:#fff}
.op-acts .btn-primary .ic-teams rect + path{fill:#4B53BC}
.pc-off{display:inline-flex;align-items:center;gap:7px;margin:8px 0 0;padding:4px 11px;border-radius:999px;font-size:12.5px;font-weight:600;background:#FFF1E6;color:#A64B00}
.pc-off i{width:8px;height:8px;border-radius:50%;background:#FF7A00;flex:none}
.pc-off.focus{background:#E8F7FB;color:#0F6B80}
.pc-off.focus i{background:#2DC4E0}
.op-row .pc-off{margin:0}

/* Close buttons keep their own place; the ones that sit in the flow anchor their drawn × themselves. */
.lms-top .op-close{position:relative}
.pc-off{border-radius:12px;line-height:1.35}
.nr-x2,.answer-x{position:relative}

/* People, My questions, Sources and Admin inside the same container as the header and the other pages. */
#tab-people > *,#tab-questions > *,#tab-sources > *,#tab-admin > *{max-width:var(--page-w);margin-left:auto;margin-right:auto;box-sizing:border-box}
/* Account cards' round buttons on hover: solid pink with a white icon, on white and grey cards alike. */
.ac-card .ac-act:hover,.ac-card .ac-act:focus-visible,.ac-card.alt .ac-act:hover,.ac-card.alt .ac-act:focus-visible{background:#FC31BB;border-color:#FC31BB;color:#fff;outline:none}
/* Person cards: Teams and email as two round icon buttons, side by side. */
.pc-acts{justify-content:flex-start;gap:10px}
.pc-acts .pc-teams .ic-teams{width:20px;height:20px}
.pc-acts .pc-ic:hover{border-color:#FC31BB;transform:translateY(-1px)}
/* Infosys verticals: their marketing contacts; admins hiding a person from the account cards. */
.vt-people{display:inline-flex;align-items:center;gap:6px;margin-top:10px;height:30px;padding:0 12px;border:1px solid var(--line-2,#d6d6d6);border-radius:999px;background:var(--panel);color:var(--ink);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.vt-people svg{color:#A9127A}
.vt-people:hover,.vt-people:focus-visible{background:#FC31BB;border-color:#FC31BB;color:#fff;outline:none}
.vt-people:hover svg,.vt-people:focus-visible svg{color:#fff}
.hm-card.vc-card{width:min(640px,100%);padding:30px 32px;border-radius:22px;position:relative}
.vc-card > .nr-x{position:absolute;top:16px;right:16px}
.vc-head{display:flex;gap:14px;align-items:center;margin:0 48px 18px 0}
.vc-head h3{margin:2px 0 0;font-size:22px}
.vc-head .hm-sub{margin:2px 0 0}
.vc-list{display:grid;gap:12px;max-height:62vh;overflow:auto;padding:2px}
.vc-acc{padding:14px 16px;border:1.5px solid var(--line);border-radius:16px}
.vc-acc:nth-child(even){background:var(--sunken)}
.vc-an{display:block;font-size:14px;margin-bottom:4px}
.vc-acc .ac-person{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 0;border-top:1px solid var(--line)}
.vc-acc .ac-person:first-of-type{border-top:0}
.vc-acc .ac-act:hover{background:#FC31BB;border-color:#FC31BB;color:#fff}
.ac-hidep{font-size:18px;line-height:1;color:var(--g60)}
.ac-hiddenp{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 16px}

/* Useful links modal: the admin's tab tray, and roomier link cards. */
.hm-card.inl-card{width:min(920px,100%);padding:30px 32px 32px}
.inl-head{margin:0 52px 16px 0}
.inl-head h3{margin:0;font-size:24px}
.inl-head .hm-sub{margin:4px 0 0}
.ex-tabs.inl-tabs{margin:0 0 20px}
.inl-tabs button{cursor:pointer}
.inl-tabs button em{font-style:normal;font-size:11.5px;font-weight:700;min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:inline-grid;place-items:center;background:var(--panel);color:var(--g60)}
.inl-tabs button[aria-selected="true"] em{background:#FC31BB;color:#fff}
.inl-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px}
.inl-link{grid-template-columns:auto minmax(0,1fr);align-items:flex-start;position:relative;padding:16px 16px 16px 16px;border:1.5px solid var(--line);border-radius:18px}
.inl-link:hover{border-color:#FC31BB;box-shadow:0 14px 28px -20px rgba(0,0,0,.4);transform:translateY(-2px)}
.inl-link > .ext-go{display:none}
.inl-fav{width:48px;height:48px;border-radius:14px}
.inl-t{gap:2px;padding-right:22px}
.inl-t b{font-size:15px}
.inl-note{font-size:13px;line-height:1.4;color:var(--ink-2,#444);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.inl-t small{margin-top:4px;font-size:12px;color:var(--g60)}
.inl-go{position:absolute;top:14px;right:14px;font-size:15px;color:var(--g60);transition:transform .2s,color .2s}
.inl-link:hover .inl-go{color:#FC31BB;transform:translate(2px,-2px)}
@media (max-width:600px){
  .hm-card.inl-card{padding:24px 18px}
.ex-tabs.inl-tabs{flex-wrap:nowrap;overflow-x:auto}
.ex-tabs.inl-tabs button{flex:none} }
/* The person pop-up: bigger, with the cards' round Teams and email buttons. */
.org-pop{width:min(580px,calc(100vw - 32px));padding:34px 36px 30px}
.org-pop .op-head .av,.org-pop .op-head img{width:104px;height:104px}
.org-pop .op-head h3{font-size:26px}
.org-pop .op-acts{gap:12px}
.org-pop .op-acts .pc-ic{width:48px;height:48px;min-width:48px;padding:0;border-radius:50%;justify-content:center}
.org-pop .op-acts .pc-ic:hover{border-color:#FC31BB;transform:translateY(-1px)}
.org-pop .op-acts .ic-teams{width:22px;height:22px}

/* ══ Tabs, everywhere: the Figma filter chip - a pill with a thin grey line; the chosen one solid black
      with white text. Tab bars (admin, Home extras, the links modal) are the same pills, a little larger. ══ */
.subtabs,.ex-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 22px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
.subtabs button,.subtabs a,.ex-tabs button{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 18px;border:1px solid var(--g30) !important;border-radius:999px !important;background:var(--panel);color:var(--ink);font:inherit;font-size:14px;font-weight:500;box-shadow:none !important;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.subtabs button:hover,.subtabs a:hover,.ex-tabs button:hover{background:var(--panel);border-color:var(--ink) !important;color:var(--ink)}
.subtabs button[aria-selected="true"],.subtabs a[aria-selected="true"],.ex-tabs button[aria-selected="true"]{background:#000 !important;border-color:#000 !important;color:#fff !important;font-weight:600}
.ex-tabs button svg{color:currentColor}
.ex-tabs button[aria-selected="true"] svg{color:#fff}
.inl-tabs button em{background:var(--g10);color:var(--g70)}
.inl-tabs button[aria-selected="true"] em{background:#fff;color:#000}
/* Filter chips that act as tabs: black when chosen, not the gradient. */
.fchip:hover{border-color:var(--ink)}
.fchip[aria-pressed="true"],.sc-tabs .fchip[aria-pressed="true"],.so-tabs .fchip[aria-pressed="true"],.ev-orgs .fchip[aria-pressed="true"],.as-clients .fchip[aria-pressed="true"],.ac-filt .fchip[aria-pressed="true"],.inl-tabs .fchip[aria-pressed="true"],.sc-pick .fchip[aria-pressed="true"]{background:#000 !important;border:1px solid #000 !important;color:#fff !important}
/* Choices you tick (categories, terms) stay pink - they're picks, not tabs. */
.xe-terms .fchip[aria-pressed="true"]{background:#FC31BB !important;border-color:#FC31BB !important;color:#fff !important}
@media (prefers-color-scheme:dark){ :root:not([data-theme="light"]) .subtabs button[aria-selected="true"],:root:not([data-theme="light"]) .subtabs a[aria-selected="true"],:root:not([data-theme="light"]) .ex-tabs button[aria-selected="true"],:root:not([data-theme="light"]) .fchip[aria-pressed="true"]{background:#fff !important;border-color:#fff !important;color:#000 !important} }
:root[data-theme="dark"] .subtabs button[aria-selected="true"],:root[data-theme="dark"] .subtabs a[aria-selected="true"],:root[data-theme="dark"] .ex-tabs button[aria-selected="true"],:root[data-theme="dark"] .fchip[aria-pressed="true"]{background:#fff !important;border-color:#fff !important;color:#000 !important}
@media (max-width:720px){ .subtabs,.ex-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px} .subtabs button,.subtabs a,.ex-tabs button{flex:none;height:38px;padding:0 14px} }

/* ── Assign to client: a welcome with the two ways in; Add a project: a fan of real experiences ── */
.xt{display:block;border-radius:12px;background-size:cover;background-position:center;box-shadow:0 12px 24px -14px rgba(0,0,0,.45),0 0 0 2px #fff}
.xt.g0{background:linear-gradient(135deg,#2DE1FD,#A98BE6)}
.xt.g1{background:linear-gradient(135deg,#FC31BB,#FF7A00)}
.xt.g2{background:linear-gradient(135deg,#6B1773,#FC31BB)}
.xt.g3{background:linear-gradient(135deg,#FF7A00,#FFD166)}
.as-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:28px;align-items:center;padding:26px;border-radius:18px;background:linear-gradient(135deg,rgba(45,225,253,.08),rgba(252,49,187,.08) 55%,rgba(255,122,0,.08))}
.as-art{position:relative;width:150px;height:120px;flex:none}
.as-art .xt{position:absolute;width:84px;height:62px;animation:as-fan .6s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--i) * 70ms)}
.as-art .xt:nth-child(1){left:0;top:8px;transform:rotate(-8deg)}
.as-art .xt:nth-child(2){left:52px;top:0;transform:rotate(6deg)}
.as-art .xt:nth-child(3){left:14px;top:54px;transform:rotate(4deg)}
.as-art .xt:nth-child(4){left:64px;top:50px;transform:rotate(-5deg)}
@keyframes as-fan{from{opacity:0;transform:translateY(10px) rotate(0)}}
.as-lock{position:absolute;right:-6px;bottom:-6px;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#FC31BB;color:#fff;box-shadow:0 0 0 3px #fff,0 10px 20px -10px rgba(252,49,187,.8)}
.as-hero-t b{display:block;font-size:18px;line-height:1.3}
.as-hero-t p{margin:6px 0 16px;font-size:14px;line-height:1.5;color:var(--g60)}
.as-hero-acts{display:flex;gap:10px;flex-wrap:wrap}
.as-hero-acts .btn{display:inline-flex;align-items:center;gap:6px}
#addexp{position:relative;overflow:hidden}
.xe-art{position:absolute;right:22px;top:50%;width:170px;height:130px;transform:translateY(-50%);pointer-events:none}
.xe-art .xt{position:absolute;width:110px;height:80px;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.xe-art .xt:nth-child(1){right:44px;top:6px;transform:rotate(-9deg)}
.xe-art .xt:nth-child(2){right:0;top:20px;transform:rotate(7deg)}
.xe-art .xt:nth-child(3){right:24px;top:46px;transform:rotate(-2deg);z-index:1}
#addexp:hover .xe-art .xt:nth-child(1){transform:rotate(-14deg) translate(-8px,-4px)}
#addexp:hover .xe-art .xt:nth-child(2){transform:rotate(12deg) translate(8px,-4px)}
#addexp:hover .xe-art .xt:nth-child(3){transform:rotate(0) translateY(4px)}
#addexp .xe-in,#addexp .xe-acts,#addexp .xe-note{position:relative;z-index:1;max-width:calc(100% - 200px)}
@media (max-width:900px){
  .xe-art{display:none}
#addexp .xe-in,#addexp .xe-acts,#addexp .xe-note{max-width:none} }
@media (max-width:600px){
  .as-hero{grid-template-columns:1fr;gap:16px;padding:20px}
.as-art{width:140px;height:110px} }
@media (prefers-reduced-motion:reduce){
  .as-art .xt{animation:none}
.xe-art .xt{transition:none} }
/* New client: the login heading, and the password made for you. */
.nc-lh{margin:0 0 4px}
.nc-lh b{display:block;font-size:15px}
.nc-lh small{display:block;font-size:13px;color:var(--g60);margin-top:2px}
.nc-pw input[readonly]{background:var(--panel);cursor:text;font-weight:600}
.inl-gh{grid-column:1/-1;display:flex;align-items:center;gap:8px;margin:10px 0 -2px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#A9127A}
.inl-gh:first-child{margin-top:0}
/* Assign to client's welcome fills its box. */
#assign:has(.as-hero){padding:0;border:0;background:none;display:flex}
#assign .as-hero{flex:1;height:100%;border:1px solid var(--line)}

/* Marketing accounts: each card starts closed - the company and account, a count and a down-arrow - and opens to
   its people. Admins' remove button sits at a person's top right, outlined red. */
.ac-card .ac-head{cursor:pointer;margin-bottom:0;padding-bottom:0;border-bottom:0;flex-wrap:nowrap;user-select:none}
.ac-card .ac-head:focus-visible{outline:2px solid #FC31BB;outline-offset:4px;border-radius:12px}
.ac-count{flex:none;font-size:12.5px;color:var(--g60);white-space:nowrap}
.ac-chev{flex:none;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--line-2,#d6d6d6);background:var(--panel);color:var(--ink);transition:transform .3s cubic-bezier(.22,1,.36,1),background .2s,color .2s,border-color .2s}
.ac-head:hover .ac-chev{border-color:#FC31BB;color:#FC31BB}
.ac-card.open .ac-chev{transform:rotate(180deg);background:#FC31BB;border-color:#FC31BB;color:#fff}
.ac-reg{align-self:center}
.ac-card .ac-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .42s cubic-bezier(.4,0,.2,1)}
.ac-card.open .ac-body{grid-template-rows:1fr}
/* Everything inside, its rule and gap included, folds away together - nothing jumps when it closes */
.ac-in{min-height:0;overflow:hidden;opacity:0;transform:translateY(-6px);transition:opacity .25s ease,transform .42s cubic-bezier(.4,0,.2,1)}
.ac-in > :first-child{margin-top:12px;padding-top:4px;border-top:1px solid var(--line)}
.ac-card.open .ac-in{opacity:1;transform:none;transition:opacity .3s ease .08s,transform .42s cubic-bezier(.4,0,.2,1)}
.ac-card .ac-person{position:relative;padding-right:40px}
.ac-hidep{position:absolute;top:8px;right:0;display:grid;place-items:center;width:28px;height:28px;padding:0;border-radius:50%;border:1.5px solid #E5484D;background:var(--panel);color:#E5484D;font:inherit;font-size:16px;line-height:1;cursor:pointer;transition:background .2s,color .2s}
.ac-hidep:hover,.ac-hidep:focus-visible{background:#E5484D;color:#fff;outline:none}
@media (prefers-reduced-motion:reduce){
  .ac-card .ac-body,.ac-in,.ac-chev{transition:none} }
/* Experiences art: a tile fades to another project every 10 seconds */
.as-art .xt,.xe-art .xt{transition:transform .5s cubic-bezier(.22,1,.36,1),filter .38s ease}
.xt.xt-out{filter:opacity(0) blur(3px)}
/* Make another: the refresh arrows turn once on each click */
#nc-gen{display:inline-flex;align-items:center;gap:8px}
#nc-gen.spin .lu{animation:nc-spin .6s cubic-bezier(.22,1,.36,1)}
@keyframes nc-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
  .xt.xt-out{filter:none}
#nc-gen.spin .lu{animation:none} }
/* Replicate card: the Replicate console's purple, as on its Explore header */
.rep-card{position:relative;isolation:isolate;border:0;border-radius:20px;
  background:radial-gradient(60% 90% at 100% 110%,rgba(45,190,230,.22),rgba(45,190,230,0) 70%),radial-gradient(50% 80% at 95% -20%,rgba(255,150,70,.22),rgba(255,150,70,0) 70%),linear-gradient(120deg,#1b1330 0%,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%);
  box-shadow:0 20px 50px -24px rgba(74,29,94,.75)}
.rep-card .rc-bill{background:rgba(255,255,255,.08);border-block:1px solid rgba(255,255,255,.1)}
.rep-card .rc-head .eyebrow,.rep-card .rc-spend{color:rgba(255,255,255,.82)}
.rep-card .rc-bill .k,.rep-card .rc-client{color:rgba(255,255,255,.7)}
.rep-card .rc-change{border-color:rgba(255,255,255,.45);color:#fff}
.rep-card .rc-tile.empty,.rep-card .rc-all{color:#fff;border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.06)}
.rep-card .rc-all:hover{border-color:#fff;background:rgba(255,255,255,.12)}
/* Accounts: each person lines up under the account - the avatar centred under the logo, the name under the account's name */
.ac-card .ac-person{grid-template-columns:40px minmax(0,1fr);column-gap:12px}
.ac-card .ac-person > .av,.ac-card .ac-person > :first-child{justify-self:center}
/* Admins' role picker: at the top of Home, pinned under the header, its band across the full width */
#tab-home .hb-bar.hv-pin{position:sticky;top:var(--hdr-h,72px);z-index:45;margin:-32px auto 28px;padding:10px 0;isolation:isolate}
#tab-home .hb-bar.hv-pin::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:100vw;margin-left:-50vw;z-index:-1;
  background:linear-gradient(100deg,rgba(45,225,253,.10),rgba(252,49,187,.09) 55%,rgba(255,122,0,.08)),var(--ground,#fff);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);box-shadow:0 10px 24px -20px rgba(27,19,48,.35)}
#tab-home .hb-bar.hv-pin #hb-viewas{padding:2px 0;border:0;border-radius:0;background:none;box-shadow:none}
#tab-home .hb-bar.hv-pin #hb-viewas::before{display:none}
#tab-home .hb-bar.hv-pin #hb-viewas .hv-ico{width:36px;height:36px;border-radius:10px}
#tab-home .hb-bar.hv-pin #hb-viewas.hv-on{box-shadow:none}
#tab-home .hb-bar.hv-pin #hb-viewas .hv-pick .cs-btn{min-height:38px}
#tab-home .hb-bar.hv-pin .hb-arrange{height:38px}
body.arranging #tab-home .hb-bar.hv-pin{top:var(--hdr-h,72px)}
@media (max-width:900px){ #tab-home .hb-bar.hv-pin{position:relative;top:auto} #tab-home .hb-bar.hv-pin #hb-viewas .hb-desc{display:none} }
/* Completed induction: a tick above Ask the studio, its details on hover */
.cmp-fab{position:fixed;right:27px;bottom:94px;z-index:70;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--panel,#fff);
  box-shadow:0 0 0 1px var(--line),0 12px 28px -12px rgba(27,19,48,.45);text-decoration:none;color:var(--ink);transition:transform .2s ease,box-shadow .2s ease;animation:so-in .4s ease both}
.cmp-fab:hover,.cmp-fab:focus-visible{transform:translateY(-2px);box-shadow:0 0 0 1.5px #FC31BB,0 16px 32px -12px rgba(252,49,187,.5)}
.cmp-fab .cmp-tick{margin:0}
.cmp-tip{position:absolute;right:calc(100% + 12px);top:50%;transform:translate(6px,-50%);white-space:nowrap;padding:9px 14px;border-radius:12px;background:#111;color:#fff;font-size:12.5px;line-height:1.4;
  opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease;box-shadow:0 10px 24px -12px rgba(0,0,0,.5)}
.cmp-tip b{display:block;font-size:13px}
.cmp-fab:hover .cmp-tip,.cmp-fab:focus-visible .cmp-tip{opacity:1;transform:translate(0,-50%)}
body:has(#chat[aria-hidden="false"]) .cmp-fab{opacity:0;pointer-events:none}
@media (max-width:600px){ .cmp-fab{right:19px;bottom:84px} }
/* Header: weather, office times and notifications together; on a wide screen they sit at its far right edge,
   outside the container, while your name and Sign out stay with the page */
.hd-edge{display:contents}
body header.app .hd-edge > *{order:1}   /* in line with the rest: after your name and Sign out */
@media (min-width:2160px){
  body header.app .hd-edge{display:flex;align-items:center;gap:14px;position:absolute;right:32px;top:0;height:72px}
}
@media (max-width:1000px){ body header.app .hd-right > .hd-edge.hd-edge{display:contents!important} body header.app .hd-edge > :not(.hd-clock):not(.hd-wx){display:none!important} body header.app .hd-edge > .hd-wx[hidden]{display:none!important} }
/* Group headings (Experiences, Work & clients, Just for fun): an icon tile, the title and what's in it, on a gradient hairline */
.hb-group{align-items:center;gap:14px;flex-wrap:nowrap;border-bottom:0;padding-bottom:16px;position:relative}
.hb-group::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,rgba(45,225,253,.6),rgba(252,49,187,.45) 35%,var(--line) 70%)}
.hb-group-i{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 8px 18px -10px rgba(252,49,187,.7)}
.hb-group-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.hb-group-tx .hb-group-t{line-height:1.2}
.hb-band .hb-group::after{background:linear-gradient(90deg,rgba(255,255,255,.5),rgba(27,19,48,.1) 60%)}
/* Home sections: a steadier rhythm - less air between rows, a group heading close to what it heads */
#tab-home .hblocks{row-gap:48px}
#tab-home .hb-group{margin-bottom:-24px}
/* The induction tick follows Ask the studio up when the news ticker is showing, with a clear gap above it */
.cmp-fab{bottom:96px}
body.has-ticker .cmp-fab{bottom:136px}
@media (max-width:600px){ .cmp-fab{bottom:86px}
  body.has-ticker .cmp-fab{bottom:126px} }
/* Induction end screen: one centred column, sitting in the middle of the space under the progress bar */
.ind-sheet .lms-body:has(> .lms-end){display:flex;flex-direction:column}
.ind-sheet .lms-in.lms-end{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;
  box-sizing:border-box;width:100%;max-width:none;margin:0 auto;padding:48px 24px 64px;min-height:calc(100vh - 180px);min-height:calc(100dvh - 180px)}
.ind-sheet .lms-end > :not(.confetti){position:relative;max-width:760px;margin-left:auto;margin-right:auto}
.ind-sheet .lms-end .end-ic{margin:0 auto 22px;flex:none}
.ind-sheet .lms-end .eyebrow{display:flex;justify-content:center;width:auto}
.ind-sheet .lms-end .end-p,.ind-sheet .lms-end .end-sub{text-wrap:balance}
.ind-sheet .lms-end .end-acts{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;margin-top:8px}
.end-ic{animation:endPop .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes endPop{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:none}}
/* Timesheets: admins' × to leave someone out, and the people left out, to count again */
.ts-row.ts-adm{grid-template-columns:28px minmax(0,1fr) 80px 44px 28px}
.ts-row .ts-skip{position:static;width:24px;height:24px;font-size:14px}
.ts-skipped{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:8px 20px 0;font-size:12px;color:var(--grey-60)}
.ts-back{border:1px dashed var(--line-2,#ccc);background:none;border-radius:999px;padding:2px 10px;font:inherit;font-size:12px;color:var(--ink);cursor:pointer}
.ts-back:hover{border-color:#FC31BB;color:#FC31BB}
/* All forms ↔ Close forms: the arrow on the right turns into a close × while the forms are open */
.qa-all{position:relative}
.qa-all .qa-x{display:none}
@media (min-width:601px){
  .qa-all .qa-x{display:block;width:0;opacity:0;transform:rotate(-90deg) scale(.6);transition:opacity .25s ease,transform .3s cubic-bezier(.2,.8,.2,1),width .3s cubic-bezier(.2,.8,.2,1)}
  .qa-row.qa-open .qa-all .qa-chev{width:0;opacity:0;margin:0;transform:rotate(90deg) scale(.6)}
  .qa-all .qa-chev{transition:transform .3s cubic-bezier(.2,.8,.2,1),opacity .2s ease,width .3s cubic-bezier(.2,.8,.2,1)}
  .qa-row.qa-open .qa-all .qa-x{width:14px;opacity:1;transform:none;margin-left:2px}
}
/* Open forms: Close forms moves to the right end of the row, after Every form */
@media (min-width:721px){ .qa-row.qa-end .qa-all{order:2} .qa-row.qa-end .qa-set{order:1} }
/* Experiences: private or password-protected on the site - a lock on the card */
.xp-lock{position:absolute;right:10px;top:10px;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 9px;border-radius:999px;background:rgba(0,0,0,.66);color:#fff;font-size:11.5px;font-weight:600;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
/* Sources (admins): the Experiences sync - on the site vs in search, and Sync now */
.xs-sync{display:flex;align-items:center;gap:14px;margin:0 0 18px;padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.xs-sync[hidden]{display:none}
.xs-sync > span:not(.xs-dot){font-size:13px;color:var(--grey-60)}
.xs-sync > b{font-size:14px}
.xs-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.xs-t b{font-size:14px}
.xs-t small{font-size:12.5px;color:var(--grey-60)}
.xs-t .xs-err{color:#B00020}
.xs-dot{flex:none;width:10px;height:10px;border-radius:50%;background:#bbb}
.xs-dot.ok{background:#1E9E5A}.xs-dot.warn{background:#E8A33D}.xs-dot.err{background:#E5484D}
#xs-now{display:inline-flex;align-items:center;gap:6px;flex:none}
#xs-now.spin .lu{animation:nc-spin .8s linear infinite}
/* Site of the Day without a picture (the bookmark couldn't find one): a gradient tile with its initial */
.in-feat-img.in-noimg{display:grid;place-items:center;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.in-feat-img.in-noimg > b{font-size:56px;font-weight:700;color:#fff;text-transform:uppercase}
/* People: where someone's based (if not Melbourne) and their local time */
.pc-loc{display:flex;align-items:center;justify-content:center;gap:6px;margin:4px 0 0;font-size:12.5px;color:var(--grey-60)}
.pc-loc .lu{flex:none;color:#FC31BB}
.pc-loc .loc-time{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:999px;background:var(--tint-pink,#FDE7F5);color:var(--pink-ink,#A9127A);font-weight:600;font-variant-numeric:tabular-nums}
.op-loc{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}
.op-loc .lu{color:#FC31BB}
.op-loc small{color:var(--grey-60)}
.op-loc .loc-time{font-weight:600;font-variant-numeric:tabular-nums}
.pcard .pc-loc{justify-content:flex-start;margin:6px 0 10px}
/* Inspiration: the link tiles' heading */
.in-cats-h{margin:24px 0 12px;font-size:15px;font-weight:600;color:var(--ink);letter-spacing:-.005em}
/* People: an overseas person's local time, in the card's top right corner (under a company logo if there is one) */
.pcard > .pc-clock{position:absolute;top:16px;right:16px;z-index:2;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:999px;
  background:var(--tint-pink,#FDE7F5);color:var(--pink-ink,#A9127A);font-size:12.5px;font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.pcard:has(> .pc-co) > .pc-clock{top:64px}
.pc-clock .lu{flex:none}
/* The corner: pin, place, and the local time in its pink pill (as on the pop-up) */
.pcard > .pc-clock{gap:6px;height:auto;padding:0;background:none;color:var(--grey-60);font-weight:400;font-size:13px}
.pc-clock .lu{color:#FC31BB}
.pc-clock .loc-time{display:inline-flex;align-items:center;height:24px;padding:0 9px;border-radius:999px;background:var(--tint-pink,#FDE7F5);color:var(--pink-ink,#A9127A);font-weight:600;font-variant-numeric:tabular-nums}
@media (max-width:720px){ .pc-clock .pc-place{display:none} }
/* Two lines in the corner: where, then the time - clear of the photo */
.pcard > .pc-clock{flex-direction:column;align-items:flex-end;gap:5px;max-width:calc(100% - 132px)}
.pc-where{display:inline-flex;align-items:center;gap:5px;text-align:right;line-height:1.25}
@media (max-width:720px){ .pcard > .pc-clock{max-width:none} .pc-where .pc-place{display:none} }
/* My questions: each one opens and closes, a chevron saying which */
.q-card{position:relative}
.q-open{padding-right:66px}
.q-chev{position:absolute;right:18px;top:16px;display:grid;place-items:center;width:32px;height:32px;border-radius:50%;border:1px solid var(--line-2,#d6d6d6);background:var(--panel);color:var(--ink);
  transition:transform .3s cubic-bezier(.22,1,.36,1),background .2s,color .2s,border-color .2s}
.q-open:hover .q-chev{border-color:#FC31BB;color:#FC31BB}
.q-card.open .q-chev{transform:rotate(180deg);background:#FC31BB;border-color:#FC31BB;color:#fff}
@media (prefers-reduced-motion:reduce){ .q-chev{transition:none} }
/* Marketing accounts: one scrollbar - in a half-width spot the panel scrolls, so its list doesn't as well */
#hblocks > .hb[data-size="half"]:not(.hb-wide) .ac-grid{max-height:none;overflow:visible}
#hblocks > .hb[data-size="half"]:not(.hb-wide) .ev-list{max-height:none;overflow:visible;margin-right:0;padding-right:0}
/* Experiences art: a new picture fades in over the old (gently settling from a slight zoom) - no blink */
.as-art .xt,.xe-art .xt{overflow:hidden;will-change:transform;transition:transform .8s cubic-bezier(.22,1,.36,1)}
.xt-layer{position:absolute;inset:0;border-radius:inherit;background-size:cover;background-position:center;opacity:0;transform:scale(1.08);
  transition:opacity .9s cubic-bezier(.4,0,.2,1),transform 1.6s cubic-bezier(.22,1,.36,1)}
.xt-layer.in{opacity:1;transform:none}
/* The Assign to client fan spreads on hover too, like Add a project's */
.as-art .xt{animation-fill-mode:backwards}
.as-hero:hover .as-art .xt:nth-child(1){transform:rotate(-13deg) translate(-6px,-3px)}
.as-hero:hover .as-art .xt:nth-child(2){transform:rotate(11deg) translate(6px,-4px)}
.as-hero:hover .as-art .xt:nth-child(3){transform:rotate(-1deg) translate(-4px,4px)}
.as-hero:hover .as-art .xt:nth-child(4){transform:rotate(-9deg) translate(6px,5px)}
@media (prefers-reduced-motion:reduce){
  .xt-layer{transition:none}
.as-art .xt,.xe-art .xt{transition:none} }

/* Office times opened while scrolled down: dropped under the sticky header, over the page. */
.clock-band.ck-float{background:var(--ground,#fff);-webkit-mask-image:none;mask-image:none;position:fixed;left:0;right:0;width:auto;margin:0;z-index:49;box-shadow:0 18px 40px -18px rgba(10,10,30,.45)}

/* Sources → Add a folder: live Dropbox search settings. */
.dbx-live{margin-top:14px;padding-top:14px;border-top:1px solid var(--line);display:grid;gap:10px}
.dbx-live h4{margin:0;font-size:15px}
.dbx-live .p-note{margin:0}
.dbx-live textarea{width:100%;font:inherit;font-size:14px;padding:8px 10px;border:1px solid var(--line);border-radius:10px;resize:vertical}
.dbx-live .chk{display:flex;gap:8px;align-items:center;font-size:14px}
.dbx-live .btn{justify-self:start}

/* Claude usage: every request, a hundred at a time, with the total underneath. */
.u-recent tfoot td{border-top:2px solid var(--line);background:var(--ground,#fff)}
.u-more{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:10px}
.u-more .p-note{margin:0 auto 0 0}
.sub-h .u-count{font-weight:400;color:var(--muted,#666);font-size:13px;margin-left:6px}

/* Free search results (no AI), and the bar to ask Katherine with a model picker. */
.ask-bar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:2px 0 14px}
.ask-bar .btn{display:inline-flex;gap:8px;align-items:center}
.ask-bar .p-note{margin:0;font-size:13px}
.ai-model select{font:inherit;font-size:14px;padding:8px 30px 8px 12px;border-radius:999px;border:1px solid var(--line);background-color:var(--ground,#fff)}
.fr-list{display:grid;gap:2px}
.fr-row{display:flex;gap:12px;align-items:flex-start;padding:10px 8px;border-radius:12px;text-decoration:none;color:inherit}
.fr-row:hover{background:rgba(120,90,200,.06)}
.fr-t{display:grid;gap:3px;min-width:0}
.fr-t b{font-weight:600}
.fr-s{font-size:14px;color:var(--ink-2,#444);line-height:1.45}
.fr-t small{font-size:12px;color:var(--muted,#777);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Claude usage: the monthly AI budget. */
.bud{margin-bottom:18px;display:grid;gap:10px}
.bud-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.bud-top h3{margin:0}
.bud-n{font-size:22px}.bud-n small{font-size:14px;font-weight:400;color:var(--muted,#777)}
.bud-n.warn{color:#c47a00}.bud-n.over{color:#c62828}
.bud-bar{height:10px;border-radius:99px;background:rgba(0,0,0,.08);overflow:hidden}
.bud-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.bud .p-note{margin:0}
.bud-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px 16px;align-items:start}
.bud-grid input[type=number]{width:100%}
.bud-models{display:grid;gap:6px}
.bud-models .chk{display:flex;align-items:center;font-size:14px}
.bud .btn{justify-self:start}
.fr-row,.fr-row *{text-decoration:none!important}
.fr-row:hover b{text-decoration:underline!important}
.bud-models .chk{text-transform:none;letter-spacing:normal;font-weight:400;color:inherit}

/* The model on an answer: pick another to see that model's answer. */
.answer-head .answer-model{margin-left:auto;margin-right:10px}
.answer-head .answer-model:empty{display:none}
.answer-head .answer-model select{font-size:13px;padding:6px 28px 6px 10px}
.answer-head .answer-model{text-transform:none;letter-spacing:normal}

/* Recent files: icon, name and folder (one line each), when, and Open on the far right. */
#files-card .file-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;column-gap:16px;padding:14px 24px}
#files-card .file-row > .file-t{display:flex;flex-direction:column;gap:2px;min-width:0}
#files-card .file-row > .file-t b,#files-card .file-row > .file-t span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#files-card .file-row > em{text-align:right;min-width:72px}
#files-card .file-menu{justify-self:end}
#files-card .fm-btn{white-space:nowrap;font-size:14px}
@media (max-width:600px){
  #files-card .file-row{grid-template-columns:34px minmax(0,1fr) auto;padding:12px 16px}
#files-card .file-row > em{display:none}}

/* Free results use the answer's layout; each source also shows its matching text. */
.free-cites{margin-top:4px}
.src-link .src-snip{display:block;font-size:13.5px;line-height:1.45;color:var(--ink-2,#444);margin:2px 0}
.src-link .src-snip{text-decoration:none!important}
.src-link:hover .src-snip{text-decoration:none!important}

/* Recent files: the Open menu sits on top of everything below it, and isn't cut off by the card. */
#files-card{overflow:visible}
#files-card .file-row.menu-open{z-index:40}
#files-card .fm-pop{z-index:41;background:var(--panel,#fff)}
#files-card .fm-pop.up{top:auto;bottom:calc(100% + 6px)}
[data-sec].menu-open-sec{position:relative;z-index:45}

/* The model picker in the search bar, beside Ask Katherine. */
.search-model:empty{display:none}
.search-model .ai-model select{font-size:13px;padding:7px 28px 7px 12px;max-width:230px}
@media (max-width:700px){.search-model{display:none}}
.xe-note{margin:0 0 6px;padding:12px 14px;border-radius:12px;background:#FFF7E6;color:#5c3d00;font-size:14px;line-height:1.5}
.xe-diag{margin:0 0 10px;padding:12px 14px;border-radius:12px;background:var(--g10,#f4f4f4);font-size:13.5px;line-height:1.5}
.xe-diag ul{margin:6px 0 0;padding-left:18px}
.xe-note .linkish{font:inherit;font-weight:600;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline}

/* Recent files: as tall as Resources beside it, the list scrolls (a slim visible scroll bar). */
#files-card .file-list{max-height:420px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(169,18,122,.35) transparent}
#files-card .file-list::-webkit-scrollbar{width:8px}
#files-card .file-list::-webkit-scrollbar-thumb{background:rgba(169,18,122,.3);border-radius:8px}
#files-card .file-list::-webkit-scrollbar-track{background:transparent}
#files-card .file-list .file-row:first-child{border-top:1px solid var(--g20)}
#files-card .fm-pop{bottom:auto;left:auto}

/* Recent files: the file's own picture over its type badge. */
#files-card .file-ic{position:relative;overflow:hidden}
#files-card .file-thumb{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .3s;border-radius:inherit}
#files-card .file-thumb.in{opacity:1}

/* On this day: "Show three more" - a refresh icon in the brand gradient that turns on hover and spins when pressed. */
.otd-next{display:inline-flex;align-items:center;gap:10px;padding:6px 18px 6px 6px;border-radius:999px;border:1px solid var(--g20,#e4e4e4);background:var(--panel,#fff);color:var(--ink,#111);font:inherit;font-size:14.5px;font-weight:600;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.otd-next:hover{border-color:transparent;box-shadow:0 8px 22px -12px rgba(193,40,127,.55),0 0 0 1px rgba(193,40,127,.35)}
.otd-next:active{transform:scale(.97)}
.otd-next:focus-visible{outline:2px solid #c1287f;outline-offset:2px}
.otd-next-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.otd-next:hover .otd-next-ic{transform:rotate(180deg)}
.otd-next.spin .otd-next-ic{animation:otdSpin .6s cubic-bezier(.2,.8,.2,1)}
@keyframes otdSpin{from{transform:rotate(0)}to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
  .otd-next-ic,.otd-next.spin .otd-next-ic{transition:none;animation:none}}

/* Office times: a panel along the bottom of the window, above the news ticker. */
.clock-band.ck-float{top:auto!important;bottom:0;box-shadow:0 -18px 40px -18px rgba(10,10,30,.45);border-top:1px solid var(--line,#e6e6e6)}
body.has-ticker .clock-band.ck-float{bottom:40px}
.clock-band.ck-float{z-index:70}
/* While the office times are open along the bottom, the floating buttons step aside. */
body.clocks-open .chat-fab,body.clocks-open .cmp-fab{opacity:0;pointer-events:none;transform:translateY(12px);transition:opacity .2s,transform .2s}
body.clocks-open .chat-fab,body.clocks-open .cmp-fab{opacity:0!important;pointer-events:none!important;animation:none!important}


/* On this day: three facts spread evenly down the whole card (no empty space under the button), bigger years. */
.otd.panel{display:flex;flex-direction:column}
.otd.panel > .otd-in{flex:1;height:auto}
.otd-in > .otd-list{flex:1}
.otd-list > .otd-fact{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center;padding:18px 0}
.otd-list > .otd-fact > .otd-img{align-self:flex-end}
.otd-fact .otd-year{font-size:clamp(32px,3vw,44px)}
.otd-fact .otd-text{font-size:16px}
.otd-in > .otd-acts{margin-top:10px}

/* Public holidays: the six rows spread evenly from the top of the card to the bottom (no empty space under them). */
.ph.panel{display:flex;flex-direction:column}
.ph.panel > .ph-row{flex:1 1 auto}

/* Scores: the league chips scroll sideways - round arrows at the ends while there's more that way. */
.sc-scroll{position:relative;display:flex;align-items:center;gap:6px;min-width:0;max-width:100%}
.sc-scroll .sc-tabs{-webkit-mask-image:none;mask-image:none;padding-right:0;scroll-behavior:smooth}
.sc-scroll.fade-r .sc-tabs{-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
.sc-scroll.fade-l .sc-tabs{-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%);mask-image:linear-gradient(90deg,transparent,#000 12%)}
.sc-scroll.fade-l.fade-r .sc-tabs{-webkit-mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent);mask-image:linear-gradient(90deg,transparent,#000 10%,#000 90%,transparent)}
.sc-arrow{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;border:0;cursor:pointer;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 8px 20px -10px rgba(193,40,127,.7);transition:transform .2s}
.sc-arrow:hover{transform:scale(1.08)}
.sc-arrow[hidden]{display:none}
.sc-arrow.nudge{animation:scNudge 1.4s ease-in-out 3}
@keyframes scNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
@media (prefers-reduced-motion:reduce){
  .sc-arrow.nudge{animation:none}}
/* A game, opened: who scored and the top performers. */
.gm-more:empty{display:none}
.gm-sec{margin-top:16px}
.gm-sec .lab{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-60);margin-bottom:8px}
.gm-plays{list-style:none;margin:0;padding:0;display:grid;gap:2px;max-height:260px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(169,18,122,.35) transparent}
.gm-plays li{display:flex;align-items:baseline;gap:10px;padding:7px 0;border-bottom:1px solid var(--line);font-size:14px}
.gm-when{flex:none;min-width:58px;font-variant-numeric:tabular-nums;color:var(--grey-60);font-size:12.5px}
.gm-tm{flex:none;font-size:12.5px}
.gm-k{flex:none;font-style:normal;font-size:11px;font-weight:700;padding:2px 7px;border-radius:999px;color:#fff;background:linear-gradient(135deg,#c1287f,#ff7a00)}
.gm-txt{min-width:0}
.gm-leaders{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px}
.gm-leaders > div{display:grid;gap:2px;padding:10px 12px;border-radius:12px;background:var(--sunken)}
.gm-leaders small{font-size:11.5px;color:var(--grey-60)}
.gm-leaders span{font-size:13px;color:var(--ink-2,#444)}

/* Recent files: a soft tinted card - set apart from the white page without shouting. */
#files-card{border:1px solid #e8e3f0;border-radius:20px;background:linear-gradient(180deg,#faf8fd 0%,#f4f1f9 100%);box-shadow:0 14px 34px -26px rgba(74,29,94,.35)}
#files-card .hc-head{border-bottom-color:#e8e3f0}
#files-card .file-row{border-top-color:#ebe6f2}
#files-card .file-list .file-row:first-child{border-top-color:#e8e3f0}
#files-card .file-row:hover{background:rgba(169,18,122,.04)}
#files-card .fm-btn:hover{color:#A9127A}

/* Recent files: Open goes straight to the file; the dots hold the other options. */
#files-card .file-menu{display:flex;align-items:center;gap:6px}
#files-card .fm-open{white-space:nowrap;font-size:14px;color:var(--ink);text-decoration:none}
#files-card .fm-open:hover{color:#A9127A}
#files-card .fm-more{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:18px;line-height:1;color:var(--grey-60,#777)}
#files-card .fm-more:hover,#files-card .fm-more[aria-expanded="true"]{background:rgba(169,18,122,.08);color:#A9127A}

/* More room above each group heading (Experiences, Work & clients, Just for fun). */
#hblocks > .hb-group:not(:first-child),.hb-band > .hb-group{margin-top:40px}
@media (max-width:700px){#hblocks > .hb-group:not(:first-child),.hb-band > .hb-group{margin-top:28px}}

/* Kris Kringle */
.kk{padding:18px 20px;display:flex;flex-direction:column;gap:14px}
.kk-head{display:flex;align-items:center;gap:12px}
.kk-head > div{display:grid;flex:1;min-width:0}
.kk-head b{font-size:16px}
.kk-head span{font-size:13px;color:var(--grey-60)}
.kk-ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;font-size:22px;background:linear-gradient(135deg,#2de1fd33,#fc31bb33,#ff7a0033)}
.kk-note{margin:0;font-size:14.5px;color:var(--ink-2,#444)}
.kk-reveal{position:relative;display:block;width:100%;min-height:96px;padding:0;border:0;border-radius:16px;cursor:pointer;overflow:hidden;text-align:left;font:inherit;color:inherit;background:var(--sunken,#f4f4f4)}
.kk-cover{position:absolute;inset:0;z-index:2;display:grid;place-content:center;gap:4px;text-align:center;color:#fff;background:linear-gradient(120deg,#1b1330,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%);transition:opacity .45s,transform .45s}
.kk-cover b{font-size:16px}
.kk-cover small{opacity:.8}
.kk-reveal.on .kk-cover{opacity:0;transform:scale(1.04);pointer-events:none}
.kk-to{display:flex;align-items:center;gap:14px;padding:18px}
.kk-to > span{display:grid;gap:2px}
.kk-to small{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60)}
.kk-to b{font-size:20px}
.kk-to i{font-style:normal;font-size:13px;color:var(--grey-60)}
.kk-likes{padding:12px 14px;border-radius:12px;background:#fff7fc;border:1px solid #f6d6ea}
.kk-likes .lab{font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:#A9127A;margin-bottom:4px}
.kk-likes p{margin:0;font-size:14.5px;line-height:1.5}
.kk-none{color:var(--grey-60)}
.kk-mine{display:grid;gap:8px}
.kk-mine label{font-size:14px;font-weight:600}
.kk-mine label small{font-weight:400;color:var(--grey-60)}
.kk-mine textarea{width:100%;font:inherit;font-size:14px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;resize:vertical}
.kk-mine .btn,.kk-acts .btn{justify-self:start}
.kk-admin{border-top:1px dashed var(--line);padding-top:12px;font-size:13.5px}
.kk-admin summary{cursor:pointer;color:var(--grey-60)}
.kk-people{color:var(--ink-2,#444);line-height:1.6}
.kk-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:8px 0}
.kk-grid input{width:100%}
.kk-acts{display:flex;gap:8px;margin:10px 0 4px}
.kk-to .av{width:52px;height:52px;font-size:18px;flex:none}
.as-isempty .as-head-acts{display:none}

/* Recent files: Copy link says so on the button; the toast sits above the news ticker and bottom clocks. */
#files-card .fm-pop .fm-copy.done{color:#0a7a3e;background:rgba(10,122,62,.08)}
#files-card .fm-pop .fm-copy.fail{color:#b3261e}
body.has-ticker .toast{bottom:64px}
body.clocks-open .toast{bottom:auto;top:24px}
.toast{z-index:200}

/* ── Seasonal hats on the logo (season.js) ───────────────────────────── */
.logo-hatted{position:relative;display:inline-block;line-height:0;vertical-align:middle}
.logo-hatted .logo-svg{margin-bottom:0}
.login-body .logo-hatted{margin-bottom:26px}
.logo-hat{position:absolute;left:-3.6%;bottom:55%;width:13%;pointer-events:none;transform:rotate(-14deg);transform-origin:50% 100%;animation:hat-on .7s cubic-bezier(.3,1.5,.5,1) both}
.logo-hat svg{display:block;width:100%;height:auto;overflow:visible}
.hat-easter .logo-hat{left:-1%;bottom:64%;width:10%;transform:rotate(-6deg)}
.hat-newyear .logo-hat{left:-.5%;bottom:66%;width:9%;transform:rotate(-10deg)}
.hat-stpatricks .logo-hat{left:-2.5%;bottom:60%;width:10.5%;transform:rotate(-10deg)}
@keyframes hat-on{from{opacity:0;translate:0 -40%}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){.logo-hat{animation:none}}

/* ── Kris Kringle, festive ──────────────────────────────────────────── */
:is(#kringle,.kk-preview){display:grid;gap:16px;background:radial-gradient(circle at 100% 0,rgba(212,42,42,.07),transparent 45%),radial-gradient(circle at 0 100%,rgba(20,131,59,.06),transparent 45%),var(--panel,#fff)}
.kk-head b{font-size:17px}
.kk-ic{position:relative;width:46px;height:46px;border-radius:14px;font-size:24px;background:linear-gradient(135deg,#ffe3e3,#fff1f8 55%,#e3f5e9);overflow:visible}
.kk-ic .kk-gift{line-height:1}
.kk-ic .kk-hat{position:absolute;left:-9px;top:-17px;width:34px;transform:rotate(-18deg)}
.kk-hat svg{display:block;width:100%;height:auto}
.kk-faces{display:flex;align-items:center;flex-wrap:wrap;gap:0;padding:10px 12px;border-radius:14px;background:var(--sunken,#f6f6f6)}
.kk-faces .av.kk-face{width:34px;height:34px;font-size:11.5px;color:#fff;border:2px solid var(--panel,#fff);box-sizing:content-box;margin-left:-9px;flex:none}
.kk-faces .av.kk-face:first-child{margin-left:0}
.kk-faces .kk-more{background:#1b1330 !important;font-weight:600}
.kk-count{margin-left:12px;font-size:13.5px;color:var(--grey-60)}
.kk-count b{color:var(--ink);font-size:15px}
.kk-wait{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:#f2fbf5;border:1px solid #cfeedb;color:#1f4d31}
.kk-wait span{color:#14833b;font-size:16px;line-height:1.3}
.kk-cover{background:linear-gradient(125deg,#0f5a2c 0%,#14833b 30%,#b21f1f 72%,#d42a2a 100%)}
.kk-snow{position:absolute;inset:0;z-index:-1;opacity:.55;background-image:radial-gradient(circle,#fff 1.2px,transparent 1.6px),radial-gradient(circle,#fff 1px,transparent 1.4px);background-size:34px 34px,22px 22px;background-position:0 0,11px 13px;animation:kk-snow 9s linear infinite}
.kk-cover{isolation:isolate}
@keyframes kk-snow{to{background-position:0 34px,11px 57px}}
@media (prefers-reduced-motion:reduce){
  .kk-snow{animation:none}}
.kk-who{position:relative;flex:none}
.kk-who .av{width:60px;height:60px;font-size:20px}
.kk-who .kk-hat{position:absolute;left:-10px;top:-20px;width:44px;transform:rotate(-20deg);z-index:1}
.kk-to{padding:22px 18px 18px}
.kk-mine.field{margin:0}
.kk-mine.field textarea{min-height:84px}
.kk-mine label{display:block;margin-bottom:0}
.kk-people{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.kk-chip{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 3px;border-radius:100px;background:var(--sunken,#f4f4f4);font-size:13px}
.kk-chip .av.sm{width:22px;height:22px;font-size:9px;color:#fff}
.kk-grid .field{margin:0}
.kk-grid .field label{font-size:12px}
.kk-admin .chk{display:flex;align-items:center;margin:6px 0}
.kk-mine.field label{font-size:12px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;color:var(--grey-60)}
.kk-mine.field label small{letter-spacing:0;text-transform:none}
.logo-hatted,.logo-hat{font-style:normal}
.kk-head{padding-top:8px}
.kk-ic .kk-hat{left:-7px;top:-14px;width:30px}

/* Recent files: Open and the dots as two matching round icons on one line; the menu and the
   picture preview sit on the page itself (fixed), next to the row they belong to. */
#files-card .file-row > .file-menu{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:4px;flex:none}
#files-card .fm-ic{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;flex:none;color:var(--grey-60,#777);font-size:18px;line-height:1;text-decoration:none;background:none;border:0;cursor:pointer;transition:background-color .15s,color .15s}
#files-card .fm-ic:hover,#files-card .fm-ic:focus-visible,#files-card .fm-more[aria-expanded="true"]{background:rgba(169,18,122,.09);color:#A9127A;outline:none}
#files-card .fm-open{color:var(--ink)}
body > .fm-pop{position:fixed;right:auto;bottom:auto;z-index:300;width:280px;background:var(--panel,#fff);animation:fm-in .14s ease-out}
body > .fm-pop a,body > .fm-pop button{display:grid;grid-template-columns:18px 1fr auto;align-items:center;gap:10px}
body > .fm-pop .lu{color:var(--grey-60,#777)}
body > .fm-pop b{font-weight:500}
body > .fm-pop .fm-copy.done{color:#0a7a3e;background:rgba(10,122,62,.08)}
body > .fm-pop .fm-copy.done .lu{color:#0a7a3e}
body > .fm-pop .fm-copy.fail{color:#b3261e}
@keyframes fm-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
#files-card .file-ic:has(.file-thumb.in){cursor:zoom-in}
.fm-preview{position:fixed;z-index:300;width:340px;padding:8px;border-radius:16px;background:var(--panel,#fff);border:1px solid var(--g20,#e6e6e6);box-shadow:0 30px 60px -28px rgba(20,10,40,.55);pointer-events:none;opacity:0;transform:scale(.96);transition:opacity .16s,transform .16s}
.fm-preview.on{opacity:1;transform:none}
.fm-pv-img{position:relative;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:#111}
.fm-pv-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.fm-pv-img img:first-child{filter:blur(6px);transform:scale(1.05);object-fit:cover}
.fm-pv-img .hi{opacity:0;transition:opacity .25s}
.fm-pv-img .hi.in{opacity:1}
.fm-pv-t{display:grid;gap:2px;padding:8px 4px 2px}
.fm-pv-t b{font-size:13.5px;font-weight:600;overflow-wrap:anywhere}
.fm-pv-t span{font-size:12px;color:var(--grey-60,#777)}
@media (hover:none){
  .fm-preview{display:none}}
body > .fm-pop b{white-space:nowrap}

/* Outlined (see-through) buttons fill with the brand gradient on hover, like Arrange sections. */
.btn-secondary{transition:color .15s,border-color .15s,box-shadow .15s,background-color .15s}
.btn-secondary:not(:disabled):hover,.btn-secondary:not(:disabled):focus-visible{background:linear-gradient(115deg,#6B1773,#FC31BB 55%,#FF7A00) !important;border-color:transparent !important;color:#fff !important;box-shadow:0 10px 22px -12px rgba(252,49,187,.7)}
.btn-secondary:not(:disabled):hover svg,.btn-secondary:not(:disabled):hover .lu{color:#fff;stroke:currentColor}
.hat-diwali .logo-hat{left:-3%;bottom:50%;width:15%;transform:rotate(-4deg)}
.hat-orthodoxeaster .logo-hat{left:-.5%;bottom:58%;width:8.5%;transform:rotate(-12deg)}

/* Bigger seasonal hats (the logo is small in the header). */
.logo-hat{left:-5.5%;bottom:50%;width:19%}
.hat-easter .logo-hat{left:-2.5%;bottom:60%;width:14%}
.hat-newyear .logo-hat{left:-2%;bottom:62%;width:13%}
.hat-stpatricks .logo-hat{left:-4.5%;bottom:56%;width:16%}
.hat-diwali .logo-hat{left:-5.5%;bottom:46%;width:21%}
.hat-orthodoxeaster .logo-hat{left:-2%;bottom:56%;width:12%}

/* Seasonal decorations: Halloween webs in the header's corners and a pumpkin before the logo */
.sd{position:absolute;inset:0;pointer-events:none;z-index:-1}
.sd-web{position:absolute;top:0;width:110px;height:110px;color:rgba(255,255,255,.28);pointer-events:none}
.sd-web svg{display:block;width:100%;height:100%}
.sd-web.l{left:0;width:72px;height:72px}
.sd-web.r{right:0;transform:scaleX(-1)}
.login-card .sd-web{color:rgba(0,0,0,.14);width:120px;height:120px;z-index:2}
.sd-pumpkin{display:inline-block;width:26px;height:24px;margin-right:4px;flex:none;order:-1;animation:sd-wobble 3.2s ease-in-out infinite;transform-origin:50% 100%}
.sd-pumpkin svg{display:block;width:100%;height:100%}
@keyframes sd-wobble{0%,100%{transform:rotate(-5deg)}50%{transform:rotate(5deg)}}
@media (prefers-reduced-motion:reduce){.sd-pumpkin{animation:none}}
@media (max-width:700px){.sd-web.l{display:none}}

/* Infosys verticals: a simple card (vertical + who leads it) that opens a modal about them. */
.vt-card.vt-min{display:flex;align-items:center;gap:12px;width:100%;padding:16px 18px;font:inherit;color:inherit;text-align:left;cursor:pointer}
.vt-min .vt-body{display:grid;gap:3px;flex:1;min-width:0}
.vt-min .vt-body b{font-size:16px}
.vt-min .vt-go{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);color:var(--grey-60);transition:background-color .15s,color .15s,border-color .15s,transform .15s}
.vt-min:hover .vt-go,.vt-min:focus-visible .vt-go{background:#FC31BB;border-color:#FC31BB;color:#fff;transform:translateX(2px)}
.vt-min:focus-visible{outline:2px solid #FC31BB;outline-offset:2px}
.hm-card.vp-card{width:min(680px,100%)}
.vp-head{display:flex;gap:18px;align-items:center;margin:0 48px 16px 0}
.vp-head h3{margin:2px 0 0;font-size:24px}
.vp-head .hm-sub{margin:2px 0 0}
.vp-pic{flex:none;width:84px;height:84px;border-radius:50%;overflow:hidden;padding:3px;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.vp-pic img{width:100%;height:100%;object-fit:cover;border-radius:50%;background:#fff;display:block}
.vp-pic .av{width:100%;height:100%;font-size:26px;border-radius:50%}
.vp-meta{display:flex;flex-wrap:wrap;gap:8px 10px;margin-bottom:16px}
.vp-meta > *{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:var(--sunken,#f4f4f4);font:inherit;font-size:13.5px;color:var(--ink);text-decoration:none;border:0}
.vp-meta a:hover,.vp-copy:hover{background:#FC31BB;color:#fff;cursor:pointer}
.vp-meta .lu{color:#A9127A}
.vp-meta a:hover .lu,.vp-copy:hover .lu{color:#fff}
.vp-bio{font-size:14.5px;line-height:1.6;color:var(--ink-2,#333);margin-bottom:14px}
.vp-bio p{margin:0 0 8px}
.vp-note{font-size:14px;padding:10px 14px;border-radius:12px;background:#fff4fa;border:1px solid #f6dcec;margin:0 0 14px}
.vp-note b{color:#A9127A;margin-right:6px}
.vp-sec{margin-top:16px}
.vp-sec .lab{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-60);margin-bottom:8px}
.vp-card .vc-list{max-height:40vh}
.vp-none{margin:0;font-size:14px;color:var(--grey-60)}
.vp-jobs{margin:0}
@media (max-width:600px){.vp-head{flex-direction:column;align-items:flex-start}
  .vp-pic{width:68px;height:68px}}
.vp-head > div{flex:1;min-width:0;text-align:left}

/* New Year's number above the logo, and the newer occasions' sizes. */
.hat-newyear .logo-hat{left:-7%;bottom:42%;width:33%;transform:rotate(-8deg)}
.hat-melbournecup .logo-hat{left:-5%;bottom:46%;width:18%;transform:rotate(-12deg)}
.hat-valentines .logo-hat{left:-4%;bottom:48%;width:15%;transform:rotate(-8deg)}
.hat-lunarnewyear .logo-hat{left:-4%;bottom:40%;width:15%;transform:rotate(-8deg)}
.hat-roshhashanah .logo-hat{left:-5%;bottom:48%;width:18%;transform:rotate(-6deg)}
.hat-passover .logo-hat{left:-5%;bottom:50%;width:17%;transform:rotate(-8deg)}
.hat-hanukkah .logo-hat{left:-5%;bottom:54%;width:20%;transform:none}
.hat-ramadan .logo-hat{left:-4%;bottom:44%;width:16%;transform:rotate(-6deg)}
.hat-eid .logo-hat{left:-4%;bottom:50%;width:16%;transform:rotate(-10deg)}

/* Infosys verticals: the leader's photo on each card (the ring style above); no alternating colours here. */
.vt-min{gap:14px}

/* Kris Kringle: faces without the grey panel; admins' Who has whom list. */
.kk-faces{background:none;padding:2px 0}
.kk-faces .av.kk-face{color:#fff}
.kk-draw{margin:12px 0 4px;border:1px solid #f6d6ea;border-radius:14px;background:#fff7fc}
.kk-draw summary{display:flex;align-items:center;gap:8px;padding:12px 14px;cursor:pointer;font-weight:600;color:#A9127A}
.kk-draw summary small{font-weight:400;color:var(--grey-60)}
.kk-pairs{display:grid;gap:8px;padding:0 12px 12px;max-height:420px;overflow:auto}
.kk-pair{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px 10px;padding:10px 12px;border-radius:12px;background:var(--panel,#fff);border:1px solid var(--line)}
.kk-pp{display:flex;align-items:center;gap:8px;min-width:0}
.kk-pp b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kk-pp .av.kk-face{width:30px;height:30px;font-size:11px;flex:none;color:#fff}
.kk-arrow{color:#A9127A;display:grid;place-items:center}
.kk-pi{grid-column:1/-1;margin:0;font-size:13px;line-height:1.5;color:var(--ink-2,#444)}
.kk-pi i{font-style:normal;font-weight:600;color:#A9127A}

/* Kris Kringle: the swap date picker like the other fields; who won't be there on the day. */
.kk-grid .field input[type=date]{background:var(--panel);border:1px solid var(--grey-30);padding:10px 12px;font:inherit;font-size:14.5px;border-radius:6px;width:100%;color:var(--ink)}
.kk-grid .field input[type=date]:focus{border-color:var(--magenta);outline:none}
.kk-faces .av.kk-face.is-away{filter:grayscale(1);opacity:.55}
.kk-away{display:inline-block;margin-left:6px;padding:1px 8px;border-radius:999px;background:#fff1e6;color:#b45309;font-style:normal;font-size:11px;font-weight:600;white-space:nowrap;vertical-align:middle}
.kk-to .kk-away{margin:4px 0 0;justify-self:start}
.kk-offday{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:13.5px;color:var(--ink-2,#444)}
.kk-offday .lu{flex:none;margin-top:2px;color:#b45309}
.kk-offday small{color:var(--grey-60)}
.kk-offday.muted{color:var(--grey-60)}
.kk-offday.muted .lu{color:var(--grey-60)}
.kk-tip{padding:10px 14px;border-radius:12px;background:#fff7ed;border:1px solid #fde3c8;color:#7c3d0a;font-size:14px}
.kk-pp{flex-wrap:wrap}
.kk-pp .kk-away{margin-left:38px}

/* Kris Kringle: a plain white card, and a tidier admin settings block. */
:is(#kringle,.kk-preview){background:var(--panel,#fff)}
.kk-set{display:grid;gap:14px;margin-top:12px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--panel,#fff)}
.kk-set .kk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin:0}
.kk-set .kk-wide{grid-column:1/-1}
.kk-set .field{display:flex;flex-direction:column;gap:6px;margin:0}
.kk-set .field label{font-size:11.5px;letter-spacing:.12em;line-height:1.2}
.kk-set .field input{height:46px;box-sizing:border-box;padding:0 14px;font-size:15px;border-radius:10px}
.kk-set .kk-hint{font-size:12.5px;color:var(--grey-60)}
.kk-set .kk-openchk{display:flex;align-items:center;margin:0;font-size:14.5px}
.kk-set .kk-openchk small{color:var(--grey-60);margin-left:4px}
.kk-set .kk-acts{display:flex;justify-content:flex-end;gap:10px;margin:0;padding-top:14px;border-top:1px solid var(--line)}
@media (max-width:520px){
  .kk-set .kk-grid{grid-template-columns:1fr}
.kk-set .kk-acts{justify-content:stretch}
.kk-set .kk-acts .btn{flex:1}}
.kk-set .cd .cd-btn{height:46px;box-sizing:border-box;border-radius:10px;font-size:15px}

/* Admin: the leaders' photos tidied by ChatGPT - original beside tidied. */
.vpt-grid{display:grid;gap:10px;margin:14px 0}
.vpt-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.vpt-pics{display:flex;align-items:center;gap:8px}
.vpt-pic{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;overflow:hidden;background:var(--sunken);outline:2px solid transparent;outline-offset:2px}
.vpt-pic.on{outline-color:#FC31BB}
.vpt-pic img{width:100%;height:100%;object-fit:cover}
.vpt-pic .av{width:100%;height:100%;font-size:18px}
.vpt-pic i{position:absolute;left:0;right:0;bottom:0;padding:1px 0 3px;font-style:normal;font-size:9px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;text-align:center;color:#fff;background:rgba(0,0,0,.45)}
.vpt-empty{display:grid;place-items:center;width:100%;height:100%;color:var(--grey-60)}
.vpt-arrow{color:var(--grey-60)}
.vpt-spin{width:20px;height:20px;border-radius:50%;border:2px solid #f6d6ea;border-top-color:#FC31BB;animation:vpt-spin .8s linear infinite}
@keyframes vpt-spin{to{transform:rotate(360deg)}}
.vpt-t{display:grid;gap:2px;min-width:0}
.vpt-t b{font-size:15px}
.vpt-t small{color:var(--grey-60);font-size:12.5px}
.vpt-st{font-style:normal;font-size:12.5px;font-weight:600}
.vpt-st.st-done{color:#0a7a3e}.vpt-st.st-failed{color:#b3261e}.vpt-st.st-working{color:#A9127A}.vpt-st.st-todo,.vpt-st.st-no-photo{color:var(--grey-60)}
.vpt-err{color:#b3261e!important}
.vpt-acts{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:700px){.vpt-row{grid-template-columns:1fr}.vpt-acts{justify-content:flex-start}}
.vt-adm{display:grid;gap:20px}

/* Kris Kringle: admin bar on the card, and the Manage modal. */
.kk-adminbar{display:flex;align-items:center;gap:12px;padding-top:12px;border-top:1px dashed var(--line);font-size:13.5px;color:var(--grey-60)}
.kk-adminbar > span{display:flex;align-items:center;gap:6px;flex:1;min-width:0}
.kk-adminbar .lu{color:#A9127A;flex:none}
.hm-card.kkm-card{width:min(760px,100%);padding:28px 30px;border-radius:22px;position:relative}
.kkm-card > .nr-x{position:absolute;top:16px;right:16px}
.kkm-head h3{margin:0;font-size:22px}
.kkm-head .hm-sub{margin:4px 0 0}
.kkm-sec{margin-top:20px}
.kkm-lab{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.kkm-lab b{font-size:15px}
.kkm-lab #kkm-n{font-size:13px;color:var(--grey-60)}
.kkm-lab .sp{flex:1}
.kkm-link{border:0;background:none;font:inherit;font-size:13px;font-weight:600;color:#A9127A;cursor:pointer;padding:4px 6px;border-radius:6px}
.kkm-link:hover{background:#fff0fa}
.kkm-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;max-height:300px;overflow:auto;padding:2px}
.kkm-p{position:relative;display:flex;align-items:center;gap:10px;padding:8px 34px 8px 8px;border:1.5px solid var(--line);border-radius:12px;cursor:pointer;transition:border-color .15s,background-color .15s,opacity .15s;opacity:.55}
.kkm-p:has(input:checked){opacity:1;border-color:#FC31BB;background:#fff7fc}
.kkm-p:has(input:focus-visible){outline:2px solid #FC31BB;outline-offset:2px}
.kkm-p .av.kk-face{width:36px;height:36px;font-size:12px;flex:none;color:#fff}
.kkm-p span{display:grid;min-width:0}
.kkm-p b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kkm-p small{font-size:11.5px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kkm-tick{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:18px;height:18px;border-radius:50%;display:grid;place-items:center;border:1.5px solid var(--g30,#c6c6c6);color:transparent}
.kkm-p:has(input:checked) .kkm-tick{background:#FC31BB;border-color:#FC31BB;color:#fff}
.kkm-card .kk-set{padding:16px;margin-top:16px}
.kkm-card .kk-draw{margin-top:16px}
.kkm-card .kk-pairs{max-height:260px}
.kkm-acts{display:flex;gap:10px;align-items:center;margin-top:20px}
.kkm-acts .sp{flex:1}
.kkm-foot{margin:10px 0 0}
@media (max-width:600px){
  .kkm-acts{flex-wrap:wrap}
.kkm-acts .sp{display:none}}
.kkm-p.on-leave .av{filter:grayscale(1)}
.kkm-p small.kkm-leave{color:#b45309}

/* ── Induction step: a soft white panel within the 1920px page, big heading, media beside the words ── */
.lms-in.lms-one{max-width:1680px;padding:40px clamp(16px,3vw,48px) 72px}
.lms-panel{background:rgba(255,255,255,.74);-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);border:1px solid rgba(255,255,255,.9);border-radius:32px;box-shadow:0 30px 80px -40px rgba(27,19,48,.35),0 1px 0 rgba(255,255,255,.8) inset;padding:clamp(28px,4vw,64px)}
.lms-one .lms-head{margin-bottom:clamp(24px,3vw,44px)}
.ind-sheet .lms-one .lms-head h2{font-size:clamp(36px,4.6vw,72px);line-height:1.02;letter-spacing:-.03em;font-weight:700;margin:12px auto 0;max-width:20ch}
.lms-one .lms-head .s-n{font-size:13px;letter-spacing:.14em;text-transform:uppercase}
.lms-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:start}
.lms-grid.no-media{grid-template-columns:minmax(0,820px);justify-content:center}
.lms-media{position:sticky;top:8px;display:grid;gap:22px;min-width:0}
.lms-one .lms-main{max-width:none;display:grid;gap:22px;min-width:0}
.lms-one .lms-main > .md{font-size:clamp(17px,1.25vw,20px);line-height:1.7}
.lms-one .lms-main > .md p:first-child{font-size:1.12em;color:var(--ink)}
@media (max-width:1100px){
  .lms-grid{grid-template-columns:1fr}
.lms-media{position:static}}
/* Photos: tall enough for faces, a zoom badge, and they open large in the viewer. */
.lms-one .sh-gallery img{aspect-ratio:4/3;object-fit:cover;object-position:50% 22%;width:100%;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.lms-one .sh-gallery.n1 img{aspect-ratio:4/3}
.lms-one .sh-gallery figure{margin:0}
.lms-one .sh-gallery .lb-open{position:relative;overflow:hidden;border-radius:20px}
.lms-one .sh-gallery .lb-open:hover img{transform:scale(1.03)}
.lms-one .sh-gallery figcaption{margin-top:10px;font-size:13.5px;color:var(--grey-60);text-align:left}
.zoom-ic{position:absolute;right:14px;bottom:14px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.88);color:#1b1330;box-shadow:0 6px 18px -8px rgba(0,0,0,.4);opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s}
.zoom-ic svg{width:19px;height:19px}
.lb-open:hover .zoom-ic,.lb-open:focus-visible .zoom-ic{opacity:1;transform:none}
@media (hover:none){
  .zoom-ic{opacity:1;transform:none}}
/* Video: a big 16:9 poster with the play button. */
.lms-media .sh-sec{margin:0;padding:0;border:0;background:none}
.lms-media .sh-sec .sh-h{margin-bottom:10px}
.lms-media .vid-poster{width:100%;aspect-ratio:16/9;border-radius:20px;overflow:hidden}
.lms-main .sh-sec{background:rgba(255,255,255,.85)}
/* The viewer shows photos large, not at their own (often small) size. */
#lightbox .lb-stage img{width:auto;height:calc(100vh - 150px);max-width:100%;object-fit:contain;background:none}
#lightbox .lb-meta{justify-content:center;text-align:center}
.lms-grid .lms-main .md,.lms-grid .lms-main .md p{text-align:left}

/* Vertical modal: compact - contacts' buttons beside them, accounts side by side, jobs one per row. */
.vp-card .vc-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:10px;max-height:none;overflow:visible}
.vp-card .vc-acc{padding:12px 14px}
.vp-card .vc-acc .ac-person{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:8px 0 0;gap:10px}
.vp-card .vc-acc .ac-acts{grid-column:auto;display:flex;gap:6px}
.vp-card .vc-acc .ac-t small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vp-card .vp-sec{margin-top:14px}
.vp-card .vp-bio{margin-bottom:8px}
.go-cards.vp-jobs{grid-template-columns:1fr}
.go-cards.vp-jobs .go-card .sd-t b,.go-cards.vp-jobs .go-card .sd-t span{white-space:normal}

/* Kris Kringle card: content packed at the top, even when Scores beside it is taller. */
:is(#kringle,.kk-preview){align-content:start;gap:14px}
.kk-head span{font-size:13.5px}

/* Kringle Manage modal: fits on screen with little scrolling. */
.hm-card.kkm-card{width:min(940px,100%);padding:24px 28px 0;max-height:min(90vh,920px);display:flex;flex-direction:column;overflow:hidden}
.kkm-card > :not(.kkm-acts):not(.nr-x){flex:none}
.kkm-scroll{flex:1;min-height:0;overflow:auto;margin:0 -28px;padding:0 28px 16px}
.kkm-sec{margin-top:16px}
.kkm-people{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:6px;max-height:none;overflow:visible}
.kkm-p{padding:6px 30px 6px 6px;gap:8px;border-radius:10px}
.kkm-p .av.kk-face{width:30px;height:30px;font-size:11px}
.kkm-p b{font-size:13px}
.kkm-p small{font-size:11px}
.kkm-tick{right:8px;width:16px;height:16px}
.kkm-card .kk-set{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:14px;padding:14px 16px;margin-top:14px}
.kkm-card .kk-set .kk-grid{display:contents}
.kkm-card .kk-set .kk-openchk{padding-bottom:12px;white-space:nowrap}
.kkm-card .kk-set .kk-openchk small{display:none}
.kkm-acts{position:sticky;bottom:0;margin:0 -28px;padding:14px 28px;background:var(--panel,#fff);border-top:1px solid var(--line)}
.kkm-foot{display:none}
@media (max-width:700px){
  .kkm-card .kk-set{grid-template-columns:1fr}
.kkm-card .kk-set .kk-grid{display:grid;grid-template-columns:1fr 1fr}}
.kkm-people{grid-template-columns:repeat(auto-fill,minmax(205px,1fr))}

/* ── Kris Kringle card, redesigned: festive banner, everyone's faces, admin line at the foot ── */
:is(#kringle,.kk-preview){display:flex;flex-direction:column;gap:18px;padding:0 0 18px;overflow:hidden;height:100%;box-sizing:border-box}
:is(#kringle,.kk-preview) > *:not(.kk-hero){margin-left:22px;margin-right:22px}
.kk-hero{position:relative;isolation:isolate;display:flex;align-items:center;gap:16px;padding:26px 22px 24px;color:#fff;
  background:linear-gradient(125deg,#0f5a2c 0%,#14833b 32%,#b21f1f 74%,#d42a2a 100%)}
.kk-hero .kk-snow{position:absolute;inset:0;z-index:-1}
.kk-hero .kk-ic{width:54px;height:54px;border-radius:16px;background:rgba(255,255,255,.95);font-size:28px;display:grid;place-items:center;flex:none;box-shadow:0 10px 24px -12px rgba(0,0,0,.5)}
.kk-hero .kk-ic .kk-hat{left:-10px;top:-18px;width:36px}
.kk-ht{display:grid;gap:8px;flex:1;min-width:0}
.kk-ht b{font-size:22px;letter-spacing:-.01em}
.kk-chips{display:flex;flex-wrap:wrap;gap:6px}
.kk-chips i{font-style:normal;font-size:12.5px;font-weight:600;padding:3px 10px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.3)}
.kk-count-down{display:grid;justify-items:center;flex:none;padding:8px 14px;border-radius:16px;background:rgba(0,0,0,.18);min-width:74px}
.kk-count-down b{font-size:30px;line-height:1}
.kk-count-down span{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;opacity:.9;margin-top:4px}
.kk-test{position:absolute;top:10px;right:12px;font-style:italic;font-size:11.5px;font-weight:600;padding:2px 10px;border-radius:999px;background:rgba(255,255,255,.92);color:#444}
.kk-who-in{display:grid;gap:10px}
.kk-lab{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-60)}
.kk-lab b{color:var(--ink);font-size:14px;letter-spacing:0}
.kk-team{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:12px 8px}
.kk-mem{display:grid;justify-items:center;gap:6px;min-width:0}
.kk-mem .av.kk-face{width:52px;height:52px;font-size:16px;color:#fff;box-shadow:0 0 0 2px #fff,0 0 0 4px #f6dcec}
.kk-mem small{font-size:12.5px;color:var(--ink-2,#444);max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.kk-mem.is-away .av{filter:grayscale(1);opacity:.55}
.kk-mem.is-away small{color:var(--grey-60);text-decoration:line-through}
.kk-info{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--sunken,#f6f6f6);font-size:14.5px;color:var(--ink-2,#444)}
.kk-info .lu{flex:none;margin-top:2px;color:#A9127A}
:is(#kringle,.kk-preview) .kk-adminbar{margin-top:auto}
@media (max-width:520px){
  .kk-hero{flex-wrap:wrap}
.kk-count-down{order:3}}
:is(#kringle,.kk-preview) > .kk-reveal{width:auto}
.kk-chips i.kk-test{position:static;font-style:italic;background:rgba(255,255,255,.92);color:#444;border-color:transparent}

/* Scores: every game, in a scrolling list with the pink scrollbar. */
#scores .sc-list{max-height:520px;overflow-y:auto;overscroll-behavior:contain;padding-right:6px;scrollbar-width:thin;scrollbar-color:rgba(169,18,122,.35) transparent;
  -webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(180deg,#000 calc(100% - 28px),transparent)}
#scores .sc-list::-webkit-scrollbar{width:8px}
#scores .sc-list::-webkit-scrollbar-thumb{background:rgba(169,18,122,.3);border-radius:8px}
#scores .sc-list::-webkit-scrollbar-track{background:transparent}
#scores .sc-hint{margin:8px 0 0;font-size:12.5px;color:var(--grey-60);text-align:center}

/* Birthdays: the next two months, with bigger photos and text. */
.bd-list li{gap:16px;padding:14px 0}
.bd-list .bd-p{gap:16px}
.bd-list .bd-p .av{width:60px;height:60px;font-size:19px;flex:none}
.bd-list .bd-p b{font-size:17.5px}
.bd-list .bd-p span span{font-size:14.5px}
.bd-list .bd-when b{font-size:18px}
.bd-list .bd-when span{font-size:14px}
.bd-list .bd-p b{font-weight:600}

/* Site of the Day: a smaller picture beside the details, then the few before it. */
.in-feat2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:18px;align-items:start}
.in-f-img{display:block;text-decoration:none}
.in-feat2 .in-feat-img{aspect-ratio:4/3;border-radius:14px}
.in-f-img:hover .in-feat-img img{transform:scale(1.03)}
.in-f-t{display:grid;gap:6px;min-width:0}
.in-award{justify-self:start;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#fff;padding:4px 10px;border-radius:999px;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.in-f-t b{font-size:19px;line-height:1.25}
.in-f-t small{font-size:13px;color:var(--grey-60)}
.in-f-t p{margin:2px 0 0;font-size:14px;line-height:1.5;color:var(--ink-2,#444);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.in-tags{display:flex;flex-wrap:wrap;gap:6px}
.in-tags i{font-style:normal;font-size:12px;padding:2px 9px;border-radius:999px;background:var(--sunken,#f4f4f4);color:var(--ink-2,#444)}
.in-f-acts{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.in-when{font-size:12px!important}
.in-more{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.in-m{display:grid;gap:6px;color:var(--ink);text-decoration:none;min-width:0}
.in-m-img{position:relative;display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--sunken)}
.in-m-img img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.in-m:hover .in-m-img img{transform:scale(1.04)}
.in-m-img.in-noimg{display:grid;place-items:center;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);color:#fff;font-size:22px}
.in-m span{font-size:12.5px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.in-fix{margin-top:12px;font-size:13px}
.in-fix summary{cursor:pointer;color:var(--grey-60)}
@media (max-width:640px){
  .in-feat2{grid-template-columns:1fr}}

/* Scores: the league and where its season is; champions once it's done; no fade or hint under the list. */
#scores .sc-list{-webkit-mask-image:none;mask-image:none}
.sc-stage{display:flex;align-items:center;gap:10px;padding:2px 0 12px;margin-bottom:6px;border-bottom:1px solid var(--line)}
.sc-stage b{font-size:15px}
.sc-stage span{font-size:13px;color:#A9127A;font-weight:600;padding:3px 10px;border-radius:999px;background:#fff0fa}
.sc-champ{display:flex;align-items:center;gap:16px;margin:10px 0 14px;padding:16px 18px;border-radius:16px;color:#fff;background:linear-gradient(120deg,#1b1330 0%,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%)}
.sc-champ img{width:64px;height:64px;object-fit:contain;flex:none;background:#fff;border-radius:50%;padding:6px;box-sizing:border-box}
.sc-champ div{display:grid;gap:2px}
.sc-champ small{font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;opacity:.85}
.sc-champ b{font-size:22px}
.sc-champ span{font-size:13.5px;opacity:.9}

/* Kris Kringle in the site's own colours (the brand gradient), with a Santa hat on everyone. */
.kk-hero,.kk-cover{background:linear-gradient(120deg,#1b1330 0%,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%)}
.kk-hero .kk-ic{background:#fff}
.kk-count-down{background:rgba(255,255,255,.14)}
.kk-mface{position:relative;display:block}
.kk-mface .kk-hat{position:absolute;left:-8px;top:-14px;width:34px;transform:rotate(-20deg);z-index:1;pointer-events:none}
.kk-mem.is-away .kk-hat{filter:grayscale(1);opacity:.6}
.kk-team{row-gap:18px;padding-top:6px}

/* Setup: Connect Figma. */
.fg-connect{display:flex;align-items:center;gap:14px;margin:16px 0 0;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}
.fg-connect > div{display:grid;gap:3px;flex:1;min-width:0}
.fg-connect b{font-size:15px}
.fg-connect span{font-size:13.5px;color:var(--ink-2,#444)}
.fg-connect small{font-size:12px;color:var(--grey-60)}
.fg-connect code{font-size:11.5px;background:var(--sunken);padding:1px 6px;border-radius:6px;word-break:break-all}
.fg-cta{text-align:center;margin:-6px 0 8px}

/* Scores: no sideways scrollbar under the games. */
#scores .sc-list{overflow-x:hidden}
#scores .sc-game{min-width:0}
/* Kris Kringle: hats sit on top of each head, centred. */
.kk-mface .kk-hat{left:50%;top:-20px;width:46px;transform:translateX(-62%) rotate(-14deg);transform-origin:50% 100%}
.kk-who .kk-hat{left:50%;top:-22px;width:50px;transform:translateX(-62%) rotate(-14deg)}
/* Manage modal: the other offices. */
.kkm-sub{margin:14px 0 8px}
.kkm-sub span{font-size:12.5px;color:var(--grey-60)}

/* Halloween: the jack-o'-lantern takes the C's place in the logo. */
.hat-halloween .logo-svg g > path:first-child{opacity:0}
.hat-halloween .logo-hat{left:-3%;bottom:-20%;width:12.6%;transform:none;filter:drop-shadow(0 0 6px rgba(255,170,40,.55))}
/* Santa hats: smaller, the white band sitting on the top of each head. */
.kk-mface .kk-hat{left:50%;top:-12px;width:30px;transform:translateX(-39%) rotate(-8deg)}
.kk-who .kk-hat{left:50%;top:-14px;width:36px;transform:translateX(-39%) rotate(-8deg)}
.kk-mface .kk-hat{top:-3px}
.kk-who .kk-hat{top:-4px}
.kk-mface:not(:has(.av img)) .kk-hat,.kk-who:not(:has(.av img)) .kk-hat{top:-15px}
/* Hats: the band on the hairline - between the rim and the face. */
.kk-mface .kk-hat{top:-9px}
.kk-who .kk-hat{top:-10px}
.kk-mface:not(:has(.av img)) .kk-hat,.kk-who:not(:has(.av img)) .kk-hat{top:-15px}
/* Figma card before it's connected: a way in for everyone. */
.fg-open{display:grid;justify-items:center;gap:12px;padding:22px 16px;text-align:center}
.fg-open p{margin:0;font-size:14.5px;color:var(--ink-2,#444)}
.fg-admin{margin:4px 0 0;font-size:12.5px;color:var(--grey-60);text-align:center}
.fg-admin a{color:#A9127A;font-weight:600}
.fg-connect .fg-err{color:#b3261e}

/* A finished task: a gradient badge with a tick. */
.done-pill{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 22px;border-radius:999px;font-weight:600;font-size:15px;color:#fff;
  background:linear-gradient(115deg,#6B1773,#FC31BB 55%,#FF7A00);box-shadow:0 10px 22px -12px rgba(252,49,187,.7)}
.done-pill .lu{stroke-width:2.6}
.fg-files{margin-top:16px}.fg-files textarea{font-family:var(--mono,monospace);font-size:13px}
/* Kris Kringle Manage: the middle scrolls, so Who has whom stays reachable above the buttons */
.hm-card.kkm-card > .kkm-scroll{flex:1 1 auto;min-height:0;overflow-y:auto}
.kkm-card .kk-pairs{max-height:none}
.fg-skip{margin:0 0 12px;padding:10px 14px;border-radius:10px;background:#fff4e5;color:#7a4100;font-size:13px;line-height:1.5}.fg-skip p{margin:2px 0}
.fg-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.fg-links .go-card{flex:1 1 220px}
.fg-links .go-card b{flex:1;font-weight:600}
/* Figma: the five latest files as quick icons */
.fg-quick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;padding:4px 20px 6px}
.fg-q{display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;color:var(--ink);min-width:0;text-align:center}
.fg-qi{width:100%;max-width:96px;aspect-ratio:1;border-radius:18px;overflow:hidden;display:grid;place-items:center;background:linear-gradient(135deg,#1b1330,#4a1d5e 50%,#c1287f);border:1px solid var(--g20);transition:transform .2s,box-shadow .2s}
.fg-qi img{width:100%;height:100%;object-fit:cover;display:block}
.fg-qi em{font-style:normal;font-weight:700;font-size:28px;color:#fff}
.fg-q:hover .fg-qi{transform:translateY(-2px);box-shadow:0 8px 20px rgba(74,29,94,.22);border-color:var(--hub-magenta)}
.fg-q b{font-size:12.5px;font-weight:600;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fg-q small{font-size:11px;color:var(--grey-60);margin-top:-4px}
#figma-card .fg-links{padding:0 20px 20px}
@media (max-width:720px){
  .fg-quick{grid-template-columns:repeat(3,minmax(0,1fr))} }
.src-tools .fg-src[hidden]{display:none}
.src-tools .fg-src{grid-column:auto}
.fg-src textarea{width:100%;font:13px/1.6 ui-monospace,SFMono-Regular,Menlo,monospace}
.tool-ic-figma{background:#fff;border:1px solid var(--g20)}.tool-ic-figma img{width:18px;height:18px;display:block}
.fg-src .edit-acts{display:flex;align-items:center;gap:10px}.fg-src .edit-acts .sp{flex:1}
#sub-access .acc-card,.acc-card{max-width:none;width:100%}
#figma-card > .fg-admin{padding:4px 20px 0;text-align:left}
/* Figma folders on Home: a preview, then the name */
.fg-folder{display:flex;align-items:center;gap:14px;flex:1 1 260px;min-width:0;padding:10px 14px 10px 10px;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink);text-decoration:none;transition:border-color .2s,box-shadow .2s}
.fg-folder:hover{border-color:var(--hub-magenta);box-shadow:0 8px 20px -12px rgba(74,29,94,.35)}
.fg-fprev{flex:none;width:96px;height:64px;border-radius:10px;overflow:hidden;display:grid;gap:2px;background:linear-gradient(120deg,#1b1330 0%,#4a1d5e 45%,#c1287f 85%,#ff7a00 130%)}
.fg-fprev.n2{grid-template-columns:1fr 1fr}.fg-fprev.n3{grid-template-columns:2fr 1fr;grid-template-rows:1fr 1fr}.fg-fprev.n3 img:first-child{grid-row:1/3}
.fg-fprev img{width:100%;height:100%;object-fit:cover;display:block;min-height:0}
.fg-fprev i{display:grid;place-items:center}.fg-fprev i img{width:22px;height:22px;object-fit:contain;padding:8px;box-sizing:content-box;background:#fff;border-radius:10px}
.fg-fmeta{display:flex;flex-direction:column;min-width:0;flex:1}
.fg-fmeta small{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--grey-60)}
.fg-fmeta b{font-size:15px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fg-farr{flex:none;color:var(--ink)}
/* Figma folder preview: the company's logo and the Figma mark, overlapping */
.fg-fprev{display:grid;place-items:center}
.fg-pair{display:flex;align-items:center}
.fg-pair i{width:38px;height:38px;border-radius:11px;background:#fff;display:grid;place-items:center;box-shadow:0 4px 12px rgba(0,0,0,.28);overflow:hidden}
.fg-pair i img{width:24px;height:24px;object-fit:contain;display:block;padding:0;background:none;border-radius:0}
.fg-pair i em{font-style:normal;font-weight:700;font-size:13px;color:#4a1d5e}
.fg-pair .fg-fm{margin-left:-10px;transform:translateY(6px) rotate(6deg)}
.fg-pair .fg-co{transform:translateY(-4px) rotate(-6deg);position:relative;z-index:1}
.fg-fmeta small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Induction steps as slides: every step the same height on a wide screen. The words sit on the left and
   scroll inside themselves only when they're long; the video and pictures stay put on the right. */
@media (min-width:1101px) and (min-height:620px){
  .ind-sheet .lms-body:has(> .lms-one){display:flex;flex-direction:column;overflow:hidden}
.lms-in.lms-one{flex:1;min-height:0;display:flex;flex-direction:column;width:100%;margin:0 auto;box-sizing:border-box;padding:24px clamp(16px,3vw,48px)}
.lms-one .lms-panel{flex:1;min-height:0;display:flex;flex-direction:column;padding:clamp(24px,2.6vw,44px)}
.lms-one .lms-head{flex:none;margin-bottom:clamp(18px,2vw,28px)}
.ind-sheet .lms-one .lms-head h2{font-size:clamp(30px,3.2vw,52px);max-width:none}
.lms-one .lms-grid{flex:1;min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"main media";align-items:stretch}
.lms-one .lms-grid.no-media{grid-template-columns:minmax(0,860px);grid-template-areas:"main"}
.lms-one .lms-main{grid-area:main;overflow-y:auto;overscroll-behavior:contain;padding-right:10px;align-content:start;scrollbar-width:thin}
.lms-one .lms-media{grid-area:media;position:static;overflow-y:auto;scrollbar-width:thin;align-content:start}
.lms-one .lms-media .vid-poster{max-height:min(52vh,560px)}
.lms-one .sh-gallery img{max-height:min(46vh,520px)}
}
/* Induction card: the actions as simple icon-and-text rows */
.iw-cta .iw-acts{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:4px}
.iw-acts button{display:flex;align-items:center;gap:12px;width:100%;padding:10px 4px;border:0;background:none;font:inherit;font-size:15.5px;font-weight:600;color:var(--ink);text-align:left;cursor:pointer;border-radius:10px}
.iw-acts button:hover{background:var(--sunken)}
.iw-acts .iw-ai{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--hub-grad);color:#fff}
.iw-acts .iw-ai svg{width:17px;height:17px}
.iw-acts .iw-listen .iw-ai{background:var(--sunken);color:var(--ink);border:1px solid var(--line)}
.iw-acts .iw-listen[aria-pressed="true"] .iw-ai{background:var(--hub-grad);color:#fff;border-color:transparent}
.iw-acts small{display:block;font-weight:400;font-size:12px;color:var(--grey-60)}
/* A step with a video and photos: the video first, the photos as a row of small pictures under it - all in view */
.lms-media.has-vid .sh-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.lms-one .lms-media.has-vid .sh-gallery img{aspect-ratio:1;max-height:none}
.lms-one .lms-media.has-vid .sh-gallery .lb-open{border-radius:14px}
.lms-media.has-vid .sh-gallery figcaption{display:none}
.iw-acts .iw-listen{margin:0;width:100%;height:auto;min-height:0;border:0;border-radius:10px;justify-content:flex-start;padding:10px 4px;box-shadow:none;background:none}
.iw-acts .iw-listen:hover{background:var(--sunken)}
.iw-acts .iw-voice{margin:0;text-align:left}
.iw-acts button > span:last-child{display:flex;flex-direction:column;line-height:1.3}
@media (min-width:1101px) and (min-height:620px){
  .lms-one .lms-media.has-vid{display:flex;flex-direction:column;gap:14px;overflow:hidden}
.lms-media.has-vid > .sh-sec:first-child{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}
.lms-one .lms-media.has-vid .vid-poster{flex:1 1 auto;min-height:160px;aspect-ratio:auto;max-height:min(52vh,560px)}
.lms-media.has-vid > *:not(:first-child){flex:none}
.lms-media.has-vid .sh-gallery{grid-template-columns:repeat(auto-fill,minmax(72px,88px))}
}
/* Sources → Companies */
.src-tools .co-src[hidden]{display:none}
.tool-ic-co{background:linear-gradient(135deg,#1b1330,#c1287f)}
.co-list{display:grid;gap:8px;max-height:340px;overflow:auto;margin-bottom:12px;padding-right:4px}
.co-row{display:grid;grid-template-columns:36px minmax(0,1fr) minmax(0,1fr) 78px;gap:8px;align-items:center}
.co-logo{width:36px;height:36px;border-radius:10px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;overflow:hidden;position:relative}
.co-logo img{width:24px;height:24px;object-fit:contain;position:absolute}
.co-logo em{font-style:normal;font-weight:700;font-size:13px;color:#4a1d5e}
.co-logo img + em{visibility:hidden}
.co-row input{min-width:0;height:36px;padding:0 10px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:13.5px;background:var(--panel)}
.co-row input[readonly]{background:var(--sunken);color:var(--grey-60)}
.co-tag{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60);text-align:center}
.co-del{justify-self:center}
.co-src .edit-acts{display:flex;align-items:center;gap:10px}.co-src .edit-acts .sp{flex:1}
/* News: an article to read - source and reading time up top, the picture framed, text at a comfortable width */
.hm-card.news-read .nr-head{padding:26px 30px 20px;gap:24px;align-items:flex-start;background:linear-gradient(180deg,rgba(252,49,187,.04),transparent)}
.hm-card.news-read .nr-ht h3{font-size:clamp(22px,2.2vw,30px);line-height:1.18;letter-spacing:-.015em;font-weight:700;margin:12px 0 12px;max-width:30ch;text-wrap:balance}
.nr-topic{display:inline-flex;align-items:center;height:24px;padding:0 12px;border-radius:999px;background:var(--hub-grad);color:#fff;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.hm-card.news-read .nr-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:13px;color:var(--grey-60)}
.hm-card.news-read .nr-meta > span + span::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.5;margin-right:14px;vertical-align:middle}
.nr-src{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--ink)}
.nr-src img{width:18px;height:18px;border-radius:5px}
.nr-article{padding:24px 30px 30px}
.nr-article .nr-img{aspect-ratio:16/8;border-radius:18px;max-width:880px;margin:0 auto 6px;box-shadow:0 18px 40px -26px rgba(27,19,48,.5)}
.nr-article .nr-img img{width:100%;height:100%;object-fit:cover;display:block}
.nr-framed .nr-article .nr-img{aspect-ratio:16/6}
.nr-article .nr-body{max-width:68ch;margin:0 auto;padding:22px 0 0}
.nr-article .nr-body p{font-size:16.5px;line-height:1.75;margin:0 0 1.05em;color:#2a2a2e}
.nr-article .nr-body p.nr-first,.nr-article .nr-body .nr-lead{font-size:19px;line-height:1.6;color:var(--ink);font-weight:500}
.nr-end{display:flex;justify-content:center;margin-top:26px;padding-top:22px;border-top:1px solid var(--line)}
.nr-end .grad-btn{display:inline-flex;gap:10px;align-items:center;text-decoration:none}
@media (max-width:720px){
  .hm-card.news-read .nr-head{padding:18px}
.nr-article{padding:16px 18px 22px}
.nr-article .nr-body p{font-size:16px} }
.hm-card.news-read .nr-ht h3{font-size:clamp(21px,1.9vw,26px);max-width:none;line-height:1.22}
.fg-pair .fg-fm.solo{margin:0;transform:none}
/* Microsoft 365: connect prompt, and SharePoint results in search */
.ms-connect{display:flex;align-items:center;gap:14px;padding:16px 18px;margin:6px 0 2px;border:1px dashed var(--line);border-radius:14px;background:var(--sunken)}
.ms-connect p{margin:0;flex:1;font-size:13.5px;color:var(--grey-60);line-height:1.45}
.ms-mark{flex:none;width:38px;height:38px;border-radius:10px;background:#fff;border:1px solid var(--line);display:grid;place-items:center}
.ms-connect .btn{flex:none;white-space:nowrap}
@media (max-width:600px){ .ms-connect{flex-wrap:wrap} }
.sp-sec{margin-top:22px}
.sp-h{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.sp-h b{font-size:15px}.sp-h span{font-size:12.5px;color:var(--grey-60)}
.sp-list{display:grid;gap:8px}
.sp-file{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--ink);text-decoration:none;transition:border-color .2s}
.sp-file:hover{border-color:var(--hub-magenta)}
.sp-ic{flex:none;width:34px;height:34px;border-radius:8px;display:grid;place-items:center;font-size:11px;font-weight:800;color:#fff;background:#6b6b75}
.sp-ic.t-docx,.sp-ic.t-doc{background:#185ABD}.sp-ic.t-xlsx,.sp-ic.t-xls,.sp-ic.t-csv{background:#107C41}.sp-ic.t-pptx,.sp-ic.t-ppt{background:#C43E1C}.sp-ic.t-pdf{background:#D93025}
.sp-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.sp-t b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-t small{font-size:12px;color:var(--grey-60)}
.sp-t span{font-size:13px;color:#3a3a40;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sp-go{flex:none;color:var(--grey-60)}
.answer-sp .sp-sec{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
#today-card .ms-connect,.hub-side .ms-connect{flex-direction:column;align-items:flex-start;gap:10px}
/* Setup → Microsoft 365 and forms checklist */
.ms-check{margin-top:22px;padding:22px 24px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.ms-check .ex-h{margin:0 0 6px}.ms-check .ex-h + .p-note{margin:0 0 12px}
.ms-check .mc-list + .ex-h{margin-top:24px}
.mc-list{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:8px}
.mc-list li{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;border-radius:12px;background:var(--sunken)}
.mc-ic{flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-size:13px;font-weight:800;color:#fff;background:#8a8a94}
.mc-ok .mc-ic{background:#1f9d55}.mc-todo .mc-ic{background:#e8890c}.mc-step .mc-ic{background:var(--hub-grad)}
.mc-list b{font-size:14px}.mc-list p{margin:3px 0 0;font-size:13px;color:#4a4a52;line-height:1.5}
.mc-list code{font-size:12px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:6px;padding:1px 6px}
.mc-copy{display:flex;align-items:center;gap:8px;margin-top:8px;flex-wrap:wrap}.mc-copy code{font-size:13px;padding:6px 10px;user-select:all}
/* A Microsoft Form inside the Hub */
.hm-card.msf-card{width:min(980px,100%);padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:92vh}
.msf-head{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,rgba(252,49,187,.04),transparent)}
.msf-ic{flex:none;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:var(--hub-grad);color:#fff}
.msf-t{flex:1;min-width:0;display:flex;flex-direction:column}.msf-t b{font-size:17px}.msf-t span{font-size:12.5px;color:var(--grey-60)}
.msf-frame{position:relative;flex:1;min-height:0;height:min(76vh,860px);background:#f3f2f1}
.msf-frame iframe{width:100%;height:100%;border:0;display:block}
.msf-frame .nr-bar{top:0}.msf-frame.loaded .nr-bar{display:none}
.msf-note{margin:0;padding:10px 20px;font-size:12px;color:var(--grey-60);border-top:1px solid var(--line)}
@media (max-width:720px){ .msf-head{flex-wrap:wrap} .msf-frame{height:72vh} }
.hm-card.msf-card .msf-frame{flex:none;height:min(72vh,820px)}
.rf-msnote{display:flex;align-items:center;gap:10px;padding:14px 16px;border:1px dashed var(--line);border-radius:12px;background:var(--sunken);font-size:13.5px;color:#4a4a52}
.msf-card .msf-note b{color:var(--ink)}
#req-more{display:none!important}
/* Scores: the next three events, and a fight card's name */
.sc-coming{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.sc-coming .lab{margin-bottom:8px}
.sc-coming-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px}
.sc-next{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);min-width:0}
.sc-next-d{flex:none;width:44px;height:44px;border-radius:10px;background:var(--hub-grad);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.sc-next-d b{font-size:17px}
.sc-next-d small{font-size:10px;text-transform:uppercase;letter-spacing:.08em;margin-top:2px}
.sc-next-t{min-width:0;display:flex;flex-direction:column}
.sc-next-t b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-next-t small{font-size:12px;color:var(--grey-60)}
.sc-event{display:flex;flex-direction:column;gap:2px;padding:12px 14px;margin:8px 0 10px;border-radius:12px;background:linear-gradient(120deg,#1b1330 0%,#4a1d5e 55%,#c1287f 120%);color:#fff}
.sc-event small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;opacity:.75}
.sc-event b{font-size:17px}
.sc-event span{font-size:12.5px;opacity:.85}
.sc-coming-row{grid-template-columns:1fr}
.sc-next-t b{white-space:normal}
/* Who's away: filter tabs across the top, then each person as a card in a row */
.aw-tabs{display:flex;gap:8px;padding:0 20px 14px;overflow-x:auto;scrollbar-width:none}
.aw-tabs::-webkit-scrollbar{display:none}
.aw-tabs .fchip{flex:none;white-space:nowrap}
.aw-n{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:4px;border-radius:999px;background:var(--sunken);font-size:11.5px;font-weight:700}
.aw-tabs .fchip[aria-pressed="true"] .aw-n{background:rgba(255,255,255,.22);color:inherit}
.aw-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(170px,190px);gap:12px;overflow-x:auto;padding:4px 20px 20px;scroll-snap-type:x mandatory}
.aw-card{scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:18px 14px 16px;border:1px solid var(--line);border-radius:18px;background:var(--panel);position:relative;overflow:hidden;animation:aw-in .4s both;animation-delay:calc(var(--i) * 40ms)}
.aw-card::before{content:"";position:absolute;inset:0 0 auto;height:58px;background:linear-gradient(120deg,rgba(252,49,187,.16),rgba(255,122,0,.12))}
.aw-card.focus::before{background:linear-gradient(120deg,rgba(45,225,253,.18),rgba(169,36,180,.12))}
.aw-photo{position:relative;margin-bottom:4px}
.aw-photo .av{width:76px;height:76px;font-size:24px;border:3px solid var(--panel);box-shadow:0 8px 20px -10px rgba(0,0,0,.4)}
.aw-city{position:absolute;right:-6px;bottom:2px;padding:2px 7px;border-radius:999px;background:var(--ink);color:var(--panel);font-size:10.5px;font-weight:700;letter-spacing:.04em}
.aw-name{font-size:15px;line-height:1.25}
.aw-tag{display:inline-flex;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#ffe3f3;color:#9b0f6b}
.aw-card.focus .aw-tag{background:#d9f6fb;color:#055e70}
.aw-when{font-size:12.5px;color:var(--ink);font-weight:500}
.aw-back{font-size:12px;color:var(--grey-60)}
@keyframes aw-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.aw-card{animation:none}}

/* Scores: the whole round, under a heading for each day (it stays at the top as the list scrolls). */
#scores .sc-list.sc-round{position:relative}
#scores .sc-day{position:sticky;top:0;z-index:1;margin:10px 0 4px;padding:6px 10px;border-radius:8px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:#5c5c66;background:#f3f1f6}
#scores .sc-day:first-child{margin-top:0}
#scores .sc-day.today{color:#8a0f63;background:#fbe6f3}
:root[data-theme="dark"] #scores .sc-day{color:#c9c9d3;background:#26232c}
:root[data-theme="dark"] #scores .sc-day.today{color:#ffb8e4;background:#3a1b31}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) #scores .sc-day{color:#c9c9d3;background:#26232c}
:root:not([data-theme="light"]) #scores .sc-day.today{color:#ffb8e4;background:#3a1b31}}

/* Recent files (Dropbox) in dark mode: the dark panel, its own borders, and the pink hovers. */
:root[data-theme="dark"] #files-card{border-color:#2b2733;background:linear-gradient(180deg,#17151b 0%,#121015 100%);box-shadow:0 14px 34px -26px rgba(0,0,0,.8)}
:root[data-theme="dark"] #files-card .hc-head,:root[data-theme="dark"] #files-card .file-row,:root[data-theme="dark"] #files-card .file-list .file-row:first-child{border-color:#2b2733}
:root[data-theme="dark"] #files-card .file-row:hover{background:rgba(255,138,216,.06)}
:root[data-theme="dark"] #files-card .fm-btn:hover,:root[data-theme="dark"] #files-card .fm-open:hover,:root[data-theme="dark"] #files-card .fm-more:hover,:root[data-theme="dark"] #files-card .fm-more[aria-expanded="true"]{color:#FF8AD8}
:root[data-theme="dark"] #files-card .fm-pop .fm-copy.done{color:#5FD68F}
:root[data-theme="dark"] #files-card .fm-pop .fm-copy.fail{color:#FF8FA6}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) #files-card{border-color:#2b2733;background:linear-gradient(180deg,#17151b 0%,#121015 100%);box-shadow:0 14px 34px -26px rgba(0,0,0,.8)}
:root:not([data-theme="light"]) #files-card .hc-head,:root:not([data-theme="light"]) #files-card .file-row,:root:not([data-theme="light"]) #files-card .file-list .file-row:first-child{border-color:#2b2733}
:root:not([data-theme="light"]) #files-card .file-row:hover{background:rgba(255,138,216,.06)}
:root:not([data-theme="light"]) #files-card .fm-btn:hover,:root:not([data-theme="light"]) #files-card .fm-open:hover,:root:not([data-theme="light"]) #files-card .fm-more:hover,:root:not([data-theme="light"]) #files-card .fm-more[aria-expanded="true"]{color:#FF8AD8}
:root:not([data-theme="light"]) #files-card .fm-pop .fm-copy.done{color:#5FD68F}
:root:not([data-theme="light"]) #files-card .fm-pop .fm-copy.fail{color:#FF8FA6}
}

/* Scores: the next events open in tabs inside the panel (each UFC card; this week / coming up), so the card keeps its size. */
#scores .sc-tba{margin-top:6px}

/* WCAG AA contrast (4.5:1 for text) in dark mode: the hub's grey scale turned over for dark panels,
   and the few fixed colours that were only ever meant for white. */
:root[data-theme="dark"]{--g10:#1b1b1b;--g20:#2b2b2b;--g30:#3a3a3a;--g40:#5a5a5a;--g50:#9a9a9a;--g60:#a8a8a8;--g70:#c6c6c6;--g80:#e0e0e0;--g90:#f0f0f0;--muted:#a8a8a8}
:root[data-theme="dark"] .ev-org,:root[data-theme="dark"] .cn-topic{color:var(--pink-ink)}
:root[data-theme="dark"] .mc-list p,:root[data-theme="dark"] .rf-msnote{color:var(--ink-2)}
:root[data-theme="dark"] .fp-person span{color:var(--ink-3)}
:root[data-theme="dark"] .xs-t .xs-err,:root[data-theme="dark"] b.bad,:root[data-theme="dark"] .kpi .k-s.bad,:root[data-theme="dark"] .ts-row b{color:var(--red-ink)}
:root[data-theme="dark"] .kpi .k-s.good{color:var(--green-ink)}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){--g10:#1b1b1b;--g20:#2b2b2b;--g30:#3a3a3a;--g40:#5a5a5a;--g50:#9a9a9a;--g60:#a8a8a8;--g70:#c6c6c6;--g80:#e0e0e0;--g90:#f0f0f0;--muted:#a8a8a8}
  :root:not([data-theme="light"]) .ev-org,:root:not([data-theme="light"]) .cn-topic{color:var(--pink-ink)}
  :root:not([data-theme="light"]) .mc-list p,:root:not([data-theme="light"]) .rf-msnote{color:var(--ink-2)}
  :root:not([data-theme="light"]) .fp-person span{color:var(--ink-3)}
  :root:not([data-theme="light"]) .xs-t .xs-err,:root:not([data-theme="light"]) b.bad,:root:not([data-theme="light"]) .kpi .k-s.bad,:root:not([data-theme="light"]) .ts-row b{color:var(--red-ink)}
  :root:not([data-theme="light"]) .kpi .k-s.good{color:var(--green-ink)}
}

/* WCAG AA contrast, both modes: white text on the brand gradient gets its deeper version (aqua, pink and
   orange dark enough for small white text), and the softer greys and tints are a touch darker. */
:root{--hub-grad-ink:linear-gradient(90deg,#0B6E86 0%,#B3148A 52%,#B8430B 100%)}
.sc-next-d,.lg-ini,.rmo-rank,.in-award,.mc-step .mc-ic,.ev-row.next .ev-count,.ph-row.next .ph-date{background:var(--hub-grad-ink)}
.ev-row.next .ev-count small,.ph-row.next .ph-date small{color:#fff}
#hb-arrange.hb-arrange{background:linear-gradient(115deg,#6B1773,#B3148A 55%,#B8430B)}
.mc-todo .mc-ic{background:#b45309}.mc-ok .mc-ic{background:#15803d}
.tk-item small{color:rgba(255,255,255,.82)}
.tk-item b{color:#8ff0ff}
.pc-bday{color:var(--pink-ink)}
.src-stat{background:rgba(0,0,0,.28)}
.src-stat span{color:rgba(255,255,255,.95)}
.src-chips .chip{background:rgba(0,0,0,.24)}
.kk-count-down{background:rgba(0,0,0,.3)}
.hub-link.off{color:var(--grey-60)}
.rr-ver{color:var(--g60)}
:root[data-theme="dark"] .wx-rain{color:#5cc8e6}
:root[data-theme="dark"] .wx-src a{color:var(--pink-ink)}
:root[data-theme="dark"] .wx-warn{color:var(--amber-ink)}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .wx-rain{color:#5cc8e6}
  :root:not([data-theme="light"]) .wx-src a{color:var(--pink-ink)}
  :root:not([data-theme="light"]) .wx-warn{color:var(--amber-ink)}
}
/* League initials in the Scores tabs, and a club's initials in its ring, readable in both modes. */
.sc-tabs .fchip .lg-ini{background:var(--hub-grad-ink)}
.sc-team i{background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box}
.hub-link.light.off{color:rgba(255,255,255,.85)}

/* UFC: each fighter's photo with their flag as a small badge, and title fights marked with a gold belt. */
.sc-team.has-photo{position:relative}
.sc-team .sc-badge.photo{background:linear-gradient(180deg,var(--sunken),var(--panel))}
.sc-team .sc-badge.photo img{object-fit:cover;object-position:50% 12%;padding:0;transform:scale(1.15);transform-origin:50% 0}
.sc-team .sc-flag{position:absolute;left:22px;top:50%;margin-top:4px;width:16px;height:16px;border-radius:50%;object-fit:cover;border:2px solid var(--panel);box-sizing:border-box}
.sc-belt{display:inline-flex;align-items:center;gap:4px;margin-right:6px;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:#5c3d00;background:linear-gradient(90deg,#ffe08a,#f6c343);vertical-align:middle}
.sc-game.sc-title{box-shadow:inset 3px 0 0 #e0a800}
:root[data-theme="dark"] .sc-belt{color:#2b1d00}

/* Individual sports (UFC, tennis, F1): the athlete's photo fills the circle and their flag sits inside it, bottom right. */
.sc-pic{position:relative;display:inline-grid;width:34px;height:34px;flex:none}
.sc-pic .sc-badge{width:100%;height:100%}
.sc-team .sc-pic .sc-flag{position:absolute;left:auto;top:auto;right:0;bottom:0;margin:0;width:15px;height:15px;border-radius:50%;object-fit:cover;border:1.5px solid #fff;box-shadow:0 1px 3px rgba(0,0,0,.35);box-sizing:border-box}
.gm-logo.gm-photo{position:relative;overflow:hidden;padding:0}
.gm-logo.gm-photo > img:first-child{width:100%;height:100%;object-fit:cover;object-position:50% 12%;border-radius:50%;background:var(--sunken)}
.gm-logo .gm-flag{position:absolute;right:6%;bottom:6%;width:28%;height:28%;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 1px 4px rgba(0,0,0,.4);box-sizing:border-box}
.gm-logo.gm-flagonly > img{width:100%;height:100%;object-fit:cover;border-radius:50%}
/* A bit larger for people than club logos, with the gradient ring, so the face and the flag both read. */
.sc-game .sc-team.has-photo{grid-template-columns:42px minmax(0,1fr) auto}
.sc-pic{width:42px;height:42px}
.sc-pic .sc-badge{width:42px;height:42px;border:2px solid transparent;background:linear-gradient(var(--sunken),var(--sunken)) padding-box,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box}
.sc-pic .sc-badge.photo img{transform:none;object-position:50% 15%}
.sc-team .sc-pic .sc-flag{width:18px;height:18px;right:-1px;bottom:-1px;border-width:2px}
.sc-team .sc-pic .sc-badge,.sc-team .sc-pic .sc-badge.photo{border:2px solid transparent;background:linear-gradient(var(--sunken),var(--sunken)) padding-box,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box}
.gm-logo.gm-photo{overflow:visible}
.gm-logo .gm-flag{min-width:18px;min-height:18px;right:2%;bottom:2%}

/* UFC: whether the card's main event is for a title. F1: each driver's team, logo and name. */
.sc-event .sc-belt{align-self:flex-start;margin:8px 0 0;font-style:normal}
.sc-belt.no{color:#fff;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.3)}
.sc-tab-belt{display:inline-flex;vertical-align:-2px;margin-right:4px;color:#b07800}
:root[data-theme="dark"] .sc-tab-belt{color:#f6c343}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .sc-tab-belt{color:#f6c343}}
.sc-team b .sc-f1t{display:flex;align-items:center;gap:6px;margin-top:2px;font-size:12px;font-weight:500;color:var(--grey-60)}
.sc-f1t img{width:16px;height:16px;border-radius:4px;object-fit:contain;background:#fff;flex:none}
.gm-pos{align-items:center}
.gm-f1t{margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink-2)}
.gm-f1t img{width:28px;height:28px;border-radius:7px;object-fit:contain;background:#fff;padding:2px;box-sizing:border-box}
.sc-game .sc-team b .sc-f1t img,.sc-team .sc-f1t img{width:16px;height:16px;min-width:0;padding:1px;margin:0;border:0;border-radius:4px;object-fit:contain;background:#fff;box-shadow:none;flex:none}
/* UFC: each fighter's record beside their name; a title fight is marked in the opened fight too. */
.sc-team b .sc-rec{font-weight:500;font-size:11.5px;color:var(--ink-3);margin-left:4px;font-variant-numeric:tabular-nums}
.gm-belt{margin:0 auto 6px;display:flex;width:max-content}
/* F1 "Coming up": each Grand Prix with its host country's flag. */
.sc-next-logo{flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 1px var(--line);background:var(--sunken)}
.sc-next-logo img{width:100%;height:100%;object-fit:cover;display:block}
/* F1 standings: drivers or constructors, their points as a bar against the leader's. */
.sc-stand{margin-top:6px}
.sc-stand-list{list-style:none;margin:0;padding:0;max-height:360px;overflow-y:auto}
.sc-stand-row{display:grid;grid-template-columns:22px 30px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 4px;border-bottom:1px solid var(--line)}
.sc-stand-row:last-child{border-bottom:0}
.sc-stand-n{font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink-2);text-align:right}
.sc-stand-row.lead .sc-stand-n{color:var(--pink-ink)}
.sc-stand-row .sc-badge,.sc-stand-row > i{width:30px;height:30px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--sunken);box-shadow:0 0 0 1px var(--line);font-style:normal;font-size:9px;font-weight:700;color:var(--ink-2)}
.sc-stand-row .sc-badge img{width:100%;height:100%;object-fit:contain}
.sc-stand-row .sc-badge.photo img{object-fit:cover;object-position:50% 15%}
.sc-stand-row .sc-badge.flag img{object-fit:cover}
.sc-stand-t{min-width:0;display:flex;flex-direction:column;gap:2px}
.sc-stand-t b{font-size:13.5px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-stand-t small{font-size:11.5px;color:var(--ink-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-stand-bar{height:4px;border-radius:999px;background:var(--sunken);overflow:hidden}
.sc-stand-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.sc-stand-row em{font-style:normal;font-weight:800;font-variant-numeric:tabular-nums;color:var(--ink);text-align:right}
.sc-stand-row em small{font-size:10.5px;font-weight:600;color:var(--ink-3);margin-left:2px}

/* To-dos: add them from your Granola meetings, or from notes you paste or upload. */
#todo-card .hc-head{flex-wrap:wrap}
.td-tools{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap}
.td-tool{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid var(--line);border-radius:999px;background:var(--panel);color:var(--ink);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.td-tool:hover,.td-tool[aria-expanded="true"]{border-color:#FC31BB;color:var(--pink-ink)}
.td-tool i{font-style:normal;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--hub-grad-ink);color:#fff;font-size:11px;font-weight:700;display:grid;place-items:center;box-sizing:border-box}
.td-sugg{margin:4px 20px 10px;padding:12px 14px;border-radius:14px;background:var(--tint-pink-2,#fff4fb);border:1px solid var(--line)}
.td-sugg-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.td-sugg-h b{font-size:13.5px}
.td-meet + .td-meet{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.td-meet-t{display:flex;align-items:baseline;gap:8px;font-size:12.5px;font-weight:700;margin-bottom:4px}
.td-meet-t a{color:var(--pink-ink);text-decoration:none}.td-meet-t a:hover{text-decoration:underline}
.td-meet-t small{font-weight:500;color:var(--grey-60)}
.td-meet ul{list-style:none;margin:0;padding:0}
.td-meet li{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:13.5px}
.td-meet li > span{flex:1;min-width:0}
.td-meet li em{font-style:normal;font-size:11.5px;color:var(--grey-60)}
.td-take{flex:none;height:28px;padding:0 10px;border-radius:999px;border:0;background:var(--ink);color:var(--panel);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.td-skip{flex:none;width:28px;height:28px;border-radius:50%;border:0;background:none;color:var(--grey-60);font-size:18px;cursor:pointer}
.td-skip:hover{background:var(--sunken);color:var(--ink)}
.todo .sd-t span a{color:var(--pink-ink);text-decoration:none}
.ti-in{display:grid;grid-template-columns:minmax(0,1fr) 170px;gap:12px;margin-top:12px}
@media (max-width:600px){.ti-in{grid-template-columns:1fr}}
.ti-in textarea{width:100%;box-sizing:border-box;border:1px solid var(--line-2);border-radius:12px;padding:12px;font:inherit;font-size:14px;background:var(--panel);color:var(--ink);resize:vertical}
.ti-in textarea:focus{outline:0;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.ti-file{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;border:1.5px dashed var(--line-2);border-radius:12px;padding:14px;cursor:pointer;color:var(--ink)}
.ti-file:hover,.ti-file:focus-within{border-color:#FC31BB}
.ti-file input{position:absolute;opacity:0;width:1px;height:1px}
.ti-file span{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:13.5px}
.ti-file small{font-size:11.5px;color:var(--grey-60)}
.ti-list{margin-top:14px}
.ti-list ul{list-style:none;margin:6px 0 0;padding:0;max-height:300px;overflow-y:auto;border:1px solid var(--line);border-radius:12px}
.ti-list li + li{border-top:1px solid var(--line)}
.ti-list label{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;cursor:pointer;font-size:14px}
.ti-list input{margin-top:3px;accent-color:#B3148A}
.ti-list em{font-style:normal;font-size:12px;color:var(--pink-ink);margin-left:4px}

/* + Add: the new to-do's row at the top of the list - an empty checkbox, then type. */
#todo-card .td-add.td-new{display:flex;align-items:center;gap:10px;margin:6px 20px 4px;padding:10px 12px;border:1.5px solid #FC31BB;border-radius:12px;background:var(--panel);box-shadow:0 0 0 3px rgba(252,49,187,.12);flex-wrap:nowrap}
#todo-card .td-new .td-ghost{display:inline-block;margin:0;cursor:default}
#todo-card .td-add.td-new input[type=text]{flex:1 1 auto;min-width:0;height:auto;padding:0;border:0;box-shadow:none;background:transparent;font-size:14px;font-weight:600;grid-column:auto}
#todo-card .td-add.td-new input[type=text]:focus{box-shadow:none;border:0}
#todo-card .td-add.td-new .cd{width:auto;flex:none}
#todo-card .td-add.td-new .cs-btn{min-height:32px;width:auto}
#todo-card .td-add.td-new .btn{height:32px;padding:0 14px;border-radius:999px;flex:none}
.td-cancel{flex:none;width:28px;height:28px;border:0;border-radius:50%;background:none;color:var(--grey-60);font-size:18px;cursor:pointer}
.td-cancel:hover{background:var(--sunken);color:var(--ink)}
@media (max-width:600px){#todo-card .td-add.td-new{flex-wrap:wrap}#todo-card .td-add.td-new input[type=text]{flex:1 1 calc(100% - 40px)}}
.todo-list .todo.td-fresh{animation:tdIn .35s ease-out}
@keyframes tdIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
#todo-card .td-add.td-new{flex-wrap:wrap;row-gap:8px}
#todo-card .td-add.td-new input[type=text]{flex:1 1 calc(100% - 40px);font-size:15px}
#todo-card .td-add.td-new .cd{margin-left:28px;margin-right:auto}

/* Who's away: this week, or every stretch of leave and travel to the end of January, a month at a time. */
#away-card .hc-head{flex-wrap:wrap;gap:10px}
.aw-month + .aw-month{margin-top:6px}
.aw-month-h{margin:10px 20px 2px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2)}
.aw-month-h span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:6px;border-radius:999px;background:var(--sunken);font-size:11px;letter-spacing:0;color:var(--ink)}
.aw-len{font-size:11.5px;color:var(--grey-60)}
.aw-card.travel::before{background:linear-gradient(120deg,rgba(255,122,0,.16),rgba(252,49,187,.10))}
.aw-card.travel .aw-tag{background:#ffe8d4;color:#8a3a00}

/* To-dos: icon buttons in the header; a ticked to-do's box is pink. */
.td-tools{gap:8px;align-items:center}
.td-ic{position:relative;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer;transition:border-color .15s,color .15s,transform .15s}
.td-ic:hover,.td-ic[aria-expanded="true"]{border-color:#FC31BB;color:var(--pink-ink)}
.td-ic:active{transform:scale(.96)}
.td-ic.td-new-btn{border:0;color:#fff;background:var(--hub-grad-ink)}
.td-ic.td-new-btn:hover{color:#fff;filter:saturate(1.15) brightness(1.05)}
.td-ic i{position:absolute;top:-4px;right:-4px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--hub-grad-ink);color:#fff;font-style:normal;font-size:11px;font-weight:700;display:grid;place-items:center;box-sizing:border-box;border:2px solid var(--panel)}
.todo .td-check:hover{border-color:#D61F95}
.todo.done .td-check,.tn-added .td-check{background:#D61F95;border-color:#D61F95;color:#fff}
.todo.done .sd-t b{text-decoration-color:#D61F95}
.td-empty{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.td-empty p{margin:0}
.td-empty .btn{display:inline-flex;align-items:center;gap:6px}
.tn-form .hm-f{display:flex;flex-direction:column;gap:6px;margin-top:14px}
.tn-form .hm-f > span{font-size:13px;font-weight:600}
.tn-form .hm-f small{font-weight:400;color:var(--grey-60)}
.tn-form input[type=text]{height:46px;padding:0 14px;border:1px solid var(--line-2);border-radius:12px;background:var(--panel);color:var(--ink);font:inherit;font-size:15px}
.tn-form input[type=text]:focus{outline:0;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.tn-form #tn-go{display:inline-flex;align-items:center;gap:6px}
.tn-added{list-style:none;margin:14px 0 0;padding:10px 12px;border-radius:12px;background:var(--sunken);display:flex;flex-direction:column;gap:6px}
.tn-added li{display:flex;align-items:center;gap:10px;font-size:14px;animation:tdIn .3s ease-out}
.tn-added .td-check{display:grid;place-items:center;margin:0;font-size:11px}
.tn-added .td-check::after{content:"\2713"}
#todo-card > .hc-head{flex-wrap:nowrap;align-items:center}
#todo-card > .hc-head > div:not(.td-tools){min-width:0}
#todo-card .td-tools{flex-direction:row;flex-wrap:nowrap;flex:none}
.tn-added .td-check{background:var(--panel);border-color:var(--g70)}
.tn-added .td-check::after{content:none}
.tn-added .tn-lab{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60)}

/* Admin sections are links: each opens at its own address, in a new tab too. */
.subtabs a{text-decoration:none;display:inline-flex;align-items:center;white-space:nowrap}
a.mega-item{text-decoration:none}

/* Admin → Companies: everyone we work for, a tile each (families with their divisions), and each company's own page. */
.co-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,320px);gap:10px 20px;align-items:end;margin-bottom:18px}
.co-top h2{margin:0 0 4px}
.co-top .co-allt{grid-column:1/-1;font-size:13px}
.co-search{display:flex;align-items:center;gap:8px;height:42px;padding:0 14px;border:1px solid var(--line-2);border-radius:999px;background:var(--panel);color:var(--grey-60)}
.co-search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:14px;color:var(--ink)}
.co-search:focus-within{border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
@media (max-width:700px){
  .co-top{grid-template-columns:1fr}}
.co-logo{width:var(--s);height:var(--s);flex:none;border-radius:12px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;overflow:hidden}
.co-logo img{width:78%;height:78%;object-fit:contain}
.co-logo i{font-style:normal;font-weight:800;font-size:calc(var(--s) * .3);color:#5c3d6e}
.co-fam{margin-bottom:14px;padding:16px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
.co-fam-h{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.co-fam-h b{display:block;font-size:16px}
.co-fam-h span{font-size:12.5px;color:var(--grey-60)}
.co-chips{display:flex;flex-wrap:wrap;gap:8px}
.co-chip{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 6px 0 14px;border:1px solid var(--line);border-radius:999px;background:var(--sunken);color:var(--ink);font-size:13px;font-weight:600;text-decoration:none}
.co-chip i{font-style:normal;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--panel);display:grid;place-items:center;font-size:11.5px;font-weight:700;color:var(--pink-ink);box-sizing:border-box}
.co-chip:hover{border-color:#FC31BB}
.co-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.co-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 16px 40px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);text-decoration:none;transition:border-color .15s,transform .15s,box-shadow .15s}
.co-tile:hover{border-color:#FC31BB;transform:translateY(-2px);box-shadow:0 14px 28px -20px rgba(74,29,94,.5)}
.co-tile b{font-size:14.5px;line-height:1.3}
.co-tile small{font-size:12px;color:var(--grey-60)}
.co-n{position:absolute;right:12px;bottom:12px;font-style:normal;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--tint-pink);color:var(--pink-ink)}
.co-n.zero{background:var(--sunken);color:var(--grey-60)}
.co-back{display:inline-flex;align-items:center;gap:6px;margin-bottom:14px;font-size:13.5px;font-weight:600;color:var(--pink-ink);text-decoration:none}
.co-back svg{transform:rotate(180deg)}
.co-hero{display:flex;gap:18px;align-items:center;padding:20px;border:1px solid var(--line);border-radius:20px;background:var(--panel);margin-bottom:18px}
.co-hero h2{margin:0 0 8px}
.co-facts{display:flex;flex-wrap:wrap;gap:6px 22px;margin:0}
.co-facts dt{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60)}
.co-facts dd{margin:2px 0 0;font-weight:600;font-size:14px}
.co-facts a{color:var(--pink-ink)}
.co-lab{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-2);margin:4px 0 10px}
.co-pgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.co-pcard{display:flex;flex-direction:column;gap:6px;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.co-pc-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-height:22px}
.co-lead{display:inline-flex;align-items:center;gap:4px;font-size:12px;color:var(--grey-60)}
.co-pname{font-size:15px;line-height:1.3}
.co-pmeta{font-size:12.5px;color:var(--grey-60)}
.co-cap{height:5px;border-radius:999px;background:var(--sunken);overflow:hidden}
.co-cap i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.co-team{display:flex;align-items:center;gap:2px;margin-top:2px}
.co-team em{font-style:normal;font-size:12px;color:var(--grey-60);margin-left:6px}
.co-open{margin-top:auto;font-size:12.5px;font-weight:600;color:var(--pink-ink);text-decoration:none}
.pc-code{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;background:var(--sunken);border:1px solid var(--line);font-family:var(--mono);font-size:11.5px;font-weight:600;color:var(--ink)}
/* UFC: the champion in a title fight - a gold "C" ("IC" for an interim champion) beside their name. */
.sc-champ-c{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;margin-left:4px;border-radius:5px;background:linear-gradient(135deg,#ffe08a,#f6c343);color:#4a3200;font-size:11px;font-weight:800;text-decoration:none;vertical-align:1px;box-sizing:border-box;cursor:help}

/* Add to-dos: a larger window - what to do and its due date (quick picks and a month always in view) on the left, what you've added on the right. */
.hm-card.tn-card{width:min(860px,calc(100vw - 32px));max-width:none}
.tn-cols{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;margin-top:6px}
@media (max-width:760px){.tn-cols{grid-template-columns:1fr}}
.tn-form .hm-f > span b{font-weight:600;color:var(--pink-ink)}
.tn-quick{display:flex;flex-wrap:wrap;gap:6px}
.tn-quick .fchip{height:32px;font-size:12.5px}
.tn-quick .tn-nodue{border-style:dashed}
.tn-cal{border:1px solid var(--line);border-radius:14px;padding:10px 12px 12px;background:var(--panel)}
.tn-cal-h{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.tn-cal-h b{font-size:14px}
.tn-cal-h button{width:32px;height:32px;border-radius:50%;border:0;background:var(--sunken);color:var(--pink-ink);font-size:18px;line-height:1;cursor:pointer}
.tn-cal-g{display:grid;grid-template-columns:repeat(7,1fr);gap:2px;text-align:center}
.tn-cal-g em{font-style:normal;font-size:11px;font-weight:700;color:var(--grey-60);padding:4px 0}
.tn-cal-g button{height:34px;border:0;border-radius:50%;background:none;color:var(--ink);font:inherit;font-size:13px;cursor:pointer}
.tn-cal-g button:hover{background:var(--sunken)}
.tn-cal-g button.past{color:var(--grey-60)}
.tn-cal-g button.today{box-shadow:inset 0 0 0 1.5px #FC31BB;font-weight:700}
.tn-cal-g button.on{background:#D61F95;color:#fff;font-weight:700}
.tn-right{display:flex;flex-direction:column;min-height:0}
.tn-lab{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-2);margin:2px 0 8px}
.tn-lab i{font-style:normal;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--hub-grad-ink);color:#fff;font-size:11.5px;letter-spacing:0;display:grid;place-items:center;box-sizing:border-box}
.tn-form .tn-added{list-style:none;margin:0;padding:6px;border-radius:14px;background:var(--sunken);flex:1;min-height:200px;max-height:380px;overflow-y:auto;display:flex;flex-direction:column;gap:4px}
.tn-form .tn-added li{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:10px;background:var(--panel);font-size:14px}
.tn-form .tn-added li.tn-new{animation:tdIn .35s ease-out;box-shadow:inset 3px 0 0 #FC31BB}
.tn-form .tn-added .tn-none{background:none;color:var(--grey-60);justify-content:center;align-items:center;flex:1}
.tn-form .tn-added .td-check{margin-top:1px;flex:none}
.tn-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.tn-t small{font-size:12px;color:var(--pink-ink)}

/* One tab style everywhere: the pill tabs (as on Scores' leagues and Who's away's filters), in a row that scrolls
   sideways if it has to - never stacked. */
.tabrow{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0}
.tabrow::-webkit-scrollbar{display:none}
.tabrow .fchip{flex:none;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;font-size:13px}
.tabrow .fchip b{font-weight:600}
.tabrow .fchip small{font-size:11.5px;opacity:.75;font-weight:500}
.tabrow .fchip:disabled{opacity:.45;cursor:default}
.hc-head > .aw-range{flex-direction:row;margin-left:auto}
#scores .sc-views{margin:10px 0 6px}
#scores .sc-views + .sc-coming{margin-top:8px;padding-top:0;border-top:0}
#scores .sc-views + .sc-coming .lab{display:none}
.sc-stand-sw{margin:4px 0 8px}
.fchip .sc-tab-belt{margin-right:0}
.fchip[aria-pressed="true"] .sc-tab-belt{color:#f6c343}

/* Scores: the table (by conference or division) and the season's leaders; "Coming up" with both teams' logos. */
.sc-sub{margin:4px 0 10px}
.sc-sub .fchip{height:30px;font-size:12.5px}
.sc-tbl-wrap{max-height:420px;overflow:auto;border:1px solid var(--line);border-radius:12px}
.sc-tbl{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.sc-tbl th{position:sticky;top:0;z-index:1;background:var(--sunken);font-size:11px;font-weight:700;letter-spacing:.06em;color:var(--ink-2);text-align:right;padding:8px 10px;white-space:nowrap}
.sc-tbl td{padding:7px 10px;border-top:1px solid var(--line);text-align:right;white-space:nowrap;color:var(--ink)}
.sc-tbl .n{width:28px;text-align:right;color:var(--ink-2);font-weight:700}
.sc-tbl .t{text-align:left;width:100%}
.sc-tbl td.t{display:flex;align-items:center;gap:8px;min-width:0}
.sc-tbl td.t b{font-weight:600;overflow:hidden;text-overflow:ellipsis}
.sc-tbl tbody tr:hover{background:var(--sunken)}
.sc-tlogo{flex:none;width:24px;height:24px;display:grid;place-items:center;font-style:normal;font-size:9px;font-weight:700;border-radius:50%;background:var(--sunken);overflow:hidden}
.sc-tlogo img{width:100%;height:100%;object-fit:contain}
.sc-ld-tl{width:14px;height:14px;object-fit:contain;vertical-align:-2px;margin-right:4px}
.sc-leaders .sc-stand-row{grid-template-columns:22px 30px minmax(0,1fr) auto}
.sc-next-teams{flex:none;display:flex;align-items:center}
.sc-next-teams img,.sc-next-teams i{width:30px;height:30px;border-radius:50%;background:#fff;border:1px solid var(--line);object-fit:contain;padding:2px;box-sizing:border-box;display:grid;place-items:center;font-style:normal;font-size:9px;font-weight:700;color:#333}
.sc-next-teams > :last-child{margin-left:-8px}
.sc-next-teams img,.sc-next-teams i{width:34px;height:34px;font-size:8.5px;letter-spacing:-.02em}
.sc-next-teams > :last-child{margin-left:-6px}

/* Sign in: "Forgot password?" sits under the Sign in button, centred (the same in the console and the dashboard). */
.pw-labelrow{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.pw-labelrow label{margin-bottom:0}
.pw-labelrow + .pw-wrap,.pw-labelrow + span{margin-top:6px}
.pw-forgot{border:0;background:none;padding:0;font:inherit;font-size:12.5px;font-weight:500;color:var(--magenta);cursor:pointer;white-space:nowrap}
.pw-forgot:hover{text-decoration:underline;text-underline-offset:3px}
.pw-forgot[hidden],.pw-forgot-w[hidden]{display:none}
.login-body p.pw-forgot-below,.pw-forgot-below{margin:24px 0 6px;text-align:center}
.pw-forgot-below .pw-forgot{font-size:13.5px}

/* Induction: each step on "Your path" opens that step (its own #induction/<id> link). */
a.iw-step{text-decoration:none;cursor:pointer;transition:background .2s,border-color .2s,transform .2s,box-shadow .2s}
a.iw-step:hover{transform:translateX(3px);border-color:var(--grey-30,#d0d0d0)}
a.iw-step:focus-visible{outline:2px solid var(--magenta,#FC31BB);outline-offset:3px}
a.iw-step .iw-go{display:inline-flex;margin-left:auto;color:var(--grey-60)}
a.iw-step:hover .iw-go,a.iw-step:focus-visible .iw-go{transform:translateX(3px);color:var(--ink)}
@media (prefers-reduced-motion:reduce){
  a.iw-step,a.iw-step .iw-go{transition:none}
a.iw-step:hover,a.iw-step:hover .iw-go{transform:none}}

/* ═══ V1.1 (Figma "Dashboard Version 1.1 (21/10)") ════════════════════════════
   One set of rules on every screen: white cards with a grey-20 line, radius 12,
   padding 20; one title per card, inside it (SemiBold 16); quieter labels
   (sentence case, no wide letter spacing); eyebrows at 8%; section headings
   SemiBold 20; pink only for focus, actions and alerts. */
.eyebrow{letter-spacing:.08em;font-weight:500}
.field label,.kk-mine.field label{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500;color:var(--grey-70)}
.field label small{text-transform:none;letter-spacing:0}
.edit-card{border-radius:12px;padding:20px;border-color:var(--g20,var(--line))}
.hub-link{font-size:14px}

/* Page headers (Requests, Tools, Resources): no label above the title; title 36, subtitle 16. */
.hp-head{margin:8px 0 32px}
.hp-head h2{font-size:36px;margin:0 0 8px}
.hp-head p{font-size:16px;color:var(--grey-60)}
/* Heroes (People, My questions, Sources) and Admin: title 36, subtitle 16; stat labels at 8%. */
.sec-head h2{font-size:36px}
.sec-head p{font-size:16px;color:var(--grey-60)}
.src-stats span,.src-stats small{letter-spacing:.08em}
#tab-admin > .sec-head{margin-top:-8px}

/* Requests: form cards fit their content (no FORM pill, no spacer); smaller type. */
.req-card{min-height:0;padding:20px}
.req-card h3{font-size:20px;margin:14px 0 8px}
.req-card p{font-size:14px}
.req-card .hub-btn{margin-top:16px}
.track-card th,.track-card .tr-h,.track-card [class*="-head"] span{letter-spacing:.08em}
.track-card td,.track-card .tr-row{font-size:14px}

/* Tools: every card in a row the same height; tag and Open at the bottom. */
.tool-grid{gap:20px;align-items:stretch}
.tool-card{height:100%}
.tool-card p{flex:1}

/* Resources: New here card like other cards. */
.res-new{border:1px solid var(--g20,var(--line));background:var(--panel)}
.res-new h3{font-size:20px}

/* People: Working externally as a normal card; quieter labels; team headings 20. */
.ext-co small{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500;color:var(--grey-60)}
.pg-head h3{font-size:20px;font-weight:600}
.op-team{letter-spacing:.04em}

/* Induction: hero 56/56, title 36; headings 20; the side card has a title; starters wider. */
.iw-hero-in{padding-top:56px;padding-bottom:56px}
.iw-copy h2{font-size:36px;margin-top:0}
.iw-h b{font-size:20px;font-weight:600}
.iw-side-t{margin:0;font-size:16px;font-weight:600}
.iw-cta{border-radius:12px}
.starters{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));align-items:stretch}

/* My questions and Sources: item titles SemiBold 16, like card titles. */
.q-t{font-weight:600;font-size:16px}
.src-row b,.src-row .src-name{font-size:16px;font-weight:600}
.co-tag{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500;color:var(--grey-60)}

/* Admin: Data access table headers fit on one line. */
.sa-tbl th{letter-spacing:0}

/* ── Home ─────────────────────────────────────────────────────────────────── */
.hub-hello{font-size:44px}
.hub-cols{margin-top:32px;gap:20px}
.hub-main,.hub-side{display:flex;flex-direction:column;gap:20px}
.hub-main > .hub-sec,.hub-side > .hub-sec{margin:0}
.hblocks{row-gap:20px;column-gap:20px;margin-top:32px;align-items:stretch}
/* Cards that carry their own title: no label above them. */
.hub-sec:is([data-sec="reviews"],[data-sec="health"],[data-sec="projects"],[data-sec="files"],[data-sec="figma"],[data-sec="today"],[data-sec="tasks"],[data-sec="todo"]) > .row-head,
.hb:is([data-block="team"],[data-block="news"],[data-block="inspiration"],[data-block="birthdays"],[data-block="history"],[data-block="weather"],[data-block="kringle"],[data-block="addexp"],[data-block="panels"]) > .row-head{display:none}
/* Sections whose label becomes the card's title, with its filters on the right. */
.hb:is([data-block="assign"],[data-block="events"],[data-block="verticals"],[data-block="accounts"],[data-block="holidays"],[data-block="scores"]),
.hub-sec[data-sec="away"]{display:flex;flex-direction:column;background:var(--panel);border:1px solid var(--g20,var(--line));border-radius:12px;padding:20px}
.hb:is([data-block="assign"],[data-block="events"],[data-block="verticals"],[data-block="accounts"],[data-block="holidays"],[data-block="scores"]) > .row-head,
.hub-sec[data-sec="away"] > .row-head{margin:0 0 12px;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hb:is([data-block="assign"],[data-block="events"],[data-block="verticals"],[data-block="accounts"],[data-block="holidays"],[data-block="scores"]) > .row-head .eyebrow,
.hub-sec[data-sec="away"] > .row-head .eyebrow{font-size:16px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--ink)}
.hb:is([data-block="assign"],[data-block="events"],[data-block="verticals"],[data-block="accounts"],[data-block="holidays"],[data-block="scores"]) > .row-head .eyebrow::before,
.hub-sec[data-sec="away"] > .row-head .eyebrow::before{display:none}
.hb:is([data-block="assign"],[data-block="events"],[data-block="verticals"],[data-block="accounts"],[data-block="holidays"],[data-block="scores"]) > .panel,
.hub-sec[data-sec="away"] > .hub-card{flex:1;border:0;border-radius:0;background:none;box-shadow:none;padding:0;overflow:visible}
/* Side by side: the shorter card stretches to the taller one. */
.hb[data-size="half"] > .panel,.hb[data-size="half"] > .myteam{flex:1}
.hb[data-size="half"] > .panel{border-radius:12px}
.panel{border-radius:12px;border-color:var(--g20,var(--line))}
.myteam > *{border-top-color:var(--g20,var(--line)) !important}
/* Quieter labels on Home. */
.t-k,.otd-label,.kk-lab{letter-spacing:.08em}
.fg-tile span:last-child,.fg-row span{text-transform:none;letter-spacing:0}
.cn-topic,.ev-org{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500;color:var(--grey-60)}
.ev-count{min-width:56px}
.ev-count small{text-transform:none;letter-spacing:0}
/* Useful links: white tiles with a grey line; the gradient stays on the small icon. */
.in-cat{background:var(--panel);border:1px solid var(--g20,var(--line));border-radius:12px}

/* Sign in and modals: sentence-case labels; modal titles 28; + icon white on black buttons. */
.login-card label,#pw-form label{text-transform:none;letter-spacing:0;font-size:12px;font-weight:500;color:var(--grey-70)}
.btn-primary svg,.btn-primary .ico{color:currentColor;stroke:currentColor}
.fg-fmeta small{text-transform:none;letter-spacing:0;font-size:12px;font-weight:400;color:var(--grey-60)}
/* People: Working externally is a normal card; the team tag sits top right on person cards. */
.pg-away{background:var(--panel);border:1px solid var(--g20,var(--line));border-radius:12px}
.pc-top{align-items:flex-start}
.pc-teams-top{margin:0 0 0 auto;justify-content:flex-end;max-width:60%}
.pc-top .pc-you + .pc-teams-top{margin-left:8px}
/* Admin edit cards: plain white like every other card. */
#tab-admin .edit-card,.edit-card{background:var(--panel);border-radius:12px;border-color:var(--g20,var(--line))}

/* ── V1.1: last per-screen tweaks ─────────────────────────────────────── */
.login-body h1{font-size:28px}
.hm-card{padding:24px}
.hm-card:not(.news-read):not(.res-read):not(.ig-card) > h3,.hm-card:not(.news-read):not(.res-read):not(.ig-card) #hm-title{font-size:28px;font-weight:500;line-height:1.2}
.hm-card label,.hm-card .hm-lab{text-transform:none;letter-spacing:0}
.aw-month-h{text-transform:none;letter-spacing:0;font-size:14px;font-weight:600;color:var(--grey-60)}
.co-hero h2{font-size:24px}
.src-link{height:100%}

/* ── Onboarding tour (Figma: Dashboard Version 1.1 → Onboarding tour) ── */
.hd-tour{position:relative;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);background:none;color:#fff;font:inherit;font-size:13px;font-weight:500;cursor:pointer}
.hd-tour[hidden]{display:none}
.hd-tour:hover{background:rgba(255,255,255,.12)}
.hd-tour:focus-visible{outline:2px solid #fff;outline-offset:2px}
.hd-tour-dot{display:none;position:absolute;top:4px;right:4px;width:8px;height:8px;border-radius:50%;background:var(--brand-gradient);box-shadow:0 0 0 2px #000}
.hd-tour.new .hd-tour-dot{display:block}
@media (max-width:720px){ .hd-tour{padding:0 10px} }

.tour{position:fixed;inset:0;z-index:9000}
.tour-dim{position:absolute;inset:0}
.tour.tour-centre .tour-dim{background:rgba(10,6,20,.55)}
.tour-hole{position:fixed;border-radius:16px;box-shadow:0 0 0 2px #fff,0 0 24px 4px rgba(252,49,187,.45),0 0 0 9999px rgba(10,6,20,.55);pointer-events:none;transition:left .3s ease,top .3s ease,width .3s ease,height .3s ease}
.tour-card{position:fixed;width:360px;max-width:calc(100vw - 24px);box-sizing:border-box;background:var(--panel);color:var(--ink);border-radius:16px;padding:20px;box-shadow:0 24px 60px -20px rgba(0,0,0,.55);transition:left .3s ease,top .3s ease;outline:none}
.tour-card h2{font-size:28px;font-weight:500;line-height:1.2;margin:14px 0 8px}
.tour-card h3{font-size:20px;font-weight:600;margin:10px 0 6px}
.tour-card p{font-size:14px;line-height:1.55;color:var(--ink-2);margin:0}
.tour-top{display:flex;align-items:center;justify-content:space-between}
.tour-n{font-size:12px;font-weight:600;color:var(--ink-3)}
.tour-skip{background:none;border:0;padding:4px 0;font:inherit;font-size:13px;color:var(--ink-2);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.tour-dots{display:flex;gap:6px;margin:16px 0}
.tour-dots i{width:6px;height:6px;border-radius:999px;background:var(--line-2);transition:width .25s}
.tour-dots i.past{background:var(--magenta)}
.tour-dots i.on{width:20px;background:var(--brand-gradient)}
.tour-acts{display:flex;align-items:center;justify-content:flex-end;gap:10px}
.tour-acts .btn{display:inline-flex;align-items:center;gap:6px}
.tour-mark{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--brand-gradient);color:#fff}
.tour-mark svg{width:20px;height:20px}
.tour-centre .tour-card{left:50%;top:50%;transform:translate(-50%,-50%)}
.tour-welcome{width:480px;padding:28px}
.tour-done{width:420px;padding:28px;text-align:center}
.tour-done .tour-mark{margin:0 auto}
.tour-done .tour-acts{justify-content:center;flex-direction:column;margin-top:20px}
.tour-welcome .tour-acts{justify-content:flex-start;margin-top:22px}
.tour-facts{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:8px;font-size:14px;color:var(--ink-2)}
.tour-facts li{display:flex;align-items:center;gap:8px}
.tour-facts svg{color:var(--magenta);flex:none}

@media (max-width:639px){
  .tour-step{left:12px;right:12px;top:auto;bottom:12px;width:auto}
  .tour-step.tour-dock-top{top:12px;bottom:auto}
  .tour-welcome,.tour-done{width:calc(100vw - 24px);padding:22px}
}
.tour-still .tour-hole,.tour-still .tour-card,.tour-still .tour-dots i{transition:none}
@media (prefers-reduced-motion:reduce){ .tour-hole,.tour-card,.tour-dots i{transition:none} }

/* ── One gradient everywhere: the weather temperature's (aqua → lilac → pink → orange).
   The "ink" one (behind white text: date badges, counters, round buttons) is the same
   colours a touch deeper so the white stays readable. */
:root{
  --ce-grad:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);
  --brand-gradient:var(--ce-grad);
  --hub-grad:var(--ce-grad);
  --hub-grad-ink:linear-gradient(90deg,#1FC2E0 0%,#9A78DE 30%,#EE24AB 62%,#F26C00 100%);
}
.sc-next-d,.lg-ini,.rmo-rank,.in-award,.mc-step .mc-ic,.ev-row.next .ev-count,.ph-row.next .ph-date,.td-ic.td-new-btn{text-shadow:0 1px 2px rgba(40,10,60,.35)}
.wx-big{background:linear-gradient(#fff,#fff) padding-box,var(--ce-grad) border-box}
.ticker::before,.lms-fill,.ip-bar i,.ind-mini .ip-bar i,.lms-dot.done i,.lms-dot.done.on i,.who-av{background-image:var(--ce-grad) !important}

/* ── Page width: the container is 1600px wide at most; narrower screens fill the width (with the usual gutters). */
:root{--page-w:1600px}
main,.hd-in,body header.app .hd-in,.tk-in,.nav-mega-in,.iw-hero-in,.lms-in{box-sizing:border-box}
main{max-width:calc(var(--page-w) + 40px)}
body header.app .hd-in,.tk-in,.iw-hero-in{max-width:calc(var(--page-w) + 80px)}

/* When the top bar runs out of room (a narrow window, a long name), the menu goes into the hamburger
   rather than scrolling - dashboard.js sets .nav-tight by measuring. */
header.app.nav-tight nav.hd-nav,header.app.nav-tight .hd-right,header.app.nav-tight .nav-mega{display:none!important}
header.app.nav-tight .hd-burger{display:flex}
nav.hd-nav{overflow:hidden;scrollbar-width:none}
nav.hd-nav::-webkit-scrollbar{display:none}
header.app.nav-snug .who-t{display:none}
header.app.nav-snug .hd-tour{font-size:0;gap:0;padding:0;width:36px;justify-content:center}
header.app.nav-snug .hd-tour svg{width:16px;height:16px}
header.app.nav-snug #hd-signout{font-size:0;gap:0;padding:0;width:36px;justify-content:center}
header.app.nav-snug #hd-signout .btn-ico{margin:0}
header.app.nav-snug .hd-in{gap:16px}

/* Add a project → Picture: or make one with ChatGPT from the live link or a Figma link. */
.xe-gen{margin-top:12px;padding:14px 16px;border-radius:12px;border:1px solid transparent;background:linear-gradient(var(--panel),var(--panel)) padding-box,var(--ce-grad) border-box}
.xe-gen-t{display:flex;flex-direction:column;gap:2px;margin-bottom:10px}
.xe-gen-t b{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:600}
.xe-gen-t b svg{color:var(--magenta)}
.xe-gen-t small{font-size:13px;color:var(--ink-2)}
.xe-gen-row{display:flex;gap:10px;align-items:center}
.xe-gen-row input{flex:1;min-width:0}
.xe-gen-row .btn{flex:none;white-space:nowrap}
.xe-gen-st{margin:8px 0 0;font-size:13px;color:var(--ink-2);min-height:0}
.xe-gen-st:empty{display:none}
.xe-gen-st.bad{color:var(--red-ink)}
.xe-gen-st.ok{color:var(--green-ink)}
.xe-gen-st.busy::before{content:"";display:inline-block;width:10px;height:10px;margin-right:8px;border-radius:50%;background:var(--ce-grad);animation:xeGenPulse .8s ease-in-out infinite alternate;vertical-align:-1px}
@media (max-width:600px){
  .xe-gen-row{flex-direction:column;align-items:stretch} }
@keyframes xeGenPulse{from{opacity:.35;transform:scale(.8)}to{opacity:1;transform:scale(1.1)}}

/* ── Companies (everyone, #companies; also Admin → Companies) ─────────── */
#tab-companies > *{max-width:var(--page-w);margin-left:auto;margin-right:auto;box-sizing:border-box}
.co-page{padding-top:8px}
.co-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.co-tile{padding:18px 18px 16px;gap:8px}
.co-tile b{font-size:16px}
.co-ct{display:flex;align-items:flex-start;gap:6px;font-size:13px;color:var(--ink-2);line-height:1.35;min-width:0;max-width:100%}
.co-ct svg{flex:none;margin-top:2px;color:var(--magenta)}
.co-ct > span{display:flex;flex-direction:column;min-width:0}
.co-ct em{font-style:normal;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.co-ct.none{color:var(--ink-3);font-style:italic}
.co-fam-h > div{display:flex;flex-direction:column;gap:4px}
.co-counts{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto;padding-top:6px}
.co-counts .co-n{position:static}
.co-n.st-exp,.co-st.st-exp{background:var(--tint-grey);color:var(--series-1)}
.co-n.st-core,.co-st.st-core{background:var(--tint-amber);color:var(--amber-ink)}
.co-st{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:700}
.co-hero{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(240px,320px);gap:22px;align-items:center;padding:24px;border-radius:12px}
.co-hero-t{min-width:0}
.co-contact{display:flex;flex-direction:column;gap:4px;padding:16px 18px;border-radius:12px;background:var(--sunken);min-width:0}
.co-ct-k{font-size:12px;color:var(--ink-3)}
.co-contact b{font-size:16px}
.co-contact small{font-size:13px;color:var(--ink-2)}
.co-ct-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:14px}
.co-ct-row a{display:inline-flex;align-items:center;gap:6px;color:var(--ink);text-decoration:none;word-break:break-all}
.co-ct-row a:hover{color:var(--pink-ink)}
.co-ct-from{font-size:12px !important;color:var(--ink-3) !important}
.co-ct-edit{align-self:flex-start;margin-top:4px;font-size:13px}
.co-ct-form{display:grid;gap:8px;margin-top:8px}
.co-ct-form input{height:38px;padding:0 12px;border:1px solid var(--line-2);border-radius:8px;background:var(--panel);font:inherit;font-size:14px;color:var(--ink)}
.co-ct-acts{display:flex;gap:8px}
.co-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px;border-bottom:1px solid var(--line)}
.co-tab{display:inline-flex;align-items:center;gap:8px;padding:10px 4px 12px;margin-right:16px;border-bottom:2px solid transparent;margin-bottom:-1px;font-size:15px;font-weight:600;color:var(--ink-2);text-decoration:none}
.co-tab i{font-style:normal;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:var(--sunken);display:grid;place-items:center;font-size:12px;font-weight:700;box-sizing:border-box}
.co-tab[aria-selected="true"]{color:var(--ink);border-image:var(--ce-grad) 1;border-bottom-width:2px;border-bottom-style:solid}
.co-tab:hover{color:var(--ink)}
.co-tab-note{margin:0 0 16px;font-size:14px;color:var(--ink-2)}
.co-tabbody .co-lab{text-transform:none;letter-spacing:0;font-size:16px;font-weight:600;color:var(--ink);margin:18px 0 10px}
.co-tabbody .co-lab:first-of-type{margin-top:0}
.co-xgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.co-xcard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--panel);color:var(--ink);text-decoration:none;transition:border-color .15s,transform .15s,box-shadow .15s}
.co-xcard:hover{border-color:var(--magenta);transform:translateY(-2px);box-shadow:0 14px 28px -20px rgba(74,29,94,.5)}
.co-ximg{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#2DE1FD33,#A98BE633,#FC31BB33,#FF7A0033) center/cover no-repeat}
.co-xlock{position:absolute;left:10px;top:10px;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;background:rgba(0,0,0,.65);color:#fff;font-style:normal;font-size:11.5px;font-weight:600}
.co-xbody{display:flex;flex-direction:column;gap:4px;padding:14px 16px 16px}
.co-xbody b{font-size:15px;line-height:1.3}
.co-xbody span{font-size:13px;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.co-xbody small{font-size:12px;color:var(--ink-3)}
.co-empty{padding:28px;border:1px dashed var(--line-2);border-radius:12px;text-align:center}
@media (max-width:900px){
  .co-hero{grid-template-columns:auto minmax(0,1fr)}
.co-contact{grid-column:1/-1} }
@media (max-width:560px){
  .co-hero{grid-template-columns:1fr} }
.co-facts dt{text-transform:none;letter-spacing:0;font-size:12px}
.co-ct-row .vp-copy{display:inline-flex;align-items:center;gap:4px;height:26px;padding:0 10px;border:1px solid var(--line-2);border-radius:999px;background:var(--panel);font:inherit;font-size:12px;font-weight:600;color:var(--ink);cursor:pointer}
.co-ct-row .vp-copy:hover{border-color:var(--magenta)}

/* ── Kris Kringle: elves (ChatGPT, no background) and the present ────── */
.kk-hero .kk-ic{width:84px;height:84px;border-radius:0;background:none;box-shadow:none;overflow:visible}
.kk-hero .kk-ic .kk-gift-svg,.kk-hero .kk-ic .kk-gift-img{width:96px;height:96px;margin:-6px;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(20,4,40,.45));animation:kkGiftBob 4s ease-in-out infinite}
@keyframes kkGiftBob{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-4px) rotate(2deg)}}
@media (prefers-reduced-motion:reduce){
  .kk-hero .kk-ic .kk-gift-svg,.kk-hero .kk-ic .kk-gift-img{animation:none} }
.kk-elf{display:block;position:relative;border-radius:50%;background:radial-gradient(circle at 50% 62%,#fff 0%,#FFF0F9 55%,#F6DCEC 100%);overflow:visible}
.kk-elf img{position:absolute;left:50%;bottom:0;width:128%;height:128%;transform:translateX(-50%);object-fit:contain;object-position:bottom;filter:drop-shadow(0 4px 6px rgba(74,29,94,.25))}
.kk-elf.kk-face{width:52px;height:52px;box-shadow:0 0 0 2px #fff,0 0 0 4px #f6dcec}
.kk-mem .kk-elf.kk-face{width:64px;height:64px}
.kk-mem .kk-mface.has-elf{padding-top:10px}
.kk-elf.md{width:64px;height:64px}
.kk-who.has-elf{padding-top:12px}
.kk-mem.is-away .kk-elf img{filter:grayscale(1);opacity:.55}
.kk-pp .kk-elf.kk-face,.kkm-p .kk-elf.kk-face{width:32px;height:32px}
.kkm-elves .toggle{font-size:13px}
.kkm-elflist{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
.kkm-elf{display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 10px;border-radius:999px;border:1px solid var(--line);background:var(--panel);font-size:12.5px}
.kkm-elf small{color:var(--ink-3)}
.kkm-elf.st-done small{color:var(--green-ink)}
.kkm-elf.st-failed small{color:var(--red-ink)}
.kkm-elf.st-working small{color:var(--pink-ink)}
.kkm-elf .kkm-link{font-size:12px}
.kkm-err{margin:0 0 10px;font-size:13px;color:var(--red-ink)}

/* ── Administration → Deploys ─────────────────────────────────────────── */
.dp-top{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.dp-top h2{margin:0 0 4px}
.dp-top .btn{display:inline-flex;align-items:center;gap:8px;flex:none}
.dp-live{display:flex;flex-direction:column;gap:6px;margin-bottom:24px}
.dp-live-h{display:flex;align-items:center;gap:10px}
.dp-k{font-size:12px;color:var(--ink-3)}
.dp-msg{font-size:18px;font-weight:600}
.dp-meta{font-size:13px;color:var(--ink-2)}
.dp-meta code,.dp-empty code{font-family:var(--mono);font-size:12px;padding:1px 6px;border-radius:6px;background:var(--sunken)}
.dp-meta em{font-style:normal;font-weight:600} .dp-meta em.add{color:var(--green-ink)} .dp-meta em.del{color:var(--red-ink)}
.dp-pill{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:700;font-style:normal;background:var(--sunken);color:var(--ink-2)}
.dp-pill.ok{background:var(--tint-green);color:var(--green-ink)} .dp-pill.bad{background:var(--tint-red);color:var(--red-ink)} .dp-pill.warn{background:var(--tint-amber);color:var(--amber-ink)}
.dp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;margin-top:10px}
.dp-stat{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:10px;background:var(--sunken)}
.dp-stat i{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-style:normal;font-weight:800;font-size:13px}
.dp-stat.ok i{background:var(--tint-green);color:var(--green-ink)} .dp-stat.bad i{background:var(--tint-red);color:var(--red-ink)}
.dp-stat span{display:flex;flex-direction:column;gap:2px;min-width:0}
.dp-stat b{font-size:14px} .dp-stat small{font-size:12.5px;color:var(--ink-2);overflow-wrap:anywhere}
.dp-err{margin:4px 0 0;font-size:13px;color:var(--red-ink)}
.dp-log{margin-top:10px}
.dp-log summary{cursor:pointer;font-size:13px;font-weight:600}
.dp-log pre{margin:8px 0 0;max-height:280px;overflow:auto;padding:12px;border-radius:8px;background:#0f0f14;color:#e6e6ea;font-family:var(--mono);font-size:12px;line-height:1.5;white-space:pre-wrap}
.dp-h{display:flex;align-items:center;gap:8px;font-size:20px;margin:0 0 12px}
.dp-h i{font-style:normal;min-width:24px;height:24px;padding:0 8px;border-radius:999px;background:var(--sunken);display:grid;place-items:center;font-size:12px;box-sizing:border-box}
.dp-prs{display:grid;gap:12px}
.dp-pr{display:flex;align-items:center;gap:16px}
.dp-pr-t{display:flex;flex-direction:column;gap:6px;flex:1;min-width:0}
.dp-pr-t a{color:var(--ink);text-decoration:none} .dp-pr-t a:hover b{text-decoration:underline;text-decoration-color:var(--magenta)}
.dp-pr-t b{font-size:16px}
.dp-tags{display:flex;flex-wrap:wrap;gap:6px}
.dp-block{font-size:12.5px;color:var(--amber-ink)}
.dp-pr .btn{flex:none}
.dp-empty{padding:20px;border:1px dashed var(--line-2);border-radius:12px}
@media (max-width:700px){ .dp-top,.dp-pr{flex-direction:column;align-items:stretch} }

/* Org chart: the top card shows the Charles Elena monogram. */
.org-card.company .oc-logo{width:44px;height:44px;border-radius:12px;flex:none;display:block;box-shadow:0 6px 14px -8px rgba(0,0,0,.45)}
.kk-making{display:flex;align-items:center;gap:10px;margin:0;padding:10px 14px;border-radius:12px;background:var(--tint-pink-2);color:var(--pink-ink);font-size:14px;font-weight:500}
.kk-mk-dot{width:10px;height:10px;border-radius:50%;flex:none;background:var(--ce-grad);animation:xeGenPulse .8s ease-in-out infinite alternate}
@media (prefers-reduced-motion:reduce){
  .kk-mk-dot{animation:none} }

/* ── Briefs (Home): Submitted → Assigned → Actioned ─────────────────────── */
.br{padding:20px}
.br-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.br-filters{display:flex;flex-wrap:wrap;gap:6px}
.br-filters .fchip em{font-style:normal;margin-left:4px;opacity:.7}
.br-top .btn{display:inline-flex;align-items:center;gap:6px}
.br-list{display:grid;gap:10px}
.br-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr) auto;gap:16px;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.br-row.late{border-color:color-mix(in srgb,var(--orange) 55%,var(--line))}
.br-main{display:flex;flex-direction:column;gap:4px;min-width:0}
.br-title{all:unset;cursor:pointer;color:var(--ink)}
.br-title b{font-size:15.5px;font-weight:600}
.br-title:hover b,.br-title:focus-visible b{text-decoration:underline;text-decoration-color:var(--magenta);text-underline-offset:3px}
.br-title:focus-visible{outline:2px solid var(--magenta);outline-offset:3px;border-radius:4px}
.br-meta{font-size:13px;color:var(--ink-2)}
.br-meta em{font-style:normal;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:999px;margin-left:4px}
.br-urgent{background:var(--tint-red);color:var(--red-ink)}
.br-lateflag{background:var(--tint-amber);color:var(--amber-ink)}
.br-to{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--ink)}
.br-to svg{color:var(--magenta)}
.br-to small{color:var(--ink-3);margin-left:4px}
.br-track{display:flex;list-style:none;margin:0;padding:0;gap:0}
.br-track li{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px;position:relative;font-size:12.5px;color:var(--ink-3);min-width:0}
.br-track li::before{content:"";position:absolute;top:9px;left:20px;right:4px;height:2px;background:var(--line)}
.br-track li:last-child::before{display:none}
.br-track li.done::before{background:var(--ce-grad)}
.br-track i{position:relative;z-index:1;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--sunken);border:2px solid var(--line);box-sizing:border-box;color:#fff}
.br-track li.done i,.br-track li.now i{border:0;background:var(--hub-grad-ink)}
.br-track li.now:not(:last-child) i{box-shadow:0 0 0 4px var(--tint-pink)}
.br-track span{display:flex;flex-direction:column;font-weight:600;color:var(--ink)}
.br-track li:not(.done):not(.now) span{color:var(--ink-3);font-weight:500}
.br-track small{font-weight:400;color:var(--ink-3);font-size:11.5px;white-space:nowrap}
.br-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.br-acts .btn,.br-card .hm-acts .btn{display:inline-flex;align-items:center;gap:6px}
.br-assign{display:inline-flex;gap:6px;align-items:center}
.br-who{height:34px;max-width:220px;border:1px solid var(--line-2);border-radius:8px;background:var(--panel);font:inherit;font-size:13px;color:var(--ink);padding:0 8px}
.br-done{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:var(--green-ink)}
.br-empty{padding:28px;border:1px dashed var(--line-2);border-radius:12px;text-align:center;color:var(--ink-2);font-size:14px}
.hm-card.br-card{width:min(760px,100%)}
.br-card .br-track{margin:16px 0 18px}
.br-details{padding:14px 16px;border-radius:10px;background:var(--sunken);font-size:14.5px;line-height:1.55;max-height:320px;overflow:auto}
.br-links{display:flex;flex-direction:column;gap:6px;margin-top:12px}
.br-links a{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--pink-ink);word-break:break-all}
.br-facts{display:grid;gap:6px;margin:16px 0 0;font-size:13.5px}
.br-facts div{display:grid;grid-template-columns:100px 1fr;gap:10px}
.br-facts dt{color:var(--ink-3)}
.br-facts dd{margin:0}
.br-card .hm-acts{flex-wrap:wrap;gap:8px}
.br-note{flex:1;min-width:180px;height:38px;padding:0 12px;border:1px solid var(--line-2);border-radius:8px;font:inherit;font-size:14px;background:var(--panel);color:var(--ink)}
@media (max-width:1000px){
  .br-row{grid-template-columns:1fr}
.br-acts{justify-content:flex-start} }
.br-row{grid-template-columns:minmax(0,1.2fr) minmax(340px,1fr) auto}
.br-track li{padding-right:8px}
.br-track small{white-space:normal;line-height:1.3}

/* On this day: the picture sits beside the year and text (right, centred), not on a row of its own above them. */
.otd-list > .otd-fact{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:center;align-content:center}
.otd-list > .otd-fact > *{grid-column:1}
.otd-list > .otd-fact > .otd-img{grid-column:2;grid-row:1 / span 4;align-self:center;float:none;margin:0;width:112px;height:112px;border-radius:12px}
@media (max-width:640px){
  .otd-list > .otd-fact > .otd-img{width:72px;height:72px}
.otd-list > .otd-fact{column-gap:14px} }

/* Briefs: the board, with past briefs (searchable, to reuse) on the right. */
.br-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.br-board{min-width:0}
.br-row{grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);grid-template-areas:"main track" "acts acts"}
.br-row .br-main{grid-area:main}
.br-row .br-track{grid-area:track}
.br-row .br-acts{grid-area:acts;justify-content:flex-start}
.br-row .br-acts:empty{display:none}
.br-dir{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:12px;background:var(--sunken);position:sticky;top:90px;max-height:calc(100vh - 120px);min-height:0}
.br-dir-h{display:flex;flex-direction:column;gap:2px}
.br-dir-h b{font-size:15px}
.br-dir-h small{font-size:12.5px;color:var(--ink-2);line-height:1.4}
.br-dir-q{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;border:1px solid var(--line-2);border-radius:999px;background:var(--panel);color:var(--ink-3)}
.br-dir-q input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:14px;color:var(--ink)}
.br-dir-q:focus-within{border-color:var(--magenta);box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.br-dir-list{display:flex;flex-direction:column;gap:6px;overflow:auto;min-height:0;max-height:520px;margin:0 -4px;padding:0 4px}
.br-dir-i{display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border-radius:10px;background:var(--panel);border:1px solid var(--line)}
.br-dir-i:hover{border-color:color-mix(in srgb,var(--magenta) 45%,var(--line))}
.br-dir-t{all:unset;flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;cursor:pointer}
.br-dir-t:focus-visible{outline:2px solid var(--magenta);outline-offset:3px;border-radius:4px}
.br-dir-t b{font-size:13.5px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.br-dir-t span{font-size:12px;color:var(--ink-2)}
.br-dir-t small{display:flex;align-items:center;gap:4px;font-size:12px;color:var(--ink-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.br-dir-t small svg{flex:none;color:var(--magenta)}
.br-reuse{flex:none;font-size:12.5px;font-weight:600;margin-top:2px}
.br-dir-none,.br-dir-more{margin:6px 2px;font-size:13px;color:var(--ink-2)}
.br-stake{display:flex;gap:10px;align-items:flex-start;margin:0 0 12px;padding:12px 14px;border-radius:10px;border:1px solid var(--line);font-size:14px;line-height:1.5}
.br-stake svg{flex:none;margin-top:3px;color:var(--magenta)}
.br-stake b{display:block;font-size:12px;color:var(--ink-3);font-weight:500}
.hm-card.rf-card.br-new{width:min(1180px,100%)}
.br-new-cols{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.br-new .br-dir{position:static;max-height:none}
.br-new .br-dir-list{max-height:460px}
@media (max-width:1100px){
  .br-cols,.br-new-cols{grid-template-columns:1fr}
.br-dir{position:static;max-height:none} }
@media (max-width:700px){
  .br-row{grid-template-columns:1fr;grid-template-areas:"main" "track" "acts"} }

/* Briefs: client picker with logos, logos on the board, and the PDF export. */
.br-co-pick{position:relative}
.br-co-pick .br-co-mark{position:absolute;left:10px;bottom:9px;z-index:1;display:none;pointer-events:none}
.br-co-pick.has-mark .br-co-mark{display:block}
.br-co-pick.has-mark #brf-client{padding-left:46px}
.br-co-pop{position:absolute;left:0;right:0;top:100%;margin-top:6px;z-index:30;max-height:300px;overflow:auto;padding:6px;border-radius:12px;background:var(--panel);border:1px solid var(--line);box-shadow:0 18px 40px -18px rgba(0,0,0,.35)}
.br-co-opt{display:flex;align-items:center;gap:10px;width:100%;padding:8px 10px;border:0;border-radius:8px;background:none;font:inherit;font-size:14px;color:var(--ink);text-align:left;cursor:pointer}
.br-co-opt:hover,.br-co-opt:focus-visible{background:var(--sunken);outline:none}
.br-co-none{margin:8px 10px;font-size:13px;color:var(--ink-2)}
.br-logo{border-radius:8px}
.br-tline{display:flex;align-items:center;gap:10px;min-width:0}
.br-mhead{display:flex;align-items:center;gap:14px;margin-bottom:4px}
.br-mhead .hm-sub{margin:2px 0 0}
.br-print{display:none}
@media print{
  body.printing-brief > *:not(#br-print){display:none !important}
body.printing-brief{background:#fff !important}
body.printing-brief #br-print{display:block;color:#111;font:14px/1.5 Roboto,Arial,sans-serif;padding:0}
#br-print header{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;margin-bottom:22px;border-bottom:3px solid transparent;border-image:linear-gradient(90deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00) 1}
#br-print .brp-logo{height:18px;filter:none}
#br-print header span{font-size:12px;color:#666}
#br-print .brp-co{display:flex;align-items:center;gap:14px;margin-bottom:18px}
#br-print h1{font-size:24px;margin:0}
#br-print .brp-co p{margin:2px 0 0;color:#555}
#br-print table{width:100%;border-collapse:collapse;margin-bottom:20px}
#br-print th{width:130px;text-align:left;vertical-align:top;color:#666;font-weight:500;padding:6px 10px 6px 0;border-bottom:1px solid #eee}
#br-print td{padding:6px 0;border-bottom:1px solid #eee}
#br-print h2{font-size:15px;margin:18px 0 8px}
#br-print .brp-body{white-space:normal}
#br-print ul{margin:0;padding-left:18px;word-break:break-all}
#br-print footer{margin-top:30px;font-size:11px;color:#888}
#br-print .co-logo{border:1px solid #ddd}
}
@media print{ @page{margin:18mm} }

/* The Rapid Briefing Table inside an opened brief (the same table Copy for Teams pastes), with the Hub's colours. */
.br-rt{margin:4px 0 14px;padding:16px 18px;border:1px solid var(--line);border-radius:12px;background:var(--panel);overflow-x:auto}
.br-rt > div{font-family:var(--font) !important;color:var(--ink)}
.br-rt h2{display:none}
.br-rt p{font-size:13.5px;color:var(--ink-2)}
.br-rt table{font-size:14px}
.br-rt td{border-color:var(--line-2) !important;color:var(--ink)}
.br-rt td:first-child strong{font-size:11.5px;letter-spacing:.04em;color:var(--ink-2)}
.br-rt a{color:var(--pink-ink)}
.br-top-acts{display:inline-flex;align-items:center;gap:14px}
.br-top-acts .linkish{font-size:13.5px}
.br-new #brf-blank{font-size:13.5px;margin-right:6px}
.br-new .hm-acts .btn{display:inline-flex;align-items:center;gap:6px}
@media print{
  #br-print .brp-rapid{margin:0 0 18px}
#br-print .brp-rapid h2{display:none}
#br-print .brp-rapid table{margin:0}
#br-print .brp-rapid td{border:1px solid #111 !important;padding:7px 9px !important}
}

/* ── More → Email signature ──────────────────────────────────────────── */
#tab-signature > *{max-width:var(--page-w);margin-left:auto;margin-right:auto}
.sg-cols{display:grid;grid-template-columns:minmax(360px,440px) minmax(0,1fr);gap:28px;align-items:start}
.sg-form{display:flex;flex-direction:column;gap:20px}
.sg-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:22px}
.sg-card h3{display:flex;align-items:center;gap:10px;font-size:16px;margin:0 0 16px}
.sg-step{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--hub-grad-ink);color:#fff;font-size:12px;font-weight:700}
.sg-f{margin-bottom:14px}
.sg-f label{display:block;font-size:12.5px;font-weight:600;margin-bottom:6px}
.sg-f label small{font-weight:400;color:var(--ink-3)}
.sg-f input,.sg-f textarea{width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line-2);border-radius:8px;background:var(--panel);font:inherit;font-size:14px;color:var(--ink)}
.sg-f textarea{resize:vertical;line-height:1.45}
.sg-f input:focus,.sg-f textarea:focus{outline:none;border-color:var(--magenta);box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.sg-hint{display:block;font-size:12px;color:var(--ink-3);margin-top:5px;line-height:1.4}
.sg-seg{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--sunken);border:1px solid var(--line)}
.sg-seg button{flex:1;border:0;background:none;border-radius:999px;padding:9px 8px;font:inherit;font-size:13.5px;font-weight:600;color:var(--ink-2);cursor:pointer}
.sg-seg button.on{background:var(--ink);color:var(--panel)}
.sg-banners{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:12px}
.sg-ban{display:flex;flex-direction:column;gap:6px;padding:8px;border:2px solid var(--line);border-radius:10px;background:var(--panel);font:inherit;font-size:12.5px;font-weight:600;color:var(--ink);cursor:pointer;text-align:left}
.sg-ban img{width:100%;aspect-ratio:5/2;object-fit:cover;border-radius:6px;background:var(--sunken);display:block}
.sg-ban.on{border-color:var(--magenta);box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.sg-ban-none{justify-content:center}
.sg-none{display:grid;place-items:center;aspect-ratio:5/2;border-radius:6px;border:1px dashed var(--line-2);color:var(--ink-3);font-weight:500}
.sg-drop{border:2px dashed var(--line-2);border-radius:10px;padding:16px;text-align:center;font-size:13px;color:var(--ink-2);cursor:pointer;background:var(--sunken)}
.sg-drop.drag,.sg-stage.drag{border-color:var(--magenta);background:var(--tint-pink-2)}
.sg-drop.has{border-style:solid;border-color:var(--green-ink);color:var(--green-ink);font-weight:600}
.sg-drop u{color:var(--pink-ink)}
.sg-side{position:sticky;top:96px}
.sg-k{margin:0 0 12px;font-size:12px;color:var(--ink-3)}
.sg-stage{background:#fff;border:1px solid var(--line);border-radius:10px;padding:28px;overflow-x:auto;color:#111}
.sg-acts{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:18px}
.sg-acts .linkish{font-size:13.5px}
.sg-reset{margin-left:auto;color:var(--ink-3) !important}
.sg-how{margin-top:16px;padding:16px 18px;border-radius:10px;background:var(--sunken);font-size:13.5px;line-height:1.55}
.sg-how p{margin:0 0 10px}
.sg-how dl{margin:0;display:grid;gap:8px}
.sg-how dt{font-weight:700}
.sg-how dd{margin:0;color:var(--ink-2)}
@media (max-width:1000px){
  .sg-cols{grid-template-columns:1fr}
.sg-side{position:static} }

/* Kris Kringle elves sit inside their circle (clipped, centred on the face), on the team photos' grey. */
.kk-elf{overflow:hidden;background:#E6E5EB}
.kk-elf img{left:0;top:0;bottom:auto;width:100%;height:100%;transform:scale(1.12);transform-origin:50% 40%;object-fit:cover;object-position:50% 35%;filter:none}
.kk-mem .kk-mface.has-elf,.kk-who.has-elf{padding-top:0}
.kk-mem .kk-elf.kk-face{width:52px;height:52px}

/* Brief form: the Account list opens over the fields below it. */
.hm-f.br-co-pick{position:relative;z-index:60}
.br-co-pop{z-index:61;background:var(--panel)}
/* The opened brief shows exactly what lands in Teams (its own colours). */
.br-rt{padding:0;border:0;background:none}
.br-rt > div,.br-rt td{font-family:inherit}
.br-rt h2{display:block}
.br-rt td{border-color:#E0E0E0 !important}
.br-rt td:first-child strong{font-size:inherit;letter-spacing:inherit;color:inherit}

/* Today: your briefs, under the meetings */
.tb-wrap{margin-top:14px;padding:12px 20px 16px;border-top:1px solid var(--line,#E6E5EB);display:flex;flex-direction:column;gap:6px}
.tb-h{display:flex;align-items:baseline;gap:8px;margin:4px 0 2px}
.tb-h b{font-size:13px}
.tb-h span{font-size:12px;color:var(--muted,#6B6B76)}
.tb-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:var(--soft,#F5F4F8);color:inherit;text-decoration:none;transition:background .15s}
.tb-row:hover{background:#EFEAF6}
.tb-row.urgent{box-shadow:inset 3px 0 0 #FC31BB}
.tb-ic{flex:none;width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:var(--ce-grad,linear-gradient(135deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00));color:#fff}
.tb-row .sd-t{flex:1;min-width:0}
.tb-row .sd-t b,.tb-row .sd-t span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tb-row .sd-t span{font-size:12px;color:var(--muted,#6B6B76)}
.tb-all{align-self:flex-end;margin-top:2px}
.td-brief{color:inherit;text-decoration:none}
.td-brief:hover{text-decoration:underline}

/* Your Kris Kringle, on the dashboard by Today: the name stays hidden until you tap */
.kk-mini-sec{display:flex;flex-direction:column;gap:6px}
.kk-mini{position:relative;overflow:hidden;display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border:0;border-radius:18px;cursor:pointer;text-align:left;font:inherit;color:#fff;
  background:linear-gradient(135deg,#B3148A,#FC31BB 55%,#FF7A00)}
.kk-mini:focus-visible{outline:2px solid #FC31BB;outline-offset:3px}
.kk-mini .kk-snow{position:absolute;inset:0;pointer-events:none;opacity:.5}
.kk-mini-ic{flex:none;width:44px;height:44px;display:grid;place-items:center}
.kk-mini-ic img,.kk-mini-ic svg{width:44px;height:44px;object-fit:contain}
.kk-mini-t{flex:1;min-width:0;position:relative}
.kk-mini-t small{display:block;font-size:11px;letter-spacing:.06em;text-transform:uppercase;opacity:.85}
.kk-mini-t b{display:block;font-size:15px;line-height:1.3}
.kk-mini-who,.kk-mini.on .kk-mini-hid{display:none!important}
.kk-mini.on .kk-mini-who{display:block!important;animation:so-in .35s ease both}
.kk-mini-face{flex:none;position:relative;width:48px;height:48px;opacity:0;transform:scale(.6);transition:opacity .25s,transform .25s}
.kk-mini.on .kk-mini-face{opacity:1;transform:none}
.kk-mini-face .kk-elf,.kk-mini-face .av{width:48px;height:48px;border-radius:50%;overflow:hidden;display:block;background:#fff}
.kk-mini-face .kk-elf img{width:100%;height:100%;object-fit:cover}
.kk-mini-face .kk-hat{position:absolute;top:-12px;left:6px;width:28px}
.kk-mini-more{align-self:flex-end;display:none}
.kk-mini-sec:has(.kk-mini.on) .kk-mini-more{display:inline-flex}

/* Briefs: pick one or more people (Assign to) - a select-like button, and a list with tick boxes under it */
.br-mpick{position:relative;min-width:0}
.br-mp-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 18px 10px 24px;border:1px solid var(--line-2,#CFCFD6);border-radius:14px;background:var(--panel,#fff);font:inherit;font-size:16px;color:var(--ink);text-align:left;cursor:pointer}
.br-mp-btn:hover{border-color:#B9B8C3}
.br-mp-btn:focus-visible,.br-mpick.open .br-mp-btn{outline:none;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.15)}
.br-mp-btn svg{flex:none;margin-left:auto;color:#FC31BB;transition:transform .2s}
.br-mpick.open .br-mp-btn svg{transform:rotate(180deg)}
.br-mp-v{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.br-mp-v.ph{color:var(--muted,#6B6B76)}
.br-mp-pop{position:absolute;z-index:70;left:0;right:0;top:calc(100% + 6px);min-width:260px;background:var(--panel,#fff);border:1px solid var(--line,#E6E5EB);border-radius:14px;box-shadow:0 18px 40px -18px rgba(0,0,0,.35);padding:8px}
.br-mp-q{width:100%;box-sizing:border-box;height:38px;border:1px solid var(--line,#E6E5EB);border-radius:10px;padding:0 12px;font:inherit;font-size:14px;margin-bottom:6px}
.br-mp-list{max-height:280px;overflow-y:auto;display:flex;flex-direction:column;gap:2px}
.br-mp-i{display:flex;align-items:center;gap:10px;padding:7px 8px;border-radius:10px;cursor:pointer}
.br-mp-i[hidden]{display:none}
.br-mp-i:hover{background:var(--soft,#F5F4F8)}
.br-mp-i input{width:18px;height:18px;accent-color:#FC31BB;flex:none;margin:0}
.br-mp-av .av{width:28px;height:28px;font-size:11px}
.br-mp-t{min-width:0;display:flex;flex-direction:column}
.br-mp-t b{font-size:14px;font-weight:600}
.br-mp-t small{font-size:12px;color:var(--muted,#6B6B76);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.br-mp-i:has(input:checked){background:#FDEAF6}
/* On the board and in an opened brief: compact */
.br-assign{display:inline-flex;align-items:center;gap:8px}
.br-assign .br-mpick{width:240px}
.br-assign .br-mp-btn{min-height:34px;padding:4px 10px 4px 12px;border-radius:8px;font-size:13px}
.br-assign .br-mp-pop{left:auto;right:0;width:300px}
.br-mpick.up .br-mp-pop{top:auto;bottom:calc(100% + 6px)}

/* Induction steps, tidied: the heading on the left, two columns, team photos as portraits, the org chart for the team */
.ind-sheet .lms-one .lms-head{text-align:left;padding-bottom:22px;margin-bottom:32px;border-bottom:1px solid var(--line)}
.ind-sheet .lms-one .lms-head h2,.ind-sheet .lms-one .lms-head .s-n{text-align:left;margin-left:0;margin-right:0}
.ind-sheet .lms-one .md > p:first-child{text-align:left}
/* With pictures: the words on the left, the pictures on the right */
.ind-sheet .lms-one .lms-grid:not(.no-media){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:start}
.ind-sheet .lms-one .lms-grid:not(.no-media) .lms-media{order:2;position:sticky;top:24px}
.ind-sheet .lms-one .lms-grid:not(.no-media) .lms-main{order:1}
/* Words only: the opening on the left, the list as cards on the right */
.ind-sheet .lms-one .lms-grid.no-media .md:has(> ul,> ol){display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(28px,4vw,64px);align-items:start}
.ind-sheet .lms-one .lms-grid.no-media .md:has(> ul,> ol) > *{grid-column:1}
.ind-sheet .lms-one .lms-grid.no-media .md:has(> ul,> ol) > ul,.ind-sheet .lms-one .lms-grid.no-media .md:has(> ul,> ol) > ol{grid-column:2;grid-row:1 / span 30;margin:0}
.ind-sheet .lms-one .md ul li{background:var(--panel);border:1px solid var(--line);box-shadow:0 10px 24px -20px rgba(0,0,0,.35);transition:transform .2s,border-color .2s}
.ind-sheet .lms-one .md ul li:hover{transform:translateY(-2px);border-color:#F6B3DE}
.ind-sheet .lms-one .md ul li{animation:so-in .45s ease both}
.ind-sheet .lms-one .md ul li:nth-child(2){animation-delay:.06s}
.ind-sheet .lms-one .md ul li:nth-child(3){animation-delay:.12s}
.ind-sheet .lms-one .md ul li:nth-child(4){animation-delay:.18s}
.ind-sheet .lms-one .md ul li:nth-child(n+5){animation-delay:.24s}
/* People's photos: portraits, faces kept in frame */
.ind-sheet .sh-gallery figure.is-person img{aspect-ratio:4/5;object-fit:cover;object-position:50% 18%;background:#E6E5EB}
.ind-sheet .sh-gallery figcaption{text-align:left}
/* The org chart, full width under the step */
.ind-sheet .ind-org-sec{margin-top:40px;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--panel);overflow-x:auto}
.ind-sheet .ind-org{padding-top:8px}
.ind-org-wait{padding:24px;color:var(--muted)}
@media (max-width:1000px){
  .ind-sheet .lms-one .lms-grid:not(.no-media),.ind-sheet .lms-one .lms-grid.no-media .md:has(> ul,> ol){grid-template-columns:1fr}
.ind-sheet .lms-one .lms-grid.no-media .md:has(> ul,> ol) > ul,.ind-sheet .lms-one .lms-grid.no-media .md:has(> ul,> ol) > ol{grid-column:1;grid-row:auto;margin-top:16px}
.ind-sheet .lms-one .lms-grid:not(.no-media) .lms-media{position:static;order:0}
}
/* A step with the org chart: not a fixed-height slide - the step and the chart scroll together */
.ind-sheet .lms-body:has(.lms-panel.has-org){overflow-y:auto!important}
.ind-sheet .lms-in.lms-one:has(.has-org){flex:none!important}
.ind-sheet .lms-one .lms-panel.has-org{flex:none!important}
.ind-sheet .lms-one .lms-panel.has-org .lms-grid{flex:none!important;grid-template-rows:auto!important}
.ind-sheet .lms-one .lms-panel.has-org .lms-main,.ind-sheet .lms-one .lms-panel.has-org .lms-media{overflow:visible!important}
.ind-sheet .ind-org-sec{flex:none}
/* Words only: use the full width of the panel */
.ind-sheet .lms-one .lms-grid.no-media{grid-template-columns:minmax(0,1fr)!important;justify-content:stretch}
.ind-sheet .lms-one .lms-grid.no-media .lms-main{max-width:none}
/* Team photos beside a video: proper portraits with names, not thumbnails */
.ind-sheet .lms-media.has-vid .sh-gallery:has(.is-person){grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:14px}
.ind-sheet .lms-media.has-vid .sh-gallery:has(.is-person) figcaption{display:block;font-size:13px;margin-top:6px}
.ind-sheet .lms-one .lms-media.has-vid .sh-gallery figure.is-person img{aspect-ratio:4/5}
.ind-sheet .lms-one .lms-media.has-vid:has(.is-person){overflow-y:auto!important}
/* Make a picture: the links and the prompt */
.xe-gen-l{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}
.xe-gen-lab{font-size:13px;font-weight:600;color:var(--ink)}
.xe-gen-lab small{font-weight:400;color:var(--ink-2);margin-left:6px}
.xe-gen-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px}
.xe-gen-links input{min-width:0}
.xe-gl-add{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;font-size:13px}
.xe-gl-add[hidden]{display:none}
.xe-gen-l textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:84px}
.xe-gen-row .sp{flex:1}
/* Kris Kringle → Manage → Elves: the list folded away */
.kkm-elves-more > summary{cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#B3148A;list-style:none;margin:2px 0 4px}
.kkm-elves-more > summary::-webkit-details-marker{display:none}
.kkm-elves-more > summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.kkm-elves-more[open] > summary::after{transform:rotate(-135deg) translateY(-1px)}
.kkm-elves-more[open] > summary{margin-bottom:10px}
/* Induction lists: two columns of cards (three or more items), each easing up and fading in, one after another */
.ind-sheet .lms-one .md > ul.two-up{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
.ind-sheet .lms-one .md > ul > li{display:block;box-sizing:border-box;line-height:1.55;
  animation:indLi .7s cubic-bezier(.2,.8,.2,1) calc(.08s + var(--i,0) * .07s) both!important}
@keyframes indLi{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .ind-sheet .lms-one .md > ul > li{animation:none!important} }
/* Words only: the opening across the top, the list in two columns under it, full width */
.ind-sheet .lms-one .lms-grid.no-media .md:has(> ul.two-up){display:block}
.ind-sheet .lms-one .lms-grid.no-media .md > ul.two-up{margin-top:20px}
/* Beside pictures the words' column is narrower: two columns only when there's room */
@media (max-width:1400px){
  .ind-sheet .lms-one .lms-grid:not(.no-media) .md > ul.two-up{grid-template-columns:1fr} }
@media (max-width:760px){
  .ind-sheet .lms-one .md > ul.two-up{grid-template-columns:1fr} }

/* Edit experiences: the Home panel's search, and the page of every experience */
.xe-ic.xe-ic-ed{background:var(--ce-grad);color:#fff}
.xe-find{display:flex;gap:8px;margin-top:14px}
.xe-find input{flex:1;min-width:0;height:44px;border:1px solid var(--line-2,#CFCFD6);border-radius:12px;padding:0 14px;font:inherit;background:var(--panel)}
.xe-find input:focus{outline:none;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.15)}
.xl-page{padding:8px 0 48px}
.xl-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:22px}
.xl-head h1{margin:6px 0 6px;font-size:clamp(28px,3vw,42px);letter-spacing:-.02em}
.xl-head p{margin:0;color:var(--ink-2);max-width:640px}
.xl-bar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.xl-search{flex:1 1 380px;display:flex;align-items:center;gap:10px;height:50px;padding:0 16px;border:1px solid var(--line-2,#CFCFD6);border-radius:14px;background:var(--panel);color:var(--muted)}
.xl-search:focus-within{border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.15)}
.xl-search input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;font-size:16px;color:var(--ink)}
.xl-count{margin:0 0 12px;font-size:13px;color:var(--muted)}
#xl-list.loading .xl-grid{opacity:.55;transition:opacity .2s}
.xl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.xl-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;background:var(--panel);overflow:hidden;transition:box-shadow .2s,border-color .2s,transform .2s;animation:so-in .45s ease both;animation-delay:calc(min(var(--i,0),12) * 35ms)}
.xl-card:hover{border-color:#F6B3DE;box-shadow:0 18px 40px -26px rgba(0,0,0,.4);transform:translateY(-2px)}
.xl-card.sk{min-height:300px;background:linear-gradient(90deg,var(--sunken) 0%,#fff 50%,var(--sunken) 100%);background-size:200% 100%;animation:xlSk 1.2s linear infinite}
@keyframes xlSk{to{background-position:-200% 0}}
.xl-pic{display:grid;place-items:center;aspect-ratio:16/10;border:0;padding:0;cursor:pointer;background:var(--sunken) center/cover no-repeat;color:var(--muted)}
.xl-t{padding:14px 16px 6px;display:flex;flex-direction:column;gap:4px;flex:1}
.xl-t b{font-size:16px;line-height:1.3}
.xl-t small{font-size:12.5px;color:var(--muted)}
.xl-st{align-self:flex-start;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:#E7F6EC;color:#1F7A3D}
.xl-st.st-draft,.xl-st.st-pending{background:#FFF1DC;color:#8A5300}
.xl-st.st-private{background:#EEE8FB;color:#5B3BA8}
.xl-st.st-future{background:#E3F4FB;color:#106A8C}
.xl-acts{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 16px 16px}
[data-xl-edit].busy{opacity:.6;pointer-events:none}
.xl-pages{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:24px;font-size:14px;color:var(--muted)}
/* Edit an experience: the same panel as Add an experience, beside it */
.hb[data-block="editexp"] > .row-head{display:none}
#editexp{position:relative;overflow:hidden}
#editexp:hover .xe-art .xt:nth-child(1){transform:rotate(-14deg) translate(-8px,-4px)}
#editexp:hover .xe-art .xt:nth-child(2){transform:rotate(12deg) translate(8px,-4px)}
#editexp:hover .xe-art .xt:nth-child(3){transform:rotate(0) translateY(4px)}
#editexp .xe-in,#editexp .xe-acts,#editexp .xe-note,#editexp .xe-find{position:relative;z-index:1;max-width:calc(100% - 200px)}
@media (max-width:900px){
  #editexp .xe-in,#editexp .xe-acts,#editexp .xe-note,#editexp .xe-find{max-width:none} }

/* Experience form preview: everything filled in, under the card */
.xe-pv-more{display:grid;gap:12px;padding-top:12px;border-top:1px solid var(--line)}
.xe-pv-more:empty{display:none}
.xe-pv-dl{display:grid;gap:6px;margin:0}
.xe-pv-dl:empty{display:none}
.xe-pv-row{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px;font-size:13px}
.xe-pv-row dt{color:var(--g60)}
.xe-pv-row dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
.xe-pv-g{display:grid;gap:6px}
.xe-pv-g > span{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--g60)}
.xe-pv-g > div{display:flex;flex-wrap:wrap;gap:6px}
.xe-pv-g i{font-style:normal;font-size:12px;padding:4px 10px;border-radius:999px;background:#FDEAF6;color:#A9127A}
.xe-pv-links{display:flex;flex-wrap:wrap;gap:8px}
.xe-pv-links a{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 12px;border-radius:999px;border:1px solid var(--line);font-size:12.5px;color:var(--ink);text-decoration:none}
.xe-pv-links a:hover{border-color:#FC31BB}
.xe-pv-vis{display:flex;align-items:center;gap:6px;font-size:12.5px;color:var(--g60)}
@media (max-width:860px){
  .xe-pv-more{grid-column:1/-1} }

/* Phones: the experience form (and every full-screen form) is a page that scrolls inside itself, with the
   buttons stuck to its bottom edge. The backdrop's blur made Safari pin "fixed" buttons to the scrolling modal,
   so they floated up the page; and nothing in the form can make it wider than the screen. */
@media (max-width:720px){
  .hub-modal:has(.rf-card){-webkit-backdrop-filter:none;backdrop-filter:none;overflow:hidden}
  .hm-card.rf-card{height:100vh;height:100dvh;min-height:0;max-height:none;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;animation:none;padding:20px 16px 0 !important;box-sizing:border-box}
  .rf-card .hm-acts{position:sticky;left:auto;right:auto;bottom:0;margin:20px -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
  .rf-card .xe-body,.rf-card .xe-main,.rf-card .xe-pane,.rf-card .hm-f{min-width:0;max-width:100%}
  .rf-card input,.rf-card select,.rf-card textarea{max-width:100%;min-width:0;box-sizing:border-box}
  .xe-card .hm-acts .btn{flex:1 1 0;min-width:0}
}
.xe-pv-all > summary{cursor:pointer;list-style:none;font-size:13px;font-weight:600;color:#B3148A;padding:4px 0}
.xe-pv-all > summary::-webkit-details-marker{display:none}
@media (min-width:861px){ .xe-pv-all > summary{display:none} }
@media (max-width:860px){ .xe-pv-all{grid-column:1/-1} .xe-pv-all[open] > summary{margin-bottom:8px} }

/* Experience form preview, as the experience page shows it: the picture large, the title, the whole description,
   its links and categories, then the details. On phones it's a bar (picture, title) that opens into the same. */
.xe-preview{display:block!important}
.xe-pv-wrap > summary{list-style:none;cursor:pointer}
.xe-pv-wrap > summary::-webkit-details-marker{display:none}
.xe-pv-sum{display:none!important}
.xe-pv-page{display:grid;gap:12px}
.xe-pv-page .xe-pv-img{aspect-ratio:16/10;border-radius:16px;grid-row:auto!important}
.xe-pv-page .xe-pv-t{font-size:24px;font-weight:600;line-height:1.2}
.xe-pv-d{margin:0;font-size:14px;line-height:1.6;color:var(--ink-2);white-space:pre-line}
.xe-pv-d:empty{display:none}
.xe-pv-page .xe-pv-links a{height:34px;padding:0 14px;background:var(--ink);color:var(--panel);border-color:var(--ink);font-weight:600}
.xe-pv-page .xe-pv-links a:hover{background:#FC31BB;border-color:#FC31BB}
.xe-pv-page small{font-size:12px;color:var(--g60)}
.xe-pv-page .xe-pv-more{border-top:0;padding-top:0}
@media (min-width:861px){ .xe-preview{max-height:calc(100vh - 220px);overflow-y:auto;scrollbar-width:thin;padding-right:4px} }
@media (max-width:860px){
  .xe-preview{position:static;order:-1;border:1px solid var(--line);border-radius:16px;padding:10px 12px;background:var(--panel)}
  .xe-pv-sum{display:flex!important;align-items:center;gap:12px}
  .xe-pv-thumb{flex:none;width:56px;height:40px;border-radius:8px;background:linear-gradient(135deg,rgba(45,225,253,.25),rgba(252,49,187,.25),rgba(255,122,0,.25)) center/cover no-repeat}
  .xe-pv-st{flex:1;min-width:0;display:flex;flex-direction:column}
  .xe-pv-st b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .xe-pv-tog{flex:none;width:9px;height:9px;border-right:2px solid #B3148A;border-bottom:2px solid #B3148A;transform:rotate(45deg);margin-right:6px;transition:transform .2s}
  .xe-pv-wrap[open] .xe-pv-tog{transform:rotate(-135deg)}
  .xe-pv-wrap[open] .xe-pv-page{margin-top:12px}
  .xe-pv-k2{display:none}
  .xe-pv-page .xe-pv-t{font-size:20px}
  /* The small icon beside the form's title: not on phones, the title gets the room. */
  .xe-card #hm-title .hm-mark{display:none}
.xe-card #hm-title{font-size:24px;line-height:1.2}
}
/* Experiences page: Add and Edit as tabs */
.xl-tabs{display:flex;gap:6px;padding:4px;margin:0 0 20px;border-radius:999px;background:var(--sunken);width:max-content;max-width:100%}
.xl-tab{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 22px;border-radius:999px;font-weight:600;font-size:15px;color:var(--ink-2);text-decoration:none}
.xl-tab[aria-selected="true"]{background:var(--ink);color:var(--panel)}
.xl-pane[hidden]{display:none}
.xl-addcard{position:relative;overflow:hidden;display:flex;gap:16px;align-items:flex-start;padding:28px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(135deg,rgba(45,225,253,.07),rgba(252,49,187,.07),rgba(255,122,0,.07)),var(--panel);max-width:900px}
.xl-addcard > div:last-child{position:relative;z-index:1;max-width:calc(100% - 220px)}
.xl-addcard b{display:block;font-size:20px;margin:6px 0}
.xl-addcard p{margin:0 0 18px;color:var(--ink-2);line-height:1.55}
@media (max-width:720px){
  .xl-addcard{padding:20px}
.xl-addcard .xe-art{display:none}
.xl-addcard > div:last-child{max-width:none} }

/* Edit experiences: the cards as the Experiences site shows them - no box, the picture rounded, the title,
   the short description, its industries and services, and a black pill; status sits on the picture. */
.xl-grid{gap:36px 28px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}
.xl-card{border:0;border-radius:0;background:none;overflow:visible;gap:0}
.xl-card:hover{box-shadow:none;transform:none}
.xl-pic{position:relative;aspect-ratio:4/3;border-radius:14px;overflow:hidden;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.xl-card:hover .xl-pic{transform:translateY(-3px);box-shadow:0 18px 40px -24px rgba(0,0,0,.45)}
.xl-pic .xl-st{position:absolute;left:12px;top:12px;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.xl-pic .xl-st.st-publish{background:rgba(255,255,255,.92)}
.xl-t{padding:16px 0 0;gap:8px}
.xl-h{margin:0;font-size:22px;line-height:1.2;font-weight:500;letter-spacing:-.01em}
.xl-d{margin:0;font-size:13.5px;line-height:1.5;color:var(--g60);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.xl-cats{display:flex;flex-wrap:wrap;gap:6px}
.xl-cats span{font-size:11.5px;padding:3px 10px;border-radius:999px;border:1px solid var(--line);color:var(--ink-2)}
.xl-acts{padding:14px 0 0;justify-content:flex-start;gap:16px}
.xl-more{display:inline-flex;align-items:center;height:40px;padding:0 22px;border-radius:999px;border:0;background:var(--ink);color:var(--panel);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.xl-more:hover{background:#FC31BB}
.xl-meta{display:block;margin-top:10px;font-size:12px;color:var(--muted)}
@media (max-width:600px){
  .xl-grid{grid-template-columns:1fr;gap:32px}
.xl-h{font-size:20px} }

/* Edit experiences cards, matched to the Experiences site's own card */
.xl-card{background:var(--panel);box-shadow:0 1px 0 rgba(0,0,0,.02)}
.xl-pic{aspect-ratio:6/5;border-radius:0;background-color:#1b1b1f}
.xl-card:hover .xl-pic{transform:none;box-shadow:none;filter:brightness(1.04)}
.xl-play{position:absolute;left:50%;top:50%;width:min(42%,170px);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:rgba(20,20,22,.55);color:#fff;display:grid;place-items:center;transition:transform .25s,background .25s}
.xl-play svg{width:46%;height:46%;margin-left:6%}
.xl-card:hover .xl-play{transform:translate(-50%,-50%) scale(1.05);background:rgba(20,20,22,.7)}
.xl-star{position:absolute;right:10px;top:6px;width:44px;height:44px;color:#fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.35))}
.xl-star svg{width:100%;height:100%}
.xl-pic .xl-st{left:12px;top:12px}
.xl-t{padding:22px 24px 4px;gap:10px}
.xl-ind{font-size:14.5px;color:#8C8C93;display:flex;flex-wrap:wrap;align-items:center;gap:4px 14px}
.xl-ind i{font-style:normal;color:#B8B8BE}
.xl-h{font-size:26px;font-weight:400;color:#2F2F33;letter-spacing:-.01em;line-height:1.2}
.xl-d{font-size:15px;line-height:1.45;color:#2F2F33;-webkit-line-clamp:4}
.xl-cats{gap:10px;margin-top:2px}
.xl-cats span{border:0;background:#EDEDEF;color:#4A4A50;font-size:14px;padding:7px 15px}
.xl-acts{padding:8px 0 0}
.xl-meta{margin:6px 0 18px}
@media (max-width:600px){
  .xl-t{padding:18px 20px 2px}
.xl-h{font-size:23px} }
.xl-grid{grid-template-columns:repeat(auto-fill,minmax(min(360px,100%),1fr))}

/* Email signature on phones: one column that fits the screen (it sized itself to its widest field and ran
   off the right), roomier taps, banners one per row, and the signature preview shrunk to fit */
@media (max-width:1000px){
  .sg-cols{grid-template-columns:minmax(0,1fr)}
.sg-form,.sg-side,.sg-card{min-width:0;max-width:100%} }
@media (max-width:720px){
  .sg-page{overflow-x:hidden}
.sg-card{padding:18px 16px;border-radius:14px}
.sg-f input,.sg-f textarea{font-size:16px;padding:12px 14px}
.sg-seg button{padding:11px 6px;font-size:14px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sg-hint{overflow-wrap:anywhere}
.sg-banners{grid-template-columns:1fr}
.sg-ban img{aspect-ratio:5/2}
.sg-drop{padding:14px 12px;overflow-wrap:anywhere}
.sg-stage{padding:14px 12px;overflow:hidden}
.sg-acts{position:sticky;bottom:0;z-index:5;margin:14px -16px 0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--panel);border-top:1px solid var(--line)}
.sg-acts .btn{flex:1 1 auto}
.sg-reset{margin-left:0}
}
/* Induction lists: each bullet beside the first line of its card, not the middle of the card */
.ind-sheet .lms-one .md ul li::before{top:calc(14px + .775em);margin-top:-5px}
/* Phones: the induction hides its logo, so its seasonal decoration (the pumpkin) goes with it */
@media (max-width:600px){
  .lms-top .logo-hatted{display:none} }

/* Kris Kringle banner: no dots, the present at the top, tidier on phones */
.kk-hero .kk-snow{display:none}
.kk-hero{align-items:flex-start}
.kk-hero .kk-count-down{align-self:center}
@media (max-width:600px){
  .kk-hero{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"ic ht" "cd cd";gap:12px 14px;padding:20px 18px}
.kk-hero .kk-ic{grid-area:ic;width:64px;height:64px;align-self:start}
.kk-hero .kk-ic .kk-gift-svg,.kk-hero .kk-ic .kk-gift-img{width:72px;height:72px;margin:-4px}
.kk-ht{grid-area:ht}
.kk-ht b{font-size:20px;line-height:1.2}
.kk-chips i{font-size:12px;padding:3px 9px}
.kk-hero .kk-count-down{grid-area:cd;justify-self:stretch;display:flex;align-items:baseline;justify-content:center;gap:8px;padding:10px 14px}
.kk-count-down b{font-size:26px}
.kk-count-down span{margin-top:0}
}
/* Who you've drawn: the pop-up */
.hm-card.kk-rv-card{max-width:440px;text-align:center;background:linear-gradient(160deg,#1b1330 0%,#4a1d5e 50%,#c1287f 100%);color:#fff;border:0}
.kk-rv-card .nr-x{color:#fff}
.kk-rv-k{display:block;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#FFB3E6;margin-top:4px}
.kk-rv h3{margin:6px 0 18px;font-size:24px;color:#fff}
.kk-rv-gift{display:grid;justify-items:center;gap:10px;width:100%;padding:8px 0 14px;border:0;background:none;color:#fff;font:inherit;font-weight:600;cursor:pointer}
.kk-rv-gift img,.kk-rv-gift svg{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 16px 24px rgba(0,0,0,.45));animation:kkGiftBob 3s ease-in-out infinite;transition:transform .35s,opacity .35s}
.kk-rv-gift.open img,.kk-rv-gift.open svg{transform:scale(1.25) rotate(-8deg);opacity:0}
.kk-rv-to{display:grid;justify-items:center;gap:4px;animation:so-in .5s ease both}
.kk-rv-face{display:block;width:130px;height:130px;margin-bottom:8px}
.kk-rv-face .kk-elf,.kk-rv-face .av{width:130px!important;height:130px!important;border-radius:50%;overflow:hidden;display:block;background:#fff;font-size:40px}
.kk-rv-face .kk-elf img{width:100%;height:100%;object-fit:cover}
.kk-rv-to small{font-size:13px;opacity:.85}
.kk-rv-to b{font-size:26px}
.kk-rv-to i{font-style:normal;opacity:.8;font-size:14px}
.kk-rv-likes{width:100%;margin-top:14px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.12);text-align:left}
.kk-rv-likes span{font-size:11px;letter-spacing:.1em;text-transform:uppercase;opacity:.8}
.kk-rv-likes p{margin:4px 0 0;font-size:14px;line-height:1.5}
.kk-rv-note{font-size:13px;opacity:.85;margin:12px 0 0}
.kk-rv-card .hm-acts .btn-primary{background:#fff;color:#1b1330}
.kk-rv-face{border-radius:50%;overflow:hidden;background:#fff;display:grid;place-items:center;box-shadow:0 14px 30px -14px rgba(0,0,0,.6)}
.kk-rv-face img{width:100%;height:100%;object-fit:cover}
.kk-rv-ini{font-size:44px;font-weight:700;color:#4a1d5e}
/* No dots anywhere on Kris Kringle */
:is(#kringle,.kk-preview) .kk-snow,.kk-mini .kk-snow{display:none}
/* Kris Kringle on phones: three faces, one row; "Show everyone" opens the rest (like the weather's week) */
@media (max-width:600px){
  .kk-team{grid-template-columns:repeat(3,minmax(0,1fr))}
.kk-who-in:not(.open) .kk-mem:nth-child(n+4){display:none}
.kk-who-in .kk-more{display:inline-flex}
.kk-who-in.open .kk-mem{animation:so-in .35s ease both}
}
@media (min-width:601px){
  .kk-who-in .kk-more{display:none} }
/* Arrange sections: the gap a dragged section will land in grows and shrinks smoothly */
.hb-ph{transition:height .3s cubic-bezier(.22,1,.36,1)}

/* Your Figma on phones: the first three folders, "Show all" for the rest */
@media (max-width:600px){
  #figma-card:not(.fg-all) .fg-links .fg-folder:nth-child(n+4){display:none}
#figma-card .fg-more{display:inline-flex;margin:0 20px 20px}
#figma-card .fg-more span{transition:transform .25s}
#figma-card .fg-more[aria-expanded="true"] span{transform:rotate(180deg)}
#figma-card .fg-links:has(+ .fg-more){padding-bottom:12px}
#figma-card.fg-all .fg-folder:nth-child(n+4){animation:so-in .35s ease both}
.fg-folder .fg-fprev{width:88px;height:60px}
}
@media (min-width:601px){
  #figma-card .fg-more{display:none} }

/* Briefs board: one tidy bar - the filters as a single row of chips (scrolling sideways on a phone), the
   actions on the right on a computer and as a full-width row on a phone; a friendlier empty state */
.br-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 16px;margin-bottom:16px}
.br-filters{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:2px;margin:-2px;-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 24px),transparent)}
.br-filters::-webkit-scrollbar{display:none}
.br-filters .fchip{flex:none;height:34px;padding:0 13px;font-size:13px}
.br-filters .fchip em{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:6px;border-radius:999px;background:var(--sunken);font-size:11px;opacity:1;color:var(--ink-2)}
.br-filters .fchip[aria-pressed="true"] em{background:rgba(255,255,255,.2);color:#fff}
.br-top-acts{justify-content:flex-end}
.br-empty{display:grid;place-items:center;gap:6px;padding:36px 20px;border-radius:16px;background:var(--sunken);border:0;color:var(--ink-2)}
@media (max-width:700px){
  .br-top{grid-template-columns:minmax(0,1fr)}
  .br-top-acts{display:grid;grid-template-columns:auto 1fr;gap:12px;width:100%}
  .br-top-acts .btn{justify-content:center;height:44px}
}
@media (max-width:1100px){
  .br-cols,.br-new-cols{grid-template-columns:minmax(0,1fr)}
.br-board,.br-dir{min-width:0;max-width:100%} }
@media (max-width:700px){
  .br-row{min-width:0;max-width:100%;box-sizing:border-box}
.br-acts{flex-wrap:wrap;min-width:0}
.br-assign{display:flex;width:100%;min-width:0}
.br-assign .br-mpick{flex:1;width:auto;min-width:0}
.br-assign .br-mp-pop{left:0;right:auto;width:min(300px,calc(100vw - 48px))}
}

/* Scores: the league slider as its own control - a soft track the leagues sit in, the chosen one raised in white -
   set apart from the scores under it */
.hb[data-block="scores"] .row-head{flex-wrap:wrap;gap:12px}
.sc-scroll{padding:5px;border-radius:999px;background:var(--sunken);border:1px solid var(--line);box-shadow:inset 0 1px 2px rgba(0,0,0,.05)}
.sc-scroll .sc-tabs{gap:4px}
.sc-scroll .sc-tabs .fchip{border:0;background:none;height:36px;padding:0 14px;color:var(--ink-2);font-weight:600}
.sc-scroll .sc-tabs .fchip:hover{background:rgba(255,255,255,.6);color:var(--ink)}
.sc-scroll .sc-tabs .fchip[aria-pressed="true"]{background:var(--panel)!important;color:var(--ink);border:0;box-shadow:0 2px 8px -2px rgba(27,19,48,.25),inset 0 -2px 0 #FC31BB}
.sc-scroll .sc-arrow{width:32px;height:32px}
/* Under a game: odds, goals, star players */
.sc-odds,.sc-goals,.sc-stars{grid-column:2;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin-top:8px;font-size:12.5px;color:var(--ink-2)}
.sc-odds{padding:6px 10px;border-radius:10px;background:var(--sunken);width:max-content;max-width:100%}
.sc-odds-k{font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#B3148A}
.sc-odds i{width:3px;height:3px;border-radius:50%;background:var(--muted)}
.sc-odds b{color:var(--ink)}
.sc-odds small{color:var(--muted);font-size:11px}
.sc-goals span{display:inline-flex;align-items:baseline;gap:4px}
.sc-goals span::before{content:"\26BD";font-size:11px}
.sc-goals small{font-size:10.5px;color:var(--muted)}
.sc-stars{gap:8px}
.sc-star{display:flex;align-items:center;gap:8px;padding:5px 10px 5px 5px;border-radius:999px;background:var(--sunken);min-width:0}
.sc-star-pic{flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;background:#fff;display:grid;place-items:center;border:1px solid var(--line)}
.sc-star-pic img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.sc-star-pic em{font-style:normal;font-size:11px;font-weight:700;color:var(--ink-2)}
.sc-star-t{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.sc-star-t small{font-size:10px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.sc-star-t b{font-size:12.5px;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sc-star-t span{font-size:11.5px;color:var(--ink-2)}
@media (max-width:600px){ .sc-odds,.sc-goals,.sc-stars{grid-column:1/-1} .sc-star{flex:1 1 100%} }
.sc-scroll .sc-tabs .fchip[aria-pressed="true"]{color:var(--ink)!important}
.sc-scroll .sc-tabs .fchip[aria-pressed="true"] .lg-logo{outline:0}

/* Edit experiences: a shorter picture, a smaller play button that plays the video in the lightbox, no star;
   the status sits with the meta under the card instead of on the picture */
.xl-card .xl-pic{display:block;aspect-ratio:16/9;cursor:default}
.xl-hit{position:absolute;inset:0;display:grid;place-items:center;width:100%;border:0;padding:0;background:none;color:var(--muted);cursor:pointer}
.xl-card .xl-play{z-index:1;width:56px;height:56px;border:0;padding:0;cursor:pointer;text-decoration:none}
.xl-card .xl-play svg{width:24px;height:24px;margin-left:3px}
.xl-card .xl-play:hover,.xl-card .xl-play:focus-visible{background:#FC31BB;transform:translate(-50%,-50%) scale(1.06)}
.xl-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.xl-meta .xl-st{position:static;box-shadow:none;font-size:10.5px}

/* Kris Kringle banner: no purple - the card's own white, ink text, soft pink chips and a sunken countdown */
:is(#kringle,.kk-preview) .kk-hero{background:none;color:var(--ink);padding-bottom:6px}
:is(#kringle,.kk-preview) .kk-hero .kk-ic .kk-gift-svg,:is(#kringle,.kk-preview) .kk-hero .kk-ic .kk-gift-img{filter:drop-shadow(0 10px 14px rgba(74,29,94,.22))}
:is(#kringle,.kk-preview) .kk-chips i{background:#FCEAF5;border-color:#F6CDE6;color:#8E0F66}
:is(#kringle,.kk-preview) .kk-count-down{background:var(--sunken,#f4f4f4);color:var(--ink)}
:is(#kringle,.kk-preview) .kk-count-down span{color:var(--grey-60);opacity:1}

/* Briefs: New brief and Copy blank brief in the section heading, so the board opens on its filters */
.hb > .row-head.br-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:nowrap}
.br-head .br-top-acts{display:inline-flex;align-items:center;gap:14px;flex:none;width:auto}
.br-head .br-top-acts .btn{display:inline-flex;align-items:center;gap:6px}
.br-top{grid-template-columns:minmax(0,1fr)}
@media (max-width:600px){
  .br-head .br-top-acts{display:inline-flex;width:auto;gap:12px}
.br-head .br-top-acts .linkish{font-size:13px}
.br-head .br-top-acts .btn{height:36px;padding:0 14px;font-size:13.5px}
}
@media (max-width:380px){
  .br-head #br-blank{display:none} }
:is(#kringle,.kk-preview) .kk-cover{background:linear-gradient(120deg,#FFF0F8 0%,#FCE1F1 100%);color:var(--ink);border:1px dashed #F2B5DA}
:is(#kringle,.kk-preview) .kk-cover small{color:#A9127A}

/* Game pop-up: faces on who scored and the top performers; the main stats as split bars */
.gm-pic{flex:none;display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;overflow:hidden;background:var(--sunken);box-shadow:0 0 0 2px #fff,0 0 0 3px #F6CDE6;font-size:11px;font-weight:700;color:var(--ink-2);align-self:center}
.gm-pic img{width:100%;height:100%;object-fit:cover;object-position:top}
.gm-plays li{align-items:center}
.gm-leaders > div.gm-ld{display:flex;align-items:center;gap:12px}
.gm-ld .gm-pic{width:44px;height:44px;font-size:13px;background:#fff}
.gm-ld-t{display:grid;gap:2px;min-width:0}
.gm-ld-t b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gm-stats{display:grid;gap:12px}
.gm-st-h{display:flex;justify-content:space-between;font-size:12px;letter-spacing:.06em;color:var(--grey-60)}
.gm-st{display:grid;grid-template-columns:56px 1fr 56px;align-items:center;row-gap:6px;font-size:13.5px}
.gm-st-l{text-align:center;color:var(--ink-2,#444)}
.gm-st-v{font-weight:600;font-variant-numeric:tabular-nums;color:var(--grey-60)}
.gm-st-v.gm-st-h2{text-align:right}
.gm-st-v.up{color:var(--ink)}
.gm-st-bar{grid-column:1 / -1;display:flex;gap:4px;height:6px}
.gm-st-bar i{display:block;height:100%;border-radius:999px;background:#E9E3EE;transition:width .5s ease}
.gm-st-bar i:first-child{background:linear-gradient(90deg,#2DE1FD,#A98BE6)}
.gm-st-bar i:last-child{background:linear-gradient(90deg,#FC31BB,#FF7A00)}

/* Events (Infosys & Cognizant) and the briefs filters: the Scores league slider - a sunken track, the chosen
   chip raised with a pink underline, arrows at the ends when there's more */
.hs-scroll{width:fit-content;max-width:100%;margin:10px 0 12px}
.hs-scroll .hs-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding:0;margin:0;min-width:0}
.hs-scroll .hs-tabs::-webkit-scrollbar{display:none}
.hs-scroll .hs-tabs .fchip{flex:none}
.hs-scroll:not(.fade-l):not(.fade-r) .hs-tabs{-webkit-mask-image:none;mask-image:none}
.ev-orgs.hs-tabs .fchip[aria-pressed="true"]{background:var(--panel)!important;color:var(--ink)!important;border:0}
.br-filters.hs-tabs .fchip em{background:rgba(0,0,0,.06)}
.br-filters.hs-tabs .fchip[aria-pressed="true"] em{background:#FCEAF5;color:#A9127A}
.br-top{margin-bottom:6px}
@media (max-width:600px){ .hs-scroll{width:100%} }

/* The induction tick beside Ask the studio hides while a menu is open (the phone menu, the More menu) */
body.mnav-open .cmp-fab,body:has(.nav-more[aria-expanded="true"]) .cmp-fab{opacity:0;pointer-events:none;visibility:hidden}

/* Clients → Active clients: a tile per client with active projects */
.ac{padding:18px}
.ac-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.ac-tile{display:flex;align-items:center;gap:14px;min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--ink);text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s;animation:so-in .4s ease both;animation-delay:calc(var(--i) * 30ms)}
.ac-tile:hover{border-color:#FC31BB;box-shadow:0 10px 24px -16px rgba(74,29,94,.4);transform:translateY(-2px)}
.ac-logo{flex:none;width:48px;height:48px;border-radius:12px;display:grid;place-items:center;background:#fff;box-shadow:0 0 0 1px var(--line);overflow:hidden}
.ac-logo img{width:78%;height:78%;object-fit:contain}
.ac-logo i{font-style:normal;font-weight:700;font-size:15px;color:#A9127A}
.ac-t{display:grid;gap:3px;min-width:0;flex:1}
.ac-t b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-t small{font-size:12px;color:#A9127A;font-weight:600}
.ac-p{display:flex;flex-direction:column;gap:1px;min-width:0}
.ac-p em{font-style:normal;font-size:12.5px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-go{flex:none;color:var(--grey-60);transition:transform .2s,color .2s}
.ac-tile:hover .ac-go{color:#FC31BB;transform:translateX(3px)}
.ac-more{display:none}
@media (max-width:600px){
  .ac{padding:14px}
  .ac-grid{grid-template-columns:1fr;gap:10px}
  #aclients:not(.ac-all) .ac-tile:nth-child(n+7){display:none}
#aclients .ac-more{display:inline-flex}
}
@media (min-width:601px){
  #aclients:not(.ac-all) .ac-tile:nth-child(n+13){display:none}
#aclients:has(.ac-tile:nth-child(13)) .ac-more{display:inline-flex}
}
.ac-more{margin-top:14px}
/* Add a project: the newest project on the site, by name */
.xe-latest{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-top:10px;font-size:13px;color:var(--ink-2)}
.xe-latest-k{font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:2px 8px;border-radius:999px;background:#FCEAF5;color:#A9127A}
.xe-latest a{color:var(--ink);font-weight:600;text-decoration:none;border-bottom:1.5px solid #FC31BB}
.xe-latest-d{color:var(--grey-60);font-size:12px}
/* Active clients: Show all as the hub's other Show all links, on every screen */
#aclients .ac-more{align-items:center;gap:6px;margin-top:14px;padding:0;border:0;background:none;color:#A9127A;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
#aclients .ac-more span{transition:transform .25s}
#aclients .ac-more[aria-expanded="true"] span{transform:rotate(180deg)}
#aclients.ac-all .ac-tile{animation:so-in .35s ease both}

/* Kris Kringle: bigger faces that fill the panel, each elf filling its circle (zoomed onto the face) */
:is(#kringle,.kk-preview) .kk-team{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:18px 10px}
:is(#kringle,.kk-preview) .kk-mem .kk-elf.kk-face,:is(#kringle,.kk-preview) .kk-mem .av.kk-face{width:76px;height:76px;font-size:20px}
:is(#kringle,.kk-preview) .kk-elf img{transform:scale(1.32);transform-origin:50% 46%;object-position:50% 38%}
:is(#kringle,.kk-preview) .kk-mem small{font-size:13.5px}
@media (max-width:600px){
  :is(#kringle,.kk-preview) .kk-team{grid-template-columns:repeat(3,minmax(0,1fr))}
:is(#kringle,.kk-preview) .kk-mem .kk-elf.kk-face,:is(#kringle,.kk-preview) .kk-mem .av.kk-face{width:80px;height:80px}
}
/* Kris Kringle: four to a row, everywhere */
:is(#kringle,.kk-preview) .kk-team{grid-template-columns:repeat(4,minmax(0,1fr))}
:is(#kringle,.kk-preview) .kk-mem .kk-elf.kk-face,:is(#kringle,.kk-preview) .kk-mem .av.kk-face{width:84px;height:84px}
@media (max-width:600px){
  :is(#kringle,.kk-preview) .kk-team{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 6px}
:is(#kringle,.kk-preview) .kk-mem .kk-elf.kk-face,:is(#kringle,.kk-preview) .kk-mem .av.kk-face{width:64px;height:64px;font-size:17px}
:is(#kringle,.kk-preview) .kk-mem small{font-size:12.5px}
.kk-who-in:not(.open) .kk-mem:nth-child(4){display:grid}
.kk-who-in:not(.open) .kk-mem:nth-child(n+5){display:none}
}

/* Experiences page: Cards / Table */
.xl-view{display:inline-flex;gap:2px;padding:4px;margin-left:auto;border-radius:999px;background:var(--sunken);border:1px solid var(--line)}
.xl-view button{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border:0;border-radius:999px;background:none;color:var(--ink-2);font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.xl-view button[aria-pressed="true"]{background:var(--panel);color:var(--ink);box-shadow:0 2px 8px -2px rgba(27,19,48,.25),inset 0 -2px 0 #FC31BB}
.xl-tbl-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.xl-tbl{width:100%;border-collapse:collapse;font-size:14px}
.xl-tbl th{position:sticky;top:0;text-align:left;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60);padding:12px 14px;background:var(--sunken);border-bottom:1px solid var(--line)}
.xl-tbl td{padding:10px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
.xl-tbl tbody tr:nth-child(even){background:rgba(0,0,0,.015)}
.xl-tbl tbody tr:hover{background:#FFF5FB}
.xl-tbl tr:last-child td{border-bottom:0}
.xl-c-pic{width:84px}
.xl-tpic{display:grid;place-items:center;width:72px;height:46px;border:0;border-radius:8px;background:var(--sunken) center/cover no-repeat;color:var(--grey-60);cursor:pointer;box-shadow:0 0 0 1px var(--line)}
.xl-tt{display:block;padding:0;border:0;background:none;font:inherit;font-weight:600;color:var(--ink);text-align:left;cursor:pointer}
.xl-tt:hover{color:#A9127A}
.xl-tbl td small{display:block;margin-top:2px;font-size:12px;color:var(--grey-60)}
.xl-c-svc span{display:inline-block;margin:2px 4px 2px 0;font-size:11.5px;padding:2px 8px;border-radius:999px;border:1px solid var(--line);color:var(--ink-2)}
.xl-c-when{white-space:nowrap;color:var(--grey-60);font-size:13px}
.xl-tbl .xl-st{position:static;box-shadow:none;white-space:nowrap}
.xl-c-act{white-space:nowrap;text-align:right}
.xl-ta{display:inline-grid;place-items:center;width:34px;height:34px;margin-left:6px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--ink);text-decoration:none;cursor:pointer;vertical-align:middle}
.xl-ta:hover{border-color:#FC31BB;color:#A9127A}
.xl-tbl .xl-more.xl-ta-ed{height:34px;padding:0 16px;font-size:13px;vertical-align:middle}
@media (max-width:720px){
  .xl-view{margin-left:0}
  .xl-tbl th:nth-child(4),.xl-tbl td:nth-child(4),.xl-tbl th:nth-child(6),.xl-tbl td:nth-child(6){display:none}
}
/* Home: Open Experiences on the Experiences heading */
.hb-group-acts{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;flex:none}
.hb-group-go,.hb-group-act{display:inline-flex;align-items:center;gap:6px;flex:none}
.hb-group:has(.hb-group-go){display:flex;align-items:center}
@media (max-width:600px){ .hb-group-go,.hb-group-act{height:34px;padding:0 12px;font-size:12.5px} .hb-group:has(.hb-group-acts){flex-wrap:wrap} .hb-group-acts{margin-left:0;justify-content:flex-start;width:100%} }
/* Your Figma folders: a coloured folder icon (as Resources), no picture */
.fg-folder .tile.fg-tile{width:52px;height:52px;border-radius:14px}
.tile.lilac{background:#E7DDFF;color:#3E1F86}
.tile.mint{background:#CFF5E3;color:#0D5236}
@media (max-width:600px){
  .fg-folder .tile.fg-tile{width:46px;height:46px} }
/* The diagonal brand gradient (top-left aqua to bottom-right orange) on the events' On now / next date and the
   useful links' icons, as on the inspiration icons */
.ev-row.next .ev-count,.ph-row.next .ph-date,.in-cat-ic{background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 28%,#FC31BB 62%,#FF7A00 100%)!important}
.fg-folder .tile.fg-tile{display:grid!important;place-items:center;padding:0}
.fg-folder .tile.fg-tile svg{margin:0;display:block}
/* Experiences page: the search on its own row; under it the status filters (left) and Cards / Table (right) */
.xl-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 16px}
.xl-bar .xl-search{grid-column:1 / -1}
.xl-bar .hs-scroll{margin:0;justify-self:start}
.xl-bar .xl-view{margin-left:0;justify-self:end}
#xl-st .fchip{border:0;background:none;height:36px;padding:0 16px;font-weight:600;color:var(--ink-2)}
#xl-st .fchip[aria-pressed="true"]{background:var(--panel)!important;color:var(--ink)!important;box-shadow:0 2px 8px -2px rgba(27,19,48,.25),inset 0 -2px 0 #FC31BB}
@media (max-width:600px){
  .xl-bar{grid-template-columns:minmax(0,1fr)}
.xl-bar .hs-scroll{width:100%}
.xl-bar .xl-view{justify-self:start}
}

/* Weather: today's details as tiles and the next twelve hours, above the week - so the card is full */
.wx{display:flex;flex-direction:column;height:100%;box-sizing:border-box}
.wx-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 16px}
.wx-tile{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:12px 14px;border-radius:14px;background:var(--sunken);animation:so-in .4s ease both;animation-delay:calc(var(--i) * 40ms)}
.wx-ti{grid-row:span 2;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 28%,#FC31BB 62%,#FF7A00 100%)}
.wx-tile small{font-size:11.5px;color:var(--grey-60);letter-spacing:.02em}
.wx-tile b{font-size:17px;line-height:1.15}
.wx-tile em{grid-column:2;font-style:normal;font-size:11.5px;color:#A9127A;font-weight:600}
.wx-lab{font-size:11.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--grey-60);margin:0 0 8px}
.wx-hours-wrap{margin-bottom:16px}
.wx-hours{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(54px,1fr);gap:6px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.wx-hours::-webkit-scrollbar{display:none}
.wx-hr{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 4px;border-radius:14px;border:1px solid var(--line);background:var(--panel);animation:so-in .4s ease both;animation-delay:calc(var(--i) * 30ms)}
.wx-hr:first-child{background:#FFF5FB;border-color:#F6CDE6}
.wx-hr small{font-size:11.5px;color:var(--grey-60);white-space:nowrap}
.wx-hr .wx-ic{width:28px;height:28px;display:block}
.wx-hr .wx-ic svg{width:100%;height:100%}
.wx-hr b{font-size:14.5px}
.wx-hr em{font-style:normal;font-size:11px;font-weight:600;color:#1C7FA6;min-height:13px}
.wx-lab-week{margin-top:2px}
.wx .wx-src{margin-top:auto;padding-top:12px}
@media (max-width:720px){
  .wx .wx-tiles,.wx .wx-hours-wrap,.wx .wx-lab-week{display:none}
.wx.wx-open .wx-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:12px}
.wx.wx-open .wx-hours-wrap,.wx.wx-open .wx-lab-week{display:block}
}
.pc-code{font-family:inherit;font-size:12px;letter-spacing:0}

/* Admin editors as a table: a row per item, one editor open at a time under its row */
.et{margin-bottom:18px}
.et-bar{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.et-q{display:flex;align-items:center;gap:8px;flex:1;max-width:420px;height:40px;padding:0 12px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--grey-60)}
.et-q input{flex:1;min-width:0;border:0;outline:0;background:none;font:inherit;color:var(--ink)}
.et-q:focus-within{border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.12)}
.et-n{margin-left:auto;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:var(--sunken);color:var(--ink-2)}
.et-add{display:inline-flex;align-items:center;gap:6px}
.et-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.et-tbl{width:100%;border-collapse:collapse;font-size:14px}
.et-tbl th{text-align:left;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60);padding:11px 14px;background:var(--sunken);border-bottom:1px solid var(--line)}
.et-row td{padding:11px 14px;border-bottom:1px solid var(--line);color:var(--ink-2);cursor:pointer;max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.et-row td.et-main{color:var(--ink);font-weight:600}
.et-row:nth-child(4n+1){background:rgba(0,0,0,.012)}
.et-row:hover{background:#FFF5FB}
.et-row:focus-visible{outline:2px solid #FC31BB;outline-offset:-2px}
.et-row.on{background:#FCEAF5}
.et-row.on td.et-main{color:#A9127A}
.et-row.off td{opacity:.55}
.et-go{width:36px;text-align:right;color:var(--grey-60)}
.et-row.on .et-go{color:#A9127A}
.et-st{width:90px}
.et-hid{font-size:11px;font-weight:700;padding:2px 8px;border-radius:999px;background:var(--sunken);color:var(--ink-2)}
.et-nil{color:var(--line-2,#c7c7cf)}
.et-edit > td{padding:6px 10px 14px;background:#FFF9FD;border-bottom:1px solid var(--line)}
.et-edit .edit-card{margin:0;box-shadow:none;animation:so-in .3s ease both}
.edit-card.et-new{margin-top:6px}
@media (max-width:720px){ .et-row td:not(.et-main):not(.et-go){display:none} .et-tbl th:not(:first-child):not(.et-go){display:none} }
/* Org chart: faces in the table, and a preview beside the Photo field */
.et-tbl .et-pic{width:52px;padding-right:0}
.et-row td.et-pic{overflow:visible}
.av.et-av{width:34px;height:34px;font-size:12px;color:#fff;position:relative;display:inline-grid;place-items:center;border-radius:50%;box-shadow:0 0 0 2px #fff,0 0 0 3px #F6CDE6}
.photo-field{display:flex;align-items:center;gap:12px}
.photo-field input{flex:1;min-width:0}
.av.pf-av{width:52px;height:52px;font-size:16px;color:#fff;position:relative;display:inline-grid;place-items:center;border-radius:50%;flex:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #F6CDE6}
@media (max-width:720px){ .et-row td.et-pic{display:table-cell!important} .et-tbl th.et-pic{display:table-cell!important} }

/* Administration: the sub-tabs in four labelled groups, an icon each; the open one tinted with the gradient bar */
.subtabs.st-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;flex-wrap:nowrap;overflow:visible;border:0;padding:0;margin:8px 0 28px}
.st-group{display:flex;flex-direction:column;gap:2px;padding:12px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.st-lab{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-60);padding:2px 8px 8px}
.st-groups a[data-sub]{position:relative;display:flex;align-items:center;gap:10px;height:auto;padding:8px 10px;border:0;border-radius:10px;background:none;color:var(--ink-2);font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s}
.st-groups a[data-sub]:hover{background:var(--sunken);color:var(--ink)}
.st-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--sunken);color:var(--ink-2);flex:none;transition:background .2s,color .2s}
.st-groups a[data-sub][aria-selected="true"]{background:#FCEAF5;color:var(--ink);font-weight:700}
.st-groups a[data-sub][aria-selected="true"]::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:3px;background:linear-gradient(180deg,#2DE1FD,#FC31BB 60%,#FF7A00)}
.st-groups a[data-sub][aria-selected="true"] .st-ic{color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 28%,#FC31BB 62%,#FF7A00 100%)}
@media (max-width:900px){ .subtabs.st-groups{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:420px){ .st-groups a[data-sub]{font-size:13px;gap:8px;padding:7px 6px} .st-ic{width:26px;height:26px} }

/* Home: more room between the groups (Experiences, Clients, Work…) */
#hblocks .hb-group{margin-top:64px}
#hblocks > .hb-group:first-child,#hblocks .hb-group:first-of-type{margin-top:8px}
@media (max-width:600px){ #hblocks .hb-group{margin-top:48px} }

/* Sliders (events, briefs, Experiences statuses): edge to edge, the chips see-through on the grey track - only
   the active one is white */
.hs-scroll{width:100%;max-width:100%;box-sizing:border-box}
.hs-scroll .hs-tabs{flex:1}
.hs-scroll .hs-tabs .fchip{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--ink-2)!important;font-weight:600}
.hs-scroll .hs-tabs .fchip:hover{background:rgba(255,255,255,.55)!important;color:var(--ink)!important}
.hs-scroll .hs-tabs .fchip[aria-pressed="true"]{background:var(--panel)!important;color:var(--ink)!important;box-shadow:0 2px 8px -2px rgba(27,19,48,.25),inset 0 -2px 0 #FC31BB!important}
.xl-bar .hs-scroll{justify-self:stretch}

/* Administration groups: no pill outlines; the open tab tinted, not black */
.st-groups a[data-sub],.st-groups a[data-sub]:hover{border:0!important;border-radius:10px!important;box-shadow:none!important}
.st-groups a[data-sub]:not([aria-selected="true"]){background:none!important;color:var(--ink-2)!important}
.st-groups a[data-sub]:not([aria-selected="true"]):hover{background:var(--sunken)!important;color:var(--ink)!important}
.st-groups a[data-sub][aria-selected="true"]{background:#FCEAF5!important;color:var(--ink)!important;font-weight:700}
@media (max-width:600px){
  .subtabs.st-groups{grid-template-columns:minmax(0,1fr)}
  .st-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 4px}
  .st-lab{grid-column:1 / -1}
  .st-groups a[data-sub]{white-space:normal;line-height:1.2}
}

/* Kris Kringle (admins): an elf that didn't work, on the card */
.kk-elffail{display:flex;gap:8px;align-items:flex-start;margin:0;padding:10px 12px;border-radius:12px;background:#FFF4E5;color:#7A4100;font-size:13px}
.kk-elffail .lu{flex:none;margin-top:2px}

/* The brief's PDF: the same table as on screen - colours printed exactly (the purple header, the brand bar, the
   shaded labels), the print page's own table rules kept to its Progress table */
@media print{
  #br-print,#br-print *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
#br-print table:not(.brp-prog){margin-bottom:0}
#br-print .brp-rapid table{width:100%;border-collapse:collapse;margin:0}
#br-print .brp-rapid > div > table:last-of-type{margin-bottom:6px}
#br-print .brp-rapid th,#br-print .brp-rapid td{width:auto;border-bottom:inherit}
#br-print .brp-rapid{margin-bottom:22px;page-break-inside:auto}
#br-print .brp-rapid tr{page-break-inside:avoid}
#br-print table.brp-prog{margin-top:6px}
}
@media print{
  #br-print .brp-rapid{overflow:hidden}
#br-print .brp-rapid table{width:100%!important;table-layout:fixed;box-sizing:border-box}
#br-print .brp-rapid td{border-color:#E0E0E0!important;word-wrap:break-word}
}

/* Briefs board rows: the facts that matter (due, PM, creative director, budget, client SPOC, job) as tiles, and
   the tracker edge to edge underneath - Actioned at the far right */
.br-row{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"main" "facts" "track" "acts"!important;gap:14px!important;align-items:start}
.br-row .br-facts{grid-area:facts}
.br-facts{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.br-fact{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-items:center;padding:9px 12px;border-radius:12px;background:var(--sunken)}
.br-fact i{grid-row:span 2;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--panel);color:#A9127A;font-style:normal}
.br-fact small{font-size:11px;color:var(--grey-60);letter-spacing:.02em}
.br-fact b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.br-fact.late{background:#FFF1DC} .br-fact.late i{color:#8A5300}
.br-row .br-track{width:100%}
.br-row .br-track li:last-child{flex:0 0 auto;align-items:flex-end;text-align:right;padding-right:0}
.br-row .br-track li:last-child span{align-items:flex-end}
.br-row .br-track li::before{right:0}
@media print{
  #br-print .brp-rapid{padding-right:1px} }

/* Company projects: every card laid out the same - top line, name (two lines), Due / Time left / Budget, the
   budget bar, the team and the source along the foot - so they line up across the grid */
.co-pcard{display:flex!important;flex-direction:column;gap:10px;min-height:248px;cursor:pointer;text-align:left;transition:border-color .2s,box-shadow .2s,transform .2s}
.co-pcard:hover,.co-pcard:focus-visible{border-color:#FC31BB;box-shadow:0 12px 26px -18px rgba(74,29,94,.45);transform:translateY(-2px);outline:0}
.co-pc-top{min-height:24px}
.co-pcard .co-pname{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;line-height:1.3}
.co-pstats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.co-pst{display:flex;flex-direction:column;gap:1px;min-width:0;padding:8px 10px;border-radius:10px;background:var(--sunken)}
.co-pst small{font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--grey-60)}
.co-pst b{font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-pst em{font-style:normal;font-size:11.5px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-pst.late{background:#FFF1E6}
.co-pst.late b,.co-pst.late em{color:#B4440A}
.co-pst.b-ok b{color:#1F7A3D}
.co-pst.b-near b{color:#8A5300}
.co-pst.b-over b{color:#B4232A}
.co-pbar{grid-column:1 / -1;height:6px;border-radius:999px;background:var(--line);overflow:hidden}
.co-pbar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00);transition:width .6s ease}
.co-pbar.b-near i{background:linear-gradient(90deg,#FFB547,#FF7A00)}
.co-pbar.b-over i{background:linear-gradient(90deg,#FF7A00,#E0245E)}
.co-nil{color:var(--line-2,#c7c7cf)}
.co-dots{font-style:normal;color:var(--grey-60);animation:pulse 1.2s ease-in-out infinite}
.co-pc-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px}
.co-src{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:#A9127A}
.co-pcard .co-open{display:none}
.co-bstat{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font-size:11.5px;font-weight:700;white-space:nowrap}
.co-bstat.ok{background:#E7F6EC;color:#1F7A3D}
.co-bstat.near{background:#FFF1DC;color:#8A5300}
.co-bstat.over{background:#FDE7EA;color:#B4232A}
/* Cards / Table */
.co-pv-bar{display:flex;justify-content:flex-end;margin:0 0 12px}
.co-ptbl-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.co-ptbl{width:100%;border-collapse:collapse;font-size:14px}
.co-ptbl th{text-align:left;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60);padding:11px 14px;background:var(--sunken);border-bottom:1px solid var(--line)}
.co-ptbl td{padding:10px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
.co-ptbl td b{display:block;font-weight:600;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-pt-code{display:flex;gap:6px;margin-bottom:4px}
.co-ptbl .nw{white-space:nowrap}
.co-ptbl td.late{color:#B4440A;font-weight:600}
.co-prow{cursor:pointer}
.co-prow:hover{background:#FFF5FB}
.co-prow:focus-visible{outline:2px solid #FC31BB;outline-offset:-2px}
@media (max-width:720px){
  .co-ptbl th:nth-child(2),.co-ptbl td:nth-child(2),.co-ptbl th:nth-child(6),.co-ptbl td:nth-child(6){display:none} }
/* The project pop-up */
.hm-card.cpm-card{width:min(720px,100%)}
.cpm-top{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--grey-60)}
.cpm-title{font-size:22px;line-height:1.25;margin:10px 48px 10px 0}
.cpm-chips{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:14px}
.cpm-bar{height:8px;border-radius:999px;background:var(--line);overflow:hidden;margin-bottom:16px}
.cpm-bar i{display:block;height:100%;background:linear-gradient(90deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00)}
.cpm-bar.b-near i{background:linear-gradient(90deg,#FFB547,#FF7A00)}
.cpm-bar.b-over i{background:linear-gradient(90deg,#FF7A00,#E0245E)}
.cpm-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:6px}
.cpm-f{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:10px;align-items:center;padding:12px;border-radius:14px;background:var(--sunken)}
.cpm-ic{grid-row:span 3;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 28%,#FC31BB 62%,#FF7A00 100%)}
.cpm-f small{font-size:11px;color:var(--grey-60);letter-spacing:.04em;text-transform:uppercase}
.cpm-f b{font-size:15.5px}
.cpm-f em{font-style:normal;font-size:12px;color:var(--grey-60)}
.cpm-f.late b,.cpm-f.late em{color:#B4440A}
.cpm-f.b-ok b{color:#1F7A3D}
.cpm-f.b-near b{color:#8A5300}
.cpm-f.b-over b{color:#B4232A}
.cpm-sec{margin-top:16px}
.cpm-sec p{margin:4px 0 0;color:var(--ink-2);line-height:1.5}
.cpm-team{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.cpm-team > span{display:inline-flex;align-items:center;gap:8px;padding:4px 12px 4px 4px;border-radius:999px;background:var(--sunken);font-size:13px}
.cpm-inv{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.cpm-inv span{display:inline-flex;gap:8px;align-items:center;padding:6px 10px;border-radius:10px;border:1px solid var(--line);font-size:13px}
.cpm-inv em{font-style:normal;color:var(--grey-60);font-size:12px;text-transform:capitalize}
@media (max-width:600px){
  .cpm-facts{grid-template-columns:repeat(2,minmax(0,1fr))} }
.co-pcard .co-pc-top{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;overflow:hidden;white-space:nowrap}
.co-pcard .co-pc-top .co-lead{min-width:0;overflow:hidden;text-overflow:ellipsis}
.co-pst{padding:8px 9px}
.co-pst b{font-size:14px}
/* New brief: the form on its own (Past briefs stays on the board) */
.br-new .br-new-cols{grid-template-columns:minmax(0,1fr)}
.hm-card.rf-card.br-new{width:min(900px,100%)}
/* Brief trackers: each line runs all the way to the next step's circle */
.br-track li::before{left:10px!important;right:-10px!important;top:9px}
.br-track li i{position:relative;z-index:1}
.br-row .br-track li:nth-last-child(2)::before{right:-10px!important}
.br-row .br-track li:last-child{flex:0 0 110px}
.br-row .br-track li:nth-last-child(2)::before{right:-100px!important}
/* Website of the Day: its own words under the write-up */
.in-own{font-size:13.5px;color:var(--ink-2);line-height:1.5}
.in-own span{display:block;font-size:10.5px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#A9127A;margin-bottom:2px}
/* AI news fills its column */
.in-ai .cn-row b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* The person picker sits over what follows it (the next sections were drawn on top) */
.hb:has(.br-mpick.open),.br-row:has(.br-mpick.open),.br-trow:has(.br-mpick.open),.br-tbl-wrap:has(.br-mpick.open){position:relative;z-index:80}
.br-tbl-wrap:has(.br-mpick.open){overflow:visible}

/* Briefs as a table */
.br-tbl-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--panel)}
.br-tbl{width:100%;border-collapse:collapse;font-size:14px}
.br-tbl th{text-align:left;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60);padding:11px 14px;background:var(--sunken);border-bottom:1px solid var(--line);white-space:nowrap}
.br-tbl td{padding:12px 14px;border-bottom:1px solid var(--line);vertical-align:middle}
.br-tbl tr:last-child td{border-bottom:0}
.br-trow{cursor:pointer;transition:background .15s}
.br-trow:hover{background:#FFF5FB}
.br-trow.late{box-shadow:inset 3px 0 0 #FF7A00}
.br-tline{display:flex;align-items:center;gap:10px;min-width:0}
.br-tt{display:flex;flex-direction:column;min-width:0}
.br-tt .br-title{padding:0;border:0;background:none;text-align:left;font:inherit;cursor:pointer;color:var(--ink)}
.br-tt .br-title b{display:block;max-width:340px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.br-tt small{font-size:12px;color:var(--grey-60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:340px}
.br-tbl .nw{white-space:nowrap} .br-tbl td > b.late{color:#B4440A}
.br-tbl td > small{display:block}
.br-nil{color:var(--grey-60);font-size:13px}
.br-tp{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
.br-tfaces{display:inline-flex;align-items:center}
.br-tfaces .br-tface + .br-tface{margin-left:-6px}
.br-tface .av{box-shadow:0 0 0 2px #fff}
.br-tfaces em{font-style:normal;font-size:12px;color:var(--grey-60);margin-left:6px}
.br-tst{display:inline-flex;flex-direction:column;gap:5px;min-width:96px}
.br-tst b{font-size:12.5px}
.br-tst.st-submitted b{color:#8A5300}
.br-tst.st-assigned b{color:#A9127A}
.br-tst.st-actioned b{color:#1F7A3D}
.br-tbar{display:flex;gap:3px}
.br-tbar u{flex:1;height:5px;border-radius:999px;background:var(--line);text-decoration:none}
.br-tbar u.on{background:linear-gradient(90deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00)}
.br-tst.st-actioned .br-tbar u.on{background:#2FB36B}
.br-tact{text-align:right;white-space:nowrap}
.br-tact .br-assign{display:inline-flex;gap:6px;align-items:center}
.br-tact .br-assign .br-mpick{width:190px}
.br-tact .br-assign .br-mp-btn{height:36px}
.br-tact .btn{height:36px}
.br-done.sm{font-size:12.5px}
.br-seeall{display:inline-flex!important;align-items:center;gap:6px;margin:14px 0 0;padding:0;border:0;background:none;color:#A9127A;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.hm-card.br-all-card{width:min(1180px,100%)}
.br-all-card h3 .br-n{font-size:13px;font-weight:700;padding:2px 9px;border-radius:999px;background:var(--sunken);vertical-align:middle}
@media (max-width:900px){
  .br-tbl th:nth-child(3),.br-tbl td:nth-child(3),.br-tbl th:nth-child(4),.br-tbl td:nth-child(4){display:none}
}
@media (max-width:600px){
  .br-tbl th:nth-child(2),.br-tbl td:nth-child(2){display:none}
  .br-tact .br-assign .br-mpick{width:140px}
}
.br-tact{display:table-cell} .br-tact .btn{display:inline-flex;align-items:center;gap:6px;margin-left:6px;padding:0 14px;height:34px}
.br-tbl td > small.br-lateflag{display:inline-block;margin-top:3px;padding:1px 8px;border-radius:999px;font-size:11.5px}
.br-tt .br-title b,.br-tt small{max-width:230px}
.br-tbl td{padding:11px 10px}
.br-tbl th{padding:11px 10px}
.br-tbl td > small.br-lateflag{display:table;margin-top:4px}
.br-tbl td.nw{white-space:normal;min-width:96px}
.br-tst{min-width:84px}

/* Briefs: the latest as a card, the rest as an accordion */
.br-sec-lab{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--grey-60);margin:4px 0 10px}
.br-sec-lab em{font-style:normal;letter-spacing:0;padding:1px 8px;border-radius:999px;background:var(--sunken);color:var(--ink-2)}
.br-latest{margin-bottom:22px}
.br-row.br-feat{position:relative;padding:22px 24px;border:1px solid transparent;border-radius:18px;background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(135deg,#2DE1FD,#A98BE6 30%,#FC31BB 62%,#FF7A00) border-box;box-shadow:0 18px 40px -28px rgba(74,29,94,.45)}
.br-row.br-feat .br-title b{font-size:19px}
.br-acc-list{display:flex;flex-direction:column;gap:8px}
.br-acc{border:1px solid var(--line);border-radius:14px;background:var(--panel);overflow:hidden;transition:border-color .2s,box-shadow .2s}
.br-acc[open]{border-color:#F6CDE6;box-shadow:0 12px 28px -22px rgba(74,29,94,.45)}
.br-acc.late{box-shadow:inset 3px 0 0 #FF7A00}
.br-acc > summary{display:grid;grid-template-columns:minmax(0,1fr) 150px 96px 110px 20px;align-items:center;gap:14px;padding:12px 16px;cursor:pointer;list-style:none}
.br-acc > summary::-webkit-details-marker{display:none}
.br-acc > summary:hover{background:#FFF8FC}
.br-acc .br-tt b{font-size:14.5px}
.br-nologo{width:30px;height:30px;border-radius:8px;background:var(--sunken);flex:none}
.br-acc-due{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--ink-2);white-space:nowrap}
.br-acc-due.late{color:#B4440A;font-weight:600}
.br-acc-chev{color:var(--grey-60);transition:transform .25s;display:grid;place-items:center}
.br-acc[open] .br-acc-chev{transform:rotate(90deg);color:#A9127A}
.br-acc-body{padding:0 12px 12px;animation:so-in .3s ease both}
.br-acc-body .br-row{border:0;padding:12px 6px 4px;background:none}
.br-acc-body .br-row .br-main{display:none}
@media (max-width:760px){
  .br-acc > summary{grid-template-columns:minmax(0,1fr) auto 20px}
.br-acc > summary .br-acc-due,.br-acc > summary .br-tfaces{display:none}
}

/* The opened brief: wider, the tracker edge to edge, its history as tiles */
.hm-card.br-card{width:min(1100px,100%)!important}
.br-card .br-track{width:100%}
.br-card .br-track li:last-child{flex:0 0 110px;align-items:flex-end;text-align:right;padding-right:0}
.br-card .br-track li:last-child span{align-items:flex-end}
.br-card .br-track li:nth-last-child(2)::before{right:-100px!important}
.br-hist{margin:18px 0 6px}
.br-hist-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}
.br-h{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:12px;align-items:center;padding:12px 14px;border-radius:14px;background:var(--sunken)}
.br-h-ic{grid-row:span 3;display:grid;place-items:center;width:36px;height:36px;border-radius:11px;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 28%,#FC31BB 62%,#FF7A00 100%)}
.br-h small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--grey-60)}
.br-h b{font-size:15px}
.br-h em{font-style:normal;font-size:12.5px;color:var(--ink-2);line-height:1.4}
.br-h.done .br-h-ic{background:linear-gradient(135deg,#2FB36B,#1F7A3D)}
.br-h.off{background:none;border:1px dashed var(--line)}
.br-h.off .br-h-ic{background:var(--sunken);color:var(--grey-60)}
.br-h.off b{color:var(--grey-60);font-weight:500}
.br-card .hm-acts{flex-wrap:wrap;gap:10px;padding-top:16px;border-top:1px solid var(--line)}
/* Sliders: the row of chips has no background of its own (a white strip showed inside the grey track) */
.hs-scroll .hs-tabs,.hs-scroll .ev-orgs,.hs-scroll .br-filters{background:transparent!important;border:0!important;box-shadow:none!important}

/* A brief's facts as a table (as the Rapid Briefing Table): shaded labels, two to a row */
.br-facts{display:block!important}
.br-ftbl{width:100%;border-collapse:collapse;font-size:14px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.br-ftbl th{width:16%;text-align:left;vertical-align:middle;padding:10px 12px;background:#F5F4F8;color:var(--grey-60);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border:1px solid var(--line);white-space:nowrap}
.br-ftbl th .lu{vertical-align:-3px;margin-right:6px;color:#A9127A}
.br-ftbl td{width:34%;padding:10px 12px;border:1px solid var(--line);font-weight:600;color:var(--ink);background:var(--panel)}
.br-ftbl td.late{color:#B4440A}
.br-ftbl .br-ft-nil{background:var(--panel)}
@media (max-width:700px){
  .br-ftbl,.br-ftbl tbody,.br-ftbl tr{display:block}
.br-ftbl tr{display:grid;grid-template-columns:40% 60%}
.br-ftbl th,.br-ftbl td{width:auto}
.br-ftbl .br-ft-nil{display:none}
}
/* Kris Kringle → Manage the elves: redo one, with the one thing to change. */
.kkm-redo{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin:10px 0 12px;padding:12px;border-radius:14px;background:var(--surface-2,#f4f3f7)}
.kkm-redo label{display:flex;flex-direction:column;gap:4px;min-width:180px}
.kkm-redo label.grow{flex:1 1 240px}
.kkm-redo label span{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;opacity:.7}
.kkm-redo input{height:46px;border-radius:12px}
/* The score pop-up: wider, so the scorers, stats and leaders have room. */
.hm-card.gm-card{width:min(1080px,100%)!important;max-width:min(1080px,calc(100vw - 32px))!important}
/* Every modal's close button sits inside its card, top right, and stays there while the card scrolls. */
.hm-card{position:relative}
.hm-card > .nr-x,.hm-card > div > .nr-x:first-child{position:sticky!important;top:0!important;right:auto!important;left:auto!important;float:right;align-self:flex-end;margin:-8px -8px -32px 12px!important;z-index:6;flex:none}
@media (max-width:600px){ .hm-card.rf-card > .nr-x{position:sticky!important;top:0!important} }
/* Home → Briefs: its heading is a panel of its own - a brief being written, then ticked off - and the three steps. */
#tab-home .hb-group.hb-intro{align-items:center;gap:22px;padding:22px 26px;margin-bottom:-20px;border-radius:22px;border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(45,225,253,.10) 0%,rgba(169,139,230,.10) 35%,rgba(252,49,187,.08) 70%,rgba(255,122,0,.10) 100%),var(--panel)}
.hb-intro::after{display:none}
.hb-intro .hb-group-t{font-size:22px;font-weight:700}
.hb-intro .hb-group-s{max-width:760px;font-size:14px;line-height:1.5}
.bri-ic{flex:none;width:84px;height:84px;border-radius:24px;display:grid;place-items:center;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 16px 30px -16px rgba(252,49,187,.8);animation:bri-float 4s ease-in-out infinite}
.bri-svg{overflow:visible}
.bri-l{stroke-dasharray:20;stroke-dashoffset:20;animation:bri-write 4s ease-in-out infinite}
.bri-l2{animation-delay:.35s}.bri-l3{animation-delay:.7s}
.bri-pen{animation:bri-pen 4s ease-in-out infinite;transform-origin:48px 30px}
.bri-ok{transform-origin:44px 46px;transform:scale(0);animation:bri-ok 4s cubic-bezier(.2,1.6,.4,1) infinite}
@keyframes bri-write{0%,8%{stroke-dashoffset:20}30%,85%{stroke-dashoffset:0}100%{stroke-dashoffset:20}}
@keyframes bri-pen{0%{transform:translate(-22px,-12px)}12%{transform:translate(-8px,-12px)}24%{transform:translate(-10px,-4px)}36%{transform:translate(-6px,4px)}50%,85%{transform:translate(0,0)}100%{transform:translate(-22px,-12px)}}
@keyframes bri-ok{0%,45%{transform:scale(0)}55%,85%{transform:scale(1)}95%,100%{transform:scale(0)}}
@keyframes bri-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
.bri-steps{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:12px 0 0;padding:0}
.bri-steps li{display:inline-flex;align-items:center;gap:7px;padding:6px 12px 6px 8px;border-radius:999px;background:var(--panel);border:1px solid var(--line);font-size:13px;font-weight:600;position:relative}
.bri-steps li .lu{width:22px;height:22px;padding:4px;border-radius:50%;color:#fff;background:linear-gradient(135deg,#2DE1FD,#FC31BB 60%,#FF7A00)}
.bri-steps li + li::before{content:"";position:absolute;left:-9px;top:50%;width:10px;height:2px;background:linear-gradient(90deg,#A98BE6,#FC31BB)}
@media (max-width:600px){ #tab-home .hb-group.hb-intro{flex-direction:column;align-items:flex-start;padding:18px} .bri-ic{width:64px;height:64px;border-radius:18px} .bri-svg{width:50px;height:50px} }
@media (prefers-reduced-motion:reduce){ .bri-ic,.bri-l,.bri-pen,.bri-ok{animation:none} .bri-l{stroke-dashoffset:0} .bri-ok{transform:none} }
.hb-intro .hb-group-tx{flex:1 1 auto}
.hb-intro .br-top-acts{flex:none;display:flex;align-items:center;gap:14px;align-self:center}
@media (max-width:600px){ .bri-steps li + li::before{display:none} .hb-intro .br-top-acts{flex-wrap:wrap} }
.in-f-t b a{color:inherit;text-decoration:none}
.in-f-t b a:hover{text-decoration:underline}
/* Experiences form: done steps' numbers on the angled gradient, like the rest. */
.xe-step.done b{background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
/* The preview, in a browser window: its title on the tab, the address underneath, the page scrolling inside. */
.xe-pv-win{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:var(--panel);box-shadow:0 24px 50px -30px rgba(27,19,48,.45);margin-top:8px}
.xe-pv-chrome{display:flex;align-items:flex-end;gap:12px;padding:10px 12px 0;background:var(--sunken)}
.xe-pv-dots{display:flex;gap:6px;padding-bottom:12px}
.xe-pv-dots i{width:10px;height:10px;border-radius:50%;background:#FF5F57}.xe-pv-dots i:nth-child(2){background:#FEBC2E}.xe-pv-dots i:nth-child(3){background:#28C840}
.xe-pv-tab{display:flex;align-items:center;gap:8px;min-width:0;max-width:240px;padding:8px 14px;border-radius:10px 10px 0 0;background:var(--panel);font-size:12.5px;font-weight:600}
.xe-pv-tab > span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xe-pv-fav{flex:none;width:14px;height:14px;border-radius:4px;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.xe-pv-addr{display:flex;align-items:center;gap:7px;margin:8px 12px;padding:0 6px 0 12px;height:32px;border-radius:999px;background:var(--sunken);font-size:12px;color:var(--g60)}
.xe-pv-addr > span{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xe-pv-addr a{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:var(--ink)}
.xe-pv-addr a:hover{background:var(--panel);color:#B3148A}
.xe-pv-win .xe-pv-page{padding:4px 18px 20px;max-height:calc(100vh - 330px);overflow:auto}
.xe-pv-note{display:block;margin-top:10px}
/* Experiences form: the preview is step 5 now - the form takes the whole width. */
@media (min-width:861px){
  .xe-card .xe-body{grid-template-columns:minmax(0,1fr)!important} }
.xe-pv-pane{display:grid;gap:14px}
.xe-pv-pane[hidden]{display:none}
.xe-pv-pane .xe-pv-page{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px 32px;align-items:start}
.xe-pv-pane .xe-pv-img{grid-row:span 3!important;aspect-ratio:4/3}
.xe-pv-pane .xe-pv-more{grid-column:2}
@media (max-width:860px){
  .xe-pv-pane .xe-pv-page{grid-template-columns:minmax(0,1fr)}
.xe-pv-pane .xe-pv-img{grid-row:auto!important}
.xe-pv-pane .xe-pv-more{grid-column:auto} }
/* Briefs on Home: the board has the whole width; Past briefs open in a pop-up. */
.br-cols{grid-template-columns:minmax(0,1fr)!important}
.hm-card.br-past-card{width:min(640px,100%)}
.br-past-card .br-dir{background:transparent;padding:0;border:0;box-shadow:none}
.br-past-card .br-dir-list{max-height:60vh;overflow:auto}
.br-past-card .br-dir-h b{display:none}
/* Just for fun → Quote of the day. */
.qd{position:relative;margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:22px;align-items:start;padding:28px 34px;overflow:hidden}
.qd::after{content:"";position:absolute;inset:auto -60px -80px auto;width:260px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(252,49,187,.16),transparent 70%);pointer-events:none}
.qd-mark{grid-row:span 2;font:700 96px/0.8 Georgia,serif;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);-webkit-background-clip:text;background-clip:text;color:transparent;margin-top:6px}
.qd blockquote{margin:0;font-size:clamp(20px,2.2vw,28px);line-height:1.35;font-weight:500;letter-spacing:-.01em;text-wrap:balance}
.qd figcaption{margin-top:12px;display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600;color:var(--ink-2)}
.qd-k{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#B3148A;font-weight:700}
.qd-k::after{content:"";display:inline-block;width:18px;height:1px;background:currentColor;margin-left:12px;vertical-align:middle}
@media (max-width:600px){
  .qd{padding:20px;column-gap:12px}
.qd-mark{font-size:64px} }
/* Weather → This week: a row of day tiles instead of range lines. */
.wx-week{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:10px}
.wx-wd{display:flex;flex-direction:column;align-items:center;gap:8px;padding:14px 8px 12px;border-radius:16px;background:var(--sunken);text-align:center;animation:so-in .4s ease both;animation-delay:calc(var(--i) * 50ms)}
.wx-wd > b{font-size:13px;font-weight:700}
.wx-wd.now{background:linear-gradient(135deg,rgba(45,225,253,.16),rgba(169,139,230,.16) 35%,rgba(252,49,187,.14) 70%,rgba(255,122,0,.16));box-shadow:inset 0 0 0 1px rgba(252,49,187,.25)}
.wx-wd.now > b{background:linear-gradient(135deg,#2DE1FD,#FC31BB);-webkit-background-clip:text;background-clip:text;color:transparent}
.wx-wd .wx-ic{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:var(--panel);box-shadow:0 6px 14px -10px rgba(27,19,48,.5)}
.wx-wd .wx-ic svg{width:28px;height:28px}
.wx-wt{display:flex;align-items:baseline;gap:6px}
.wx-wt strong{font-size:20px;font-weight:700;background:linear-gradient(135deg,#FC31BB,#FF7A00);-webkit-background-clip:text;background-clip:text;color:transparent}
.wx-wt em{font-style:normal;font-size:13.5px;color:var(--g60)}
.wx-wr{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--g60)}
.wx-wr svg{width:13px;height:13px}
.wx-wr.wet{color:#1F7FB0}
@media (max-width:860px){
  .wx.wx-open .wx-week{display:grid!important} }
@media (max-width:600px){
  .wx-week{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.wx-wd{padding:10px 4px} }
.wx-week{grid-template-columns:repeat(var(--n,7),minmax(0,1fr))}
.wx-wd{min-width:0}@media (max-width:600px){
  .wx-week{grid-template-columns:repeat(4,minmax(0,1fr))} }
/* More air between the top of Home (Everyday apps…) and the first group, Experiences. */
#tab-home #hblocks{margin-top:120px}
@media (max-width:600px){ #tab-home #hblocks{margin-top:72px} }
/* Quote of the day: straight on the band, no white card. */
.qd.panel{background:transparent!important;border:0!important;box-shadow:none!important;padding:8px 0}
.qd::after{display:none}
.qd blockquote a{color:inherit;text-decoration:none;background:linear-gradient(90deg,#FC31BB,#FF7A00) 0 100%/0 2px no-repeat;transition:background-size .35s}
.qd blockquote a:hover{background-size:100% 2px}
.qd-who{color:var(--ink);text-decoration:none;border-bottom:1px solid rgba(252,49,187,.5)}
a.qd-who:hover{color:#B3148A}
/* On this day: each picture in a circle with the gradient border, filling it - top-weighted so a head isn't cut off. */
.otd-list > .otd-fact > .otd-img,.otd-img{border-radius:50%!important;object-fit:cover;object-position:50% 18%;padding:3px;box-sizing:border-box;
  background:linear-gradient(#fff,#fff) content-box,linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box!important;box-shadow:0 10px 22px -14px rgba(252,49,187,.7)}
/* Home → Briefs: just the panel (the board is on its own page, #briefs). */
.br-home{display:flex;align-items:center;gap:22px;padding:22px 26px;border-radius:22px;border:1px solid var(--line);
  background:linear-gradient(135deg,rgba(45,225,253,.10) 0%,rgba(169,139,230,.10) 35%,rgba(252,49,187,.08) 70%,rgba(255,122,0,.10) 100%),var(--panel)}
.br-home .hb-group-t{font-size:22px;font-weight:700;line-height:1.2}
.br-home .hb-group-s{max-width:760px;font-size:14px;line-height:1.5;color:var(--g60)}
.br-home .hb-group-tx{display:flex;flex-direction:column;gap:2px;flex:1 1 auto;min-width:0}
.br-home .br-top-acts{flex:none;display:flex;align-items:center;gap:10px}
@media (max-width:760px){ .br-home{flex-direction:column;align-items:flex-start;padding:18px} .bri-steps li + li::before{display:none} }
/* The Briefs page. */
.br-page-head{margin-bottom:18px}
.br-page-t{margin:6px 0 0;font-size:clamp(24px,2.4vw,34px);font-weight:600;letter-spacing:-.01em}
.br-page-head .br-top-acts{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.br-page-head{display:flex!important;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap}
/* Just for fun: each section's heading - a gradient icon that moves a little, and the name. */
.fun-rh{margin-top:8px!important;align-items:center}
.fun-h{display:flex;align-items:center;gap:12px}
.fun-h h3{margin:0;font-size:19px;font-weight:700;letter-spacing:-.01em;color:var(--ink)}
.fun-ic{flex:none;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 8px 18px -10px rgba(252,49,187,.7)}
.fun-ic svg{overflow:visible}
.fh-flame{transform-origin:12px 6px;animation:fh-flicker 1.4s ease-in-out infinite}
.fh-hand{transform-origin:12px 12px;animation:fh-spin 6s linear infinite}
.fh-rays{transform-origin:12px 12px;animation:fh-spin 14s linear infinite}
.fh-lid{transform-origin:12px 10px;animation:fh-lid 3.2s ease-in-out infinite}
.fh-star{transform-origin:12px 15.5px;animation:fh-twinkle 2.4s ease-in-out infinite}
.fh-scores .fun-ic svg{transform-origin:12px 21px;animation:fh-rock 3s ease-in-out infinite}
.fh-shine{animation:fh-blink 2s ease-in-out infinite}
@keyframes fh-flicker{0%,100%{transform:scale(1) rotate(-4deg)}50%{transform:scale(1.15,.9) rotate(4deg)}}
@keyframes fh-spin{to{transform:rotate(360deg)}}
@keyframes fh-lid{0%,70%,100%{transform:translateY(0) rotate(0)}80%{transform:translateY(-2.5px) rotate(-6deg)}90%{transform:translateY(-1px) rotate(4deg)}}
@keyframes fh-twinkle{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.6);opacity:.6}}
@keyframes fh-rock{0%,100%{transform:rotate(0)}25%{transform:rotate(-7deg)}75%{transform:rotate(7deg)}}
@keyframes fh-blink{0%,100%{opacity:.2}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){ .fun-ic *,.fun-ic svg{animation:none!important} }
/* Just for fun: each section's heading sits above its card, not inside it. */
.hb[data-group="fun"]:not([data-block="quote"]){display:flex;flex-direction:column;background:none!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.hb[data-group="fun"] > .row-head.fun-rh{display:flex!important;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px!important;min-height:0}
.hb[data-group="fun"]:not([data-block="quote"]) > .panel{flex:1;min-width:0}
.hb:is([data-block="holidays"],[data-block="scores"])[data-group="fun"] > .panel{background:var(--panel)!important;border:1px solid var(--g20,var(--line))!important;border-radius:12px!important;padding:20px!important;overflow:visible}
body.arranging .hb-band .hb[data-group="fun"]{background:rgba(255,255,255,.6)!important}
/* The same headings above the cards for Active clients and the Infosys & Cognizant sections. */
.hb.hb-fh:not([data-block="quote"]){display:flex;flex-direction:column;background:none!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.hb.hb-fh > .row-head.fun-rh{display:flex!important;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px!important;min-height:0}
.hb.hb-fh > .panel{flex:1;min-width:0}
.hb.hb-fh:is([data-block="holidays"],[data-block="scores"],[data-block="events"],[data-block="verticals"],[data-block="accounts"],[data-block="assign"]) > .panel{background:var(--panel)!important;border:1px solid var(--g20,var(--line))!important;border-radius:12px!important;padding:20px!important;overflow:visible}
.fh-bob{animation:fh-bob 2.6s ease-in-out infinite}
.fh-waves{animation:fh-blink 1.6s ease-in-out infinite}
.fh-ln{stroke-dasharray:8;stroke-dashoffset:8;animation:fh-write 3.2s ease-in-out infinite}.fh-ln2{animation-delay:.3s}.fh-ln3{animation-delay:.6s}
.fh-l1{animation:fh-stack 3s ease-in-out infinite}.fh-l3{animation:fh-stack 3s ease-in-out infinite reverse}
.fh-pulse{transform-origin:9px 11px;animation:fh-twinkle 2.2s ease-in-out infinite}
@keyframes fh-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.8px)}}
@keyframes fh-write{0%,10%{stroke-dashoffset:8}40%,80%{stroke-dashoffset:0}100%{stroke-dashoffset:8}}
@keyframes fh-stack{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.5px)}}
/* Quote of the day, with the studio's favourite beside it. */
.qd{grid-template-columns:auto minmax(0,1fr) minmax(220px,300px)!important;column-gap:28px}
.qd-fav{grid-column:3;grid-row:1 / span 2;align-self:center;display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;background:var(--panel);border:1px solid var(--line);text-decoration:none;color:var(--ink);box-shadow:0 16px 30px -24px rgba(27,19,48,.5);transition:transform .2s,box-shadow .2s}
.qd-fav:hover{transform:translateY(-2px);box-shadow:0 20px 36px -22px rgba(252,49,187,.55)}
.qd-fav-ic{flex:none;width:44px;height:44px;border-radius:13px;display:grid;place-items:center;color:#fff;background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fd5949 45%,#d6249f 60%,#285AEB 90%);animation:fh-rock 3.4s ease-in-out infinite}
.qd-fav-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.qd-fav-t small{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#B3148A;font-weight:700}
.qd-fav-t b{font-size:15px;font-weight:700;line-height:1.3}
.qd-fav-t em{font-style:normal;font-size:12.5px;color:var(--g60)}
@media (max-width:860px){
  .qd{grid-template-columns:auto minmax(0,1fr)!important} .qd-fav{grid-column:1 / -1;grid-row:auto;margin-top:16px} }
/* Inspiration: Site of the Day, AI news and Useful links - each its own heading above its own card. */
.hb[data-block="inspiration"] > .row-head{display:none!important}
.inspo.panel{background:none!important;border:0!important;box-shadow:none!important;padding:0!important}
.inspo .in-h{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:0;border:0}
.inspo .in-h::before,.inspo .in-h::after{display:none}
.inspo .in-col{display:flex;flex-direction:column;min-width:0}
.inspo .in-card{flex:1;background:var(--panel);border:1px solid var(--g20,var(--line));border-radius:12px;padding:20px}
.inspo .in-cats-h2{margin-top:36px}
.fh-spark{transform-origin:12px 12px;animation:fh-twinkle 2.6s ease-in-out infinite}
.fh-pulse2{transform-origin:12px 12px;animation:fh-twinkle 1.6s ease-in-out infinite}
.fh-tilt{transform-origin:12px 12px;animation:fh-rock 3s ease-in-out infinite}
/* Home → Briefs: the three steps as links to the Briefs page, each with its count. */
.bri-links{display:flex;align-items:stretch;gap:0;margin-top:14px;flex-wrap:wrap;row-gap:10px}
.bri-link{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border-radius:16px;background:var(--panel);border:1px solid var(--line);text-decoration:none;color:var(--ink);min-width:190px;transition:transform .2s,box-shadow .2s,border-color .2s;animation:so-in .4s ease both;animation-delay:calc(var(--i) * 80ms)}
.bri-link:hover{transform:translateY(-2px);border-color:rgba(252,49,187,.5);box-shadow:0 14px 26px -20px rgba(252,49,187,.7)}
.bri-link > .lu:last-child{margin-left:auto;color:var(--g60);transition:transform .2s}
.bri-link:hover > .lu:last-child{transform:translateX(3px);color:#B3148A}
.bri-li{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.bri-lt{display:grid;grid-template-columns:auto 1fr;column-gap:8px;align-items:baseline;line-height:1.2}
.bri-lt b{grid-row:span 2;font-size:24px;font-weight:700;background:linear-gradient(135deg,#FC31BB,#FF7A00);-webkit-background-clip:text;background-clip:text;color:transparent}
.bri-lt span{font-size:14px;font-weight:700}
.bri-lt small{grid-column:2;font-size:12px;color:var(--g60)}
.bri-sep{align-self:center;width:18px;height:2px;margin:0 4px;background:linear-gradient(90deg,#A98BE6,#FC31BB);border-radius:2px}
@media (max-width:760px){ .bri-sep{display:none} .bri-links{gap:8px} .bri-link{flex:1 1 100%} }
/* These keep the house label - gradient line and capitals - above their cards. */
.hb.hb-eb > .row-head{display:flex!important;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px!important;min-height:0;padding:0;background:none;border:0}
.hb.hb-eb:not([data-block="clients"]){display:flex;flex-direction:column;background:none!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
.hb.hb-eb > .row-head .eyebrow{font-size:13px!important;font-weight:500!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--g60)!important;display:inline-flex;align-items:center;gap:14px}
.hb.hb-eb > .row-head .eyebrow::before{display:inline-block!important;content:"";width:34px;height:4px;border-radius:4px;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.hb.hb-eb > .panel{flex:1;min-width:0}
.hb.hb-eb:is([data-block="events"],[data-block="verticals"],[data-block="accounts"]) > .panel{background:var(--panel)!important;border:1px solid var(--g20,var(--line))!important;border-radius:12px!important;padding:20px!important;overflow:visible}
/* The favourite quote: the words, and the video in a pop-up. */
.qd-fav{cursor:pointer}
.qd-fav-t b{font-size:16px}
.qd-fav-t i{font-style:normal;font-size:13px;font-weight:600;color:var(--ink-2)}
.qd-fav-t em{display:inline-flex;align-items:center;gap:5px;color:#B3148A;font-weight:600}
.hm-card.qd-vid-card{width:min(480px,100%)}
.qd-vid{position:relative;width:100%;aspect-ratio:9/15;max-height:72vh;border-radius:16px;overflow:hidden;background:#000;margin-top:12px}
.qd-vid iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
/* Scores: the leagues as a dropdown to the right of the heading. */
.hb[data-block="scores"] .sc-scroll{flex:none!important;width:auto!important;max-width:none!important;background:none!important;border:0!important;padding:0!important;margin:0 0 0 auto!important;box-shadow:none!important;overflow:visible!important}
.hb[data-block="scores"] .sc-scroll::before,.hb[data-block="scores"] .sc-scroll::after{display:none!important}
.hb[data-block="scores"] .sc-arrow{display:none!important}
.hb[data-block="scores"] .sc-tabs{overflow:visible!important;display:block!important;padding:0!important;background:none!important;border:0!important;width:auto!important;mask-image:none!important;-webkit-mask-image:none!important}
.hb[data-block="scores"] > .row-head{flex-wrap:nowrap!important;position:relative;z-index:30}
.sc-dd{position:relative}
.sc-dd-btn{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 14px 0 10px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:inherit;font-size:14.5px;font-weight:600;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.sc-dd-btn:hover,.sc-dd-btn[aria-expanded="true"]{border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.12)}
.sc-dd-chev{color:#FC31BB;transition:transform .2s}
.sc-dd-btn[aria-expanded="true"] .sc-dd-chev{transform:rotate(180deg)}
.sc-dd-menu{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:240px;max-height:min(420px,60vh);overflow:auto;padding:6px;border-radius:16px;background:var(--panel);border:1px solid var(--line);box-shadow:0 24px 50px -20px rgba(27,19,48,.45);display:grid;gap:2px}
.sc-dd-menu[hidden]{display:none}
.sc-dd-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:9px 12px;border:0;border-radius:10px;background:none;color:var(--ink);font:inherit;font-size:14px;font-weight:500;text-align:left;cursor:pointer}
.sc-dd-menu button:hover{background:var(--sunken)}
.sc-dd-menu button[aria-selected="true"]{background:#FDEAF6;color:#A9127A;font-weight:700}
.sc-dd-menu .sc-edit{margin-top:4px;border-top:1px solid var(--line)!important;border-radius:0 0 10px 10px;color:#B3148A;font-weight:600}
/* Weather, calmer: today's figures in one light row, every second hour, and room between the parts. */
.wx .wx-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:4px 0 30px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.wx .wx-tile{background:none!important;border:0!important;box-shadow:none!important;padding:2px 12px;border-radius:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.wx .wx-tile + .wx-tile{border-left:1px solid var(--line)!important}
.wx .wx-tile .wx-ti{width:28px;height:28px;border-radius:9px}
.wx .wx-tile .wx-ti svg{width:15px;height:15px}
.wx .wx-tile small{font-size:12px}
.wx .wx-tile b{font-size:17px}
.wx .wx-tile em{font-size:11.5px}
.wx .wx-hours-wrap{margin-bottom:30px}
.wx .wx-hours{grid-auto-columns:minmax(0,1fr);gap:10px}
.wx .wx-hr{border:0;background:var(--sunken);padding:12px 4px;gap:6px}
.wx .wx-lab{margin-bottom:12px}
.wx .wx-week{gap:12px}
.wx .wx-wd{padding:16px 6px 14px;gap:10px}
.wx .wx-wd .wx-ic{width:40px;height:40px;background:none;box-shadow:none}
.wx .wx-src{margin-top:24px;font-size:12px;opacity:.85}
@media (max-width:860px){
  .wx .wx-tiles{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:12px}
.wx .wx-tile:nth-child(4){border-left:0!important} }
/* Inspiration: the house label (gradient line, capitals) for Site of the Day, AI news and Useful links. */
.inspo .in-eb{font-size:13px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;color:var(--g60);display:inline-flex;align-items:center;gap:14px;margin:0}
.inspo .in-eb::before{display:inline-block!important;content:"";width:34px;height:4px;border-radius:4px;background:linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
/* Quote of the day: the heart swaps to our favourite (and back). */
.qd{grid-template-columns:auto minmax(0,1fr) auto!important}
.qd-swap{grid-column:3;grid-row:1 / span 2;align-self:center;width:52px;height:52px;border-radius:50%;border:0;display:grid;place-items:center;cursor:pointer;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 12px 24px -12px rgba(252,49,187,.8);transition:transform .2s}
.qd-swap:hover{transform:scale(1.08)}
.qd-swap svg{animation:qd-beat 2.4s ease-in-out infinite}
.qd-swap[aria-pressed="true"] svg{fill:#fff}
@keyframes qd-beat{0%,60%,100%{transform:scale(1)}70%{transform:scale(1.18)}80%{transform:scale(.95)}90%{transform:scale(1.1)}}
.qd-is-fav blockquote,.qd-is-fav figcaption{animation:so-in .45s ease both}
.qd-play{cursor:pointer}
a.qd-who.qd-play{display:inline-flex;align-items:center;gap:6px;color:#B3148A}
@media (prefers-reduced-motion:reduce){
  .qd-swap svg{animation:none} }
@media (max-width:860px){
  .qd{grid-template-columns:auto minmax(0,1fr) auto!important}
.qd-swap{width:44px;height:44px} }
/* Kris Kringle countdown: gradient, white text. */
.kk-count-down{background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)!important;color:#fff!important;box-shadow:0 14px 28px -16px rgba(252,49,187,.8)}
.kk-count-down b,.kk-count-down span{color:#fff!important;-webkit-text-fill-color:#fff;background:none!important}
.kk-count-down span{opacity:.92}
/* Scores: the league pill - tap it and the other leagues slide out to its left; the arrow steps to the next. */
.sc-dd{display:flex;align-items:center;gap:8px;position:relative}
.sc-dd-menu{position:static!important;display:flex!important;align-items:center;gap:6px;min-width:0!important;max-width:0;max-height:none!important;overflow:hidden!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;opacity:0;transition:max-width .45s cubic-bezier(.2,.8,.2,1),opacity .3s}
.sc-dd.open .sc-dd-menu{max-width:min(760px,52vw);opacity:1;overflow-x:auto!important;scrollbar-width:none}
.sc-dd-menu::-webkit-scrollbar{display:none}
.sc-dd-menu button{flex:none;width:auto!important;display:inline-flex!important;align-items:center;gap:7px;height:40px;padding:0 14px 0 8px!important;border-radius:999px!important;border:1px solid var(--line)!important;background:var(--panel)!important;font-size:13.5px!important;font-weight:600!important;white-space:nowrap;transform:translateX(16px);opacity:0;transition:transform .35s,opacity .35s,border-color .2s}
.sc-dd.open .sc-dd-menu button{transform:none;opacity:1;transition-delay:calc(var(--i,0) * 35ms)}
.sc-dd-menu button:hover{border-color:#FC31BB!important;background:#FFF5FB!important}
.sc-dd-menu .sc-edit{margin:0!important;padding:0!important;width:40px!important;justify-content:center;color:#B3148A!important;border-top:1px solid var(--line)!important}
.sc-dd-chev{transition:transform .3s}
.sc-dd.open .sc-dd-chev{transform:rotate(180deg)}
.sc-dd-next{flex:none;width:44px;height:44px;border-radius:50%;border:0;display:grid;place-items:center;color:#fff;cursor:pointer;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);box-shadow:0 10px 20px -12px rgba(252,49,187,.8);transition:transform .2s}
.sc-dd-next:hover{transform:translateX(2px) scale(1.05)}
.hb[data-block="scores"] > .row-head .fun-h{flex:none}
.hb[data-block="scores"] > .row-head .sc-scroll{flex:1 1 auto!important;min-width:0;display:flex!important;justify-content:flex-end}
.hb[data-block="scores"] .sc-tabs{min-width:0;max-width:100%}
.sc-dd{min-width:0;max-width:100%;justify-content:flex-end}
.sc-dd-btn,.sc-dd-next{flex:none}
.sc-dd.open .sc-dd-menu{max-width:100%!important;flex:0 1 auto;min-width:0!important;-webkit-mask-image:linear-gradient(90deg,transparent,#000 18px);mask-image:linear-gradient(90deg,transparent,#000 18px)}
@media (max-width:700px){ .sc-dd.open .sc-dd-menu{max-width:46vw} .sc-dd-btn span{display:none} }
/* Events and Marketing accounts: their filter chips in the heading, beside the search. */
.rh-chips{display:flex;align-items:center;min-width:0;flex:0 1 auto;margin-left:auto}
.rh-chips + .ac-search{margin-left:12px}
.rh-chips .hs-scroll{max-width:100%;margin:0!important}
.rh-chips .ev-orgs{margin:0!important;padding:4px!important}
/* Home → Briefs: a dark panel - the title and what it does across the top, the three steps beneath, full width. */
.br-home{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"ic t acts" "ic s acts" "links links links";column-gap:22px;row-gap:4px;align-items:center;padding:28px 30px!important;border:0!important;color:#fff;position:relative;overflow:hidden;
  background:radial-gradient(120% 140% at 0% 0%,rgba(45,225,253,.28) 0%,transparent 45%),radial-gradient(120% 140% at 100% 100%,rgba(255,122,0,.3) 0%,transparent 50%),radial-gradient(90% 120% at 70% 0%,rgba(252,49,187,.35) 0%,transparent 55%),#1B1330!important;box-shadow:0 30px 60px -36px rgba(27,19,48,.9)}
.br-home .hb-group-tx{display:contents}
.br-home .bri-ic{grid-area:ic;align-self:start}
.br-home .hb-group-t{grid-area:t;color:#fff;font-size:24px}
.br-home .hb-group-s{grid-area:s;color:rgba(255,255,255,.78)!important;max-width:720px}
.br-home .br-top-acts{grid-area:acts}
.br-home .br-top-acts .btn-secondary{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.35);color:#fff}
.br-home .br-top-acts .btn-secondary:hover{background:rgba(255,255,255,.2)}
.br-home .br-top-acts .btn-primary{background:#fff;color:#1B1330;border-color:#fff}
.br-home .bri-links{grid-area:links;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:22px}
.br-home .bri-sep{display:none}
.br-home .bri-link{min-width:0;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff;backdrop-filter:blur(6px)}
.br-home .bri-link:hover{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.4);box-shadow:0 18px 30px -22px rgba(252,49,187,.9)}
.br-home .bri-lt b{font-size:30px;background:linear-gradient(135deg,#2DE1FD,#FC31BB 55%,#FF7A00);-webkit-background-clip:text;background-clip:text;color:transparent}
.br-home .bri-lt span{color:#fff;font-size:15px}
.br-home .bri-lt small{color:rgba(255,255,255,.7)}
.br-home .bri-link > .lu:last-child{color:rgba(255,255,255,.6)}
.br-home .bri-link:hover > .lu:last-child{color:#fff}
@media (max-width:860px){ .br-home{grid-template-columns:auto minmax(0,1fr);grid-template-areas:"ic t" "s s" "acts acts" "links links";padding:22px!important} .br-home .br-top-acts{margin-top:14px} .br-home .bri-links{grid-template-columns:minmax(0,1fr)} }
/* Side-by-side cards line up: same heading height, cards stretch to the taller one. */
.hb.hb-eb > .row-head,.hb.hb-fh > .row-head.fun-rh,.inspo .in-h{min-height:48px;margin-bottom:14px!important;flex-wrap:nowrap!important}
.in-pair{align-items:stretch!important}
.inspo .in-col{height:100%}
.inspo .in-card{flex:1}
/* The filters in a heading: one row on the right, scrolling sideways if they don't fit (like the leagues). */
.rh-chips{flex:1 1 auto!important;justify-content:flex-end;min-width:0}
.rh-chips .hs-scroll{min-width:0;max-width:100%}
.rh-chips .ev-orgs{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none}
.hb.hb-eb > .row-head > div:first-child{flex:none}
/* Marketing accounts: the search is an icon until it's used, then opens out. */
.ac-search{flex:none;position:relative;width:44px;max-width:none!important;height:44px!important;padding:0!important;border-radius:999px!important;overflow:hidden;cursor:pointer;display:flex;align-items:center;transition:width .35s cubic-bezier(.2,.8,.2,1),border-color .2s,box-shadow .2s}
.ac-search .ac-s-ic{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#B3148A;pointer-events:none}
.ac-search input{width:100%;height:100%;border:0!important;background:none!important;padding:0 14px 0 40px!important;opacity:0;cursor:pointer}
.ac-search:focus-within,.ac-search:has(input:not(:placeholder-shown)){width:240px;border-color:#FC31BB!important;box-shadow:0 0 0 3px rgba(252,49,187,.12)}
.ac-search:focus-within input,.ac-search:has(input:not(:placeholder-shown)) input{opacity:1;cursor:text}
.rh-chips + .ac-search{margin-left:10px}
/* AI news takes the Site of the Day's height (the list is trimmed to fit), so the two cards end together. */
@media (min-width:901px){
  .inspo .in-ai{position:relative}
.inspo .in-ai .in-card{position:absolute;left:0;right:0;top:62px;bottom:0;overflow:hidden}
}
.hb.hb-eb > .row-head,.hb.hb-fh > .row-head.fun-rh,.inspo .in-h{height:48px;min-height:48px}
.rh-chips .hs-scroll,.rh-chips .ev-orgs{max-height:48px}
/* Home → Briefs, under its own heading: a white card with the gradient edge - the icon top left, the three steps, New brief. */
.br-home{grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-areas:"ic links acts"!important;align-items:center!important;column-gap:24px!important;padding:24px 28px!important;color:var(--ink)!important;
  border:1.5px solid transparent!important;border-radius:16px!important;box-shadow:0 18px 40px -30px rgba(27,19,48,.35)!important;
  background:linear-gradient(var(--panel),var(--panel)) padding-box,linear-gradient(90deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%) border-box!important}
.br-home .hb-group-t,.br-home .hb-group-s{display:none!important}
.br-home .bri-ic{align-self:start!important;width:64px;height:64px;border-radius:18px}
.br-home .bri-ic .bri-svg{width:50px;height:50px}
.br-home .bri-links{margin-top:0!important}
.br-home .br-top-acts .btn-secondary{display:none}
.br-home .br-top-acts .btn-primary{background:var(--ink)!important;color:var(--panel)!important;border-color:var(--ink)!important}
.br-home .bri-link{background:var(--panel)!important;border:1px solid var(--line)!important;color:var(--ink)!important;backdrop-filter:none}
.br-home .bri-link:hover{border-color:rgba(252,49,187,.5)!important;background:#FFF7FC!important}
.br-home .bri-lt span{color:var(--ink)!important}
.br-home .bri-lt small{color:var(--g60)!important}
.br-home .bri-link > .lu:last-child{color:var(--g60)!important}
@media (max-width:860px){ .br-home{grid-template-columns:auto minmax(0,1fr)!important;grid-template-areas:"ic acts" "links links"!important;row-gap:16px} .br-home .bri-ic{width:52px;height:52px} }
/* Briefs: its animated icon moves up into the heading; the panel is just the steps and New brief. */
.br-home .bri-ic{display:none!important}
.br-home{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"links acts"!important}
@media (max-width:860px){ .br-home{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"acts" "links"!important} }
.hb-group-i.bri-gi{width:44px;height:44px;overflow:hidden}
.hb-group-i.bri-gi .bri-svg{width:40px;height:40px}
.hb-group-i svg{overflow:visible}
/* Filter chips with a small icon. */
.fchip .chip-ic{flex:none;margin-right:6px;vertical-align:-2px;opacity:.85}
.fchip{display:inline-flex;align-items:center}
.fchip[aria-pressed="true"] .chip-ic{opacity:1}
/* One highlight for everything that's a link: a light pink wash, a purple edge, only a soft shadow. */
.bri-link:hover,.br-home .bri-link:hover,.ac-tile:hover,.co-pcard:hover,.co-pcard:focus-visible,.co-tile:hover,.co-xcard:hover,.vt-card:hover,.ac-card:hover,.in-cat:hover,.inl-link:hover,.ext-card:hover,.in-fb:hover,.xp-card:hover,.sr-card:hover,.so-post:hover,.so-li:hover,.pcard:hover,.go-card:hover,.pic-card:hover,.fg-folder:hover,.form-link:hover,.shortcut:hover,.src-list .src-row:hover,.res-mini-row:hover,.qd-fav:hover,.br-acc > summary:hover,.br-dir-i:hover,.apps a:hover{
  background:#FFF6FC!important;border-color:#A98BE6!important;box-shadow:0 4px 12px -8px rgba(169,139,230,.55)!important;transform:translateY(-1px)!important}
.ev-row:hover,.cn-row:hover{background:#FFF6FC!important;box-shadow:inset 3px 0 0 #A98BE6;border-radius:10px}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) :is(.bri-link,.ac-tile,.co-pcard,.co-tile,.vt-card,.ac-card,.in-cat,.inl-link,.ext-card,.xp-card,.pcard,.go-card,.fg-folder,.shortcut,.ev-row,.cn-row):hover{background:rgba(252,49,187,.08)!important} }
.br-page-tl{display:flex;align-items:center;gap:16px}
.br-page-tl .bri-gi{width:56px;height:56px;border-radius:16px}
.br-page-tl .bri-gi .bri-svg{width:50px;height:50px}
/* Linked cards: the edge turns pink on hover (not purple). */
.bri-link:hover,.br-home .bri-link:hover,.ac-tile:hover,.co-pcard:hover,.co-pcard:focus-visible,.co-tile:hover,.co-xcard:hover,.vt-card:hover,.ac-card:hover,.in-cat:hover,.inl-link:hover,.ext-card:hover,.in-fb:hover,.xp-card:hover,.sr-card:hover,.so-post:hover,.so-li:hover,.pcard:hover,.go-card:hover,.pic-card:hover,.fg-folder:hover,.form-link:hover,.shortcut:hover,.src-list .src-row:hover,.res-mini-row:hover,.qd-fav:hover,.br-acc > summary:hover,.br-dir-i:hover,.apps a:hover{border-color:#FC31BB!important;box-shadow:0 4px 12px -8px rgba(252,49,187,.45)!important}
/* News, events and AI news rows: no wash or edge on hover - just the headline. */
.ev-row:hover,.cn-row:hover,.in-ai .cn-row:hover{background:none!important;box-shadow:none!important;border-radius:0}
/* Events filters: the icon first; the name opens out on the chosen one, or on hover. */
.rh-chips .fchip .chip-tx{display:inline-block;max-width:0;overflow:hidden;white-space:nowrap;opacity:0;transition:max-width .35s cubic-bezier(.2,.8,.2,1),opacity .25s}
.rh-chips .fchip .chip-ic{margin-right:0;transition:margin .3s}
.rh-chips .fchip:is(:hover,:focus-visible,[aria-pressed="true"]) .chip-tx{max-width:160px;opacity:1}
.rh-chips .fchip:is(:hover,:focus-visible,[aria-pressed="true"]) .chip-ic{margin-right:7px}
.rh-chips .fchip{padding:0 12px!important}
/* The favourite-quote button: the heart and what it opens, as a pill. */
.qd-swap{width:auto!important;height:48px!important;border-radius:999px!important;padding:0 20px 0 14px!important;display:inline-flex!important;align-items:center;gap:10px;font:inherit;font-size:14px;font-weight:700;white-space:nowrap}
.qd-vid{aspect-ratio:9/16!important}
@media (max-width:700px){
  .qd-swap span{display:none}
.qd-swap{width:48px!important;padding:0!important;justify-content:center} }
.qd{overflow:visible!important}
.qd-swap{margin-right:4px}
/* Home → Briefs, as a clean row of figures: plain card, dividers, a label, the number, what it means. */
.br-home{background:var(--panel)!important;border:1px solid var(--g20,var(--line))!important;border-radius:14px!important;box-shadow:none!important;padding:0!important;column-gap:0!important;align-items:stretch!important}
.br-home .bri-links{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:0!important;margin:0!important}
.bri-stat{display:flex;flex-direction:column;gap:6px;padding:22px 26px;text-decoration:none;color:var(--ink);position:relative;transition:background .2s}
.bri-stat + .bri-stat{border-left:1px solid var(--g20,var(--line))}
.bri-stat:hover{background:#FFF6FC}
.bri-k{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--g60)}
.bri-k .lu{color:#B3148A}
.bri-n{font-size:38px;line-height:1;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
.bri-stat small{font-size:13px;color:var(--g60)}
.bri-go{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:13px;font-weight:600;color:#B3148A;opacity:0;transform:translateX(-4px);transition:opacity .2s,transform .2s}
.bri-stat:hover .bri-go,.bri-stat:focus-visible .bri-go{opacity:1;transform:none}
.br-home .br-top-acts{display:flex;align-items:center;padding:0 26px;border-left:1px solid var(--g20,var(--line))}
@media (max-width:860px){ .br-home .bri-links{grid-template-columns:minmax(0,1fr)} .bri-stat + .bri-stat{border-left:0;border-top:1px solid var(--g20,var(--line))} .br-home .br-top-acts{border-left:0;border-bottom:1px solid var(--g20,var(--line));padding:16px 22px} .bri-go{opacity:1;transform:none} }
/* Briefs page: one line per brief, opened by the round icon on the right. */
.br-acc > summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto auto auto;align-items:center;gap:22px}
.br-acc-due{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600;white-space:nowrap}
.br-acc-due em{font-style:normal;font-weight:500;color:var(--g60)}
.br-acc-chev{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);color:#B3148A;transform:none!important;transition:transform .3s,background .2s,color .2s,border-color .2s}
.br-acc > summary:hover .br-acc-chev{border-color:#FC31BB}
.br-acc[open] .br-acc-chev{transform:rotate(180deg)!important;color:#fff;border-color:transparent;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.br-acc-chev svg{transform:none!important}
@media (max-width:760px){
  .br-acc > summary{grid-template-columns:minmax(0,1fr) auto;row-gap:8px}
.br-acc > summary .br-tfaces,.br-acc > summary .br-tst{display:none} }
/* Weather → Next 12 hours: one soft strip, the temperature as a gradient curve, rain as small bars. */
.wx-hstrip{position:relative;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));grid-template-rows:auto auto 64px auto;row-gap:8px;padding:16px 4px 14px;border-radius:16px;background:var(--sunken)}
.wx-hcurve{grid-row:3;grid-column:1 / -1;width:100%;height:64px;align-self:stretch}
.wx-ht{grid-row:1;text-align:center;font-size:12.5px;font-weight:600;color:var(--g60)}
.wx-ht:first-of-type{color:#B3148A}
.wx-hi{grid-row:2;justify-self:center;width:30px;height:30px;display:grid;place-items:center;background:none!important;box-shadow:none!important}
.wx-hi svg{width:28px;height:28px}
.wx-hb{grid-row:3;position:relative;height:64px}
.wx-hb b{position:absolute;left:0;right:0;text-align:center;font-size:15px;font-weight:700;color:var(--ink)}
.wx-hb i{position:absolute;left:50%;width:9px;height:9px;margin-left:-4.5px;border-radius:50%;background:var(--panel);border:2.5px solid #FC31BB;box-sizing:border-box}
.wx-hr2{grid-row:4;display:flex;flex-direction:column;align-items:center;gap:4px}
.wx-hr2 u{display:block;width:6px;height:22px;border-radius:4px;background:rgba(31,127,176,.12);position:relative;overflow:hidden;text-decoration:none}
.wx-hr2 s{position:absolute;left:0;right:0;bottom:0;background:linear-gradient(#2DE1FD,#1F7FB0);border-radius:4px;text-decoration:none}
.wx-hr2 em{font-style:normal;font-size:11.5px;font-weight:700;color:#1F7FB0}
/* Weather → This week: one light row, days split by thin lines, today picked out. */
.wx .wx-week{gap:0!important;border-radius:16px;background:var(--sunken);padding:6px}
.wx .wx-wd{background:none!important;border:0!important;border-radius:12px;padding:14px 4px 12px!important;gap:8px!important}
.wx .wx-wd + .wx-wd{box-shadow:-1px 0 0 rgba(27,19,48,.07)}
.wx .wx-wd.now{background:var(--panel)!important;box-shadow:0 6px 16px -10px rgba(27,19,48,.3)!important}
.wx .wx-wd.now + .wx-wd{box-shadow:none}
.wx .wx-wd .wx-ic{width:34px;height:34px}
.wx .wx-wt strong{font-size:18px}
@media (max-width:600px){
  .wx .wx-week{grid-template-columns:repeat(4,minmax(0,1fr))}
.wx-hb b{font-size:13px} }
/* Events: the same pill as Scores - no grey track, names showing. */
.rh-chips .ev-dd{max-height:none}
.ev-dd .sc-dd-menu button svg{flex:none}
.ev-dd .sc-dd-btn .chip-ic,.ev-dd .sc-dd-menu .chip-ic{margin:0!important;opacity:1}
.ev-dd .sc-dd-btn{font-size:14px}
.hb[data-block="events"] > .row-head .rh-chips{justify-content:flex-end}
/* Scores, as tall as the weather card: the list of games (or the table, or the leaders) fills the card and scrolls inside it. */
#scores.sc-fit{display:flex!important;flex-direction:column;overflow:hidden}
#scores.sc-fit > *{flex:none}
#scores.sc-fit > .sc-list,#scores.sc-fit > .sc-tbl-wrap,#scores.sc-fit > .sc-leaders,#scores.sc-fit > .sc-table{flex:1 1 auto;min-height:0;max-height:none!important}
#scores.sc-fit > .sc-list,#scores.sc-fit > .sc-tbl-wrap{overflow-y:auto}
#scores.sc-fit > .sc-leaders,#scores.sc-fit > .sc-table{display:flex;flex-direction:column}
#scores.sc-fit .sc-leaders > .sc-stand-list,#scores.sc-fit .sc-table > .sc-tbl-wrap,#scores.sc-fit .sc-table > .sc-stand-list{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto}
/* Kris Kringle: the present being handed round the elves. */
:is(#kringle,.kk-preview) .kk-team{position:relative}
.kk-pass{position:absolute;left:0;top:0;width:40px;height:40px;z-index:5;pointer-events:none;filter:drop-shadow(0 8px 10px rgba(169,18,122,.35));will-change:transform}
.kk-pass img,.kk-pass svg{width:100%;height:100%;object-fit:contain;display:block}
@media (prefers-reduced-motion:reduce){
  .kk-pass{display:none} }
/* A brief's table, every field: blanks quiet, long writing kept to its lines. */
.br-ftbl td.br-ft-nil{color:var(--g60);font-weight:400}
.br-ftbl tr.br-ft-long td{white-space:pre-line;font-weight:400;line-height:1.55}
.br-ftbl td a{color:#B3148A;text-decoration:none;font-weight:600}
.br-ftbl td a:hover{text-decoration:underline}
.br-ftbl td.late{color:#C2410C}
/* Weather: the Bureau's forecast behind a round icon, top right of the card (no footer line). */
.wx{position:relative}
.wx-bom{position:absolute;top:18px;right:18px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--panel);color:#B3148A;transition:transform .2s,border-color .2s,background .2s,color .2s;z-index:2}
.wx-bom:hover,.wx-bom:focus-visible{border-color:transparent;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%);transform:rotate(-8deg) scale(1.05)}
.wx .wx-src{display:none!important}
.otd-dd .chip-ic{margin:0!important;opacity:1}.hb[data-block="history"] > .row-head .rh-chips{justify-content:flex-end}
.fun-h{flex:none}.fun-h h3{white-space:nowrap}
/* Marketing accounts: alternate rows in the light pink. */
.ac-card.alt{background:#FFF6FC!important;border-color:#F8D7EC!important}
/* Kris Kringle: five gifts you'd like, and the list your Kris Kringle sees. */
.kk-gis{display:grid;gap:8px;margin:6px 0 12px}
.kk-gi{display:flex;align-items:center;gap:10px;margin:0!important}
.kk-gi b{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#fff;background:linear-gradient(135deg,#2DE1FD 0%,#A98BE6 30%,#FC31BB 62%,#FF7A00 100%)}
.kk-gi input{flex:1;min-width:0;height:40px}
.kk-gifts{list-style:none;margin:6px 0 12px;padding:0;display:grid;gap:6px}
.kk-gifts li{display:flex;align-items:flex-start;gap:8px;font-size:14px;line-height:1.4}
.kk-gifts li .lu{flex:none;margin-top:2px;color:#FC31BB}
.hm-card.kk-ask-card{width:min(560px,100%)}
.kk-ask-top{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.kk-ask-ic{flex:none;width:72px;height:72px;animation:bri-float 3s ease-in-out infinite}
.kk-ask-ic img,.kk-ask-ic svg{width:100%;height:100%;object-fit:contain}
.kk-ask-top h3{margin:0 0 4px}
/* Hidden sections stay hidden (headings styled as cards set display; this wins). */
.hb.hb-off{display:none!important}
body.arranging .hb.hb-off{display:block!important}
/* The top sections: hidden ones off the page; while arranging, dimmed with their eye to bring them back. */
.hub-sec.sec-off{display:none!important}
body.arranging .hub-sec.sec-off{display:block!important;opacity:.45}
body.arranging .hub-main > .hub-sec,body.arranging .hub-side > .hub-sec{position:relative;outline:2px dashed var(--line-2);outline-offset:6px;border-radius:14px}
.sec-eye{position:absolute;top:-4px;right:0;z-index:5;display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 10px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.sec-eye:hover{border-color:#FC31BB;color:#B3148A}
.sec-eye svg{width:16px;height:16px}
.op-noacct{display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;padding:10px 12px;border-radius:10px;background:#FFF4E5;color:#9A3412;font-size:13px;line-height:1.4}.op-noacct .lu{flex:none;margin-top:2px}
/* Reading something in: a gradient ring turning, what's being read, and shimmering lines where it'll go. */
.hub-loading{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:14px;row-gap:16px;padding:22px 4px;color:var(--g60);font-size:14px;font-weight:600}
.hl-ring{width:30px;height:30px;border-radius:50%;background:conic-gradient(from 0deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00,rgba(255,122,0,0));-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));animation:hl-spin .9s linear infinite}
.hl-tx{animation:hl-fade 1.6s ease-in-out infinite}
.hl-lines{grid-column:1 / -1;display:grid;gap:10px}
.hl-lines i,.hb > .panel:empty::before,.hb > .panel:empty::after,.hub-card:empty::before{display:block;height:14px;border-radius:8px;background:linear-gradient(90deg,var(--sunken) 0%,rgba(252,49,187,.12) 45%,var(--sunken) 90%) 0 0/300% 100%;animation:hl-shine 1.4s ease-in-out infinite}
.hl-lines i:nth-child(1){width:92%}.hl-lines i:nth-child(2){width:74%;animation-delay:.12s}.hl-lines i:nth-child(3){width:58%;animation-delay:.24s}
/* A home card with nothing in it yet: the same shimmer until its data arrives. */
.hb > .panel:empty,.hub-card:empty{min-height:120px;display:flex!important;flex-direction:column;gap:12px;justify-content:center;padding:24px!important}
.hb > .panel:empty::before,.hub-card:empty::before{content:"";width:70%}
.hb > .panel:empty::after{content:"";width:45%;animation-delay:.15s}
@keyframes hl-spin{to{transform:rotate(360deg)}}
@keyframes hl-shine{0%{background-position:100% 0}100%{background-position:0 0}}
@keyframes hl-fade{0%,100%{opacity:1}50%{opacity:.55}}
@media (prefers-reduced-motion:reduce){ .hl-ring,.hl-tx,.hl-lines i,.hb > .panel:empty::before,.hb > .panel:empty::after,.hub-card:empty::before{animation:none} }
/* Your team: the leader on top, then everyone as a little card - photo, name, role, away, a Teams message. */
.t-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px;padding-top:16px;border-top:1px solid var(--line)}
.t-card{position:relative;display:flex;align-items:center;border:1px solid var(--line);border-radius:14px;background:var(--panel);transition:border-color .2s,background .2s,box-shadow .2s}
.t-card:hover{border-color:#FC31BB;background:#FFF6FC;box-shadow:0 4px 12px -8px rgba(252,49,187,.45)}
.t-card.me{border-color:color-mix(in srgb,var(--team) 55%,transparent);background:color-mix(in srgb,var(--team) 7%,var(--panel))}
.t-card-main{flex:1;min-width:0;display:flex;align-items:center;gap:12px;padding:12px 8px 12px 12px;border:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}
.t-card-main .av{flex:none;width:44px!important;height:44px!important}
.t-card-tx{display:flex;flex-direction:column;gap:2px;min-width:0}
.t-card-tx b{font-size:14px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t-card-tx b i{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;padding:2px 6px;border-radius:999px;margin-left:4px;color:#fff;background:linear-gradient(135deg,#2DE1FD,#FC31BB 60%,#FF7A00);vertical-align:1px}
.t-card-tx small{font-size:12.5px;color:var(--g60);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.t-away{font-style:normal;font-size:11.5px;font-weight:600;color:#9A3412;background:#FFF4E5;align-self:flex-start;padding:2px 8px;border-radius:999px;margin-top:3px}
.t-away.now{color:#fff;background:#F97316}
.t-card-msg{flex:none;width:34px;height:34px;margin-right:10px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);background:var(--panel);opacity:.75;transition:opacity .2s,border-color .2s}
.t-card:hover .t-card-msg{opacity:1}
.t-card-msg:hover{border-color:#5B5FC7}
.t-card-msg svg{width:17px;height:17px}
.tcard .t-head h3{display:flex;align-items:center;gap:10px}
.tcard .t-head h3::before{content:"";width:10px;height:10px;border-radius:50%;background:var(--team);box-shadow:0 0 0 4px color-mix(in srgb,var(--team) 20%,transparent)}
/* The Hub opening: the CE mark in a turning gradient ring, the name, a running bar and what it's getting ready. */
.boot-splash{flex-direction:column;background:radial-gradient(60% 50% at 20% 15%,rgba(45,225,253,.14),transparent 70%),radial-gradient(55% 50% at 85% 85%,rgba(255,122,0,.12),transparent 70%),radial-gradient(50% 45% at 70% 20%,rgba(252,49,187,.12),transparent 70%),var(--ground,#fff);transition:opacity .45s ease,transform .45s ease;z-index:60}
.boot-splash.bs-out{opacity:0;transform:scale(1.02)}
.bs-in{display:flex;flex-direction:column;align-items:center;gap:18px;animation:bs-rise .6s cubic-bezier(.2,.8,.2,1) both}
.bs-mark{position:relative;width:96px;height:96px;display:grid;place-items:center}
.bs-mark img{width:60px;height:60px;border-radius:16px;box-shadow:0 16px 36px -16px rgba(27,19,48,.6);animation:bs-breathe 2.2s ease-in-out infinite}
.bs-ring{position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 0deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00,rgba(255,122,0,0) 85%);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 calc(100% - 3px));animation:hl-spin 1.1s linear infinite}
.bs-word{font-size:15px;font-weight:500;letter-spacing:.28em;color:var(--ink)}
.bs-word b{font-weight:700;letter-spacing:.06em;margin-left:6px;padding:2px 8px;border:1.5px solid currentColor;border-radius:6px;font-size:12px;vertical-align:2px}
.bs-bar{width:180px;height:4px;border-radius:4px;background:rgba(27,19,48,.08);overflow:hidden}
.bs-bar i{display:block;width:40%;height:100%;border-radius:4px;background:linear-gradient(90deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00);animation:bs-run 1.3s cubic-bezier(.45,0,.2,1) infinite}
.bs-msg{font-size:13.5px;color:var(--g60);min-height:20px}
.bs-msg.in{animation:bs-msg .4s ease both}
@keyframes bs-run{0%{transform:translateX(-110%)}100%{transform:translateX(280%)}}
@keyframes bs-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
@keyframes bs-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes bs-msg{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){ .bs-ring,.bs-bar i,.bs-mark img,.bs-in,.bs-msg.in{animation:none} }
.boot-splash{z-index:9999!important}
/* A card still waiting for its content: the gradient ring turning beside a soft "Loading…", the same as the in-card loaders. */
.hb > .panel:empty,.hub-card:empty{display:flex!important;flex-direction:row;align-items:center;justify-content:flex-start;gap:20px;min-height:132px;padding:26px 30px!important}
.hb > .panel:empty::before,.hub-card:empty::before{content:"";flex:none;width:40px;height:40px;border-radius:50%;background:conic-gradient(from 0deg,#2DE1FD,#A98BE6,#FC31BB,#FF7A00,rgba(255,122,0,0))!important;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px));mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px));animation:hl-spin .9s linear infinite!important}
.hb > .panel:empty::after,.hub-card:empty::after{content:"Loading…";display:block;width:auto;height:auto;background:none!important;color:var(--g60);font-size:18px;font-weight:700;animation:hl-fade 1.6s ease-in-out infinite!important}
@media (prefers-reduced-motion:reduce){ .hb > .panel:empty::before,.hub-card:empty::before,.hb > .panel:empty::after,.hub-card:empty::after{animation:none!important} }
/* Admin → People & roles */
.ppl-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:18px 0 14px}
.ppl-search{display:flex;align-items:center;gap:8px;flex:1 1 280px;max-width:420px;height:40px;padding:0 14px;border:1px solid var(--line-2);border-radius:999px;background:var(--panel);color:var(--g60)}
.ppl-search input{flex:1;border:0;outline:0;background:none;font:inherit;color:var(--ink)}
.ppl-search:focus-within{border-color:var(--magenta)}
.ppl-chips{display:flex;flex-wrap:wrap;gap:8px}
.ppl-chips .chip{padding:6px 12px;font-size:13px}
.ppl-chips .chip em{font-style:normal;color:var(--g60);margin-left:4px;font-size:12px}
.ppl-chips .chip.on{border-color:var(--magenta);background:rgba(252,49,187,.08);color:var(--ink)}
.ppl-tbl td{vertical-align:middle}
.ppl-tbl td small{display:block;color:var(--g60);font-size:12px;margin-top:2px}
.ppl-tbl tbody tr:nth-child(even) td{background:rgba(252,49,187,.035)}
.ppl-who{display:flex;align-items:center;gap:12px;min-width:220px}
.ppl-who .av{width:38px;height:38px;flex:none}
.ppl-who b{display:block;font-weight:600}
.spill.ppl-admin{background:rgba(252,49,187,.12);color:#b0127f;text-transform:capitalize}
.spill.ppl-none{background:transparent;border:1px dashed var(--line-2);color:var(--g60)}
.spill.ppl-role{background:rgba(45,225,253,.14);color:#0b6b7a;margin:2px 0}
.ppl-can{font-size:13px;color:var(--ink-2);line-height:1.55}
.ppl-tbl .muted{color:var(--g40,#aaa)}
.ppl-cards{min-width:210px;max-width:300px}
.ppl-cards span{display:inline-block;margin:2px 4px 2px 0;padding:2px 8px;border-radius:6px;background:var(--sunken);font-size:11.5px;color:var(--ink-2);white-space:nowrap}
.ppl-cards span:first-child{background:rgba(252,49,187,.1);color:#b0127f}
/* People & roles → one person's dashboard */
.hm-card.pd-card{width:min(760px,94vw)}
.pd-grp{margin-top:20px}
.pd-grp .eyebrow{margin-bottom:10px}
.pd-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px}
.pd-ck{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;cursor:pointer;font-size:14px}
.pd-ck:has(input:checked){border-color:var(--magenta);background:rgba(252,49,187,.05)}
.pd-ck input{accent-color:#FC31BB;width:16px;height:16px}
.ppl-dash{white-space:nowrap;height:34px!important;padding:0 12px!important;font-size:13px!important;display:inline-flex;align-items:center;gap:6px}
/* Kris Kringle page (More → Kris Kringle) */
.kkp-page{max-width:1200px}
.kkp-stats{margin:8px 0 26px}
.kkp-stats .stat small{display:block;color:var(--g60);font-size:12.5px;margin-top:4px}
.kkp-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:24px;align-items:start}
@media (max-width:900px){ .kkp-grid{grid-template-columns:1fr} }
.kkp-card{position:relative;overflow:hidden}
.kkp-card h3{margin:14px 0 6px;font-size:20px}
.kkp-announce{background:linear-gradient(135deg,rgba(45,225,253,.08),rgba(252,49,187,.08) 55%,rgba(255,122,0,.08))}
.kkp-ic{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2DE1FD,#A98BE6 40%,#FC31BB 70%,#FF7A00)}
.kkp-ic svg{stroke:#fff}
.kkp-ic2{background:var(--ink)}
.kkp-card .field{margin-top:16px}
.kkp-card textarea{width:100%}
.kkp-acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px}
.ppl-home{min-width:230px}
.ppl-home .cs{max-width:250px}
.ppl-unsaved{color:#b0127f!important;font-weight:600}
.ppl-rolecell{min-width:160px}
.ppl-roles{font-size:12.5px;margin-left:4px}
.spill.ppl-auto{background:rgba(169,139,230,.16);color:#5b3fa8}
.ppl-save{position:sticky;top:76px;z-index:5;display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:12px 16px;border-radius:14px;background:#111;color:#fff;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.ppl-save[hidden]{display:none}
.ppl-save .btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.ppl-save .btn-primary{background:#fff;color:#111}
.ppl-save .lu{vertical-align:-3px}
.ppl-save .sp{flex:1}
/* The brief's PDF keeps its colours (label shading, brand bar) - browsers drop backgrounds when printing unless asked. */
.br-print,.br-print *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
/* Kris Kringle page: settings, preview, announce */
.kkp-page > .panel{margin-bottom:24px}
.kkp-h{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px}
.kkp-h h3{margin:2px 0 4px;font-size:20px}
.kkp-num{flex:none;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:700;color:#fff;background:linear-gradient(135deg,#2DE1FD,#A98BE6 40%,#FC31BB 70%,#FF7A00)}
.kkp-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start;margin-bottom:16px}
@media (max-width:820px){
  .kkp-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:760px){.kkp-fields{grid-template-columns:minmax(0,1fr)}} }

.kkp-mail-card{width:min(620px,94vw)}
.kkp-mail{border:1px solid var(--line-2);border-radius:14px;padding:22px 24px;font-size:15px;line-height:1.55;background:#fff;color:#111}
.kkp-mail-h{display:flex;gap:10px;align-items:baseline;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--line)}
.kkp-mail-h span{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--g60)}
.kkp-mail-btn{display:inline-block;padding:10px 18px;border-radius:999px;background:#111;color:#fff!important;text-decoration:none;font-weight:600}
.kkp-mail-f{color:var(--g60);font-size:13px}
/* Sign out: always the compact round icon in the header (like the clock), the word only on hover as a tooltip. */
body header.app #hd-signout{font-size:0;gap:0;padding:0;width:36px;height:36px;border-radius:50%;justify-content:center}
body header.app #hd-signout .btn-ico{margin:0}
/* Kris Kringle elves page */
.elf-top{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:6px 0 18px}
.elf-top .sp{flex:1}
.elf-sum{display:inline-flex;align-items:center;gap:8px;font-size:15px}
.elf-missing{margin:-6px 0 16px}
.elf-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}
.elf-card{border:1px solid var(--line-2);border-radius:18px;background:var(--panel);overflow:hidden;display:flex;flex-direction:column}
.elf-card.st-failed{border-color:#FC31BB}
.elf-pics{position:relative;aspect-ratio:1/1;background:radial-gradient(circle at 50% 40%,rgba(252,49,187,.10),rgba(45,225,253,.08) 60%,var(--sunken))}
.elf-main{position:absolute;inset:0;display:grid;place-items:center}
.elf-main img{width:100%;height:100%;object-fit:contain}
.elf-none{color:var(--g60);font-size:13px;display:grid;place-items:center}
.elf-from{position:absolute;right:10px;bottom:10px;width:54px;height:54px;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.15);background:var(--sunken);display:grid;place-items:center;font-size:9px;color:var(--g60);text-align:center}
.elf-from img{width:100%;height:100%;object-fit:cover}
.elf-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px}
.elf-body b{font-size:15px}
.elf-st{font-size:12.5px;color:var(--g60)}
.elf-card.st-failed .elf-st{color:#b0127f;font-weight:600}
.elf-ask{color:var(--ink-2);font-size:12.5px}
.elf-err{color:#b0127f;font-size:12px}
.elf-redo{display:flex;gap:8px;margin-top:6px}
.elf-redo input{flex:1;min-width:0;height:36px;padding:0 12px;border:1px solid var(--line-2);border-radius:10px;font:inherit;font-size:13px;background:var(--panel);color:var(--ink)}
.elf-redo input:focus{outline:0;border-color:var(--magenta)}
.elf-redo .btn{height:36px!important;padding:0 12px!important;font-size:13px!important;display:inline-flex;align-items:center;gap:6px}
.elf-fresh{align-self:flex-start;font-size:12.5px}
/* Scores: choose your sports - a round button beside the arrows, and the picker with a Done */
.sc-choose{width:44px;height:44px;border-radius:50%;border:1px solid var(--line-2);background:var(--panel);color:var(--ink-2);display:grid;place-items:center;cursor:pointer;flex:none;margin-left:8px}
.sc-choose:hover,.sc-choose[aria-expanded="true"]{border-color:var(--magenta);color:var(--magenta)}
.sc-pick-h{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:10px}
.sc-pick-h p{margin:0;font-weight:600}
.sc-pick-done{height:34px!important;padding:0 16px!important;font-size:13px!important}
/* Kris Kringle announcement pop-up */
.kk-ann-facts{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 4px}
.kk-ann-facts span{flex:1 1 140px;padding:10px 14px;border-radius:12px;background:linear-gradient(135deg,rgba(45,225,253,.10),rgba(252,49,187,.10))}
.kk-ann-facts small{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--g60)}
.kk-ann-facts b{font-size:15px}
.kk-ann-note{margin:12px 0 0;padding:12px 14px;border-left:3px solid #FC31BB;background:rgba(252,49,187,.05);border-radius:0 10px 10px 0}
.kk-ann-lead{margin:16px 0 8px;font-weight:600}
.kk-tabs{display:flex;gap:8px;margin:0 0 18px}
.kk-tabs a{text-decoration:none}
.ppl-btns{white-space:nowrap}
.ppl-btns .ppl-dash + .ppl-dash{margin-left:6px}
/* Kris Kringle and its elves: the full width of the page container */
.kkp-page{max-width:none;width:100%}
.kkp-page .sec-head p{max-width:820px}
.elf-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
/* Search: On the dashboard */
.hh-sec{margin:6px 0 18px}
.hh-mark{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#2DE1FD,#A98BE6 40%,#FC31BB 70%,#FF7A00)}
.hh-mark svg{stroke:#fff}
.hh-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:10px}
.hh-item{position:relative;display:flex;border:1px solid var(--line-2);border-radius:14px;background:var(--panel);transition:border-color .15s}
.hh-item:hover{border-color:var(--magenta)}
.hh-go{flex:1;display:flex;gap:12px;align-items:flex-start;text-align:left;padding:12px 14px;border:0;background:none;cursor:pointer;color:inherit;font:inherit;min-width:0}
.hh-ic{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:rgba(252,49,187,.08);color:#b0127f}
.hh-t{display:flex;flex-direction:column;gap:2px;min-width:0}
.hh-t small{font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--g60)}
.hh-t b{font-size:14.5px;line-height:1.3}
.hh-t span{font-size:12.5px;color:var(--g60);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.hh-out{align-self:flex-start;margin:10px 12px 0 0;color:var(--g60);text-decoration:none;font-size:15px}
.hh-out:hover{color:var(--magenta)}
@keyframes hh-flash{0%,100%{box-shadow:0 0 0 0 rgba(252,49,187,0)}30%{box-shadow:0 0 0 4px rgba(252,49,187,.45)}}
.hb.hh-flash{animation:hh-flash 1.6s ease-in-out 2;border-radius:20px}
/* Holiday logos page */
.hl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
.hl-card{border:1px solid var(--line-2);border-radius:18px;background:var(--panel);overflow:hidden;display:flex;flex-direction:column}
.hl-card.on{border-color:var(--magenta);box-shadow:0 0 0 3px rgba(252,49,187,.12)}
.hl-stage{height:170px;display:grid;place-items:center;padding:56px 28px 28px;background:radial-gradient(circle at 50% 30%,rgba(252,49,187,.08),rgba(45,225,253,.06) 60%,var(--sunken))}
.hl-stage .logo-hatted{width:100%;max-width:240px}
.hl-stage .logo-svg{width:100%;height:auto;color:var(--ink)}
.hl-body{padding:14px 18px 18px;display:flex;flex-direction:column;gap:4px}
.hl-body b{font-size:16px}
.hl-body span{font-size:13px;color:var(--g60)}
.hl-now,.hl-soon{align-self:flex-start;margin-top:4px;padding:3px 10px;border-radius:999px;font-style:normal;font-size:11.5px;font-weight:600;background:rgba(252,49,187,.12);color:#b0127f}
.hl-soon{background:rgba(45,225,253,.16);color:#0b6b7a}
.hl-try{align-self:flex-start;margin-top:8px;font-size:13px}
.spill.ppl-intern{background:rgba(255,122,0,.14);color:#a84a00}
/* Experience matrix */
.mx-tools{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 18px}
.mx-tools .sp{flex:1}
.mx-views{display:flex;gap:8px}
.mx-views .fchip{display:inline-flex;align-items:center;gap:6px}
.mx-q{max-width:320px}
.mx-tools .cs{min-width:200px}
.mx-wrap{overflow:auto;border:1px solid var(--line-2);border-radius:16px;background:var(--panel);max-height:72vh}
.mx-tbl{border-collapse:separate;border-spacing:0;font-size:13px}
.mx-tbl th,.mx-tbl td{border-bottom:1px solid var(--line);border-right:1px solid var(--line)}
.mx-tbl thead th{position:sticky;top:0;z-index:2;background:var(--panel)}
.mx-corner{position:sticky;left:0;z-index:3!important;min-width:230px;text-align:left;padding:10px 14px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--g60);font-weight:600;vertical-align:bottom}
.mx-col{height:150px;width:46px;min-width:46px;vertical-align:bottom;padding:8px 0}
.mx-col span{display:block;writing-mode:vertical-rl;transform:rotate(180deg);margin:0 auto;font-weight:600;font-size:12px;white-space:nowrap;max-height:140px;overflow:hidden;text-overflow:ellipsis}
.mx-row{position:sticky;left:0;z-index:1;background:var(--panel);text-align:left;padding:8px 14px;font-weight:600;white-space:nowrap}
.mx-tbl td{text-align:center;padding:4px}
.mx-cell{width:36px;height:30px;border:0;border-radius:8px;cursor:pointer;font:inherit;font-weight:700;font-size:12.5px;color:#fff;background:rgba(252,49,187,var(--h));text-shadow:0 1px 1px rgba(0,0,0,.15)}
.mx-cell:hover,.mx-cell.on{outline:2px solid #111;outline-offset:1px}
.mx-0{color:var(--line-2)}
.mx-tot{font-weight:700;color:var(--ink-2);background:var(--sunken)}
.mx-picked{margin-top:20px;border:1px solid var(--line-2);border-radius:16px;padding:16px 18px;background:var(--panel)}
.mx-picked-h{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.mx-picked-h .sp{flex:1}
.mx-picked-h span{color:var(--g60);font-size:13px}
.mx-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}
.mx-card{display:flex;flex-direction:column;border:1px solid var(--line-2);border-radius:14px;overflow:hidden;text-decoration:none;color:inherit;background:var(--panel)}
.mx-card:hover{border-color:var(--magenta)}
.mx-card img,.mx-noimg{width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--sunken);display:grid;place-items:center;color:var(--g60)}
.mx-card > span{padding:10px 12px;display:flex;flex-direction:column;gap:3px}
.mx-card small{color:var(--g60);font-size:12px}
.mx-list td{vertical-align:top}
.mx-list td small{display:block;color:var(--g60);font-size:12px;margin-top:3px;max-width:420px}
.mx-list a{color:inherit;text-decoration:none}
.mx-th img{width:72px;height:48px;object-fit:cover;border-radius:8px;display:block}
.mx-tag{display:inline-block;margin:2px 4px 2px 0;padding:2px 8px;border-radius:6px;background:rgba(252,49,187,.08);color:#b0127f;font-size:11.5px;white-space:nowrap}
.mx-tag.s{background:rgba(45,225,253,.12);color:#0b6b7a}
.mx-sort{border:0;background:none;font:inherit;color:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;padding:0}
.mx-sort.on{color:var(--ink)}
.mx-up{white-space:nowrap;color:var(--g60);font-size:12.5px}
/* Phones: Briefs and Experiences, tidier */
@media (max-width:760px){
  /* Briefs: the three steps in two columns - Sent in and Assigned side by side, Actioned across the bottom */
  .br-home .bri-links{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .br-home .bri-stat{padding:16px 16px 18px;gap:4px}
  .br-home .bri-stat + .bri-stat{border-left:0}
  .br-home .bri-stat:nth-child(1){border-right:1px solid var(--g20,var(--line))}
  .br-home .bri-stat:nth-child(3){grid-column:1 / -1;border-top:1px solid var(--g20,var(--line));flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:12px}
  .br-home .bri-stat:nth-child(3) .bri-k{flex:1 1 100%}
  .br-home .bri-stat:nth-child(3) .bri-go{margin-left:auto}
  .br-home .bri-stat:nth-child(2){border-top:0}
  .br-home .bri-stat .bri-n{font-size:30px;line-height:1.05}
  .br-home .bri-stat small{font-size:12.5px;line-height:1.35}
  .br-home .bri-stat .bri-k{font-size:11px}
  .br-home .br-top-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
  .br-home .br-top-acts .btn{width:100%;justify-content:center}
  /* Experiences: icon above the words, the latest as a small card, the buttons in two columns */
  .xe{padding:18px;gap:14px}
.xe-in{flex-direction:column;gap:12px}
.xe-in b{font-size:17px}
.xe-in p{font-size:13.5px}
.xe-acts{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center}
.xe-acts .btn{width:100%;justify-content:center;padding:0 12px!important;font-size:14px}
.xe-acts .linkish{justify-self:center;text-align:center;font-size:14px}
.xe-find{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:8px}
.xe-find input{min-width:0}
}
@media (max-width:760px){
  .xe-acts > :only-child{grid-column:1 / -1;justify-self:start}
  .br-home .br-top-acts > :only-child{grid-column:1 / -1}
}
@media (max-width:760px){
  .br-home .br-top-acts{display:flex!important;gap:10px}
  .br-home .br-top-acts .btn{flex:1 1 0}
}
/* ── Always in the frame of the device ─────────────────────────────────────
   Nothing may make a phone's page wider than its screen (which lets it slide sideways, or open zoomed out):
   the page clips anything past its edges, the closed chat panel no longer waits off to the right, the colour
   wash stays inside, and section headings wrap. iOS also zooms in on any text box under 16px and stays zoomed -
   so on phones they're all 16px. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:clip;max-width:100vw}
.chat:not(.open){transform:none!important;clip-path:inset(0 0 0 100%);opacity:0;pointer-events:none}
.chat{transition:clip-path .38s cubic-bezier(.2,.8,.2,1),opacity .25s ease!important}
.chat.open{clip-path:inset(0);opacity:1}
@media (max-width:760px){
  .hub-wash,#tab-home .hub-wash{right:0!important;width:100%!important;max-width:100vw}
  .hb > .row-head{flex-wrap:wrap;row-gap:10px;min-width:0}
  .hb > .row-head > div{min-width:0;max-width:100%}
  .hb > .row-head .eyebrow{white-space:normal;overflow-wrap:anywhere}
  input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}
  img,video,iframe,svg{max-width:100%}
}
@media (max-width:760px){
  .hb .row-head{flex-wrap:wrap!important}
  .hb .row-head .ac-search{margin-left:auto}
  .iw-glow{max-width:100%}
  .iw,.iw-hero,.ind-welcome{overflow:hidden}
}
@media (max-width:760px){
  /* Eyebrow headings (one line, 48px high): the words may wrap, so what sits beside them stays on screen */
  .hb.hb-eb > .row-head,.hb.hb-fh > .row-head.fun-rh{height:auto!important}
  .hb.hb-eb > .row-head > div:first-child,.hb.hb-fh > .row-head.fun-rh > div:first-child{flex:1 1 auto;min-width:0}
  .hb.hb-eb > .row-head .eyebrow{white-space:normal}
  .hb .row-head > .ac-search,.hb .row-head > .hub-input{flex:none}
  .hb .row-head .ac-search:focus-within{width:min(240px,calc(100vw - 48px))}
}
/* Kris Kringle: are you in? */
.kk-rsvp-btns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.kk-rsvp-btns button{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:16px 18px;border-radius:16px;border:1.5px solid var(--line-2);background:var(--panel);cursor:pointer;text-align:left;font:inherit;color:var(--ink);transition:border-color .15s,transform .15s,box-shadow .15s}
.kk-rsvp-btns button span{font-size:26px;line-height:1}
.kk-rsvp-btns button b{font-size:16px}
.kk-rsvp-btns button small{color:var(--g60);font-size:12.5px}
.kk-rsvp-btns .kk-yes{border-color:#FC31BB;background:linear-gradient(135deg,rgba(252,49,187,.08),rgba(255,122,0,.06))}
.kk-rsvp-btns button:hover{transform:translateY(-2px);box-shadow:0 10px 24px -14px rgba(0,0,0,.35)}
.kk-ann-in{display:flex;align-items:center;gap:8px;margin:14px 0 0;padding:10px 14px;border-radius:12px;background:rgba(45,225,253,.12);color:#0b6b7a;font-weight:600;font-size:14px}
.kk-rsvp-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 14px;margin:14px 0;padding:14px 16px;border-radius:14px;background:linear-gradient(135deg,rgba(252,49,187,.10),rgba(255,122,0,.08));border:1px solid rgba(252,49,187,.25)}
.kk-rsvp-bar span{display:flex;gap:8px;flex-wrap:wrap}
.kk-rsvp-bar.out{background:var(--sunken);border-color:var(--line-2);font-size:13.5px;color:var(--g60)}
.kkp-rsvp{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;font-style:normal;font-size:10.5px;font-weight:700;vertical-align:1px}
.kkp-rsvp.y{background:rgba(45,225,253,.18);color:#0b6b7a}
.kkp-rsvp.n{background:var(--sunken);color:var(--g60)}
.kkp-rsvp.w{background:rgba(255,122,0,.14);color:#a84a00}
@media (max-width:520px){
  .kk-rsvp-btns{grid-template-columns:1fr} }
/* Quote of the day: bigger on large screens; on phones the mark and the heart on top, the quote full width under
   them, then "Quote of the day" and who said it. */
@media (min-width:1100px){
  .qd{column-gap:34px!important;padding:18px 0!important}
.qd-mark{font-size:150px!important;margin-top:10px}
.qd blockquote{font-size:clamp(32px,2.7vw,50px)!important;line-height:1.22;font-weight:500;max-width:1100px}
.qd figcaption{margin-top:18px;font-size:17px;gap:16px}
.qd-k{font-size:12.5px}
.qd-swap{height:56px!important;font-size:15px!important;padding:0 24px 0 16px!important}
}
@media (max-width:700px){
  .qd{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"mark swap" "q q" "cap cap";column-gap:12px!important;row-gap:4px;padding:6px 0!important;align-items:center}
.qd-mark{grid-area:mark;grid-row:auto!important;font-size:64px!important;line-height:.7;margin:0;height:38px;overflow:visible}
.qd-swap{grid-area:swap;grid-column:auto!important;grid-row:auto!important;align-self:center;width:44px!important;height:44px!important;margin:0!important}
.qd blockquote{grid-area:q;font-size:24px!important;line-height:1.3;margin-top:6px}
.qd figcaption{grid-area:cap;flex-direction:column;align-items:flex-start;gap:6px;margin-top:12px;font-size:15px}
.qd-k{font-size:11px;white-space:nowrap}
}
/* Holiday logos: each card in its holiday's colours, the logo in white, the decoration dropping on with a bounce
   and swaying gently; cards come in one after another; hover (or tap) drops it on again. */
.hl-card{animation:hl-in .6s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i,0) * 60ms);transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.hl-card:hover{transform:translateY(-4px);box-shadow:0 22px 40px -24px rgba(20,10,40,.45)}
@keyframes hl-in{from{opacity:0;transform:translateY(18px) scale(.98)}to{opacity:1;transform:none}}
.hl-stage{position:relative;overflow:hidden;height:190px!important;cursor:pointer;--a:#1B1330;--b:#4A1D5E;--c:#C1287F;background:radial-gradient(120% 90% at 20% 0%,var(--c) 0%,transparent 55%),linear-gradient(135deg,var(--a),var(--b))!important}
.hl-stage .logo-svg path{fill:#fff}
.hl-stage .logo-hatted{filter:drop-shadow(0 6px 14px rgba(0,0,0,.35))}
.hl-stage .logo-hat{animation:hl-drop .9s cubic-bezier(.3,1.6,.5,1) both,hl-sway 3.2s ease-in-out .9s infinite;animation-delay:calc(var(--i,0) * 60ms + .25s),calc(var(--i,0) * 60ms + 1.15s)}
.hl-card.hl-play .logo-hat{animation:hl-drop .9s cubic-bezier(.3,1.6,.5,1) both,hl-sway 3.2s ease-in-out .9s infinite}
@keyframes hl-drop{0%{opacity:0;translate:0 -140%;scale:.6}60%{opacity:1;translate:0 8%;scale:1.08}80%{translate:0 -4%;scale:.97}100%{opacity:1;translate:0 0;scale:1}}
@keyframes hl-sway{0%,100%{rotate:0deg}25%{rotate:-6deg}75%{rotate:6deg}}
/* A soft sparkle drifting across each stage */
.hl-spark{position:absolute;inset:-40%;background:radial-gradient(circle at 30% 40%,rgba(255,255,255,.18),transparent 22%),radial-gradient(circle at 75% 70%,rgba(255,255,255,.12),transparent 18%);animation:hl-drift 9s ease-in-out infinite alternate;pointer-events:none}
@keyframes hl-drift{from{transform:translate(-6%,-4%)}to{transform:translate(6%,5%)}}
.hl-card.on{box-shadow:0 0 0 3px rgba(252,49,187,.35),0 20px 40px -22px rgba(252,49,187,.6)!important;animation:hl-in .6s cubic-bezier(.2,.8,.2,1) both,hl-glow 2.6s ease-in-out .8s infinite}
@keyframes hl-glow{0%,100%{box-shadow:0 0 0 3px rgba(252,49,187,.30),0 20px 40px -22px rgba(252,49,187,.55)}50%{box-shadow:0 0 0 5px rgba(252,49,187,.18),0 24px 50px -18px rgba(255,122,0,.6)}}
/* Each holiday's colours */
.hl-card[data-k="halloween"] .hl-stage{--a:#120a1c;--b:#2a1033;--c:#f2690f}
.hl-card[data-k="christmas"] .hl-stage{--a:#0f3b25;--b:#14532d;--c:#c81e3a}
.hl-card[data-k="newyear"] .hl-stage{--a:#0b1026;--b:#1e1b4b;--c:#d4a017}
.hl-card[data-k="easter"] .hl-stage{--a:#6d4fa3;--b:#a77bd6;--c:#ffd36e}
.hl-card[data-k="orthodoxeaster"] .hl-stage{--a:#5b0f14;--b:#8f1d24;--c:#e6b34a}
.hl-card[data-k="stpatricks"] .hl-stage{--a:#064e2b;--b:#0f7a3d;--c:#7ed957}
.hl-card[data-k="valentines"] .hl-stage{--a:#7a0f3a;--b:#c2185b;--c:#ff8fb8}
.hl-card[data-k="melbournecup"] .hl-stage{--a:#1d1b3a;--b:#3b2f63;--c:#FC31BB}
.hl-card[data-k="diwali"] .hl-stage{--a:#3b0d0c;--b:#7c2d12;--c:#f59e0b}
.hl-card[data-k="lunarnewyear"] .hl-stage{--a:#5f0a0a;--b:#b91c1c;--c:#fbbf24}
.hl-card[data-k="roshhashanah"] .hl-stage{--a:#1e2a5a;--b:#2f3f86;--c:#e8b84a}
.hl-card[data-k="passover"] .hl-stage{--a:#2b2350;--b:#3f3577;--c:#d9b46b}
.hl-card[data-k="hanukkah"] .hl-stage{--a:#0c2a5b;--b:#1d4ed8;--c:#93c5fd}
.hl-card[data-k="ramadan"] .hl-stage{--a:#0b2239;--b:#123b5c;--c:#e6c065}
.hl-card[data-k="eid"] .hl-stage{--a:#06352f;--b:#0f5e55;--c:#f2d27c}
@media (prefers-reduced-motion:reduce){
  .hl-card,.hl-stage .logo-hat,.hl-spark,.hl-card.on{animation:none!important} }
/* Orthodox Easter: like Halloween's pumpkin, the red egg takes the place of the logo's C - with the C painted on it in gold. */
.hat-orthodoxeaster .logo-svg g > path:first-child{opacity:0}
.hat-orthodoxeaster .logo-hat{left:-1.6%!important;bottom:-34%!important;width:10.4%!important;transform:none!important;filter:drop-shadow(0 2px 4px rgba(110,10,18,.35))}
/* ── Holiday decorations: where each sits on the logo (one place for all of them) ──────────────
   Sizes are a share of the logo's width, heights from its baseline. Things worn sit on the C (the bunny's ears
   behind it); things that stand stand on top of the C; the pumpkin and the red egg take the C's place. */
.logo-hatted .logo-hat{transform:none!important;transform-origin:50% 100%}
.hat-christmas .logo-hat{left:-2.4%!important;bottom:56%!important;width:15%!important;rotate:-10deg}
.hat-easter.logo-hatted{isolation:isolate}
.hat-easter .logo-hat{left:-2.2%!important;bottom:62%!important;width:13%!important;z-index:-1}
.hat-newyear .logo-hat{left:-3.4%!important;bottom:66%!important;width:24%!important;rotate:-4deg}
.hat-melbournecup .logo-hat{left:-4.4%!important;bottom:40%!important;width:14%!important;rotate:-14deg}
.hat-diwali .logo-hat{left:-9%!important;bottom:50%!important;width:26%!important}
.hat-hanukkah .logo-hat{left:-3.7%!important;bottom:92%!important;width:15%!important}
.hat-lunarnewyear .logo-hat{left:-4.1%!important;bottom:48%!important;width:11%!important;rotate:6deg}
.hat-valentines .logo-hat{left:-3.6%!important;bottom:44%!important;width:13%!important;rotate:-8deg}
.hat-ramadan .logo-hat{left:-2.3%!important;bottom:80%!important;width:12%!important}
.hat-stpatricks .logo-hat{left:-3.7%!important;bottom:56%!important;width:15%!important;rotate:-8deg}
.hat-eid .logo-hat{left:-4.2%!important;bottom:48%!important;width:13%!important;rotate:-6deg}
.hat-passover .logo-hat{left:-3.3%!important;bottom:82%!important;width:14%!important;rotate:-4deg}
.hat-roshhashanah .logo-hat{left:-1.4%!important;bottom:88%!important;width:15%!important}
.hat-orthodoxeaster .logo-hat{left:-1.6%!important;bottom:-19%!important;width:10.7%!important}
/* Second pass: a touch bigger, each re-seated */
.hat-christmas .logo-hat{left:-3.3%!important;bottom:49%!important;width:18%!important}
.hat-easter .logo-hat{left:-3%!important;bottom:66%!important;width:15%!important}
.hat-newyear .logo-hat{left:-5.7%!important;bottom:67%!important;width:30%!important}
.hat-melbournecup .logo-hat{left:-6%!important;bottom:19%!important;width:18%!important}
.hat-diwali .logo-hat{left:-10.5%!important;bottom:52%!important;width:30%!important}
.hat-hanukkah .logo-hat{left:-4.8%!important;bottom:96%!important;width:17%!important}
.hat-ramadan .logo-hat{left:-3.3%!important;bottom:80%!important;width:14%!important}
.hat-roshhashanah .logo-hat{left:-2.1%!important;bottom:91%!important;width:17%!important}
.hat-passover .logo-hat{left:-4.2%!important;bottom:82%!important;width:16%!important}
.hat-lunarnewyear .logo-hat{left:-5.6%!important;bottom:26%!important;width:14%!important}
.hat-valentines .logo-hat{left:-4.6%!important;bottom:27%!important;width:16%!important}
.hat-eid .logo-hat{left:-6%!important;bottom:30%!important;width:16%!important}
.hat-stpatricks .logo-hat{left:-4.8%!important;bottom:49%!important;width:17%!important}
.hat-orthodoxeaster .logo-hat{left:-2.3%!important;bottom:-25%!important;width:12%!important}
.hat-lunarnewyear .logo-hat{left:-7%!important;bottom:14%!important;width:18%!important}
.hat-ramadan .logo-hat{left:-5%!important;bottom:80%!important;width:18%!important}
.hat-lunarnewyear .logo-hat{left:-10%!important;bottom:22%!important}
/* Arrange, floating: bottom left on Home once the bar's own button is out of sight */
.hb-fab{position:fixed;left:22px;bottom:22px;z-index:70;display:inline-flex;align-items:center;gap:9px;height:48px;padding:0 20px 0 16px;border:0;border-radius:999px;cursor:pointer;
  font:inherit;font-size:14px;font-weight:700;color:#fff;background:linear-gradient(115deg,#6B1773,#FC31BB 55%,#FF7A00);box-shadow:0 14px 30px -12px rgba(252,49,187,.7),0 2px 6px rgba(0,0,0,.12);
  animation:hb-fab-in .35s cubic-bezier(.2,.8,.2,1) both;transition:transform .2s,box-shadow .2s}
.hb-fab:hover{transform:translateY(-2px);box-shadow:0 18px 34px -12px rgba(252,49,187,.8)}
.hb-fab[hidden]{display:none}
.hb-fab.done{background:#111;box-shadow:0 14px 30px -12px rgba(0,0,0,.6)}
.hb-fab-ic{display:grid;place-items:center}
body.has-ticker .hb-fab{bottom:62px}
body.sheet-open .hb-fab,body:has(#chat[aria-hidden="false"]) .hb-fab{opacity:0;pointer-events:none}
@keyframes hb-fab-in{from{opacity:0;transform:translateY(14px) scale(.9)}to{opacity:1;transform:none}}
@media (max-width:600px){
  .hb-fab{left:14px;bottom:14px;height:52px;padding:0 18px 0 15px}
  body.has-ticker .hb-fab{bottom:54px}
}
@media (max-width:380px){ .hb-fab:not(.done) .hb-fab-t{display:none} .hb-fab:not(.done){width:52px;padding:0;justify-content:center} }
@media (prefers-reduced-motion:reduce){ .hb-fab{animation:none} }
/* Holiday logos on a clean white stage: dark logo, each holiday's colour kept as a faint sparkle */
.hl-stage{background:#fff!important;border-bottom:1px solid var(--line-2)}
.hl-stage .logo-svg path{fill:#1B1330}
.hl-stage .logo-hatted{filter:drop-shadow(0 6px 12px rgba(20,10,40,.12))}
.hl-spark{background:radial-gradient(circle at 30% 40%,color-mix(in srgb,var(--c) 16%,transparent),transparent 22%),radial-gradient(circle at 75% 70%,color-mix(in srgb,var(--c) 10%,transparent),transparent 18%)}
/* Org chart: the two directors side by side at the top, over every team */
.org-pair{position:relative;display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:16px 12px 12px;border:1.5px dashed color-mix(in srgb,var(--magenta) 45%,var(--line-2));border-radius:22px;background:color-mix(in srgb,var(--magenta) 4%,var(--panel))}
.org-pair-t{position:absolute;top:-10px;left:50%;transform:translateX(-50%);padding:1px 10px;border-radius:999px;background:var(--panel);border:1px solid var(--line-2);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);white-space:nowrap}
.org-duo.shut > ul{display:none}
.org-pair .oc-n{display:none}
/* Administration → Corrections */
.cx-row{display:grid;grid-template-columns:minmax(160px,1fr) 2.4fr;gap:10px 14px;padding:14px 0;border-top:1px solid var(--line-2)}
.cx-row:first-child{border-top:0}
.cx-row.off{opacity:.55}
.cx-f{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:600;color:var(--muted)}
.cx-f input,.cx-f textarea{font:inherit;font-size:14px;font-weight:400;color:var(--ink);padding:9px 11px;border:1px solid var(--line-2);border-radius:10px;background:var(--panel);resize:vertical}
.cx-opts{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:13px}
.cx-chk{display:inline-flex;align-items:center;gap:6px;cursor:pointer}
.cx-opts .cx-del{margin-left:auto}
@media (max-width:700px){ .cx-row{grid-template-columns:1fr} }
/* Experiences: Project IDs from Paymo (admins) */
.xp-card{margin:0 0 16px;padding:14px 16px;border:1px solid var(--line-2);border-radius:16px;background:var(--panel)}
.xp-top{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.xp-top b{display:block;font-size:14px}
.xp-top span{font-size:13px;color:var(--muted)}
.xp-top .sp{flex:1}
.xp-list{margin:10px 0 0;padding:0;list-style:none;font-size:13px;display:grid;gap:4px;max-height:220px;overflow:auto}
.xp-list b{display:inline-block;min-width:72px;font-variant-numeric:tabular-nums}
.xp-list small{color:var(--muted)}
.xp-left{margin-top:10px;font-size:13px}
.xp-left summary{cursor:pointer;color:var(--muted)}
/* A new version is live: a bar floating at the bottom (as in the Replicate console), above the news ticker */
.update-bar{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:1200;display:flex;align-items:center;gap:16px;max-width:calc(100% - 32px);padding:12px 12px 12px 20px;border-radius:14px;background:#1b1330;color:#fff;font-size:14.5px;line-height:1.35;box-shadow:0 18px 40px -14px rgba(0,0,0,.55);animation:ub-in .45s cubic-bezier(.2,.8,.2,1) both}
.update-bar .btn{background:var(--magenta);color:#fff;border:0;height:38px;padding:0 18px;white-space:nowrap;border-radius:999px}
.update-bar .btn:hover{background:#fff;color:#111}
body.has-ticker .update-bar{bottom:62px}
@keyframes ub-in{from{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%,0)}}
@media (max-width:600px){ .update-bar{left:16px;right:16px;transform:none;max-width:none;font-size:13.5px;gap:10px} @keyframes ub-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}} }
@media (prefers-reduced-motion:reduce){ .update-bar{animation:none} }
.xp-near{display:flex;align-items:center;gap:10px;justify-content:space-between;padding:4px 0;border-top:1px solid var(--line-2)}
.xp-near:first-child{border-top:0}
.xp-near .btn{flex:none;height:30px;padding:0 12px}
.xp-all{margin:8px 0 2px}
.xp-left .xp-list{max-height:340px}
/* Long pop-ups (New brief, the experience form…): any taller than the screen scroll, and show it - a scrollbar
   that's always there (Macs hide theirs until you scroll), no backdrop blur on them (it stops Safari scrolling
   them with the wheel), and the buttons kept at the bottom of the screen while the form scrolls. */
.hub-modal{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.55) transparent}
.hub-modal::-webkit-scrollbar{width:12px}
.hub-modal::-webkit-scrollbar-track{background:transparent}
.hub-modal::-webkit-scrollbar-thumb{background:rgba(255,255,255,.5);border-radius:8px;border:3px solid transparent;background-clip:padding-box}
.hub-modal::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.75);background-clip:padding-box}
.hm-card{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.3) transparent}
@media (min-width:721px){
  .hub-modal:has(.rf-card){-webkit-backdrop-filter:none;backdrop-filter:none}
  .rf-card .hm-acts{position:sticky;bottom:-40px;z-index:3;padding:14px 0 22px;background:var(--panel);box-shadow:0 -1px 0 var(--line-2),0 -14px 18px -14px rgba(0,0,0,.12)}
}
/* Melbourne Cup: the racehorse takes the logo's C - the C is its number */
.hat-melbournecup .logo-svg g > path:first-child{opacity:0}
.hat-melbournecup .logo-hat{left:-17.5%!important;bottom:-36%!important;width:33%!important;rotate:0deg!important;transform:none!important;filter:drop-shadow(0 2px 3px rgba(40,20,10,.3))}
/* See all experiences: a button that says it leaves for the Experiences site */
.xe-acts .xe-site{display:inline-flex;align-items:center;gap:8px}
.xe-acts .xe-site svg{opacity:.75}
/* Phones: floating buttons out of the way of what you're reading - they slide off while scrolling down and
   return on the way up; Arrange is a round icon button (its words are on the button's label). */
.chat-fab{transition:translate .28s cubic-bezier(.2,.8,.2,1),opacity .2s,transform .25s cubic-bezier(.22,1,.36,1),box-shadow .25s ease,background-position .4s ease}
.cmp-fab,.hb-fab{transition:translate .28s cubic-bezier(.2,.8,.2,1),opacity .2s,transform .2s ease,box-shadow .2s ease}
@media (max-width:720px){
  body.fabs-away .chat-fab,body.fabs-away .cmp-fab{translate:calc(100% + 32px) 0;opacity:0;pointer-events:none}
  body.fabs-away .hb-fab:not(.done){translate:calc(-100% - 32px) 0;opacity:0;pointer-events:none}
  .hb-fab:not(.done){width:52px;padding:0;justify-content:center}
  .hb-fab:not(.done) .hb-fab-t{display:none}
  /* The Melbourne Cup horse runs out past the logo's left edge: room for it */
  .hd-mark .hat-melbournecup{margin-left:16px}
}
@media (prefers-reduced-motion:reduce){ .chat-fab,.cmp-fab,.hb-fab{transition:opacity .2s} body.fabs-away .chat-fab,body.fabs-away .cmp-fab,body.fabs-away .hb-fab{translate:none} }

/* Studio notices: a strip right across the screen under the header, its words lined up with the page.
   A public holiday coming up and Kris Kringle's "are you in?" sit in it too. */
.notice-bar{width:100vw;max-width:none;margin:-32px calc(50% - 50vw) 24px;display:grid;gap:0}
.notice-bar .nb-item{border-radius:0;align-items:center;padding:12px max(20px, calc((100vw - var(--page-w)) / 2 + 20px))}
.notice-bar .nb-item + .nb-item{border-top:1px solid rgba(14,74,87,.14)}
.notice-bar .nb-item > div:not(.nb-acts){flex:1;min-width:0}
.notice-bar .nb-item span{display:block}
.notice-bar .nb-hol{background:#D5F8FF;color:#0E4A57}
.notice-bar .nb-kk{background:#FFE3F1;color:#5A1238}
.notice-bar .nb-kk + .nb-item,.notice-bar .nb-item + .nb-kk{border-top-color:rgba(90,18,56,.14)}
.nb-emoji{font-size:17px;line-height:1}
/* Each notice: the icon in a white badge, the title and its words on one line where there's room, × to close. */
.notice-bar .nb-item{gap:14px;padding-top:10px;padding-bottom:10px;background:linear-gradient(90deg,#E4FBFF,#CFF5FF)}
.notice-bar .nb-kk{background:linear-gradient(90deg,#FFEEF6,#FFDDEE)}
.notice-bar .nb-item .nb-ic{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:0 1px 3px rgba(14,74,87,.18);margin:0}
.notice-bar .nb-item .nb-ic svg{margin:0}
.notice-bar .nb-kk .nb-t{display:block}
.notice-bar .nb-kk .nb-t b,.notice-bar .nb-kk .nb-t span{display:block}
.notice-bar .nb-t{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px;row-gap:1px}
.notice-bar .nb-t b{display:inline;font-size:14.5px;letter-spacing:.01em}
.notice-bar .nb-t span{display:inline;font-size:13.5px;opacity:.9}
.notice-bar .nb-item:not(.nb-kk) .nb-t b + span::before{content:'';display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.45;margin-right:10px;vertical-align:middle}
.nb-x{flex:none;width:30px;height:30px;border-radius:50%;border:0;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer;opacity:.6}
.nb-x:hover{opacity:1;background:rgba(255,255,255,.7)}
@media (max-width:720px){
  .notice-bar .nb-t{display:block}
.notice-bar .nb-t b,.notice-bar .nb-t span{display:block}
.notice-bar .nb-item:not(.nb-kk) .nb-t b + span::before{display:none} }
.nb-acts{display:flex;gap:8px;flex:none;flex-wrap:wrap}
@media (max-width:720px){
  .notice-bar .nb-kk{flex-wrap:wrap}
.notice-bar .nb-kk .nb-acts{width:100%;padding-left:32px} }

/* Where's John? - the home card and the game page */
.wjc-in{display:flex;align-items:center;gap:16px;padding:18px 20px;color:inherit;text-decoration:none}
.wjc-john{flex:none;width:76px;height:76px;border-radius:50%;display:grid;place-items:center;overflow:hidden;
  background:repeating-linear-gradient(0deg,#E1261C 0 9px,#fff 9px 18px);box-shadow:inset 0 0 0 3px #fff,0 0 0 1px var(--line)}
.wjc-john img{width:84%;height:84%;object-fit:contain;filter:drop-shadow(0 1px 0 #fff) drop-shadow(0 -1px 0 #fff) drop-shadow(1px 0 0 #fff) drop-shadow(-1px 0 0 #fff)}
.wjc-q{font:700 34px/1 var(--font, inherit);color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.wjc-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.wjc-t b{font-size:16px}
.wjc-t span{font-size:13px;color:var(--g70)}
.wjc-t em{font-style:normal;font-size:12.5px;font-weight:600;color:#C8102E}
.wjc-go{flex:none}
.wj-page{display:grid;gap:16px}
.wj-head{display:flex;align-items:flex-end;gap:20px;margin-bottom:0}
.wj-head > div{flex:1;min-width:0}
.wj-head p{max-width:760px}
.wj-john{flex:none;width:96px;height:96px;object-fit:contain}
.wj-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.wj-chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--panel);font-size:13px;color:var(--g70)}
.wj-chip b{color:var(--ink);font-variant-numeric:tabular-nums}
.wj-sp{flex:1}
.wj-ib{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--ink);font:600 18px/1 inherit;cursor:pointer}
.wj-stage{position:relative;overflow:hidden;border-radius:16px;border:1px solid var(--line);background:#F4F1E8;aspect-ratio:3/2;max-height:calc(100vh - 170px);width:100%;
  touch-action:none;cursor:crosshair;user-select:none;-webkit-user-select:none}
.wj-stage.dragging{cursor:grabbing}
.wj-world{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}
.wj-world canvas{display:block;width:100%;height:auto}
.wj-stage.loading canvas{opacity:.35;filter:blur(2px)}
.wj-msg{position:absolute;left:50%;bottom:14px;translate:-50% 0;padding:8px 14px;border-radius:999px;background:rgba(0,0,0,.78);color:#fff;font-size:14px;font-weight:600;pointer-events:none;white-space:nowrap;max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis}
.wj-msg:empty{display:none}
.wj-mark{position:absolute;translate:-50% -50%;pointer-events:none;border-radius:50%;aspect-ratio:1}
.wj-miss{width:22px;height:22px;border:3px solid #E1261C;opacity:.9;animation:wj-miss .7s ease-out forwards}
@keyframes wj-miss{from{scale:.4;opacity:1}to{scale:1.6;opacity:0}}
.wj-ring{border:4px solid #fff;box-shadow:0 0 0 4px #E1261C,0 0 24px 6px rgba(225,38,28,.55);animation:wj-ring 1s ease-out both}
@keyframes wj-ring{from{scale:3;opacity:0}to{scale:1;opacity:1}}
.wj-hintc{border:3px dashed #fff;background:rgba(255,255,255,.18);box-shadow:0 0 0 2000px rgba(0,0,0,.28);animation:wj-ring .6s ease-out both}
.wj-wait{display:flex;flex-direction:column;align-items:center;gap:8px;padding:56px 20px;border-radius:16px;border:1px dashed var(--line);text-align:center}
.wj-wait span:not(.hl-ring){font-size:13px;color:var(--g70)}
.wj-side{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}
.wj-top,.wj-admin{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:16px 18px}
.wj-top h3,.wj-admin h3{display:flex;align-items:center;gap:8px;font-size:15px;margin:0 0 10px}
.wj-top ol{margin:0;padding-left:20px;display:grid;gap:6px}
.wj-top li b{font-size:14px}
.wj-top li span{display:block;font-size:12.5px;color:var(--g70)}
.wj-top li.me b{color:#C8102E}
.wj-top p,.wj-admin p{margin:0 0 10px;font-size:13px;color:var(--g70)}
.wj-acts{display:flex;flex-wrap:wrap;gap:8px}
@media (max-width:720px){
  .wj-head{align-items:flex-start}
.wj-john{width:64px;height:64px}
.wj-stage{aspect-ratio:auto;height:min(70vh,560px);border-radius:12px}
.wj-sp{display:none} }
/* Where's John?: the magnifier, the mini-map and the tip under the picture */
.wj-loupe{position:absolute;z-index:3;width:220px;height:220px;border-radius:50%;pointer-events:none;
  border:5px solid #fff;box-shadow:0 0 0 3px #E1261C,0 10px 30px rgba(0,0,0,.35);background:#F4F1E8}
.wj-mini{position:absolute;z-index:2;right:12px;bottom:12px;width:180px;padding:0;border:3px solid #fff;border-radius:10px;overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.3);background:#F4F1E8;cursor:pointer;line-height:0}
.wj-mini canvas{display:block;width:100%;height:auto}
.wj-mini span{position:absolute;border:2px solid #E1261C;background:rgba(255,255,255,.18);box-shadow:0 0 0 999px rgba(0,0,0,.18);pointer-events:none}
.wj-mag[aria-pressed="true"]{background:#E1261C;border-color:#E1261C;color:#fff}
.wj-ib{display:inline-grid;place-items:center}
.wj-tip{margin:-6px 0 0;font-size:12.5px;color:var(--g70)}
@media (max-width:720px){
  .wj-loupe{width:160px;height:160px}
.wj-mini{width:120px;right:8px;bottom:8px} }
/* Where's John? on Home: the logo wobbling, where he's hiding changing, John peeking up over the edge */
#wjcard{position:relative;overflow:hidden;background:repeating-linear-gradient(-45deg,#fff 0 22px,#FFF4F3 22px 44px)}
.wjc-in{position:relative;padding-right:150px}
.wjc-logo{flex:none;width:96px;height:96px;display:grid;place-items:center;animation:wjc-wob 4s ease-in-out infinite}
.wjc-logo img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(0,0,0,.18))}
@keyframes wjc-wob{0%,100%{rotate:-4deg}50%{rotate:4deg}}
.wjc-t b{font-size:18px}
.wjc-where i{font-style:normal;font-weight:700;color:#C8102E;display:inline-block;transition:opacity .3s,translate .3s}
.wjc-where i.out{opacity:0;translate:0 6px}
.wjc-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.wjc-chips em{font-style:normal;font-size:12px;font-weight:600;color:#7A1020;background:#fff;border:1px solid #F6C9CE;border-radius:999px;padding:2px 9px}
.wjc-go{position:relative;z-index:2}
.wjc-peek{position:absolute;right:18px;bottom:-4px;width:auto;height:118px;pointer-events:none;z-index:1}
.wjc-peek img{height:150px;display:block;translate:0 100%;animation:wjc-peek 7s ease-in-out infinite;transform-origin:50% 100%}
@keyframes wjc-peek{0%,52%,100%{translate:0 100%;rotate:0deg}62%,82%{translate:0 22%;rotate:-6deg}72%{translate:0 20%;rotate:5deg}}
.wjc-in:hover .wjc-peek img{animation-duration:2.4s}
.wj-logo{width:120px;height:120px;animation:wjc-wob 4s ease-in-out infinite}
@media (max-width:720px){ .wjc-in{padding-right:20px;flex-wrap:wrap}
  .wjc-peek{display:none}
.wjc-logo{width:72px;height:72px} }
@media (prefers-reduced-motion:reduce){
  .wjc-logo,.wj-logo,.wjc-peek img{animation:none}
.wjc-peek img{translate:0 22%} }
/* The Home panel with the logo large: the badge as the centrepiece, the words and Play beside it */
.wjc-big{padding:22px 150px 22px 24px;gap:24px}
.wjc-big .wjc-logo{width:170px;height:170px}
.wjc-big .wjc-t b{font-size:21px}
.wjc-big .wjc-t{gap:6px}
.wjc-big .wjc-go{align-self:flex-end}
@media (max-width:1100px){ .wjc-big{flex-wrap:wrap;padding-right:24px} .wjc-big .wjc-go{align-self:auto} }
@media (max-width:720px){ .wjc-big{flex-direction:column;align-items:center;text-align:center}
  .wjc-big .wjc-logo{width:190px;height:190px} .wjc-big .wjc-chips{justify-content:center} }
.wj-badge{width:100%;height:100%;display:block;filter:drop-shadow(0 4px 8px rgba(0,0,0,.18))}
span.wj-logo{display:block}
.wj-err{color:#B00020!important}

/* ── AI News from AI (the show) ─────────────────────────────────────────────────────── */
.ts-page{display:grid;gap:18px}
.ts-head p{max-width:780px}
.ts-admin{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 14px;border:1px dashed var(--line);border-radius:12px;font-size:13px;color:var(--g70)}
.ts-admin span{flex:1;min-width:200px}
.ts-stage{position:relative;aspect-ratio:16/9;border-radius:18px;overflow:hidden;isolation:isolate;
  background:radial-gradient(120% 80% at 50% 110%,#3B1D5E 0,#140B24 45%,#05030A 100%);box-shadow:0 20px 50px rgba(20,8,40,.35)}
.ts-lights{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(40% 70% at 20% -10%,rgba(255,80,180,.28),transparent 70%),radial-gradient(40% 70% at 80% -10%,rgba(60,190,255,.28),transparent 70%),
  repeating-linear-gradient(90deg,transparent 0 46px,rgba(255,255,255,.025) 46px 48px)}
.ts-lights::after{content:'';position:absolute;left:0;right:0;bottom:0;height:22%;background:linear-gradient(transparent,rgba(255,255,255,.06));border-top:1px solid rgba(255,255,255,.08)}
.ts-screen{position:absolute;left:5%;top:7%;width:62%;height:70%;border-radius:12px;overflow:hidden;color:#fff;
  background:linear-gradient(140deg,#0D1B3D,#1A0F33 60%,#2A0E2C);border:2px solid rgba(255,255,255,.14);
  box-shadow:0 0 0 6px rgba(0,0,0,.35),0 0 60px rgba(120,90,255,.35),inset 0 0 80px rgba(0,0,0,.4)}
.ts-screen.in .tss{animation:tss-in .55s cubic-bezier(.2,.8,.2,1) both}
@keyframes tss-in{from{opacity:0;transform:translateY(14px) scale(.98);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.tss{position:absolute;inset:0;padding:6% 7%;display:flex;flex-direction:column;justify-content:center;gap:2.2%;font-size:clamp(11px,1.45vw,19px)}
.tss h3{margin:0;font-size:2.1em;line-height:1.08;letter-spacing:-.01em;background:linear-gradient(90deg,#fff,#C9D7FF);-webkit-background-clip:text;background-clip:text;color:transparent}
.tss p{margin:0;color:rgba(255,255,255,.82);line-height:1.4}
.tss em{font-style:normal;text-transform:uppercase;letter-spacing:.14em;font-size:.72em;font-weight:700;color:#7FD3FF}
.ts-break{align-self:flex-start;background:#E5195E;color:#fff;font-weight:800;font-size:.7em;letter-spacing:.14em;padding:.3em .7em;border-radius:4px;animation:ts-blink 1.6s ease-in-out infinite}
@keyframes ts-blink{50%{opacity:.6}}
.ts-src{font-size:.75em;color:rgba(255,255,255,.6)}
.ts-sim{position:absolute;top:4%;right:4%;font-size:.62em;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1A0F33;background:#FFD54A;padding:.3em .6em;border-radius:4px}
.tss-bullets ul{margin:0;padding:0;list-style:none;display:grid;gap:.5em}
.tss-bullets li{padding-left:1.3em;position:relative;color:rgba(255,255,255,.9);animation:tss-in .5s both;animation-delay:calc(var(--i) * .18s + .2s)}
.tss-bullets li::before{content:'';position:absolute;left:0;top:.5em;width:.55em;height:.55em;border-radius:50%;background:linear-gradient(135deg,#7FD3FF,#E5195E)}
.tss-pbox,.tss-code pre{position:relative;margin:0;padding:1.1em 1.2em;border-radius:10px;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.14);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82em;line-height:1.5;color:#E8F0FF;white-space:pre-wrap;overflow:hidden;max-height:62%}
.tss-pbox span,.tss-code pre span{position:absolute;top:-.8em;left:1em;font-family:inherit;font-size:.7em;font-weight:800;letter-spacing:.12em;background:#7FD3FF;color:#0D1B3D;padding:.2em .6em;border-radius:4px}
.tss-code code{color:#B8F5C8}
.tss-vs{display:grid;grid-template-columns:1fr auto 1fr;gap:4%;align-items:stretch}
.tss-vs > div{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:10px;padding:1em}
.tss-vs > div p{font-size:.85em;margin-top:.4em}
.tss-vs > b{align-self:center;font-size:1.4em;color:#E5195E}
.tss-bai{display:grid;grid-template-columns:1fr 1fr;gap:4%}
.tss-bai figure{margin:0;position:relative;border-radius:8px;overflow:hidden;border:2px solid rgba(255,255,255,.2)}
.tss-bai img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.tss-bai figcaption{position:absolute;left:.5em;top:.5em;font-size:.7em;font-weight:800;letter-spacing:.1em;text-transform:uppercase;background:rgba(0,0,0,.7);padding:.2em .6em;border-radius:4px}
.tss-bai .after{animation:ts-wipe 1.2s .5s cubic-bezier(.6,0,.2,1) both}
@keyframes ts-wipe{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
.tss-verdict{align-items:center;text-align:center}
.tss-stamp{font-size:2.6em;font-weight:900;letter-spacing:.04em;text-transform:uppercase;padding:.15em .5em;border:.12em solid #FFD54A;color:#FFD54A;border-radius:12px;transform:rotate(-6deg);animation:ts-stamp .6s .2s cubic-bezier(.3,1.6,.5,1) both}
@keyframes ts-stamp{from{transform:rotate(-6deg) scale(2.2);opacity:0}to{transform:rotate(-6deg) scale(1);opacity:1}}
.ts-host{position:absolute;right:2%;bottom:-2%;height:96%;width:auto;filter:drop-shadow(0 12px 30px rgba(0,0,0,.55));transform-origin:50% 100%;transition:transform .08s linear}
.ts-host.pop{animation:ts-pop .35s ease-out}
@keyframes ts-pop{from{opacity:.4;translate:0 8px}to{opacity:1;translate:0 0}}
.ts-host:not([src]){visibility:hidden}
.ts-seg{position:absolute;left:5%;top:2.2%}
.ts-seg span{display:inline-block;font-size:clamp(9px,.9vw,12px);font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#fff;background:linear-gradient(90deg,#E5195E,#7B3FE4);padding:.35em .8em;border-radius:999px}
.ts-cap{position:absolute;left:5%;right:34%;bottom:4.5%;font-size:clamp(11px,1.15vw,16px);line-height:1.35;color:#fff;background:rgba(0,0,0,.6);padding:.5em .8em;border-radius:8px;backdrop-filter:blur(4px)}
.ts-cap:empty{display:none}
.ts-big{position:absolute;inset:0;margin:auto;width:84px;height:84px;border-radius:50%;border:0;cursor:pointer;color:#fff;
  background:linear-gradient(135deg,#E5195E,#7B3FE4);box-shadow:0 0 0 10px rgba(255,255,255,.12),0 10px 40px rgba(229,25,94,.5);display:grid;place-items:center}
.ts-big svg{width:34px;height:34px;margin-left:4px}
.ts-stage.talking .ts-screen{box-shadow:0 0 0 6px rgba(0,0,0,.35),0 0 80px rgba(229,25,94,.45),inset 0 0 80px rgba(0,0,0,.4)}
.ts-ctl{display:flex;align-items:center;gap:8px}
.ts-ib{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:var(--panel);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.ts-pp{width:44px;height:44px;background:var(--ink);color:var(--panel);border-color:var(--ink)}
.ts-prog{flex:1;display:flex;gap:4px;min-width:0}
.ts-pseg{height:10px;padding:0;border:0;border-radius:999px;background:var(--g20,#eee);overflow:hidden;cursor:pointer;min-width:6px}
.ts-pseg i{display:block;height:100%;width:0;background:linear-gradient(90deg,#E5195E,#7B3FE4);transition:width .3s}
.ts-pseg.on{outline:2px solid rgba(229,25,94,.35);outline-offset:1px}
.ts-time{font-size:12px;color:var(--g70);font-variant-numeric:tabular-nums;min-width:56px;text-align:right}
.ts-info{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:18px;align-items:start}
.ts-eph small{font-size:12px;color:var(--g70);font-weight:600}
.ts-eph h3{margin:2px 0 4px;font-size:24px}
.ts-eph p{margin:0 0 8px;color:var(--g70)}
.ts-chips{display:flex;flex-wrap:wrap;gap:6px}
.ts-chip{display:inline-block;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:#F3EEFF;color:#4B2A9A}
.ts-clips{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}
.ts-clips h4{grid-column:1/-1;margin:0}
.ts-clip{display:flex;align-items:center;gap:8px;text-align:left;padding:8px 10px;border-radius:10px;border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer;font:inherit}
.ts-clip span{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#E5195E,#7B3FE4);color:#fff}
.ts-clip span svg{width:12px;height:12px}
.ts-clip b{font-size:13px;flex:1}
.ts-clip small{font-size:11px;color:var(--g70)}
.ts-clip.on{border-color:#E5195E;box-shadow:0 0 0 2px rgba(229,25,94,.15)}
.ts-hype{border-radius:16px;padding:18px 20px;background:linear-gradient(135deg,#1A0F33,#3B1D5E);color:#fff}
.ts-hype-h{display:flex;align-items:center;gap:12px;margin-bottom:8px;flex-wrap:wrap}
.ts-hype-h em{font-style:normal;font-weight:800;letter-spacing:.06em;font-size:18px}
.ts-hype-h b{font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;padding:4px 10px;border-radius:6px;border:2px solid #FFD54A;color:#FFD54A;transform:rotate(-3deg)}
.ts-hype-h b.v-hype{border-color:#FF6B8B;color:#FF6B8B}
.ts-hype-h b.v-holy-grail{border-color:#5BE3A0;color:#5BE3A0}
.ts-hype p{margin:4px 0;color:rgba(255,255,255,.88);font-size:14px}
.ts-sec h4{margin:0 0 10px;font-size:17px}
.ts-stories,.ts-tips{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:12px}
.ts-story,.ts-tip{border:1px solid var(--line);border-radius:14px;background:var(--panel);padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.ts-story-h{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.ts-story b,.ts-tip b{font-size:15px}
.ts-story p,.ts-tip p{margin:0;font-size:13px;color:var(--g70)}
.ts-story p i{font-style:normal;font-weight:700;color:var(--ink);margin-right:4px}
.ts-worth{font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px}
.ts-worth.w-yes{background:#E3F8EC;color:#11663A}.ts-worth.w-maybe{background:#FFF4D6;color:#7A5300}.ts-worth.w-no{background:#FDE6EA;color:#9B1D33}
.ts-pr{display:flex;flex-direction:column;gap:4px;padding:8px 10px;border-radius:10px;background:var(--g10,#f6f6f8)}
.ts-pr.good{background:#EEF9F2}
.ts-pr em{font-style:normal;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--g70)}
.ts-pr code{font-size:12.5px;white-space:pre-wrap;word-break:break-word}
.ts-copy{align-self:flex-start;display:inline-flex;align-items:center;gap:5px;font:inherit;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--ink);cursor:pointer}
.ts-ba{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ts-ba figure{margin:0;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--panel)}
.ts-ba img{display:block;width:100%;aspect-ratio:3/2;object-fit:cover}
.ts-ba figcaption{padding:10px 12px;font-size:12.5px;color:var(--g70);display:flex;flex-direction:column;gap:6px}
.ts-ba figcaption em{font-style:normal;font-weight:800;color:var(--ink);text-transform:uppercase;letter-spacing:.08em;font-size:11px}
.ts-code{border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:10px}
.ts-code-h{display:flex;align-items:center;gap:10px;padding:8px 12px;background:var(--g10,#f6f6f8)}
.ts-code-h b{flex:1;font-size:13.5px}
.ts-code-h span{font-size:11px;font-weight:700;color:var(--g70);text-transform:uppercase}
.ts-code pre{margin:0;padding:12px 14px;background:#0F1220;color:#D7E3FF;font-size:12.5px;overflow:auto;max-height:340px}
.ts-libbar{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-bottom:12px}
.ts-libbar input{flex:1;min-width:220px;height:38px;border-radius:999px;border:1px solid var(--line);background:var(--panel);color:var(--ink);padding:0 16px;font:inherit}
.ts-cats{display:flex;flex-wrap:wrap;gap:6px}
.ts-eps{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.ts-epc{display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:12px;border:1px solid var(--line);background:var(--panel);color:inherit;text-decoration:none}
.ts-epc.on{border-color:#E5195E}
.ts-epc small{font-size:11.5px;color:var(--g70);font-weight:600}
.ts-epc span{font-size:12.5px;color:var(--g70)}
.ts-epc span i{font-style:normal;font-weight:800;color:#7B3FE4}
.ts-epc em{font-style:normal;font-size:11.5px;color:var(--g70)}
/* On Home: this week's episode at the top of AI news */
.ts-teaser{display:flex;align-items:center;gap:12px;margin:0 0 6px;padding:10px 14px 10px 10px;border-radius:14px;color:#fff;text-decoration:none;overflow:hidden;position:relative;
  background:radial-gradient(120% 120% at 0% 100%,#5B2A8E,#1A0F33 60%,#0B0716)}
.ts-t-host{flex:none;width:64px;height:76px;object-fit:cover;object-position:top;margin:-10px 0 -12px}
.ts-t-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ts-t-t em{font-style:normal;font-size:10.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#7FD3FF}
.ts-t-t b{font-size:15px;line-height:1.2}
.ts-t-t span{font-size:12px;color:rgba(255,255,255,.75);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ts-t-play{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#E5195E,#7B3FE4)}
@media (max-width:900px){
  .ts-info{grid-template-columns:1fr}
.ts-ba{grid-template-columns:1fr} }
@media (max-width:720px){
  .ts-stage{aspect-ratio:auto;height:auto;padding-bottom:0}
.ts-stage{display:grid;grid-template-rows:auto auto;min-height:0}
.ts-screen{position:relative;left:auto;top:auto;width:auto;height:auto;aspect-ratio:16/10;margin:38px 10px 0}
.tss{font-size:12px;padding:6% 6%}
.ts-host{position:absolute;right:-4px;bottom:auto;top:calc(38px + (100vw - 52px) * .625 - 70px);height:150px}
.ts-cap{position:relative;left:auto;right:auto;bottom:auto;margin:10px 120px 12px 10px;font-size:13px}
.ts-seg{left:10px;top:10px}
.ts-ctl{flex-wrap:wrap}
.ts-prog{order:5;flex-basis:100%}
}
@media (prefers-reduced-motion:reduce){
  .ts-screen.in .tss,.tss-bullets li,.tss-bai .after,.tss-stamp,.ts-break,.ts-host.pop{animation:none} }
/* The show's code: its own colours, never the page's inline-code look */
.tss-code code,.ts-code pre code{background:none!important;border:0!important;padding:0!important;color:inherit;font-size:inherit;white-space:pre-wrap}
.tss-code pre{color:#B8F5C8}
.ts-pr code{background:none;border:0;padding:0}
.ts-page > .ts-sec,#ts-ep > .ts-sec,#ts-ep > .ts-hype{margin-top:18px}
#ts-ep > .ts-info{margin-top:14px}

/* Experiences cards: a tidier phone layout */
.xe{position:relative}
@media (max-width:760px){
  /* The icon beside the title (not above it), the words full width */
  .xe-in{display:grid!important;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:12px;row-gap:8px}
.xe-in > div{display:contents}
.xe-in .xe-ic{width:40px;height:40px;border-radius:12px}
.xe-in b{margin:0;font-size:17px;line-height:1.25}
.xe-in p{grid-column:1 / -1}
.xe-acts .xe-wide{display:none}
  /* Latest: one tidy row - the label, the title (cut short if long), the date */
  .xe-latest{flex-wrap:nowrap;gap:8px;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.65);border:1px solid var(--line)}
.xe-latest a{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.xe-latest-k,.xe-latest-d{flex:none}
.xe-acts .btn{height:46px}
  /* The section heading: its words full width, the button under them */
  #tab-home .hb-group{flex-wrap:wrap!important;row-gap:12px}
  #tab-home .hb-group > div{flex:1 1 calc(100% - 70px);min-width:0}
  #tab-home .hb-group .hb-group-go{order:3;margin-left:62px}
}
@media (max-width:760px){
  .xe-in .xe-latest{grid-column:1 / -1} }

/* The show's logo (a basketball-crest badge with Ari) */
.ts-head{display:flex;align-items:flex-end;gap:20px}
.ts-head > div{flex:1;min-width:0}
.ts-logo{flex:none;width:132px;height:132px;object-fit:contain;animation:wjc-wob 4s ease-in-out infinite}
.ts-teaser .ts-t-logo{flex:none;width:68px;height:68px;object-fit:contain;margin:-4px 0;filter:drop-shadow(0 2px 6px rgba(0,0,0,.35))}
@media (max-width:720px){
  .ts-head{align-items:flex-start} .ts-logo{width:76px;height:76px} }
@media (prefers-reduced-motion:reduce){ .ts-logo{animation:none} }

/* Public holidays in the notice bar: a sunny strip with a calendar tile (the day) and room to breathe */
.notice-bar .nb-hol{position:relative;overflow:hidden;gap:16px;padding-top:14px;padding-bottom:14px;color:#3D1F00;
  background:radial-gradient(circle at 92% 20%,rgba(255,255,255,.55) 0 6px,transparent 7px),radial-gradient(circle at 78% 85%,rgba(255,255,255,.45) 0 4px,transparent 5px),radial-gradient(circle at 62% 15%,rgba(252,49,187,.18) 0 5px,transparent 6px),linear-gradient(100deg,#FFF1C9 0%,#FFD9B8 55%,#FFC9DE 100%)}
.notice-bar .nb-hol .nb-t{display:block}
.notice-bar .nb-hol .nb-t small{display:block;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#B3148A;margin-bottom:2px}
.notice-bar .nb-hol .nb-t b{display:block;font-size:16px;line-height:1.3}
.notice-bar .nb-hol .nb-t span{display:block;font-size:14px;line-height:1.45;opacity:.85;margin-top:2px}
.notice-bar .nb-hol .nb-t b + span::before{display:none!important}
.nb-cal{flex:none;width:52px;height:56px;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(120,50,0,.18);display:flex;flex-direction:column;align-items:center;justify-content:flex-start;overflow:hidden;line-height:1}
.nb-cal i{display:block;width:100%;padding:4px 0 3px;background:linear-gradient(90deg,#FC31BB,#FF7A3D);color:#fff;font-style:normal;font-size:10px;font-weight:700;letter-spacing:.08em;text-align:center;text-transform:uppercase}
.nb-cal b{display:block;width:100%;text-align:center;font-size:22px;font-weight:800;color:#222;margin-top:3px}
.nb-cal em{display:block;width:100%;text-align:center;font-style:normal;font-size:10px;font-weight:600;color:#777;text-transform:uppercase;margin-top:1px}
.nb-cal-fun{justify-content:center;font-size:26px;width:52px;height:52px;border-radius:50%}
.notice-bar .nb-hol .nb-x{align-self:flex-start;color:#3D1F00}
@media (max-width:720px){
  .notice-bar .nb-hol{gap:12px;align-items:flex-start;padding-top:14px;padding-bottom:14px}
.nb-cal{width:46px;height:50px}
.nb-cal b{font-size:19px} .nb-cal-fun{width:46px;height:46px;font-size:22px}
  .notice-bar .nb-hol .nb-t b{font-size:15.5px}
.notice-bar .nb-hol .nb-t span{font-size:13.5px}
}
@media (max-width:760px){
  /* Marketing accounts (and Events): the heading on its own line, the filter chips and search under it */
  .hb[data-block="accounts"] > .row-head{flex-wrap:wrap!important;height:auto!important;align-items:center;row-gap:12px}
  .hb[data-block="accounts"] > .row-head > div:first-child{flex:1 0 100%}
  .hb[data-block="accounts"] > .row-head > .rh-chips{flex:1 1 0;min-width:0;margin:0;justify-content:flex-start}
  .hb[data-block="accounts"] > .row-head > .rh-chips .ev-orgs{justify-content:flex-start}
  .hb[data-block="accounts"] > .row-head > .ac-search{margin-left:8px}
  /* An account: the name gets the width, how many people goes under it */
  .ac-card .ac-head{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;column-gap:12px;row-gap:2px;align-items:center}
.ac-card .ac-head > .ac-co{grid-column:1;grid-row:1 / span 3}
.ac-card .ac-head > .ac-chev{grid-column:3;grid-row:1 / span 3}
.ac-card .ac-head > .ac-hn,.ac-card .ac-head > .ac-reg,.ac-card .ac-head > .ac-count{grid-column:2;margin:0}
.ac-card .ac-head .ac-hn b{font-size:16px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
}
/* AI news on Home: the show's banner with its logo (the 403ers crest) up front */
.ts-teaser.has-logo{gap:14px;padding:12px 14px 12px 12px;min-height:96px;
  background:radial-gradient(90% 140% at 0% 50%,rgba(252,49,187,.45),transparent 60%),radial-gradient(120% 120% at 100% 0%,#3B1466,#140A26 55%,#0B0716)}
.ts-teaser .ts-t-logo{flex:none;width:84px;height:84px;margin:-4px 0;object-fit:contain;filter:drop-shadow(0 4px 10px rgba(0,0,0,.45));transition:transform .3s cubic-bezier(.2,.9,.3,1.3)}
.ts-teaser:hover .ts-t-logo{transform:rotate(-6deg) scale(1.06)}
.ts-teaser.has-logo .ts-t-t em{color:#FFB3E6}
.ts-teaser.has-logo .ts-t-t b{font-size:16px}
@media (max-width:480px){
  .ts-teaser.has-logo{min-height:84px;gap:12px;padding:10px 12px 10px 10px}
.ts-teaser .ts-t-logo{width:68px;height:68px}
.ts-teaser.has-logo .ts-t-t b{font-size:15px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
/* Phones on their side: short and wide - a smaller banner and holiday strip, so the page isn't all header */
@media (max-height:500px) and (orientation:landscape){
  .ts-teaser.has-logo{min-height:72px;padding-top:8px;padding-bottom:8px}
.ts-teaser .ts-t-logo{width:60px;height:60px}
  .notice-bar .nb-hol{padding-top:10px;padding-bottom:10px;align-items:center}
.nb-cal{width:44px;height:48px}
.nb-cal b{font-size:18px}
.notice-bar .nb-hol .nb-t span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
/* The show's logo is a wide news-network lockup: sized by height, as wide as it needs */
.ts-logo{width:auto;max-width:min(320px,45%);height:110px}
.ts-teaser .ts-t-logo{width:auto;max-width:44%;height:64px}
@media (max-width:720px){
  .ts-head{flex-direction:column-reverse;align-items:flex-start} .ts-logo{max-width:80%;height:84px} }
@media (max-width:480px){
  .ts-teaser .ts-t-logo{height:46px;max-width:34%} }
@media (max-height:500px) and (orientation:landscape){
  .ts-teaser .ts-t-logo{height:48px} }

/* The show talking: his mouth (a second picture laid over him), captions as a news lower third, and the screen following along */
.ts-cap{display:flex;align-items:stretch;gap:0;padding:0;overflow:hidden;background:rgba(10,8,22,.82);border-left:4px solid #FC31BB;border-radius:6px;box-shadow:0 8px 24px rgba(0,0,0,.35)}
.ts-cap-tag{flex:none;display:flex;flex-direction:column;justify-content:center;gap:2px;padding:.5em .8em;background:linear-gradient(135deg,#FC31BB,#7B3FE4);font-weight:800;font-size:.78em;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.ts-cap-tag i{font-style:normal;font-size:.8em;letter-spacing:.14em;opacity:.9;display:inline-flex;align-items:center;gap:4px}
.ts-cap-tag i::before{content:'';width:6px;height:6px;border-radius:50%;background:#fff;animation:ts-live 1.2s ease-in-out infinite}
@keyframes ts-live{50%{opacity:.25}}
.ts-cap-t{padding:.5em .8em;align-self:center}
.ts-cap-t span{color:rgba(255,255,255,.5);transition:color .12s}
.ts-cap-t span.said{color:#fff}
.tss mark.tsk{background:none;color:inherit;border-radius:3px;padding:0 .05em;transition:background .25s,color .25s,box-shadow .25s}
.tss mark.tsk.hit{background:linear-gradient(transparent 55%,rgba(252,49,187,.6) 55%);color:#fff;box-shadow:0 0 18px rgba(252,49,187,.35)}
.ts-screen.sync .tss-bullets li{animation:none;opacity:.22;transform:translateX(-6px);transition:opacity .35s,transform .35s}
.ts-screen.sync .tss-bullets li.shown{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){
  .ts-cap-tag i::before{animation:none} }
/* A holiday logo says which holiday it is: a label under the logo on hover (or keyboard focus) */
.logo-hatted[data-occ]::after{content:attr(data-occ);position:absolute;left:50%;top:calc(100% + 10px);transform:translate(-50%,-4px);opacity:0;pointer-events:none;
  white-space:nowrap;padding:6px 12px;border-radius:999px;font:600 12.5px/1.2 Roboto,system-ui,sans-serif;letter-spacing:.01em;color:#fff;
  background:linear-gradient(90deg,#B3148A,#FC31BB 55%,#FF7A00);box-shadow:0 6px 18px rgba(0,0,0,.3);transition:opacity .18s,transform .18s;z-index:60}
a:hover > .logo-hatted[data-occ]::after,a:focus-visible > .logo-hatted[data-occ]::after,.logo-hatted[data-occ]:hover::after{opacity:1;transform:translate(-50%,0)}
.login-body .logo-hatted[data-occ]::after,.hl-stage .logo-hatted::after{display:none}
/* Diwali's flame flickers */
.hat-diwali .dw-flame{transform-box:view-box;transform-origin:32px 51px;animation:dw-flick 2.2s ease-in-out infinite}
@keyframes dw-flick{0%,100%{transform:scale(1,1) rotate(0)}25%{transform:scale(.97,1.03) rotate(-1.5deg)}50%{transform:scale(1.02,.98) rotate(1deg)}75%{transform:scale(.98,1.02) rotate(-.5deg)}}
@media (prefers-reduced-motion:reduce){ .hat-diwali .dw-flame{animation:none} }
/* The show's admin bar: what an episode should focus on */
.ts-focus{height:34px;width:min(260px,100%);font-size:13.5px;padding:0 12px}
/* The show on phones: the screen on top; below it AI standing in full on the right (not cut off, not over the screen),
   and the captions stacked beside him */
@media (max-width:720px){
  .ts-stage{padding-bottom:0}
.ts-host{top:auto!important;bottom:0!important;right:6px!important;height:196px!important;max-width:44%;object-fit:contain;object-position:bottom right}
.ts-cap{flex-direction:column;align-items:stretch;min-height:176px;margin:12px calc(min(44%, 136px) + 10px) 12px 10px!important;font-size:13.5px}
.ts-cap-tag{flex-direction:row;align-items:center;justify-content:space-between;padding:.45em .8em}
.ts-cap-t{align-self:stretch;padding:.6em .8em;line-height:1.45}
}
/* Phones: the holiday label starts at the logo's left edge (centred, it ran off the screen) */
@media (max-width:720px){
  .logo-hatted[data-occ]::after{left:0;transform:translateY(-4px)}
  a:hover > .logo-hatted[data-occ]::after,a:focus-visible > .logo-hatted[data-occ]::after,.logo-hatted[data-occ]:hover::after{transform:none}
}

/* Phones: the holiday name comes up as its own little label (see season.js), not the hover one */
@media (hover:none){ .logo-hatted[data-occ]::after{display:none} }
.occ-tip{position:fixed;z-index:9999;max-width:calc(100vw - 24px);padding:7px 14px;border-radius:999px;font:600 13px/1.25 Roboto,system-ui,sans-serif;color:#fff;
  background:linear-gradient(90deg,#B3148A,#FC31BB 55%,#FF7A00);box-shadow:0 6px 18px rgba(0,0,0,.3);opacity:0;transform:translateY(-4px);transition:opacity .2s,transform .2s;pointer-events:none}
.occ-tip.on{opacity:1;transform:none}
/* The show's logo is a dark roundel: shown whole (no background removal), clipped round, so it reads on white */
.ts-logo,.ts-teaser .ts-t-logo{border-radius:50%;background:#0B0716;box-shadow:0 4px 14px rgba(11,7,22,.25)}
.ts-logo{width:110px;max-width:none}
.ts-teaser .ts-t-logo{width:64px;max-width:none}
@media (max-width:720px){ .ts-logo{width:84px;height:84px} }
@media (max-width:480px){
  .ts-teaser .ts-t-logo{width:52px;height:52px} }
@media (max-height:500px) and (orientation:landscape){
  .ts-teaser .ts-t-logo{width:48px;height:48px} }
/* Diwali: the flame IS the logo's C - the letter itself is hidden and the flame (with the C glowing in it) stands in
   its place, on the baseline */
.hat-diwali > svg.logo-svg > g > path:first-child{opacity:0}
.logo-hatted.hat-diwali .logo-hat{left:-4.6%!important;bottom:-14%!important;width:17%!important;transform:none!important}
/* The notices line up with the logo: the calendar (or icon) starts at the logo's left edge, the close button
   ends the same distance from the right */
.notice-bar .nb-item{padding-left:var(--logo-x,20px);padding-right:var(--logo-x,20px)}
/* Kris Kringle card: how it goes, step by step (where we are now in pink) */
.kk-steps{list-style:none;margin:22px 0 0;padding:18px 0 0;border-top:1px dashed var(--line-2);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;counter-reset:none}
.kk-steps li{position:relative;display:grid;gap:3px;align-content:start;padding-top:40px;font-size:13px}
.kk-steps li::before{content:"";position:absolute;top:15px;left:34px;right:-14px;height:2px;background:var(--line-2)}
.kk-steps li:last-child::before{display:none}
.kk-steps li.done::before{background:linear-gradient(90deg,#FC31BB,#FF7A00)}
.kk-steps .kk-sn{position:absolute;top:0;left:0;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:13px;background:var(--sunken,#f3f3f5);color:var(--g70,#666);border:1.5px solid var(--line-2)}
.kk-steps li.done .kk-sn{background:linear-gradient(135deg,#FC31BB,#FF7A00);color:#fff;border-color:transparent}
.kk-steps li.now .kk-sn{background:#fff;color:#C1287F;border-color:#FC31BB;box-shadow:0 0 0 4px rgba(252,49,187,.15)}
.kk-steps b{font-size:13.5px;line-height:1.25}
.kk-steps small{color:var(--g70,#666)}
.kk-steps li.now b{color:#C1287F}
@media (max-width:720px){
  .kk-steps{grid-template-columns:1fr 1fr;row-gap:18px}
.kk-steps li:nth-child(2)::before{display:none} }
/* Super admins: everyone in Melbourne, by face, with whether they've said they're in */
.kk-everyone{margin-top:22px}
.kk-everyone .kk-lab{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;font-size:13.5px}
.kk-everyone .kk-lab small{color:var(--g70,#666)}
.kk-k{padding:2px 9px;border-radius:999px;font-size:12px;font-weight:700}
.kk-k.yes{background:#E3F8EC;color:#11733B}
.kk-k.wait{background:#FFF3D6;color:#8A5A00}
.kk-k.no{background:#F1F1F3;color:#666}
.kk-everyone .kk-mface{position:relative}
.kk-badge{position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:12px;font-weight:800;color:#fff;border:2px solid #fff}
.kk-st-yes .kk-badge{background:#16A34A}
.kk-st-wait .kk-badge{background:#F59E0B}
.kk-st-no .kk-badge{background:#9CA3AF}
.kk-st-no .kk-mface{opacity:.5;filter:grayscale(1)}
/* AI news: Hype or Holy Grail? - the verdict on a meter, then the claim, the test and what happened */
.ts-hype2{border-radius:20px;padding:22px 24px;background:radial-gradient(120% 140% at 0% 0%,#4A1D7A 0%,#1A0F33 55%,#120a24 100%);color:#fff;box-shadow:0 20px 40px -24px rgba(26,15,51,.7)}
#ts-ep > .ts-hype2{margin-top:18px}
.th-top{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.th-top small{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.65);font-weight:700}
.th-top b{display:block;font-size:24px;line-height:1.15;margin-top:4px;background:linear-gradient(90deg,#FFD36E,#FF7AC8);-webkit-background-clip:text;background-clip:text;color:transparent}
.th-meter{flex:0 1 360px;min-width:220px}
.th-bar{position:relative;height:10px;border-radius:999px;background:linear-gradient(90deg,#9CA3AF,#F59E0B 50%,#FFD36E)}
.th-bar i{position:absolute;top:50%;width:22px;height:22px;margin-left:-11px;border-radius:50%;background:#fff;border:4px solid #FC31BB;transform:translateY(-50%);box-shadow:0 4px 12px rgba(0,0,0,.4)}
.th-ends{display:flex;justify-content:space-between;margin-top:8px;font-size:12px;font-weight:700;color:rgba(255,255,255,.7)}
.th-steps{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:th}
.th-steps li{counter-increment:th;position:relative;padding:14px 16px 14px;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.th-steps em{display:flex;align-items:center;gap:8px;font-style:normal;font-weight:800;font-size:13px;color:#FFB8E6}
.th-steps em::before{content:counter(th);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(135deg,#FC31BB,#FF7A00);color:#fff;font-size:12px}
.th-steps p{margin:8px 0 0;font-size:13.5px;line-height:1.5;color:rgba(255,255,255,.9)}
@media (max-width:900px){
  .th-steps{grid-template-columns:1fr} }
/* What's new in AI: filters, and cards coloured by topic */
.tn-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.tn-head h4{margin:0}
.tn-head h4 small{font-weight:500;color:var(--muted);font-size:13px;margin-left:6px}
.tn-filter{display:flex;flex-wrap:wrap;gap:6px}
.tn-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.tn-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tn-cat{font-size:11.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--c);background:var(--bg);padding:3px 9px;border-radius:999px}
.tn-worth{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:700;color:var(--muted)}
.tn-worth i{width:6px;height:12px;border-radius:2px;background:var(--line-2)}
.tn-worth i:last-of-type{margin-right:5px}
.tn-worth.w-no i:nth-child(1){background:#9CA3AF}
.tn-worth.w-maybe i:nth-child(-n+2){background:#F59E0B}.tn-worth.w-maybe{color:#8A5A00}
.tn-worth.w-yes i{background:#16A34A}.tn-worth.w-yes{color:#11733B}
.tn-src{margin:auto -18px 0;padding:12px 18px;display:flex;align-items:center;gap:8px;border-top:1px solid var(--line-2);text-decoration:none;color:var(--ink);font-size:13px;font-weight:700}
.tn-src small{color:var(--muted);font-weight:500}
.tn-src b{margin-left:auto;color:var(--c)}
.tn-src:hover{background:var(--bg)}
/* The show's screen: nothing cut off - the PROMPT / code label inside its box, long prompts and code scroll, a full
   screen scrolls rather than losing its last lines */
.tss{justify-content:safe center;overflow-y:auto;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.3) transparent}
.tss-pbox,.tss-code pre{overflow:auto;max-height:none;flex:0 1 auto;min-height:0;padding-top:.9em}
.tss-pbox span,.tss-code pre span{position:static;display:table;margin:0 0 .7em}
/* What's being talked about, beside the words */
.tss.has-aside{flex-direction:row;align-items:center;gap:5%}
.tss.has-aside .tss-main{flex:1 1 55%;min-width:0;display:flex;flex-direction:column;gap:.5em}
.tss-aside{flex:0 1 40%;min-width:0;max-height:100%;overflow:auto;animation:tss-in .6s cubic-bezier(.2,.8,.2,1) .25s both}
.tsa-story,.tsa-claim{padding:1.1em 1.2em;border-radius:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14)}
.tsa-k{display:inline-block;font-size:.62em;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#0D1B3D;background:#7FD3FF;padding:.25em .6em;border-radius:4px}
.tsa-story b{display:block;margin:.6em 0 .35em;font-size:1.02em;line-height:1.25}
.tsa-story p,.tsa-claim p{margin:0;font-size:.78em;line-height:1.5;color:rgba(255,255,255,.82)}
.tsa-claim p{margin-top:.6em;font-size:.95em;font-style:italic;color:#fff}
.tsa-story small{display:block;margin-top:.7em;font-size:.65em;color:rgba(255,255,255,.6)}
.tsa-pic figure{position:relative;margin:0;border-radius:12px;overflow:hidden;border:2px solid rgba(255,255,255,.18);box-shadow:0 14px 30px -12px rgba(0,0,0,.6)}
.tsa-pic.good figure{border-color:#34D399}
.tsa-pic img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}
.tsa-pic figcaption{position:absolute;left:.6em;top:.6em;font-size:.6em;font-weight:800;letter-spacing:.1em;text-transform:uppercase;padding:.25em .6em;border-radius:4px;background:#E5195E;color:#fff}
.tsa-pic.good figcaption{background:#16A34A}
.tsa-pic p{margin:.7em 0 0;padding:.7em .8em;border-radius:10px;background:rgba(0,0,0,.4);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.62em;line-height:1.45;color:#E8F0FF}
.tsa-pic p span{display:block;margin-bottom:.4em;font-weight:800;letter-spacing:.12em;color:#7FD3FF}
@media (max-width:720px){
  .tss.has-aside{flex-direction:column;align-items:stretch}
.tss-aside{flex:none;max-height:none}
.tsa-pic img{aspect-ratio:16/9} }
.tsa-story em{display:block;margin:.8em 0 .25em;font-style:normal;font-size:.62em;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#FFB8E6}
/* Where's John? on Home: a window onto one of his scenes, then the badge and Play, your scores and the top three */
#wjcard{background:var(--panel);display:flex;flex-direction:column}
.wjc2{display:flex;flex-direction:column;gap:16px;padding:16px;flex:1}
.wjc2-scene{position:relative;display:block;flex:1 1 auto;min-height:190px;border-radius:16px;overflow:hidden;text-decoration:none;color:#fff;
  background:#2a1f3d center/cover no-repeat;background-image:linear-gradient(135deg,#FC31BB,#6B1773);box-shadow:inset 0 0 0 1px rgba(0,0,0,.06)}
.wjc2-scene::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.55))}
.wjc2-where{position:absolute;left:14px;bottom:12px;right:120px;z-index:2;font-size:13px;font-weight:600;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.wjc2-where i{display:inline-block;font-style:normal;font-weight:800;color:#FFD6EF;transition:opacity .3s,transform .3s}
.wjc2-where i.out{opacity:0;transform:translateY(6px)}
.wjc2-lens{position:absolute;z-index:1;width:74px;height:74px;border-radius:50%;border:5px solid #fff;box-shadow:0 8px 20px rgba(0,0,0,.35),inset 0 0 0 2px rgba(0,0,0,.15);
  background:rgba(255,255,255,.12);-webkit-backdrop-filter:brightness(1.15) saturate(1.3);backdrop-filter:brightness(1.15) saturate(1.3);animation:wjc2-hunt 11s ease-in-out infinite}
.wjc2-lens i{position:absolute;right:-22px;bottom:-14px;width:30px;height:9px;border-radius:5px;background:#111;transform:rotate(40deg)}
@keyframes wjc2-hunt{0%{left:12%;top:14%}22%{left:58%;top:10%}45%{left:40%;top:46%}68%{left:72%;top:38%}84%{left:18%;top:42%}100%{left:12%;top:14%}}
.wjc2-scene .wjc-peek{position:absolute;right:12px;bottom:-6px;z-index:2;height:auto}
.wjc2-scene .wjc-peek img{height:120px}
.wjc2-scene:hover .wjc2-lens{animation-duration:4s}
.wjc2-body{display:flex;align-items:center;gap:16px}
.wjc2-body .wjc-logo{width:84px;height:84px}
.wjc2-t{flex:1;min-width:0;display:grid;gap:4px}
.wjc2-t b{font-size:19px;line-height:1.2}
.wjc2-t span{font-size:13.5px;color:var(--muted);line-height:1.4}
.wjc2-go{flex:none;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 20px;border-radius:999px;text-decoration:none}
.wjc2-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.wjc2-stats div{padding:10px 12px;border-radius:12px;background:#FFF4F9;border:1px solid #F9D3E6;display:grid;gap:1px}
.wjc2-stats b{font-size:20px;line-height:1.1;color:#A3127A;font-variant-numeric:tabular-nums}
.wjc2-stats span{font-size:12px;color:var(--muted)}
.wjc2-top{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.wjc2-top li{display:flex;align-items:center;gap:10px;padding:7px 10px;border-radius:10px;background:var(--sunken,#f6f6f8);font-size:13.5px}
.wjc2-top li.me{background:#FFF0F8;box-shadow:inset 0 0 0 1px #F9C1DE}
.wjc2-top li span{font-size:18px;line-height:1}
.wjc2-top li b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wjc2-top li small{color:var(--muted);white-space:nowrap}
@media (max-width:720px){ .wjc2-body{flex-wrap:wrap}
  .wjc2-body .wjc-logo{width:64px;height:64px}
.wjc2-go{width:100%;justify-content:center} .wjc2-scene{min-height:170px}
  .wjc2-stats b{font-size:17px} }
@media (prefers-reduced-motion:reduce){ .wjc2-lens{animation:none;left:58%;top:16%} }
/* Where's John?: John on his own layer over the scene, at full resolution */
.wj-john-layer{position:absolute;pointer-events:none;user-select:none;-webkit-user-drag:none;image-rendering:auto}
/* Where's John? on Home: the badge as the hero - big, over one of his scenes, Play beside it, John standing in full */
.wjc3-hero{position:relative;flex:1 1 auto;display:flex;align-items:center;gap:26px;min-height:250px;padding:26px 150px 26px 26px;border-radius:18px;overflow:hidden;text-decoration:none;color:#fff;isolation:isolate;
  background:linear-gradient(135deg,#FC31BB,#6B1773)}
.wjc3-hero::before{content:"";position:absolute;inset:-12px;z-index:-2;background:var(--scene,none) center/cover no-repeat;filter:blur(3px) saturate(1.15);transform:scale(1.04)}
.wjc3-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(100deg,rgba(26,15,51,.88) 0%,rgba(60,15,70,.72) 55%,rgba(252,49,187,.35) 100%)}
.wjc3-logo{flex:none;width:min(230px,38%)!important;height:auto!important;aspect-ratio:1}
.wjc3-logo img,.wjc3-logo svg{width:100%;height:100%;filter:drop-shadow(0 12px 24px rgba(0,0,0,.45))}
.wjc3-t{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.wjc3-t b{font-size:clamp(22px,2.2vw,30px);line-height:1.1;text-shadow:0 2px 8px rgba(0,0,0,.35)}
.wjc3-t .wjc2-where{position:static;right:auto;font-size:14px;color:rgba(255,255,255,.88)}
.wjc3-t .wjc2-go{height:46px;padding:0 24px;font-size:15px;background:#fff;color:#111;border:0}
.wjc3-hero:hover .wjc2-go{background:#FC31BB;color:#fff}
.wjc3-john{position:absolute;right:16px;bottom:12px;top:16px;width:130px;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}
.wjc3-john img{max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 8px 14px rgba(0,0,0,.45));animation:wjc3-bob 3.2s ease-in-out infinite;transform-origin:50% 100%}
@keyframes wjc3-bob{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(-2deg)}}
@media (max-width:720px){
  .wjc3-hero{flex-direction:column;text-align:center;padding:22px 18px 20px;gap:14px}
.wjc3-logo{width:min(200px,62%)!important}
.wjc3-t{align-items:center}
.wjc3-t .wjc2-go{width:100%;justify-content:center}
.wjc3-john{width:76px;top:auto;height:130px;right:8px;bottom:70px}
}
@media (prefers-reduced-motion:reduce){
  .wjc3-john img{animation:none} }
@media (max-width:480px){
  .wjc3-john{display:none} }
/* More menu: the items spread right across, edge to edge (four columns wide, fewer as the screen narrows) */
.nav-mega .mega-grid{grid-template-columns:repeat(4,minmax(0,1fr));justify-content:stretch}
@media (max-width:1280px){ .nav-mega .mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media (max-width:980px){ .nav-mega .mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:640px){ .nav-mega .mega-grid{grid-template-columns:1fr} }
/* The news reader's top: one tidy row (topic; Article / Text only, Open original, close), then the headline across */
.hm-card.news-read .nr-head2{display:block;padding:20px 30px 22px}
.nr-head2 .nr-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.nr-head2 .nr-tools{flex-wrap:nowrap}
.nr-head2 .nr-x2{position:relative;top:auto;right:auto;margin:0;flex:none}
.nr-head2 .nr-ht{max-width:980px}
.nr-head2 h3{font-size:clamp(24px,2.4vw,34px);line-height:1.15;margin:0 0 12px}
.nr-head2 .nr-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0}
.nr-orig{white-space:nowrap}
@media (max-width:720px){
  .hm-card.news-read .nr-head2{padding:16px 18px}
.nr-head2 .nr-row{flex-wrap:wrap;position:relative;padding-right:50px;min-height:40px}
.nr-head2 .nr-x2{position:absolute!important;top:0;right:0}
.nr-head2 .nr-tools{flex-wrap:wrap;justify-content:flex-start}
.nr-head2 h3{font-size:22px} }
/* Where's John? on Home: the top three side by side in one row, so more players never make the card longer */
.wjc2-top{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.wjc2-top li{flex-direction:column;align-items:flex-start;gap:2px;padding:9px 12px;position:relative}
.wjc2-top li span{position:absolute;right:10px;top:8px;font-size:20px}
.wjc2-top li b{font-size:13.5px;max-width:calc(100% - 26px)}
.wjc2-top li small{font-size:12px;white-space:normal}
.wjc3-john img{width:auto;height:auto;max-width:100%;max-height:100%}
@media (max-width:480px){
  .wjc2-top{grid-template-columns:1fr}
.wjc2-top li{flex-direction:row;align-items:center}
.wjc2-top li span{position:static}
.wjc2-top li small{white-space:nowrap} }
/* What's new in AI, in the dashboard's own style: big cards with the story's picture, the first one featured */
.tn-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:20px}
.tn-pic{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(135deg,hsl(var(--h) 75% 55%),hsl(calc(var(--h) + 40) 80% 45%))}
.tn-pic img{position:relative;z-index:1;width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.tn-ph{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.55)}
.tn-ph svg{width:56px;height:56px}
.tn-pic .tn-cat,.tn-pic .tn-worth{position:absolute;z-index:2;top:12px}
.tn-pic .tn-cat{left:12px;background:rgba(255,255,255,.94);color:hsl(var(--h) 70% 38%);box-shadow:0 2px 8px rgba(0,0,0,.15)}
.tn-pic .tn-worth{right:12px;padding:4px 10px;border-radius:999px;font-size:11.5px;font-weight:800;background:rgba(17,17,17,.78);color:#fff;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.tn-pic .tn-worth.w-yes{background:#16A34A}
.tn-pic .tn-worth.w-maybe{background:#D97706}
.tn-pic .tn-worth.w-no{background:rgba(60,60,70,.8)}
.tn-body{display:flex;flex-direction:column;gap:12px;padding:18px 20px 0;flex:1}
.tn-body h5{margin:0;font-size:19px;line-height:1.25;letter-spacing:-.01em}
.tn-lead{margin:0;font-size:14.5px;line-height:1.55;color:var(--ink)}
.tn-pts{display:grid;gap:8px;margin-top:auto}
.tn-pts div{display:grid;gap:2px;padding:10px 12px;border-radius:12px;background:var(--sunken,#f6f6f8)}
.tn-pts b{font-size:12px;font-weight:700;color:var(--muted)}
.tn-pts span{font-size:13.5px;line-height:1.45}
.tn-pts .tn-do{background:hsl(var(--h) 90% 97%)}.tn-pts .tn-do b{color:hsl(var(--h) 70% 38%)}
.tn-body .tn-src{margin:4px -20px 0;padding:13px 20px;gap:8px}
.tn-src img{border-radius:4px}
.tn-src b{margin-left:auto;font-size:13px;color:hsl(var(--h) 70% 40%)}
@media (min-width:1100px){
  .tn-feature{grid-column:span 2;display:grid;grid-template-columns:1.15fr 1fr}
  .tn-feature .tn-pic{aspect-ratio:auto;height:100%;min-height:320px}
  .tn-feature .tn-body h5{font-size:24px}
  .tn-feature .tn-lead{font-size:15.5px}
}
/* Every episode: big cards with the episode's picture */
.ts-eps{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}
.ts-epc2{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;border:1px solid var(--line-2);background:var(--panel);color:inherit;text-decoration:none;transition:transform .2s,box-shadow .2s}
.ts-epc2:hover{transform:translateY(-3px);box-shadow:0 22px 40px -26px rgba(20,10,40,.45)}
.ts-epc2.on{box-shadow:0 0 0 2px #FC31BB}
.te-pic{position:relative;display:block;aspect-ratio:16/9;background:radial-gradient(120% 120% at 0% 0%,#4A1D7A,#1A0F33 60%,#120a24);overflow:hidden}
.te-pic img{width:100%;height:100%;object-fit:cover;display:block;opacity:.92}
.te-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(10,5,25,.6))}
.te-num{position:absolute;z-index:1;left:14px;bottom:12px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:linear-gradient(90deg,#FC31BB,#FF7A00);padding:4px 10px;border-radius:999px}
.te-now{position:absolute;z-index:1;right:14px;top:12px;font-size:11.5px;font-weight:800;color:#111;background:#fff;padding:3px 9px;border-radius:999px}
.te-play{position:absolute;z-index:1;left:50%;top:50%;width:58px;height:58px;margin:-29px 0 0 -29px;border-radius:50%;display:grid;place-items:center;color:#fff;background:rgba(255,255,255,.18);border:2px solid rgba(255,255,255,.8);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:transform .2s,background .2s}
.ts-epc2:hover .te-play{transform:scale(1.08);background:#FC31BB;border-color:#FC31BB}
.te-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.te-body small{font-size:12px;font-weight:700;color:var(--muted)}
.te-body b{font-size:18px;line-height:1.25}
.te-tag{font-size:13.5px;color:var(--muted);line-height:1.45}
.te-verdict{font-size:13px;color:var(--muted)}
.te-verdict i{font-style:normal;font-weight:800;color:#A3127A}
.te-cats{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.te-cats em{font-style:normal;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:999px;background:var(--sunken,#f3f3f5);color:var(--muted)}
/* Tips & tricks: big cards - the topic's colour and icon, then "instead of" (crossed out) beside "try this" with Copy */
.tt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:20px}
.tt-card{display:flex;flex-direction:column;border-radius:20px;overflow:hidden;background:var(--panel);border:1px solid var(--line-2);transition:transform .2s,box-shadow .2s}
.tt-card:hover{transform:translateY(-3px);box-shadow:0 22px 40px -26px rgba(20,10,40,.45)}
.tt-top{display:flex;align-items:center;gap:14px;padding:18px 20px;background:linear-gradient(120deg,hsl(var(--h) 85% 96%),hsl(calc(var(--h) + 30) 90% 94%));border-bottom:1px solid hsl(var(--h) 60% 90%)}
.tt-ic{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,hsl(var(--h) 75% 55%),hsl(calc(var(--h) + 35) 80% 48%));box-shadow:0 8px 18px -10px hsl(var(--h) 70% 40%)}
.tt-cat{display:block;font-size:11.5px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:hsl(var(--h) 65% 38%)}
.tt-top b{display:block;font-size:18px;line-height:1.25;margin-top:2px}
.tt-cmp{display:grid;grid-template-columns:1fr 1.35fr;gap:12px;padding:18px 20px 4px}
.tt-cmp > div{position:relative;border-radius:14px;padding:12px 14px}
.tt-no{background:var(--sunken,#f5f5f7)}
.tt-yes{background:#EEFBF3;box-shadow:inset 0 0 0 1px #BFEBD0}
.tt-l{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:800;color:var(--muted);margin-bottom:8px}
.tt-l i{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;font-style:normal;font-size:10px;color:#fff;background:#9CA3AF}
.tt-yes .tt-l{color:#11733B}
.tt-yes .tt-l i{background:#16A34A}
.tt-cmp p{margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:13px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
.tt-no p{color:var(--muted)}
.tt-yes .ts-copy{position:absolute;top:8px;right:8px;margin:0}
.tt-why{margin:12px 20px 18px;font-size:13.5px;line-height:1.5;color:var(--ink)}
.tt-why b{display:block;font-size:12px;font-weight:800;color:hsl(var(--h) 65% 38%);margin-bottom:2px}
@media (max-width:720px){
  .tt-grid{grid-template-columns:1fr}
.tt-cmp{grid-template-columns:1fr} }
/* ═══ AI News from AI, like a streaming service: a dark page, a billboard, rows to swipe through ═══ */
#tab-aishow.ts-nf{--nf-bg:#0c0b10;--nf-card:#17151d;--nf-line:rgba(255,255,255,.1);--nf-muted:rgba(255,255,255,.62);--nf-pad:max(20px,calc((100vw - var(--page-w)) / 2 + 20px));
  background:var(--nf-bg);color:#ECEAF2;width:100vw;margin-left:calc(50% - 50vw);margin-top:-32px;padding:0 0 60px;min-height:100vh}
.ts-nf .ts-page{max-width:none;padding:0}
.ts-nf .ts-admin{margin:0;padding:10px var(--nf-pad);background:#1a1722;color:var(--nf-muted);border:0;border-radius:0}
.ts-nf .nf-hidden-head{padding:40px var(--nf-pad) 0;color:#fff}
.ts-nf .wj-wait{margin:20px var(--nf-pad);background:var(--nf-card);color:#fff;border-color:var(--nf-line)}
/* The billboard */
.nf-bill{position:relative;min-height:min(78vh,720px);display:flex;align-items:flex-end;overflow:hidden;isolation:isolate;background:radial-gradient(120% 120% at 70% 20%,#3B1D5E,#0c0b10 70%)}
.nf-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transform:scale(1.03);animation:nf-ken 24s ease-in-out infinite alternate}
@keyframes nf-ken{from{transform:scale(1.03) translate(0,0)}to{transform:scale(1.1) translate(-1.5%,-1%)}}
.nf-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,11,16,.96) 0%,rgba(12,11,16,.78) 32%,rgba(12,11,16,.15) 70%,rgba(12,11,16,.35) 100%),linear-gradient(0deg,#0c0b10 0%,rgba(12,11,16,0) 38%)}
.nf-bill-in{position:relative;max-width:640px;padding:0 var(--nf-pad) 70px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.nf-logo{max-width:min(320px,70%);max-height:150px;object-fit:contain;filter:drop-shadow(0 8px 24px rgba(0,0,0,.6))}
.nf-word{font-size:clamp(34px,5vw,64px);font-weight:900;letter-spacing:-.02em;line-height:.95;background:linear-gradient(90deg,#2DE1FD,#FC31BB 55%,#FF7A00);-webkit-background-clip:text;background-clip:text;color:transparent}
.nf-new{font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:#fff;padding:4px 10px;border-radius:4px;background:linear-gradient(90deg,#E5195E,#FC31BB)}
.nf-bill-in h2{margin:0;font-size:clamp(28px,3.4vw,48px);line-height:1.05;letter-spacing:-.02em;color:#fff;text-shadow:0 4px 18px rgba(0,0,0,.5)}
.nf-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:14px;color:var(--nf-muted)}
.nf-meta b{color:#46D369;font-weight:800}
.nf-meta span{position:relative}
.nf-meta span::before{content:"";position:absolute;left:-8px;top:50%;width:3px;height:3px;border-radius:50%;background:currentColor}
.nf-bill-in p{margin:0;font-size:17px;line-height:1.5;color:#E8E6EE;max-width:560px}
.nf-btns{display:flex;gap:12px;margin-top:6px}
.nf-play,.nf-more{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 26px 0 22px;border:0;border-radius:8px;font:inherit;font-size:17px;font-weight:800;cursor:pointer;transition:transform .15s,background .15s}
.nf-play{background:#fff;color:#111}
.nf-play:hover{background:rgba(255,255,255,.82)}
.nf-more{background:rgba(110,110,125,.62);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.nf-more:hover{background:rgba(110,110,125,.42)}
.nf-play:active,.nf-more:active{transform:scale(.97)}
.nf-tags{display:flex;flex-wrap:wrap;gap:8px}
.nf-tags span{font-size:12.5px;color:#fff;padding:3px 10px;border:1px solid rgba(255,255,255,.28);border-radius:999px}
.nf-verdict{position:absolute;right:0;bottom:90px;padding:10px 22px 10px 16px;border-left:4px solid #FC31BB;background:rgba(20,18,26,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.nf-verdict small{display:block;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--nf-muted);font-weight:700}
.nf-verdict b{font-size:18px;color:#fff}
/* Rows */
.ts-nf #ts-lib,.ts-nf #ts-ep > *{padding-left:var(--nf-pad);padding-right:var(--nf-pad)}
.ts-nf #ts-ep > .nf-theatre,.ts-nf #ts-ep > .ts-info{padding-top:10px}
.ts-nf .ts-sec,.ts-nf #ts-ep > .ts-hype2{margin-top:34px}
.nf-rowh{display:flex;align-items:baseline;gap:12px;margin:0 0 12px}
.nf-rowh h4,.ts-nf .ts-sec h4,.ts-nf .tn-head h4{margin:0;font-size:21px;font-weight:800;color:#fff;letter-spacing:-.01em}
.nf-rowh span,.ts-nf .tn-head h4 small{font-size:13px;color:var(--nf-muted);font-weight:500}
.nf-rowwrap{position:relative}
.ts-nf .nf-row,.ts-nf .tn-grid,.ts-nf .tt-grid,.ts-nf .ts-eps{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;overflow-x:auto;overflow-y:visible;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:10px 4px 26px;margin:-10px -4px -16px;gap:14px}
.ts-nf .nf-row::-webkit-scrollbar,.ts-nf .tn-grid::-webkit-scrollbar,.ts-nf .tt-grid::-webkit-scrollbar,.ts-nf .ts-eps::-webkit-scrollbar{display:none}
.ts-nf .ts-eps{grid-auto-columns:minmax(300px,calc((100% - 42px) / 4))}
.ts-nf .tn-grid{grid-auto-columns:minmax(320px,calc((100% - 42px) / 3.6))}
.ts-nf .tt-grid{grid-auto-columns:minmax(360px,calc((100% - 28px) / 2.6))}
.ts-nf .nf-row{grid-auto-columns:minmax(220px,calc((100% - 56px) / 5))}
.ts-nf .nf-row > *,.ts-nf .tn-grid > *,.ts-nf .tt-grid > *,.ts-nf .ts-eps > *{scroll-snap-align:start}
.nf-arr{position:absolute;top:10px;bottom:26px;z-index:3;width:48px;border:0;display:grid;place-items:center;color:#fff;background:linear-gradient(90deg,rgba(12,11,16,.92),rgba(12,11,16,0));cursor:pointer;opacity:0;transition:opacity .2s}
.nf-prev{left:calc(var(--nf-pad) * -1 + 0px);left:-4px}.nf-next{right:-4px;background:linear-gradient(270deg,rgba(12,11,16,.92),rgba(12,11,16,0))}
.nf-rowwrap:hover .nf-arr{opacity:1}
.nf-rowwrap.at-start .nf-prev,.nf-rowwrap.at-end .nf-next{opacity:0!important;pointer-events:none}
.nf-arr svg{transition:transform .2s}
.nf-arr:hover svg{transform:scale(1.25)}
@media (hover:none){
  .nf-arr{display:none} }
/* Cards on the dark page */
.ts-nf .ts-epc2,.ts-nf .tt-card{background:var(--nf-card);border-color:var(--nf-line);color:#ECEAF2;transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s}
.ts-nf .ts-epc2:hover,.ts-nf .tt-card:hover{transform:scale(1.035);box-shadow:0 26px 50px -20px rgba(0,0,0,.85);z-index:2}
.ts-nf .ts-epc2.on{box-shadow:0 0 0 2px #FC31BB}
.ts-nf .te-body small,.ts-nf .te-tag,.ts-nf .te-verdict{color:var(--nf-muted)}
.ts-nf .te-verdict i{color:#FF8FD8}
.ts-nf .te-cats em{background:rgba(255,255,255,.08);color:var(--nf-muted)}
.ts-nf .tn-feature{grid-column:auto;display:flex}
.ts-nf .tn-feature .tn-pic{aspect-ratio:16/9;height:auto;min-height:0}
.ts-nf .tn-feature .tn-body h5{font-size:19px}
.ts-nf .tn-lead{color:#E3E1EA}
.ts-nf .tn-pts div{background:rgba(255,255,255,.06)}
.ts-nf .tn-pts b{color:var(--nf-muted)}
.ts-nf .tn-pts .tn-do{background:hsl(var(--h) 60% 20% / .55)}
.ts-nf .tn-pts .tn-do b{color:hsl(var(--h) 85% 72%)}
.ts-nf .tn-src{border-color:var(--nf-line);color:#fff}
.ts-nf .tn-src:hover{background:rgba(255,255,255,.04)}
.ts-nf .tn-src b{color:hsl(var(--h) 85% 72%)}
.ts-nf .tt-top{background:linear-gradient(120deg,hsl(var(--h) 55% 22%),hsl(calc(var(--h) + 30) 55% 16%));border-color:var(--nf-line)}
.ts-nf .tt-cat{color:hsl(var(--h) 85% 75%)}
.ts-nf .tt-top b{color:#fff}
.ts-nf .tt-no{background:rgba(255,255,255,.05)}
.ts-nf .tt-no p{color:var(--nf-muted)}
.ts-nf .tt-yes{background:rgba(22,163,74,.12);box-shadow:inset 0 0 0 1px rgba(70,211,105,.35)}
.ts-nf .tt-yes p{color:#E6F9EC}
.ts-nf .tt-yes .tt-l{color:#7BE59A}
.ts-nf .tt-why{color:#E3E1EA}
.ts-nf .tt-why b{color:hsl(var(--h) 85% 75%)}
.ts-nf .fchip{background:transparent;color:#ECEAF2;border-color:rgba(255,255,255,.25)}
.ts-nf .fchip[aria-pressed="true"]{background:#fff;color:#111;border-color:#fff}
.ts-nf .ts-libbar input{background:rgba(255,255,255,.07);border-color:var(--nf-line);color:#fff}
.ts-nf .ts-libbar input::placeholder{color:var(--nf-muted)}
.ts-nf .ts-copy{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.2)}
/* The player's theatre, and the clips */
.nf-theatre{padding-top:34px}
.ts-nf .ts-stage{border-radius:14px;box-shadow:0 40px 80px -40px rgba(0,0,0,.9)}
.ts-nf .ts-ctl{background:transparent;color:#fff}
.ts-nf .ts-eph{display:none}
.ts-nf .ts-info{display:block}
.ts-nf .ts-clips{margin-top:26px}
.nf-clip{position:relative;display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;min-height:132px;padding:16px 16px 14px!important;border-radius:12px!important;border:1px solid var(--nf-line)!important;background:linear-gradient(160deg,#2a1b3d,#17151d 70%)!important;color:#fff!important;text-align:left;overflow:hidden}
.nf-clip-n{position:absolute;right:10px;bottom:-22px;font-size:110px;font-weight:900;line-height:1;color:transparent;-webkit-text-stroke:2px rgba(255,255,255,.14)}
.nf-clip-p{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;color:#111;margin-bottom:8px}
.nf-clip b{font-size:15.5px;line-height:1.25;position:relative}
.nf-clip small{color:var(--nf-muted);position:relative}
.nf-clip:hover{border-color:#FC31BB!important}
.ts-nf .ts-code{background:var(--nf-card);border-color:var(--nf-line)}
.ts-nf .ts-ba figure{background:var(--nf-card)}
.ts-nf .ts-ba figcaption{color:#E3E1EA}
@media (max-width:720px){
  .nf-bill{min-height:68vh}
.nf-bill-in{padding-bottom:40px}
.nf-verdict{display:none}
.nf-shade{background:linear-gradient(0deg,#0c0b10 10%,rgba(12,11,16,.55) 55%,rgba(12,11,16,.25))}
.nf-btns{width:100%}
.nf-play,.nf-more{flex:1;justify-content:center}
.ts-nf .ts-eps,.ts-nf .tn-grid,.ts-nf .tt-grid{grid-auto-columns:84%}
.ts-nf .nf-row{grid-auto-columns:62%}
}
@media (prefers-reduced-motion:reduce){
  .nf-bg{animation:none} }
.ts-nf .ts-clips{display:block!important}
.ts-nf .ts-ba{grid-template-columns:repeat(2,minmax(0,1fr))}
.ts-nf .ts-ba img{max-height:340px;width:100%;object-fit:cover}
.ts-nf .ts-ba figure{border-radius:14px;overflow:hidden;border:1px solid var(--nf-line)}
.nf-play,.nf-more{white-space:nowrap}
@media (max-width:720px){
  .nf-play,.nf-more{font-size:15px;padding:0 16px;height:46px}
.ts-nf .ts-ba{grid-template-columns:1fr} }
.ts-clip.nf-clip .nf-clip-n{position:absolute;right:12px;bottom:-26px;width:auto;height:auto;margin:0;padding:0;border-radius:0;background:none;box-shadow:none;display:block;font-size:110px;font-weight:900;line-height:1;color:transparent;-webkit-text-stroke:2px rgba(255,255,255,.16)}
/* The billboard's words: room for them however wide the screen (the side padding no longer eats the width) */
.nf-bill-in{box-sizing:border-box;width:100%;max-width:calc(var(--nf-pad) + 680px);padding:0 24px 70px var(--nf-pad)}
.nf-bill-in h2{font-size:clamp(28px,3vw,52px);max-width:680px}
.nf-bill-in p{max-width:600px}
.nf-meta{max-width:680px}
.nf-meta span,.nf-meta b{white-space:nowrap}
/* The super admin bar on the dark page: one dark line (its focus box and button in the dark style) */
.ts-nf .ts-admin{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:13px}
.ts-nf .ts-admin .hub-input,.ts-nf .ts-admin input{background:rgba(255,255,255,.07);border:1px solid var(--nf-line);color:#fff;height:34px;max-width:320px;flex:1 1 220px}
.ts-nf .ts-admin input::placeholder{color:var(--nf-muted)}
.ts-nf .ts-admin .btn{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.25)}
@media (max-width:720px){
  .nf-bill-in{padding:0 18px 40px} }
/* The dark page right across, on any width (the page's own width limit doesn't hold it in) */
#tab-aishow.ts-nf{max-width:none!important;width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:0!important;box-sizing:border-box}
/* Nothing on the show's page can make it wider than the screen: long code scrolls inside its own box */
.ts-page,.ts-nf .ts-page{min-width:0;max-width:100%}
#ts-ep,#ts-lib,#ts-bill{min-width:0;max-width:100%;box-sizing:border-box}
#ts-ep > *,#ts-ep .ts-sec,#ts-ep .ts-code{min-width:0;max-width:100%;box-sizing:border-box}
.ts-code pre{max-width:100%;overflow-x:auto;white-space:pre;scrollbar-width:thin}
.ts-code pre code{display:block;min-width:0}
/* The player fits the window (all of it on screen at once), centred like a film */
@media (min-width:721px){
  .ts-nf .ts-stage{max-width:calc((100vh - 190px) * 16 / 9);margin-left:auto;margin-right:auto}
.ts-nf .ts-ctl{max-width:calc((100vh - 190px) * 16 / 9);margin-left:auto;margin-right:auto} }
/* The show's page: dark to the very bottom, code boxes in the dark style, tips stacked for room */
body:has(#tab-aishow.ts-nf:not([hidden])){background:#0c0b10}
body:has(#tab-aishow.ts-nf:not([hidden])) main{padding-bottom:0}
#tab-aishow.ts-nf{min-height:calc(100vh - 60px);padding-bottom:90px}
.ts-nf .ts-code{border:1px solid var(--nf-line);border-radius:14px;overflow:hidden;background:#0f0e14}
.ts-nf .ts-code-h{background:#1d1a25;border-bottom:1px solid var(--nf-line)}
.ts-nf .ts-code-h b{color:#fff}
.ts-nf .ts-code-h span{color:var(--nf-muted)}
.ts-nf .ts-code pre{background:#0f0e14;color:#E8E6EE;margin:0}
.ts-nf .tt-grid{grid-auto-columns:minmax(380px,calc((100% - 28px) / 3))}
.ts-nf .tt-cmp{grid-template-columns:1fr}
.ts-nf .tt-no p{font-size:12.5px}
@media (max-width:720px){
  .ts-nf .tt-grid{grid-auto-columns:88%} }
/* Watching: the player edge to edge, the whole window */
.nf-ft,.nf-close{display:none}
.nf-fs{margin-left:auto;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.06);color:#fff;display:grid;place-items:center;cursor:pointer}
.nf-fs:hover{background:rgba(255,255,255,.16)}
body.nf-lock{overflow:hidden}
body.nf-lock .chat-fab,body.nf-lock .cmp-fab,body.nf-lock .hb-fab,body.nf-lock .ticker,body.nf-lock #ticker{visibility:hidden}
.nf-theatre.nf-full{position:fixed!important;inset:0;z-index:5000;margin:0!important;padding:0!important;background:#000;display:flex;flex-direction:column;animation:nf-in .3s ease}
@keyframes nf-in{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:none}}
.nf-full .nf-rowh{position:absolute;top:0;left:0;right:0;z-index:10;margin:0;padding:16px 22px;background:linear-gradient(180deg,rgba(0,0,0,.75),transparent);align-items:center;transition:opacity .3s}
.nf-full .nf-rowh h4,.nf-full .nf-rowh > span:not(.nf-ft){display:none}
.nf-full .nf-ft{display:block;flex:1;min-width:0;color:#fff;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.nf-full .nf-close{display:grid;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.14);color:#fff;place-items:center;cursor:pointer}
.nf-full .nf-close:hover{background:rgba(255,255,255,.28)}
.nf-full .nf-fs{margin-left:0}
.nf-full .ts-stage{flex:1;width:100%;max-width:none!important;max-height:none;margin:0!important;border-radius:0!important;aspect-ratio:auto;box-shadow:none}
.nf-full .ts-ctl{position:absolute;left:0;right:0;bottom:0;z-index:10;max-width:none!important;margin:0!important;padding:18px 24px 22px;background:linear-gradient(0deg,rgba(0,0,0,.8),transparent)}
body > .nf-theatre.nf-full{--nf-bg:#000;--nf-line:rgba(255,255,255,.1);--nf-muted:rgba(255,255,255,.62);z-index:20000}
/* Full screen: the top bar clear of the show's own labels; on a phone the screen and caption centred, not stretched */
.nf-full .ts-seg{top:78px!important}
@media (max-width:720px){
  .nf-full .ts-stage{display:flex!important;flex-direction:column;justify-content:center;gap:10px;padding:76px 0 96px!important}
.nf-full .ts-screen{flex:none}
.nf-full .ts-cap{flex:none;max-height:30vh;overflow:auto}
.nf-full .ts-seg{top:64px!important}
}
@media (min-width:721px){
  .nf-full .ts-cap{bottom:96px!important} }
/* The player only ever plays over everything (never on the page); the browse page is the billboard and the
   episodes; an episode's page has its synopsis, clips, stories, tips and code, then more episodes */
.ts-nf #ts-theatre:not(.nf-full){display:none}
.ts-nf:not(.nf-epage) #ts-ep{display:none}
.ts-nf .ts-page{display:flex;flex-direction:column}
.ts-nf.nf-epage #ts-lib{order:5;margin-top:10px}
.ts-nf.nf-epage .nf-bill{min-height:min(70vh,640px)}
.nf-back{align-self:flex-start;margin-bottom:6px;font-size:14px;font-weight:700;color:#fff;text-decoration:none;padding:6px 12px 6px 10px;border-radius:999px;background:rgba(255,255,255,.12);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.nf-back:hover{background:rgba(255,255,255,.24)}
.nf-bill-in .nf-syn{font-size:15px;color:var(--nf-muted);max-width:620px}
/* Clips inside the player */
.nf-cb{display:none}
.nf-full .nf-cb{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border-radius:999px;border:0;background:rgba(255,255,255,.14);color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.nf-full .nf-cb:hover{background:rgba(255,255,255,.28)}
.nf-chaps{position:absolute;z-index:20;top:72px;right:18px;bottom:96px;width:min(360px,calc(100vw - 36px));overflow:auto;padding:14px;border-radius:16px;background:rgba(18,16,24,.94);border:1px solid rgba(255,255,255,.12);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 30px 60px -20px rgba(0,0,0,.8)}
.nf-chaps[hidden]{display:none}
.nf-chaps > b{display:block;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:rgba(255,255,255,.6);margin:2px 4px 10px}
.nf-chap{display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;width:100%;padding:10px;border:0;border-radius:12px;background:transparent;color:#fff;font:inherit;text-align:left;cursor:pointer}
.nf-chap:hover{background:rgba(255,255,255,.08)}
.nf-chap span{grid-row:span 2;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:900;background:linear-gradient(135deg,#FC31BB,#FF7A00)}
.nf-chap b{font-size:14.5px}
.nf-chap small{color:rgba(255,255,255,.55);font-size:12px}
.ts-theatre:not(.nf-full) .nf-chaps{display:none}
/* A story's card on the show's screen: its topic, an i for its details, and the article */
.tsa-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.tsa-i{width:1.7em;height:1.7em;border-radius:50%;border:1.5px solid rgba(255,255,255,.55);background:transparent;color:#fff;font:inherit;font-size:.72em;font-weight:900;font-style:italic;font-family:Georgia,serif;cursor:pointer;display:grid;place-items:center;flex:none}
.tsa-i:hover,.tsa-story.open .tsa-i{background:#fff;color:#111;border-color:#fff}
.tsa-more{display:none}
.tsa-story.open .tsa-more{display:block}
.tsa-story.open > :not(.tsa-top):not(.tsa-more):not(.tsa-link){display:none}
.tsa-more b{display:block;margin:.6em 0 .2em;font-size:.95em;line-height:1.25;color:#fff}
.tsa-more em{display:block;margin:.65em 0 .15em;font-style:normal;font-size:.6em;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#FFB8E6}
.tsa-more p{margin:0;font-size:.72em;line-height:1.45;color:rgba(255,255,255,.88)}
.tsa-link{display:inline-flex;margin-top:.8em;font-size:.68em;font-weight:800;color:#7FD3FF;text-decoration:none;padding:.35em .8em;border-radius:999px;border:1px solid rgba(127,211,255,.5)}
.tsa-link:hover{background:rgba(127,211,255,.15)}
/* The host, alive: two layered pictures that melt from pose to pose (moved every frame by the page, so no CSS
   transition or pop fights it), and a glow behind him that breathes with his voice */
.ts-host{transition:none!important;animation:none!important;will-change:transform,opacity;transform-origin:50% 92%}
.ts-host2{opacity:0}
.ts-aura{position:absolute;right:0;bottom:4%;width:34%;height:78%;border-radius:50%;pointer-events:none;opacity:.3;
  background:radial-gradient(closest-side,rgba(252,49,187,.55),rgba(127,64,255,.25) 55%,transparent 75%);filter:blur(18px)}
@media (max-width:720px){
  .ts-aura{width:46%;height:42%;bottom:0} }
@media (prefers-reduced-motion:reduce){
  .ts-aura{display:none} }
/* Clips in the player: they slide up from the bottom, the same clip cards as on the episode page */
.nf-full .nf-chaps{position:absolute;z-index:12;left:0;right:0;top:auto;bottom:0;width:auto;max-height:none;overflow:visible;padding:18px 24px 96px;border:0;border-radius:0;
  background:linear-gradient(0deg,rgba(0,0,0,.96) 55%,rgba(0,0,0,.75) 80%,transparent);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;animation:nf-up .35s cubic-bezier(.2,.8,.2,1)}
.nf-full .nf-chaps[hidden]{display:none}
@keyframes nf-up{from{transform:translateY(100%);opacity:0}to{transform:none;opacity:1}}
.nf-full .nf-chaps .nf-rowh{position:static;padding:0;background:none;margin:0 0 12px}
.nf-full .nf-chaps .nf-rowh h4,.nf-full .nf-chaps .nf-rowh span{display:block}
.nf-full .nf-chaps .nf-rowh h4{font-size:19px;font-weight:800;color:#fff;margin:0}
.nf-chaprow{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,calc((100% - 56px) / 5));gap:14px;overflow-x:auto;scrollbar-width:none;padding:4px 2px 8px}
.nf-chaprow::-webkit-scrollbar{display:none}
.nf-chaprow .nf-clip{min-height:124px}
.nf-chaprow .nf-clip.on{border-color:#FC31BB!important;box-shadow:0 0 0 1px #FC31BB}
@media (max-width:720px){
  .nf-chaprow{grid-auto-columns:62%}
.nf-full .nf-chaps{padding:14px 14px 92px} }
.nf-chaprow .nf-clip{display:flex!important;flex-direction:column;align-items:flex-start;justify-content:flex-start;text-align:left;width:auto;grid-template-columns:none}
.nf-chaprow .nf-clip .nf-clip-p{grid-row:auto;width:40px;height:40px;border-radius:50%;background:#fff;color:#111;display:grid;place-items:center;margin-bottom:8px}
.nf-chaprow .nf-clip b{font-size:15.5px}
.nf-full .ts-ctl{z-index:13}
/* The billboard's buttons in the hub's colours: a pink Play, and a softer More info beside it */
.nf-play,.nf-more{border-radius:999px;height:52px;padding:0 28px 0 22px}
.nf-play{background:linear-gradient(115deg,#FC31BB 0%,#E5195E 55%,#FF7A00 130%);color:#fff;box-shadow:0 12px 28px -12px rgba(252,49,187,.85)}
.nf-play:hover{background:linear-gradient(115deg,#ff52c8 0%,#f0326f 55%,#FF7A00 130%);box-shadow:0 16px 34px -12px rgba(252,49,187,1)}
.nf-play svg{fill:#fff}
.nf-more{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28)}
.nf-more:hover{background:rgba(255,255,255,.22)}
/* Episode details sliding open */
#ts-ep.nf-reveal{animation:nf-reveal .55s cubic-bezier(.2,.8,.2,1)}
@keyframes nf-reveal{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
/* Room at the top: the super admin bar and the way back */
.ts-nf .ts-admin{padding-top:14px;padding-bottom:14px;gap:14px 18px}
.ts-nf .ts-admin span{font-size:13.5px}
.nf-bill{padding-top:56px}
.nf-back{margin:0 0 18px;padding:8px 16px 8px 12px;font-size:14.5px}
/* The topics, like a streaming service's genre line: words with a dot between, each with its colour */
.nf-tags{gap:0;align-items:center;margin-top:4px}
.nf-tags span{border:0;padding:0;border-radius:0;font-size:15px;font-weight:500;color:rgba(255,255,255,.88);display:inline-flex;align-items:center;gap:7px}
.nf-tags span::before{content:"";width:8px;height:8px;border-radius:50%;background:hsl(var(--h,330) 85% 62%);box-shadow:0 0 10px hsl(var(--h,330) 85% 62% / .7)}
.nf-tags span + span{margin-left:18px}
@media (max-width:720px){
  .nf-tags{row-gap:6px}
.nf-tags span{font-size:13.5px}
.nf-tags span + span{margin-left:14px}
.nf-bill{padding-top:30px} }
.nf-bill{overflow:clip}
/* Topic line: one row on desktop (it may run wider than the text column), wraps neatly on small screens. */
.nf-tags{display:flex;flex-wrap:nowrap;column-gap:18px;row-gap:6px;width:max-content;max-width:calc(100vw - 2 * var(--nf-pad))}
.nf-tags span + span{margin-left:0}
.nf-tags span{white-space:nowrap}
@media (max-width:1100px){
  .nf-tags{flex-wrap:wrap;width:auto;max-width:100%;column-gap:14px} }
/* Kris Kringle gift ideas: the same fields as the rest of the hub - soft grey border, 12px corners, pink focus ring. */
.kk-gi input,.kk-ask-card .field textarea,.kk-mine textarea{box-sizing:border-box;width:100%;border:1px solid var(--line-2,#d6d6d6);border-radius:12px;background:var(--panel);color:var(--ink);font:inherit;font-size:15px;outline:0;transition:border-color .15s,box-shadow .15s}
.kk-gi input{height:46px;padding:0 14px}
.kk-ask-card .field textarea,.kk-mine textarea{padding:12px 14px;line-height:1.5;min-height:96px;resize:vertical}
.kk-gi input::placeholder,.kk-ask-card .field textarea::placeholder,.kk-mine textarea::placeholder{color:var(--muted,#8a8a8a)}
.kk-gi input:hover,.kk-ask-card .field textarea:hover,.kk-mine textarea:hover{border-color:#bdbdbd}
.kk-gi input:focus,.kk-gi input:focus-visible,.kk-ask-card .field textarea:focus,.kk-mine textarea:focus{outline:0;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.kk-ask-card .field label{font-size:14px;font-weight:600}
.kk-gis{gap:10px}
.kk-gi b{width:28px;height:28px;font-size:12.5px}

/* Replicate finance (home, finance and admins) */
.fin-card{padding-bottom:6px}
.fin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:0 20px 14px}
.fin-stat{display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:12px}
.fin-stat span{font-size:12px;color:var(--grey-60);font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.fin-stat b{font-size:24px;font-weight:700;line-height:1.1}
.fin-stat em{font-style:normal;font-size:12.5px;color:var(--grey-60)}
.fin-stat i{font-style:normal;font-weight:600}
.fin-stat i.up{color:#C03030}.fin-stat i.down{color:#23864B}
.fin-alerts{list-style:none;margin:0 20px 14px;padding:0;display:flex;flex-direction:column;gap:6px}
.fin-alerts li{padding:9px 12px;border-radius:10px;font-size:13.5px;border-left:4px solid}
.fin-alerts li.danger{background:#FDE2E2;border-color:#D64545;color:#7A1C1C}
.fin-alerts li.warn{background:#FFF4D6;border-color:#E0A100;color:#5E4300}
.fin-alerts li.info{background:#EAF2FF;border-color:#3B7DD8;color:#1E3F70}
.fin-ok{margin:0 20px 14px;padding:9px 12px;border-radius:10px;background:#E6F6EC;color:#1F5E36;font-size:13.5px}
.fin-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:0 20px 14px}
.fin-list h4{margin:0 0 6px;font-size:12px;color:var(--grey-60);text-transform:uppercase;letter-spacing:.04em}
.fin-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.fin-row:last-child{border-bottom:0}
.fin-row>span{display:flex;align-items:center;gap:8px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fin-row small{color:var(--grey-60)}
.fin-row b{white-space:nowrap}
@media (max-width:640px){.fin-stats{grid-template-columns:1fr}.fin-cols{grid-template-columns:1fr}}
/* AI News: the month's news as a list to scan (after the how-tos). */
.tl-list{list-style:none;margin:14px 0 0;padding:0;border-top:1px solid rgba(255,255,255,.1)}
.tn-item{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:8px 28px;padding:18px 0 18px 22px;border-bottom:1px solid rgba(255,255,255,.1);position:relative}
.tn-item::before{content:"";position:absolute;left:2px;top:24px;width:9px;height:9px;border-radius:50%;background:hsl(var(--h,330) 85% 62%);box-shadow:0 0 10px hsl(var(--h,330) 85% 62% / .6)}
.tn-item[hidden]{display:none}
.tl-meta{display:flex;gap:10px;align-items:center;margin-bottom:4px}
.tl-cat{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:hsl(var(--h,330) 85% 72%);font-weight:600}
.tl-worth{font-size:12px;font-weight:600;color:#5BE3A1}
.tn-item h5{margin:0 0 6px;font-size:18px;line-height:1.3;color:#fff}
.tn-item h5 a{color:inherit;text-decoration:none}
.tn-item h5 a:hover{text-decoration:underline;text-decoration-color:#FC31BB;text-underline-offset:3px}
.tn-item p{margin:0;font-size:15px;line-height:1.5;color:rgba(255,255,255,.75);max-width:820px}
.tn-item .tl-do{margin-top:6px;color:rgba(255,255,255,.88)}
.tn-item .tl-do b{margin-right:8px;color:#FC31BB;font-weight:600}
.tl-src{display:flex;align-items:center;gap:8px;align-self:start;margin-top:22px;font-size:13.5px;color:rgba(255,255,255,.8);min-width:0}
.tl-src span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tl-src small{margin-left:auto;color:rgba(255,255,255,.5);white-space:nowrap}
.tl-fav{flex:none;width:18px;height:18px;border-radius:4px;background:rgba(255,255,255,.08)}
.tl-more{margin-top:26px}
.tl-more h5{margin:0 0 8px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.55);font-weight:600}
.tl-more ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.tl-more li a{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:10px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.08);text-decoration:none;color:#fff}
.tl-more li a .tl-fav{grid-row:span 2;margin-top:2px}
.tl-more li b{font-size:14.5px;font-weight:500;line-height:1.35}
.tl-more li small{font-size:12.5px;color:rgba(255,255,255,.5);margin-top:2px}
.tl-more li a:hover b{text-decoration:underline;text-decoration-color:#FC31BB;text-underline-offset:3px}
@media (max-width:760px){
  .tn-item{grid-template-columns:1fr;padding-left:20px}
.tl-src{margin-top:4px}
.tl-more ul{grid-template-columns:1fr} }
.hb-modoff{display:none!important}
/* Admin → Modules */
.md-sum{margin:4px 0 18px;color:var(--grey-70,#555)}
.md-group + .md-group{margin-top:22px}
.md-gh{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--grey-60,#777);margin-bottom:6px}
.md-row{display:flex;align-items:center;gap:16px;padding:14px 0;border-top:1px solid var(--line,#e6e6e6)}
.md-txt{flex:1;min-width:0}
.md-txt b{display:block;font-size:15.5px}
.md-txt small{display:block;margin-top:2px;font-size:13.5px;line-height:1.45;color:var(--grey-70,#666)}
.md-state{font-size:13px;font-weight:600;color:#1a8a4a;min-width:28px;text-align:right}
.md-off .md-state{color:var(--grey-60,#888)}
.md-off .md-txt b{color:var(--grey-70,#666)}
[data-mod-off]{display:none!important}

/* Search results: Studio know-how answers, first - the question, then the answer */
.kh-answers{display:grid;gap:10px;margin:0 0 16px}
.kh-ans{padding:16px 18px;border-radius:14px;border:1px solid rgba(123,63,228,.25);background:linear-gradient(135deg,rgba(123,63,228,.06),rgba(252,49,187,.05))}
.kh-ans-h{display:flex;align-items:center;gap:8px;font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#7B3FE4}
.kh-ans-q{display:block;margin:8px 0 4px;font-size:16px;line-height:1.35}
.kh-ans-a{margin:0;font-size:15px;line-height:1.55;color:var(--ink)}
.kh-ans-f{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}
.kh-ans-f small{font-size:12.5px;color:var(--g60)}
/* The search bar's dropdowns (the model picker, suggestions) show over the results below it: the results panel
   (#answer) keeps a transform from its entrance, which puts it in its own layer above the bar unless the bar is raised */
.hero #search-form{z-index:5}

/* Search results (admins): the month's AI budget so far; and the budget card's buttons */
.ai-bud{font-weight:600;color:var(--ink)}
.ai-bud.warn{color:#8A5A00}
.ai-bud.over{color:#B42318}
.bud-acts{display:flex;gap:10px;flex-wrap:wrap}

/* Thumbs up or down on an answer (search bar and chat) */
.answer-rate{display:inline-flex;align-items:center;margin-left:auto}
.rate{display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;font-size:13px;color:var(--g60)}
.rate-q{margin-right:2px}
.rate-b{width:32px;height:32px;display:inline-grid;place-items:center;border:1px solid var(--line-2);border-radius:50%;background:var(--panel);color:var(--ink-2,var(--ink));cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.rate-b:hover{border-color:var(--ink)}
.rate-b[data-r="1"][aria-pressed="true"]{background:#1F7A3F;border-color:#1F7A3F;color:#fff}
.rate-b[data-r="-1"][aria-pressed="true"]{background:#B42318;border-color:#B42318;color:#fff}
.rate-why{display:flex;gap:6px;flex-basis:100%;margin-top:6px}
.rate-why input{flex:1;min-width:0;height:32px;padding:0 12px;border:1px solid var(--line-2);border-radius:999px;background:var(--panel);color:var(--ink);font:inherit;font-size:13px}
.bubble-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bubble-acts .rate-slot{margin-left:auto}
.bubble-acts .rate-b{width:30px;height:30px}
@media (max-width:720px){ .answer-rate{margin-left:0;flex-basis:100%} }
/* Administration → Katherine's gaps */
.gp-card{display:grid;gap:14px}
.gp-card > .p-note{margin:0}
.gp-vec{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.gp-err{color:#B42318}
.gp-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.gp-stat{display:grid;gap:2px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.gp-stat b{font-size:24px;line-height:1.1}
.gp-stat span{font-size:13px;font-weight:600}
.gp-stat small{font-size:12px;color:var(--g60)}
.gp-stat.ok b{color:#1F7A3F}.gp-stat.part b{color:#A15C00}.gp-stat.none b{color:#B42318}
.gp-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.gp-bar .seg{margin:0}
.gp-days{display:inline-flex;align-items:center;gap:8px;margin-left:auto;font-size:13px;color:var(--g60)}
.gp-days select{height:34px;border:1px solid var(--line-2);border-radius:999px;padding:0 12px;background:var(--panel);color:var(--ink);font:inherit;font-size:13px}
.gp-list{display:grid;gap:10px}
.gp-row{display:grid;gap:8px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.gp-row.done{opacity:.7}
.gp-top{display:flex;gap:6px;flex-wrap:wrap}
.gp-top .spill{gap:4px}
.gp-row h4{margin:0;font-size:15.5px;line-height:1.35}
.gp-meta{margin:0;font-size:12.5px;color:var(--g60)}
.gp-notes{margin:0;padding:0 0 0 18px;font-size:13.5px;display:grid;gap:4px}
.gp-notes small{color:var(--g60)}
.gp-ans{font-size:13px}
.gp-ans summary{cursor:pointer;color:var(--g60)}
.gp-ans p{margin:6px 0 0;padding:10px 12px;border-radius:10px;background:var(--sunken,#F3F3F5);line-height:1.5;white-space:pre-line}
.gp-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.gp-acts .sp{flex:1}
@media (max-width:720px){ .gp-days{margin-left:0} .gp-bar .seg{display:flex;flex-wrap:wrap} }

/* Admin → Sources: who can see a source */
.src-acts .who{display:inline-flex;align-items:center;gap:6px}
.sw-modes{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0 12px}
.sw-mode{display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 14px;border:1px solid var(--line-2);border-radius:999px;font-size:14px;cursor:pointer}
.sw-mode:has(input:checked){border-color:var(--ink)}
.sw-roles{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:8px;margin:0 0 12px}
.sw-role{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;font-size:13.5px;cursor:pointer}

/* A saved answer: which question it answered, and Ask afresh */
.answer-reuse{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:8px 0 4px;padding:8px 12px;border-radius:10px;background:var(--sunken,#F6F6F8);font-size:13px;color:var(--g70)}
.answer-reuse .linkish{font:inherit;font-size:13px;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;color:var(--ink)}

/* Data access → Paymo: three groups (Members, the money roles, Admins) */
.acc-3 .acc-row{grid-template-columns:1fr 96px 96px 96px}
.acc-row.acc-scope{background:rgba(252,49,187,.04)}
.acc-money{display:grid;gap:6px;margin:0 0 14px}
.acc-money b{font-size:14px;font-weight:600}
.acc-roles{display:flex;flex-wrap:wrap;gap:6px}
@media (max-width:720px){ .acc-3 .acc-row{grid-template-columns:1fr 60px 60px 60px;padding:10px 12px} .acc-3 .acc-th{font-size:9.5px;letter-spacing:.06em} }

/* Sources → Dropbox → Check access */
.dbx-check-f{display:flex;gap:8px;flex-wrap:wrap}
.dbx-check-f input{flex:1 1 240px;min-width:0;height:40px;padding:0 12px;border:1px solid var(--line-2,#d6d6d6);border-radius:10px;font:inherit;font-size:14px;background:var(--panel)}
.dbx-check-f input:focus{outline:0;border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.14)}
.dbx-res{display:grid;gap:8px;margin-top:4px}
.dbx-res p,.dbx-res ul{margin:0}
.dbx-good{color:#11733B}.dbx-bad{color:#B3261E}
.dbx-sim,.dbx-src{padding-left:18px;display:grid;gap:4px;font-size:14px}
.dbx-note{padding:8px 10px;border-radius:10px;background:#FFF8E6;color:#6B4A00}
.dbx-res code{font-size:12.5px;overflow-wrap:anywhere}

/* Sources → Add a folder: read everything in it */
.drive-all{display:flex;gap:10px;align-items:flex-start;margin:2px 0 6px;font-size:14px}
.drive-all input{margin-top:3px}
.drive-all small{display:block;margin-top:2px;font-size:12.5px;line-height:1.4;color:var(--g70,#666)}
.src-acts .readall[aria-pressed="true"]{border-color:#1F7A3F;color:#1F7A3F}

/* Sources: the add cards - tidier fields, an option card for Read everything, equal-height cards, a compact Protected sites card. */
.src-tool{display:flex;flex-direction:column}
.src-tool .stack-form{display:flex;flex-direction:column;flex:1}
.src-tool .stack-form .btn{align-self:flex-start;margin-top:auto}
.src-tool .drop-zone{flex:1;display:flex;flex-direction:column;justify-content:center;gap:6px;min-height:150px}
.drive-pair{display:grid;grid-template-columns:minmax(120px,.7fr) minmax(0,1.6fr);gap:12px}
.drive-pair .field{margin-bottom:12px}
.src-tools #logins-panel{align-self:start}
.drive-all{display:flex;gap:12px;align-items:flex-start;margin:4px 0 16px;padding:12px 14px;border:1px solid var(--line,#e6e3ee);border-radius:14px;background:var(--sunken,#f7f6fa);cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.drive-all:hover{border-color:#F3B6DC}
.drive-all:has(input:checked){border-color:#FC31BB;background:#FFF4FA;box-shadow:0 0 0 3px rgba(252,49,187,.12)}
.drive-all input{margin-top:3px;accent-color:#FC31BB}
.drive-all b{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14px}
.drive-tag{font-style:normal;font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#A3127A;background:#FFE3F4;border-radius:999px;padding:2px 8px}
.drive-all small{display:block;margin-top:4px;font-size:12.5px;line-height:1.45;color:var(--g70,#666)}
.drive-conn{padding-top:14px;margin-top:14px;border-top:1px solid var(--line,#e6e3ee)}
@media (max-width:720px){ .drive-pair{grid-template-columns:1fr} }

/* Holidays that make the logo's own C the festive thing (Valentine's, Lunar New Year, Rosh Hashanah, Passover, Hanukkah, Ramadan):
   the real C is hidden and the drawing (season.js) is laid exactly over it. The drawing's viewBox is in the logo's own units
   (430 wide, 37 tall), so its width, left and bottom follow from the viewBox. */
.hat-valentines .logo-svg g > path:first-child{opacity:0}
.logo-hatted.hat-valentines .logo-hat{left:-1.860%!important;bottom:-24.32%!important;width:11.16%!important;transform:none!important;rotate:none!important}
.hat-lunarnewyear .logo-svg g > path:first-child{opacity:0}
.logo-hatted.hat-lunarnewyear .logo-hat{left:-1.628%!important;bottom:-24.32%!important;width:10.70%!important;transform:none!important;rotate:none!important}
.hat-roshhashanah .logo-svg g > path:first-child{opacity:0}
.logo-hatted.hat-roshhashanah .logo-hat{left:-0.930%!important;bottom:-13.51%!important;width:9.30%!important;transform:none!important;rotate:none!important}
.hat-passover .logo-svg g > path:first-child{opacity:0}
.logo-hatted.hat-passover .logo-hat{left:-1.628%!important;bottom:-10.81%!important;width:10.70%!important;transform:none!important;rotate:none!important}
.hat-hanukkah .logo-svg g > path:first-child{opacity:0}
.logo-hatted.hat-hanukkah .logo-hat{left:-0.233%!important;bottom:-2.70%!important;width:8.60%!important;transform:none!important;rotate:none!important}
.hat-ramadan .logo-svg g > path:first-child{opacity:0}
.logo-hatted.hat-ramadan .logo-hat{left:-1.395%!important;bottom:-13.51%!important;width:10.70%!important;transform:none!important;rotate:none!important}
.hat-valentines .logo-hat{filter:drop-shadow(0 1px 2px rgba(143,15,46,.35))}
.hat-ramadan .logo-hat{filter:drop-shadow(0 0 5px rgba(242,194,48,.5))}
.hat-hanukkah .logo-hat{filter:drop-shadow(0 0 4px rgba(255,200,70,.5))}

.hat-eid .logo-svg g > path:first-child{opacity:0}
.logo-hatted.hat-eid .logo-hat{left:-1.395%!important;bottom:-10.81%!important;width:11.63%!important;transform:none!important;rotate:none!important;filter:drop-shadow(0 0 4px rgba(242,194,48,.45))}

/* Studio know-how in the sources list: its own lightbulb on a teal-to-green tile, like the other kinds. */
.src-row.src-knowhow .src-kind{background:linear-gradient(135deg,#0f766e,#22c55e)}

/* The staff portal's pages in search results: cards like the experiences, each opening in the hub's reader */
.answer-portal{margin:4px 0 6px}
.pt-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.pt-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;background:var(--panel);color:var(--ink);text-decoration:none;overflow:hidden;
  animation:xp-in .35s ease both;animation-delay:calc(var(--i,0) * 40ms);transition:box-shadow .2s,transform .2s}
.pt-card:hover,.pt-card:focus-visible{box-shadow:0 14px 30px -18px rgba(40,10,60,.35);transform:translateY(-2px)}
.pt-img{display:block;height:120px;background:var(--sunken);overflow:hidden}
.pt-img img{width:100%;height:100%;object-fit:cover;display:block}
.pt-body{display:grid;gap:6px;padding:14px 16px 16px}
.pt-body small{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--grey-60);min-width:0}
.pt-body small > span:not(.pl-mark){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pt-body b{font-size:15px;line-height:1.3}
.pt-body > span{font-size:13px;line-height:1.5;color:var(--grey-60);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.pt-lock{display:inline-flex;align-items:center;gap:3px;margin-left:auto;padding:2px 7px;border-radius:999px;background:#FFF4D6;color:#8A5A00;font-style:normal;font-size:10.5px;letter-spacing:0;text-transform:none;flex:none}
.pt-go{position:absolute;right:12px;bottom:12px;color:var(--grey-60)}
@keyframes xp-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (max-width:720px){ .pt-grid{grid-template-columns:1fr} }
/* Sources → Staff portal: who sees what (super admins) */
.pa-rules{display:grid;gap:10px;margin:10px 0}
.pa-rule{display:grid;gap:8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
.pa-top{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pa-top input{flex:1;min-width:180px;height:36px;padding:0 12px;border:1px solid var(--line-2);border-radius:10px;background:var(--panel);color:var(--ink);font:inherit;font-size:14px}
.pa-top .pa-label{flex:.7}
.pa-who{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pa-who .lab,.pa-ppl .lab{font-size:12px;color:var(--grey-60);margin-right:2px}
.pa-ppl{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.pa-chip{display:inline-flex;align-items:center;gap:4px;height:28px;padding:0 6px 0 10px;border-radius:999px;background:var(--ink);color:var(--ground);font-size:12.5px}
.pa-chip button{border:0;background:none;color:inherit;cursor:pointer;font-size:15px;line-height:1;padding:0 2px}
.pa-add{height:30px;min-width:200px;padding:0 10px;border:1px dashed var(--line-2);border-radius:999px;background:none;color:var(--ink);font:inherit;font-size:12.5px}
.pa-pages{display:grid;gap:4px;margin-top:8px;max-height:280px;overflow:auto;font-size:13px}
.pa-pages div{display:flex;gap:8px;align-items:center;padding:6px 10px;border-radius:8px;background:var(--sunken)}
.pa-pages a{color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.pa-pages em{font-style:normal;font-size:12px;color:var(--grey-60);flex:none}
.pa-pages em.none{color:#B42318}

/* Your generations: the spend figure opens its working. */
button.rc-spend{border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:6px;padding:0}
button.rc-spend:hover{text-decoration:underline}
.rc-i{display:inline-grid;opacity:.75}
.rc-tbl{width:100%;border-collapse:collapse;font-size:14.5px;margin:12px 0 4px}
.rc-tbl th,.rc-tbl td{padding:9px 6px;border-bottom:1px solid var(--line);text-align:left}
.rc-tbl th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--g70,#666)}
.rc-tbl .num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.rc-tbl tr.tot td{font-weight:700;border-bottom:0}
.rc-tbl small{color:var(--g70,#666)}
.rc-h4{margin:18px 0 0;font-size:15px}

/* ═══ module: experiences ═══ */
/* Edit an experience: its one button is the size of the other card's buttons (half the row), not the whole row. */
#editexp .xe-acts > .btn:only-child{grid-column:1;justify-self:stretch}
.sh .sh-rows{display:grid;gap:10px;margin:18px 0 16px;text-align:left}
.sh .sh-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px 12px 16px;border:1px solid var(--line);border-radius:14px;background:var(--bg,#fff)}
.sh .sh-v{display:grid;gap:2px;min-width:0}
.sh .sh-v small{font-size:11.5px;letter-spacing:.08em;text-transform:uppercase;font-weight:600;color:var(--g70,#666)}
.sh .sh-v span{font-size:15px;overflow-wrap:anywhere}
.sh .sh-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:16px!important;letter-spacing:.02em}
.sh .btn.ok{border-color:#16a34a;color:#15803d}
.sh .sh-msg{text-align:left;margin-bottom:6px}
.sh .sh-msg label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.sh .sh-msg textarea{width:100%;resize:vertical;font:14px/1.5 inherit;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--sunken,#f7f6fa);color:inherit}
/* ═══ module: briefs ═══ */
.brn-card{max-width:560px}
.brn-list{display:grid;gap:8px;margin:14px 0 6px}
.brn-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line,#e6e6e6);border-radius:12px;text-decoration:none;color:var(--ink);background:var(--panel);transition:border-color .15s,box-shadow .15s}
.brn-row:hover{border-color:#FC31BB;box-shadow:0 0 0 3px rgba(252,49,187,.12)}
.brn-txt{flex:1;min-width:0}
.brn-txt b{display:block;font-size:15px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.brn-txt small{display:block;margin-top:2px;font-size:13px;color:var(--grey-70,#666)}
.brn-tag{flex:none;font-size:11.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:3px 8px;border-radius:999px;background:#FFF0FA;color:#A9127A}
.brn-late .brn-tag{background:#FFF4E5;color:#9A4B00}
.brn-row .lu{flex:none;color:var(--grey-60,#888)}
/* ═══ module: knowhow ═══ */
/* Studio know-how */
.kh-page{display:grid;gap:22px;grid-template-columns:minmax(0,1fr)}
.kh-headrow{display:flex;align-items:flex-end;gap:20px;flex-wrap:wrap}
.kh-headrow > div{flex:1;min-width:260px}
.kh-headrow p{max-width:760px}
.kh-sec{display:grid;gap:10px;grid-template-columns:minmax(0,1fr);min-width:0}
.kh-sec h3{display:flex;align-items:center;gap:8px;margin:0;font-size:16px}
.kh-sec h3 span{min-width:22px;height:22px;padding:0 7px;border-radius:999px;display:inline-grid;place-items:center;background:#FC31BB;color:#fff;font-size:12px}
.kh-review{padding:16px;border:1px dashed #FC31BB;border-radius:16px;background:rgba(252,49,187,.04)}
.kh-bar{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.kh-bar .ev-orgs{flex:1;min-width:0}
.kh-find{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;width:min(280px,100%)}
.kh-find input{border:0;background:none;flex:1;min-width:0;font:inherit}
.kh-card{border:1px solid var(--line);border-radius:14px;background:var(--panel,#fff);overflow:hidden}
.kh-head{display:flex;align-items:center;gap:12px;width:100%;padding:14px 16px;border:0;background:none;text-align:left;font:inherit;color:inherit;cursor:pointer}
.kh-ic{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#FC31BB,#7B3FE4)}
.kh-ic.k-skill{background:linear-gradient(135deg,#2DE1FD,#7B3FE4)}
.kh-ic.k-experience{background:linear-gradient(135deg,#FF7A00,#FC31BB)}
.kh-ic.k-misc{background:linear-gradient(135deg,#6B7280,#7B3FE4)}
.kh-t{flex:1;min-width:0;display:grid;gap:2px}
.kh-t em{font-style:normal;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#B3148A}
.kh-t b{font-size:15.5px;line-height:1.3}
.kh-t small{font-size:12.5px;color:var(--g60)}
.kh-st{flex:none;font-size:12px;font-weight:600;padding:3px 10px;border-radius:999px}
.kh-st.wait{background:#FFF4D6;color:#8A5A00}
.kh-st.back{background:#FFE3E3;color:#9B1C1C}
.kh-chev{flex:none;color:var(--g60);transition:transform .2s}
.kh-card.open .kh-chev{transform:rotate(180deg)}
.kh-body{display:none;padding:0 16px 16px 64px}
.kh-card.open .kh-body{display:grid;gap:10px}
.kh-text{font-size:14.5px;line-height:1.6;white-space:normal;overflow-wrap:anywhere}
.kh-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0}
.kh-tags span{font-size:12px;padding:3px 9px;border-radius:999px;background:var(--g05,#F3F3F5);color:var(--g70)}
.kh-ok,.kh-note{display:flex;align-items:flex-start;gap:6px;margin:0;font-size:13px;color:#1F7A3F}
.kh-note{color:#9B1C1C;background:#FFF3F3;padding:8px 10px;border-radius:10px}
.kh-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.kh-acts .kh-del{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:#B42318}
/* On hover the site's filled look, in red (a delete), not the usual gradient */
.kh-acts .btn-secondary.kh-del:not(:disabled):hover,.kh-acts .btn-secondary.kh-del:not(:disabled):focus-visible{background:#B42318 !important;border-color:#B42318 !important;color:#fff !important;box-shadow:0 10px 22px -12px rgba(180,35,24,.6)}
@media (max-width:720px){ .kh-body{padding:0 14px 14px} .kh-head{padding:12px 14px} .kh-st{display:none} }
@media (max-width:720px){
  .kh-bar{flex-direction:column-reverse;align-items:stretch;gap:10px}
  .kh-bar .ev-orgs{width:100%;max-width:100%;display:flex;flex-wrap:nowrap;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}
  .kh-bar .ev-orgs .fchip{flex:none;position:static}
  .kh-find{width:100%}
}
/* Cards or table, and the screenshots */
.kh-views{display:inline-flex;gap:0;border:1px solid var(--line-2,#D7D7DC);border-radius:999px;padding:3px;flex:none}
.kh-views button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:0;border-radius:999px;background:none;font:inherit;font-size:13px;color:var(--g60);cursor:pointer}
.kh-views button[aria-pressed="true"]{background:var(--ink,#000);color:#fff}
.kh-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
.kh-tile{display:flex;flex-direction:column;gap:8px;padding:16px;border:1px solid var(--line);border-radius:14px;background:var(--panel,#fff);text-align:left;font:inherit;color:inherit;cursor:pointer;overflow:hidden;transition:box-shadow .2s,transform .2s}
.kh-tile:hover,.kh-tile:focus-visible{box-shadow:0 14px 30px -18px rgba(40,10,60,.35);transform:translateY(-2px)}
.kh-cover{display:block;margin:-16px -16px 4px;height:140px;background:var(--sunken,#F3F3F5);overflow:hidden}
.kh-cover img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.kh-tile-top{display:flex;align-items:center;gap:10px}
.kh-tile-top .kh-ic{width:30px;height:30px;border-radius:8px}
.kh-tile em,.kh-v-top em{font-style:normal;font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#B3148A}
.kh-tile b{font-size:16px;line-height:1.3}
.kh-gist{font-size:13.5px;line-height:1.5;color:var(--g60);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.kh-tile small{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--g60)}
.kh-n{display:inline-flex;align-items:center;gap:4px;margin-left:auto;font-size:12px;color:var(--g60)}
.kh-tablewrap{border:1px solid var(--line);border-radius:14px;overflow:auto;background:var(--panel,#fff)}
.kh-table{width:100%;border-collapse:collapse;font-size:14px}
.kh-table th{text-align:left;font-size:12px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--g60);padding:12px 16px;border-bottom:1px solid var(--line);white-space:nowrap}
.kh-table td{padding:12px 16px;border-bottom:1px solid var(--line);vertical-align:middle}
.kh-table tbody tr:last-child td{border-bottom:0}
.kh-table tbody tr{cursor:pointer}
.kh-table tbody tr:hover,.kh-table tbody tr:focus-visible{background:var(--sunken,#F6F6F8);outline:0}
.kh-tt{display:flex;align-items:center;gap:10px}
.kh-tt .kh-ic{width:28px;height:28px;border-radius:8px}
.kh-tt b{font-weight:600}
.kh-c-date{white-space:nowrap;color:var(--g60)}
.kh-pics{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:10px}
.kh-pics a{display:block;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--sunken,#F3F3F5);aspect-ratio:4/3}
.kh-pics img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.kh-view .kh-v-top{display:flex;align-items:center;gap:10px;margin-bottom:6px}
.kh-view .kh-v-text{margin:8px 0 16px}
.kh-view .kh-pics{margin-bottom:14px}
.kh-view .kh-tags,.kh-view .kh-ok{margin-bottom:10px}
.kh-view .hm-acts .kh-del{display:inline-flex;align-items:center;gap:6px;color:#B42318}
.kh-view .hm-acts .btn-secondary.kh-del:not(:disabled):hover{background:#B42318 !important;border-color:#B42318 !important;color:#fff !important}
.kh-shots{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px;padding:10px;border:1px dashed var(--line-2,#D7D7DC);border-radius:12px}
.kh-shots.drop{border-color:#FC31BB;background:rgba(252,49,187,.04)}
.kh-shot{position:relative;width:120px;height:90px;border-radius:8px;overflow:hidden;border:1px solid var(--line);background:var(--sunken,#F3F3F5)}
.kh-shot img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.kh-shot.up img{opacity:.5}
.kh-shot .hl-ring{position:absolute;inset:0;margin:auto}
.kh-shot button{position:absolute;top:4px;right:4px;width:24px;height:24px;border:0;border-radius:50%;background:rgba(0,0,0,.65);color:#fff;font-size:16px;line-height:1;cursor:pointer}
.kh-shot-add{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:120px;height:90px;border:1px solid var(--line-2,#D7D7DC);border-radius:8px;background:none;font:inherit;font-size:12.5px;color:var(--g60);cursor:pointer}
.kh-shot-add:hover{border-color:var(--ink);color:var(--ink)}
@media (max-width:720px){
  .kh-views{align-self:flex-start}
  .kh-headrow.kh-headrow{flex-direction:column;align-items:flex-start;gap:14px}
  .kh-headrow > div{min-width:0;width:100%}
  .kh-tiles{grid-template-columns:1fr}
  .kh-c-client,.kh-c-by{display:none}
  .kh-table th,.kh-table td{padding:10px 12px}
}
.kh-ocr{font-size:13px;color:var(--g60)}
.kh-ocr summary{cursor:pointer;font-weight:600;color:var(--ink-2,var(--ink))}
.kh-ocr p{margin:8px 0 0;padding:10px 12px;border-radius:10px;background:var(--sunken,#F3F3F5);line-height:1.5;overflow-wrap:anywhere}
.kh-view .kh-ocr{margin-bottom:14px}
.kh-tidying{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;color:var(--g60)}
.kh-warn{display:flex;gap:10px;padding:10px 12px;border-radius:10px;background:#FFF3F3;color:#9B1C1C;font-size:13.5px;line-height:1.45}
.kh-warn ul{margin:4px 0 0;padding-left:18px}
.kh-dup{display:flex;align-items:flex-start;gap:8px;margin:0;padding:10px 12px;border-radius:10px;background:#FFF8E6;color:#6B4A00;font-size:13.5px}
.kh-dup a{color:inherit;font-weight:600}
.kh-how{font-size:13.5px}
.kh-how summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:600;color:var(--ink-2,var(--ink))}
.kh-how-in{display:grid;gap:10px;margin-top:8px;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--sunken,#F6F6F8)}
.kh-how-in p,.kh-how-in ol,.kh-how-in ul{margin:0}
.kh-how-in ol,.kh-how-in ul{padding-left:20px;margin-top:4px;display:grid;gap:2px}
.kh-how-in .kh-tags{margin-top:6px}
.kh-suggest{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.kh-suggest span{font-size:13px;color:var(--g70)}
.kh-how-foot{font-size:12.5px;color:var(--g60)}
.kh-how-foot .linkish{font:inherit;font-size:12.5px;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;color:inherit}
.kh-view .kh-warn,.kh-view .kh-dup,.kh-view .kh-how{margin-bottom:12px}
.kh-doc{display:grid;gap:10px}
.kh-doc p,.kh-doc ol,.kh-doc ul{margin:0}
.kh-doc h3{margin:6px 0 0;font-size:15.5px}
.kh-doc ol,.kh-doc ul{padding-left:22px;display:grid;gap:4px}
.kh-fig{margin:4px 0;display:grid;gap:4px;max-width:720px}
.kh-fig a{display:block;border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--sunken,#F3F3F5)}
.kh-fig img{display:block;width:100%;height:auto}
.kh-fig figcaption{font-size:12px;color:var(--g60)}
.kh-orig{font-size:13px}
.kh-orig summary{cursor:pointer;color:var(--g60)}
.kh-orig .kh-text{margin-top:6px;padding:10px 12px;border-radius:10px;background:var(--sunken,#F6F6F8);font-size:13.5px}
.kh-view .kh-orig{margin-bottom:12px}
/* On Home, under the to-dos: laid out like the to-dos card (20px in from the edges, the gradient + button) */
.kh-home .hc-head{padding-bottom:10px}
.kh-home .kh-home-ic{width:32px;height:32px;border-radius:50%}
.kh-home .td-ic.kh-home-new{border:0;color:#fff;background:var(--hub-grad-ink);text-shadow:0 1px 2px rgba(40,10,60,.35)}
.kh-home .td-ic.kh-home-new:hover{color:#fff;filter:saturate(1.15) brightness(1.05)}
.kh-home-wait{display:flex;align-items:center;gap:8px;margin:0 20px 10px;padding:9px 12px;border-radius:8px;background:rgba(252,49,187,.08);color:#B3148A;font-size:13.5px;font-weight:600;text-decoration:none}
.kh-home-wait span{flex:1}
.kh-home-list{list-style:none;margin:0;padding:0 20px;display:grid;gap:8px}
.kh-home-list a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:8px;background:var(--sunken);color:var(--ink);text-decoration:none}
.kh-home-list a:hover{background:var(--g20)}
.kh-home-list .kh-ic{width:30px;height:30px;border-radius:8px}
.kh-home-list .kh-t b{font-size:14.5px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kh-home-list .kh-t small{font-size:13px}
.kh-home-empty{margin:0;padding:4px 20px 6px;font-size:13.5px;line-height:1.5;color:var(--g60)}
.kh-home-all{display:flex;align-items:center;gap:6px;margin:6px 0 0;padding:14px 20px 18px;border-top:0}
@media (max-width:720px){ .kh-home-wait{margin:0 16px 10px} .kh-home-list{padding:0 16px} .kh-home-empty{padding:4px 16px 6px} .kh-home-all{padding:12px 16px 16px} }
/* Share what you know: the site's form modal, a little narrower than the request forms (it has fewer fields) */
.hm-card.rf-card.kh-card-form{width:min(880px,100%)}
.seg.kh-kind{display:flex;flex-wrap:wrap;gap:8px;margin:6px 0 0;padding:0;border:0;background:none}
.seg.kh-kind button{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 16px;border:1px solid var(--line-2);font-size:13.5px}
.seg.kh-kind button[aria-pressed="true"]{border-color:var(--ink)}
.kh-form textarea{min-height:220px}
/* ═══ module: melbtime ═══ */
/* Melbourne time abroad: the line on a People card */
.pc-melb{display:inline-flex;align-items:center;gap:5px;font-size:12.5px;color:var(--g70);white-space:nowrap}
.pc-melb svg{flex:none;color:#B3148A}
.pc-melb .loc-time{font-weight:600;color:var(--ink)}
/* The header pill (abroad only): "Melbourne 9:55 am" */
.hd-melb{cursor:default;gap:6px}
.hd-melb svg{flex:none;opacity:.85}
.hd-melb .hm-l{opacity:.8}
@media (max-width:480px){ .hd-melb .hm-l{display:none} .hd-melb{padding:0 10px} }
/* ═══ module: inspiration ═══ */
/* AI news: every story, scrolling within the column; a count by the heading. */
.inspo .in-ai .in-card.in-ai-card{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.in-eb .in-n{font-weight:500;letter-spacing:0;text-transform:none;color:var(--grey-60,#888);margin-left:6px}
@media (max-width:900px){ .inspo .in-ai .in-card.in-ai-card{max-height:520px!important} }
/* ═══ module: kringle ═══ */
.kkp-fields .field{margin:0;display:grid;gap:6px;align-content:start;min-width:0}
.kkp-fields .field small,.kkp-announce .field small{color:var(--g70,#666);font-size:12.5px;line-height:1.35}
.kkp-fields input{width:100%}
.kkp-open{display:flex;gap:14px;align-items:flex-start;padding:14px 16px;margin:0 0 18px;border:1px solid var(--line);border-radius:14px;background:var(--sunken,#f7f6fa);cursor:pointer}
.kkp-open:has(input:checked){border-color:#FC31BB;background:#FFF4FA}
.kkp-open input{margin-top:4px;width:18px;height:18px;accent-color:#FC31BB;flex:none}
.kkp-open b{display:block;font-size:15px}
.kkp-open small{display:block;color:var(--g70,#666);font-size:13px;margin-top:2px}
.kkp-count{text-align:right}
.kk-announce{display:flex;gap:12px;align-items:flex-start;margin:0 0 14px;padding:13px 16px;border-radius:14px;background:linear-gradient(135deg,rgba(45,225,253,.10),rgba(252,49,187,.10));border:1px solid rgba(252,49,187,.28)}
.kk-announce p{margin:0;font-size:15px;white-space:pre-line}
.kk-an-ic{flex:none;margin-top:2px;color:#A3127A}
.kkp-people{max-height:none}
.kkp-set.dirty #kkp-save::after{content:" \2022";color:#FC31BB}
.kkp-prev-btns{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.kkp-prev-btns .btn{display:inline-flex;align-items:center;gap:8px}
.kkp-cardwrap{max-width:640px;padding:20px;border-radius:18px;background:var(--sunken);border:1px dashed var(--line-2)}
.kkp-cardwrap .eyebrow{margin-bottom:10px}
.kk-preview{pointer-events:none;user-select:none}
.kk-prev-flag{margin:0 0 14px;padding:8px 12px;border-radius:10px;background:rgba(252,49,187,.08);color:#b0127f;font-size:12.5px;font-weight:600;padding-right:44px}
/* ═══ module: wherejohn ═══ */
/* The two rankings under the game: your own place when you're not in the top eight, and the quickest times in figures. */
.wj-top .wj-mine{margin:10px 0 0;font-size:13px;font-weight:600;color:#C8102E}
.wj-top .wj-fast{display:inline;font-size:13.5px;font-variant-numeric:tabular-nums;color:var(--ink)}
.wjc2-lb{display:grid;gap:10px}
.wjc2-lbh{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.wjc2-lbt{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.wjc2-lbt svg{color:#FC31BB}
.wjc2-tog{display:inline-flex;gap:2px;padding:3px;border-radius:999px;background:var(--sunken,#f6f6f8);box-shadow:inset 0 0 0 1px rgba(27,19,48,.06)}
.wjc2-tog button{display:inline-flex;align-items:center;gap:6px;border:0;background:transparent;font:inherit;font-size:12.5px;font-weight:600;color:var(--muted);padding:6px 12px;border-radius:999px;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.wjc2-tog button:hover{color:#1B1330}
.wjc2-tog button[aria-pressed="true"]{background:#fff;color:#A3127A;box-shadow:0 1px 3px rgba(27,19,48,.16)}
.wjc2-tog button:focus-visible{outline:2px solid #FC31BB;outline-offset:1px}
.wjc2-big{font-size:15px;color:inherit;font-variant-numeric:tabular-nums}
.wj-hint-t{font-variant-numeric:tabular-nums;color:var(--muted);margin-left:2px}