/* Harry James Leyland portfolio. Shared by every version of the site.
   Fonts are self-hosted (latin subset, from Fontsource, SIL Open Font License) and never version-stamped. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-700.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/poppins-800.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/red-hat-text-400.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/red-hat-text-500.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/red-hat-text-600.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Red Hat Text"; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/red-hat-text-700.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Light only, by design: the portfolio has one look on every device. */
:root {
  --bg: #f4f4fa; --card: #ffffff; --ink: #1b1a33; --text: #4a4a66; --muted: #6b6b85; --line: #e4e4f0; --tile: #eeeefa;
  --indigo: #4f56d8; --grad: linear-gradient(90deg, #4f56d8, #a24fd8 55%, #e04fae);
  --ok: #15803d; --okbg: #dcfce7; --wa: #128c4a; --deskbg: #e9e8f5;
  --media1: #eceaf7; --media2: #e3e1f2; --wash: linear-gradient(100deg, #f4f4fa 0%, #f0eefa 45%, #e3e2f8 75%, #f1dcef 100%);
  color-scheme: light; box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); background: var(--bg); }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: "Red Hat Text", "Helvetica Neue", Arial, sans-serif; -webkit-text-size-adjust: 100%; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--card); }
button { font-family: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: Poppins, "Helvetica Neue", Arial, sans-serif; text-wrap: balance; color: var(--ink); }
p { text-wrap: pretty; }
a { color: var(--indigo); }
.rail { display: flex; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.eyebrow { font-family: Poppins, Arial, sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); margin: 0 0 6px; }
.gtext { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tile { width: 36px; height: 36px; border-radius: 9px; background: var(--tile); color: var(--indigo); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tile svg { width: 18px; height: 18px; }
.note { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }

/* layout: phone column, framed on desktop */
.side { display: none; }
@media (min-width: 1000px) {
  html, body { background: var(--deskbg); }
  .desk { display: flex; justify-content: center; align-items: flex-start; gap: 28px; padding: 36px 28px 60px; min-height: 100vh; }
  .side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 36px; width: 220px; flex: none; }
  .phone { width: 680px; flex: 0 1 680px; min-width: 0; }
  .screen { border-radius: 20px; border: 1px solid var(--line); overflow: hidden; overflow: clip; min-height: 860px; box-shadow: 0 10px 30px rgba(27,26,51,.08); }
  .sticky { top: 0 !important; }
  .sec { padding: 22px 22px 32px; }
  .head { padding: 14px 22px 0; }
  .tabs { margin-left: -22px; margin-right: -22px; padding: 0 22px; }
  .progress { margin: 0 -22px; padding: 0 22px 8px; }
  /* One menu on desktop: the section list on the left. The tab row is for phones only. */
  .screen .head .who, .screen .tabs { display: none; }
  .head { padding-top: 12px; }
}
.screen { background: var(--bg); }
.sticky { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 6; }
.topbar { height: 4px; background: var(--grad); }
/* shown only when the portal says Demo mode is on, or on a test visit (?test=1) */
.demo-strip { background: #fff4d6; color: #5b4300; font-size: 12.5px; text-align: center; padding: 6px 12px; }
.head { background: var(--card); padding: 12px 16px 0; }
.head .who { display: flex; justify-content: space-between; align-items: baseline; }
.head b { font-family: Poppins, Arial, sans-serif; font-size: 15px; font-weight: 700; }
.head span { font-size: 12.5px; color: var(--muted); }
.tabs { --l: 0px; --r: 48px; gap: 20px; margin-top: 6px; padding: 0 16px; margin-left: -16px; margin-right: -16px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--l), #000 calc(100% - var(--r)), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 var(--l), #000 calc(100% - var(--r)), transparent 100%); }
.tabs.scrolled { --l: 32px; }
.tabs.at-end { --r: 0px; }
.progress { display: flex; align-items: center; gap: 10px; margin: 0 -16px; padding: 0 16px 8px; }
.progress .track { flex: 1; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress .track i { display: block; height: 3px; border-radius: 2px; background: var(--grad); transition: width .3s ease; }
.progress span { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .progress .track i { transition: none; } }
.tabs a { flex: 0 0 auto; font-size: 14.5px; font-weight: 700; color: var(--muted); text-decoration: none; padding: 12px 0 10px; border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--indigo); }

/* a section is one screen; only the current one shows */
.sec[hidden] { display: none; }
.sec { padding: 18px 12px 28px; }
.block { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 18px; }
.block + .block { margin-top: 12px; }
.sec h2 { margin: 0; font-size: 26px; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.intro { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.seg { display: flex; background: var(--tile); border-radius: 12px; padding: 4px; margin: 18px 0 16px; gap: 2px; }
.seg button { flex: 1; font-size: 14px; font-weight: 700; border: 0; border-radius: 9px; padding: 9px 6px; min-height: 42px; cursor: pointer; background: transparent; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 6px rgba(27,26,51,.12); }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pager a { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; color: var(--ink); font-weight: 700; font-size: 15px; min-height: 60px; }
.pager a small { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.pager a.next { text-align: right; background: var(--tile); color: var(--indigo); border-color: #d9d8f5; }
.pager a.next small { color: var(--muted); }
.pager span { display: block; }

/* overview */
.hero { background: var(--wash); border-radius: 20px; padding: 26px 18px 20px; border: 1px solid var(--line); }
.hero h1 { margin: 0; font-size: 32px; line-height: 1.06; font-weight: 800; letter-spacing: -0.02em; }
.hero .role { margin: 8px 0 0; font-family: Poppins, Arial, sans-serif; font-size: 18px; font-weight: 600; color: var(--indigo); }
.hero .sub { margin: 10px 0 0; font-size: 16.5px; line-height: 1.5; color: var(--text); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.stats > div { display: flex; flex-direction: column; gap: 8px; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stats b { font-family: Poppins, Arial, sans-serif; font-size: 15.5px; font-weight: 700; line-height: 1.2; }
.stats small { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.career h3 { margin: 18px 0 6px; font-size: 15px; }
.career h3:first-child { margin-top: 0; }
.job { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.job:first-of-type { border-top: 0; }
.job small { display: block; color: var(--muted); font-size: 12.5px; }
.job b { font-family: Poppins, Arial, sans-serif; font-size: 14.5px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.gains { margin-top: 14px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 0; font-size: 14.5px; line-height: 1.4; }
.ticks svg { width: 20px; height: 20px; color: var(--ok); margin-top: 1px; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 14.5px; }
.langs .flag { width: 24px; height: 16px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(27,26,51,.14); }

/* planning: pages styled like the media plan deck */
.slides { gap: 12px; scroll-snap-type: x mandatory; scroll-padding: 0 18px; margin: 18px -18px 0; padding: 0 18px 4px; }
.slide { flex: 0 0 290px; scroll-snap-align: start; background: #fbfbfe; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 18px rgba(27,26,51,.06); }
.slide .bar { height: 4px; background: var(--grad); }
.slide .in { padding: 16px; flex: 1; }
.slide .eyebrow { font-size: 10.5px; }
.slide h3 { margin: 0 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.slide .pg { display: flex; justify-content: space-between; padding: 10px 16px; font-size: 11px; color: var(--muted); border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; padding: 7px 0; }
.row b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 14px; }
.row span { font-size: 13.5px; line-height: 1.45; color: var(--text); }
.fix { padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.4; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; }
.fix:first-of-type { border-top: 0; }
.fix s { display: block; text-decoration: none; color: var(--muted); }
.fix i { font-style: normal; color: var(--indigo); text-align: center; }
.fix b { display: block; font-weight: 700; }
.fix b::before { content: "\2192\00a0"; color: var(--indigo); }
.cols h4 { margin: 10px 0 4px; font-family: Poppins, Arial, sans-serif; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.cols h4.win { color: var(--ink); }
.cols h4 { display: flex; align-items: center; gap: 8px; }
.cols h4 .tile { width: 26px; height: 26px; border-radius: 7px; }
.cols h4 .tile svg { width: 15px; height: 15px; }
.cols ul { padding-left: 52px; }
.cols ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.55; color: var(--text); }
.aud { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.aud div { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.aud .tile { width: 30px; height: 30px; margin-bottom: 6px; }
.aud .tile svg { width: 16px; height: 16px; }
.aud b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 16px; font-weight: 700; background: none; color: var(--ink); }
.aud span { font-size: 12px; color: var(--muted); line-height: 1.35; }
.phase { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 13.5px; line-height: 1.45; }
.phase small { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.phase b { font-family: Poppins, Arial, sans-serif; }
.slidenav { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.slidenav span { font-size: 13px; color: var(--muted); }
.circ { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 20px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.circ.go { background: var(--indigo); color: #fff; border-color: var(--indigo); }

/* creative */
.hooks { display: flex; flex-direction: column; gap: 10px; }
.iph { position: relative; z-index: 0; flex: none; width: 220px; padding: 7px; border-radius: 40px; background: #1b1a33; box-shadow: 0 12px 30px rgba(27,26,51,.18); }
.iph .scr { position: relative; height: 448px; border-radius: 33px; overflow: hidden; background: #fff; display: flex; flex-direction: column; color: var(--ink); }
.iph .isl { position: absolute; top: 9px; left: 50%; width: 62px; height: 18px; margin-left: -31px; border-radius: 10px; background: #000; z-index: 6; }
.iph .stat { flex: none; height: 36px; display: flex; justify-content: space-between; align-items: center; padding: 4px 20px 0 24px; font-size: 11.5px; font-weight: 700; position: relative; z-index: 5; }
.iph .home { position: absolute; bottom: 6px; left: 50%; width: 76px; margin-left: -38px; height: 4px; border-radius: 2px; background: #1b1a33; opacity: .85; z-index: 6; }
.iph .app { flex: 1; overflow: hidden; display: flex; flex-direction: column; }
.iph.dk .scr { background: #000; }
.iph.dk .stat { color: #fff; }
.iph.dk .home { background: #fff; }
.iph.dk .app { position: absolute; inset: 0; }
.story.full { width: 100%; height: 100%; border-radius: 0; padding-top: 34px; }
.story .bars i.on { background: #fff; }
.ptime { font-size: 12.5px; color: var(--muted); margin-top: -2px; }
.strow { display: flex; gap: 8px; padding: 4px 10px 8px; border-bottom: 1px solid var(--line); flex: none; }
.strow i { width: 30px; height: 30px; border-radius: 50%; background: var(--tile); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #e04fae; flex: none; }
.strow i.me { box-shadow: none; background: var(--line); }
.post { flex: none; }
.post .cards { display: flex; gap: 6px; padding: 0 10px 10px; overflow: hidden; }
.post .cards > div { flex: 0 0 132px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.lns { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.lns .ln { display: block; height: 7px; border-radius: 4px; background: var(--tile); }
.ytcta { margin: 0 10px 8px; text-align: center; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 8px; border-radius: 999px; }
.vrow { display: flex; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--line); }
.vrow .thumb { flex: 0 0 74px; height: 42px; border-radius: 6px; background: var(--tile); }
.sbar { margin: 4px 10px 6px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-size: 12px; box-shadow: 0 2px 6px rgba(27,26,51,.06); }
.sbar svg { width: 14px; height: 14px; color: var(--muted); }
.stabs { display: flex; gap: 12px; padding: 4px 12px 8px; font-size: 11px; color: var(--muted); border-bottom: 1px solid var(--line); }
.stabs b { color: var(--indigo); border-bottom: 2px solid var(--indigo); padding-bottom: 4px; }
.iph .search { padding: 10px 12px; }
.iph .search .h { font-size: 14px; }
.iph .search .d { font-size: 11px; }
.org { padding: 10px 12px; border-top: 1px solid var(--line); }
.mast { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 17px; text-align: center; padding: 4px 10px 8px; border-bottom: 2px solid var(--ink); margin: 0 10px; }
.art { padding: 10px 12px; }
.rec { font-size: 11px; font-weight: 700; color: var(--muted); padding: 6px 12px 4px; border-top: 1px solid var(--line); }
.natv { margin: 4px 12px 8px; }
.natv .media { border-radius: 8px; }
.natv.ghost { padding-top: 4px; }
.iph .banner { margin: 2px 12px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.iph .adh { padding: 8px 10px; }
.ovtext { position: absolute; left: 10px; right: 10px; top: 10px; font-family: Poppins, Arial, sans-serif; font-weight: 800; font-size: 17px; line-height: 1.15; color: #1b1a33; }
.ytcap { position: absolute; left: 8px; right: 60px; bottom: 8px; background: #fff; color: #1b1a33; font-family: Poppins, Arial, sans-serif; font-weight: 700; font-size: 10.5px; line-height: 1.25; padding: 5px 7px; border-radius: 6px; }
.post .cards { display: block; padding: 0 10px 10px; overflow: hidden; }
.post .cards > .track { flex: none; border: 0; border-radius: 0; overflow: visible; }
.post .cards .track { display: flex; gap: 6px; transition: transform .3s ease; }
.post .cards .track > div { flex: 0 0 132px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cbtn { display: block; margin: 0 6px 6px; text-align: center; font-size: 10.5px; font-weight: 700; color: #fff; background: var(--grad); border-radius: 6px; padding: 5px; }
.more { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--indigo); padding: 2px 4px; }
.fmts { margin-top: 16px; }
.fplat { margin: 14px 0 12px; justify-content: center; }
.onfmt { margin-top: 8px !important; }
.onfmt span { font-weight: 700; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .fbcards .track { transition: none; } }
.ico { width: 18px; height: 18px; flex: none; }
.dk .ico { width: 22px; height: 22px; }
.igh, .fbh { display: flex; align-items: center; gap: 8px; padding: 7px 10px; font-size: 11px; line-height: 1.25; }
.av { flex: none; }
.igh > span:not(.av), .fbh > span:not(.av) { flex: 1; min-width: 0; }
.igh b, .fbh b { display: block; font-size: 11px; }
.igh small, .fbh small { display: flex; align-items: center; gap: 3px; color: var(--muted); font-size: 10px; }
.fbh small .ico { width: 10px; height: 10px; }
.igh > .ico, .fbh > .ico, .ytinfo > .ico { width: 16px; height: 16px; color: var(--muted); }
.adtxt { position: absolute; left: 12px; top: 12px; width: 58%; font-family: Poppins, Arial, sans-serif; font-weight: 800; font-size: 17px; line-height: 1.12; color: #1b1a33; }
.adtxt.sm { font-size: 13px; left: 10px; top: 10px; }
.adtag { position: absolute; left: 12px; bottom: 12px; background: #fff; color: #4f56d8; font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: 0 2px 6px rgba(27,26,51,.1); }
.igcta { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; font-size: 11.5px; font-weight: 700; background: #efeff5; }
.igact { display: flex; align-items: center; gap: 12px; padding: 8px 10px 4px; }
.igact .r { margin-left: auto; display: flex; }
.igcap { padding: 0 10px 8px; font-size: 11px; line-height: 1.4; }
.mut { color: var(--muted); }
.rl { position: absolute; inset: 0; background: #000; color: #fff; overflow: hidden; }
.rl .shade { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.18) 22%, rgba(0,0,0,.18) 50%, rgba(0,0,0,.78) 100%); }
.rrail, .rltop, .rlbot .who2, .rlbot p { text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.rrail .ico { filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); }
.rltop { position: absolute; top: 40px; left: 0; right: 0; display: flex; justify-content: center; gap: 14px; font-size: 12.5px; font-weight: 700; }
.rltop span { opacity: .65; }
.burn { position: absolute; left: 14px; right: 48px; top: 74px; text-align: center; font-family: Poppins, Arial, sans-serif; font-weight: 800; font-size: 13.5px; line-height: 1.75; }
.burn span { background: #fff; color: #1b1a33; padding: 3px 7px; border-radius: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rrail { position: absolute; right: 8px; bottom: 112px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 9.5px; font-weight: 600; }
.rrail > span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.rav { position: relative; margin-bottom: 4px; }
.rav .av { width: 30px; height: 30px; border: 1.5px solid #fff; }
.rav em { position: absolute; left: 50%; bottom: -7px; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; background: #e04fae; color: #fff; font-style: normal; font-size: 11px; line-height: 14px; text-align: center; }
.rlbot { position: absolute; left: 10px; right: 48px; bottom: 22px; font-size: 11px; }
.who2 { display: flex; align-items: center; gap: 6px; }
.who2 .av { width: 22px; height: 22px; }
.follow { border: 1px solid rgba(255,255,255,.8); border-radius: 6px; padding: 1px 7px; font-size: 10px; font-weight: 700; }
.rlbot p { margin: 6px 0 2px; line-height: 1.35; }
.rlbot .sp { display: inline-block; font-size: 9.5px; opacity: .8; margin-bottom: 7px; }
.rlcta { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,.2); border-radius: 6px; padding: 7px 9px; font-weight: 700; font-size: 11.5px; }
.rlcta.on { background: #e04fae; }
.rlprog { position: absolute; left: 0; bottom: 14px; height: 2px; background: #fff; }
.ytv .sub { position: absolute; left: 50%; transform: translateX(-50%); bottom: 32px; background: rgba(0,0,0,.72); color: #fff; font-size: 9.5px; padding: 2px 6px; border-radius: 3px; white-space: nowrap; }
.adbadge { position: absolute; left: 6px; bottom: 8px; display: flex; align-items: center; gap: 4px; font-size: 9px; color: #fff; background: rgba(0,0,0,.6); padding: 2px 5px; border-radius: 3px; }
.adbadge b { background: #ffcc00; color: #000; padding: 0 3px; border-radius: 2px; }
.skipb { position: absolute; right: 0; bottom: 8px; background: rgba(0,0,0,.72); color: #fff; font-size: 9.5px; font-weight: 600; padding: 4px 8px; border: 1px solid rgba(255,255,255,.35); border-right: 0; }
.ytbar { position: absolute; left: 0; bottom: 0; height: 3px; background: #ffcc00; }
.ytinfo { display: flex; align-items: flex-start; gap: 8px; padding: 9px 10px 6px; }
.ytinfo > span:not(.av) { flex: 1; min-width: 0; }
.ytinfo b { display: block; font-size: 11.5px; line-height: 1.3; }
.ytinfo small { font-size: 10px; color: var(--muted); }
.ytbtn { margin: 2px 10px 8px; text-align: center; background: #4f56d8; color: #fff; font-weight: 700; font-size: 11.5px; padding: 8px; border-radius: 999px; }
.fbtxt { margin: 0; padding: 0 10px 8px; font-size: 11px; line-height: 1.4; }
.fbcards { padding: 0 10px; overflow: hidden; }
.fbcards .track { display: flex; gap: 6px; transition: transform .3s ease; }
.fbc { flex: 0 0 150px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.fbcb { padding: 7px 8px 8px; background: #f5f5f9; }
.fbcb b { display: block; font-size: 10.5px; line-height: 1.25; min-height: 27px; }
.fbcb small { display: block; font-size: 9.5px; color: var(--muted); }
.fbcb i { display: block; margin-top: 6px; text-align: center; font-style: normal; font-size: 10.5px; font-weight: 700; background: #e4e4ee; border-radius: 5px; padding: 5px; }
.fbre { display: flex; justify-content: space-around; padding: 9px 10px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 10.5px; color: var(--muted); font-weight: 600; }
.tbh { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 12px 6px; border-top: 1px solid var(--line); }
.tbh b { font-size: 12px; } .tbh small { font-size: 9px; color: var(--muted); }
.tbgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; padding: 0 12px; }
.tbi .media, .tbi .ph { display: block; height: 62px; border-radius: 6px; background: var(--tile); }
.tbi b { display: block; font-size: 10.5px; line-height: 1.3; margin-top: 5px; }
.tbi small { display: block; font-size: 9px; color: var(--muted); margin-top: 3px; }
.tbi .lns { margin-top: 6px; gap: 4px; }
.advlab { text-align: center; font-size: 9px; color: var(--muted); margin: 4px 0 4px; }
.mpu { position: relative; margin: 0 12px; aspect-ratio: 300 / 250; border: 1px solid var(--line); overflow: hidden; }
.mpu .in { position: absolute; inset: 0; padding: 10px; display: flex; flex-direction: column; align-items: flex-start; }
.mpu .lg { display: flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; }
.mpu .lg .av { width: 16px; height: 16px; }
.mpu b { font-family: Poppins, Arial, sans-serif; font-size: 15px; line-height: 1.12; margin-top: 8px; width: 60%; }
.mpu .s { font-size: 9.5px; line-height: 1.35; color: var(--text); margin-top: 5px; width: 55%; }
.mpu i { margin-top: auto; font-style: normal; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 700; padding: 5px 14px; border-radius: 5px; }
.lay { gap: 6px; margin: 0 -18px; padding: 0 18px 2px; }
.pills.lay1 { margin-top: 16px; }
.lay2 { margin-top: 10px; }
.lay2 button { flex: 0 0 auto; font-size: 13px; font-weight: 700; padding: 7px 12px; min-height: 38px; border-radius: 999px; cursor: pointer; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.lay2 button[aria-pressed="true"] { background: var(--tile); border-color: #c9c8f2; color: var(--indigo); }
.lay3 { gap: 18px; margin-top: 8px; border-bottom: 1px solid var(--line); }
.lay3 button { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; background: none; border: 0; border-bottom: 2.5px solid transparent; color: var(--muted); padding: 8px 0 7px; min-height: 40px; margin-bottom: -1px; cursor: pointer; }
.lay3 button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--indigo); }
.stbars { position: absolute; top: 40px; left: 8px; right: 8px; display: flex; gap: 3px; }
.stbars i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255,255,255,.35); }
.stbars i.done { background: #fff; }
.stbars i.now { background: linear-gradient(90deg, #fff 55%, rgba(255,255,255,.35) 55%); }
.sthead { position: absolute; top: 50px; left: 10px; right: 8px; display: flex; align-items: center; gap: 6px; font-size: 11px; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.sthead .av { width: 22px; height: 22px; }
.sthead span { opacity: .8; font-size: 10px; }
.sthead em { font-style: normal; display: flex; }
.sthead em:first-of-type { margin-left: auto; }
.sthead .x { font-size: 20px; line-height: 1; margin-left: 6px; }
.stcta { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.stcta .up { font-size: 14px; line-height: 1; }
.btn2 { background: #fff; color: #1b1a33; font-weight: 700; font-size: 12px; padding: 7px 18px; border-radius: 999px; }
.fblink { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; background: #f0f0f5; }
.fblink small { display: block; font-size: 9.5px; color: var(--muted); }
.fblink b { display: block; font-size: 11px; line-height: 1.25; }
.fblink i { flex: none; font-style: normal; font-size: 10.5px; font-weight: 700; background: #e1e1ea; border-radius: 5px; padding: 6px 9px; }
.fbcount { display: flex; justify-content: space-between; padding: 7px 10px 0; font-size: 10px; color: var(--muted); }
.fbcount + .fbre { margin-top: 6px; }
.rlbot .sp.tag { background: rgba(255,255,255,.2); padding: 1px 6px; border-radius: 4px; opacity: 1; }
.rlcta.solid { background: #fff; color: #1b1a33; justify-content: center; gap: 6px; }
.rlprog.red { background: #ff3b3b; }
.segsub { margin-top: 0; }
.exgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1000px) { .exgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.exl { display: flex; align-items: center; gap: 8px; font-family: Poppins, Arial, sans-serif; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.exl .tile { width: 28px; height: 28px; border-radius: 7px; }
.exl .tile svg { width: 15px; height: 15px; }
.exad { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.exad .adh { padding: 10px 12px; font-size: 12px; }
.exad .av { width: 28px; height: 28px; }
.ext { margin: 0; padding: 0 12px 10px; font-size: 13px; line-height: 1.55; }
.exad .media { height: 170px; }
.excta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; background: #efeff5; font-size: 12.5px; font-weight: 700; }
.excta small { display: block; font-weight: 500; font-size: 10.5px; color: var(--muted); }
.excta i { flex: none; font-style: normal; background: #e1e1ea; padding: 6px 10px; border-radius: 6px; font-size: 11.5px; transition: background .2s ease, color .2s ease; }
.excta.on i { background: #e04fae; color: #fff; }
mark { background: none; color: inherit; border-radius: 3px; transition: background .2s ease; }
mark.on { background: #fbd9ee; box-shadow: 0 0 0 2px #fbd9ee; }
.frames { display: flex; gap: 6px; }
.frames button { font-size: 12.5px; font-weight: 700; border: 1px solid var(--line); background: var(--card); color: var(--muted); border-radius: 999px; padding: 6px 12px; min-height: 36px; cursor: pointer; }
.frames button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.partcard .onfmt + .onfmt { margin-top: 4px !important; }
@media (prefers-reduced-motion: reduce) { mark, .excta i { transition: none; } }
.paths { margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 16px; }
.pathsh { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: start; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.pathsh b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 15.5px; }
.pathsh small { display: block; font-size: 13.5px; line-height: 1.45; color: var(--text); margin-top: 3px; }
.pathr { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--text); }
.pathr b { display: block; color: var(--ink); font-size: 14px; }
.anat { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.phonev { width: 200px; height: 356px; border-radius: 20px; overflow: hidden; background: #24233d; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(27,26,51,.18); }
.phonev .bars { display: flex; gap: 4px; padding: 10px 10px 0; }
.phonev .bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); }
.phonev .bars i.on { background: #fff; }
.phonev .mid, .story .mid { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; background: repeating-linear-gradient(135deg, #2b2a47 0 14px, #33315a 14px 28px); }
.cap { position: absolute; left: 10px; right: 10px; bottom: 12px; background: #fff; color: #1b1a33; font-family: Poppins, Arial, sans-serif; font-weight: 700; font-size: 13px; line-height: 1.3; padding: 8px 10px; border-radius: 8px; }
.phonev .time { text-align: center; color: #c6c4e0; font-size: 12px; padding: 8px; }
.sc { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,26,51,.15) 0%, rgba(27,26,51,0) 35%, rgba(27,26,51,.55) 100%); }
.ads figcaption .brief { color: var(--muted); font-size: 12px; }
.av.logo { background: linear-gradient(135deg, #6c72e6, #e04fae); display: inline-flex; align-items: center; justify-content: center; }
.av.logo svg { width: 70%; height: 70%; }
.media { overflow: hidden; }
.shot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px; text-align: center; font-size: 12px; line-height: 1.35; font-style: italic; color: var(--muted); }
.shot.dk { color: #c6c4e0; margin-bottom: 40px; }
.shot.dk .play { background: rgba(255,255,255,.18); }
.parts { display: flex; gap: 6px; width: 100%; }
.parts button { flex: 1; font-size: 14px; font-weight: 700; border: 1px solid var(--line); border-radius: 10px; background: var(--card); padding: 8px 6px; min-height: 48px; cursor: pointer; }
.parts button small { display: block; font-size: 11px; color: var(--muted); }
.parts button[aria-pressed="true"] { background: var(--tile); border-color: #c9c8f2; color: var(--indigo); }
.partcard { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.partcard b { font-family: Poppins, Arial, sans-serif; font-size: 15px; }
.partcard p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.sub3 { margin: 22px 0 10px; font-size: 17px; }
.styles { display: flex; flex-direction: column; gap: 8px; }
.styles div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; line-height: 1.4; color: var(--text); }
.styles b { display: block; color: var(--ink); font-family: Poppins, Arial, sans-serif; font-size: 13.5px; }
.ptext { margin: 0; padding: 0 10px 8px; font-size: 11.5px; line-height: 1.4; }
.cta small { display: block; font-weight: 500; color: var(--muted); font-size: 10.5px; }
.cards { display: flex; gap: 6px; padding: 0 10px 10px; }
.cards > div { flex: 1; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cards b { display: block; font-size: 10.5px; line-height: 1.3; padding: 6px; }
.cards .shot { padding: 6px; font-size: 10px; }
.cards .tile { width: 24px; height: 24px; }
.banner { display: flex; flex-direction: column; }
.bn { flex: 1; padding: 10px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; }
.bn b { font-family: Poppins, Arial, sans-serif; font-size: 14px; }
.bn span { grid-column: 1; font-size: 11.5px; color: var(--muted); }
.bn i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; padding: 8px 12px; border-radius: 6px; }
.scorebox { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 18px 0 6px; }
.scoretop { display: flex; align-items: center; gap: 14px; font-size: 14px; color: var(--text); }
.scoretop .num { font-family: Poppins, Arial, sans-serif; font-size: 44px; font-weight: 800; line-height: 1; color: var(--ink); min-width: 70px; }
.scoretop b { font-family: Poppins, Arial, sans-serif; font-size: 17px; color: var(--ink); }
.gauge { height: 10px; background: var(--tile); border-radius: 5px; margin-top: 14px; }
.gauge i { display: block; height: 10px; border-radius: 5px; background: var(--grad); transition: width .3s ease; }
.gk { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 6px; }
.scq { margin-top: 14px; }
.scq b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 14px; margin-bottom: 8px; }
.scq .pills { margin: 0; padding: 0; flex-wrap: wrap; }
.scq .pills small { font-weight: 500; opacity: .7; }
.hook { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--bg); }
.hook small { display: block; font-family: Poppins, Arial, sans-serif; font-size: 13px; font-weight: 600; color: var(--indigo); }
.hook small { display: flex; align-items: center; gap: 8px; }
.hook small .tile { width: 28px; height: 28px; border-radius: 7px; }
.hook small .tile svg { width: 15px; height: 15px; }
.hook b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 16.5px; line-height: 1.3; margin: 6px 0; }
.hook span { font-size: 14px; color: var(--text); line-height: 1.45; }
.hook.offer { border: 1.5px solid var(--indigo); background: var(--card); }
.pills { gap: 8px; margin: 0 -18px; padding: 0 18px 4px; }
.pills button { flex: 0 0 auto; font-size: 13px; font-weight: 700; padding: 8px 12px; min-height: 40px; border-radius: 999px; cursor: pointer; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.pills button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.ads { gap: 16px; padding: 16px 18px 6px; margin: 0 -18px; align-items: flex-start; }
.ads figure { margin: 0; flex: 0 0 auto; display: flex; flex-direction: column; gap: 8px; }
.plat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.plat .tile { width: 28px; height: 28px; border-radius: 7px; }
.plat .tile svg { width: 15px; height: 15px; }
.plat b { color: var(--ink); }
.ads figcaption { font-size: 12.5px; line-height: 1.4; color: var(--text); }
.ads figcaption b { color: var(--ink); }
.ad { background: var(--card); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.adh { display: flex; align-items: center; gap: 8px; padding: 9px 10px; font-size: 11px; line-height: 1.3; }
.adh small { color: var(--muted); font-size: 11px; }
.av { width: 24px; height: 24px; border-radius: 50%; background: var(--line); flex: none; }
.media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 12px; font-weight: 600; background: repeating-linear-gradient(135deg, var(--media1) 0 14px, var(--media2) 14px 28px); position: relative; }
.play { width: 44px; height: 44px; border-radius: 50%; background: rgba(27,26,51,.78); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.cta { display: flex; justify-content: space-between; align-items: center; padding: 9px 10px; font-size: 11px; font-weight: 700; background: var(--tile); }
.cta span:last-child { background: var(--card); padding: 6px 10px; border-radius: 6px; }
.ln { height: 7px; border-radius: 4px; background: var(--tile); }
.story { border-radius: 18px; overflow: hidden; background: #24233d; display: flex; flex-direction: column; }
.story .bars { display: flex; gap: 4px; padding: 10px 10px 0; }
.story .bars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.4); }
.story .bars i:first-child { background: #fff; }
.story .who { display: flex; align-items: center; gap: 7px; padding: 8px 10px; color: #fff; font-size: 11px; }

.story .go { padding: 12px; display: flex; justify-content: center; }
.story .go span { background: #fff; color: #1b1a33; font-size: 12px; font-weight: 800; padding: 9px 16px; border-radius: 999px; }
.search { padding: 14px; }
.search .h { font-size: 16px; line-height: 1.3; color: var(--indigo); margin-top: 8px; }
.search .d { font-size: 12px; line-height: 1.45; color: var(--text); margin-top: 6px; }
.search .sl { display: flex; gap: 12px; margin-top: 8px; font-size: 12px; color: var(--indigo); }
.tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tests div { background: var(--tile); border-radius: 12px; padding: 14px; }
.tests .tile { background: var(--card); margin-bottom: 10px; }
.tests b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 34px; font-weight: 800; line-height: 1; }
.tests span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.timeline { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.timeline div { display: grid; grid-template-columns: 36px 64px minmax(0, 1fr); align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--text); }
.timeline div:first-child { border-top: 0; }
.timeline b { font-family: Poppins, Arial, sans-serif; color: var(--ink); }

/* funnels */
.fun { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fun > div { color: #1b1a33; text-align: center; padding: 11px 10px; clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%); }
.fun b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 14.5px; line-height: 1.2; }
.fun span { display: block; font-size: 12.5px; color: #4a4a66; margin-top: 2px; }
.fun em { font-style: normal; font-family: Poppins, Arial, sans-serif; font-size: 12px; font-weight: 700; color: var(--indigo); }
.outcome { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.outcome.main { border: 1.5px solid var(--indigo); }
.outcome b { display: flex; align-items: center; gap: 10px; font-family: Poppins, Arial, sans-serif; font-size: 15px; }
.outcome .tile { width: 30px; height: 30px; }
.outcome .tile svg { width: 16px; height: 16px; }
.outcome em { display: block; font-size: 14px; color: var(--text); margin-top: 4px; }
.dfun { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 4px; }
.dfun div { background: var(--grad); color: #fff; border-radius: 6px; padding: 9px 8px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; min-width: 120px; transition: width .35s ease; }
.dfun div b { font-family: Poppins, Arial, sans-serif; }
.mini { display: flex; background: var(--tile); border-radius: 10px; padding: 3px; }
.mini button { font-size: 14px; font-weight: 800; border: 0; border-radius: 8px; padding: 8px 14px; min-height: 40px; cursor: pointer; background: transparent; color: var(--muted); }
.mini button[aria-pressed="true"] { background: var(--card); color: var(--ink); }
.funnel { background: var(--card); border: 2px solid var(--indigo); border-radius: 16px; padding: 18px; min-height: 360px; display: flex; flex-direction: column; }
.fmeta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.prog { height: 6px; background: var(--tile); border-radius: 3px; margin-bottom: 18px; }
.prog i { display: block; height: 6px; background: var(--grad); border-radius: 3px; transition: width .25s ease; }
.fq { font-family: Poppins, Arial, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.25; text-align: center; margin-bottom: 14px; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts button { font-size: 16px; font-weight: 700; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 15px; min-height: 56px; cursor: pointer; }
.fld { font-size: 12px; color: var(--muted); }
.fv { border: 1.5px solid var(--ok); border-radius: 10px; padding: 12px; margin: 4px 0 10px; display: flex; justify-content: space-between; }
.fv b { color: var(--ok); }
.btn { width: 100%; font-size: 16px; font-weight: 800; background: var(--grad); color: #fff; border: 0; border-radius: 10px; padding: 16px; min-height: 54px; cursor: pointer; }
.wait { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px 0; }
.wait b { font-family: Poppins, Arial, sans-serif; font-size: 18px; }
.wait span { font-size: 14px; color: var(--muted); }
.spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--tile); border-top-color: var(--indigo); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.done .tk { width: 54px; height: 54px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 24px; }
.ghost { margin-top: 14px; font-size: 15px; font-weight: 700; background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 18px; min-height: 44px; cursor: pointer; }
.record { border: 1px solid var(--line); border-radius: 14px; margin-top: 14px; overflow: hidden; }
.record h3 { margin: 0; font-size: 14px; padding: 12px 14px; background: var(--tile); display: flex; justify-content: space-between; }
.record h3 span { font-family: "Red Hat Text", Arial, sans-serif; font-weight: 500; font-size: 12.5px; color: var(--muted); }
.record div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.record div span:first-child { color: var(--muted); }
.record .wait-v { color: #a3a3ba; }
.record .ok-v { color: var(--ok); font-weight: 700; }

/* follow-up email */
.mail { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(27,26,51,.08); }
.mail .mh { background: var(--tile); padding: 12px 14px; font-size: 13px; line-height: 1.6; display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.mail .mh em { font-style: normal; color: var(--muted); }
.mail .mb { padding: 14px; background: var(--card); }
.mail h3 { margin: 0 0 10px; font-size: 20px; font-weight: 800; }
.mbtn { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.mbtn span { font-family: Poppins, Arial, sans-serif; font-size: 13px; font-weight: 700; padding: 9px 12px; border-radius: 6px; }
.mbtn .c { background: #4f56d8; color: #fff; } .mbtn .w { background: var(--wa); color: #fff; } .mbtn .v { border: 1.5px solid #4f56d8; color: var(--indigo); }
.kv div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.kv span { color: var(--muted); }
.points { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; }
.points div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: center; font-size: 14.5px; line-height: 1.45; color: var(--text); }

/* signal */
.flow > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.flow .r2 { display: flex; flex-direction: column; align-items: center; }
.flow .dot svg { width: 16px; height: 16px; }
.flow .dot { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex: none; background: var(--card); color: var(--muted); border: 2px solid var(--line); }
.flow .dot.on { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.flow .l2 { flex: 1; width: 2px; background: var(--line); margin: 4px 0; }
.flow .tx { padding-bottom: 16px; }
.flow .tx b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 15px; }
.flow .tx span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.flow .tx em { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--indigo); padding-top: 2px; }
.plain { background: var(--tile); border-radius: 12px; padding: 14px; font-size: 14px; line-height: 1.5; color: var(--text); }

/* portal */
.dash { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 30px rgba(27,26,51,.08); }
.dash .dots { display: flex; gap: 5px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--card); }
.dash .dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.dash .in { padding: 12px; background: var(--card); }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.kpis .tile { width: 28px; height: 28px; border-radius: 7px; margin-bottom: 6px; }
.kpis .tile svg { width: 15px; height: 15px; }
.kpis b { display: block; font-family: Poppins, Arial, sans-serif; font-size: 22px; font-weight: 800; }
.kpis span { font-size: 12px; color: var(--muted); }
.pipe { display: flex; gap: 4px; margin: 14px 0 4px; }
.pipe i { height: 8px; border-radius: 4px; }
.pipek { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; margin-top: 4px; }
.lrow small { color: var(--muted); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; color: var(--ok); background: var(--okbg); margin: 0 4px 4px 0; }
.status { display: flex; gap: 4px; margin: 10px 0 2px; }
.status span { flex: 1; text-align: center; font-size: 12px; font-weight: 700; padding: 8px 2px; border-radius: 6px; background: var(--tile); color: var(--muted); }
.status span.on { background: var(--indigo); color: #fff; }
.dlog div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.dlog small { color: var(--muted); }

/* results */
.case { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 10px; }
.case > button { width: 100%; text-align: left; background: none; border: 0; padding: 14px; cursor: pointer; display: grid; grid-template-columns: 36px minmax(0, 1fr) 32px; gap: 10px; align-items: center; }
.case small { display: block; font-size: 12.5px; color: var(--muted); }
.case .fig { display: block; font-family: Poppins, Arial, sans-serif; font-size: 17px; font-weight: 700; line-height: 1.25; margin-top: 3px; }
.case .pm { width: 32px; height: 32px; border-radius: 50%; background: var(--tile); color: var(--indigo); display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; }
.case .body { padding: 0 14px 14px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.case .body div { padding: 8px 0; border-top: 1px solid var(--line); }
.case .body b { color: var(--ink); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.qr { margin-top: 12px; background: var(--tile); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.qr .code { width: 132px; height: 132px; background: #fff; border-radius: 8px; padding: 8px; }
.qr .code svg { display: block; width: 100%; height: 100%; }
.sidenav a { display: block; padding: 8px 10px; border-radius: 8px; font-weight: 600; text-decoration: none; color: var(--text); }
.sidenav a[aria-current="page"] { background: var(--tile); color: var(--indigo); }
.subs { margin: 4px 0 6px 18px; border-left: 1.5px solid var(--line); display: flex; flex-direction: column; }
.snav { display: block; width: 100%; text-align: left; background: none; border: 0; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 6px 10px; border-radius: 6px; cursor: pointer; line-height: 1.3; }
.snav.lv3 { padding-left: 22px; font-size: 13px; }
.snav.lv5 { padding-left: 46px; font-size: 12.5px; }
.snav.lv4 { padding-left: 34px; font-size: 13px; }
.snav[aria-current="true"] { color: var(--indigo); font-weight: 700; }
.snav.lv2[aria-current="true"] { background: #f6f6fd; }
@media (hover: hover) { .snav:hover { color: var(--ink); } }
.bgcard { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
@media (prefers-reduced-motion: reduce) { .prog i, .dfun div { transition: none; } .spin { animation-duration: 2.4s; } }
/* production additions, patch 02 */
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }
.skiplink { position: absolute; left: 12px; top: -80px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skiplink:focus { top: 12px; }
#view:focus { outline: none; }

/* small standalone pages: root, 404, paused, passcode */
.gate { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: var(--wash); }
.gate .card { width: 100%; max-width: 420px; text-align: center; padding: 28px 22px; box-shadow: 0 10px 30px rgba(27,26,51,.08); }
.gate .mark { display: block; width: 52px; height: 52px; margin: 0 auto; }
.gate h1 { margin: 16px 0 4px; font-size: 24px; line-height: 1.2; }
.gate .role { margin: 0; font-family: Poppins, Arial, sans-serif; font-size: 15px; font-weight: 600; color: var(--indigo); }
.gate .say { margin: 14px 0 20px; font-size: 16px; line-height: 1.5; color: var(--text); }
.gate form { display: flex; flex-direction: column; gap: 10px; }
.gate input { font: inherit; font-size: 16px; padding: 14px 16px; min-height: 54px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-align: center; }
.gate input:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(79,86,216,.18); }
.gate button, .gate .btn { width: 100%; font: inherit; font-size: 16px; font-weight: 800; background: var(--grad); color: #fff; border: 0; border-radius: 10px; padding: 16px; min-height: 54px; cursor: pointer; display: block; text-decoration: none; }
.gate .err { margin: 12px 0 0; font-size: 14px; color: #b42318; }
.gate .links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.gate .links a { display: inline-block; padding: 8px 12px; border-radius: 999px; background: var(--tile); color: var(--indigo); font-size: 14px; font-weight: 700; text-decoration: none; }
.sn-name { font-family: Poppins, Arial, sans-serif; font-weight: 800; font-size: 17px; margin: 0 0 2px 10px; }
.sn-role { font-size: 13px; color: var(--muted); margin: 0 0 12px 10px; }
.qr-h { font-family: Poppins, Arial, sans-serif; font-weight: 700; font-size: 16px; }
.qr-p { font-size: 14px; line-height: 1.5; color: var(--text); margin-top: 12px; }

/* customer success version (start2), patch 06 */
.lab { margin: 18px 0 8px; font-family: Poppins, Arial, sans-serif; font-size: 15px; font-weight: 700; color: var(--ink); }
.seg + .lab { margin-top: 4px; }
.planh { margin: 0 0 6px; font-family: Poppins, Arial, sans-serif; font-size: 17px; font-weight: 700; }
.badge.watch { color: #8a5300; background: #fff1d6; }
.badge.risk { color: #b42318; background: #fde8e6; }
.case .fig + .badge { margin: 6px 0 0; }
.flow { margin-top: 6px; }
.rnote { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--text); }
.outcome .kv div:first-child { border-top: 0; }
