/* ================================================================
   TCMOCKUP LOOK — the new direction (operator, 2026-10-20): white, Inter, department colours as the accent system.
   Cosmetic layer only, loaded last. Mobile-first (design for 375, add min-width upward) per layout.css.
   Markup: template-parts/site/{header,footer}.php, template-parts/home/*.php. Tokens below; colours per department come from
   the department itself (--dc set inline), see tcn_mockup_dept_style().
   ================================================================ */
:root {
  --tm-ink: #0b0b0d; --tm-ink2: #3a3a42; --tm-mute: #6f7078; --tm-line: #e7e7ea; --tm-soft: #f6f6f8;
  --tm-accent: #313de0; --tm-accent-soft: #7b93e2; --tm-orange: var(--tm-accent);  /* legacy name: every former orange is now the system indigo */ --tm-purple: #6b2fa0; --tm-green: #5d9b2a; --tm-r: 16px;
  /* THE PLAN COLORWAYS (one definition; the shop, sign-up and My Account all use them):
     Channel = teal into indigo, Channel+ = the signature indigo into violet, Business = violet into magenta. Teal is the accent on all three. */
  --plan-channel: linear-gradient(135deg, #0d9488 0%, #2b5be0 55%, #313de0 100%);
  --plan-channel_plus: linear-gradient(135deg, #1b1a63 0%, #313de0 58%, #6b2fa0 100%);
  --plan-own_network: linear-gradient(135deg, #2a1055 0%, #6b2fa0 55%, #c026d3 100%);
  --brand-teal: #5eead4;
  --dp-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --dp-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
body { font-family: var(--dp-sans); }
.tm-wrap { width: min(100% - 2 * var(--gutter, 16px), 1240px); margin-inline: auto; }
.tm-ic { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.tm-ic--sm { width: 14px; height: 14px; stroke-width: 2.2; }
.tm-ic--lg { width: 30px; height: 30px; stroke-width: 1.5; }
.tm-ic--xl { width: 40px; height: 40px; stroke-width: 1.5; }

/* ---------- buttons ---------- */
.tm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 20px; border-radius: 11px; border: 1.5px solid var(--tm-line); background: #fff; color: var(--tm-ink);
  font: 700 14px/1 var(--dp-sans); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tm-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.12); color: var(--tm-ink); }
.tm-btn--dark { background: var(--tm-ink); border-color: var(--tm-ink); color: #fff; }
.tm-btn--dark:hover { color: #fff; }
.tm-btn--sm { min-height: 40px; padding: 0 16px; font-size: 13px; border-radius: 9px; }
.tm-btn--block { display: flex; width: 100%; min-height: 40px; font-size: 13px; font-weight: 600; border-radius: 9px; }
.tm-btn--light { background: #fff; border-color: #fff; min-height: 56px; padding: 0 30px; font-size: 15px; }

/* ---------- header ---------- */
.tm-header { padding: 8px 0 !important; }
.tm-logo { flex-direction: column; align-items: flex-start; gap: 4px; line-height: 1; text-decoration: none; }
.tm-logo-mark { display: inline-flex; font-size: clamp(15px, 4.7vw, 22px); letter-spacing: -.03em; color: var(--tm-ink); white-space: nowrap; line-height: 1; }
.tm-the { font-weight: 400; }
.tm-com { font-weight: 900; }
.tm-tag { display: none; font: 500 11px/1 var(--dp-sans); letter-spacing: .06em; color: var(--tm-ink2); }
.site-header .main-nav .nav-link { font-family: var(--dp-sans); }
.tm-header .tm-ic--sm { margin-left: 4px; }
@media (min-width: 640px) { .tm-logo-mark { font-size: 24px; } }
@media (min-width: 1100px) { .tm-logo-mark { font-size: 28px; } .tm-tag { display: block; } }
/* the ONE header button (Gain Access for a visitor, My account for a member): a black rounded button at every width */
/* tcn-app.css forces uppercase / 800 / teal hover on .main-access-btn with !important, so this must too */
body .tm-header .main-access-btn.tm-access { background: var(--tm-ink) !important; color: #fff !important; border: 1px solid var(--tm-ink) !important; border-radius: 9px !important; min-height: 44px; padding: 0 clamp(12px, 3.6vw, 18px); font: 700 13px/1 var(--dp-sans) !important; letter-spacing: 0 !important; text-transform: none !important; }
body .tm-header .main-access-btn.tm-access:hover { background: #26262b !important; border-color: #26262b !important; color: #fff !important; }
@media (min-width: 769px) {
  body .tm-header .main-nav { background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 0; padding: 0; gap: 18px; }
  body .tm-header .main-nav .nav-link { min-height: 40px; padding: 0; background: none; border-radius: 0; color: var(--tm-ink); font: 600 14px/1 var(--dp-sans); letter-spacing: 0; position: relative; }
  body .tm-header .main-nav .nav-link:hover, body .tm-header .main-nav .nav-link.active { background: none; color: var(--tm-ink); }
  body .tm-header .main-nav .nav-link::after { content: ""; display: none; position: absolute; left: 0; right: 0; bottom: 4px; width: auto; height: 2px; transform: none; transition: none; background: var(--tm-ink); border-radius: 2px; }
  body .tm-header .main-nav .nav-link.active::after { display: block; width: auto; }
  body .tm-header .main-nav .nav-link--access { display: none; }
  /* the Departments and Shop menus: open on hover or keyboard focus, one clean list, 44px rows */
  body .tm-header .main-nav .nav-item { position: relative; display: flex; align-items: center; }
  body .tm-header .main-nav .nav-menu { display: none; position: absolute; top: 100%; left: -14px; z-index: 60; min-width: 200px; max-height: 70vh; overflow-y: auto; padding: 8px; background: #fff; border: 1px solid var(--tm-line); border-radius: 14px; box-shadow: 0 14px 34px rgba(11, 11, 13, .12); }
  body .tm-header .main-nav .nav-item:hover .nav-menu, body .tm-header .main-nav .nav-item:focus-within .nav-menu { display: block; }
  body .tm-header .main-nav .nav-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; color: var(--tm-ink); font: 600 14px/1 var(--dp-sans); text-decoration: none; text-transform: none; letter-spacing: 0; white-space: nowrap; }
  body .tm-header .main-nav .nav-menu a:hover, body .tm-header .main-nav .nav-menu a:focus-visible { background: var(--tm-soft); }
  body .tm-header .tcn-search-toggle, body .tm-header .tcn-cart-toggle { border-color: transparent; }
  body .tm-header .tcn-search-toggle:hover, body .tm-header .tcn-cart-toggle:hover { background: var(--tm-soft); color: var(--tm-ink); border-color: transparent; }
}

/* ---------- hero ---------- */
.tm-hero { padding: calc(var(--header-h, 64px) + 20px) 0 28px; background: #fff; }
.tm-hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.tm-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--tm-orange); font: 800 12px/1 var(--dp-sans); letter-spacing: .05em; }
.tm-kicker i { width: 20px; height: 2px; background: var(--tm-orange); }
.tm-h1 { margin: 0 0 18px; font: 800 clamp(38px, 9vw, 64px)/1.02 var(--dp-sans); letter-spacing: -.035em; text-transform: none; color: var(--tm-ink); }
.tm-h1 b { color: var(--tm-orange); }
.tm-lead { max-width: 520px; margin: 0 0 24px; color: var(--tm-ink2); font: 400 clamp(15px, 2.4vw, 17px)/1.55 var(--dp-sans); }
.tm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.tm-trust { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.tm-trust li { display: flex; align-items: center; gap: 10px; font: 600 11.5px/1.25 var(--dp-sans); color: var(--tm-ink); }
.tm-welcome { margin: 18px 0 0; color: var(--tm-ink2); font-size: 13px; }
.tm-welcome a { color: var(--tm-ink); font-weight: 700; }

/* bento: a phone gets a tidy 2-column grid; from 640 the tiles take the mockup's exact positions */
.tm-bento { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tm-tile { position: relative; display: block; overflow: hidden; border-radius: var(--tm-r); color: #fff; font: 800 clamp(16px, 4.4vw, 22px)/1.05 var(--dp-sans); letter-spacing: -.02em; text-decoration: none; min-height: 118px; }
.tm-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tm-tile span { position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px; }
.tm-tile--concert { grid-column: 1 / -1; aspect-ratio: 16 / 10; background: #111; }
.tm-tile--music { background: linear-gradient(135deg, #7b93e2, #313de0); }
.tm-tile--music img { position: absolute; left: 0; top: 0; width: 56%; height: 100%; object-position: center top; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
.tm-tile--music span { left: 46%; bottom: 12%; }
.tm-tile--codes { background: linear-gradient(135deg, #7a2fb0, #5a2490); }
.tm-tile--codes span { left: 8%; top: 50%; transform: translateY(-50%); }
.tm-tile--codes::after { content: ""; position: absolute; right: -8%; top: -30%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,.1); }
.tm-tile--products { background: linear-gradient(135deg, #79b333, #4f8a22); }
.tm-tile--products img { position: absolute; right: 0; top: 0; width: 48%; height: 100%; }
.tm-tile--products span { left: 8%; top: 12%; }
.tm-tile--articles { background: linear-gradient(135deg, #e0443a, #c22d24); }
.tm-tile--articles img { position: absolute; right: 0; bottom: 0; width: 52%; height: 92%; opacity: .55; }
.tm-tile--articles span { left: 8%; top: 12%; }
@media (min-width: 640px) {
  .tm-bento { display: block; position: relative; aspect-ratio: 512 / 390; }
  .tm-tile { position: absolute; min-height: 0; font-size: clamp(14px, 2.1vw, 26px); }
  .tm-tile--concert { left: 0; top: 0; width: 46.9%; height: 100%; aspect-ratio: auto; }
  .tm-tile--music { left: 48.4%; top: 0; width: 51.6%; height: 38.5%; }
  .tm-tile--codes { left: 48.4%; top: 40.5%; width: 51.6%; height: 28.7%; }
  .tm-tile--products { left: 32.8%; top: 71.3%; width: 32%; height: 28.7%; outline: 6px solid #fff; z-index: 3; font-size: clamp(12px, 1.7vw, 22px); }
  .tm-tile--articles { left: 66.4%; top: 71.3%; width: 33.6%; height: 28.7%; font-size: clamp(12px, 1.7vw, 22px); }
  .tm-trust { grid-template-columns: repeat(4, auto); justify-content: start; }
}
@media (min-width: 1100px) { body .tm-header .main-nav { gap: 26px; } }
@media (min-width: 900px) { .tm-hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr); gap: 44px; } .tm-hero { padding-bottom: 44px; } }
/* phones: the pictures come first, then the words (operator, 2026-10-25) */
@media (max-width: 899px) { .tm-hero-in > .tm-bento { order: -1; } }

/* ---------- sections ---------- */
.tm-section { padding: 26px 0; background: #fff; }
.tm-depts-band { background: linear-gradient(#fbfbfc, #fff); }
.tm-sechead { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.tm-eyebrow { margin: 0 0 6px; font: 800 11.5px/1 var(--dp-sans); letter-spacing: .06em; }
.tm-eyebrow--purple { color: #4b2ba6; } .tm-eyebrow--green { color: #3b7a1f; }
.tm-h2 { margin: 0; font: 800 clamp(24px, 4vw, 30px)/1.1 var(--dp-sans); letter-spacing: -.025em; text-transform: none; color: var(--tm-ink); }
@media (min-width: 640px) { .tm-sechead { flex-direction: row; align-items: flex-end; justify-content: space-between; } }

/* departments: the department's own colour (--dc) is the card */
.tm-depts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tm-dept { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 220px; padding: 20px 16px 16px; border-radius: var(--tm-r); overflow: hidden; color: #fff; text-decoration: none;
  background: linear-gradient(160deg, color-mix(in srgb, var(--dc) 100%, #fff 0%), color-mix(in srgb, var(--dc) 78%, #000)); transition: transform .2s, box-shadow .2s; }
.tm-dept:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.18); color: #fff; }
.tm-dept-mark { position: absolute; right: -18px; top: 6px; width: 96px; height: 96px; stroke: rgba(255,255,255,.16); stroke-width: 1.1; }
.tm-badge { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 10px; border-radius: 50%; background: #fff; color: var(--tm-ink); }
.tm-dept h3 { margin: 0; font: 700 17px/1.15 var(--dp-sans); letter-spacing: -.01em; text-transform: none; color: #fff; }
.tm-dept p { margin: 0 0 auto; font: 400 12px/1.45 var(--dp-sans); color: rgba(255,255,255,.92); }
.tm-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.55); border-radius: 9px; font: 700 12px/1 var(--dp-sans); font-style: normal; }
@media (min-width: 640px) { .tm-depts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tm-depts { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* channels */
.tm-chans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tm-chan { overflow: hidden; border: 1px solid var(--tm-line); border-radius: var(--tm-r); background: #fff; transition: transform .2s, box-shadow .2s; }
.tm-chan:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.tm-chan-art { display: grid; place-items: center; aspect-ratio: 174 / 114; background: #111 center / cover no-repeat; color: #fff; text-decoration: none; }
.tm-chan-art b { font: 800 40px/1 var(--dp-sans); }
.tm-chan-body { padding: 14px; }
.tm-chan h3 { display: flex; align-items: center; gap: 5px; margin: 0 0 3px; font: 700 14px/1.2 var(--dp-sans); text-transform: none; letter-spacing: 0; color: var(--tm-ink); }
.tm-ic--ok { width: 14px; height: 14px; color: #2f9e44; }
.tm-role, .tm-mem { margin: 0; color: var(--tm-mute); font: 400 11.5px/1.35 var(--dp-sans); }
.tm-mem { min-height: 16px; margin: 4px 0 12px; }
@media (min-width: 640px) { .tm-chans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .tm-chans { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* stats */
.tm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; margin-top: 14px; margin-bottom: 26px; padding: 22px 18px; background: var(--tm-soft); border-radius: var(--tm-r); }
.tm-stat { display: flex; align-items: center; gap: 12px; }
.tm-stat b { display: block; font: 800 24px/1.1 var(--dp-sans); letter-spacing: -.02em; color: var(--tm-ink); }
.tm-stat span span, .tm-stat div span { font: 400 11.5px/1.3 var(--dp-sans); color: var(--tm-ink2); }
.tm-stat-ic { display: grid; place-items: center; }
@media (min-width: 900px) { .tm-stats { grid-template-columns: repeat(5, 1fr); padding: 24px 26px; gap: 0; } .tm-stat { padding: 0 18px; border-left: 1px solid var(--tm-line); } .tm-stat:first-child { border-left: 0; padding-left: 0; } }

/* access band */
.tm-band { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 34px; padding: 26px 22px; background: var(--tm-ink); color: #fff; border-radius: 20px; }
.tm-band-ic { display: grid; place-items: center; width: 76px; height: 76px; border: 1.5px solid #c78a1c; border-radius: 50%; color: #f2b030; flex: none; }
.tm-band-copy { flex: 1; }
.tm-band-copy h2 { margin: 0 0 8px; font: 800 clamp(22px, 4vw, 26px)/1.15 var(--dp-sans); letter-spacing: -.02em; text-transform: none; color: #fff; }
.tm-band-copy p { margin: 0; max-width: 430px; color: #d6d6da; font: 400 14px/1.55 var(--dp-sans); }
.tm-band-act { text-align: center; }
.tm-band-act p { margin: 14px 0 0; font-size: 13px; color: #e6e6e9; }
.tm-band-act p a { color: var(--tm-orange); font-weight: 700; }
@media (min-width: 768px) { .tm-band { flex-direction: row; align-items: center; gap: 30px; padding: 34px 40px; } }

/* ---------- footer (the old light-blue band becomes the mockup's white footer) ---------- */
.tm-footer { background: #fff !important; border-top: 1px solid var(--tm-line); color: var(--tm-ink2); --ink: var(--tm-ink); --muted: var(--tm-ink2); --faint: var(--tm-mute); --line: var(--tm-line); }
.tm-footer .footer-title { font-family: var(--dp-sans); }
.tm-footer .tm-logo-mark { font-size: 28px; }
.tm-footer .tm-tag { display: block; }
.tm-copy { margin: 22px 0 0 !important; font: 400 11.5px/1.4 var(--dp-sans); color: var(--tm-mute) !important; }
.tm-footer .footer-links-col h4 { font: 700 13px/1 var(--dp-sans); letter-spacing: 0; text-transform: none; color: var(--tm-ink); }
.tm-footer .footer-links-col a { min-height: 32px; font: 400 12px/1.3 var(--dp-sans); color: var(--tm-ink2); }
.tm-footer .footer-links-col a:hover { color: var(--tm-ink); }
.tm-social { display: flex; gap: 10px; }
.tm-footer .footer-links-col .tm-social a { display: grid; place-items: center; width: 40px; height: 40px; min-height: 0; border: 1px solid var(--tm-line); border-radius: 50%; color: var(--tm-ink); }
@media (min-width: 768px) { .tm-footer .footer-inner { grid-template-columns: 1.3fr 2fr; } .tm-footer .footer-links { grid-template-columns: repeat(4, auto); } }

/* the header is 60px at every width (measured): sticky bars and page tops must use that, not the old 64/76 guess */
:root, body { --header-h: 61px; }
@media (min-width: 769px) { :root, body { --header-h: 61px; } }
/* a solid header: the old 92% white let the page show through it (and through the gap above a sticky tab bar) */
body header.site-header.tm-header.tm-header, body header.site-header.tm-header.site-header--scrolled { background: #fff !important; -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 1px solid var(--tm-line); box-shadow: none; }
/* phone header: logo + cart + one button + menu must share 337px without touching (measured: they overlapped at 375) */
@media (max-width: 479px) {
  body .tm-header .header-container { gap: 6px; }
  body .tm-header .header-actions { gap: 4px; }
  .tm-header .tcn-cart-toggle, .tm-header .nav-hamburger { width: 44px; height: 44px; }
}

/* PHONES (<769px): menu button left, wordmark truly centred, box + account icon right. The account button is an icon here (label stays for
   screen readers and the menu panel carries the text link), so it no longer dwarfs the menu button. */
@media (max-width: 768px) {
  body .tm-header .header-container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 4px; }
  body .tm-header .nav-hamburger { justify-self: start; }
  body .tm-header .network-logo-link { justify-self: center; align-items: center; text-align: center; }
  body .tm-header .header-actions { justify-self: end; }
  /* the bottom bar is the phone's site navigation, so no menu button here: search on the left, wordmark centred, box + account right */
  body .tm-header .nav-hamburger, body .tm-header .main-nav { display: none !important; }
  body .tm-header .header-actions { display: contents; }
  body .tm-header .tcn-header-search { display: block; grid-column: 1; grid-row: 1; justify-self: start; }
  body .tm-header .network-logo-link { grid-column: 2; grid-row: 1; }
  body .tm-header .tcn-cart-toggle { grid-column: 3; grid-row: 1; justify-self: end; margin-right: 48px; }
  body .tm-header .main-access-btn.tm-access { grid-column: 3; grid-row: 1; justify-self: end; }
  body .tm-header .main-access-btn.tm-access { width: 44px; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; border-radius: 50% !important; }
  body .tm-header .main-access-btn .acc-long { display: none !important; }
  body .tm-header .main-access-btn .acc-ic { display: block; }
  body .tm-header .main-nav .nav-link--account { display: flex; }
}
@media (min-width: 769px) { .tm-header .acc-ic, .tm-header .main-nav .nav-link--account { display: none; } }

/* ---------- system indigo (2026-10-21): the thecomissionsystem.com accent replaces the old orange and teal on every surface ---------- */
:root { --accent: #313de0; --accent-2: #2530c4; --on-accent: #ffffff; --clr-primary: #313de0; --clr-primary-tint: #c9d0fa; --dept-rgb: 49, 61, 224; }
body .bnav-center-icon svg { stroke: #fff; }

/* ---------- home hero tiles from real content (2026-10-24) ---------- */
.tm-tile--meet { display: block; position: relative; background: #111; overflow: hidden; }
.tm-tile--meet .tm-meet-grid { position: absolute; inset: 0; z-index: 1; display: grid; align-items: stretch; gap: 4px; gap: 4px; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
.tm-tile--meet .tm-meet-n2 { grid-template-columns: 1fr; }
.tm-tile--meet .tm-meet-n3 { grid-template-columns: 1fr 1fr; } .tm-meet-n3 i:first-child { grid-column: 1 / -1; }
.tm-meet-grid i { position: relative; display: block; background-size: cover; background-position: center; background-color: #1c1c22; }
.tm-meet-grid i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); }
.tm-meet-grid b { position: absolute; z-index: 1; left: 10px; bottom: 8px; right: 8px; color: #fff; font: 700 13px/1.15 var(--dp-sans); text-shadow: 0 1px 6px rgba(0,0,0,.5); font-style: normal; }
.tm-tile--meet .tm-meet-cap { position: absolute; z-index: 2; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--tm-ink); font: 700 13px/1 var(--dp-sans); }
.tm-tile--articles { background: linear-gradient(135deg, #7b93e2, #313de0); }

/* music tile with the department's own picture: full-bleed, darkened so the label reads */
.tm-tile--music img[src*="/uploads/"] { left: 0; width: 100%; mix-blend-mode: normal; -webkit-mask-image: none; mask-image: none; object-position: center; opacity: .85; }
.tm-tile--music img[src*="/uploads/"] + span { left: 8%; bottom: 12%; text-shadow: 0 1px 8px rgba(0,0,0,.55); }

/* the back-to-parent bar (inc/tcn-mockup-skin.php, tcn_back_parent) */
.tcn-backbar { padding: calc(var(--header-h, 61px) + 12px) 0 0; position: relative; z-index: 1; }
.tcn-backbar + * , .tcn-backbar ~ main { }
.tcn-backbar .ed-back { position: static; display: inline-flex; align-items: center; gap: 8px; margin: 0; min-height: 40px; padding: 0 16px 0 8px; border: 1.5px solid var(--tm-line); border-radius: 999px; background: #fff; color: var(--tm-ink); font: 700 13px/1 var(--dp-sans); text-decoration: none; }
.tcn-backbar .pg-pill-dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tm-ink); color: #fff; font-size: 12px; }

/* the single hero image */
.tm-tile--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.tm-tile--hero .tm-meet-cap { position: absolute; z-index: 2; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--tm-ink); font: 700 13px/1 var(--dp-sans); }

/* the TCN network wordmark (library: 2026/03/APPTCNNAV-2026.png): pale cyan on transparent, shown as ink on the white header */
.tm-logo-mark { line-height: 0; }
.tm-logo-img { display: block; width: 150px; max-width: 100%; height: auto; filter: brightness(0); }
@media (min-width: 640px) { .tm-logo-img { width: 210px; } }
@media (min-width: 1100px) { .tm-logo-img { width: 250px; } }
@media (max-width: 768px) { body .tm-header .network-logo-link { justify-self: center; align-items: center; } }
@media (max-width: 768px) { body .tm-header .header-container { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } }
@media (max-width: 768px) { body .tm-header .network-logo-link { align-self: center; } }
.tm-header .tm-logo { justify-content: center; min-height: 44px; }

/* PHONE HEADER v3: box left, wordmark centred and big, account right (search lives on the pages; the bottom bar is the navigation) */
@media (max-width: 768px) {
  body .tm-header .tcn-header-search { display: none; }
  body .tm-header .tcn-cart-toggle { grid-column: 1; grid-row: 1; justify-self: start; margin-right: 0; }
  body .tm-header .main-access-btn.tm-access { grid-column: 3; grid-row: 1; justify-self: end; }
  .tm-logo-img { width: min(250px, calc(100vw - 150px)); }
}

/* PHONE HEADER v4: tighter gutters so the wordmark can be as wide as the two side buttons allow; heavier strokes so the thin wordmark reads */
@media (max-width: 768px) {
  body .tm-header .header-container { padding-left: 0; padding-right: 0; gap: 2px; }
  .tm-logo-img { width: min(290px, calc(100vw - 136px)); filter: brightness(0); }
}

/* HEADER v5 (operator, 2026-10-24): wordmark on the LEFT, no search icon anywhere in the header */
body .tm-header .tcn-header-search, body .tm-header .tcn-search-toggle { display: none !important; }
@media (max-width: 768px) {
  body .tm-header .header-container { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  body .tm-header .header-actions { display: flex; flex: none; align-items: center; gap: 6px; }
  body .tm-header .tcn-cart-toggle, body .tm-header .main-access-btn.tm-access { grid-column: auto; grid-row: auto; justify-self: auto; margin: 0; }
  body .tm-header .network-logo-link { flex: 1 1 auto; min-width: 0; justify-self: auto; align-items: flex-start; }
  .tm-logo-img { width: min(300px, calc(100vw - 138px)); }
}

/* PHONE BOTTOM BAR (operator, 2026-10-25): stuck to the bottom edge, full width, no gaps, never slides away */
@media (max-width: 768px) {
  body .tcn-bottom-nav { left: 0; right: 0; bottom: 0; border-radius: 0 !important; border: 0 !important; border-top: 1px solid var(--tm-line) !important; padding: 4px 6px calc(4px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .18); transform: none !important; transition: none; }
  body .tcn-bottom-nav.bnav-hidden { transform: none !important; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  body .tcn-bottom-nav .bnav-item { min-width: 0; padding-inline: 2px; }
  body .tcn-bottom-nav .bnav-item span { max-width: 100%; font-size: 10px; letter-spacing: 0; white-space: nowrap; }   /* five labels, Departments the longest: they must all fit */
  .ed.ed--screen, .ed.ed--dept { padding-bottom: calc(76px + env(safe-area-inset-bottom)); box-sizing: border-box; }
}

/* Gain Access code popup (opened by the bottom bar's Access button and every Gain Access button): solid white card, system colours */
body #tcn-ga-popup-overlay { background: rgba(11, 11, 13, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); padding: 16px; }
body #tcn-ga-popup { background: #fff; border: 1px solid var(--tm-line); border-radius: 22px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); font-family: var(--dp-sans); }
body #tcn-ga-popup .tcn-ga-popup-title { font-family: var(--dp-sans); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
body #tcn-ga-popup .tcn-ga-popup-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 16px; background: rgba(49, 61, 224, .08); font-size: 22px; }
body #tcn-ga-popup .tcn-ga-popup-input { min-height: 52px; border: 1.5px solid var(--tm-line); border-radius: 14px; background: #faf9ff; text-align: center; font: 700 16px var(--dp-sans); letter-spacing: .08em; }
body #tcn-ga-popup .tcn-ga-popup-input:focus { border-color: var(--tm-accent); outline: 0; box-shadow: 0 0 0 3px rgba(49, 61, 224, .12); }
body #tcn-ga-popup .tcn-ga-popup-btn { min-height: 52px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #7b93e2 0%, #313de0 55%, #5b2fd1 100%); color: #fff; font: 800 15px var(--dp-sans); }
body #tcn-ga-popup .tcn-ga-popup-btn:hover { background: linear-gradient(135deg, #8aa0ec 0%, #3d49ea 55%, #6a3be0 100%); }
body #tcn-ga-popup .tcn-ga-popup-auth-link { color: var(--tm-accent); }
body #tcn-ga-popup-close { width: 40px; height: 40px; top: 10px; right: 10px; border-radius: 50%; border: 1px solid var(--tm-line); background: #fff; display: grid; place-items: center; font-size: 22px; }

/* Embedded view (?tcn_embed=1): a page framed inside the Collection window shows only its own content */
body.tcn-embed { padding: 0; }
body.tcn-embed .site-header, body.tcn-embed .site-footer, body.tcn-embed .tcn-bottom-nav, body.tcn-embed .tcn-back-bar,
body.tcn-embed .tcn-cart-drawer, body.tcn-embed .tcn-cart-overlay { display: none !important; }   /* !important: these have their own display rules on every page family; this mode must always win */

/* paints an element with its plan's colorway: class="plan-bg plan-bg--channel_plus" */
.plan-bg--channel { background: var(--plan-channel); }
.plan-bg--channel_plus { background: var(--plan-channel_plus); }
.plan-bg--own_network { background: var(--plan-own_network); }


/* ================================================================
   CHANNEL STUDIO (sign-up page and My Account plan form): the channel as it will appear, then the name and department. Law: 44px+, one line.
   ================================================================ */
.tcn-studio { display: grid; gap: 10px; }
.tcn-chprev { position: relative; overflow: hidden; border: 1px solid var(--tm-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 28px rgba(27, 26, 99, .12); }
.tcn-chprev-cover { height: 92px; background: var(--plan-channel_plus); }
.tcn-chprev-av { position: absolute; left: 18px; top: 52px; display: grid; place-items: center; width: 72px; height: 72px; border: 4px solid #fff; border-radius: 50%; background: #313de0; color: #fff; font: 800 28px/1 var(--dp-sans); transition: background .25s; }
.tcn-chprev-body { display: flex; flex-direction: column; gap: 6px; padding: 38px 18px 18px; }
.tcn-chprev-name { color: var(--tm-ink); font: 800 22px/1.15 var(--dp-sans); overflow-wrap: anywhere; }
.tcn-chprev-name.is-empty { color: #b9bac4; }
.tcn-chprev-url { color: var(--tm-mute); font: 600 14px/1.3 var(--dp-sans); overflow-wrap: anywhere; }
.tcn-chprev-url i { color: var(--tm-ink); font-style: normal; font-weight: 800; }
.tcn-chprev-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tcn-chprev-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: #313de0; color: #fff; font: 800 12px/1 var(--dp-sans); white-space: nowrap; }
.tcn-chprev-tag[hidden] { display: none; }
.tcn-chprev-tag--plan { background: rgba(49, 61, 224, .1); color: #313de0; }
.tcn-chprev-state { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font: 800 12px/1 var(--dp-sans); white-space: nowrap; }
.tcn-chprev-state[hidden] { display: none; }
.tcn-chprev-state.is-ok { background: var(--brand-teal); color: #06242a; }
.tcn-chprev-state.is-bad { background: #fdecea; color: #a8281c; }
.tcn-studio-label { display: block; margin: 8px 0 0; color: #4a5160; font: 800 12px/1 var(--dp-sans); letter-spacing: .12em; text-transform: uppercase; }
.tcn-studio-field { display: flex; align-items: stretch; min-height: 52px; border: 1.5px solid var(--tm-line); border-radius: 14px; background: #fff; overflow: hidden; }
.tcn-studio-field:focus-within { border-color: #313de0; box-shadow: 0 0 0 3px rgba(49, 61, 224, .14); }
.tcn-studio-pre { display: flex; align-items: center; padding: 0 0 0 14px; color: var(--tm-mute); font: 600 14px/1 var(--dp-sans); white-space: nowrap; }
.tcn-studio-input { flex: 1 1 auto; min-width: 0; padding: 0 14px 0 2px; border: 0; background: transparent; color: var(--tm-ink); font: 800 16px/1 var(--dp-sans); outline: 0; }
.tcn-studio-hint { margin: 0; min-height: 1em; color: var(--tm-mute); font: 600 13px/1.3 var(--dp-sans); }
.tcn-studio-hint.ok { color: #0f6b46; }
.tcn-studio-hint.bad { color: #a8281c; }
.tcn-deptpick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .tcn-deptpick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tcn-dept { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--tm-line); border-radius: 14px; background: #fff; color: var(--tm-ink); font: 700 14px/1 var(--dp-sans); text-align: left; white-space: nowrap; cursor: pointer; transition: border-color .15s, background .15s; }
.tcn-dept:hover { border-color: #b9bddb; }
.tcn-dept-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; }
.tcn-dept-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.tcn-dept.is-on { border-color: var(--dc, #313de0); background: color-mix(in srgb, var(--dc, #313de0) 12%, #fff); }
.tcn-dept.is-on::after { content: "\2713"; margin-left: auto; color: var(--dc, #313de0); font-weight: 800; }
.tcn-today { margin: 6px 0 0; padding: 12px 14px; border: 1px solid rgba(13, 148, 136, .35); border-radius: 14px; background: rgba(94, 234, 212, .16); color: var(--tm-ink); font: 600 14px/1.4 var(--dp-sans); }
.tcn-today b { font-weight: 800; }

/* the channel name is typed right on the preview card */
.tcn-chprev-field { display: block; }
.tcn-chprev-input { display: block; width: 100%; min-height: 48px; padding: 0 0 2px; border: 0; border-bottom: 2px dashed #c9d0fa; background: transparent; color: var(--tm-ink); font: 800 24px/1.15 var(--dp-sans); outline: 0; transition: border-color .15s; }
.tcn-chprev-input::placeholder { color: #b9bac4; font-weight: 700; }
.tcn-chprev-input:focus { border-bottom-color: #313de0; border-bottom-style: solid; }
.tcn-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* PLAN CARD (template-parts/account/plan-card.php): sign-up, My Plan and Add a channel share it */
.tcn-reg-plan { margin: 0 0 18px; overflow: hidden; border: 1px solid var(--line, #e7e7ea); border-radius: 18px; background: #fff; }
.tcn-reg-plan-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; color: #fff; }
.tcn-reg-plan-tag { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; background: rgba(255, 255, 255, .16); font: 800 11px/1 var(--dp-sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.tcn-reg-plan-name { margin: 0; color: #fff; font: 800 24px/1.15 var(--dp-sans); text-transform: none; letter-spacing: 0; }
.tcn-reg-plan-price { margin: 0; color: #fff; font: 800 32px/1 var(--dp-sans); }
.tcn-reg-plan-price small { font-size: 14px; font-weight: 700; opacity: .8; }
.tcn-reg-plan-perks { margin: 0; padding: 16px 18px 4px 38px; display: grid; gap: 8px; color: var(--ink, #0b0b0d); font: 500 14px/1.4 var(--dp-sans); }
.tcn-reg-plan-perks li::marker { color: var(--accent, #313de0); }
.tcn-reg-plan-change { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 12px 18px 18px; padding: 0 16px; border: 1.5px solid var(--line-strong, #cfd3dc); border-radius: 14px; color: var(--ink, #0b0b0d); font: 800 14px/1 var(--dp-sans); text-decoration: none; white-space: nowrap; }
/* change plan inside the page: two plan buttons, same size and shape as every button */
.tcn-planswitch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 18px 18px; }
.tcn-planswitch-btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 12px; border: 1.5px solid var(--line-strong, #cfd3dc); border-radius: 14px; background: #fff; color: var(--ink, #0b0b0d); font: 800 14px/1 var(--dp-sans); white-space: nowrap; cursor: pointer; }
.tcn-planswitch-btn small { font-size: 13px; font-weight: 700; opacity: .7; }
.tcn-planswitch-btn.is-on { border-color: transparent; background: var(--plan-channel_plus); color: #fff; }
.tcn-planswitch-btn.is-on small { opacity: .85; }
.tcn-planswitch-btn.is-on[data-plan="channel"] { background: var(--plan-channel); }
.tcn-planswitch-btn.is-on[data-plan="channel_plus"] { background: var(--plan-channel_plus); }

/* VOTE: the private club (template-parts/vote/state.php). A blurred ballot nobody can read, the way in on top; on /vote/ the page does not scroll. */
.vt-club { position: relative; min-height: 560px; overflow: hidden; border-radius: 20px; background: #f6f4fd; }
.vt-club--page { min-height: calc(100svh - 190px); border-radius: 0; }
html.vt-locked, html.vt-locked body { overflow: hidden; height: 100%; overscroll-behavior: none; }
.vt-ghost { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-content: start; gap: 18px; padding: 28px; filter: blur(9px); opacity: .85; pointer-events: none; user-select: none; }
.vt-g-card { padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(27, 26, 99, .12); }
.vt-g-head { display: block; width: 55%; height: 16px; margin-bottom: 14px; border-radius: 8px; background: #b9bdd6; }
.vt-g-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.vt-g-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #1b1a63, #313de0 60%, #6b2fa0); }
.vt-g-bar { flex: 1; height: 12px; border-radius: 6px; background: #cfd3e6; }
.vt-g-bar--s { max-width: 55%; } .vt-g-bar--m { max-width: 75%; }
.vt-g-btn { flex: none; width: 74px; height: 36px; border-radius: 999px; background: #313de0; }
.vt-gate { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(27, 26, 99, .22); }
.vt-card { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 440px; padding: 36px 28px; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(27, 26, 99, .35); }
.vt-icon { font-size: 52px; line-height: 1; }
.vt-badge { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: rgba(239, 68, 68, .1); color: #dc2626; border: 1px solid rgba(239, 68, 68, .2); font: 800 11px/1 var(--dp-sans); letter-spacing: .1em; white-space: nowrap; }
.vt-title { margin: 4px 0 0; color: #1b1c2e; font: 800 26px/1.15 var(--dp-sans); text-transform: none; letter-spacing: 0; }
.vt-msg { margin: 0 0 8px; color: #4a5160; font: 500 16px/1.5 var(--dp-sans); }
.vt-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 0 20px; border: 1.5px solid #d9d4f0; border-radius: 999px; background: #fff; color: #1b1c2e; font: 800 15px/1 var(--dp-sans); white-space: nowrap; text-decoration: none; }
.vt-btn:hover { border-color: #313de0; }
.vt-btn--primary { border-color: transparent; background: linear-gradient(135deg, #1b1a63, #313de0 60%, #6b2fa0); color: #fff; }
@media (max-width: 520px) { .vt-ghost { padding: 16px; } .vt-card { padding: 28px 20px; } }
/* /vote/ does not scroll, so the whole club has to fit the screen: a tighter banner and card on short screens */
html.vt-locked .pg-head { padding-bottom: 20px; min-height: 0; }
@media (max-height: 760px) { .vt-club--page .vt-gate { align-items: flex-start; padding-top: 12px; } .vt-card { gap: 8px; padding: 20px 20px 22px; } .vt-icon { font-size: 36px; } .vt-title { font-size: 22px; } .vt-msg { font-size: 15px; margin-bottom: 4px; } .vt-btn { min-height: 44px; } }


/* ================================================================
   IDENTITY BOX (.idb, built by tcn_idb() in inc/tcn-idb.php): a small image on the left, the title and every badge or identifier beside it,
   all in the site's light-purple box. One component for My Channels, the channel and department directories, offers and the Social page.
   --dc = the department's colour (an edge on the box); --tc = a badge's own colour. Law: tags 26px, one line, 12px from the edge.
   ================================================================ */
.idb { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px; border: 1px solid var(--box-line, rgba(49, 61, 224, .10)); border-radius: 18px; background: var(--box-grad, linear-gradient(160deg, #f6f5fd 0%, #ebe9f9 58%, #e3e1f4 100%)); color: inherit; text-decoration: none; overflow: hidden; }
.idb--dept { padding-left: 20px; }
.idb--dept::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--dc); }
.idb--dept .idb-img { box-shadow: 0 0 0 3px #fff, 0 0 0 5px color-mix(in srgb, var(--dc) 55%, #fff); }
a.idb { transition: border-color .15s, box-shadow .15s; }
a.idb:hover { border-color: rgba(49, 61, 224, .35); box-shadow: 0 8px 22px rgba(27, 26, 99, .12); }
.idb-img { flex: none; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 16px; background: #111 center / cover no-repeat; color: #fff; font: 800 24px/1 var(--dp-sans); }
.idb-img--letter { background: linear-gradient(135deg, #7b93e2 0%, #313de0 55%, #5b2fd1 100%); }
.idb-img svg { width: 34px; height: 34px; }
.idb-id { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.idb-name { color: var(--ink, #0b0b0d); font: 800 17px/1.2 var(--dp-sans); overflow-wrap: anywhere; }
.idb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.idb-tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid rgba(49, 61, 224, .14); color: var(--accent, #313de0); font: 800 12px/1 var(--dp-sans); white-space: nowrap; }
.idb-tag b { font-weight: 800; opacity: .75; }
.idb-tag--dept { --tc: var(--dc, #313de0); }
.idb-tag--dept::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc); }
.idb-tag--dept, .idb-tag--type { background: color-mix(in srgb, var(--tc, #313de0) 13%, #fff); border-color: color-mix(in srgb, var(--tc, #313de0) 38%, #fff); color: color-mix(in srgb, var(--tc, #313de0) 70%, #1b1a63); }
.idb-tag--ok { background: #e6faf5; border-color: #b6ece0; color: #0b6b5c; }
.idb-tag--ok::before { content: "\2713"; font-weight: 800; }
.idb-tag--warn { background: #fdecea; border-color: rgba(168, 40, 28, .2); color: #a8281c; }

/* a card of the directory kind: the identity box, then up to two short lines under it */
.idc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.idc-grid .ed-group-badge { grid-column: 1 / -1; margin: 8px 0 0; }
.idc { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 12px; border: 1px solid var(--tm-line, #e4e0f4); border-radius: 22px; background: #fff; }
.idc[hidden] { display: none; }
.idc--bare { padding: 0; border: 0; border-radius: 0; background: none; }
.idc-line { display: block; padding: 0 6px 4px; color: var(--ink-soft, #4a5160); font: 600 14px/1.45 var(--dp-sans); text-decoration: none; overflow-wrap: anywhere; }
a.idc-line { color: var(--accent, #313de0); font-weight: 800; }
a.idc-line:hover { text-decoration: underline; }
@media (max-width: 520px) { .idc-grid { grid-template-columns: minmax(0, 1fr); } .idb-img { width: 56px; height: 56px; } }

.idb-img--logo { background-color: #fff; background-size: 68%; border: 1px solid var(--box-line, rgba(49, 61, 224, .10)); }


/* ================================================================
   CART AND CHECKOUT AS ONE FLOW (inc/tcn-cart-flow.php): the steps strip, and the order card at the top of the checkout. Law: tags 26px, buttons 44px.
   ================================================================ */
.ck-steps { margin: 0 0 24px; }
.ck-steps ol { display: flex; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ck-step { display: flex; align-items: center; }
.ck-step + .ck-step::before { content: ""; width: 28px; height: 2px; margin-right: 8px; background: #d9d4f0; }
.ck-step a, .ck-step > span, .ck-step > i { text-decoration: none; }
.ck-step a { display: inline-flex; align-items: center; gap: 8px; }
.ck-step > i, .ck-step a > i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1.5px solid #d9d4f0; color: #7a7f93; font: 800 13px/1 var(--dp-sans); font-style: normal; }
.ck-step { gap: 8px; color: #7a7f93; font: 800 14px/1 var(--dp-sans); }
.ck-step.is-on { color: var(--ink, #0b0b0d); }
.ck-step.is-on i { background: linear-gradient(135deg, #1b1a63, #313de0 60%, #6b2fa0); border-color: transparent; color: #fff; }
.ck-step.is-done { color: var(--ink, #0b0b0d); }
.ck-step.is-done i { background: #e6faf5; border-color: #b6ece0; color: #0b6b5c; }
.ck-order { margin: 0 0 24px; padding: 20px; border: 1px solid var(--box-line, rgba(49, 61, 224, .10)); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(27, 26, 99, .10); }
.ck-order[hidden] { display: none; }
.ck-order-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.ck-order-head h2 { margin: 0; color: var(--ink, #0b0b0d); font: 800 18px/1.2 var(--dp-sans); text-transform: none; letter-spacing: 0; }
.ck-edit { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #d9d4f0; border-radius: 999px; color: var(--ink, #0b0b0d); font: 800 14px/1 var(--dp-sans); text-decoration: none; white-space: nowrap; }
.ck-edit:hover { border-color: #313de0; }
.ck-line { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; }
.ck-line .idb { flex: 1 1 auto; }
.ck-line-price { flex: none; min-width: 72px; color: var(--ink, #0b0b0d); font: 800 17px/1 var(--dp-sans); text-align: right; }
.ck-order-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; padding-top: 14px; border-top: 1px solid #e4e0f4; color: #4a5160; font: 700 15px/1 var(--dp-sans); }
.ck-order-total b { color: var(--ink, #0b0b0d); font: 800 22px/1 var(--dp-sans); }
@media (max-width: 520px) { .ck-order { padding: 14px; } .ck-line { align-items: flex-start; flex-direction: column; gap: 6px; } .ck-line .idb { width: 100%; } .ck-line-price { align-self: flex-end; } .ck-step + .ck-step::before { width: 16px; } }

/* the order card is live: quantity stepper and remove sit on each line */
.ck-order.is-busy { opacity: .6; pointer-events: none; }
.ck-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ck-ctl { display: flex; align-items: center; gap: 6px; }
.ck-q { display: grid; place-items: center; width: 44px; height: 44px; border: 1.5px solid #d9d4f0; border-radius: 50%; background: #fff; color: var(--ink, #0b0b0d); font: 800 20px/1 var(--dp-sans); cursor: pointer; }
.ck-q:hover { border-color: #313de0; }
.ck-qn { min-width: 28px; color: var(--ink, #0b0b0d); font: 800 16px/1 var(--dp-sans); text-align: center; }
.ck-rm { display: inline-flex; align-items: center; min-height: 44px; margin-left: 4px; padding: 0 14px; border: 0; background: none; color: #a8281c; font: 800 14px/1 var(--dp-sans); cursor: pointer; }
.ck-rm:hover { text-decoration: underline; }
@media (max-width: 520px) { .ck-side { width: 100%; flex-direction: row; justify-content: space-between; align-items: center; } }

/* items sold on another platform: their own card, and the way to that checkout */
.ck-ext-wrap[hidden] { display: none; }
.ck-ext { margin: 0 0 24px; padding: 20px; border: 1px solid var(--box-line, rgba(49, 61, 224, .10)); border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(27, 26, 99, .10); }
.ck-where { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: rgba(49, 61, 224, .08); border: 1px solid rgba(49, 61, 224, .14); color: var(--accent, #313de0); font: 800 12px/1 var(--dp-sans); white-space: nowrap; }
.ck-ext-note { margin: 10px 0 0; color: #7a7f93; font: 600 13px/1.5 var(--dp-sans); }
.ck-ext.is-busy { opacity: .6; pointer-events: none; }

/* the way to the other outlet's checkout: one button, its own colours (the page's link colours must not reach it) */
body .tcn-wc-page .ck-ext-go { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin: 16px 0 0; padding: 0 20px; border-radius: 999px; background: linear-gradient(135deg, #1b1a63, #313de0 60%, #6b2fa0); color: #fff; font: 800 16px/1 var(--dp-sans); text-decoration: none; white-space: nowrap; }
body .tcn-wc-page .ck-ext-go:hover { filter: brightness(1.1); color: #fff; }

/* READABILITY LAW: tables in page content scroll sideways inside their own box and no cell breaks a word in the middle */
.tcn-table-scroll { margin: 0 0 1.2em; overflow-x: auto; }
.tcn-table-scroll table.tcn-table { width: 100%; border-collapse: collapse; }
.tcn-table-scroll .tcn-table th, .tcn-table-scroll .tcn-table td { padding: 10px 12px; vertical-align: top; overflow-wrap: normal; word-break: normal; text-align: left; }
