/* Onedotworld HQ client board (demo). Same palette as the site. */
:root {
  --bg: #F7FBFE; --bg2: #E9F4FB; --card: #FFFFFF; --ink: #0C2135; --ink2: #4A5650; --line: #D7E7F2;
  --brand: #0A7FBF; --brand2: #0891D1; --gold: #FF6A13; --clay: #B4532A; --onbrand: #FFFFFF;
  --floor: #EAF3F9; --tile: #DEECF5; --room: #FFFFFF; --hall: #D3E5F0; --wall: #B5CFE0;
  --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: #0B1622; --bg2: #102030; --card: #13263A; --ink: #EEF2EE; --ink2: #A9B7AF; --line: #20384F;
  --brand: #12B5F5; --brand2: #4CC8F7; --gold: #FF8A3D; --clay: #E07B52; --onbrand: #06110C;
  --floor: #0F1E2D; --tile: #132536; --room: #172C40; --hall: #1C3349; --wall: #2A4660;
  --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, #0C2135 36px 44px, var(--gold) 44px 52px, var(--brand2) 52px 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); }

/* Bigger, easier-to-read HQ board on laptops (Samuel, 18 Nov 2026) */
@media (min-width: 1100px) { html { font-size: 17.5px; } }
@media (min-width: 1600px) { html { font-size: 18.5px; } }
body { font-size: 1rem; }
.app { max-width: 1920px; grid-template-columns: minmax(0, 1fr) clamp(380px, 28vw, 480px); gap: 22px; padding: 22px 24px 10px; }
.foot { max-width: 1920px; padding: 8px 24px 28px; font-size: .85rem; }
.brand svg, .brand img { width: 46px; height: 46px; } .brand img { width: auto; max-width: 170px; }
.iconbtn { width: 44px; height: 44px; }
.room .rlabel { font-size: clamp(.72rem, 1.2vw, 1rem); }
.av .tag { font-size: clamp(.62rem, 1vw, .86rem); padding: 1px 6px; }
.av .bub { font-size: .84rem; padding: 2px 8px; max-width: 230px; }
.hall .rug { font-size: .9rem; }
.ceo-name { font-size: clamp(.72rem, 1.15vw, 1rem); }
.tray { font-size: .85rem; padding: 4px 10px; }
.ocard .ph { width: 64px; height: 64px; }
.omem svg { width: 30px; height: 45px; }
@media (max-width: 1020px) { .app { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .app { padding: 16px 10px 8px; } .hall .rug { font-size: .6rem; } }

/* Full-screen live HQ dashboard (Samuel, 18 Nov 2026): the board fills the screen, colour, CEO walkabout, ticker, TV mode */
body { background:
  radial-gradient(1100px 620px at 0% 0%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%),
  radial-gradient(900px 560px at 100% 100%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 70%),
  radial-gradient(700px 420px at 100% 0%, color-mix(in srgb, var(--clay) 9%, transparent), transparent 70%), var(--bg);
  background-attachment: fixed; }
.room:not(.ceo) { background: color-mix(in srgb, var(--dc, var(--room)) 12%, var(--room)); border-color: color-mix(in srgb, var(--dc, var(--wall)) 55%, var(--wall)); }
.room:not(.ceo) .rlabel { color: color-mix(in srgb, var(--dc, var(--ink)) 45%, var(--ink)); }
.hall { background: linear-gradient(90deg, color-mix(in srgb, var(--gold) 14%, var(--hall)), var(--hall) 30%, var(--hall) 70%, color-mix(in srgb, var(--brand) 12%, var(--hall))); }
.av.talk .bub { opacity: 1; background: var(--gold); color: #17201C; border-color: var(--gold); max-width: 260px; }
.av.boss { z-index: 8; }
.av.boss .tag { background: var(--gold); color: #17201C; border-color: var(--gold); }
.ticker { position: relative; overflow: hidden; white-space: nowrap; margin-top: 10px; padding: 9px 0; border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .9rem; flex: none; }
.ticker::before { content: "LIVE"; position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: grid; place-items: center; padding: 0 12px; font: 700 .75rem var(--body); letter-spacing: .12em; color: #fff; background: var(--clay); border-radius: 14px 0 0 14px; }
.ticker-in { display: inline-block; padding-left: 100%; animation: hqticker 45s linear infinite; }
.ticker-in span { margin-right: 46px; color: var(--ink); }
.ticker-in span::before { content: "●"; color: var(--gold); margin-right: 8px; }
.ticker-in b { color: var(--ink2); font-weight: 600; }
@keyframes hqticker { to { transform: translateX(-100%); } }
#tv-btn { white-space: nowrap; }
@media (min-width: 1021px) {
  .app { max-width: none; height: calc(100vh - 72px); min-height: 620px; grid-template-columns: minmax(0, 1fr) clamp(360px, 26vw, 470px); padding: 14px 18px 12px; }
  .stage { display: flex; flex-direction: column; min-height: 0; }
  .floor { flex: 1 1 auto; aspect-ratio: auto; min-height: 0; }
  .org:not([hidden]) { flex: 1 1 auto; overflow: auto; }
  .panel { position: static; align-self: stretch; max-height: none; min-height: 0; overflow: auto; }
  .foot { max-width: none; }
}
html.tv .panel, html.tv .foot, html.tv .views, html.tv .bar-tools > :not(#tv-btn), html.tv .powered { display: none !important; }
html.tv .app { grid-template-columns: 1fr; height: calc(100vh - 72px); padding: 12px 16px; }
@media (min-width: 1021px) { html.tv { font-size: 20px; } }
@media (max-width: 640px) { #tv-btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .ticker-in { animation: none; padding-left: 70px; } }
/* ODW-UPLOADS-CSS START (18 Nov 2026): file uploads, ported from the WakandaTalent board. Source: Onedotworld-server/tools/board_uploads_addon.css */
.up-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 99px; padding: 8px 14px; font: 600 .86rem var(--body); cursor: pointer; min-height: 40px; }
.up-btn svg { width: 18px; height: 18px; } .up-btn:hover { border-color: var(--brand); color: var(--brand); }
#ask-form { position: relative; }
.up-drop { position: absolute; inset: 0; display: grid; place-items: center; border: 2px dashed var(--brand); border-radius: 14px; background: color-mix(in srgb, var(--card) 88%, transparent); font-weight: 700; color: var(--brand); pointer-events: none; }
.up-zone { margin-top: 6px; } .up-hint { margin: 6px 0; }
.up-list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 6px; }
.up-list li { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; font-size: .85rem; display: grid; gap: 5px; }
.up-list .bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; } .up-list .bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .2s; }
.up-list .err { color: #B42318; } [data-theme="dark"] .up-list .err { color: #F97066; }
.up-files { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 4px; }
#up-chips { display: contents; }
.fchip { border: 1px solid var(--line); background: var(--card); color: var(--ink); border-radius: 99px; padding: 5px 11px; font: 600 .8rem var(--body); cursor: pointer; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fchip:hover { border-color: var(--brand); }
.danger-t { color: #B42318; }
@media (max-width: 640px) { .up-btn { flex: 1 1 auto; justify-content: center; } }
.up-drop[hidden], .up-files[hidden] { display: none !important; }
#up-list li .btn.sm { justify-self: start; }
/* ODW-UPLOADS-CSS END */
/* ODW-LIVE-CSS START (18 Nov 2026): live answer card, My documents (ملفاتي), done toast. Source: Onedotworld-server/tools/board_live_addon.css */
.live-chat { display: grid; gap: 10px; margin: 10px 0; }
.lc-card { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--card); display: grid; gap: 8px; }
.lc-card.done { border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); }
.lc-card.failed { border-color: #F04438; }
.lc-q { margin: 0; font-weight: 600; font-size: .9rem; color: var(--ink); overflow-wrap: anywhere; }
.lc-head { display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; }
.lc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); margin-top: 6px; flex: none; animation: lcPulse 1.2s ease-in-out infinite; }
@keyframes lcPulse { 50% { opacity: .3; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .lc-dot { animation: none; } }
.lc-ok, .lc-err { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; font: 700 .75rem var(--body); background: var(--brand); }
.lc-err { background: #F04438; }
.lc-prog { display: flex; align-items: center; gap: 10px; }
.lc-bar { flex: 1; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.lc-bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s linear; }
.lc-sec { font: 600 .8rem var(--body); font-variant-numeric: tabular-nums; min-width: 3.2em; text-align: end; color: var(--muted, #6b746f); }
.lc-text { white-space: pre-wrap; overflow-wrap: anywhere; font: .9rem/1.65 var(--body); margin: 0; max-height: 420px; overflow: auto; background: color-mix(in srgb, var(--card) 92%, var(--line)); border-radius: 10px; padding: 10px 12px; }
.lc-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-ok-note { margin: 0; color: var(--clay); }
.doc-item { border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; margin: 8px 0; }
.doc-item summary { cursor: pointer; overflow-wrap: anywhere; }
.doc-item[open] summary { margin-bottom: 8px; }
.doc-item .lc-acts { margin-top: 8px; }
.lc-toast { position: fixed; inset-block-end: 18px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 10px; max-width: min(92vw, 520px);
  background: var(--ink); color: var(--bg, #fff); border-radius: 14px; padding: 10px 12px 10px 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: .9rem; }
[dir="rtl"] .lc-toast { transform: translateX(50%); }
.lc-toast[hidden] { display: none !important; }
.lc-toast .lc-x { background: none; border: 0; color: inherit; font-size: 1.2rem; cursor: pointer; padding: 0 4px; }
/* ODW-LIVE-CSS END */
/* ODW-SIGNIN-CSS START: own-address sign-in screen + idle warning (19 Nov 2026) */
html.hq-lock body > *:not(#hq-gate) { display: none !important; }
html.hq-lock body { min-height: 100vh; background: linear-gradient(160deg, var(--bg) 0%, var(--bg2) 100%); }
#hq-gate { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
#hq-gate[dir="rtl"] { font-family: "IBM Plex Sans Arabic", var(--body); }
.hg-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 28px 20px; box-shadow: 0 18px 50px rgba(12, 33, 53, .10); }
.hg-brand img { display: block; width: 200px; height: auto; margin: 0 auto 14px; }
.hg-lang { display: flex; justify-content: center; gap: 4px; margin: 0 0 18px; }
.hg-lang button { font: 600 .8rem inherit; border: 1px solid var(--line); background: transparent; color: var(--ink2); border-radius: 99px; padding: 4px 12px; cursor: pointer; }
.hg-lang button.on { background: var(--brand); border-color: var(--brand); color: var(--onbrand); }
.hg-card h1 { font-size: 1.35rem; margin: 0 0 4px; text-align: center; }
.hg-sub { color: var(--ink2); text-align: center; margin: 0 0 16px; }
.hg-note { background: color-mix(in srgb, var(--brand) 10%, transparent); border-radius: 12px; padding: 10px 12px; font-size: .9rem; margin: 0 0 14px; }
#hg-f label { display: block; font-weight: 600; font-size: .88rem; margin: 0 0 12px; }
#hg-f input { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; font-size: 1rem; }
#hg-f input[hidden] { display: none; }
#hg-f input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
#hg-f .btn { width: 100%; padding: 12px 16px; font-size: 1rem; margin-top: 4px; }
#hg-f .btn.busy { opacity: .6; cursor: progress; }
.hg-err { color: var(--clay); font-size: .88rem; min-height: 1.2em; margin: 8px 0 0; }
.hg-err:empty { display: none; }
.hg-alt { text-align: center; margin: 12px 0 0; font-size: .9rem; }
.hg-foot { text-align: center; color: var(--ink2); font-size: .75rem; margin: 18px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
#hq-idle { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: rgba(12, 33, 53, .45); padding: 16px; }
#hq-idle[dir="rtl"] { font-family: "IBM Plex Sans Arabic", var(--body); }
.hi-card { background: var(--card); color: var(--ink); border-radius: 18px; padding: 22px; max-width: 380px; width: 100%; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.hi-card b { font-size: 1.15rem; }
.hi-card p { margin: 8px 0 16px; }
#hi-left { font-weight: 700; font-variant-numeric: tabular-nums; }
.hi-row { display: flex; gap: 8px; justify-content: flex-end; }
#hq-pw { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 10px 16px 0; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--brand) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--brand) 35%, transparent); }
#hq-pw span { color: var(--ink2); font-size: .88rem; flex: 1 1 220px; }
#hq-pw input[type=password] { flex: 0 1 220px; }
#hq-pw input[hidden] { display: none; }
#hq-pw em { flex-basis: 100%; color: var(--clay); font-style: normal; font-size: .85rem; }
#hq-pw em:empty { display: none; }
/* ODW-SIGNIN-CSS END */
/* ODW-SPEED-CSS START: big mic, floating mic, streamed replies, download formats (ported from WakandaTalent, 19 Nov 2026) */
/* ---- Big, obvious mic (Samuel, 19 Nov 2026: "make microphone buttons pop ... maybe bigger") */
.ask-row .mic, .mic { width: 64px; height: 64px; min-width: 64px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--onbrand);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--brand) 45%, transparent), inset 0 0 0 3px color-mix(in srgb, #fff 30%, transparent); transition: transform .12s, background .15s; }
.mic svg { width: 30px; height: 30px; }
.mic:hover { transform: scale(1.05); }
.mic:focus-visible, .mic-fab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.mic.first { animation: micpulse 1.6s ease-in-out 5; }
.mic.on, .mic-fab.on { background: #D92D20; color: #fff; animation: recpulse 1s infinite; }
.mic-wrap { align-items: center; gap: 10px; }
.mic-cap { font-weight: 700; font-size: .95rem; color: var(--brand); white-space: nowrap; }
[data-theme=dark] .mic-cap { color: var(--gold); }
.mic-live { display: inline-flex; align-items: center; gap: 8px; color: #D92D20; font-weight: 700; font-size: .9rem; }
.mic-live[hidden] { display: none; }
.wave { display: inline-flex; gap: 3px; align-items: center; height: 22px; }
.wave i { width: 4px; height: 8px; border-radius: 2px; background: #D92D20; animation: wv .9s infinite ease-in-out; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; }
.mic-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 45; width: 68px; height: 68px; border-radius: 50%; border: 0; cursor: pointer;
  display: none; place-items: center; align-content: center; gap: 0; background: var(--brand); color: var(--onbrand); font: 700 .7rem/1 var(--body, inherit);
  box-shadow: 0 6px 22px rgba(0,0,0,.28), inset 0 0 0 3px color-mix(in srgb, #fff 30%, transparent); }
.mic-fab svg { width: 30px; height: 30px; fill: currentColor; }
.mic-fab-t { margin-top: 1px; }
body.hq-live:not(.on-ask) .mic-fab { display: grid; }
@media (max-width: 760px) {
  .ask-row .mic, .mic { width: 72px; height: 72px; min-width: 72px; }
  .mic svg { width: 34px; height: 34px; }
  body.hq-live .mic-fab { display: grid; width: 72px; height: 72px; }
  body.hq-live.on-ask .mic-fab { display: none; }
}
@keyframes micpulse { 0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--brand) 55%, transparent); } 50% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--brand) 0%, transparent); } }
@keyframes recpulse { 50% { box-shadow: 0 0 0 12px rgba(217,45,32,.25); } }
@keyframes wv { 0%, 100% { height: 6px; } 50% { height: 22px; } }
@media (prefers-reduced-motion: reduce) { .mic.first, .mic.on, .mic-fab.on, .wave i { animation: none !important; } }
/* streamed replies + download formats */
.msg.live .body { min-height: 1.4em; }
.fmt-sel { font: inherit; font-size: .8rem; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: inherit; }
/* the bigger mic needs room: wrap the row, keep "Send to my team" on one line */
.ask-row { flex-wrap: wrap; row-gap: 10px; }
.ask-row .btn[type=submit] { white-space: nowrap; }
@media (max-width: 1100px) { .ask-row .btn[type=submit] { margin-left: 0; flex: 1 1 100%; } }
.lc-live { opacity: .95; } .lc-acts .fmt-sel { margin-inline-start: 2px; }
html.ar .mic-fab { right: auto; left: 18px; }
/* Voice language picker + any-language chat (19 Nov 2026, from WakandaTalent) */
.mic-lang { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--ink2); }
.mic-lang select { font: inherit; font-size: .88rem; padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); max-width: 11em; min-height: 36px; }
.lc-q, .lc-text, #ask-input { text-align: start; unicode-bidi: plaintext; }
/* ODW-SPEED-CSS END */
/* ODW-GOLIVE-CSS START: go-live tracker + intake (ported from WakandaTalent, 19 Nov 2026) */
/* ---- Live in 24-72 hours: go-live tracker + intake (Samuel, 19 Nov 2026) */
.golive { margin: 10px 16px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 12px 14px; box-shadow: var(--shadow, none); }
.golive[hidden] { display: none; }
.gl-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.gl-head b { font-size: 1rem; }
.gl-clock { font-size: .85rem; font-weight: 700; color: var(--brand); }
.golive.amber .gl-clock { color: #B54708; } .golive.red .gl-clock { color: #B42318; } .golive.live .gl-clock { color: #067647; }
.gl-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0; margin: 10px 0 8px; counter-reset: gl; }
.gl-steps li { border-top: 4px solid var(--line); padding-top: 6px; font-size: .78rem; color: var(--ink2); line-height: 1.3; }
.gl-steps li b { display: block; color: var(--ink); font-size: .82rem; }
.gl-steps li.done { border-color: var(--brand); } .gl-steps li.now { border-color: var(--gold); } .gl-steps li.now b { color: var(--brand); }
.gl-body { display: grid; gap: 8px; font-size: .88rem; }
.gl-miss { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gl-miss button { font-size: .8rem; }
.gl-qa { font-size: .8rem; color: var(--ink2); } .gl-qa summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.gl-qa li { margin: 2px 0; }
.gl-note { background: color-mix(in srgb, var(--gold) 14%, var(--card)); border-radius: 10px; padding: 8px 10px; }
@media (max-width: 640px) { .gl-steps { grid-template-columns: repeat(5, minmax(56px, 1fr)); overflow-x: auto; } .golive { margin: 8px 10px 0; } }
.in-bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 0 0 12px; } .in-bar i { display: block; height: 100%; width: 0; background: var(--brand); transition: width .25s; }
.in-body { display: grid; gap: 8px; margin-top: 10px; }
.in-body input[type=text], .in-body input[type=tel], .in-body input[type=email], .in-body input[type=url], .in-body textarea { width: 100%; font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: inherit; }
.in-body textarea { min-height: 120px; }
.in-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.in-opts button { border: 1px solid var(--line); background: var(--card); color: inherit; border-radius: 999px; padding: 9px 14px; font: inherit; cursor: pointer; }
.in-opts button[aria-pressed=true] { background: var(--brand); color: var(--onbrand); border-color: var(--brand); }
.in-hours { display: grid; grid-template-columns: 3.2em 1fr 1fr auto; gap: 6px 8px; align-items: center; font-size: .9rem; }
.in-hours input[type=time] { font: inherit; padding: 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: inherit; }
.in-files { display: grid; gap: 6px; font-size: .88rem; } .in-files li { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.in-err { color: #B42318; min-height: 1.2em; margin: 6px 0 0; font-size: .85rem; }
.in-foot { margin: 10px 0 0; font-size: .85rem; }
.in-foot { color: var(--ink2); } html.ar .wiz-row .btn:last-child { margin-left: 0; margin-right: auto; }
/* ODW-GOLIVE-CSS END */
/* ODW-SCORE-CSS START: per-agent scorecard on the Results tab (25 Nov 2026) */
.sc-wrap { overflow-x: auto; margin: 6px 0 4px; }
.sc-table { width: 100%; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; }
.sc-table th, .sc-table td { text-align: start; padding: 7px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sc-table thead th { font-size: .7rem; font-weight: 600; color: var(--ink2); line-height: 1.25; }
.sc-table tbody th b { display: block; }
.sc-table small { display: block; font-size: .72rem; color: var(--ink2); font-weight: 400; }
.sc-table td small { display: block; margin: 0; }
.sc-table tbody tr:last-child th, .sc-table tbody tr:last-child td { border-bottom: 0; }
.sc-empty { margin: 8px 0; padding: 12px 14px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink2); }
/* ODW-SCORE-CSS END */
/* ODW-DS-CSS START: House Design System v1.0 layer on the HQ board (24 Nov 2026, Design Desk row 3).
   Restyle only: tokens, pill buttons with 48px touch height, raised cards and tiles, accent rotation.
   No markup or behaviour change. Appended last by apply_gulf_addon.py. */
:root {
  --brand: #0B6FA0; --brand2: #08557B; --onbrand: #FFFFFF;
  --ds-accent-1: #12B5F5; --ds-accent-2: #12805C; --ds-accent-3: #8B5CF6; --ds-accent-4: #F2552C;
  --ds-shadow-1: 0 1px 2px rgba(14,21,48,.06), 0 2px 8px rgba(14,21,48,.05);
  --ds-shadow-2: 0 2px 4px rgba(14,21,48,.05), 0 10px 28px rgba(14,21,48,.08);
  --ds-tile: linear-gradient(145deg, #FFFFFF 0%, #F1F3F8 100%);
  --ds-ease: cubic-bezier(.2,.7,.2,1);
  --shadow: var(--ds-shadow-2);
}
[data-theme="dark"] {
  --brand: #12B5F5; --brand2: #4CC8F7; --onbrand: #06110C;
  --ds-shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --ds-shadow-2: 0 2px 6px rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.35);
  --ds-tile: linear-gradient(145deg, #1C2C40 0%, #132536 100%);
}
:focus-visible { outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent); }

/* buttons: pill, 48px touch target, lift on hover */
.btn { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 6px 16px -6px color-mix(in srgb, var(--brand) 55%, transparent);
  transition: background .18s var(--ds-ease), transform .18s var(--ds-ease), box-shadow .18s var(--ds-ease); }
.btn:hover { background: var(--brand2); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.ghost { box-shadow: none; border: 1.5px solid color-mix(in srgb, var(--brand) 35%, var(--line)); color: var(--brand); }
.btn.ghost:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
[data-theme="dark"] .btn.ghost { color: var(--ink); }
.iconbtn { width: 44px; height: 44px; transition: background .18s, border-color .18s; }
.iconbtn:hover { border-color: var(--brand); }
.vtab, .ptab { min-height: 40px; padding: 0 16px; transition: background .18s, color .18s, border-color .18s; }
.vtab:hover, .ptab:hover { border-color: var(--brand); color: var(--ink); }
.vtab.on, .ptab.on { box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--brand) 70%, transparent); }
select, input, textarea { border-radius: 12px; }
select:focus, input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }

/* stat tiles: raised, numbered accents rotating 1->4 */
.stat { position: relative; border-radius: 18px; padding: 14px 16px 12px; background: var(--ds-tile); box-shadow: var(--ds-shadow-1); overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 16px; top: 0; width: 34px; height: 5px; border-radius: 0 0 5px 5px; background: var(--ds-accent-1); }
.stat:nth-child(4n+2)::before { background: var(--ds-accent-2); }
.stat:nth-child(4n+3)::before { background: var(--ds-accent-3); }
.stat:nth-child(4n+4)::before { background: var(--ds-accent-4); }
.stat b { font-size: 1.7rem; letter-spacing: -.02em; }

/* surfaces: 24px cards, soft layered shadow */
.floor, .org, .panel { border-radius: 24px; box-shadow: var(--ds-shadow-2); }
.panel { border: 1px solid var(--line); }
.ocard, .odept, .room, .tool, .coach, .cro-card, .lc-card, .ticker { border-radius: 18px; }
.ocard, .tool, .cro-card, .lc-card { box-shadow: var(--ds-shadow-1); transition: box-shadow .2s var(--ds-ease), transform .2s var(--ds-ease); }
.ocard:hover, .tool:hover { box-shadow: var(--ds-shadow-2); transform: translateY(-2px); }
.task, .feed li, .reports li button, .chips button, .post, .soc, .doc-item, .up-list li, .rtile, .k-opt, .w-types button { border-radius: 14px; }
.chips button, .reports li button, .w-types button, .k-opt { transition: border-color .18s, background .18s, transform .18s var(--ds-ease); }
.chips button:hover, .reports li button:hover, .w-types button:hover, .k-opt:hover { border-color: var(--brand); transform: translateY(-1px); }
.dlg { border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(14,21,48,.35); }
.hg-card, .hi-card { border-radius: 24px; }
.badge { border-radius: 999px; }

/* top bar: the brand stripe becomes one clean brand-to-accent line */
.bar::after { height: 4px; bottom: -4px; background: linear-gradient(90deg, var(--brand), var(--ds-accent-1) 45%, var(--ds-accent-3) 75%, var(--ds-accent-4)); }

@media (prefers-reduced-motion: reduce) {
  .btn, .ocard, .tool, .chips button, .reports li button, .w-types button, .k-opt { transition: none; transform: none !important; }
}
/* ODW-DS-CSS END */
