/* Growth Club consistency pass v1g (23 Nov 2026, Chris 01:36-01:47: "check the whole site again ... make it all perfect and consistent"; v1b: Partnerships' Contact support on one line, the sign-in page's 9px NEW; v1c: real previews on the Tools cards; v1d: the second sweep, s1-s7; v1e: the open states, s8-s9, at the end). Chris's answers on the site sweep (20:53-21:04): one palette, one
   card-title style, 12px minimum, 44px tap targets, readable dark mode. Loaded last in layout.twig, for everyone
   (signed in and out), so each rule here repeats the selector it corrects and wins by coming later; nothing in the
   theme stylesheet, the light twins or the dark sheet is edited. Each block names its sweep finding (c1-c5, t1-t3,
   b1-b4, d1-d2, l1). Rollback: take the <link> out of layout.twig.
   Palette (the frame's own tokens): light ink #132249, muted #5d6987, teal #0b737c; dark ink #fff, muted #b3afc6,
   cyan #7ff0f5; dark cards #0e0b17, inner panels #1a1528. */

/* ---------- c1: My agent, the /agent page and What it can do on the site's palette ---------- */
html.gc-light body #gc-ag,html.gc-light body #gc-aghq,html.gc-light body #gc-cdx,html.gc-light body #gc-cdup{
  --ga-ink:#132249;--ga-mute:#5d6987;--ga-acc:#0b737c;--ga-btnink:#132249;--ga-silverink:#132249}
html:not(.gc-light) body #gc-ag,html:not(.gc-light) body #gc-aghq,html:not(.gc-light) body #gc-cdx,html:not(.gc-light) body #gc-cdup{
  --ga-ink:#ffffff;--ga-text:#eceaf4;--ga-mute:#b3afc6;--ga-silverink:#132249;
  /* c5: one dark card colour (#0e0b17, as every client page), inner panels as the site's (#1a1528) */
  --ga-card:#0e0b17;--ga-card2:#1a1528;--ga-well:#1a1528}

/* ---------- c1: the builders' selected segment (Masthead, A4 portrait) on the site's navy ---------- */
html.gc-light body .gc-tk-app .gc-tk-sg[aria-pressed="true"],html.gc-light body .gc-tk-app .gc-tk-sg.on{background-color:#132249!important;color:#ffffff!important}
html.gc-light .gc-cur-list li.active a,html.gc-light body .bd-tabs span.on{background-color:#132249}
/* the builders' and Tools' small links in the site's teal */
html.gc-light body .gc-tk-app .gc-tk-lk,html.gc-light body .gc-tk-tl-go,html.gc-light body .gc-tk-tl-il{color:#0b737c!important}

/* ---------- c2: links and table buttons in the site's teal (light); dark mode is already cyan ---------- */
.gc-light .well a{color:#0b737c}
html.gc-light body :is(.gc-main, .gc-gh ~ main) table.gc-rt td:not(.r-act):not(.r-service):not(.r-id) a:not(.gc-tb){color:#0b737c!important}
html.gc-light body :is(.gc-main, .gc-gh ~ main) table.gc-rt td .gc-tb{color:#0b737c!important}
html.gc-light body :is(.gc-main, .gc-gh ~ main) table.gc-rt td .gc-tb:hover,html.gc-light body :is(.gc-main, .gc-gh ~ main) table.gc-rt td .gc-tb:focus-visible{border-color:#0b737c!important;background-color:#f2fbfb!important}
html:not(.gc-light) body :is(.gc-main, .gc-gh ~ main) table.gc-rt td .gc-tb:hover,html:not(.gc-light) body :is(.gc-main, .gc-gh ~ main) table.gc-rt td .gc-tb:focus-visible{border-color:rgba(127,240,245,.6)!important}
html.gc-light body :is(.gc-main, .gc-gh ~ main) table.gc-rt td.r-fav [data-favorite-service-id]{color:#0b737c}
html.gc-light body :is(.gc-main, .gc-gh ~ main) table.gc-rt td.r-fav [data-favorite-service-id]:hover{border-color:#0b737c}
html.gc-light body #uploader-button,html.gc-light body #uploader-button a{color:#0b737c}
/* Brand Deals HQ's links */
html.gc-light body .bd-link,html.gc-light body .bd-web .bd-link,html.gc-light body .bd-co a,html.gc-light body .bd-dr-h a,html.gc-light body .bd-ct a,html.gc-light body .bd-ct-l a,html.gc-light body .bd-pc-l a,html.gc-light body .bd-coc-l a,html.gc-light body .bd-dr-ph,html.gc-light body .bd-web-r a,html.gc-light body .bd-pf-more{color:#0b737c}
/* the sign-in and Join the club forms' links (New? Join the club, Forgot password?, Sign in) */
html.gc-light body form#gc-login a,html.gc-light body form#gc-join a{color:#0b737c!important}

/* ---------- c3: Brand Deals HQ's tags in the site's own chip style (was LinkedIn blue) ---------- */
html body .bd-links a.bd-btn:not(.ghost),html body .bd-links a.bd-btn:not(.ghost):hover{background:#e9f8f9!important;color:#0b737c!important;box-shadow:inset 0 0 0 1px rgba(11,115,124,.22)!important}
html body .bd-links a.bd-btn:not(.ghost):hover{background:#dcf3f4!important}
html:not(.gc-light) body .bd-links a.bd-btn:not(.ghost),html:not(.gc-light) body .bd-links a.bd-btn:not(.ghost):hover{background:rgba(127,240,245,.12)!important;color:#7ff0f5!important;box-shadow:inset 0 0 0 1px rgba(127,240,245,.3)!important}
html:not(.gc-light) body .bd-links a.bd-btn:not(.ghost):hover{background:rgba(127,240,245,.2)!important}

/* ---------- c4: small labels in teal (gold stays for points and status) ---------- */
html.gc-light body .gcj-eyebrow{color:#0b737c!important}
html:not(.gc-light) body .gcj-eyebrow{color:#7ff0f5!important}

/* ---------- c5: one dark card colour: the blog, guides and legal pages' cards as every other page ---------- */
html:not(.gc-light) body .gc-news-card{background-color:#0e0b17}

/* ---------- t1: My agent's title like every other page: MY AGENT beside its icon tile, the agent's name below ---------- */
html body #gc-aghq .gh-top .gh-av{width:56px!important;height:56px!important;padding:13px;box-sizing:border-box;border-radius:18px;background:#ffffff;border:1px solid rgba(19,34,73,.14);box-shadow:0 0 26px rgba(63,193,202,.2)}
html:not(.gc-light) body #gc-aghq .gh-top .gh-av{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.14);box-shadow:0 0 26px rgba(127,240,245,.33)}
html body #gc-aghq .gh-top .gh-kicker{margin:0!important;font-size:30px!important;line-height:1.15!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--ga-ink)!important}
html body #gc-aghq .gh-top .gh-name{margin:4px 0 0!important;font-size:16px!important;line-height:1.35!important;font-weight:800!important;letter-spacing:0!important;text-transform:none!important;color:var(--ga-ink)!important}
@media (max-width:760px){html body #gc-aghq .gh-top .gh-kicker{font-size:22px!important}}

/* ---------- t2: nothing under 12px ---------- */
/* the phone dock's labels */
html body .gx-dock .gx-it{font-size:12px}
html body .gx-dock .gx-it span{height:15px;line-height:15px}
html body .gx-dock.gx-mini .gx-it span{height:0}
/* service tiers on Orders, Repeats and Subscriptions (and the Service page's lists) */
html body .gc-rb{height:24px;padding:0 9px;font-size:12px!important;letter-spacing:.05em!important}
/* the row labels in Orders, Repeats, Subscriptions, Tickets and My referrals (CHARGE, QUANTITY, DATE...) */
html body :is(.gc-main,.gc-gh~main) table.gc-rt>tbody>tr>td::before{font-size:12px}
/* Wallet, Account and Membership */
html body .gcs-bs,html body .gcs-pk,html body .pm-coin,html body #gc-bonus small,html body #gc-tiers span,html body .gm-k,html body .gm-pill,html body .well small.help-block{font-size:12px!important}
/* Brand Deals HQ (its preview pictures keep their scale) */
html body #gc-deals :is(.bd-btn.sm,.bd-today-n span,.bd-cp-i,.bd-web-h,.bd-web-l,.bd-snap span,.bd-col-h span,.bd-deal small,.bd-auto,.bd-task em,.bd-match):not(.bd-shot *){font-size:12px!important}
/* Tools, the builders, guides */
html body .gc-tk-tl-new,html body .gc-tk-fn,html body .gc-guide-rel-k{font-size:12px!important}
html body .gc-tk-lkn{font-size:12px!important;white-space:normal!important;text-overflow:clip!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.25!important}
/* Join the team */
html body :is(.gcj-chip-live,.gcj-chip-gold,.gcj-feat-t,.gcj-badge-d,.gcj-cap,.gcj-pill,.gcj-lock){font-size:12px!important}
/* the sign-in page: SCROLL, the NEW badges, the preview captions and the partnership card's labels */
html body #gc-home .gc-bdh-new,html body #gc-home .gc-bdh-tag{font-size:12px!important}
html body #gc-home #hero div[style*="letter-spacing: 0.24em"],html body #gc-home div[style*="font-size: 9px"]{font-size:12px!important}
html body #gc-home .gc-ptr-col :is([style*="font-size: 10.5px"],[style*="font-size: 11px"],[style*="font-size: 11.5px"]){font-size:12px!important}

/* ---------- t3: one card-title style (13.5px spaced capitals, 2.2px apart), nothing bigger than the page title ---------- */
html.gx body .gx-live .gx-chead h2{font-size:13.5px!important;letter-spacing:2.2px!important}
html body #gc-aghq .gh-h2,html body .cd .cd-st,html body .gc-tk-st,html body .gc-tk-tl-t,html body .gc-xf .gc-xf-help .gc-xf-ht{font-size:13.5px!important;letter-spacing:2.2px!important}
@media (max-width:760px){
  html body .gc-xf h2.gc-xf-h{font-size:22px!important;letter-spacing:.14em!important}
  html body .gc-tk-tl-h{font-size:20px!important}
  html body #gcj-role-title,html body #gcj-desk-title,html body #gcj-apply-title{font-size:22px!important}
}

/* ---------- b1: 44px tap targets ---------- */
/* Orders, Repeats, Subscriptions and Tickets: the row buttons (Cancel, Reorder, View) */
html body :is(.gc-main,.gc-gh~main) table.gc-rt td .gc-tb{height:44px!important;min-height:44px!important;padding:0 18px!important;border-radius:12px!important;font-size:14px!important;font-weight:800!important}
/* the tier badges stay small to look at but take a 44px tap */
html body button.gc-rbs-btn{position:relative}
html body button.gc-rbs-btn::after{content:"";position:absolute;left:-4px;right:-4px;top:-10px;bottom:-10px}
/* Brand Deals HQ: buttons 44px; its text links (Hide, Disconnect, task links) take a 44px tap */
html body #gc-deals .bd-btn:not(.bd-shot *){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px!important;border-radius:12px;font-size:13px}
html body #gc-deals .bd-btn.sm:not(.bd-shot *){font-size:12px!important}
html body #gc-deals :is(.bd-link,.bd-disc):not(.bd-shot *){position:relative;display:inline-block}
html body #gc-deals :is(.bd-link,.bd-disc):not(.bd-shot *)::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:44px;margin-top:-22px}
/* Tickets: Attach files */
html body #uploader-button{min-height:44px}

/* ---------- b2: Orders' search button matches its rounded field ---------- */
html body .gc-main .input-group>.input-group-btn>.btn{background:#ffffff!important;background-image:none!important;color:#5d6987!important;border:0!important;border-radius:0 12px 12px 0!important;box-shadow:inset 1px 0 0 rgba(19,34,73,.08)!important}
html body .gc-main .input-group>.input-group-btn>.btn:hover,html body .gc-main .input-group>.input-group-btn>.btn:focus-visible{color:#0b737c!important}
html:not(.gc-light) body .gc-main .input-group>.input-group-btn>.btn{background:#1a1528!important;color:#b3afc6!important;box-shadow:inset 1px 0 0 rgba(255,255,255,.08),0 2px 0 rgba(127,240,245,.55)!important}
html:not(.gc-light) body .gc-main .input-group>.input-group-btn>.btn:hover,html:not(.gc-light) body .gc-main .input-group>.input-group-btn>.btn:focus-visible{color:#7ff0f5!important}

/* ---------- b3: Partnerships' Questions? Contact support: full width (in the page) and on one line on phones ---------- */
html body .well a.gc-btn[href="/tickets"]{padding:0 12px!important}
@media (max-width:380px){html body .well a.gc-btn[href="/tickets"]{padding:0 10px!important;font-size:13.5px!important}}

/* ---------- b4: Join the team's Apply to join reads in dark mode (dark text, as the other silver buttons) ---------- */
html:not(.gc-light) body #gcj-go,html:not(.gc-light) body #gcj-go *{color:#2e2e34!important;-webkit-text-fill-color:#2e2e34}

/* ---------- d1: the titles' moving colour stays readable in dark mode (no dark band through the letters) ---------- */
html:not(.gc-light) body .gc-shimmer{background-image:linear-gradient(90deg,#ffffff 0%,#bff8fb 25%,#f6c4f4 50%,#ffffff 75%,#bff8fb 100%)}

/* ---------- l1: My agent and /agent: the Back up arrow clears the footer at the end of the page ---------- */
@media (max-width:760px){html body:has(#gc-cdup) footer.gc-foot{padding-bottom:64px!important}}

/* ---------- p7 (part): the Tools cards' icon tile shows in light mode ---------- */
html.gc-light body .gc-tk-tl-ic{background:#e9f8f9!important;box-shadow:inset 0 0 0 1px rgba(11,115,124,.18)!important}

/* ---------- p7: the Tools cards show a real preview of each tool (Brand Deals HQ with example brands, Kate's media kit,
   Kate's portfolio), light and dark, full width at the top of the card (the card's padding is 22px everywhere) ---------- */
html body .gc-tk-root a.gc-tk-tl-card::before{content:"";display:block;flex:0 0 auto;order:-1;margin:-22px -22px 6px;aspect-ratio:4/3;border-radius:20px 20px 0 0;background:#0e0b17 center top/cover no-repeat}
html.gc-light body .gc-tk-root a.gc-tk-tl-card::before{background-color:#eef1fa}
html body .gc-tk-root a.gc-tk-tl-card[href="/brand-deals"]::before{background-image:url(https://storage.perfectcdn.com/lueupm/ufkfxm2f9ooizgtl.webp)}
html.gc-light body .gc-tk-root a.gc-tk-tl-card[href="/brand-deals"]::before{background-image:url(https://storage.perfectcdn.com/lueupm/tldesbtg7sx9edjo.webp)}
html body .gc-tk-root a.gc-tk-tl-card[href="/media-kit"]::before{background-image:url(https://storage.perfectcdn.com/lueupm/1znp5f3czzhcsqql.webp)}
html.gc-light body .gc-tk-root a.gc-tk-tl-card[href="/media-kit"]::before{background-image:url(https://storage.perfectcdn.com/lueupm/awn6dsgts67xq89d.webp)}
html body .gc-tk-root a.gc-tk-tl-card[href="/portfolio"]::before{background-image:url(https://storage.perfectcdn.com/lueupm/03o5q697gj3zw5s6.webp)}
html.gc-light body .gc-tk-root a.gc-tk-tl-card[href="/portfolio"]::before{background-image:url(https://storage.perfectcdn.com/lueupm/05pc4nmq9rch8354.webp)}

/* ======================= v1d: the second sweep (23 Nov 2026), every page in light and dark, phone and computer ======================= */

/* ---------- s1: no lines beside the cards. The boxes that hold a page's cards (the theme's .well, and My agent's own
   box) cut the cards' shadows off at their edges, which drew a faint straight line down each side. They let the
   shadows through now; the page itself is what stops sideways scrolling. A .well that holds one of the theme's
   data tables (Orders, Add funds, My referrals, Support) keeps its own scrolling, so a wide table still scrolls
   inside it on a phone; those boxes hold no shadowed cards. ---------- */
html body{overflow-x:clip}
html body .well:not(:has(table.table)){overflow:visible!important;display:flow-root}
html body #gc-ag,html body #gc-aghq,html body #gc-cdx,html body #gc-cdup{overflow-x:visible!important}

/* ---------- s2: dark mode's top bar in white, as light mode's is in navy (Chris 01:44: "the top nav bar button
   text/symbol colours should be white except from the balance button"). The dark sheet's rule for every link
   (cyan) had been painting the page menus, the bell and the status chip. ---------- */
html:not(.gc-light) body .gx-top .gx-pills a,html:not(.gc-light) body .gx-top .gx-pills a:hover,html:not(.gc-light) body .gx-top .gx-pills a:focus-visible{color:#ffffff!important}
html:not(.gc-light) body .gx-top a.gx-ibtn,html:not(.gc-light) body .gx-top button.gx-ibtn,html:not(.gc-light) body .gx-top .gx-seg button,html:not(.gc-light) body .gx-top .gx-agq{color:#ffffff!important}
html:not(.gc-light) body .gx-top a.gcs-chip,html:not(.gc-light) body .gx-top a.gcs-chip *{color:#ffffff!important}
html.gc-light body .gx-top a.gx-ibtn{color:#132249!important}

/* ---------- s3: menus and tabs made of pills (Orders' filters, Account's General / Notifications) in white in dark
   mode, as their navy twins in light mode (the dark sheet's link cyan had them looking like links) ---------- */
html:not(.gc-light) body ul.nav-pills>li:not(.active)>a,html:not(.gc-light) body ul.nav-pills>li:not(.active)>a:hover,html:not(.gc-light) body ul.nav-pills>li:not(.active)>a:focus{color:#ffffff!important}

/* ---------- s4: Support's Attach files: cyan in dark mode, the twin of its teal in light mode ---------- */
html:not(.gc-light) body #uploader-button,html:not(.gc-light) body #uploader-button .files-label,html:not(.gc-light) body #uploader-button a{color:#7ff0f5!important}

/* ---------- s5: Brand Deals HQ in light mode: the "Search LinkedIn by role" chips were white on pale teal (unreadable)
   and the open tab of Find brands / My deals / Tasks was navy on navy ---------- */
html.gc-light body .bd-links a.bd-btn:not(.ghost),html.gc-light body .bd-links a.bd-btn:not(.ghost):hover,html.gc-light body .bd-links a.bd-btn:not(.ghost):visited{color:#0b737c!important}
html.gc-light body .bd-tabs span.on,html.gc-light body .bd-tabs .on{color:#ffffff!important}

/* ---------- s6: What it can do: its row of areas stays under the Service switch (Growth Club AI, Order box, My
   agent) when the page scrolls, instead of behind it ---------- */
html.gx.gx-hassec body :is(#gc-ag,#gc-aghq,#gc-cdx) .cd .cd-nav{top:calc(env(safe-area-inset-top,0px) + var(--gx-head,76px) + 60px)!important}
@media (max-width:760px){html.gx.gx-hassec body :is(#gc-ag,#gc-aghq,#gc-cdx) .cd .cd-nav{top:calc(env(safe-area-inset-top,0px) + var(--gx-head,70px) + 56px)!important}}
/* its band fades out at its edges, so what scrolls under it softens away instead of being sliced by a hard strip */
html.gx body :is(#gc-ag,#gc-aghq,#gc-cdx) .cd .cd-nav{-webkit-mask-image:linear-gradient(90deg,transparent,#000 4px,#000 92%,transparent),linear-gradient(180deg,transparent,#000 7px,#000 calc(100% - 7px),transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 4px,#000 92%,transparent),linear-gradient(180deg,transparent,#000 7px,#000 calc(100% - 7px),transparent);mask-composite:intersect}

/* ---------- s7: All Growth Club updates: its "What's new" and "New" tags at 12px (nothing under 12px) ---------- */
html body #gc-fixes .gc-fixes-news,html body #gc-fixes .gc-fixes-new,html body .gc-fixes-news,html body .gc-fixes-new{font-size:12px!important}

/* ======================= v1e: the open states (23 Nov 2026) ======================= */

/* ---------- s8: All Growth Club updates: its "Updated" tag at 12px too (nothing under 12px) ---------- */
html body #gc-fixes .gc-fixes-ok,html body .gc-fixes-ok{font-size:12px!important}

/* ---------- s9: the boxes that open (the More sheet, the account menu, the updates panel, My agent's windows) take the
   focus when they open, so a keyboard or screen reader starts inside them; the box itself no longer draws a focus ring
   around its whole edge (its buttons and links keep theirs) ---------- */
html body #gx-sheet:focus,html body .gx-sheet:focus,html body #gx-acctpop:focus,html body .gx-pop:focus,html body [role="dialog"]:focus,html body div[tabindex="-1"]:focus,html body section[tabindex="-1"]:focus,html body aside[tabindex="-1"]:focus{outline:none!important}
/* s10 (v1f): dark mode, More sheet: Message support's envelope dark on its cyan tile (white on #7ff0f5 read 1.3:1) */
html:not(.gc-light) body .gx-tki.tc{color:#06121a!important}
/* v1f: the Tools card for Brand Deals HQ is the Join the team desk (computer + phone), light e7tah1zca0lo13qz / dark 1plfcu3mg1a1x0j8; v1g: 10px lower, clear of the NEW badge */
