/* SupertalentUSA HQ client board (demo). Same palette as the site. */
:root {
  --bg: #FAF6EE; --bg2: #F2EBDD; --card: #FFFFFF; --ink: #17201C; --ink2: #4A5650; --line: #E3D9C6;
  --brand: #0C2135; --brand2: #16345A; --gold: #C8102E; --clay: #B4532A; --onbrand: #FFFFFF;
  --floor: #EFE6D4; --tile: #E7DCC6; --room: #FFFDF8; --hall: #E2D4B8; --wall: #CDBC9C;
  --shadow: 0 1px 2px rgba(23,32,28,.06), 0 8px 28px rgba(23,32,28,.08);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0C1310; --bg2: #121C18; --card: #16221D; --ink: #EEF2EE; --ink2: #A9B7AF; --line: #24342D;
  --brand: #6EA8FF; --brand2: #9CC3FF; --gold: #FF4D5E; --clay: #E07B52; --onbrand: #06110C;
  --floor: #131D19; --tile: #17231E; --room: #1B2A24; --hall: #22322B; --wall: #2E443A;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 10px 30px rgba(0,0,0,.35);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); margin: 0 0 .4em; line-height: 1.15; }
h2 { font-size: 1.45rem; } h3 { font-size: 1.1rem; }
a { color: var(--brand); }
.muted { color: var(--ink2); margin: 0 0 12px; }
.small { font-size: .85rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 10px 18px;
  background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.bar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 6px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 28px, var(--gold) 28px 36px, var(--clay) 36px 48px, var(--gold) 48px 56px, #17201C 56px 64px); }
.brand { flex: none; } .brand svg, .brand img { width: 38px; height: 38px; display: block; border-radius: 10px; }
.brand img { width: auto; max-width: 140px; object-fit: contain; }
.powered { font-size: .72rem; color: var(--ink2); }
.title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; flex: 1; }
.title h1 { font-size: clamp(1.15rem, 2.4vw, 1.6rem); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--ink); }
.bar-tools { display: flex; align-items: center; gap: 10px; }
.size { font-size: .82rem; color: var(--ink2); display: flex; align-items: center; gap: 6px; }
select, input, textarea { font: inherit; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; }
.btn { font: 600 .9rem var(--body); border: 0; border-radius: 99px; padding: 9px 16px; background: var(--brand); color: var(--onbrand); cursor: pointer; }
.btn:hover { background: var(--brand2); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.iconbtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; font-size: 1.1rem; }

/* layout */
.app { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; padding: 22px 18px 10px; max-width: 1500px; margin: 0 auto; }
.stage { min-width: 0; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); }
.stat b { display: block; font: 700 1.5rem var(--display); }
.stat span { font-size: .8rem; color: var(--ink2); }
.stat.warn b { color: var(--clay); }
.views { display: flex; gap: 6px; margin-bottom: 10px; }
.vtab, .ptab { font: 600 .88rem var(--body); border: 1px solid var(--line); background: var(--card); color: var(--ink2); border-radius: 99px; padding: 6px 14px; cursor: pointer; }
.vtab.on, .ptab.on { background: var(--brand); color: var(--onbrand); border-color: var(--brand); }

/* office floor */
.floor { --av: 34px; position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow);
  background: conic-gradient(var(--floor) 25%, var(--tile) 0 50%, var(--floor) 0 75%, var(--tile) 0) 0 0 / 44px 44px; border: 1px solid var(--line); }
.hall { position: absolute; left: 0; right: 0; background: var(--hall); border-top: 2px dashed var(--wall); border-bottom: 2px dashed var(--wall); }
.hall .rug { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 700 .78rem var(--body); letter-spacing: .2em; text-transform: uppercase;
  color: color-mix(in srgb, var(--ink) 45%, transparent); padding: 4px 18px; border-radius: 99px; border: 2px solid color-mix(in srgb, var(--gold) 60%, transparent); white-space: nowrap; }
.room { position: absolute; background: var(--room); border: 3px solid var(--wall); border-radius: 14px; box-shadow: inset 0 0 0 4px color-mix(in srgb, var(--room) 70%, var(--floor)); }
.room .rlabel { position: absolute; left: 8px; top: 6px; right: 8px; display: flex; align-items: center; gap: 6px; font: 700 clamp(.6rem, 1.05vw, .82rem) var(--body); color: var(--ink); white-space: nowrap; overflow: hidden; }
.room .rlabel i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.room .rcount { margin-left: auto; font-weight: 600; color: var(--ink2); }
.room .door { position: absolute; width: 18%; height: 7px; left: 41%; background: var(--hall); }
.room.top .door { bottom: -5px; } .room.bottom .door { top: -5px; }
.desk { position: absolute; width: calc(var(--av) * 1.3); height: calc(var(--av) * .5); transform: translate(-50%, -100%); border-radius: 5px;
  background: color-mix(in srgb, var(--wall) 70%, var(--room)); box-shadow: 0 2px 0 color-mix(in srgb, var(--wall) 90%, #000 10%); }
.desk::after { content: ""; position: absolute; left: 30%; top: -50%; width: 40%; height: 60%; border-radius: 3px; background: #2B3A34; border: 2px solid #48574F; }
.plant { position: absolute; width: calc(var(--av) * .55); height: calc(var(--av) * .55); border-radius: 50% 50% 40% 40%; background: radial-gradient(circle at 40% 35%, #5DAA6B, #2E7A43); }
.room.ceo { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 8%, var(--room)); }
.ceo-frame { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); width: calc(var(--av) * 1.6); height: calc(var(--av) * 1.6); border-radius: 50%;
  border: 3px solid var(--gold); background: var(--bg2) center / cover no-repeat; display: grid; place-items: center; font: 700 .8rem var(--body); color: var(--ink2); overflow: hidden; cursor: pointer; }
.ceo-name { position: absolute; left: 0; right: 0; top: calc(22% + var(--av) * 1.75); text-align: center; font: 700 clamp(.6rem, 1vw, .8rem) var(--body); }
.tray { position: absolute; right: 10%; bottom: 14%; padding: 3px 8px; border-radius: 8px; background: var(--card); border: 2px solid var(--gold); font: 700 .72rem var(--body); cursor: pointer; color: var(--ink); }
.tray.pop { animation: pop .5s ease; }
@keyframes pop { 40% { transform: scale(1.35); } }

/* avatars */
.av { position: absolute; width: var(--av); transform: translate(-50%, -100%); z-index: 5; cursor: pointer; transition: opacity .3s; }
.av svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 2px 1px rgba(0,0,0,.18)); }
.av.flip svg { transform: scaleX(-1); }
.av .tag { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 1px; font: 700 clamp(.5rem, .85vw, .68rem) var(--body);
  background: var(--card); color: var(--ink); padding: 0 5px; border-radius: 6px; border: 1px solid var(--line); white-space: nowrap; }
.av .bub { position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, -2px); font: 700 .7rem var(--body); background: var(--card); color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 1px 6px; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.av.working .bub, .av.waiting .bub, .av:hover .bub { opacity: 1; }
.av.waiting .bub { background: var(--clay); color: #fff; border-color: var(--clay); pointer-events: auto; }
.av .leg, .av .arm { transform-box: fill-box; transform-origin: 50% 10%; }
.av.walking .leg.l { animation: swing .42s ease-in-out infinite alternate; }
.av.walking .leg.r { animation: swing .42s ease-in-out infinite alternate-reverse; }
.av.walking .arm.l { animation: swing .42s ease-in-out infinite alternate-reverse; }
.av.walking .arm.r { animation: swing .42s ease-in-out infinite alternate; }
.av.walking svg { animation: bob .21s ease-in-out infinite alternate; }
.av.working .arm { animation: type .22s ease-in-out infinite alternate; }
.av .paper { opacity: 0; transition: opacity .2s; }
.av.carry .paper { opacity: 1; }
@keyframes swing { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes type { from { transform: rotate(-35deg); } to { transform: rotate(-60deg); } }
@keyframes bob { to { transform: translateY(-2px); } }
.av.flip.walking svg { animation-name: bobflip; }
@keyframes bobflip { from { transform: scaleX(-1); } to { transform: scaleX(-1) translateY(-2px); } }

/* org chart */
.org { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); }
.org-top { display: flex; flex-direction: column; align-items: center; gap: 0; }
.ocard { background: var(--bg); border: 2px solid var(--line); border-radius: 16px; padding: 10px 16px; text-align: center; min-width: 180px; }
.ocard.ceo { border-color: var(--gold); display: flex; align-items: center; gap: 12px; text-align: left; }
.ocard .ph { width: 54px; height: 54px; border-radius: 50%; background: var(--bg2) center / cover; border: 3px solid var(--gold); display: grid; place-items: center; font-weight: 700; color: var(--ink2); }
.ocard small { display: block; color: var(--ink2); }
.vline { width: 3px; height: 22px; background: var(--line); }
.org-depts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 0; padding-top: 18px; border-top: 3px solid var(--line); }
.odept { background: var(--bg); border-radius: 14px; border-top: 6px solid; padding: 10px 12px; }
.odept h4 { margin: 0 0 6px; font: 700 .95rem var(--body); }
.omem { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: .85rem; }
.omem svg { width: 24px; height: 36px; flex: none; }
.omem em { font-style: normal; color: var(--ink2); font-size: .76rem; display: block; }

/* side panel */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 16px; align-self: start; position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow: auto; }
.ptabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.ptab { padding: 6px 11px; }
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; background: var(--clay); color: #fff; font-size: .7rem; padding: 0 5px; margin-left: 3px; }
.badge.soft { background: var(--gold); color: #17201C; }
.ask textarea { width: 100%; resize: vertical; }
.ask-row { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ask-row .btn { margin-left: auto; }
.mic { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--gold); color: #17201C; cursor: pointer; display: grid; place-items: center; }
.mic svg { width: 22px; height: 22px; fill: currentColor; }
.mic.on { background: var(--clay); color: #fff; animation: pulse 1s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--clay) 25%, transparent); } }
.mic-note { font-size: .78rem; color: var(--ink2); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.chips button { font: .78rem var(--body); text-align: left; border: 1px dashed var(--line); background: var(--bg); color: var(--ink); border-radius: 12px; padding: 5px 9px; cursor: pointer; }
.chips button:hover { border-color: var(--brand); }
.feed-h { margin-top: 16px; }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.feed li { font-size: .84rem; padding: 7px 10px; border-radius: 10px; background: var(--bg); border-left: 4px solid var(--line); animation: slide .35s ease; }
.feed li time { color: var(--ink2); font-size: .74rem; margin-right: 6px; }
@keyframes slide { from { opacity: 0; transform: translateY(-6px); } }
.tgroup h3 { font: 700 .8rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); margin: 14px 0 6px; }
.task { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; background: var(--bg); margin-bottom: 6px; border-left: 4px solid; font-size: .86rem; }
.task div { flex: 1; min-width: 0; }
.task small { display: block; color: var(--ink2); }
.task .btn { padding: 5px 12px; font-size: .78rem; }
.task.done { cursor: pointer; }
.reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.reports li button { width: 100%; text-align: left; font: .86rem var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; cursor: pointer; }
.reports li small { display: block; color: var(--ink2); }
.empty { color: var(--ink2); font-size: .86rem; }

/* dialogs */
.dlg { border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); max-width: min(560px, 92vw); padding: 20px; box-shadow: var(--shadow); }
.dlg::backdrop { background: rgba(0,0,0,.45); }
.dlg pre { white-space: pre-wrap; font: .9rem/1.55 var(--body); background: var(--bg); border-radius: 12px; padding: 12px; max-height: 50vh; overflow: auto; }
.dlg-who { font-size: .8rem; color: var(--ink2); margin: 0 0 4px; }
.dlg label { display: grid; gap: 4px; font-size: .86rem; font-weight: 600; margin-bottom: 10px; }
.dlg-row { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }

.foot { max-width: 1500px; margin: 0 auto; padding: 8px 18px 28px; font-size: .78rem; color: var(--ink2); }
.foot p { margin: 4px 0; }

@media (max-width: 1020px) {
  .app { grid-template-columns: 1fr; }
  .panel { position: static; max-height: none; }
}
@media (max-width: 640px) {
  .bar { flex-wrap: wrap; padding: 8px 12px; gap: 8px; }
  .title { order: 2; flex-basis: 100%; }
  .bar-tools { margin-left: auto; }
  .size { font-size: 0; gap: 0; }
  .size select { font-size: .85rem; }
  #setup-btn { padding: 7px 11px; font-size: .8rem; }
  .app { padding: 16px 10px 8px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .floor { aspect-ratio: 4 / 5; }
  .hall .rug { font-size: .6rem; letter-spacing: .1em; }
}
@media (prefers-reduced-motion: reduce) {
  .av.walking .leg, .av.walking .arm, .av.working .arm, .av.walking svg, .feed li, .tray.pop, .mic.on { animation: none !important; }
}

/* filters */
.filters { display: flex; gap: 6px; margin-bottom: 8px; }
.filters input { flex: 1; min-width: 0; }
.filters select { max-width: 48%; }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fchips button { font: 600 .76rem var(--body); border: 1px solid var(--line); background: var(--bg); color: var(--ink2); border-radius: 99px; padding: 4px 10px; cursor: pointer; }
.fchips button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* social */
.socials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.soc { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: .8rem; min-width: 0; color: var(--ink); text-decoration: none; }
.soc b { display: block; font-size: .8rem; }
.soc span { display: block; color: var(--ink2); font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.soc div { min-width: 0; }
.soc.off { opacity: .6; border-style: dashed; cursor: pointer; }
.pf { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; color: #fff; font: 800 .66rem var(--body); }
.pf.ig { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); } .pf.tt { background: #111; box-shadow: inset -2px 0 #25F4EE, inset 2px 0 #FE2C55; }
.pf.fb { background: #1877F2; } .pf.li { background: #0A66C2; } .pf.yt { background: #FF0000; } .pf.web { background: var(--brand); color: var(--onbrand); }
.posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.post { display: flex; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); animation: slide .35s ease; }
.post .thumb { width: 54px; height: 54px; flex: none; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--gold)); display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
.post div { min-width: 0; flex: 1; font-size: .82rem; }
.post p { margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post small { color: var(--ink2); }
.post a { font-weight: 600; font-size: .78rem; }
.post .tagsample { font-size: .66rem; font-weight: 700; color: var(--ink2); border: 1px solid var(--line); border-radius: 6px; padding: 0 4px; margin-left: 4px; }

/* setup dialog */
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dlg input[type=color] { height: 40px; padding: 3px; width: 100%; }
.fsoc { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px 2px; margin: 4px 0 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.fsoc legend { font-size: .8rem; font-weight: 700; padding: 0 4px; }
.dlg-row .left { margin-right: auto; }
#out-link a { font-weight: 700; }
@media (max-width: 640px) { .powered { display: none; } .frow, .fsoc { grid-template-columns: 1fr; } }
.pf.mini { display: inline-grid; width: 18px; height: 18px; font-size: .55rem; border-radius: 5px; vertical-align: middle; }

/* embedded in the homepage hero on phones: show the animated office first (Samuel, 16 Nov 2026) */
@media (max-width: 640px) {
  .embed .bar .title .pill, .embed .bar .powered, .embed .brand { display: none; }
  .embed .stats { display: none; }
  .embed .bar { padding-top: 8px; padding-bottom: 8px; }
}

/* my businesses switcher (16 Nov 2026) */
.size.biz select { max-width: 190px; font-weight: 600; }
.biz-count:empty { display: none; }
@media (max-width: 700px) { .size.biz select { max-width: 140px; } }

/* ---- coaching + CRO (17 Nov 2026) */
.small { font-size: .8rem; }
.linkbtn { background: none; border: 0; color: var(--brand); font: 600 .82rem var(--body); cursor: pointer; padding: 2px 4px; }
.ptab.cro-tab { border-color: var(--gold); }
.coach { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; padding: 12px 14px; margin: 0 0 14px; box-shadow: var(--shadow); }
.coach-top { display: flex; align-items: center; gap: 8px; } .coach-top span { color: var(--ink2); font-size: .82rem; margin-left: auto; }
.coach-bar { height: 7px; background: var(--bg2); border-radius: 99px; margin: 8px 0 6px; overflow: hidden; } .coach-bar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; transition: width .4s; }
.coach-trial { font-size: .8rem; color: var(--ink2); margin: 0 0 6px; }
.coach-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.coach-steps button { width: 100%; display: flex; gap: 10px; align-items: flex-start; text-align: left; background: none; border: 1px solid transparent; border-radius: 10px; padding: 6px 8px; cursor: pointer; color: var(--ink); font: inherit; }
.coach-steps button:hover { background: var(--bg2); }
.coach-steps i { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font: 700 .7rem var(--body); font-style: normal; color: var(--onbrand); margin-top: 1px; }
.coach-steps li.done i { background: var(--brand); border-color: var(--brand); }
.coach-steps li.done b { color: var(--ink2); text-decoration: line-through; font-weight: 500; }
.coach-steps li.next button { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.coach-steps b { display: block; font-size: .88rem; } .coach-steps small { display: block; color: var(--ink2); font-size: .76rem; }
.tipcard { display: flex; gap: 8px; align-items: flex-start; background: color-mix(in srgb, var(--gold) 16%, var(--card)); border: 1px solid color-mix(in srgb, var(--gold) 50%, transparent); border-radius: 12px; padding: 9px 12px; margin: 0 0 12px; font-size: .84rem; }
.tipcard button { margin-left: auto; background: none; border: 0; font-size: 1.1rem; cursor: pointer; color: var(--ink2); line-height: 1; }
.cro-head { display: flex; gap: 12px; align-items: center; margin: 0 0 12px; } .cro-head small { display: block; color: var(--ink2); }
.cro-ph { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: #17201C; display: grid; place-items: center; font: 800 1.2rem var(--body); }
.cro-head.big .cro-ph { width: 64px; height: 64px; font-size: 1.6rem; } .cro-head.big p { margin: 0; }
.cro-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 0 0 12px; }
.cro-card h3 { margin: 0 0 4px; font-size: .98rem; } .cro-card.today { border-left: 4px solid var(--gold); } .cro-card.today ol { margin: 8px 0 10px; padding-left: 20px; }
.cro-done { color: var(--brand); font-weight: 600; margin: 0; }
.cro-ideas { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; } .cro-ideas b { display: block; } .cro-ideas span { display: block; color: var(--ink2); font-size: .84rem; margin-bottom: 4px; }
.btn.sm { padding: 5px 12px; font-size: .8rem; }
.cro-draft { border-top: 1px solid var(--line); padding: 8px 0; } .cro-draft summary { cursor: pointer; font-size: .88rem; } .cro-draft p { font-size: .86rem; color: var(--ink2); margin: 6px 0 8px; }
.cro-draft em.ok { color: var(--brand); font-style: normal; font-weight: 700; margin-left: 4px; }
.cro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; } .cro-stats div { background: var(--bg2); border-radius: 10px; padding: 8px 10px; }
.cro-stats b { display: block; font-size: 1.2rem; } .cro-stats span { font-size: .76rem; color: var(--ink2); }
.cro-won { display: flex; gap: 8px; align-items: flex-end; margin: 6px 0; } .cro-won label { flex: 1; font-size: .8rem; color: var(--ink2); display: grid; gap: 3px; }
.av.cro-av { cursor: pointer; z-index: 3; } .av.cro-av .tag { background: var(--gold); color: #17201C; }
.ocard.cro { border-color: var(--gold); cursor: pointer; background: color-mix(in srgb, var(--gold) 12%, var(--card)); }
.dlg.wiz { max-width: 520px; width: calc(100% - 32px); } .wiz-in { padding: 6px 4px; }
.wiz-step { font-size: .78rem; color: var(--ink2); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .04em; }
.wiz h2 { margin: 0 0 6px; font-size: 1.35rem; }
#w-in { width: 100%; font-size: 1.15rem; padding: 12px 14px; margin: 8px 0 4px; }
.w-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0; }
.w-types button { text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 .88rem var(--body); cursor: pointer; }
.w-types button:hover, .w-types button.on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, var(--card)); }
.wiz-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; } .wiz-row .btn:last-child { margin-left: auto; } .wiz-row form { margin: 0; }
.tour-name { border-left: 6px solid var(--gold); padding-left: 10px; }
#t-try { margin: 6px 0 0; }
html.embed .coach { display: none !important; }
@media (max-width: 560px) { .w-types { grid-template-columns: 1fr; } .cro-stats { grid-template-columns: 1fr 1fr; } }

/* results engine: dashboard, reports, keep my team (17 Nov 2026) */
.ptab.res-tab { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.res-trial { margin: 8px 0 10px; }
.rtiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rtile { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rtile b { font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rtile span { font-size: .74rem; color: var(--ink2); }
.spark { width: 100%; height: 34px; margin-top: 4px; display: block; }
.spark rect { fill: color-mix(in srgb, var(--brand) 45%, transparent); }
.spark rect.now { fill: var(--brand); }
.spark rect.future { fill: var(--line); }
.res-log { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.res-log input[type=number] { width: 84px; }
.rep-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.res-note { margin-top: 10px; }
.rd-tiles { margin: 10px 0; }
.rd-list { margin: 4px 0 10px; padding-left: 18px; font-size: .9rem; }
.rd-keep { background: color-mix(in srgb, var(--gold) 14%, var(--card)); border: 1px solid color-mix(in srgb, var(--gold) 50%, var(--line)); border-radius: 12px; padding: 10px 12px; margin: 10px 0; }
.rd-keep p { margin: 4px 0 0; font-size: .9rem; }
#keep-form label { display: block; margin: 8px 0; font-size: .88rem; }
#keep-form label input:not([type=radio]):not([type=checkbox]) { display: block; width: 100%; margin-top: 3px; }
#keep-form fieldset { border: 0; padding: 0; margin: 8px 0; }
#keep-form legend { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.k-opt { display: flex !important; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 7px 10px; margin: 5px 0 !important; cursor: pointer; }
.k-opt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--card)); }
.k-opt span { display: flex; flex-direction: column; } .k-opt small { color: var(--ink2); font-size: .78rem; }
.k-consent { display: flex !important; gap: 8px; align-items: center; }
.form-msg { min-height: 1.2em; font-size: .86rem; margin: 6px 0 0; } .form-msg.ok { color: var(--brand); } .form-msg.err { color: var(--clay); }

/* personalisation steps + reports (17 Nov 2026) */
.w-up { display: flex; align-items: center; gap: 14px; margin: 10px 0; }
.w-prev { width: 120px; height: 72px; border: 1px dashed var(--line); border-radius: 12px; display: grid; place-items: center; overflow: hidden; background: var(--bg); color: var(--ink2); font-size: .78rem; }
.w-prev.photo { width: 84px; height: 84px; border-radius: 50%; }
.w-prev img { max-width: 100%; max-height: 100%; object-fit: contain; } .w-prev.photo img { width: 100%; height: 100%; object-fit: cover; }
.w-sw { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.w-sw button { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--card); box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.w-sw button.on { box-shadow: 0 0 0 3px var(--gold); }
.w-own { display: flex; align-items: center; gap: 6px; font-size: .85rem; } .w-own input { width: 44px; height: 36px; padding: 2px; }
.w-names { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 46vh; overflow: auto; margin: 8px 0; }
.w-names label { display: grid; gap: 3px; font-size: .76rem; color: var(--ink2); }
#w-mail { width: 100%; margin: 8px 0; } .w-chk { display: flex; gap: 8px; align-items: center; margin: 6px 0; font-size: .88rem; }
.rep-mail { margin-top: 8px; }
@media (max-width: 560px) { .w-names { grid-template-columns: 1fr; } }

/* Tools tab + Trust Check (17 Nov 2026) */
.tool { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin: 0 0 10px; background: var(--card); }
.tool summary { cursor: pointer; list-style: none; display: grid; gap: 2px; } .tool summary::-webkit-details-marker { display: none; }
.tool summary b { font-size: .95rem; } .tool summary span { font-size: .78rem; color: var(--ink2); } .tool .lock { font-style: normal; font-size: .7rem; background: var(--bg2); border-radius: 99px; padding: 1px 7px; margin-left: 6px; }
.tool[open] summary { margin-bottom: 8px; }
.tool input:not([type=checkbox]):not([type=file]), .tool textarea, .tool select { width: 100%; margin: 4px 0; font-size: .86rem; }
.tool .btn { margin: 4px 0; } .tool h4 { margin: 12px 0 2px; font-size: .86rem; }
.tool-out pre, #out-body { white-space: pre-wrap; } .tool-out pre { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px; font: .8rem/1.5 var(--body); max-height: 46vh; overflow: auto; }
.tool-warn { background: color-mix(in srgb, var(--clay) 12%, var(--card)); border-radius: 10px; padding: 8px 10px; font-size: .82rem; }
.tool-label { font-size: .78rem; background: var(--bg2); border-radius: 8px; padding: 6px 8px; }
.tool-file { display: flex; gap: 8px; align-items: center; font-size: .8rem; color: var(--ink2); margin: 4px 0; } .tool-file.soon em { font-style: normal; font-weight: 700; color: var(--gold); }
.tool-chk { display: flex; flex-wrap: wrap; gap: 10px; font-size: .82rem; margin: 4px 0; } .tool-acts { display: flex; gap: 10px; align-items: center; }
.iv-step { margin-top: 8px; } .packs { display: flex; flex-wrap: wrap; gap: 6px; } .packs .btn.on { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, var(--card)); }
.trust { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: .82rem; }
.trust.ok { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); } .trust.mid { border-color: var(--gold); } .trust.low { border-color: var(--clay); }
.trust-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; } .trust-top span { color: var(--ink2); font-size: .74rem; }
.trust-bars { display: grid; gap: 4px; margin: 8px 0; } .trust-bars div { display: grid; grid-template-columns: 110px 1fr 30px; gap: 8px; align-items: center; }
.trust-bars i { height: 7px; background: var(--bg2); border-radius: 99px; overflow: hidden; } .trust-bars em { display: block; height: 100%; background: var(--brand); }
.trust ul { margin: 2px 0 6px; padding-left: 18px; } .trust p { margin: 4px 0; } .tbadge { color: var(--brand); }
