:root{color-scheme:dark;--bg:#0b0d10;--panel:#12151a;--line:#252a32;--muted:#8c95a5;--accent:#bdff63;--text:#eef1f6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}button,input,select,textarea{font:inherit}button,a,select{cursor:pointer}a{color:inherit;text-decoration:none}button,.btn{border:1px solid var(--line);background:#1b2027;color:var(--text);padding:11px 16px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}button:hover,.btn:hover{border-color:#626c7a;transform:translateY(-1px)}.primary{background:var(--accent);color:#18210e;border-color:var(--accent);font-weight:650}.ghost{background:transparent}.small{font-size:12px;padding:8px 11px}aside{position:fixed;width:224px;inset:0 auto 0 0;border-right:1px solid var(--line);padding:30px 20px;background:#101216;display:flex;flex-direction:column;z-index:10}.brand{font-size:27px;font-weight:800;letter-spacing:-1px;display:flex;align-items:center;gap:10px}.logo{background:var(--accent);color:#14200b;border-radius:10px;padding:6px 10px;font-size:22px}.signature{color:var(--muted);font-size:11px;margin:5px 0 38px 48px;letter-spacing:1px}nav a{display:flex;gap:13px;padding:13px 14px;margin:5px 0;border-radius:9px;color:#9da6b5}nav a.active{color:var(--accent);background:#1d2819}nav a:hover{background:#1b2027}nav svg{width:19px;height:19px}.sidefoot{margin-top:auto;border-top:1px solid var(--line);padding-top:20px;font-size:12px;color:var(--muted)}.sidefoot strong{display:block;color:#e3e9f2;margin-bottom:6px}.avatar{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#263023;color:#bdff63;font-size:11px;font-weight:700;flex-shrink:0}.shell{margin-left:224px}.topbar{padding:20px 36px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:12px}.demo{border:1px solid #3d4830;color:#c5d6ab;padding:6px 10px;border-radius:6px;font-size:10px;letter-spacing:1px}.topright{display:flex;align-items:center;gap:18px}main{padding:34px 36px;max-width:1650px;margin:auto}.heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:28px}h1{font-size:30px;letter-spacing:-1px;margin:0 0 9px}h2{font-size:17px;margin:0 0 8px;letter-spacing:-.3px}h3{font-size:15px}p{color:var(--muted);line-height:1.65;margin:0}.eyebrow{color:var(--accent);font-size:11px;font-weight:600;letter-spacing:1.7px;margin-bottom:14px}.filters{display:flex;gap:10px;flex-wrap:wrap}input,select,textarea{background:#101319;color:var(--text);border:1px solid #303640;padding:11px 13px;border-radius:8px;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #bdff6312}textarea{min-height:110px;resize:vertical;width:100%}label{display:block;color:#a8b0bd;font-size:12px;margin-bottom:8px}.grid{display:grid;gap:18px}.kpis{grid-template-columns:repeat(4,1fr);margin-bottom:24px}.card{background:var(--panel);border:1px solid var(--line);border-radius:13px;padding:23px;animation:enter .35s ease both}.kpi{position:relative}.kpi .label{color:#9ba4b2;font-size:12px;margin-bottom:16px}.kpi .value{font-size:29px;font-weight:650;letter-spacing:-1px}.kpi .note{color:var(--muted);font-size:11px;margin-top:12px}.kpi .mark{position:absolute;right:20px;top:20px;color:#859170}.green{color:var(--accent)}.chartgrid{grid-template-columns:1.65fr 1fr;margin-bottom:20px}.charthead{display:flex;justify-content:space-between;margin-bottom:24px}.charthead p{font-size:11px}.charthead span{font-size:11px;color:var(--muted)}.linechart{width:100%;height:210px;overflow:visible}.axis{display:flex;justify-content:space-between;color:#737e8d;font-size:10px;padding-top:10px}.bars .barrow{margin:17px 0}.barlabel{display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.track{height:7px;border-radius:6px;background:#252b34;overflow:hidden}.fill{height:100%;border-radius:6px;background:var(--accent)}.twocol{grid-template-columns:1fr 1fr;margin-bottom:20px}.threecol{grid-template-columns:repeat(3,1fr);margin-bottom:20px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th{text-align:left;color:#7d8797;font-size:10px;text-transform:uppercase;letter-spacing:.6px;font-weight:500;padding:15px 13px;border-bottom:1px solid var(--line)}td{padding:15px 13px;border-bottom:1px solid #22262e;color:#b6becc}tr:last-child td{border-bottom:0}tbody tr:hover{background:#191e25;cursor:pointer}.person{display:flex;align-items:center;gap:11px;color:#e9edf5;font-weight:550}.badge{display:inline-block;padding:5px 8px;border-radius:5px;font-size:10px;background:#263420;color:#bdff63}.badge.medium{background:#352e1c;color:#e7c47a}.badge.low{background:#262c36;color:#a9b3c4}.score{color:#e9eef6;font-weight:650}.sectionhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.funnelicon{width:42px;height:42px;border:1px solid #3a4532;background:#232e1d;border-radius:11px;display:grid;place-items:center;color:var(--accent);font-size:19px;margin-bottom:20px}.funnelcard p{min-height:45px;font-size:12px}.funnelstats{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:24px 0}.funnelstats b{font-size:20px;display:block;margin-bottom:5px}.funnelstats span{font-size:10px;color:var(--muted)}.actions{display:flex;gap:8px;flex-wrap:wrap}.detailhead{display:flex;align-items:center;gap:20px;margin-bottom:28px}.detailhead .avatar{width:65px;height:65px;font-size:21px}.info{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.info span{display:block;font-size:11px;color:var(--muted);margin-bottom:7px}.info b{font-size:13px;font-weight:500}.response{padding:18px 0;border-bottom:1px solid var(--line)}.response small{color:var(--muted);display:block;margin-bottom:9px}.response:last-child{border:0}.empty{padding:45px;text-align:center;color:var(--muted)}.tabs{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}.settingsfield{margin:22px 0}.settingsfield input{width:100%}.public{min-height:100vh;background:radial-gradient(ellipse at 15% 0,#23301966,transparent 55%),var(--bg)}.publicheader{display:flex;align-items:center;justify-content:space-between;padding:26px 6%;border-bottom:1px solid #ffffff0b}.publicheader .signature{margin:4px 0 0}.publiccontent{max-width:850px;padding:65px 24px;margin:auto}.publiccontent h1{font-size:46px;line-height:1.12;margin:20px 0}.publiccontent .intro{font-size:16px;max-width:560px;margin:0 0 30px}.publiccontent .card{padding:35px}.stepbar{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);margin-bottom:14px}.progress{height:4px;background:#262d22;border-radius:3px;margin-bottom:40px}.progress div{height:100%;background:var(--accent);transition:width .3s}.question{font-size:27px;line-height:1.35;margin-bottom:12px;letter-spacing:-.7px}.hint{font-size:12px;margin-bottom:27px}.answerfield{width:100%;padding:17px;font-size:17px}.choices{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:25px 0}.choice{justify-content:flex-start;text-align:left;padding:20px;background:#171c22;border-color:#313741}.choice.selected{border-color:var(--accent);background:#25321c;color:var(--accent)}.choices.scale{grid-template-columns:repeat(5,1fr)}.footerform{display:flex;justify-content:space-between;margin-top:32px}.error{color:#ff9595;font-size:12px;margin-top:12px}.center{text-align:center}.resultcircle{margin:20px auto;width:110px;height:110px;border-radius:50%;border:5px solid var(--accent);display:grid;place-items:center;font-size:35px;font-weight:700}.video{aspect-ratio:16/9;background:linear-gradient(135deg,#1a2316,#171b22);border:1px solid #33412b;border-radius:16px;display:grid;place-items:center;margin:32px 0}.play{border-radius:50%;width:65px;height:65px;font-size:22px;background:var(--accent);color:#16200d}.public.low-ticket .publiccontent{max-width:1000px}.onboardgrid{display:grid;grid-template-columns:280px 1fr;gap:35px}.stepslist{padding:10px 0}.stepslist div{color:var(--muted);font-size:13px;padding:17px 0}.stepslist div.current{color:var(--accent)}.public.isca .publiccontent{max-width:720px}.public.vsl .card{border-top:3px solid var(--accent)}.quiz-number{font-size:80px;color:#bdff6318;font-weight:800;float:right;line-height:1}.quiz .question{max-width:580px}.successicon{font-size:40px;color:var(--accent);margin-bottom:20px}.muted{color:var(--muted)}#toast{position:fixed;bottom:25px;right:25px;padding:15px 20px;background:#29391c;border:1px solid #58743c;border-radius:9px;display:none;z-index:100}.mobilemenu{display:none}.reportintro{background:#182016;border-color:#334329;margin-bottom:22px}.donutrow{display:flex;align-items:center;gap:30px}.donut{width:145px;height:145px;border-radius:50%;position:relative;flex-shrink:0}.donut:after{content:'';position:absolute;inset:24px;border-radius:50%;background:var(--panel)}.legend{flex:1}.legend div{display:flex;align-items:center;gap:7px;font-size:11px;padding:7px 0}.dot{width:7px;height:7px;border-radius:50%;display:inline-block}.legend b{margin-left:auto}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(min-width:1400px){main{padding:40px 45px}.kpis{gap:20px}}@media(max-width:1100px){.kpis{grid-template-columns:repeat(2,1fr)}.threecol{grid-template-columns:1fr 1fr}.chartgrid{grid-template-columns:1fr}.heading{align-items:flex-start;flex-direction:column}.donutrow{justify-content:center}}@media(max-width:750px){aside{transform:translateX(-100%);transition:.2s}aside.open{transform:none;box-shadow:0 0 0 100vw #0009}.shell{margin:0}.topbar{padding:16px 20px}.mobilemenu{display:inline-flex;padding:7px}.topright{gap:10px}.topbar .breadcrumb{display:none}main{padding:25px 18px}.kpis{gap:10px}.card{padding:18px}.kpi .value{font-size:23px}.kpi .label{font-size:11px}.twocol,.threecol{grid-template-columns:1fr}h1{font-size:27px}.filters{width:100%}.filters>*{flex:1;min-width:120px}.publiccontent{padding:35px 18px}.publiccontent h1{font-size:34px}.publiccontent .card{padding:23px}.publicheader{padding:20px}.publicheader .brand{font-size:23px}.publicheader .btn{font-size:11px;padding:8px}.question{font-size:23px}.choices{grid-template-columns:1fr}.choices.scale{grid-template-columns:repeat(5,1fr);gap:7px}.scale .choice{padding:13px;justify-content:center}.onboardgrid{grid-template-columns:1fr}.stepslist{display:none}.info{grid-template-columns:1fr}.quiz-number{font-size:60px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* Public qualification experience — scoped to the four new-lead funnels. */
.public-focus{--accent:#60a5fa;--bg:#080d18;--panel:#111827;--line:#263244;--muted:#94a3b8;--text:#f8fafc;background:#080d18;color:var(--text);min-height:100svh;display:flex;flex-direction:column}.public-focus .publicheader{padding:24px 36px;flex-shrink:0;border:0}.public-focus .brand{font-size:23px;gap:9px}.public-focus .logo{background:#60a5fa;color:#080d18;font-size:19px;padding:5px 9px}.public-focus .signature{font-size:9px;letter-spacing:1px;margin:3px 0 0 42px}.public-focus .publicheader .btn{border:0;color:#94a3b8;font-size:11px;padding:9px 0}.public-focus .publiccontent,.public-focus.low-ticket .publiccontent,.public-focus.isca .publiccontent{width:100%;max-width:776px;margin:auto;padding:38px 28px 70px;flex:0 0 auto}.public-focus .publiccontent h1{font-size:clamp(30px,3.2vw,42px);font-weight:650;line-height:1.23;letter-spacing:-1.1px;margin:0 0 24px}.public-focus .publiccontent .question{font-size:clamp(28px,3vw,38px);margin:0 0 16px;max-width:none;float:none}.public-focus .question-screen{animation:focus-question .24s ease both}.public-focus .hint{font-size:13px;line-height:1.6;color:#94a3b8;margin:0 0 24px}.public-focus .choices{display:grid;grid-template-columns:1fr;gap:9px;margin:25px 0 0}.public-focus .choice{width:100%;padding:14px 17px;min-height:50px;border:1px solid #263244;border-radius:9px;background:#111827;color:#dce5f0;gap:12px;line-height:1.45;text-align:left;transform:none;transition:background .18s,border-color .18s,color .18s}.public-focus .choice:hover{background:#152035;border-color:#486488;transform:none}.public-focus .choice.selected{background:#60a5fa16;border-color:#60a5fa;color:#bae6fd}.public-focus .choice-check{border:1px solid #42516b;border-radius:4px;min-width:19px;height:19px;font-size:12px;display:grid;place-items:center;color:#080d18}.public-focus .choice.selected .choice-check{background:#60a5fa;border-color:#60a5fa}.public-focus .choices.scale{grid-template-columns:repeat(10,minmax(0,1fr));gap:9px}.public-focus .scale .choice{padding:12px 3px;justify-content:center;min-height:54px;text-align:center;font-size:17px}.public-focus .answerfield{margin-top:10px;background:#111827;border:1px solid #263244;border-radius:9px;padding:18px;color:#f8fafc;min-height:58px;font-size:18px;box-shadow:none}.public-focus .answerfield::placeholder{color:#73839b}.public-focus .answerfield:focus{border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa12}.public-focus .conditional{margin-top:22px;animation:focus-question .2s ease}.public-focus .conditional label{color:#94a3b8;margin:0}.public-focus .footerform{align-items:flex-start;gap:16px;margin-top:30px}.public-focus .back-button{padding:12px 0;border:0;background:none;color:#94a3b8;font-size:12px;transform:none}.public-focus .back-button:hover{color:#bae6fd}.public-focus .primary{background:#60a5fa;border-color:#60a5fa;color:#080d18;border-radius:8px;padding:13px 22px;min-height:46px;font-weight:650}.public-focus .primary:hover{background:#7ab6ff;border-color:#7ab6ff;transform:none}.public-focus .continue-group{display:flex;align-items:center;gap:14px}.public-focus .enter-hint{font-size:10px;color:#72819a}.public-focus .error{margin-top:14px;min-height:0;font-size:12px}.public-focus .error:empty{margin:0}.public-focus .opening-note{margin:25px 0;padding:22px;background:#111827;border:1px solid #263244;box-shadow:none}.public-focus .opening-note h2{font-size:15px}.public-focus .opening-note p{font-size:13px}.public-focus .intro{font-size:15px;line-height:1.7;margin-bottom:26px}.public-focus .intro-meta{font-size:11px;margin-top:17px}.public-focus .eyebrow{color:#60a5fa;letter-spacing:1.4px;font-size:10px}.public-focus .video{background:#111827;border:1px solid #263244;max-height:350px}.public-focus .play{background:#60a5fa;color:#080d18}.public-focus .card{border-color:#263244;background:#111827}.public-focus.vsl .card{border-top:1px solid #263244}.public-focus .resultcircle{border-color:#60a5fa;color:#bae6fd}.public-focus .successicon{color:#60a5fa}.public-focus .publiccontent>.card.center{padding:32px}.public-focus button:focus-visible,.public-focus a:focus-visible{outline:2px solid #38bdf8;outline-offset:4px}@keyframes focus-question{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@media(max-width:750px){.public-focus .publicheader{padding:18px 20px}.public-focus .publiccontent,.public-focus.low-ticket .publiccontent,.public-focus.isca .publiccontent{padding:28px 20px 40px}.public-focus .publiccontent .question{font-size:27px;line-height:1.3;letter-spacing:-.6px}.public-focus .choices.scale{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.public-focus .choice{padding:13px 14px;min-height:48px;font-size:13px}.public-focus .scale .choice{font-size:16px}.public-focus .answerfield{font-size:16px;padding:16px}.public-focus .enter-hint{display:none}.public-focus .footerform{margin-top:25px}.public-focus .publiccontent>.card.center{padding:23px}.public-focus .brand{font-size:21px}}@media(max-height:700px){.public-focus .publiccontent{padding-top:22px;padding-bottom:28px}.public-focus .publicheader{padding-top:16px;padding-bottom:16px}}@media(prefers-reduced-motion:reduce){.public-focus *{animation:none!important;transition:none!important}}
/* Jotta Labs public finish: asymmetric light, fine grain, restrained surfaces. */
.public-focus{
 background:radial-gradient(ellipse 110% 90% at -18% 9%,rgba(37,99,235,.17),transparent 66%),radial-gradient(ellipse 78% 110% at 112% 82%,rgba(56,189,248,.075),transparent 72%),linear-gradient(150deg,#050a16 4%,#0b1530 51%,#070e1e 100%);
 position:relative;isolation:isolate;overflow-x:clip;color:#e8f0fb;
}
.public-focus::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 74% 82% at 50% 49%,transparent 27%,rgba(2,6,16,.32) 100%),linear-gradient(90deg,rgba(2,7,18,.22),transparent 26%,transparent 77%,rgba(2,7,18,.25))}
.public-focus::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.028;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' d='M0 0h160v160H0z'/%3E%3C/svg%3E");background-repeat:repeat}
.public-focus .publiccontent,.public-focus.low-ticket .publiccontent,.public-focus.isca .publiccontent{max-width:764px;padding-left:28px;padding-right:28px;position:relative;min-width:0}
.public-focus .question-screen{position:relative;isolation:isolate;animation:jotta-enter .26s cubic-bezier(.2,.75,.3,1) both}
.public-focus .question-screen::before{content:'';position:absolute;inset:-100px -85px -80px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 85% 68% at 41% 27%,rgba(116,169,255,.066),transparent 76%),radial-gradient(ellipse 90% 65% at 57% 69%,rgba(37,99,235,.05),transparent 79%)}
.public-focus .publiccontent .question{max-width:670px;margin:0 auto 18px;text-align:center;font-size:clamp(28px,2.8vw,37px);font-weight:600;line-height:1.34;letter-spacing:-.85px;color:#e8eff9;text-wrap:balance;text-shadow:0 2px 24px rgba(117,168,255,.035)}
.public-focus .question-screen>.hint{text-align:center;max-width:570px;margin:0 auto 28px;font-size:13px;line-height:1.7;color:#98aac4;font-weight:400}
.public-focus .choices{gap:10px;margin-top:29px;position:relative}
.public-focus .choice{position:relative;overflow:hidden;min-height:53px;padding:16px 19px;gap:13px;border-radius:15px;background:linear-gradient(118deg,rgba(36,52,80,.43),rgba(18,30,52,.57) 65%,rgba(14,25,44,.63));border-color:rgba(143,171,215,.18);border-top-color:rgba(182,204,237,.27);box-shadow:0 7px 23px rgba(1,6,20,.14),inset 0 1px 0 rgba(221,234,255,.032);color:#d8e3f2;font-size:14px;font-weight:400;line-height:1.5;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);transition:transform .21s ease,border-color .21s ease,box-shadow .21s ease,background-color .21s ease,color .21s ease}
.public-focus .choice::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(120deg,rgba(135,182,249,.075),transparent 64%);opacity:0;transition:opacity .21s ease}
.public-focus .choice::after{content:'';position:absolute;top:0;left:12%;right:12%;height:1px;pointer-events:none;background:linear-gradient(90deg,transparent,rgba(210,232,255,.13),transparent)}
.public-focus .choice:hover{background:linear-gradient(118deg,rgba(46,67,103,.48),rgba(22,38,65,.6));border-color:rgba(127,175,238,.37);box-shadow:0 11px 29px rgba(1,6,20,.2),inset 0 1px 0 rgba(205,227,255,.06);transform:translateY(-1px)}
.public-focus .choice:hover::before{opacity:1}
.public-focus .choice.selected{background:linear-gradient(120deg,rgba(42,103,225,.26),rgba(51,140,209,.13));border-color:rgba(117,179,255,.75);color:#e7f4ff;box-shadow:0 0 22px rgba(52,119,240,.085),0 7px 20px rgba(1,6,20,.15),inset 0 1px 0 rgba(190,225,255,.1)}
.public-focus .choice.selected::before{opacity:1}
.public-focus .choice-check{min-width:19px;height:19px;border-radius:6px;border-color:rgba(167,193,229,.34);background:rgba(5,11,24,.24);box-shadow:inset 0 1px 3px rgba(0,0,0,.1);transition:background .2s ease,border-color .2s ease}
.public-focus .choice.selected .choice-check{background:linear-gradient(140deg,#bae6fd,#74b2ff);border-color:#96c6ff;color:#0a203f;box-shadow:0 0 9px rgba(96,165,250,.1)}
.public-focus .scale .choice{padding:13px 3px;min-height:57px;font-size:17px;border-radius:14px}
.public-focus .primary{position:relative;overflow:hidden;min-height:49px;padding:14px 23px;border-radius:14px;background:linear-gradient(132deg,#82b9ff 0%,#60a5fa 38%,#3b82f6 100%);color:#071a34;border:1px solid rgba(171,211,255,.38);box-shadow:0 6px 21px rgba(37,99,235,.18),inset 0 1px 0 rgba(230,246,255,.38);font-weight:650;text-shadow:0 1px 0 rgba(227,242,255,.15);transition:filter .2s ease,box-shadow .2s ease,transform .18s ease}
.public-focus .primary::before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(235,248,255,.15),transparent 45%);opacity:.5;transition:opacity .2s ease}
.public-focus .primary:hover{background:linear-gradient(132deg,#8dc0ff,#6aafff 38%,#458afa);border-color:rgba(200,227,255,.58);box-shadow:0 8px 27px rgba(37,99,235,.23),inset 0 1px 0 rgba(230,246,255,.42);transform:translateY(-1px)}
.public-focus .primary:hover::before{opacity:.8}
.public-focus .primary:active{filter:brightness(.96);transform:translateY(0);box-shadow:0 3px 13px rgba(37,99,235,.16),inset 0 1px 2px rgba(8,28,66,.12)}
.public-focus .answerfield{min-height:60px;padding:18px 20px;border-radius:15px;background:linear-gradient(120deg,rgba(33,49,76,.42),rgba(13,24,44,.62));border-color:rgba(143,171,215,.23);border-top-color:rgba(182,204,237,.28);box-shadow:0 8px 25px rgba(1,6,20,.12),inset 0 1px 0 rgba(221,234,255,.03);color:#e8eff9;font-size:17px;font-weight:400;line-height:1.45;max-width:100%;transition:border-color .21s ease,box-shadow .21s ease;background-clip:padding-box}
.public-focus .answerfield:focus{border-color:rgba(119,182,255,.75);box-shadow:0 0 0 3px rgba(96,165,250,.065),0 8px 29px rgba(37,99,235,.07),inset 0 1px 0 rgba(221,234,255,.06)}
.public-focus .answerfield::placeholder{color:#8b9cb5;font-weight:400}
.public-focus .conditional{animation:jotta-enter .22s ease both}
.public-focus .footerform{margin-top:30px;align-items:center}
.public-focus .back-button{font-size:12px;transition:color .2s ease}
.public-focus .publicheader .brand{font-weight:750;letter-spacing:-.75px}
.public-focus .signature{color:#869bb8;letter-spacing:1.15px}
.public-focus .logo{background:linear-gradient(145deg,#a7d6ff,#6babff 58%,#4386ed);box-shadow:0 4px 17px rgba(37,99,235,.12),inset 0 1px 0 rgba(235,247,255,.3);border-radius:11px}
.public-focus button:focus-visible{outline-color:#b5dbff;box-shadow:0 0 0 5px rgba(96,165,250,.065)}
@keyframes jotta-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:750px){
 .public-focus{background:radial-gradient(ellipse 145% 90% at -30% 2%,rgba(37,99,235,.115),transparent 70%),linear-gradient(150deg,#050b18,#0a142b 52%,#070e1e)}
 .public-focus::before{background:linear-gradient(180deg,transparent 65%,rgba(2,6,16,.14))}.public-focus::after{opacity:.017}
 .public-focus .publiccontent,.public-focus.low-ticket .publiccontent,.public-focus.isca .publiccontent{padding:26px 20px 38px}
 .public-focus .question-screen::before{inset:-35px -15px;background:radial-gradient(ellipse at 43% 40%,rgba(120,174,255,.035),transparent 76%)}
 .public-focus .publiccontent .question{font-size:27px;line-height:1.35;letter-spacing:-.5px;margin-bottom:16px}
 .public-focus .question-screen>.hint{font-size:12px;margin-bottom:24px}.public-focus .choices{margin-top:25px;gap:9px}
 .public-focus .choice{padding:14px 15px;min-height:51px;gap:11px;font-size:13px;backdrop-filter:none;-webkit-backdrop-filter:none;background:linear-gradient(118deg,rgba(35,52,80,.6),rgba(14,25,44,.72));box-shadow:0 4px 15px rgba(1,6,20,.12)}
 .public-focus .choice.selected{background:linear-gradient(120deg,rgba(42,103,225,.28),rgba(51,140,209,.15));box-shadow:0 0 13px rgba(52,119,240,.07)}
 .public-focus .scale .choice{min-height:52px;padding:12px 3px;font-size:16px}.public-focus .answerfield{font-size:16px;min-height:57px;padding:16px 17px}
 .public-focus .primary{min-height:48px;padding:13px 21px;box-shadow:0 5px 16px rgba(37,99,235,.15)}.public-focus .footerform{margin-top:26px}
}
@media(hover:none){.public-focus .choice:hover{transform:none;background:linear-gradient(118deg,rgba(35,52,80,.6),rgba(14,25,44,.72));border-color:rgba(143,171,215,.18);box-shadow:0 4px 15px rgba(1,6,20,.12)}.public-focus .choice.selected:hover{background:linear-gradient(120deg,rgba(42,103,225,.28),rgba(51,140,209,.15));border-color:rgba(117,179,255,.75);box-shadow:0 0 13px rgba(52,119,240,.07)}.public-focus .primary:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.public-focus .question-screen,.public-focus .conditional{animation:none}.public-focus *,.public-focus *::before,.public-focus *::after{transition:none!important}.public-focus .choice:hover,.public-focus .primary:hover,.public-focus .primary:active{transform:none}}
/* Workspace navigation and reading hierarchy. Public questionnaire styles stay intact. */
aside,.shell{transition:width .22s ease,margin-left .22s ease}aside{padding-top:45px;--accent:#60a5fa}.shell{--accent:#60a5fa}.sidebar-toggle{position:absolute;top:11px;right:14px;width:27px;height:27px;padding:0;background:#1a202a;border-color:#2d3747;border-radius:7px;color:#9eacc3;font-size:22px;line-height:1}.sidebar-toggle:hover{transform:none;color:#b8dcff}aside.collapsed{width:76px;padding:45px 12px 20px}aside.collapsed .brand{justify-content:center}aside.collapsed .brand-name,aside.collapsed .signature,aside.collapsed>.eyebrow,aside.collapsed .nav-label,aside.collapsed .sidefoot{display:none}aside.collapsed nav{margin-top:35px}aside.collapsed nav a{justify-content:center;padding:14px 8px;position:relative}aside nav a svg{flex-shrink:0}aside nav a{gap:12px}aside.collapsed .sidebar-toggle{right:24px}.shell.sidebar-collapsed{margin-left:76px}.unseen-counter{margin-left:auto;background:#60a5fa20;border:1px solid #60a5fa30;color:#9bcaff;border-radius:6px;padding:2px 5px;min-width:22px;text-align:center;font-size:10px}aside.collapsed .unseen-counter{position:absolute;right:1px;top:3px;font-size:8px;padding:0 3px;min-width:16px}.unseen-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#60a5fa;box-shadow:0 0 0 3px #60a5fa0c;margin-left:3px;flex-shrink:0}.unseen-lead{background:#60a5fa05}.shell .avatar{background:#1d2b40;color:#9bcaff}.shell .badge{background:#1b3042;color:#9dd5ff}.shell .badge.medium{background:#352e1c;color:#e7c47a}.shell .badge.low{background:#262c36;color:#a9b3c4}aside nav a.active{background:#60a5fa12;color:#9bcaff}.workspace-tabs{display:flex;gap:4px;border-bottom:1px solid #29303a;margin-bottom:22px;overflow:auto}.workspace-tabs button{border:0;border-radius:0;background:none;color:#8996a9;padding:13px 17px;white-space:nowrap;border-bottom:2px solid transparent;font-size:12px}.workspace-tabs button:hover{transform:none;color:#bfdcff}.workspace-tabs button.active{border-bottom-color:#60a5fa;color:#9bcaff;background:#60a5fa05}.report-context{display:flex;gap:13px;align-items:center;margin:0 0 24px}.report-context p{font-size:12px;line-height:1.6}.report-context .demo{white-space:nowrap;border-color:#60a5fa30;color:#9bcaff}.report-question-list{display:grid;gap:12px}.question-report{padding:0;overflow:hidden}.question-report summary{display:flex;align-items:center;gap:16px;padding:21px 23px;list-style:none;cursor:pointer;font-size:13px;line-height:1.5}.question-report summary::-webkit-details-marker{display:none}.question-report summary:hover{background:#60a5fa04}.question-index{color:#8fbfff;font-size:11px;letter-spacing:.5px}.expand-symbol{margin-left:auto;font-size:19px}.question-report[open] summary{border-bottom:1px solid #29303a}.question-report[open] .expand-symbol{transform:rotate(45deg)}.question-report-body{padding:20px}.question-report-body>.grid{margin:0;grid-template-columns:1fr}.question-report-body .card{background:#10141a;border:0;padding:12px}.question-report-body .charthead{margin-bottom:18px}.question-report-body h2{font-size:14px}.question-report summary:focus-visible{outline:2px solid #60a5fa;outline-offset:-3px}@media(max-width:750px){aside.collapsed{width:224px;padding:45px 20px 20px}aside.collapsed .brand{justify-content:flex-start}aside.collapsed .brand-name,aside.collapsed .signature,aside.collapsed>.eyebrow,aside.collapsed .nav-label,aside.collapsed .sidefoot{display:revert}aside.collapsed nav{margin-top:0}aside.collapsed nav a{justify-content:flex-start;padding:13px 14px}aside.collapsed .unseen-counter{position:static;margin-left:auto;font-size:10px;padding:2px 5px}aside .sidebar-toggle{display:none}.shell.sidebar-collapsed{margin-left:0}.report-context{align-items:flex-start;flex-direction:column;gap:9px}.workspace-tabs button{padding:12px 11px;font-size:11px}.question-report summary{padding:17px 16px;gap:11px}.question-report-body{padding:12px}}@media(prefers-reduced-motion:reduce){aside,.shell{transition:none}}
/* Isolated authentication screen; existing workspace and forms retain their design. */
.auth-content{width:min(100%,420px);margin:auto;text-align:center}.auth-content h1{font-size:clamp(28px,5vw,38px);line-height:1.2}.auth-content>p{margin:16px 0 30px}.auth-form{display:flex;flex-direction:column;gap:12px;text-align:left}.auth-form label{font-size:13px;color:#c6d6e9}.auth-form input{width:100%;min-height:52px;border-radius:15px;background:rgba(12,27,49,.75);border:1px solid rgba(148,180,219,.22);color:#edf4ff;padding:14px 16px;font:inherit;transition:border-color .2s,box-shadow .2s}.auth-form input:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px rgba(96,165,250,.12)}.auth-form small{color:#a2b5cd;line-height:1.5}.auth-form .primary{margin-top:12px;min-height:52px}.auth-error{color:#fda4af!important;font-size:14px!important}.auth-form button:disabled{opacity:.65;cursor:wait}

/* Confirmation for destructive lead actions; visual scope stays local to the dialog. */
.delete-confirmation{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(4,8,15,.76);backdrop-filter:blur(8px)}.delete-dialog{width:min(100%,460px);padding:28px;background:var(--panel);border:1px solid var(--line);border-radius:16px;box-shadow:0 24px 80px #0008}.delete-dialog h2{margin:0 0 12px}.delete-dialog p{line-height:1.65}.delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:26px}.danger-button{background:#3b171b;border-color:#73333b;color:#fecdd3}.danger-button:hover{background:#522027;border-color:#e16c78}.danger-button:disabled,.delete-actions button:disabled{opacity:.65;cursor:wait;transform:none}.delete-error:not([hidden]){margin-top:14px;color:#fda4af}.delete-dialog :focus-visible{outline:2px solid #60a5fa;outline-offset:3px}@media(max-width:600px){.delete-confirmation{padding:16px}.delete-dialog{padding:22px}.delete-actions{flex-wrap:wrap}.delete-actions button{min-height:44px}}
/* Lead Scoring: distribuição direta de pontos por questionário */
.score-tabs{display:flex;gap:8px;margin:0 0 18px;border-bottom:1px solid var(--line);overflow-x:auto}.score-tabs button{background:transparent;color:var(--muted);border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 16px;white-space:nowrap}.score-tabs button.active{color:#9bcaff;border-bottom-color:#60a5fa}.score-overview{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;margin-bottom:16px;padding:22px 24px;background:linear-gradient(145deg,#141d2a,#11151c);border-color:#60a5fa24}.score-overview>div:not(.score-progress){display:flex;flex-direction:column;gap:7px}.score-overview strong{font-size:24px;letter-spacing:-.4px}.score-progress{height:8px;grid-column:1/-1;background:#263143;border-radius:99px;overflow:hidden}.score-progress span{display:block;height:100%;background:linear-gradient(90deg,#60a5fa,#38bdf8);border-radius:inherit;transition:width .2s}.score-overview>small{grid-column:1/-1;color:#fda4af;min-height:0}.score-budget-error:empty{display:none}.score-band-settings{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:24px;padding:20px 22px}.score-band-settings>div{margin-right:auto}.score-band-settings h2,.score-config-head h2{margin:0 0 5px}.score-band-settings p,.score-config-head p,.score-history p{font-size:12px;color:var(--muted);margin:0}.score-band-settings label{display:flex;align-items:center;gap:8px;color:#cbd6e5;font-size:12px}.score-band-settings input{width:72px;min-height:39px;background:#0c121b;border:1px solid #303b4b;border-radius:9px;color:#eef4ff;padding:8px 10px}.score-band-settings input:focus,.score-option input:focus{outline:none;border-color:#60a5fa;box-shadow:0 0 0 3px #60a5fa18}.score-band-preview{color:#93c5fd;font-size:12px}.score-config-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:26px 0 15px}.score-question-list{display:grid;gap:12px}.score-question{padding:0;overflow:hidden;background:linear-gradient(145deg,#141a23,#10141a)}.score-question summary{display:flex;align-items:center;gap:13px;padding:18px 20px;list-style:none;cursor:pointer;font-size:13px;line-height:1.5}.score-question summary::-webkit-details-marker{display:none}.score-question summary:hover{background:#60a5fa06}.score-kind{margin-left:auto;color:var(--muted);font-size:11px;white-space:nowrap}.score-question[open] summary{border-bottom:1px solid #29303a}.score-question[open] .expand-symbol{transform:rotate(45deg)}.score-options{padding:5px 20px 13px}.score-option{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:52px;border-bottom:1px solid #252d38;color:#c8d2df;font-size:12px}.score-option:last-child{border-bottom:0}.score-number{display:flex;align-items:center;gap:8px;flex-shrink:0}.score-number input{width:74px;min-height:38px;border:1px solid #303b4b;border-radius:9px;background:#0b111a;color:#edf4ff;text-align:center;padding:6px}.score-number small{font-size:10px;color:var(--muted)}.score-savebar{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin:20px 0}.score-savebar .primary{min-height:46px;min-width:180px;background:linear-gradient(135deg,#60a5fa,#2563eb);color:#fff;border:1px solid #60a5fa50;box-shadow:0 8px 24px #2563eb26}.score-savebar .primary:hover{filter:brightness(1.08)}.score-savebar .primary:disabled{opacity:.65;cursor:wait;transform:none}.score-message{margin:0;color:#93c5fd;font-size:12px}.score-message.error{color:#fda4af}.score-history{margin:18px 0}.score-history-row{display:grid;grid-template-columns:1fr 1.3fr auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #252d38;color:#c8d2df;font-size:11px}.score-history-row:last-child{border-bottom:0}.score-history-row em{margin-left:8px;color:#93c5fd;font-style:normal}.badge.high{background:#10273b;border-color:#1e4c70;color:#9bcaff}.score-question summary:focus-visible,.score-tabs button:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}@media(max-width:750px){.score-overview{padding:18px;gap:10px 16px}.score-overview strong{font-size:21px}.score-band-settings{align-items:flex-start;gap:13px;padding:17px}.score-band-settings>div{width:100%}.score-band-settings label{font-size:11px}.score-config-head{align-items:flex-start;flex-direction:column}.score-question summary{padding:15px 14px;gap:9px}.score-options{padding:4px 14px 10px}.score-option{min-height:55px}.score-number input{width:64px}.score-history-row{grid-template-columns:1fr auto}.score-history-row span:nth-child(2){grid-column:1/-1;grid-row:2;color:var(--muted)}.score-savebar{align-items:stretch;flex-direction:column}.score-savebar .primary{width:100%;min-height:48px}}
@media(prefers-reduced-motion:reduce){.score-progress span{transition:none}}
.pipeline-count{display:inline-flex;align-items:center;justify-content:center;margin-left:5px;min-width:22px;height:20px;padding:0 6px;border-radius:999px;background:#60a5fa12;color:#a9d2ff;font-size:10px}.pipeline-filters{display:flex;align-items:center;gap:12px;margin:0 0 18px}.pipeline-filters input{max-width:360px}.pipeline-filters .muted{margin-left:auto;font-size:12px}.pipeline-board{display:grid;grid-template-columns:repeat(5,minmax(220px,1fr));gap:12px;overflow-x:auto;overscroll-behavior-x:contain;padding:1px 1px 14px}.pipeline-column{min-width:220px;background:#0b1018;border:1px solid #202a37;border-radius:14px;padding:11px;min-height:340px}.pipeline-column>header,.pipeline-archive-group>header{display:flex;align-items:center;justify-content:space-between;padding:3px 2px 12px;border-bottom:1px solid #273140;margin-bottom:10px}.pipeline-column>header h2,.pipeline-archive-group>header h2{font-size:12px;margin:0}.pipeline-column>header span,.pipeline-archive-group>header span{color:#9bcaff;background:#60a5fa12;border-radius:99px;padding:3px 7px;font-size:10px}.pipeline-cards{display:grid;gap:9px}.pipeline-card{padding:12px;background:linear-gradient(145deg,#141d2a,#101720);border:1px solid #293548;border-radius:12px;box-shadow:0 8px 22px #02060d30;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}.pipeline-card[draggable=true]{cursor:grab}.pipeline-card[draggable=true]:active{cursor:grabbing}.pipeline-card:hover{border-color:#4775aa;transform:translateY(-1px);box-shadow:0 10px 24px #02060d50}.pipeline-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.pipeline-card-head a{color:#e2eaf5;text-decoration:none;font-size:13px}.pipeline-card-head .score{white-space:nowrap;font-size:12px}.pipeline-card-head .score small{font-size:10px}.pipeline-meta{font-size:10px;line-height:1.5;color:#8998ac;margin:5px 0 0}.pipeline-card-controls{margin-top:11px}.pipeline-card-controls select{width:100%;min-height:38px;font-size:11px;padding:8px}.pipeline-details{margin-top:10px;border-top:1px solid #29303a;padding-top:8px}.pipeline-details summary{font-size:10px;color:#a9c8e9;cursor:pointer;list-style:none}.pipeline-details summary::-webkit-details-marker{display:none}.pipeline-detail-body{display:grid;gap:8px;padding-top:10px}.pipeline-detail-body label{display:grid;gap:5px;font-size:10px;color:#94a3b8}.pipeline-detail-body input,.pipeline-detail-body textarea{width:100%;min-height:36px;padding:8px;font-size:11px}.pipeline-detail-body textarea{min-height:66px;resize:vertical}.pipeline-detail-body button{justify-self:start;min-height:34px;font-size:10px}.pipeline-note-list{border-top:1px solid #273140;padding-top:8px}.pipeline-note-list h3{font-size:10px;color:#aab8ca;margin:2px 0 7px}.pipeline-note-list p{font-size:10px;line-height:1.5;margin:0;padding:6px 0;border-bottom:1px solid #222c39;overflow-wrap:anywhere}.pipeline-note-list p span{display:block;color:#718198;font-size:9px}.pipeline-empty{color:#728197;text-align:center;font-size:10px;padding:18px 5px}.pipeline-archives{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:14px}.pipeline-archive-group{background:#0b1018;border:1px solid #202a37;border-radius:14px;padding:12px;min-width:0}.pipeline-archive-group>.pipeline-card{margin-top:9px}.pipeline-archive-group .pipeline-card-controls select{min-height:42px}@media(max-width:750px){.pipeline-filters{align-items:stretch;flex-direction:column}.pipeline-filters input{max-width:none}.pipeline-filters .muted{margin:0}.pipeline-board{grid-template-columns:repeat(5,minmax(240px,82vw));margin-right:-15px;padding-right:15px}.pipeline-column{min-height:250px}.pipeline-archives{grid-template-columns:1fr}.pipeline-card{padding:13px}.pipeline-details summary{padding:6px 0}.pipeline-detail-body input{min-height:42px}}
/* Compact, accessible commercial pipeline */
.pipeline-board{grid-template-columns:repeat(5,minmax(205px,1fr));gap:10px;align-items:start;overscroll-behavior-x:contain;scrollbar-width:thin}.pipeline-column{min-height:156px;height:fit-content;align-self:start;padding:9px;border-radius:12px;transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease}.pipeline-column>header{padding:2px 2px 9px;margin-bottom:8px}.pipeline-cards{gap:7px}.pipeline-card{min-height:0;padding:9px 10px;border-radius:10px;user-select:none;-webkit-user-select:none;touch-action:pan-y;cursor:grab;transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease,opacity .2s ease}.pipeline-card:active{cursor:grabbing}.pipeline-card:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}.pipeline-card-head{align-items:center;gap:7px}.pipeline-card-head strong{color:#e6edf7;font-size:12px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.pipeline-card-head .score{flex:none;padding:2px 6px;border:1px solid #7dbbff30;border-radius:999px;background:#60a5fa12;color:#b9ddff;font-size:10px;font-weight:600;line-height:1.4}.pipeline-card-head .score small{color:#8ca9c8;font-size:9px}.pipeline-meta{display:flex;flex-wrap:wrap;gap:3px 10px;margin:4px 0 0;color:#9baabd;font-size:10px;line-height:1.4;overflow-wrap:anywhere}.pipeline-empty{min-height:26px;padding:10px 0;margin:0}.pipeline-column.is-drop-target{border-color:#60a5fa88;background:#111d30;box-shadow:inset 0 0 0 1px #60a5fa16,0 0 18px #2563eb15}.pipeline-card.is-dragging{opacity:.45;border-color:#60a5fa;box-shadow:0 12px 28px #02060d80;transform:rotate(-1deg) scale(1.015);cursor:grabbing}.pipeline-card.is-saving{opacity:.74;cursor:progress}.pipeline-archive-group>.pipeline-card{margin-top:7px}@media(max-width:750px){.pipeline-board{grid-template-columns:repeat(5,minmax(205px,82vw));gap:9px;margin-right:-15px;padding:1px 15px 12px 1px;scroll-snap-type:x proximity}.pipeline-column{min-height:130px;scroll-snap-align:start}.pipeline-card{padding:9px 10px;touch-action:pan-y}.pipeline-card:active{transform:none}.pipeline-empty{min-height:20px}}@media(prefers-reduced-motion:reduce){.pipeline-column,.pipeline-card{transition:none}}
.pipeline-card.is-archived{cursor:pointer;touch-action:auto}.pipeline-card.is-archived:active{cursor:pointer}
.pipeline-decisions{display:flex;justify-content:flex-end;gap:6px;margin-top:7px;padding-top:7px;border-top:1px solid #283240}.pipeline-decision,.pipeline-restore{display:grid;place-items:center;width:28px;height:27px;min-height:27px;padding:0;border-radius:8px;background:#121b28;border-color:#ffffff14;transition:background-color .16s ease,border-color .16s ease,filter .16s ease}.pipeline-decision svg,.pipeline-restore svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.pipeline-decision:hover,.pipeline-restore:hover{transform:none;filter:brightness(1.14)}.pipeline-decision.approve{color:#7de3a0}.pipeline-decision.approve:hover{background:#163524;border-color:#58c77c66}.pipeline-decision.reject{color:#ff8b91}.pipeline-decision.reject:hover{background:#3a1d25;border-color:#ef667066}.pipeline-decision.defer{color:#f0c968}.pipeline-decision.defer:hover{background:#362d18;border-color:#d8b45166}.pipeline-card.is-evaluation{border-color:#344258}.pipeline-restore{width:26px;height:24px;margin:5px 0 0 auto;color:#a9d2ff;background:#142236}.pipeline-drag-preview{position:fixed!important;z-index:10000!important;margin:0!important;pointer-events:none!important;opacity:.98!important;border-color:#81bfff!important;box-shadow:0 18px 44px #02060dc9,0 0 20px #2563eb35!important;transform:translate(-50%,-50%) scale(1.025)!important;will-change:left,top}.pipeline-card.is-dragging:not(.pipeline-drag-preview){opacity:.2;transform:none;box-shadow:none}.pipeline-column.is-drop-target .pipeline-cards{min-height:32px}@media(prefers-reduced-motion:reduce){.pipeline-decision,.pipeline-restore{transition:none}}

.pipeline-card.is-static{cursor:pointer}.pipeline-card.is-static:active{cursor:pointer}.pipeline-decision.client{color:#7de3a0;font-size:17px;font-weight:700;line-height:1}.pipeline-decision.client:hover{background:#163524;border-color:#58c77c66}

/* Admin workspace 2.0: theme and glass surfaces are deliberately scoped away from public forms. */
body:has(.shell){--admin-bg:#080c13;--admin-surface:rgba(18,25,36,.72);--admin-surface-strong:rgba(18,25,36,.92);--admin-line:rgba(174,198,228,.13);--admin-text:#e8edf5;--admin-muted:#94a1b5;--admin-blue:#79baff;--admin-blue-soft:rgba(74,150,245,.13);--admin-shadow:0 18px 45px rgba(0,0,0,.24);background:radial-gradient(ellipse 60% 40% at 72% 0%,rgba(37,99,235,.12),transparent 75%),radial-gradient(ellipse 45% 55% at 0% 70%,rgba(56,189,248,.055),transparent 75%),#080c13;color:var(--admin-text);min-height:100vh}
html[data-admin-theme="light"] body:has(.shell){--admin-bg:#f7fbff;--admin-surface:rgba(255,255,255,.78);--admin-surface-strong:rgba(255,255,255,.94);--admin-line:rgba(33,75,125,.12);--admin-text:#142338;--admin-muted:#68798e;--admin-blue:#2563eb;--admin-blue-soft:rgba(37,99,235,.09);--admin-shadow:0 14px 38px rgba(40,76,118,.08);background:radial-gradient(ellipse 58% 36% at 77% 0%,rgba(96,165,250,.13),transparent 76%),radial-gradient(ellipse 40% 48% at 0% 70%,rgba(56,189,248,.07),transparent 78%),#f7fbff;color:var(--admin-text)}
body:has(.shell) aside{background:var(--admin-surface-strong);border-color:var(--admin-line);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:8px 0 36px rgba(4,18,38,.06)}
body:has(.shell) .shell{--accent:var(--admin-blue);color:var(--admin-text)}
body:has(.shell) .topbar{border-color:var(--admin-line);color:var(--admin-muted);background:transparent;padding-top:15px;padding-bottom:15px}
body:has(.shell) .breadcrumb,body:has(.shell) .sidefoot,body:has(.shell) aside>.signature,body:has(.shell) aside>.eyebrow{display:none}
body:has(.shell) .brand{font-size:22px;letter-spacing:-.7px}body:has(.shell) .logo{background:linear-gradient(135deg,#93c5fd,#3b82f6);color:#061426;border-radius:10px;font-size:18px;padding:5px 9px}
body:has(.shell) main{padding-top:27px}body:has(.shell) .heading{margin-bottom:20px}body:has(.shell) h1{font-size:25px;letter-spacing:-.65px;color:var(--admin-text);margin:0}
body:has(.shell) .card{background:linear-gradient(145deg,rgba(255,255,255,.035),transparent 55%),var(--admin-surface);border-color:var(--admin-line);box-shadow:var(--admin-shadow);backdrop-filter:blur(13px);-webkit-backdrop-filter:blur(13px)}
html[data-admin-theme="light"] body:has(.shell) .card{background:linear-gradient(145deg,rgba(255,255,255,.92),rgba(243,248,255,.78));}
body:has(.shell) nav a{color:var(--admin-muted);border:1px solid transparent}body:has(.shell) nav a:hover{background:var(--admin-blue-soft);color:var(--admin-text)}body:has(.shell) nav a.active{background:var(--admin-blue-soft);color:var(--admin-blue);border-color:rgba(96,165,250,.13)}
body:has(.shell) .muted,body:has(.shell) p,body:has(.shell) label{color:var(--admin-muted)}body:has(.shell) .kpi .label,body:has(.shell) .kpi .note{color:var(--admin-muted)}body:has(.shell) .kpi .value{color:var(--admin-text)}
body:has(.shell) button,body:has(.shell) .btn{background:rgba(255,255,255,.035);color:var(--admin-text);border-color:var(--admin-line);transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
body:has(.shell) button:hover,body:has(.shell) .btn:hover{background:var(--admin-blue-soft);border-color:rgba(96,165,250,.28);box-shadow:0 7px 20px rgba(37,99,235,.09);transform:translateY(-1px)}
body:has(.shell) button.primary,body:has(.shell) .btn.primary{background:linear-gradient(135deg,#93c5fd,#3b82f6);color:#071629;border-color:transparent;font-weight:650}
body:has(.shell) input,body:has(.shell) select,body:has(.shell) textarea{background:var(--admin-surface-strong);color:var(--admin-text);border-color:var(--admin-line)}body:has(.shell) input::placeholder,body:has(.shell) textarea::placeholder{color:var(--admin-muted);opacity:.75}body:has(.shell) input:focus,body:has(.shell) select:focus,body:has(.shell) textarea:focus{border-color:rgba(96,165,250,.65);box-shadow:0 0 0 3px rgba(96,165,250,.12)}
body:has(.shell) th{color:var(--admin-muted);border-color:var(--admin-line)}body:has(.shell) td{color:var(--admin-text);border-color:var(--admin-line)}body:has(.shell) tbody tr:hover{background:var(--admin-blue-soft)}body:has(.shell) .track{background:rgba(127,147,172,.16)}body:has(.shell) .workspace-tabs{border-color:var(--admin-line)}body:has(.shell) .workspace-tabs button.active{color:var(--admin-blue);border-color:var(--admin-blue)}
body:has(.shell) .theme-toggle{width:35px;height:35px;padding:0;font-size:17px;border-radius:10px}body:has(.shell) .topright{gap:9px}
.ads-dashboard-card{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 21px;margin:0 0 22px}.ads-dashboard-card h2{margin:2px 0 4px;font-size:15px}.ads-dashboard-card p{font-size:11px}.ads-eyebrow{font-size:9px;letter-spacing:1px;color:var(--admin-blue);font-weight:700}.ads-dashboard-values{display:flex;gap:30px;margin-left:auto}.ads-dashboard-values div{display:grid;gap:4px}.ads-dashboard-values small{font-size:10px;color:var(--admin-muted)}.ads-dashboard-values strong{font-size:19px;color:var(--admin-text);letter-spacing:-.3px}.ads-total-chip{font-size:11px;color:var(--admin-muted);border:1px solid var(--admin-line);border-radius:999px;padding:7px 11px}
.ads-kpis{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}.ads-kpis .card{padding:18px}.ads-kpis .kpi .value{font-size:24px}.ads-form-card,.ads-list-card{margin-bottom:18px;padding:20px}.ads-form-card .sectionhead,.ads-list-card .sectionhead{margin-bottom:16px}.ads-form-card .sectionhead h2,.ads-list-card .sectionhead h2{margin:0 0 4px}.ads-form-card .sectionhead p,.ads-list-card .sectionhead p{font-size:11px}.ads-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 14px}.ads-form label{font-size:11px;margin:0}.ads-form input,.ads-form select,.ads-form textarea{display:block;width:100%;margin-top:6px;padding:9px 11px;font-size:12px}.ads-form textarea{min-height:64px;resize:vertical}.ads-wide{grid-column:1/-1}.ads-submit{display:flex;justify-content:flex-end;align-items:center;gap:12px}.ads-message{margin:0 auto 0 0;font-size:11px}.ads-filters{display:flex;gap:10px;margin:0 0 12px}.ads-filters input{flex:1}.ads-filters select{min-width:180px}.ad-name{font-weight:650;color:var(--admin-text)}.ads-list-card table small{display:block;font-size:10px;margin-top:3px}.ad-spend{font-weight:650}.ad-status{display:inline-flex;align-items:center;gap:6px;font-size:10px;border-radius:999px;padding:5px 9px;border:1px solid var(--admin-line)}.ad-status:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.ad-status.active{color:#34d399;background:rgba(52,211,153,.08)}.ad-status.paused{color:#fbbf24;background:rgba(251,191,36,.08)}.ad-status.ended{color:var(--admin-muted);background:rgba(127,147,172,.08)}.ad-history-row td{padding:0 13px 10px;border:0}.ad-history-row details{font-size:10px;color:var(--admin-muted)}.ad-history-row summary{cursor:pointer;padding:4px 0 9px;list-style:none}.ad-history-row summary:after{content:"＋";float:right;color:var(--admin-blue)}.ad-history-row details[open] summary:after{content:"−"}.ad-history{border-left:1px solid var(--admin-line);padding-left:12px;display:grid;gap:7px}.ad-history>div{display:grid;grid-template-columns:1fr 1.2fr 1.5fr;gap:12px}.ad-history time{text-align:right}
@media(max-width:950px){.ads-form{grid-template-columns:repeat(2,minmax(0,1fr))}.ads-dashboard-card{flex-wrap:wrap}.ads-dashboard-values{margin-left:0}.ads-dashboard-card>.btn{margin-left:auto}}
@media(max-width:750px){body:has(.shell) main{padding:20px 14px}body:has(.shell) aside{background:var(--admin-surface-strong)}.ads-kpis{grid-template-columns:1fr;gap:10px}.ads-form{grid-template-columns:1fr}.ads-wide{grid-column:auto}.ads-dashboard-card{align-items:flex-start}.ads-dashboard-card>div:first-child{width:100%}.ads-dashboard-values{width:100%;justify-content:space-between;gap:10px}.ads-dashboard-values strong{font-size:17px}.ads-dashboard-card>.btn{margin-left:0}.ads-filters{flex-direction:column}.ads-filters select{width:100%}.ads-list-card{padding:15px}.ad-history>div{grid-template-columns:1fr;gap:3px}.ad-history time{text-align:left}}
/* Dashboard: compact controls, real-data profile charts, and restrained entry motion. */
body:has(.shell) aside{width:208px;padding-left:16px;padding-right:16px}
body:has(.shell) .shell{margin-left:208px}
body:has(.shell) aside.collapsed{width:68px;padding-left:10px;padding-right:10px}
body:has(.shell) .shell.sidebar-collapsed{margin-left:68px}
body:has(.shell) aside nav{margin-top:22px}
body:has(.shell) aside nav a{min-height:40px;padding:10px 11px;margin:3px 0;gap:10px;border-radius:10px;font-size:12px}
body:has(.shell) aside nav a svg{width:18px;height:18px}
body:has(.shell) aside.collapsed nav{margin-top:28px}
body:has(.shell) aside.collapsed nav a{justify-content:center;padding:10px 7px}
body:has(.shell) .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:0 0 16px}
body:has(.shell) .dashboard-kpis .card{padding:17px 19px}
body:has(.shell) .dashboard-kpis .kpi .label{margin-bottom:7px}
body:has(.shell) .dashboard-kpis .kpi .value{font-size:26px;line-height:1.2}
body:has(.shell) .dashboard-kpis .kpi .note{margin-top:6px}
body:has(.shell) .dashboard-chart-pair{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:15px 0 26px}
body:has(.shell) .dashboard-chart-pair>.card{min-width:0;padding:18px}
body:has(.shell) .dashboard-chart-pair .charthead{margin-bottom:14px}
body:has(.shell) .dashboard-chart-pair .donutrow{gap:18px;justify-content:flex-start}
body:has(.shell) .dashboard-chart-pair .donut{width:112px;height:112px}
body:has(.shell) .dashboard-chart-pair .donut:after{inset:19px;background:var(--admin-surface-strong)}
body:has(.shell) .qualified-donut{display:grid;place-items:center;color:var(--admin-text);font-size:19px;font-weight:650}
body:has(.shell) .qualified-donut span{z-index:1;display:grid;text-align:center;line-height:1.15}
body:has(.shell) .qualified-donut small{font-size:9px;color:var(--admin-muted);font-weight:500}
body:has(.shell) .dashboard-qualification-empty{padding:20px 8px;font-size:12px}
body:has(.shell) .dashboard-controls{display:flex;align-items:end;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body:has(.shell) .dashboard-control{display:grid;gap:4px;margin:0;min-width:132px;color:var(--admin-muted);font-size:9px;letter-spacing:.03em}
body:has(.shell) .dashboard-control select,body:has(.shell) .dashboard-control input{min-width:0;width:100%;height:34px;padding:6px 9px;font-size:11px}
body:has(.shell) .profile-section{margin-top:4px}
body:has(.shell) .profile-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}
body:has(.shell) .profile-heading h2{font-size:16px;margin:0 0 3px;color:var(--admin-text)}
body:has(.shell) .profile-heading p{font-size:10px}
body:has(.shell) .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body:has(.shell) .profile-chart{min-width:0;padding:16px 17px}
body:has(.shell) .profile-chart .charthead{margin-bottom:13px;gap:8px}
body:has(.shell) .profile-chart .charthead h2{font-size:12px;line-height:1.4;margin:0 0 3px}
body:has(.shell) .profile-chart .charthead p{font-size:9px;line-height:1.45}
body:has(.shell) .profile-chart .charthead>span{font-size:9px;white-space:nowrap}
body:has(.shell) .profile-bars{display:grid;gap:9px}
body:has(.shell) .profile-bar-label{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:4px;font-size:10px;line-height:1.4;color:var(--admin-text)}
body:has(.shell) .profile-bar-label span{min-width:0;overflow-wrap:anywhere}
body:has(.shell) .profile-bar-label b{flex:none;color:var(--admin-muted);font-weight:600}
body:has(.shell) .profile-bar-row .track{height:4px}
body:has(.shell) .profile-chart .empty{padding:22px 8px;font-size:11px}
body:has(.shell) .creative-chart-svg{display:block;width:100%;height:120px;overflow:visible;margin:0 0 3px}
body:has(.shell) .creative-labels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
body:has(.shell) .creative-labels>div{display:grid;align-content:start;gap:4px;min-width:0;text-align:center}
body:has(.shell) .creative-labels b{font-size:10px;color:var(--admin-text)}
body:has(.shell) .creative-labels span{font-size:8px;line-height:1.25;color:var(--admin-muted);overflow-wrap:anywhere}
body:has(.shell) .heading:has(.dashboard-controls){align-items:flex-end;margin-bottom:15px}
body.admin-entry .shell main>*,body.admin-entry aside nav a{animation:adminPageIn .34s cubic-bezier(.2,.7,.2,1) both}
body.admin-entry .shell main>*:nth-child(2){animation-delay:.035s}
body.admin-entry .shell main>*:nth-child(3){animation-delay:.07s}
body.admin-entry .shell main>*:nth-child(4){animation-delay:.105s}
body.admin-entry .shell main>*:nth-child(5){animation-delay:.14s}
body.admin-entry aside nav a{animation-name:adminNavIn;animation-duration:.24s}
body.admin-entry aside nav a:nth-child(2){animation-delay:.025s}body.admin-entry aside nav a:nth-child(3){animation-delay:.05s}body.admin-entry aside nav a:nth-child(4){animation-delay:.075s}body.admin-entry aside nav a:nth-child(5){animation-delay:.1s}body.admin-entry aside nav a:nth-child(6){animation-delay:.125s}body.admin-entry aside nav a:nth-child(7){animation-delay:.15s}body.admin-entry aside nav a:nth-child(8){animation-delay:.175s}
@keyframes adminPageIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes adminNavIn{from{opacity:0;transform:translateX(-5px)}to{opacity:1;transform:translateX(0)}}
@media(max-width:900px){body:has(.shell) .dashboard-chart-pair,body:has(.shell) .profile-grid{grid-template-columns:1fr}}
@media(max-width:750px){body:has(.shell) aside{width:224px;padding:45px 20px 20px}body:has(.shell) .shell,body:has(.shell) .shell.sidebar-collapsed{margin-left:0}body:has(.shell) aside.collapsed{width:224px;padding:45px 20px 20px}body:has(.shell) aside.collapsed .brand{justify-content:flex-start}body:has(.shell) aside.collapsed .brand-name,body:has(.shell) aside.collapsed .signature,body:has(.shell) aside.collapsed>.eyebrow,body:has(.shell) aside.collapsed .nav-label,body:has(.shell) aside.collapsed .sidefoot{display:revert}body:has(.shell) aside.collapsed nav{margin-top:22px}body:has(.shell) aside.collapsed nav a{justify-content:flex-start;padding:10px 11px}body:has(.shell) aside .sidebar-toggle{display:none}body:has(.shell) .dashboard-controls{width:100%;justify-content:stretch;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body:has(.shell) .dashboard-control{min-width:0}body:has(.shell) .heading:has(.dashboard-controls){align-items:flex-start;flex-direction:column}body:has(.shell) .dashboard-kpis{gap:9px}body:has(.shell) .dashboard-kpis .card{padding:14px}body:has(.shell) .dashboard-kpis .kpi .value{font-size:22px}body:has(.shell) .dashboard-chart-pair{grid-template-columns:1fr}body:has(.shell) .dashboard-chart-pair .donutrow{justify-content:flex-start}body:has(.shell) .profile-grid{grid-template-columns:1fr}body:has(.shell) .profile-chart{padding:15px}body:has(.shell) .creative-chart-svg{height:105px}body:has(.shell) .creative-labels span{font-size:8px}}
@media(prefers-reduced-motion:reduce){body.admin-entry .shell main>*,body.admin-entry aside nav a{animation:none!important}}
html[data-jcrm-admin="1"][data-admin-theme="light"] body{background:#f7fbff;color:#142338}

/* Compact dashboard, viewport-triggered chart motion and client contracts. */
body:has(.shell) .dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 13px}
body:has(.shell) .dashboard-kpis .card,body:has(.shell) .dashboard-kpi-wrap .card{padding:13px 15px;min-width:0}
body:has(.shell) .dashboard-kpis .kpi .label{font-size:10px;margin-bottom:5px}
body:has(.shell) .dashboard-kpis .kpi .value{font-size:21px;line-height:1.2;letter-spacing:-.4px}
body:has(.shell) .dashboard-kpis .kpi .note{font-size:9px;line-height:1.35;margin-top:4px}
body:has(.shell) .dashboard-kpi-wrap{min-width:0}
body:has(.shell) .dashboard-chart-pair{gap:11px;margin:12px 0 15px}
body:has(.shell) .dashboard-chart-pair>.card,body:has(.shell) .dashboard-commercial-grid>.card{padding:15px}
body:has(.shell) .dashboard-chart .charthead{margin-bottom:10px}
body:has(.shell) .dashboard-chart .charthead h2{font-size:13px;margin:0 0 3px}
body:has(.shell) .dashboard-chart .charthead p{font-size:10px}
body:has(.shell) .dashboard-controls{gap:7px}
body:has(.shell) .dashboard-control{min-width:115px}
body:has(.shell) .dashboard-commercial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0 0 18px}
body:has(.shell) .commercial-chart{min-width:0}
body:has(.shell) .contract-columns{height:190px;display:flex;align-items:stretch;gap:7px;overflow-x:auto;padding:10px 4px 0}
body:has(.shell) .contract-column{position:relative;display:grid;grid-template-rows:1fr 18px;flex:1 0 46px;min-width:46px;max-width:96px;height:100%;padding:0 5px 4px;border:0;background:transparent!important;box-shadow:none!important;transform:none!important}
body:has(.shell) .contract-column-track{grid-row:1;align-self:end;height:140px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--admin-line);background:linear-gradient(to top,rgba(127,147,172,.035),transparent)}
body:has(.shell) .contract-column-track i{display:block;width:22px;height:var(--bar-height);min-height:2px;border-radius:5px 5px 2px 2px;background:linear-gradient(180deg,#93c5fd,#2563eb);transform:scaleY(0);transform-origin:bottom;transition:transform .72s cubic-bezier(.2,.75,.25,1),filter .2s ease,box-shadow .2s ease}
body:has(.shell) .contract-column:hover .contract-column-track i,body:has(.shell) .contract-column:focus-visible .contract-column-track i{filter:brightness(1.16);box-shadow:0 0 14px #3b82f64a}
body:has(.shell) .contract-column-value{position:absolute;top:0;left:0;right:0;font-size:8px;color:var(--admin-muted);text-align:center;opacity:0;transition:opacity .18s ease}
body:has(.shell) .contract-column:hover .contract-column-value,body:has(.shell) .contract-column:focus-visible .contract-column-value{opacity:1}
body:has(.shell) .contract-column-label{grid-row:2;font-size:8px;color:var(--admin-muted);white-space:nowrap;text-align:center;margin-top:5px}
body:has(.shell) .contract-tooltip{position:absolute;z-index:5;left:50%;bottom:28px;min-width:130px;padding:8px 10px;border:1px solid var(--admin-line);border-radius:9px;background:var(--admin-surface-strong);color:var(--admin-text);font-size:10px;line-height:1.5;text-align:left;box-shadow:var(--admin-shadow);opacity:0;pointer-events:none;transform:translate(-50%,4px);transition:opacity .16s ease,transform .16s ease}
body:has(.shell) .contract-column:hover .contract-tooltip,body:has(.shell) .contract-column:focus-visible .contract-tooltip{opacity:1;transform:translate(-50%,0)}
body:has(.shell) .stage-chart-list{display:grid;gap:7px}
body:has(.shell) .stage-chart-row{display:grid;grid-template-columns:minmax(70px,.7fr) 25px minmax(60px,1.5fr);align-items:center;gap:9px;padding:5px 7px;text-align:left;border:1px solid transparent;border-radius:8px;background:transparent!important;box-shadow:none!important;transform:none!important;font-size:10px}
body:has(.shell) .stage-chart-row:hover,body:has(.shell) .stage-chart-row:focus-visible{background:var(--admin-blue-soft)!important;border-color:var(--admin-line)}
body:has(.shell) .stage-chart-row b{text-align:right;font-size:11px}
body:has(.shell) .stage-chart-row .track{height:5px;overflow:hidden;border-radius:99px}
body:has(.shell) .stage-chart-row .track em{display:block;width:100%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#38bdf8,#3b82f6);transform:scaleX(0);transform-origin:left;transition:transform .68s cubic-bezier(.2,.75,.25,1)}
body:has(.shell) .profile-section{margin-top:3px}
body:has(.shell) .profile-grid{gap:10px;margin-bottom:10px}
body:has(.shell) .profile-chart{padding:13px 14px}
body:has(.shell) .profile-chart .charthead{margin-bottom:8px}
body:has(.shell) .profile-line-svg{display:block;width:100%;height:105px;overflow:visible}
body:has(.shell) .chart-gridline{stroke:var(--admin-line);stroke-width:1;stroke-dasharray:3 5}
body:has(.shell) .dashboard-line-path{transition:stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1)}
body:has(.shell) .chart-point{fill:var(--admin-blue);stroke:var(--admin-surface-strong);stroke-width:2;opacity:0;transition:opacity .25s ease;cursor:help}
body:has(.shell) .is-visible .chart-point{opacity:1}
body:has(.shell) .chart-point:nth-of-type(2){transition-delay:.08s}body:has(.shell) .chart-point:nth-of-type(3){transition-delay:.15s}body:has(.shell) .chart-point:nth-of-type(4){transition-delay:.22s}body:has(.shell) .chart-point:nth-of-type(5){transition-delay:.29s}
body:has(.shell) .profile-line-labels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;margin-top:5px}
body:has(.shell) .profile-line-labels>div{display:grid;gap:2px;min-width:0;text-align:center}
body:has(.shell) .profile-line-labels b{font-size:9px;color:var(--admin-text)}
body:has(.shell) .profile-line-labels span{font-size:8px;line-height:1.25;color:var(--admin-muted);overflow-wrap:anywhere}
body:has(.shell) .profile-columns{height:142px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;align-items:stretch;padding:6px 2px 0}
body:has(.shell) .profile-column{display:grid;grid-template-rows:16px 1fr 34px;gap:4px;min-width:0;text-align:center}
body:has(.shell) .profile-column>b{font-size:9px;color:var(--admin-text)}
body:has(.shell) .profile-column-track{height:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--admin-line);background:linear-gradient(to top,rgba(127,147,172,.035),transparent)}
body:has(.shell) .profile-column-track .dashboard-bar-fill{display:block;width:22px;height:var(--bar-height);min-height:2px;border-radius:5px 5px 1px 1px;background:linear-gradient(180deg,#93c5fd,#2563eb);transform:scaleY(0);transform-origin:bottom;transition:transform .68s cubic-bezier(.2,.75,.25,1),filter .18s ease}
body:has(.shell) .profile-column:hover .dashboard-bar-fill{filter:brightness(1.2)}
body:has(.shell) .profile-column-label{font-size:8px;line-height:1.2;color:var(--admin-muted);overflow-wrap:anywhere}
body:has(.shell) .profile-bars{gap:7px}
body:has(.shell) .profile-bar-row .track{height:4px;overflow:hidden}
body:has(.shell) .profile-bar-row .dashboard-bar-fill{display:block;height:100%;width:100%;background:linear-gradient(90deg,#38bdf8,#3b82f6);transform:scaleX(0);transform-origin:left;transition:transform .66s cubic-bezier(.2,.75,.25,1),filter .18s ease}
body:has(.shell) .profile-bar-row:hover .dashboard-bar-fill{filter:brightness(1.2)}
body:has(.shell) .dashboard-bar-fill:nth-child(2){transition-delay:45ms}body:has(.shell) .dashboard-bar-fill:nth-child(3){transition-delay:90ms}body:has(.shell) .dashboard-bar-fill:nth-child(4){transition-delay:135ms}body:has(.shell) .dashboard-bar-fill:nth-child(5){transition-delay:180ms}
body:has(.shell) .dashboard-export{position:relative}
body:has(.shell) .dashboard-export button:disabled{opacity:.48;cursor:wait}
body:has(.shell) .export-menu{position:absolute;right:0;top:calc(100% + 5px);z-index:15;display:grid;min-width:110px;padding:4px;border:1px solid var(--admin-line);border-radius:10px;background:var(--admin-surface-strong);box-shadow:var(--admin-shadow)}
body:has(.shell) .export-menu[hidden]{display:none}
body:has(.shell) .export-menu button{text-align:left;padding:8px 10px;border:0;box-shadow:none;transform:none}
body:has(.shell) .scroll-reveal{opacity:0;transform:translateY(9px);transition:opacity .34s ease var(--reveal-delay,0ms),transform .34s cubic-bezier(.2,.7,.2,1) var(--reveal-delay,0ms)}
body:has(.shell) .scroll-reveal.is-visible{opacity:1;transform:translateY(0)}
body:has(.shell) .dashboard-donut-segment{transition:stroke-dashoffset .8s cubic-bezier(.2,.7,.2,1)}
body:has(.shell) .dashboard-legend>div{opacity:.65;transition:opacity .18s ease,transform .18s ease}
body:has(.shell) .dashboard-legend>div:hover{opacity:1;transform:translateX(2px)}
.contract-modal-backdrop{position:fixed;inset:0;z-index:12000;display:grid;place-items:center;padding:18px;background:rgba(2,8,18,.68);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:contractFade .16s ease both}
.contract-modal{width:min(650px,100%);max-height:min(92vh,900px);overflow:auto;padding:22px;border:1px solid var(--admin-line);border-radius:18px;background:var(--admin-surface-strong);color:var(--admin-text);box-shadow:0 25px 90px rgba(0,0,0,.38)}
.contract-modal>header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}
.contract-modal h2{margin:0 0 5px;font-size:18px;color:var(--admin-text)}
.contract-modal p{margin:0;color:var(--admin-muted);font-size:11px}
.contract-modal form>label,.contract-form-grid>label,.contract-custom-options>label{display:grid;gap:6px;margin:0 0 12px;color:var(--admin-muted);font-size:10px}
.contract-modal input,.contract-modal select,.contract-modal textarea{width:100%;min-width:0;padding:9px 10px;font-size:12px}
.contract-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
.contract-custom-options{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.contract-custom-options[hidden],.contract-modal [hidden]{display:none!important}
.contract-modal footer{display:flex;justify-content:flex-end;gap:8px;margin-top:17px}
.contract-preview{padding:10px 12px;border:1px solid var(--admin-line);border-radius:9px;background:var(--admin-blue-soft);color:var(--admin-text)!important}
.contract-error{margin-top:9px!important;color:#f87171!important}
.contract-summary{display:grid;gap:6px;margin:14px 0;padding:12px;border:1px solid var(--admin-line);border-radius:10px;background:var(--admin-surface)}
.contract-summary strong{font-size:12px;color:var(--admin-text)}
.contract-summary>span,.contract-history{font-size:10px;color:var(--admin-muted)}
.contract-summary>.btn,.contract-summary>button{justify-self:start;margin-top:4px}
.contract-history summary{cursor:pointer;padding:7px 0;list-style:none}
.contract-history summary:after{content:"＋";float:right;color:var(--admin-blue)}
.contract-history[open] summary:after{content:"−"}
.contract-history>div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-top:1px solid var(--admin-line);font-size:9px}
.contract-history time{white-space:nowrap}
.modal-contract-history{margin-top:16px;padding-top:8px;border-top:1px solid var(--admin-line)}
.contract-drilldown-list{display:grid;gap:8px}
.contract-drilldown-list article{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:10px;border:1px solid var(--admin-line);border-radius:9px;background:var(--admin-surface)}
.contract-drilldown-list strong{font-size:12px}
.contract-drilldown-list span,.contract-drilldown-list time{font-size:10px;color:var(--admin-muted)}
.contract-drilldown-list time{grid-column:1/-1}
html[data-admin-theme="light"] .contract-modal{background:#fff;color:#142338}
@keyframes contractFade{from{opacity:0}to{opacity:1}}
@media(max-width:1050px){body:has(.shell) .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){body:has(.shell) .dashboard-commercial-grid{grid-template-columns:1fr}}
@media(max-width:750px){body:has(.shell) .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body:has(.shell) .dashboard-kpis .kpi .value{font-size:18px}body:has(.shell) .dashboard-chart-pair{grid-template-columns:1fr}body:has(.shell) .profile-lines,body:has(.shell) .profile-columns-grid,body:has(.shell) .profile-product-grid{grid-template-columns:1fr}body:has(.shell) .profile-columns{gap:4px;height:130px}body:has(.shell) .profile-column-label,body:has(.shell) .profile-line-labels span{font-size:7px}.contract-modal-backdrop{padding:9px;align-items:end}.contract-modal{max-height:92dvh;padding:17px;border-radius:16px}.contract-form-grid{grid-template-columns:1fr 1fr;gap:0 8px}.contract-custom-options{gap:8px}.contract-modal input,.contract-modal select{padding:8px;font-size:11px}.contract-history>div{align-items:flex-start;flex-direction:column;gap:2px}.contract-history time{white-space:normal}}
@media(prefers-reduced-motion:reduce){body:has(.shell) .scroll-reveal,body:has(.shell) .dashboard-line-path,body:has(.shell) .dashboard-donut-segment,body:has(.shell) .dashboard-bar-fill,.contract-modal-backdrop{transition:none!important;animation:none!important}body:has(.shell) .scroll-reveal{opacity:1;transform:none}}
/* Shared group selector, client profile charts, and workspace microinteractions. */
body:has(.shell) .workspace-subnav{margin:0 0 14px}
body:has(.shell) .workspace-subnav button{transition:background .18s ease,color .18s ease,box-shadow .18s ease}
body:has(.shell) .workspace-subnav button:active{transform:scale(.985)}
body:has(.shell) .card:not(.pipeline-card){transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease}
body:has(.shell) .card:not(.pipeline-card):hover{border-color:color-mix(in srgb,var(--admin-blue) 20%,var(--admin-line));box-shadow:0 8px 24px rgba(4,12,24,.12);transform:translateY(-1px)}
body:has(.shell) button:active,body:has(.shell) .btn:active{transform:translateY(0) scale(.985)}
body:has(.shell) tbody tr{transition:background .16s ease}
body:has(.shell) .leads-list-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
body:has(.shell) .leads-list-meta input[type=search]{margin-left:auto;max-width:300px}
body:has(.shell) .client-leads-table td:first-child{font-weight:600}
body:has(.shell) .client-leads-table td small{display:block;margin-top:3px;font-size:10px}
body:has(.shell) .client-creatives-chart{grid-template-columns:repeat(4,minmax(0,1fr));height:132px}
body:has(.shell) .client-creatives-chart .profile-column-track .dashboard-bar-fill{background:linear-gradient(180deg,#93c5fd,#2563eb)}
body:has(.shell) .client-spend-line .chart-point{opacity:1}
body:has(.shell) .client-spend-line .chart-point:hover{r:6;filter:drop-shadow(0 0 4px rgba(96,165,250,.45))}
body:has(.shell) .client-revenue-donut{justify-content:flex-start;gap:18px}
body:has(.shell) .client-revenue-donut .dashboard-donut-wrap{flex:0 0 106px}
body:has(.shell) .client-revenue-donut .dashboard-legend{min-width:0;flex:1}
body:has(.shell) .client-revenue-donut .dashboard-legend>div{grid-template-columns:8px minmax(0,1fr) auto;gap:6px;font-size:9px}
body:has(.shell) .briefing-status{white-space:nowrap}
body:has(.shell) .client-leads-table tbody tr:focus-visible{outline:2px solid var(--admin-blue);outline-offset:-2px}
body:has(.public) input,body:has(.public) textarea,body:has(.public) button,body:has(.public) .answer{transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease}
body:has(.public) input:focus,body:has(.public) textarea:focus{box-shadow:0 0 0 3px rgba(96,165,250,.12)}
@media(max-width:750px){body:has(.shell) .leads-list-meta input[type=search]{margin-left:0;max-width:none;width:100%}body:has(.shell) .client-leads-table{min-width:690px}body:has(.shell) .client-revenue-donut{gap:10px}body:has(.shell) .client-revenue-donut .dashboard-donut-wrap{flex-basis:92px}}
@media(prefers-reduced-motion:reduce){body:has(.shell) .card:not(.pipeline-card),body:has(.shell) tbody tr,body:has(.shell) .workspace-subnav button,body:has(.public) input,body:has(.public) textarea,body:has(.public) button,body:has(.public) .answer{transition:none!important}body:has(.shell) button:active,body:has(.shell) .btn:active{transform:none}}

/* Compact JCRM workspace refinement */
body:has(.shell) main{padding-left:clamp(18px,2.2vw,34px);padding-right:clamp(18px,2.2vw,34px)}
body:has(.shell) .heading{margin-bottom:15px}body:has(.shell) .heading h1{font-size:24px}body:has(.shell) .card{border-radius:14px}
.leads-list-card,.ads-list-card{padding:16px 17px;margin-bottom:16px}.leads-filters{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(140px,.8fr)) auto;gap:8px;margin-bottom:13px}.leads-filters input,.leads-filters select,.leads-filters button{min-height:36px;padding:7px 10px;font-size:11px}.leads-list-meta{display:flex;justify-content:space-between;gap:12px;padding:0 2px 9px;color:var(--admin-muted);font-size:10px}.leads-table{font-size:11px;white-space:normal;min-width:850px}.leads-table th{padding:9px 10px;font-size:9px}.leads-table td{padding:9px 10px;line-height:1.35}.leads-table .person{gap:8px;font-size:11px}.leads-table .person .avatar{width:26px;height:26px;border-radius:8px;font-size:9px}.leads-table .lead-contact{display:block;font-size:10px}.leads-table .lead-instagram{display:block;font-size:9px;margin-top:2px}.leads-table .score{white-space:nowrap}.leads-table .score small{font-size:9px}.leads-table .badge{padding:3px 6px;font-size:9px;white-space:nowrap}.commercial-status{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border:1px solid var(--admin-line);border-radius:999px;background:var(--admin-blue-soft);color:var(--admin-blue);font-size:10px;white-space:nowrap}.commercial-status.archived{background:rgba(148,163,184,.09);color:var(--admin-muted)}body:has(.shell) .leads-table tbody tr:hover{background:var(--admin-blue-soft)}
.lead-back{margin-bottom:12px}.lead-profile-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0 14px;border-bottom:1px solid var(--admin-line)}.lead-profile-identity{display:flex;align-items:center;gap:13px;min-width:0}.lead-profile-identity>.avatar{width:46px;height:46px;border-radius:13px;font-size:14px}.lead-profile-identity h1{font-size:23px;margin:0 0 4px}.lead-profile-identity p{font-size:11px;margin-bottom:7px}.lead-contact-actions{display:grid;grid-template-columns:auto auto;align-items:center;gap:5px 8px;text-align:right;font-size:10px;color:var(--admin-muted)}.lead-contact-actions button{min-height:27px;padding:4px 7px;font-size:9px}.lead-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:13px 0}.lead-metric{min-width:0;padding:12px 13px;border:1px solid var(--admin-line);border-radius:12px;background:linear-gradient(135deg,rgba(121,186,255,.07),transparent 60%),var(--admin-surface)}.lead-metric>span,.lead-indicators>div>span{display:block;color:var(--admin-muted);font-size:9px;text-transform:uppercase;letter-spacing:.45px}.lead-metric strong{display:block;margin-top:6px;color:var(--admin-text);font-size:14px;line-height:1.35;overflow-wrap:anywhere}.lead-metric small,.lead-indicators small{display:block;color:var(--admin-muted);font-size:9px;margin-top:4px}.lead-meter{display:block;height:4px;margin-top:8px;background:rgba(127,147,172,.2);border-radius:9px;overflow:hidden}.lead-meter>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#38bdf8,#60a5fa)}.lead-visual-grid{display:grid;grid-template-columns:1fr minmax(260px,.7fr);gap:10px;margin-bottom:10px}.lead-visual-card,.lead-stage-card{padding:14px}.lead-visual-card .sectionhead,.lead-stage-card .sectionhead{margin-bottom:10px}.lead-visual-card h2,.lead-stage-card h2{font-size:13px;margin:0 0 3px}.lead-visual-card .sectionhead p,.lead-stage-card .sectionhead p{font-size:10px}.lead-indicators{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lead-indicators>div{min-width:0}.lead-indicators>div>b{display:block;margin-top:5px;font-size:11px;color:var(--admin-text);overflow-wrap:anywhere}.lead-stage-card>.card{padding:0;border:0;box-shadow:none;background:none;backdrop-filter:none}.lead-stage-card>.card h2{display:none}.lead-stage-card>.card p{font-size:10px}.lead-stage-card>.card select{padding:7px 9px;min-height:32px;font-size:10px}.lead-stage-card>.card button{min-height:30px;padding:5px 9px;font-size:10px}.lead-accordions{display:grid;gap:7px}.lead-accordion{padding:0;overflow:hidden}.lead-accordion>summary{display:flex;align-items:center;min-height:42px;padding:11px 14px;list-style:none;cursor:pointer;color:var(--admin-text);font-size:11px;font-weight:600}.lead-accordion>summary::-webkit-details-marker{display:none}.lead-accordion>summary span{margin-left:auto;color:var(--admin-blue);font-size:16px;transition:transform .18s}.lead-accordion[open]>summary{border-bottom:1px solid var(--admin-line)}.lead-accordion[open]>summary span{transform:rotate(45deg)}.lead-accordion-body{padding:12px 14px;animation:enter .2s ease}.lead-accordion .info{gap:12px 22px;margin:0}.lead-accordion .info span{font-size:9px;margin-bottom:4px}.lead-accordion .info b{font-size:11px;overflow-wrap:anywhere}.lead-answers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.lead-answer{min-width:0;padding:9px 10px;border:1px solid var(--admin-line);border-radius:9px;background:rgba(255,255,255,.018)}.lead-answer span,.lead-answer b{display:block;font-size:10px;line-height:1.45}.lead-answer span{color:var(--admin-muted);margin-bottom:5px}.lead-answer b{font-weight:500;color:var(--admin-text);white-space:pre-wrap;overflow-wrap:anywhere}.lead-note-form{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px}.lead-note-form textarea{min-height:62px;padding:9px 10px;font-size:11px}.lead-note-form button{min-height:34px;font-size:10px}.lead-notes{display:grid;gap:6px;margin:8px 0 16px}.lead-notes article,.lead-next-action{padding:9px 10px;border:1px solid var(--admin-line);border-radius:9px}.lead-notes p,.lead-next-action p{font-size:10px;white-space:pre-wrap}.lead-notes time,.lead-timeline-item time{display:block;margin-top:4px;color:var(--admin-muted);font-size:9px}.lead-timeline{border-top:1px solid var(--admin-line);padding-top:12px}.lead-timeline h3{font-size:11px;margin:0 0 8px}.lead-timeline-item{display:flex;gap:9px;padding:5px 0}.lead-timeline-item>i{width:7px;height:7px;margin-top:4px;border-radius:50%;background:var(--admin-blue);flex:none}.lead-timeline-item b,.lead-timeline-item span{display:block;font-size:10px}.lead-timeline-item span{color:var(--admin-muted);margin-top:2px}.lead-next-action{margin-top:10px}.lead-next-action>*{display:block}.lead-next-action b{font-size:10px}.lead-next-action span{font-size:10px;color:var(--admin-muted);margin-top:4px}.lead-profile-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:11px}.danger-button{color:#fda4af!important;border-color:rgba(248,113,113,.25)!important}.lead-profile-actions button{font-size:10px;padding:6px 9px;min-height:30px}
.funnel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.funnelcard{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;min-height:0}.funnelcard h2{margin:0;font-size:13px}.funnel-actions{display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}.funnel-actions>*{min-height:31px;padding:6px 9px;font-size:10px}.funnel-report-back{margin-bottom:10px}.dashboard-funnel-lock{align-self:end;padding:9px 10px;border:1px solid var(--admin-line);border-radius:9px;color:var(--admin-blue);font-size:11px}.archive-categories{display:flex;gap:5px;overflow:auto;margin:0 0 10px;padding-bottom:2px}.archive-categories button{flex:none;min-height:32px;padding:5px 9px;font-size:10px;color:var(--admin-muted)}.archive-categories button.active{color:var(--admin-blue);border-color:rgba(96,165,250,.4);background:var(--admin-blue-soft)}.archive-categories span{margin-left:4px;font-size:9px;opacity:.75}.archive-list-card{padding:12px 14px}.archive-table{min-width:920px;white-space:normal;font-size:10px}.archive-table th{padding:8px;font-size:9px}.archive-table td{padding:8px;line-height:1.35}.archive-table .person{font-size:10px}.archive-table td small{display:block;font-size:9px;margin-top:3px}.archive-restore-cell{display:flex;align-items:center;gap:5px}.archive-restore-cell select{min-height:29px;padding:4px 7px;font-size:9px}.archive-restore-cell button,.archive-table td>button{min-height:29px;padding:4px 7px;font-size:9px;white-space:nowrap}.ads-list-card .sectionhead{margin-bottom:11px}.ads-list-card .sectionhead h2{margin:0 0 2px;font-size:14px}.ads-list-card .sectionhead p{font-size:10px}.ads-list-card .sectionhead>button{min-height:32px;padding:6px 10px;font-size:10px}.ads-kpis{gap:9px;margin-bottom:12px}.ads-kpis .card{padding:13px}.ads-kpis .kpi .label{font-size:10px;margin-bottom:8px}.ads-kpis .kpi .value{font-size:21px}.ads-kpis .kpi .note{font-size:9px;margin-top:6px}.ads-filters{gap:7px;margin-bottom:9px}.ads-filters input,.ads-filters select{min-height:33px;padding:6px 9px;font-size:10px}.ads-table{min-width:800px;white-space:normal;font-size:10px}.ads-table th{padding:8px;font-size:9px}.ads-table td{padding:8px;line-height:1.35}.ads-table td small{font-size:9px}.ad-name{font-size:11px}.ad-status{padding:3px 6px;font-size:9px}.ad-row-actions{display:flex;align-items:center;gap:4px;white-space:nowrap}.ad-row-actions button{min-height:28px;padding:4px 7px;font-size:9px}.ad-end-action{color:#fda4af!important}.ads-modal-backdrop{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px;background:rgba(3,8,15,.68);backdrop-filter:blur(10px);animation:enter .16s ease}.ads-modal{width:min(680px,100%);max-height:min(88vh,800px);overflow:auto;padding:18px;background:linear-gradient(145deg,rgba(121,186,255,.075),transparent 55%),var(--admin-surface-strong);border:1px solid var(--admin-line);box-shadow:0 24px 70px rgba(0,0,0,.36)}.ads-modal>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:15px}.ads-modal>header h2{margin:4px 0 0;font-size:16px}.ads-modal>header>button{min-height:29px;padding:4px 8px}.ads-modal-form{gap:10px 12px}.ads-modal-form label{font-size:10px}.ads-modal-form input,.ads-modal-form select,.ads-modal-form textarea{min-height:34px;margin-top:4px;padding:7px 9px;font-size:11px}.ads-modal-form textarea{min-height:70px}.ads-modal-form .ads-submit{margin-top:4px}.ads-modal-form .ads-message{margin-right:auto;font-size:10px}.ads-modal-form .primary{min-height:34px;padding:6px 11px;font-size:10px}.ad-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ad-detail-grid>div{padding:10px;border:1px solid var(--admin-line);border-radius:9px}.ad-detail-grid small{display:block;color:var(--admin-muted);font-size:9px;margin-bottom:5px}.ad-detail-grid b{font-size:11px}.ad-detail-description{grid-column:1/-1}.ad-detail-description p{font-size:11px;white-space:pre-wrap}.ad-modal-history{margin-top:12px;border-top:1px solid var(--admin-line);font-size:10px}.ad-modal-history summary{padding:10px 0;cursor:pointer;color:var(--admin-blue)}.ad-modal-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:12px}.ad-modal-actions button{min-height:31px;padding:5px 9px;font-size:10px}
@media(max-width:950px){.leads-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-visual-grid{grid-template-columns:1fr}.funnel-grid{grid-template-columns:1fr}}
@media(max-width:750px){body:has(.shell) main{padding:17px 12px}.leads-list-card,.ads-list-card{padding:11px}.leads-filters{grid-template-columns:1fr 1fr}.leads-filters input{grid-column:1/-1}.leads-filters button{grid-column:1/-1}.lead-profile-head{align-items:flex-start;flex-direction:column}.lead-profile-identity h1{font-size:20px}.lead-contact-actions{width:100%;grid-template-columns:minmax(0,1fr) auto;text-align:left}.lead-contact-actions span{overflow-wrap:anywhere}.lead-summary-grid{gap:7px}.lead-metric{padding:10px}.lead-metric strong{font-size:12px}.lead-indicators{gap:9px}.lead-answers{grid-template-columns:1fr}.lead-note-form{grid-template-columns:1fr}.lead-note-form button{justify-self:end}.lead-profile-actions{justify-content:space-between}.funnelcard{align-items:flex-start;flex-direction:column}.funnel-actions{justify-content:flex-start;width:100%}.funnel-actions>*{flex:1}.ads-kpis{grid-template-columns:1fr 1fr}.ads-kpis .card:last-child{grid-column:1/-1}.ads-list-card .sectionhead{align-items:flex-start}.ads-list-card .sectionhead>button{white-space:nowrap}.ads-modal-backdrop{padding:8px;align-items:end}.ads-modal{max-height:92dvh;padding:14px;border-radius:16px 16px 10px 10px}.ads-modal-form{grid-template-columns:1fr}.ads-modal-form .ads-wide{grid-column:auto}.ad-detail-grid{grid-template-columns:1fr 1fr}.ad-detail-description{grid-column:1/-1}.ad-history>div{grid-template-columns:1fr;gap:3px}.ad-history time{text-align:left}.archive-categories{margin-right:-10px;padding-right:10px}.archive-list-card{padding:8px}.archive-restore-cell{align-items:stretch;flex-direction:column}.archive-restore-cell select,.archive-restore-cell button{width:100%}}
@media(prefers-reduced-motion:reduce){.lead-accordion>summary span,.ads-modal-backdrop{animation:none;transition:none}}
.ad-test-label{display:inline-block;margin-left:6px;padding:2px 5px;border-radius:5px;background:rgba(96,165,250,.12);color:#93c5fd;font-size:8px;letter-spacing:.04em}.ad-status.cancelled{color:#fda4af;background:rgba(251,113,133,.08)}.ad-spend-section{margin-top:14px;padding-top:12px;border-top:1px solid var(--admin-line)}.ad-spend-section h3{margin:0 0 3px;font-size:12px}.ad-spend-section>p,.ads-cancel-explain{color:var(--admin-muted);font-size:10px}.ad-spend-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid var(--admin-line);font-size:10px}.ad-spend-row.discarded{opacity:.55;text-decoration:line-through}.ad-spend-row button{min-height:26px;padding:3px 7px;font-size:9px}.ad-spend-form{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;margin-top:10px}.ad-spend-form label{font-size:9px}.ad-spend-form input,.ad-spend-form select{width:100%;min-width:0;margin-top:4px;padding:7px;font-size:10px}.ad-spend-form button{min-height:31px}.ad-checkbox{display:flex;align-items:center;gap:7px}.ad-checkbox input{width:auto;margin:0}.ads-cancel-explain{padding:9px 10px;border-left:2px solid var(--admin-blue);background:var(--admin-blue-soft)}
@media(max-width:750px){.ad-spend-form{grid-template-columns:1fr 1fr}.ad-spend-form button{grid-column:1/-1}.ad-spend-row{grid-template-columns:1fr auto}.ad-spend-row button{grid-column:2}.ads-modal-form .ad-checkbox{align-items:flex-start}}

.archive-delete{color:#fda4af!important}
.briefing-delete-actions{display:flex;justify-content:flex-end;margin:20px 0}.delete-actions [hidden]{display:none!important}

/* Clientes Existentes: multi-question production briefing */
.public-privacy{margin:36px auto 0;text-align:center;font-size:11px;color:#91a1b8}.public-privacy a{color:#a8bed6;text-decoration:underline;text-underline-offset:3px}.public-privacy a:hover{color:#d6ecff}
.briefing-wrap{max-width:760px;margin:0 auto;padding:8px 0 20px}.briefing-topline{display:flex;align-items:center;justify-content:space-between;gap:16px}.briefing-topline .eyebrow{margin:0}.briefing-page-number{font-size:12px;color:#a8bbd3;border:1px solid #8ebef02a;background:#76b6ff0b;padding:7px 11px;border-radius:999px}.briefing-wrap h1{font-size:clamp(30px,5vw,42px);font-weight:650;letter-spacing:-1.1px;line-height:1.13;margin:24px 0 9px;color:#edf5ff}.briefing-intro{font-size:14px;color:#9fb0c4;margin:0 0 30px;max-width:620px}.briefing-fields{display:grid;gap:0}.briefing-question{padding:19px 0 21px;border-bottom:1px solid #8db8e41a}.briefing-question:first-child{padding-top:0}.briefing-label{display:block;color:#e2ebf6;font-size:14px;font-weight:550;margin:0 0 8px;line-height:1.45}.briefing-label span{color:#8bc7ff}.briefing-label small{font-size:11px;font-weight:400;color:#8192a8;margin-left:5px}.briefing-hint{font-size:12px;margin:-2px 0 12px;color:#8fa3ba;line-height:1.55}.briefing-input{display:block;width:100%;min-height:48px;padding:12px 14px;border:1px solid #a9c6e523;border-radius:12px;background:linear-gradient(145deg,#172338c9,#0c1422e8);color:#eaf3ff;box-shadow:inset 0 1px #ffffff08;transition:border-color .18s,box-shadow .18s,background .18s}.briefing-input::placeholder{color:#71839a}.briefing-input:focus{border-color:#71b9ff9c;box-shadow:0 0 0 3px #52a8ff15,0 8px 28px #1370cf10;background:#101e32}.briefing-textarea{min-height:105px;resize:vertical;line-height:1.55}.briefing-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.briefing-options.multi{grid-template-columns:repeat(2,minmax(0,1fr))}.briefing-choice{width:100%;min-height:48px;justify-content:flex-start;text-align:left;padding:11px 13px;border-radius:13px;border:1px solid #9bb9d723;background:linear-gradient(145deg,#19263a99,#0b1321d9);color:#c4d1e1;box-shadow:inset 0 1px #ffffff08,0 6px 20px #00000014;transition:background .18s,border-color .18s,color .18s,box-shadow .18s}.briefing-choice:hover{border-color:#81baff65;background:linear-gradient(145deg,#20344fbb,#111e31ee);color:#edf6ff;transform:translateY(-1px)}.briefing-choice.selected{border-color:#78baff9c;background:linear-gradient(135deg,#2464a454,#16396562);box-shadow:inset 0 1px #d3eaff16,0 0 20px #318fe71c;color:#eff8ff}.briefing-choice-mark{width:19px;height:19px;flex:0 0 19px;display:grid;place-items:center;border:1px solid #92afd33b;border-radius:6px;color:#b9e2ff;font-size:12px}.briefing-options:not(.multi) .briefing-choice-mark{border-radius:50%}.briefing-choice.selected .briefing-choice-mark{border-color:#7fc2ff;background:#3995e858}.briefing-other{margin-top:12px}.briefing-other[hidden]{display:none}.briefing-other label{margin-bottom:7px}.briefing-error{display:none;color:#ffaaaa;font-size:11px;margin:6px 0 0}.briefing-question.invalid .briefing-error{display:block}.briefing-question.invalid .briefing-input{border-color:#ef73736b}.briefing-question.invalid .briefing-choice{border-color:#ef73735c}.briefing-submit-error{min-height:18px;color:#ffb0b0;font-size:12px;margin:13px 0 4px}.briefing-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:20px}.briefing-actions button{min-height:48px;min-width:138px;border-radius:13px}.briefing-actions .primary{background:linear-gradient(135deg,#60a5fa,#2563eb);color:#f6fbff;border-color:#77b5ff85;box-shadow:0 8px 24px #2563eb35,inset 0 1px #ffffff36;font-weight:650}.briefing-actions .primary:hover{filter:brightness(1.08);box-shadow:0 10px 28px #2563eb48,inset 0 1px #ffffff55}.briefing-actions .primary:active{transform:translateY(0)}.briefing-success{max-width:590px;margin:9vh auto 12vh;text-align:center;padding:24px 12px}.briefing-success h1{font-size:clamp(30px,5vw,42px);line-height:1.15;color:#edf5ff;margin:20px 0 12px}.briefing-success p{color:#a6b8cc;font-size:15px}.briefing-success .successicon{margin:0 auto 24px}
.briefing-list{padding:7px 18px}.briefing-list tbody tr{cursor:pointer}.briefing-list tbody tr:focus{outline:2px solid #60a5fa}.briefing-status{display:inline-flex;padding:5px 9px;border-radius:999px;border:1px solid #78b9ff30;background:#66aaff10;color:#b6d9ff;font-size:11px}.briefing-status.em-producao{color:#d5c4ff;background:#a982ff12;border-color:#a982ff38}.briefing-status.concluido{color:#a3e6bf;background:#56d68a12;border-color:#56d68a38}.briefing-contact{display:grid;grid-template-columns:1fr 1fr auto;gap:18px;align-items:end;margin-bottom:18px}.briefing-contact div{display:grid;gap:6px}.briefing-contact small,.briefing-answer small{font-size:10px;color:#8e9db1}.briefing-contact strong{font-size:13px;font-weight:550}.briefing-contact label{margin:0;min-width:160px}.briefing-contact select{display:block;margin-top:6px;width:100%;padding:8px 10px}.briefing-back-link{margin:0 0 18px}.briefing-answer-group{margin:0 0 12px;padding:0 18px}.briefing-answer-group summary{cursor:pointer;list-style:none;padding:16px 0;color:#dce8f6;font-weight:600}.briefing-answer-group summary::-webkit-details-marker{display:none}.briefing-answer-group summary:after{content:'+';float:right;color:#8ec5ff}.briefing-answer-group[open] summary:after{content:'−'}.briefing-answer-group>div{padding:0 0 10px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px}.briefing-answer{padding:10px 0;border-top:1px solid #b6cbe012;overflow-wrap:anywhere}.briefing-answer small{display:block;margin-bottom:6px}.briefing-answer div{font-size:13px;color:#d5e0ec;line-height:1.5}.briefing-auth,.briefing-notes{margin-top:16px}.briefing-auth h2,.briefing-notes h2{margin-bottom:8px}.briefing-auth p{margin:5px 0}.briefing-auth>small{display:block;margin-top:10px;color:#8394a8}.briefing-notes form{display:grid;gap:10px}.briefing-notes textarea{min-height:82px}.briefing-notes form button{justify-self:end}.briefing-note{border-top:1px solid #b6cbe018;padding:12px 0}.briefing-note p{color:#d3dfec}.briefing-note small{display:block;font-size:10px;color:#8799ae;margin-top:5px}
@media(max-width:700px){.briefing-wrap{padding-top:0}.briefing-wrap h1{margin-top:19px}.briefing-intro{margin-bottom:20px}.briefing-question{padding:16px 0 18px}.briefing-options,.briefing-options.multi{grid-template-columns:1fr;gap:8px}.briefing-choice{min-height:50px}.briefing-actions{position:sticky;bottom:0;background:linear-gradient(180deg,#070d17e8,#070d17 24%);padding:13px 0 max(13px,env(safe-area-inset-bottom));z-index:2}.briefing-actions button{flex:1;min-width:0}.publiccontent:has(.briefing-wrap){padding:32px 18px 20px}.briefing-contact{grid-template-columns:1fr 1fr}.briefing-contact label{grid-column:1/-1}.briefing-answer-group>div{grid-template-columns:1fr}.briefing-list{padding:6px 10px}}
@media(prefers-reduced-motion:reduce){.briefing-input,.briefing-choice,.briefing-actions .primary{transition:none}}
.dashboard-subnav{display:flex;align-items:center;gap:5px;padding:4px;border:1px solid var(--border);border-radius:12px;background:rgba(255,255,255,.025);margin:0 0 18px;width:max-content;max-width:100%}.dashboard-subnav button{border:0;background:transparent;color:var(--muted);padding:8px 13px;border-radius:8px;font:inherit;font-size:12px;cursor:pointer;transition:background .18s ease,color .18s ease}.dashboard-subnav button:hover{color:var(--text)}.dashboard-subnav button.active{background:rgba(96,165,250,.13);color:#9acbff;box-shadow:inset 0 0 0 1px rgba(96,165,250,.17)}.pipeline-origin-tag{display:inline-flex;margin-left:8px;vertical-align:middle;border:1px solid rgba(96,165,250,.22);background:rgba(96,165,250,.08);color:#9acbff;border-radius:999px;padding:3px 7px;font-size:9px;font-weight:600;letter-spacing:.01em}.profile-bar-row[title]{cursor:default}@media(max-width:640px){.dashboard-subnav{width:100%}.dashboard-subnav button{flex:1;padding:8px 6px}.pipeline-origin-tag{margin-left:5px;font-size:8px;padding:2px 5px}}
.delete-consequences{padding:12px 14px;margin:16px 0;border:1px solid var(--line);border-radius:12px;background:rgba(96,165,250,.045)}.delete-consequences p{margin:7px 0;font-size:13px}.delete-actions{flex-wrap:wrap}.retained-financial-section{margin:0 0 20px}.retained-notice{padding:12px 14px;border:1px solid var(--line);border-radius:10px;color:var(--muted);font-size:13px;line-height:1.55}.retained-record{padding:18px 0;border-top:1px solid var(--line)}.retained-record>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.retained-record h3{margin:0 0 5px;font-size:16px}.retained-record header p{margin:0;color:var(--muted);font-size:12px}.retained-contracts{display:grid;gap:8px;margin:14px 0}.retained-contract{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid var(--line);border-radius:10px;background:rgba(255,255,255,.015);cursor:pointer}.retained-contract input{margin-top:4px}.retained-contract span{display:grid;gap:4px}.retained-contract small{color:var(--muted);font-size:12px;line-height:1.45}@media(max-width:600px){.retained-record>header{display:grid}.delete-actions button{flex:1 1 100%}}
.retained-contract-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px}.retained-contract-item>.small{white-space:nowrap}@media(max-width:700px){.retained-contract-item{grid-template-columns:1fr}.retained-contract-item>.small{justify-self:start;min-height:40px}}
.dashboard-contract-delete .delete-dialog{max-height:calc(100dvh - 40px);overflow-y:auto}.dashboard-contract-delete label{line-height:1.55}.dashboard-contract-delete input[type=checkbox]{margin-right:7px}.dashboard-contract-delete .settingsfield{margin-top:14px}
