/* Lead capture UI (18.11.2026): one form, one pill, the Library assistant box, the PDF drop, the Studio playground. Uses the page colour (--lv). */
/* ---------- form ---------- */
html.yb-lock{overflow:hidden}
.yb-m{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;padding:16px}
.yb-bg{position:absolute;inset:0;background:rgba(11,12,11,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .25s}
.yb-d{position:relative;width:min(480px,100%);max-height:calc(100svh - 32px);overflow:auto;border-radius:28px;background:#fff;box-shadow:0 40px 90px -30px rgba(11,12,11,.5);padding:30px 28px 26px;opacity:0;transform:translateY(14px) scale(.98);transition:opacity .25s,transform .35s cubic-bezier(.2,.8,.2,1);box-sizing:border-box}
.yb-m.on .yb-bg{opacity:1}.yb-m.on .yb-d{opacity:1;transform:none}
.yb-x{position:absolute;right:14px;top:14px;width:38px;height:38px;border-radius:50%;border:0;background:#F1F2EE;font-size:22px;line-height:1;cursor:pointer;color:#0B0C0B}
.yb-f{display:flex;flex-direction:column;gap:14px}
.yb-k{align-self:flex-start;height:28px;display:inline-flex;align-items:center;padding:0 12px;border-radius:999px;background:var(--lvt);color:var(--lv-ink);font-size:13px;font-weight:700}
.yb-f h3,.yb-ok h3{margin:2px 0 0;font-size:26px;line-height:1.18;font-weight:600;letter-spacing:-.03em;text-wrap:balance;padding-right:30px}
.yb-f>p,.yb-ok p{margin:0;font-size:15.5px;line-height:1.5;color:#3D413A;text-wrap:pretty}
.yb-l{display:flex;flex-direction:column;gap:6px;font-size:13.5px;font-weight:700;color:#3D413A}
.yb-l input{height:50px;border-radius:14px;border:1px solid rgba(11,12,11,.14);padding:0 16px;font:inherit;font-size:16px;font-weight:500;color:#0B0C0B;background:#FAFAF7;outline:none;transition:border-color .2s,box-shadow .2s}
.yb-l input:focus{border-color:var(--lv);box-shadow:0 0 0 4px var(--lvt);background:#fff}
.yb-c{display:flex;flex-direction:column;gap:8px}
.yb-c>span{font-size:13.5px;font-weight:700;color:#3D413A}.yb-c em{font-style:normal;font-weight:500;color:#8A8E86}
.yb-c>div{display:flex;flex-wrap:wrap;gap:6px}
.yb-c button{height:36px;padding:0 14px;border-radius:999px;border:1px solid rgba(11,12,11,.12);background:#fff;font:inherit;font-size:14px;font-weight:600;color:#3D413A;cursor:pointer}
.yb-c button.on{background:var(--lv);border-color:var(--lv);color:#fff}
.yb-file{margin:0;padding:10px 14px;border-radius:14px;background:var(--lvt);color:var(--lv-ink);font-size:14px;font-weight:600;word-break:break-all}
.yb-tc{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:1.45;color:#3D413A;cursor:pointer}
.yb-tc input{width:18px;height:18px;margin:1px 0 0;accent-color:var(--lv);flex:none}
.yb-go{justify-content:center;background:var(--lv)!important;color:#fff!important}
.yb-err{margin:-4px 0 0;font-size:13.5px;color:#B42318}
.yb-ok{display:flex;flex-direction:column;gap:12px;align-items:flex-start;padding:6px 0}
.yb-ic{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--lv);color:#fff;font-size:22px;font-weight:800}
/* ---------- pill ---------- */
.yb-pill{position:fixed;right:24px;bottom:24px;z-index:800;height:50px;padding:0 20px;border-radius:999px;border:0;background:var(--lv);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer;box-shadow:0 18px 40px -16px rgba(11,12,11,.45);opacity:0;transform:translateY(16px);pointer-events:none;transition:opacity .3s,transform .4s cubic-bezier(.2,.8,.2,1)}
.yb-pill.on{opacity:1;transform:none;pointer-events:auto}
.yb-pill span{margin-left:4px}
@media (max-width:700px){.yb-pill{left:16px;right:16px;bottom:16px;width:auto}html:has(.yb-pill.on) .y-mcta{opacity:0;pointer-events:none}}
/* ---------- Library: the assistant box ---------- */
.ab{max-width:880px;margin:30px auto 0;border-radius:32px;background:#fff;box-shadow:0 0 0 1px rgba(11,12,11,.07),0 30px 70px -50px rgba(107,79,224,.45);padding:22px;display:flex;flex-direction:column;gap:14px}
.ab-hd{display:flex;align-items:center;gap:12px}
.ab-hd .ab-av{width:40px;height:40px}
.ab-hd b{display:block;font-size:17px;font-weight:700}
.ab-hd span{font-size:14px;color:#5F635C}
.ab-av{flex:none;width:32px;height:32px;border-radius:50%;background:#0E2E1F url("/assets/l39/atoro/atoro-logo-a.svg") center/50% no-repeat;filter:none}
.ab-log{display:flex;flex-direction:column;gap:12px;max-height:340px;overflow:auto;scroll-behavior:smooth}
.ab-log:empty{display:none}
.ab-me{align-self:flex-end;max-width:80%;padding:11px 16px;border-radius:18px 18px 6px 18px;background:var(--lv);color:#fff;font-size:15.5px;font-weight:600;line-height:1.4}
.ab-it{display:flex;gap:10px;align-items:flex-start}
.ab-tx{flex:1;min-width:0;padding:12px 16px;border-radius:18px 18px 18px 6px;background:#F4F4F0}
.ab-tx p{margin:0 0 8px;font-size:15.5px;line-height:1.5;color:#0B0C0B}.ab-tx p:last-of-type{margin-bottom:0}
.ab-typing{display:flex;gap:4px;padding:6px 0}.ab-typing i{width:7px;height:7px;border-radius:50%;background:#9A9E96;animation:abd 1s infinite}.ab-typing i:nth-child(2){animation-delay:.15s}.ab-typing i:nth-child(3){animation-delay:.3s}
@keyframes abd{0%,100%{opacity:.3}50%{opacity:1}}
.ab-src{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.ab-src span{display:inline-flex;gap:6px;align-items:center;padding:6px 10px;border-radius:10px;background:#fff;box-shadow:0 0 0 1px rgba(11,12,11,.08);font-size:12.5px;color:#5F635C}
.ab-src b{color:var(--lv-ink);font-weight:700}
.ab-sg{display:flex;flex-wrap:wrap;gap:6px}
.ab-sg button{height:36px;padding:0 14px;border-radius:999px;border:0;background:var(--lvt);color:var(--lv-ink);font:inherit;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .2s}
.ab-sg button:disabled{opacity:.4;cursor:default}
.ab-in{display:flex;gap:8px}
.ab-in input{flex:1;min-width:0;height:50px;border-radius:999px;border:1px solid rgba(11,12,11,.12);padding:0 20px;font:inherit;font-size:16px;background:#FAFAF7;outline:none}
.ab-in input:focus{border-color:var(--lv);box-shadow:0 0 0 4px var(--lvt);background:#fff}
.ab-in button{height:50px;padding:0 22px;border-radius:999px;border:0;background:var(--lv);color:#fff;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.ab-gate{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:16px 18px;border-radius:20px;background:var(--lvt)}
.ab-gate[hidden]{display:none}
.ab-gate b{font-size:16px;color:var(--lv-ink)}
.ab-gate .btn{background:var(--lv);color:#fff}
.ab-note{margin:0;text-align:center;font-size:13px;color:#8A8E86}
/* ---------- Library: PDF drop ---------- */
.pd{max-width:880px;margin:0 auto;display:grid;grid-template-columns:auto 1fr;gap:22px;align-items:center;padding:30px;border-radius:32px;border:2px dashed rgba(107,79,224,.35);background:#fff;cursor:pointer;transition:border-color .2s,background .2s}
.pd:hover,.pd.over{border-color:var(--lv);background:var(--lvt2)}
.pd.got{border-style:solid;border-color:var(--lv)}
.pd-ic{width:72px;height:88px;border-radius:14px;background:var(--lvt);display:grid;place-items:center;color:var(--lv-ink);font-size:14px;font-weight:800;position:relative}
.pd-ic::after{content:'';position:absolute;right:0;top:0;width:20px;height:20px;background:linear-gradient(225deg,#fff 50%,rgba(107,79,224,.2) 50%);border-radius:0 14px 0 6px}
.pd b{display:block;font-size:20px;font-weight:600;letter-spacing:-.02em;margin-bottom:4px}
.pd span{font-size:15px;color:#3D413A}
.pd-st{display:block;margin-top:8px;font-weight:700;color:var(--lv-ink)!important}
.pd input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
@media (max-width:700px){.ab{padding:16px;border-radius:26px}.ab-in button{padding:0 16px}.pd{grid-template-columns:1fr;text-align:center;justify-items:center;padding:24px 18px}}
/* ---------- Studio: playground ---------- */
.pg{display:flex;flex-direction:column;gap:12px;align-items:center}
.pg-fr{position:relative;width:100%;aspect-ratio:4/5;border-radius:22px;overflow:hidden;background:#F3F3EE;box-shadow:0 30px 60px -34px rgba(11,12,11,.55);transition:aspect-ratio .3s}
.pg[data-size=square] .pg-fr{aspect-ratio:1/1}
.pg[data-size=story] .pg-fr{aspect-ratio:9/16;width:72%}
.pg-fr iframe{position:absolute;inset:0;width:100%;height:100%;border:0;opacity:0;transition:opacity .4s}
.pg.ready .pg-fr iframe{opacity:1}
.pg-fr img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pg.ready .pg-fr img{opacity:0}
.pg-c{width:100%;display:flex;flex-direction:column;gap:8px}
.pg-c input{height:46px;border-radius:14px;border:1px solid rgba(11,12,11,.14);padding:0 14px;font:inherit;font-size:15px;font-weight:600;background:#fff;outline:none;min-width:0}
.pg-c input:focus{border-color:var(--lv);box-shadow:0 0 0 4px var(--lvt)}
.pg-row{display:flex;gap:6px;flex-wrap:wrap}
.pg-row button{height:38px;padding:0 13px;border-radius:999px;border:1px solid rgba(11,12,11,.12);background:#fff;font:inherit;font-size:13.5px;font-weight:600;color:#3D413A;cursor:pointer}
.pg-row button.on{background:var(--lvt);border-color:transparent;color:var(--lv-ink)}
.pg-row [data-move].on{background:var(--lv);color:#fff}
.pg-dl{width:100%;justify-content:center;background:var(--lv)!important;color:#fff!important}

/* ---------- live portal frames ---------- */
.lv-v{position:relative;height:min(760px,calc(100svh - 150px));min-height:520px;background:#0B0C0B}
.lv-portal .lv-v{background:#FAFAF7}
.lv-v iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.lv-start{all:unset;position:absolute;inset:0;cursor:pointer;display:flex;align-items:flex-end;justify-content:center;padding-bottom:28px;background:linear-gradient(180deg,transparent 55%,rgba(11,12,11,.28))}
.lv-start span{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 22px;border-radius:999px;background:var(--lv);color:#fff;font-size:15px;font-weight:700;box-shadow:0 14px 34px -14px rgba(11,12,11,.6)}
.lv-start span::before{content:'';width:9px;height:9px;border-radius:50%;background:#82FF1F;box-shadow:0 0 0 4px rgba(130,255,31,.25)}
.lv-start:focus-visible span{outline:2px solid #fff;outline-offset:2px}
.lv-gate{max-width:880px;margin:20px auto 0;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:14px 14px 14px 24px;border-radius:24px;background:#fff;box-shadow:0 0 0 1px rgba(11,12,11,.07);transition:box-shadow .4s,background .4s}
.lv-gate b{font-size:16.5px;font-weight:700}
.lv-gate .btn{background:var(--lv);color:#fff}
.lv-gate.hot{background:var(--lvt);box-shadow:0 0 0 2px var(--lv)}
.lk-row{max-width:1000px;margin:-4px auto 24px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px}
.lk-g{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.lk-g span{font-size:13.5px;font-weight:700;color:var(--l-t3);margin-right:4px}
.lk-g i{font-style:normal;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 13px;border-radius:999px;font-size:14px;font-weight:600}
.lk-open i{background:var(--lvt);color:var(--lv-ink)}
.lk-shut i{background:#fff;color:#0B0C0B;box-shadow:0 0 0 1px rgba(11,12,11,.09)}
.lk-shut i::before{content:'';width:14px;height:14px;border-radius:50%;background:#0B0C0B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Crect x='5.5' y='8' width='7' height='5.5' rx='1.2' fill='%23fff'/%3E%3Cpath d='M7 8V6.6a2 2 0 0 1 4 0V8' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E") center/14px no-repeat}
@media (max-width:700px){.lv-v{height:auto;aspect-ratio:3/4.4;min-height:0}.lv-gate{padding:16px;text-align:center;justify-content:center}.lv-gate .btn{width:100%;justify-content:center}.lk-row{justify-content:flex-start}}

/* ---------- Library: ask-the-bull hint ---------- */
.lv-hint{max-width:880px;margin:0 auto 18px;display:grid;grid-template-columns:auto 1fr;align-items:center;gap:6px 14px}
.lv-bull{grid-row:span 2;width:52px;height:52px;border-radius:16px;background:#0B0C0B;display:grid;place-items:center}
.lv-bull img{width:34px;height:34px;filter:brightness(0) invert(1)}
.lv-hint p{margin:0;font-size:16px;line-height:1.45;color:var(--l-t2,#3a3d39);text-wrap:pretty}
.lv-hint p b{color:#0B0C0B}
.lv-qs{display:flex;flex-wrap:wrap;gap:8px}
.lv-qs button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 15px;border-radius:999px;background:var(--lvt);color:var(--lv-ink);font-size:14.5px;font-weight:600;transition:background .2s,color .2s}
.lv-qs button::before{content:'?';display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--lv);color:#fff;font-size:11px;font-weight:800}
.lv-qs button:hover,.lv-qs button:focus-visible{background:var(--lv);color:#fff}
.lv-qs button:hover::before,.lv-qs button:focus-visible::before{background:#fff;color:var(--lv)}
@media (max-width:700px){.lv-hint{grid-template-columns:1fr}.lv-bull{grid-row:auto;width:44px;height:44px}.lv-qs button{height:auto;min-height:38px;padding:8px 14px;line-height:1.3}}
/* ---------- Studio: same layout, different words ---------- */
.st2-same{max-width:1000px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.st2-same figure{margin:0}
.st2-same img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:16px;box-shadow:0 0 0 1px rgba(11,12,11,.07),0 22px 44px -26px rgba(11,12,11,.45)}
.st2-same figcaption{margin-top:10px;text-align:center;font-size:14px;font-weight:600;color:var(--l-t3)}
@media (max-width:700px){.st2-same{grid-template-columns:repeat(3,72%);overflow-x:auto;scroll-snap-type:x mandatory;margin:0 -16px;padding:0 16px 6px;gap:12px}.st2-same figure{scroll-snap-align:center}}
