/* "Pop 2": the sticker look, refined. Builds on pop-1.css (html[data-style="pop2"] adds weight so these win).
   - each section keeps one colour that means the same thing everywhere (theme-1.js sets data-tone on every card from its label)
   - big numbers sit on a highlighter swipe in their section colour
   - one outline width, one shadow, tidy corners, no random tilts; a dotted paper background
   - on phones the tabs become an app-style bar at the bottom; in dark mode cards glow in their section colour */
html[data-style="pop2"][data-theme="light"]{--bg:#FAF6EE;--dot:rgba(17,17,17,.07);--card:#FFFFFF;--card2:#FFFBF3;--card3:#F4EEE2;--fg:#111111;--muted:#4A4A4A;--ink:#111111;--glow:0 0 0 transparent}
html[data-style="pop2"][data-theme="dark"]{--bg:#121017;--dot:rgba(255,255,255,.06);--card:#1D1A24;--card2:#25212F;--card3:#2E2939;--fg:#FFF8EC;--muted:#CEC6D8;--ink:#F3E9D9}
html[data-style="pop2"][data-theme]{--hy:#FFE234;--hp:#FF8FC0;--hg:#B8F36B;--hb:#7CC8FF;--hl:#C9B3FF;--ho:#FFB067;--hm:#7EF0CF;--hot:#FF4D8D;--tone:var(--hy)}
html[data-style="pop2"][data-theme] body{background-color:var(--bg);background-image:radial-gradient(var(--dot) 1.2px,transparent 1.3px);background-size:18px 18px}
html[data-style="pop2"][data-theme] header.top{background:var(--bg)}
html[data-style="pop2"][data-theme] header.top .word{font-size:30px}

/* section colours */
html[data-style="pop2"] .card[data-tone="y"]{--tone:var(--hy)}
html[data-style="pop2"] .card[data-tone="b"]{--tone:var(--hb)}
html[data-style="pop2"] .card[data-tone="p"]{--tone:var(--hp)}
html[data-style="pop2"] .card[data-tone="g"]{--tone:var(--hg)}
html[data-style="pop2"] .card[data-tone="l"]{--tone:var(--hl)}
html[data-style="pop2"] .card[data-tone="o"]{--tone:var(--ho)}
html[data-style="pop2"] .card[data-tone="m"]{--tone:var(--hm)}

/* cards: one outline, one shadow, tidy corners */
html[data-style="pop2"][data-theme] .card,html[data-style="pop2"][data-theme] .card.next,html[data-style="pop2"][data-theme] .ghero,html[data-style="pop2"][data-theme] .poster,html[data-style="pop2"][data-theme] .brief{border:2px solid var(--ink);border-radius:16px;box-shadow:4px 4px 0 var(--ink);background:var(--card)}
html[data-style="pop2"][data-theme="dark"] .card,html[data-style="pop2"][data-theme="dark"] .card.next{border-color:var(--tone);box-shadow:4px 4px 0 var(--tone),0 10px 40px -18px var(--tone)}
html[data-style="pop2"][data-theme] #app{gap:22px}

/* the section label: a flat sticker in the section colour, no tilt */
html[data-style="pop2"][data-theme] .kick,html[data-style="pop2"][data-theme] #app>.card:nth-child(n) .kick{transform:none;background:var(--tone);color:#111111;border:2px solid #111111;border-radius:8px;padding:4px 10px;font:800 12px Geist,system-ui,sans-serif;letter-spacing:.07em}

/* big numbers on a highlighter swipe */
html[data-style="pop2"][data-theme] .big{display:inline-block;font:800 56px/1 'Bricolage Grotesque',sans-serif;letter-spacing:-.02em;padding:2px 10px 4px;margin-left:-4px;border-radius:10px;background:linear-gradient(transparent 38%,var(--tone) 38%,var(--tone) 92%,transparent 92%);color:var(--fg)}
html[data-style="pop2"][data-theme="dark"] .big{background:var(--tone);color:#111111;padding:6px 12px;border:2px solid #111111}
html[data-style="pop2"][data-theme] .big small{color:inherit;opacity:.75}
html[data-style="pop2"][data-theme] .tile .v{font-size:32px}
html[data-style="pop2"][data-theme] .tile{border-radius:12px;border:2px solid var(--ink);background:var(--card2)}
html[data-style="pop2"][data-theme] .next h3{font-size:clamp(26px,7.4vw,34px);letter-spacing:-.015em}

/* badges keep a little wonk */
html[data-style="pop2"][data-theme] .bzdelta{transform:rotate(-4deg);background:var(--hg);border:2px solid #111111;color:#111111;box-shadow:2px 2px 0 #111111}

/* buttons and inputs */
html[data-style="pop2"][data-theme] .btn{background:var(--hot);color:#111111;border:2px solid #111111;border-radius:12px;box-shadow:3px 3px 0 #111111;min-height:52px;font-size:16.5px}
html[data-style="pop2"][data-theme="dark"] .btn{box-shadow:3px 3px 0 var(--ink)}
html[data-style="pop2"][data-theme] .ghost{border:2px solid var(--ink);border-radius:12px}
html[data-style="pop2"][data-theme] .inp{border:2px solid var(--ink);border-radius:12px}
html[data-style="pop2"][data-theme] .warn{border:2px solid #111111;border-radius:14px;box-shadow:3px 3px 0 #111111}
html[data-style="pop2"][data-theme] .warn.demo,html[data-style="pop2"][data-theme] .bzsample{background:var(--hb)!important;border-color:#111111!important;color:#111111}

/* rows, ticks, bars */
html[data-style="pop2"][data-theme] .gwinrow,html[data-style="pop2"][data-theme] .task,html[data-style="pop2"][data-theme] .lrow,html[data-style="pop2"][data-theme] .pitch{border:2px solid var(--ink);border-radius:12px;background:var(--card2)}
html[data-style="pop2"][data-theme] .gwinrow .n{background:var(--tone);color:#111111;border:2px solid #111111}
html[data-style="pop2"][data-theme] .gwinrow.done{background:var(--hg);color:#111111}
html[data-style="pop2"][data-theme] .lrow.me{background:var(--tone);color:#111111;border-color:#111111}
html[data-style="pop2"][data-theme] .bar{border:2px solid var(--ink);height:16px;background:var(--card3)}
html[data-style="pop2"][data-theme] .bar>i,html[data-style="pop2"][data-theme] .bar i{background:var(--tone)!important;box-shadow:inset -2px 0 0 #111111}
html[data-style="pop2"][data-theme] .hook{border:2px dashed var(--ink);border-radius:12px;background:var(--card2)}
html[data-style="pop2"][data-theme] .hook small{background:var(--tone);color:#111111}
html[data-style="pop2"][data-theme] .bzcopy{background:var(--tone);color:#111111;border:2px solid #111111}
html[data-style="pop2"][data-theme] .week div{border-radius:10px}

/* tabs: an app bar on phones, a sticker row on bigger screens */
html[data-style="pop2"][data-theme] .mtabs button{border:2px solid var(--ink);border-radius:12px}
html[data-style="pop2"][data-theme] .mtabs button.on{background:var(--hy);color:#111111;border-color:#111111;box-shadow:3px 3px 0 #111111}
@media (max-width:700px){
  html[data-style="pop2"][data-theme] .mtabs{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:60;margin:0;padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));background:var(--card);border-top:2px solid var(--ink);gap:4px!important}
  html[data-style="pop2"][data-theme] .mtabs button{border:0;background:transparent;box-shadow:none;padding:6px 2px!important;font-size:11.5px!important}
  html[data-style="pop2"][data-theme] .mtabs button.on{background:var(--hy);color:#111111;border:2px solid #111111;box-shadow:none}
  html[data-style="pop2"][data-theme] body{padding-bottom:calc(84px + env(safe-area-inset-bottom,0px))!important}
  html[data-style="pop2"] .lookbar{bottom:calc(78px + env(safe-area-inset-bottom,0px))}
}

/* ---------- 13 Oct brand QA fixes ---------- */
/* one logo everywhere: the yellow V tile and a solid wordmark (no gradient text), same size as the homepage */
html[data-style="pop2"][data-theme] header.top .mark{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex:none;background:var(--hy);border:2px solid #111111;box-shadow:2px 2px 0 var(--ink)}
html[data-theme] .word,html[data-style="pop2"][data-theme] header.top .word{background:none;-webkit-background-clip:border-box;background-clip:border-box;-webkit-text-fill-color:currentColor;color:var(--fg);font-size:26px}
/* labels fit their words and never stretch across the card */
html[data-style="pop2"][data-theme] .kick{width:fit-content;max-width:100%}
/* no tiny monospace anywhere: dates, small labels and scores in the body font */
html[data-style="pop2"][data-theme] .mil small,html[data-style="pop2"][data-theme] .days button,html[data-style="pop2"][data-theme] .ep .no,html[data-style="pop2"][data-theme] .bzpost .when,html[data-style="pop2"][data-theme] .bzcmp .h,html[data-style="pop2"][data-theme] .daytask small,html[data-style="pop2"][data-theme] .mult,html[data-style="pop2"][data-theme] .chartlbl{font-family:Geist,system-ui,sans-serif;font-weight:700;letter-spacing:.02em;font-size:13px}
html[data-style="pop2"][data-theme] .bzpost .when{width:auto;min-width:76px;background:var(--hb);color:#111111;border:2px solid #111111;border-radius:8px;padding:2px 6px;text-align:center}
/* big numbers on a chip in their section colour */
html[data-style="pop2"][data-theme] .tile .v{display:inline-block;width:fit-content;background:var(--tone);color:#111111;-webkit-text-fill-color:#111111;padding:0 .22em;border-radius:8px;font-size:clamp(20px,6.4vw,28px);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
html[data-style="pop2"][data-theme] .rsec .tile .s{white-space:normal;overflow:visible;text-overflow:clip}
/* collapsible headings: the value and the arrow stay on one line */
html[data-style="pop2"][data-theme] .rsec>summary{display:flex;align-items:center;gap:8px}
html[data-style="pop2"][data-theme] .rsec>summary>b{flex:1;min-width:0}
html[data-style="pop2"][data-theme] .rsec>summary>span{flex:none;white-space:nowrap}
/* "You" is always yellow on a ranking; ranking points are hidden so they never clash with the score out of 100 */
html[data-style="pop2"][data-theme] .lrow.me{background:var(--hy)}
html[data-style="pop2"][data-theme] .lrow .sc{display:none}
html[data-style="pop2"][data-theme] .lrow{grid-template-columns:34px 1fr}
/* a waiting button looks waiting, not broken */
html[data-style="pop2"][data-theme] .bz button:disabled,html[data-style="pop2"][data-theme] button.btn:disabled{background:var(--card2);color:var(--muted);border:2px dashed var(--ink);box-shadow:none;filter:none;opacity:.85}
/* the growth plan's winning posts: sticker cards with a fixed picture shape and a placeholder while it loads */
html[data-style="pop2"][data-theme] .v{background:var(--card2);border:2px solid var(--ink);border-radius:12px;box-shadow:4px 4px 0 var(--ink);overflow:hidden}
html[data-style="pop2"][data-theme] .v img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--card3)}
html[data-style="pop2"][data-theme] .v .t{overflow:hidden;color:var(--fg)}
html[data-style="pop2"][data-theme] .mult{background:var(--hg);color:#111111;border:2px solid #111111;border-radius:99px;padding:3px 9px}
/* charts readable on dark */
html[data-style="pop2"][data-theme] .bars a{background:#4A4458}
/* the manager chat: a slim scrollbar */
html[data-style="pop2"][data-theme] .mgr .log{scrollbar-width:thin;scrollbar-color:var(--ink) transparent}
/* the business "Make" list: dates the same width so the titles line up */
html[data-style="pop2"][data-theme] .gwinrow .n[style*="width:auto"]{min-width:78px;justify-content:center}
