/* ===== HALO — public website & sign-in pages (V214) ===== */
:root{--top:#7aa7f9;--bg:#f7f9fc;--bg2:#eef3fb;--card:#fff;--text:#1f2a44;--mut:#6f7c92;--line:#e6ebf3;--brand:#4a86f0;--brand2:#8b6cf0;--ink:#1c2a4d;--shadow:0 1px 2px rgba(31,42,68,.04),0 14px 34px -22px rgba(31,42,68,.28)}
[data-theme=dark]{--top:#33477a;--bg:#0f1526;--bg2:#131b31;--card:#171f36;--text:#e6ebf8;--mut:#93a0c0;--line:#27324f;--brand:#7ea8ff;--ink:#0a1020}
body{font:15px/1.6 "Inter","Segoe UI",system-ui,-apple-system,Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.i{stroke-width:1.8}
em{background:linear-gradient(120deg,#4a86f0,#8b6cf0);-webkit-background-clip:text;background-clip:text;color:transparent}
/* blue header with centred logo + tab strip */
.nav{background:var(--top);border:0;backdrop-filter:none;box-shadow:0 1px 0 rgba(31,42,68,.1)}
.nav-in{display:grid;grid-template-columns:1fr auto 1fr;height:50px;gap:10px;max-width:1280px;margin:0 auto;padding:0 18px}
.nt-l{display:flex;gap:7px;align-items:center}.nav-r{justify-self:end}
.logo{justify-self:center;color:#fff;gap:9px}.logo .mark{width:28px;height:30px;border-radius:0;box-shadow:none;background:none}
.wm{color:#fff;font-size:1rem;letter-spacing:.16em}.wm i{background:none;-webkit-text-fill-color:#fff;color:#fff}
.tchip,.nav .ib{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 11px;border-radius:8px;border:0;background:rgba(255,255,255,.2);color:#fff;font:600 12.5px/1 inherit;font-family:inherit;text-decoration:none;cursor:pointer}
.nav .ib{width:30px;padding:0;justify-content:center}.tchip:hover,.nav .ib:hover{background:rgba(255,255,255,.34);text-decoration:none;color:#fff}
.tchip.solid{background:#fff;color:#2a4a8c}.tchip.solid:hover{background:#f0f5ff;color:#2a4a8c}
.tchip .i,.nav .ib .i{width:15px;height:15px;color:inherit}
.nav-tabs{max-width:1280px;margin:0 auto;padding:0 12px;height:40px;display:flex;align-items:flex-end}
#mn{display:flex;gap:2px;margin:0;flex:1;overflow-x:auto;scrollbar-width:none}#mn::-webkit-scrollbar{display:none}
#mn a{color:#fff;height:34px;display:inline-flex;align-items:center;padding:0 16px;border-radius:9px 9px 0 0;font:500 13.5px/1 inherit;font-family:inherit;white-space:nowrap;opacity:.95}
#mn a:hover{background:rgba(255,255,255,.2);color:#fff;text-decoration:none}
#mn a.on{background:var(--bg);color:var(--text);font-weight:700;opacity:1}
.burger{display:none!important}
/* buttons */
.btn{border-radius:9px;padding:9px 18px;font-weight:600;border:1px solid var(--line)}
.btn.pri{background:linear-gradient(180deg,#6aa0fb,#4a86f0);color:#fff;border-color:#4a86f0;box-shadow:0 10px 22px -12px #4a86f0}
.btn.lg{padding:12px 24px;border-radius:11px}
/* hero */
.hero{background:radial-gradient(800px 380px at 88% -10%,rgba(122,167,249,.38),transparent),radial-gradient(640px 320px at 4% 8%,rgba(139,108,240,.16),transparent),linear-gradient(180deg,#eaf1ff,var(--bg));padding:58px 0 36px}
[data-theme=dark] .hero{background:radial-gradient(800px 380px at 88% -10%,rgba(80,120,220,.3),transparent),var(--bg)}
.hero h1{letter-spacing:-.025em}
.chip{background:#fff;border:1px solid #d9e5fb;color:#2a4a8c;border-radius:8px;padding:5px 12px}
.ticks .i{color:#3cc7a0}
.mock{border-radius:16px;border:1px solid #dbe5f6;padding:0 16px 16px;overflow:hidden;transform:rotate(-1.2deg)}
.mock-bar{background:var(--top);margin:0 -16px 14px;padding:11px 14px;border-radius:0}.mock-bar i{background:rgba(255,255,255,.65)!important;width:9px;height:9px}
.mock-cards div{background:#f1f6ff;border-radius:10px}.mock-cards div:nth-child(2){background:#f1ecfd}.mock-cards div:nth-child(3){background:#e8f7f1}
.spark{color:#4a86f0}
.mock-row span{background:#dbe8fd;color:#2a4a8c;border-radius:6px}.mock-row em{color:#2fb67c;-webkit-text-fill-color:#2fb67c}
.idc{background:linear-gradient(135deg,#6a98f0,#8b6cf0);border-radius:14px}
/* sections & cards */
.sec.alt{background:var(--bg2)}
.fc,.pp,.card2,.vbox,.faq details,.rolechip{border-radius:14px;border:1px solid var(--line);box-shadow:var(--shadow)}
.fc:hover{transform:translateY(-3px);border-color:#bcd3fa}
.fi{border-radius:12px;background:#e4eefe;color:#4a86f0}
.grid3>.fc:nth-child(6n+2) .fi,.demo4>.fc:nth-child(4n+2) .fi{background:#ece6fb;color:#8b6cf0}.grid3>.fc:nth-child(6n+3) .fi,.demo4>.fc:nth-child(4n+3) .fi{background:#dcf3e8;color:#2fb67c}
.grid3>.fc:nth-child(6n+4) .fi,.demo4>.fc:nth-child(4n) .fi{background:#fcefd6;color:#e89b2d}.grid3>.fc:nth-child(6n+5) .fi{background:#fbe3e9;color:#e5586b}.grid3>.fc:nth-child(6n) .fi{background:#dcf1f8;color:#2cb3d6}
.rolechip{background:#fff;font-weight:600}
.vbox .i.lg{color:#4a86f0}
.pp.feat,.pp.pop{border-color:#4a86f0;box-shadow:0 0 0 2px #4a86f0,var(--shadow)}
.seg2 button.on{background:#4a86f0;color:#fff}
input,select,textarea{border-radius:9px}
input:focus,select:focus,textarea:focus{border-color:#4a86f0;box-shadow:0 0 0 3px rgba(74,134,240,.2)}
/* footer */
.foot{background:var(--ink);border-top:0}.foot .logo .mark{width:26px}
.foot .wm{color:#fff}
/* sign-in / register */
body.auth{background:var(--bg)}
.auth-l{background:linear-gradient(160deg,#7aa7f9 0%,#6a8def 55%,#8b6cf0 120%);color:#fff}
.auth-l .logo{justify-self:start}
.auth-th{background:rgba(122,167,249,.25);border:0;color:var(--text)}
.auth-f{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:26px;box-shadow:var(--shadow)}
.captcha{border-radius:10px}.cap-q{border-color:#4a86f0}
.steps li.on{border-color:#4a86f0}.steps li.on .n,.steps li.done .n{background:#4a86f0}
.alert{border-radius:10px}.alert.ok{background:#c3edd4;color:#1f6b49}.alert{background:#f6c3c1;color:#8e2e2b}.alert.warn{background:#fbebb4;color:#7a5a10}
/* mobile bottom bar */
.ptab a.on{color:#4a86f0;background:rgba(74,134,240,.12)}.ptab a.pdemo{background:linear-gradient(135deg,#6a98f0,#8b6cf0)}
.dm-box{border-radius:16px}
@media(max-width:820px){
  .nav-in{height:48px;grid-template-columns:auto 1fr auto}.nt-l{display:none}.logo{justify-self:start}.nav-tabs{height:38px}
  #mn{position:static!important;inset:auto!important;display:flex!important;flex-direction:row!important;background:none!important;box-shadow:none;border:0;padding:0!important;max-height:none!important;border-radius:0!important}
  #mn a{padding:0 13px!important;font-size:.9rem!important}
}
.auth-l .ticks .i,.auth-l .ticks li{color:#fff}.auth-l .ticks .i{opacity:.9}
.foot .logo{justify-content:flex-start;justify-self:start}
/* V226: wordmark reads "edamic" */
.wm{text-transform:lowercase!important;letter-spacing:.01em!important;font-size:1.22rem!important;font-weight:800}
/* demo role buttons stay on one line */
.demo4 .btn{white-space:nowrap;font-size:.8rem;padding-left:10px;padding-right:10px;width:100%;box-sizing:border-box}
/* V227: public open-tab keeps the original white tab style */
/* V235: demo role picker – nine roles sit in an even 3 × 3 grid on wide screens */
@media(min-width:901px){.demo4{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1040px;margin-left:auto;margin-right:auto;gap:20px}.demo4 .fc p{min-height:3.9em}}

/* V244 — public website assistant */
.pfab{position:fixed;right:22px;bottom:22px;z-index:95;width:56px;height:56px;border-radius:50%;border:0;padding:0;cursor:pointer;background:linear-gradient(135deg,#7aa7f9,#7a63e8);box-shadow:0 12px 26px -10px #5b7fe6;display:grid;place-items:center}
.pfab img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 0 0 2.5px #7aa7f9;box-sizing:border-box;display:block}.pfab-x{display:none}
.pfab.open img{display:none}.pfab.open .pfab-x{display:block;width:18px;height:18px;position:relative}.pfab.open .pfab-x::before,.pfab.open .pfab-x::after{content:"";position:absolute;left:50%;top:50%;width:20px;height:2.6px;background:#fff;border-radius:2px}.pfab.open .pfab-x::before{transform:translate(-50%,-50%) rotate(45deg)}.pfab.open .pfab-x::after{transform:translate(-50%,-50%) rotate(-45deg)}
.pai{position:fixed;right:22px;bottom:90px;z-index:95;width:370px;max-width:calc(100vw - 24px);height:min(540px,calc(100vh - 120px));display:flex;flex-direction:column;background:var(--card,#fff);border:1px solid var(--line,#e6ebf3);border-radius:16px;box-shadow:0 24px 60px -20px rgba(31,42,68,.45);overflow:hidden}
.pai[hidden]{display:none}.pai header{display:flex;align-items:center;gap:12px;padding:13px 14px;border-bottom:1px solid var(--line,#e6ebf3)}
.pai-av{width:40px;height:40px;border-radius:50%;overflow:hidden;flex:none;box-shadow:0 0 0 2px #c9dcfb}.pai-av img{width:100%;height:100%;object-fit:cover;display:block}
.pai-ti{display:flex;flex-direction:column;line-height:1.25;min-width:0}.pai-ti b{font-size:1rem}.pai-ti small{color:var(--mut,#6f7c92);font-size:.78rem;display:flex;align-items:center;gap:6px}.pai-ti small i{width:8px;height:8px;border-radius:50%;background:#2fb67c;display:inline-block}
.pai-x{margin-left:auto;border:0;background:none;font-size:1.5rem;line-height:1;color:var(--mut,#6f7c92);cursor:pointer;padding:2px 6px;border-radius:8px}.pai-x:hover{background:var(--bg2,#eef3fb)}
.pai-log{flex:1;overflow:auto;padding:14px;display:flex;flex-direction:column;gap:9px}.pb{max-width:86%;padding:9px 12px;border-radius:14px;font-size:.9rem;line-height:1.45;white-space:pre-wrap}.pb.bot{background:var(--bg2,#eef3fb);color:var(--text,#1f2a44);border-bottom-left-radius:4px;align-self:flex-start}.pb.me{background:#4a86f0;color:#fff;border-bottom-right-radius:4px;align-self:flex-end}.pb.wait{opacity:.6}
.pb-a{display:inline-block;margin-top:6px;font-weight:700;color:#4a86f0;text-decoration:none}
.pai-sug{display:flex;flex-wrap:wrap;gap:6px}.pai-sug button{border:1px solid #c9dcfb;background:var(--card,#fff);color:#2f5fc4;font:inherit;font-size:.8rem;font-weight:600;padding:6px 11px;border-radius:999px;cursor:pointer}.pai-sug button:hover{background:#eaf2fe}
.pai-f{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line,#e6ebf3)}.pai-f input{flex:1;min-width:0;border:1px solid var(--line,#e6ebf3);border-radius:999px;padding:9px 14px;font:inherit;background:var(--card,#fff);color:var(--text,#1f2a44)}.pai-f button{width:40px;height:40px;border-radius:50%;border:0;background:#4a86f0;color:#fff;cursor:pointer;font-size:1rem}
@media(max-width:900px){.pfab{bottom:78px;right:14px;width:50px;height:50px}.pai{bottom:136px;right:12px;height:min(500px,calc(100vh - 170px))}}
/* V247 — closed button: the original lightning icon for everyone */
.pfab{color:#fff}.pfab .pfab-ic{width:24px;height:24px;display:block}.pfab.open .pfab-ic{display:none}
/* V248 — same floating button as the app */
.pfab{background:#7468d8;box-shadow:0 12px 26px -10px rgba(116,104,216,.75)}.pfab .pfab-ic{width:27px;height:27px}
.pfab.open .pfab-x::before{left:50%;top:38%;width:11px;height:11px;border-right:2.6px solid #fff;border-bottom:2.6px solid #fff;background:none;border-radius:1px;transform:translate(-50%,-50%) rotate(45deg)}.pfab.open .pfab-x::after{display:none}
.pai-av{box-shadow:none}.pai-av img[src$="logo.svg"]{transform:scale(1.12)}
