:root{
 --bg:#f4f7fb;--paper:#fff;--ink:#0d1b32;--muted:#63708a;--line:#e6ebf3;--line2:#dbe2ee;
 --navy:#0d1b32;--blue:#3d74ff;--violet:#7b4fe9;--mint:#28b984;--orange:#e98025;--shadow:0 18px 50px rgba(41,62,97,.10);--shadow2:0 9px 30px rgba(41,62,97,.08)
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;background:linear-gradient(180deg,#f9fbfd 0,#f4f7fb 42%,#eef3f9 100%);color:var(--ink);-webkit-font-smoothing:antialiased}a{color:inherit}svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hidden{display:none!important}
/* shell */
.leya-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);border-bottom:1px solid rgba(224,230,240,.9)}.leya-header-inner{max-width:1540px;margin:auto;height:64px;padding:0 34px;display:flex;align-items:center;gap:28px}.leya-wordmark{text-decoration:none;min-width:130px}.leya-wordmark strong{font-size:24px;letter-spacing:.28em;font-weight:650;color:#101c31}.leya-menu{display:flex;align-items:center;gap:4px;flex:1}.leya-menu a{height:38px;padding:0 14px;border-radius:11px;display:flex;gap:8px;align-items:center;text-decoration:none;color:#263248;font-size:12px;font-weight:600;transition:.18s}.leya-menu a:hover{background:#f0f4f9}.leya-menu a.active{background:#101c31;color:#fff;box-shadow:0 8px 18px rgba(16,28,49,.16)}.nav-ico{width:17px;height:17px;display:grid;place-items:center}.nav-ico svg{width:16px;height:16px}.leya-header-right{display:flex;align-items:center;gap:16px;color:#617087;font-size:10px;white-space:nowrap}.header-search{width:34px;height:34px;border-radius:50%;display:grid;place-items:center}.header-search svg{width:16px;height:16px}.header-date{padding-left:2px}.system-ready{display:flex;align-items:center;gap:7px;border-left:1px solid #e5e9f0;padding-left:16px}.system-ready i,.footer-ready i{width:8px;height:8px;border-radius:50%;background:#34c88a;box-shadow:0 0 0 4px rgba(52,200,138,.08)}.page{padding:0 28px 28px}.page-inner{max-width:1480px;margin:0 auto}.leya-footer{margin-top:18px;padding:18px 2px 6px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#758097;font-size:9px}.footer-brand,.footer-links{display:flex;align-items:center;gap:14px}.footer-brand{letter-spacing:.02em}.footer-brand:first-letter{letter-spacing:.2em}.footer-brand i{width:1px;height:14px;background:#ccd4e1}.footer-links a{text-decoration:none}.footer-ready{display:flex;align-items:center;gap:6px}.footer-ready i{width:7px;height:7px}
/* generic premium */
.float-panel,.white-card,.project-card,.company-summary-row>div,.usage-row>div{background:rgba(255,255,255,.92);border:1px solid rgba(226,232,241,.85);border-radius:20px;box-shadow:var(--shadow2)}.white-card{padding:24px}.overline,.section-title span,.setting-head span,.threads-head span{font-size:9px;font-weight:800;letter-spacing:.14em;color:#6a7a95}.section-title,.setting-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.section-title h2,.setting-head h2{font-size:18px;margin:6px 0 0;letter-spacing:-.02em}.section-title a,.section-head-premium a{font-size:10px;text-decoration:none;color:#233e71;display:flex;align-items:center;gap:5px}.section-title a svg,.section-head-premium a svg{width:12px;height:12px}.empty-state{padding:30px 0;color:#8b95a8;font-size:12px}.btn-black,.primary-link,.dark-cta,.launch-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;background:#101c31;color:#fff;text-decoration:none;padding:12px 17px;font-size:11px;font-weight:750;cursor:pointer;box-shadow:0 10px 22px rgba(16,28,49,.16)}.btn-black svg,.dark-cta svg{width:13px;height:13px}.page-head{padding:34px 2px 22px;display:flex;justify-content:space-between;gap:28px;align-items:end}.page-head h1{font-size:35px;margin:6px 0 8px;letter-spacing:-.04em}.page-head p{font-size:12px;color:#6d7890;margin:0;max-width:760px;line-height:1.6}
/* overview */
.overview-hero{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(350px,.9fr);gap:18px;padding:20px 0 18px}.hero-copy,.pause-card{position:relative;overflow:hidden;border-radius:23px;border:1px solid rgba(226,232,241,.9);box-shadow:var(--shadow);min-height:155px}.hero-copy{background:linear-gradient(135deg,#fff 0%,#fff 55%,#f7f8fc 100%);padding:25px 30px}.hero-brand{font-size:42px;line-height:1;letter-spacing:.18em;font-weight:650;margin-bottom:10px}.hero-copy h1{font-size:28px;line-height:1.1;letter-spacing:-.035em;margin:0 0 10px}.hero-copy p{max-width:770px;margin:0;color:#4f5d75;font-size:14px;line-height:1.45}.hero-art{position:absolute;right:8%;bottom:-14px;width:300px;height:110px;opacity:.55;pointer-events:none}.hero-art span{position:absolute;border:1px solid #d8e1f2;border-radius:50% 50% 0 0;transform:rotate(-12deg)}.hero-art span:nth-child(1){width:170px;height:100px;right:80px;bottom:-55px;background:linear-gradient(150deg,rgba(93,132,255,.08),rgba(120,76,230,.03))}.hero-art span:nth-child(2){width:140px;height:70px;right:0;bottom:-40px;background:linear-gradient(150deg,rgba(67,166,218,.09),rgba(72,202,172,.03))}.hero-art span:nth-child(3){width:90px;height:55px;right:120px;bottom:-18px}.pause-card{background:linear-gradient(135deg,#f0fbf6 0,#e8f8f3 100%);padding:24px 22px;display:grid;grid-template-columns:54px 1fr auto;gap:14px;align-items:center}.pause-card.active{background:linear-gradient(135deg,#eef6ff,#edf4ff)}.pause-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#47c887;color:#fff;box-shadow:0 12px 24px rgba(39,184,125,.2)}.pause-card.active .pause-icon{background:#4375ff}.pause-icon svg{width:20px;height:20px;stroke-width:2.4}.pause-copy b,.pause-copy span{display:block}.pause-copy b{font-size:17px}.pause-copy span{font-size:12px;margin-top:4px}.pause-action{height:50px;border-radius:13px;padding:0 18px;background:#101c31;color:#fff;text-decoration:none;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;box-shadow:0 10px 25px rgba(16,28,49,.15)}.pause-action svg{width:14px;height:14px}.pause-card small{grid-column:1/3;color:#33445f;font-size:9.5px}.pause-settings{grid-column:3;text-decoration:none;font-size:10px;display:flex;align-items:center;justify-content:flex-end;gap:5px}.pause-settings svg{width:12px;height:12px}
.overview-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:18px}.float-kpi{min-height:108px;border-radius:20px;border:1px solid rgba(226,232,241,.85);background:#fff;box-shadow:var(--shadow2);padding:18px 20px;display:grid;grid-template-columns:52px 1fr 28px;align-items:center;gap:14px;text-decoration:none;position:relative;overflow:hidden}.float-kpi:after{content:"";position:absolute;inset:auto -20px -45px auto;width:120px;height:120px;border-radius:50%;filter:blur(8px);opacity:.08;background:currentColor}.float-kpi.blue{color:#316be8;background:linear-gradient(135deg,#fff 45%,#f0f6ff)}.float-kpi.orange{color:#e27b25;background:linear-gradient(135deg,#fff 45%,#fff7ee)}.float-kpi.violet{color:#7746df;background:linear-gradient(135deg,#fff 45%,#f7f2ff)}.float-kpi.mint{color:#199e70;background:linear-gradient(135deg,#fff 45%,#effaf6)}.kpi-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:currentColor;color:#fff;box-shadow:inset 0 0 0 9px rgba(255,255,255,.22)}.kpi-icon svg{width:22px;height:22px}.float-kpi>div>span,.float-kpi>div>b,.float-kpi>div>small{display:block;color:var(--ink)}.float-kpi>div>span{font-size:12px}.float-kpi>div>b{font-size:30px;line-height:1;margin:7px 0}.float-kpi>div>small{font-size:10px;color:#718098}.float-kpi>i{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.82);display:grid;place-items:center;box-shadow:0 8px 16px rgba(45,65,92,.08)}.float-kpi>i svg{width:12px;height:12px}
.overview-triptych{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px;margin-bottom:18px}.overview-triptych .float-panel{min-height:245px;padding:20px 22px}.panel-title{display:flex;align-items:center;gap:10px}.panel-title h2{font-size:16px;margin:0;letter-spacing:-.015em}.title-icon{width:25px;height:25px;display:grid;place-items:center}.title-icon svg{width:22px;height:22px}.title-icon.small{width:22px;height:22px}.title-icon.small svg{width:19px;height:19px}.empty-visual{display:grid;grid-template-columns:120px 1fr;gap:28px;align-items:center;height:170px}.orb{width:92px;height:92px;border-radius:50%;display:grid;place-items:center;box-shadow:0 14px 30px rgba(68,89,130,.14),inset 0 0 0 15px rgba(255,255,255,.35);position:relative}.orb:after{content:"";position:absolute;inset:14px;border-radius:50%;background:rgba(255,255,255,.6)}.orb svg{width:36px;height:36px;position:relative;z-index:1}.blue-orb{color:#3d74ff;background:linear-gradient(145deg,#dbe8ff,#f7f9ff)}.violet-orb{color:#6b68e8;background:linear-gradient(145deg,#e1e6ff,#f8f9ff)}.empty-visual b{display:block;font-size:16px}.empty-visual p{font-size:11px;line-height:1.55;color:#66748b;max-width:290px;margin:7px 0 16px}.soft-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:10px;border:1px solid #d8e0ec;background:#fff;color:#17243a;text-decoration:none;font-size:10px;font-weight:700;box-shadow:0 7px 20px rgba(48,67,95,.07)}.soft-cta svg{width:12px;height:12px}.next-steps{list-style:none;padding:12px 0 0;margin:0;display:grid;gap:8px}.next-steps li{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:center}.next-steps i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:800;background:#e7eefb;color:#224b9c}.next-steps li:nth-child(2) i{background:#eee8ff;color:#6741d7}.next-steps li:nth-child(3) i{background:#fff0df;color:#c56e1f}.next-steps li:nth-child(4) i{background:#dff6ec;color:#17885f}.next-steps b,.next-steps span{display:block}.next-steps b{font-size:10.5px}.next-steps span{font-size:9.5px;color:#748197;margin-top:3px}
.companies-overview{padding:17px 20px;margin-bottom:18px}.section-head-premium{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.section-head-premium>div{display:flex;align-items:center;gap:9px}.section-head-premium h2{font-size:15px;margin:0}.premium-table{border:1px solid #e5eaf2;border-radius:13px;overflow:hidden}.premium-row{display:grid;grid-template-columns:1.1fr .75fr 1.35fr 1fr 70px;align-items:center;gap:14px;min-height:50px;padding:0 14px;border-top:1px solid #e9edf4;text-decoration:none;background:rgba(255,255,255,.72)}.premium-row:hover:not(.head){background:#f8fbff}.premium-row.head{border-top:0;min-height:35px;background:#f5f8fc;color:#5f6d84;font-size:9px}.premium-row span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.premium-row b{font-size:10.5px}.premium-row strong{font-size:13px}.company-empty{height:78px;display:flex;justify-content:center;align-items:center;gap:12px;color:#607087}.company-empty>span{width:30px;height:30px;display:grid;place-items:center}.company-empty svg{width:22px;height:22px}.company-empty b,.company-empty p{display:block;margin:0}.company-empty b{font-size:11px;color:#17243a}.company-empty p{font-size:9px;margin-top:2px}.process-panel{padding:16px 20px;margin-bottom:4px}.process-flow{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:12px}.flow-step{width:110px;text-align:center}.flow-icon{margin:0 auto 7px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;color:#3670ef;background:#e8f0ff;box-shadow:0 10px 20px rgba(56,93,160,.08)}.flow-icon.c1{color:#6f47d8;background:#efe9ff}.flow-icon.c2{color:#d4771f;background:#fff0e0}.flow-icon.c3{color:#168e62;background:#e0f6ec}.flow-icon svg{width:20px;height:20px}.flow-step b,.flow-step small{display:block}.flow-step b{font-size:10px}.flow-step small{font-size:8.5px;line-height:1.3;color:#748197;margin-top:4px}.flow-arrow{color:#91a0b8;margin-top:13px;flex:0 0 auto}.flow-arrow svg{width:16px;height:16px}
/* tables/search shared */
.search{display:flex;gap:8px}.search input{width:min(380px,46vw);border:1px solid var(--line2);border-radius:12px;background:rgba(255,255,255,.94);padding:12px 14px;outline:none;box-shadow:0 7px 20px rgba(48,67,95,.05)}.search input:focus{border-color:#a7b4c8}.search button{border:0;background:#101c31;color:#fff;border-radius:11px;padding:11px 16px;cursor:pointer;box-shadow:0 8px 18px rgba(16,28,49,.14)}.table{width:100%}.tr{display:grid;grid-template-columns:1.2fr .85fr 1.5fr 70px;gap:16px;align-items:center;padding:13px 10px;border-top:1px solid #edf0f5;text-decoration:none;min-width:0}.tr:hover:not(.th){background:#f8fbff}.tr.th{border-top:0;color:#8793a8;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.tr span{font-size:10.5px;min-width:0;overflow:hidden;text-overflow:ellipsis}.tr b{font-size:11.5px}.tr .score{font-weight:800;font-size:14px;text-align:right}.company-table .tr{grid-template-columns:1.1fr .8fr 1.7fr 70px}
/* tasks / chat */
.task-page .page{padding-bottom:20px}.task-page .page-inner{max-width:1460px}.tasks-shell{display:grid;grid-template-columns:295px minmax(0,1fr);min-height:calc(100vh - 108px);margin-top:18px;background:rgba(255,255,255,.86);border:1px solid #e3e8f1;border-radius:22px;box-shadow:var(--shadow);overflow:hidden}.threads{border-right:1px solid #e4e9f1;background:linear-gradient(180deg,#f7f9fc,#f2f5fa);padding:22px 14px}.threads-head{display:flex;align-items:flex-start;justify-content:space-between;padding:0 8px 17px}.threads-head h2{font-size:18px;margin:5px 0}.threads-head button{width:36px;height:36px;border:1px solid #dce3ed;background:#fff;border-radius:11px;font-size:20px;cursor:pointer;box-shadow:0 8px 18px rgba(48,67,95,.06)}.thread-list{display:grid;gap:5px}.thread{border:0;background:transparent;border-radius:11px;padding:12px 11px;text-align:left;cursor:pointer;color:#25324a}.thread:hover{background:#fff}.thread.active{background:#fff;box-shadow:0 8px 20px rgba(48,67,95,.08)}.thread b,.thread span{display:block}.thread b{font-size:11px;line-height:1.35}.thread span{font-size:9px;color:#8792a4;margin-top:5px}.thread-empty{font-size:11px;color:#8c97a9;padding:16px 10px}.chat{display:grid;grid-template-rows:auto minmax(400px,1fr) auto;min-width:0;background:rgba(255,255,255,.94)}.chat-head{min-height:82px;border-bottom:1px solid #e7ebf2;padding:16px 27px;display:flex;align-items:center;justify-content:space-between;gap:20px}.chat-head h1{font-size:18px;margin:7px 0 0;letter-spacing:-.015em}.state-pill{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#edf2f8;color:#58677f;font-size:9px;font-weight:750}.messages{padding:38px max(24px,8vw);overflow:auto;max-height:calc(100vh - 245px);background:radial-gradient(circle at 50% 40%,rgba(236,242,252,.65),transparent 36%)}.welcome{max-width:700px;margin:10vh auto 0;text-align:center}.welcome:before{content:"LEYA";display:grid;place-items:center;margin:0 auto 22px;width:70px;height:70px;border-radius:50%;background:linear-gradient(145deg,#e8f0ff,#fff);color:#2f6ee9;letter-spacing:.16em;font-weight:800;box-shadow:0 15px 35px rgba(62,91,153,.13)}.welcome b{font-size:28px;letter-spacing:-.03em}.welcome p{color:#6b7890;line-height:1.65;font-size:13px}.msg{max-width:820px;margin:0 auto 25px}.msg-role{font-size:9px;font-weight:800;color:#8994a7;margin-bottom:7px}.bubble{display:inline-block;max-width:100%;font-size:13.5px;line-height:1.65;color:#233049}.msg.user{text-align:right}.msg.user .msg-role{text-align:right}.msg.user .bubble{background:linear-gradient(135deg,#edf2f8,#f5f7fa);border-radius:16px 16px 4px 16px;padding:12px 15px;text-align:left}.msg.assistant .bubble{padding:0}.composer{margin:0 auto 20px;width:min(880px,calc(100% - 36px));border:1px solid #dce3ee;background:#fff;border-radius:18px;box-shadow:0 14px 38px rgba(39,61,94,.11);display:grid;grid-template-columns:1fr auto;align-items:end;padding:8px}.composer textarea{border:0;outline:0;resize:none;max-height:150px;min-height:42px;padding:10px 11px;background:transparent;font-size:14px;line-height:1.5}.composer button{border:0;background:#101c31;color:#fff;border-radius:11px;padding:12px 16px;cursor:pointer;font-size:11px;font-weight:750}.launch-btn{background:linear-gradient(135deg,#2f71f1,#5c73f4)}
/* projects */
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.project-card{padding:24px;min-height:255px;display:flex;flex-direction:column;position:relative;overflow:hidden}.project-card:after{content:"";position:absolute;width:160px;height:160px;border-radius:50%;right:-55px;bottom:-65px;background:linear-gradient(145deg,rgba(84,121,255,.09),rgba(126,78,232,.04))}.project-top{display:flex;align-items:center;justify-content:space-between}.project-top time{font-size:9px;color:#8c97aa}.project-card h2{font-size:20px;line-height:1.25;letter-spacing:-.02em;margin:20px 0 10px}.project-card p{font-size:11px;line-height:1.6;color:#6e7b91;margin:0}.project-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;padding-top:22px;border-top:1px solid #e9edf4}.project-meta b,.project-meta span{display:block}.project-meta b{font-size:22px}.project-meta span{font-size:9px;color:#8995a8;margin-top:3px}
/* company */
.company-hero-new{display:grid;grid-template-columns:1fr 150px;gap:30px;align-items:end;padding:34px 4px 22px}.back-link{font-size:10px;text-decoration:none;color:#66748b}.company-hero-new h1{font-size:38px;letter-spacing:-.035em;margin:7px 0 12px}.company-hero-new p{max-width:850px;color:#647189;line-height:1.6;font-size:13px;margin:0}.company-score{justify-self:end;width:125px;height:125px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#466ff1,#101c31 72%);color:#fff;display:grid;place-content:center;text-align:center;box-shadow:0 18px 38px rgba(36,65,130,.19),inset 0 0 0 7px rgba(255,255,255,.09)}.company-score span,.company-score small{font-size:9px;color:#d4dded}.company-score b{font-size:36px;line-height:1.05;margin:4px 0}.company-summary-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.company-summary-row>div{padding:17px;background:linear-gradient(135deg,#fff,#f9fbfe)}.company-summary-row span,.company-summary-row b{display:block}.company-summary-row span{font-size:9px;color:#8793a7}.company-summary-row b{font-size:13px;margin-top:7px}.company-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,.6fr);gap:16px}.company-side{display:grid;gap:16px;align-content:start}.finding{padding:17px 0;border-top:1px solid #e9edf4}.finding:first-of-type{border-top:0}.finding-head{display:flex;justify-content:space-between;gap:10px}.finding-head span{font-size:9px;text-transform:uppercase;letter-spacing:.08em;color:#6b7890}.finding-head small{font-size:9px;color:#8f9aab}.finding h3{font-size:15px;margin:8px 0}.finding p{font-size:12px;line-height:1.6;color:#627087;margin:0}.finding a{display:inline-block;margin-top:8px;font-size:10px;color:#315fae}.task-item{display:grid;grid-template-columns:1fr 42px;gap:12px;align-items:center;padding:13px 0;border-top:1px solid #e9edf4}.task-item:first-of-type{border-top:0}.task-item b,.task-item span{display:block}.task-item b{font-size:11px}.task-item span{font-size:9px;color:#8995a8;margin-top:4px}.task-item strong{text-align:right;font-size:11px}.event-line{display:grid;grid-template-columns:48px 1fr;gap:10px;padding:11px 0;border-top:1px solid #e9edf4;align-items:start}.event-line:first-of-type{border-top:0}.event-line time{font-size:9px;color:#8c97aa}.event-line p{font-size:10.5px;line-height:1.45;margin:0;color:#536078}
/* settings */
.notice{background:linear-gradient(135deg,#eefaf5,#f6fcf9);border:1px solid #d5eee2;color:#2d6b55;border-radius:13px;padding:12px 15px;font-size:11px;margin-bottom:16px;box-shadow:0 8px 20px rgba(42,120,88,.05)}.settings-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px}.settings-index{position:sticky;top:84px;align-self:start;display:grid;gap:5px;padding:10px;border-radius:17px;background:rgba(255,255,255,.78);border:1px solid #e3e8f1;box-shadow:var(--shadow2)}.settings-index a{padding:11px 12px;border-radius:10px;text-decoration:none;font-size:11px;color:#617087}.settings-index a:hover{background:#f0f4fa;color:#14213a}.settings-content{display:grid;gap:16px}.setting-section{scroll-margin-top:90px}.setting-head{margin-bottom:22px}.setting-head p{max-width:500px;color:#748197;line-height:1.5;font-size:11px;margin:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid label{display:grid;gap:7px;font-size:10px;color:#69778e}.form-grid input{width:100%;border:1px solid #dce3ee;background:#f8fafd;border-radius:11px;padding:12px 13px;outline:none;color:#223049}.form-grid input:focus{border-color:#91a6ca;background:#fff;box-shadow:0 0 0 4px rgba(75,112,180,.07)}.btn-black{margin-top:17px}.usage-row{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin-bottom:20px}.usage-row>div{padding:15px;background:linear-gradient(135deg,#fff,#f7f9fd)}.usage-row span,.usage-row b{display:block}.usage-row span{font-size:9px;color:#8793a7}.usage-row b{font-size:20px;margin-top:6px}
/* system */
.system-kpi{margin-bottom:16px}.node-line{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #e9edf4}.node-line:first-of-type{border-top:0}.node-line b,.node-line span{display:block}.node-line b{font-size:11px}.node-line span,.node-line small{font-size:9px;color:#8995a8}.node-dot{width:8px;height:8px;border-radius:50%;background:#b9c2d0}.node-dot.online{background:#2fb27b;box-shadow:0 0 0 5px rgba(47,178,123,.08)}.node-dot.offline{background:#c5cad3}.kpi-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.kpi-row>div{min-height:105px;padding:16px 18px;background:#fff;border:1px solid #e3e8f1;border-radius:18px;box-shadow:var(--shadow2)}.kpi-row span,.kpi-row b,.kpi-row small{display:block}.kpi-row span{font-size:10px;color:#69778d}.kpi-row b{font-size:30px;margin:8px 0}.kpi-row small{font-size:9px;color:#8b95a7}.dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:16px 0}.work-line{display:grid;grid-template-columns:12px 1fr auto;gap:10px;align-items:center;padding:12px 0;border-top:1px solid #e9edf4}.work-line:first-of-type{border-top:0}.work-line b,.work-line span{display:block}.work-line b{font-size:11px}.work-line span{font-size:9px;color:#8995a8;margin-top:4px}.work-line strong{font-size:10px}.dot{width:8px;height:8px;border-radius:50%;background:#9aa5b7}.dot.working{background:#37bf86}.dot.review{background:#8066e6}.dot.queued{background:#4e82ef}
/* responsive */
@media(max-width:1150px){.leya-header-inner{padding:0 18px;gap:15px}.leya-wordmark{min-width:90px}.leya-menu a{padding:0 9px}.leya-header-right .header-date{display:none}.overview-hero{grid-template-columns:1.45fr .85fr}.overview-kpis{grid-template-columns:1fr 1fr}.overview-triptych{grid-template-columns:1fr 1fr}.next-card{grid-column:1/-1}.process-flow{overflow-x:auto;justify-content:flex-start;padding-bottom:8px}.flow-step{flex:0 0 110px}.project-grid{grid-template-columns:1fr 1fr}.company-layout{grid-template-columns:1fr}.settings-layout{grid-template-columns:1fr}.settings-index{position:static;display:flex;overflow-x:auto}.tasks-shell{grid-template-columns:230px 1fr}}
@media(max-width:820px){.leya-menu{overflow-x:auto}.leya-menu a span:last-child{display:none}.leya-menu a{width:38px;justify-content:center;padding:0}.leya-header-right{gap:8px}.system-ready{display:none}.page{padding:0 12px 22px}.overview-hero{grid-template-columns:1fr}.hero-copy{min-height:185px}.hero-art{display:none}.pause-card{grid-template-columns:50px 1fr}.pause-action{grid-column:1/-1}.pause-card small{grid-column:1/-1}.pause-settings{grid-column:1/-1;justify-content:flex-start}.overview-triptych{grid-template-columns:1fr}.next-card{grid-column:auto}.premium-table{overflow-x:auto}.premium-row{min-width:800px}.project-grid{grid-template-columns:1fr}.company-hero-new{grid-template-columns:1fr}.company-score{justify-self:start}.company-summary-row{grid-template-columns:1fr 1fr}.tasks-shell{display:block;border-radius:18px}.threads{display:none}.messages{padding:26px 16px}.form-grid,.usage-row{grid-template-columns:1fr}.setting-head{display:block}.setting-head p{margin-top:10px}.dash-grid{grid-template-columns:1fr}.kpi-row{grid-template-columns:1fr 1fr}.search{width:100%}.search input{width:100%}}
@media(max-width:560px){.leya-header-inner{height:58px}.leya-wordmark strong{font-size:20px}.header-search{display:none}.overview-kpis,.kpi-row,.company-summary-row{grid-template-columns:1fr}.overview-hero{padding-top:14px}.hero-brand{font-size:34px}.hero-copy h1{font-size:24px}.float-kpi{min-height:95px}.empty-visual{grid-template-columns:1fr;height:auto;padding:20px 0;text-align:center}.orb{margin:auto}.process-panel{overflow:hidden}.leya-footer{display:block}.footer-links{margin-top:10px}.page-head{display:block}.page-head .search{margin-top:15px}}

/* v3.7 opportunity economics */
.admin-money-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:14px 0 18px}.admin-money-card{position:relative;overflow:hidden;display:grid;grid-template-columns:58px 1fr 34px;gap:16px;align-items:center;text-decoration:none;padding:20px 22px;border-radius:22px;background:rgba(255,255,255,.88);border:1px solid rgba(224,230,240,.92);box-shadow:0 18px 48px rgba(45,65,104,.09);transition:.18s}.admin-money-card:before{content:"";position:absolute;inset:auto -30px -60px auto;width:180px;height:180px;border-radius:50%;opacity:.14;filter:blur(2px)}.admin-money-card.potential:before{background:linear-gradient(135deg,#5877ff,#8f5df2)}.admin-money-card.earned:before{background:linear-gradient(135deg,#2fb680,#85dbbd)}.admin-money-card:hover{transform:translateY(-2px);box-shadow:0 22px 54px rgba(45,65,104,.13)}.admin-money-card .money-icon{width:54px;height:54px;border-radius:18px;display:grid;place-items:center;font-size:23px}.admin-money-card.potential .money-icon{background:linear-gradient(145deg,#eef0ff,#f8f4ff);color:#7155df}.admin-money-card.earned .money-icon{background:linear-gradient(145deg,#eafaf4,#f6fffb);color:#199267}.admin-money-card span,.admin-money-card b,.admin-money-card small{display:block}.admin-money-card span{font-size:10px;color:#6e7c92}.admin-money-card b{font-size:28px;letter-spacing:-.025em;margin:5px 0 4px}.admin-money-card small{font-size:9px;color:#8a95a7}.admin-money-card>i{justify-self:end;width:30px;height:30px;border-radius:50%;background:#f4f6fa;display:grid;place-items:center;color:#6f7b90}
.opportunity-card{margin-bottom:16px}.opportunity-card .section-title{align-items:center}.opp-status{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;padding:7px 10px;border-radius:999px;background:#f1f3f7;color:#657188}.opp-status.validated,.opp-status.proposal,.opp-status.contracted,.opp-status.won{background:#eaf8f2;color:#20825f}.opp-status.hypothesis{background:#fff5e8;color:#a7651e}.opp-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:22px}.opp-main h3{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#7d899d;margin:20px 0 7px}.opp-main h3:first-child{margin-top:0}.opp-main p{font-size:13px;line-height:1.65;color:#4f5d74;margin:0}.opp-plan{padding-left:20px;margin:16px 0 0}.opp-plan li{font-size:11px;line-height:1.55;color:#56647a;margin:6px 0}.opp-metrics{display:grid;grid-template-columns:1fr 1fr;gap:10px}.opp-metrics>div{padding:16px;border:1px solid #e6ebf3;border-radius:16px;background:linear-gradient(145deg,#fff,#f8fafe);box-shadow:0 8px 24px rgba(39,61,94,.05)}.opp-metrics span,.opp-metrics b{display:block}.opp-metrics span{font-size:9px;color:#8b96a9}.opp-metrics b{font-size:15px;line-height:1.3;margin-top:7px;color:#18243a}
.admin-econ-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.admin-econ-kpis>div{padding:18px 20px;border-radius:20px;background:#fff;border:1px solid #e3e8f1;box-shadow:var(--shadow2)}.admin-econ-kpis span,.admin-econ-kpis b{display:block}.admin-econ-kpis span{font-size:9px;color:#8692a6}.admin-econ-kpis b{font-size:22px;margin-top:7px}.opp-table .premium-row{grid-template-columns:1.15fr 1.4fr .7fr 1fr .55fr}.premium-row small{display:block;font-size:8px;color:#98a2b2;margin-top:3px}.revenue-entry{margin-top:16px}.form-grid select{width:100%;border:1px solid #dce3ee;background:#f8fafd;border-radius:11px;padding:12px 13px;outline:none;color:#223049}.form-grid .wide{grid-column:1/-1}
@media(max-width:900px){.admin-money-row{grid-template-columns:1fr}.opp-grid{grid-template-columns:1fr}.admin-econ-kpis{grid-template-columns:1fr 1fr}.opp-table{overflow-x:auto}.opp-table .premium-row{min-width:900px}}
@media(max-width:560px){.admin-econ-kpis{grid-template-columns:1fr}.admin-money-card{grid-template-columns:48px 1fr 28px;padding:17px}.admin-money-card .money-icon{width:46px;height:46px;border-radius:15px}.admin-money-card b{font-size:23px}.opp-metrics{grid-template-columns:1fr}}

/* v3.7.1 automatic economics + visible goal */
.float-panel,.white-card,.admin-econ-kpis>div,.premium-table,.premium-row,.form-grid>*{min-width:0}
.form-grid input,.form-grid select,.form-grid textarea{max-width:100%;min-width:0}
.current-goal-strip{display:grid;grid-template-columns:54px minmax(0,1fr) 190px;gap:16px;align-items:center;margin:0 0 18px;padding:17px 20px;border:1px solid rgba(224,230,240,.9);border-radius:20px;background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(247,249,253,.92));box-shadow:var(--shadow2)}
.goal-mark{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#edf3ff,#f5f2ff);color:#4f6fe8;font-size:21px}.goal-main span,.goal-main b,.goal-main p{display:block}.goal-main span{font-size:8px;font-weight:800;letter-spacing:.14em;color:#7f8ca2}.goal-main b{font-size:15px;margin:4px 0 5px}.goal-main p{font-size:10.5px;line-height:1.5;color:#657187;margin:0;max-width:900px}.goal-state{justify-self:end;text-align:right}.goal-state small,.goal-state strong,.goal-state a{display:block}.goal-state small{font-size:8px;color:#8b96a8}.goal-state strong{font-size:12px;margin:4px 0 7px}.goal-state a{text-decoration:none;font-size:9px;color:#315fbd}.goal-state a svg{width:10px;height:10px;vertical-align:-1px}
.auto-econ-note{display:grid;grid-template-columns:48px minmax(0,1fr);gap:14px;align-items:center;margin-bottom:16px;padding:17px 20px;background:linear-gradient(135deg,#f8fbff,#f7fbf9)}.auto-note-icon{width:44px;height:44px;border-radius:15px;background:linear-gradient(145deg,#eef4ff,#eefaf5);color:#416bd8;display:grid;place-items:center;font-size:19px}.auto-econ-note b,.auto-econ-note p{display:block}.auto-econ-note b{font-size:12px}.auto-econ-note p{font-size:10px;line-height:1.55;color:#6d798f;margin:5px 0 0}.revenue-ledger{margin-top:16px}.section-head-premium p{font-size:9px;color:#8995a8;margin:5px 0 0}.ledger-table .premium-row{grid-template-columns:1.2fr .7fr .85fr .8fr 1fr}
@media(max-width:820px){.current-goal-strip{grid-template-columns:48px 1fr}.goal-state{grid-column:1/-1;justify-self:start;text-align:left}.ledger-table{overflow-x:auto}.ledger-table .premium-row{min-width:760px}}
/* v3.8 multilingual / task context */
.chat-head-actions{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;justify-content:flex-end}.task-locales{display:flex;gap:8px;flex-wrap:wrap}.task-locales label{display:grid;gap:4px;font-size:10px;font-weight:800;letter-spacing:.05em;color:#75839a;text-transform:uppercase}.task-locales select{min-width:112px;height:38px;padding:0 30px 0 11px;border:1px solid #dfe6ef;border-radius:11px;background:#fff;color:#172033;font:600 12px/1 system-ui;box-shadow:0 5px 18px rgba(26,46,76,.05);outline:none}.task-locales select:focus{border-color:#96b4ff;box-shadow:0 0 0 3px rgba(69,112,255,.1)}.setting-section select{width:100%;box-sizing:border-box;min-height:45px;border:1px solid #dce4ee;border-radius:12px;background:#fff;padding:0 12px;color:#182235}.currency-tag,.language-tag{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#f1f5fb;color:#526078;font-size:11px;font-weight:800}@media(max-width:900px){.chat-head{align-items:flex-start;gap:14px;flex-direction:column}.chat-head-actions{width:100%;justify-content:flex-start}.task-locales{width:100%}.task-locales label{flex:1;min-width:120px}.task-locales select{width:100%}}
/* v3.9 Reports */
.reports-overview{margin-top:18px}.reports-empty{min-height:120px;display:flex;align-items:center;justify-content:center;gap:16px;color:#68768d}.reports-empty>span{width:50px;height:50px;border-radius:17px;background:linear-gradient(145deg,#eef3ff,#f4f0ff);color:#5a70e5;display:grid;place-items:center}.reports-empty svg{width:23px}.reports-empty b,.reports-empty p{display:block;margin:0}.reports-empty b{color:#18243a;font-size:13px}.reports-empty p{font-size:10px;margin-top:4px}.report-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:16px}.report-card{min-width:0;display:grid;grid-template-columns:44px minmax(0,1fr) 26px;gap:12px;align-items:center;padding:15px;border:1px solid #e6ebf3;border-radius:17px;background:linear-gradient(145deg,#fff,#f9fbff);text-decoration:none;color:#17233a;box-shadow:0 8px 25px rgba(39,61,94,.05);transition:.18s}.report-card:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(39,61,94,.09)}.report-card-icon{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#edf4ff,#f5f1ff);color:#5871e9}.report-card-icon svg{width:20px}.report-card-copy{min-width:0}.report-card-copy span,.report-card-copy b,.report-card-copy p,.report-card-copy small{display:block}.report-card-copy span{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#8290a5}.report-card-copy b{font-size:12px;margin:4px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.report-card-copy p{font-size:9.5px;line-height:1.45;color:#66748a;margin:0}.report-card-copy small{font-size:8px;color:#9aa4b4;margin-top:7px}.report-card>i{width:26px;height:26px;border-radius:50%;background:#f2f5fa;display:grid;place-items:center;color:#70809a}.report-card>i svg{width:12px}
.report-filter-bar{display:flex;gap:8px;flex-wrap:wrap;padding:12px;margin-bottom:18px}.report-filter-bar a{display:inline-flex;gap:7px;align-items:center;padding:9px 12px;border-radius:11px;text-decoration:none;color:#617086;font-size:10px;font-weight:700;background:#f6f8fb}.report-filter-bar a.active{background:#142238;color:#fff}.report-filter-bar b{font-size:9px;opacity:.7}.reports-empty-page{text-align:center;padding:70px 25px}.big-report-orb{width:74px;height:74px;border-radius:24px;margin:0 auto 18px;display:grid;place-items:center;background:linear-gradient(145deg,#edf4ff,#f3efff);color:#5571eb;box-shadow:0 18px 38px rgba(61,87,154,.12)}.big-report-orb svg{width:32px}.reports-empty-page h2{font-size:20px;margin:0 0 8px}.reports-empty-page p{font-size:11px;color:#758297}.reports-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.report-list-card{display:block;position:relative;padding:22px;border:1px solid #e4eaf2;border-radius:22px;background:linear-gradient(145deg,#fff,#fafcff);box-shadow:var(--shadow2);text-decoration:none;color:#152039;transition:.2s;overflow:hidden}.report-list-card:after{content:"";position:absolute;right:-60px;bottom:-80px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,#edf3ff 0,transparent 68%);pointer-events:none}.report-list-card:hover{transform:translateY(-3px);box-shadow:0 22px 50px rgba(41,62,96,.11)}.report-list-top,.report-list-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.report-type-pill{display:inline-flex;padding:6px 9px;border-radius:999px;background:#edf3ff;color:#4966ca;font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.report-version{font-size:9px;color:#909bad}.report-list-card h2{font-size:18px;line-height:1.25;margin:15px 0 8px}.report-list-card p{font-size:10.5px;line-height:1.55;color:#68758b;margin:0;min-height:48px}.report-meta{display:flex;gap:14px;flex-wrap:wrap;margin:16px 0;color:#7b8799}.report-meta span{display:flex;align-items:center;gap:6px;font-size:9px}.report-meta svg{width:13px}.report-list-bottom{border-top:1px solid #edf0f5;padding-top:12px;color:#8a95a6;font-size:9px}.report-list-bottom i{margin-left:auto;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#f3f6fa}.report-list-bottom i svg{width:12px}
.report-hero{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:28px;align-items:center;padding:30px;margin-bottom:16px}.report-hero h1{font-size:34px;line-height:1.08;letter-spacing:-.025em;margin:12px 0}.report-hero p{max-width:900px;color:#66748b;line-height:1.6;font-size:12px;margin:0}.report-meta-line{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.report-meta-line span{padding:6px 9px;border-radius:9px;background:#f5f7fa;font-size:8.5px;color:#728096}.report-hero-side{display:grid;gap:12px}.report-confidence{padding:18px;border-radius:18px;background:linear-gradient(145deg,#f6f9ff,#f7f4ff)}.report-confidence span,.report-confidence b{display:block}.report-confidence span{font-size:9px;color:#8090a6}.report-confidence b{font-size:27px;margin:4px 0 12px}.report-confidence i{display:block;height:7px;border-radius:999px;background:#e5eaf3;overflow:hidden}.report-confidence i:after{content:"";display:block;width:calc(var(--v)*1%);height:100%;border-radius:inherit;background:linear-gradient(90deg,#4f7df4,#8d69ed)}.report-print{border:1px solid #e0e6ef;cursor:pointer}.report-context-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:16px}.report-context-card{display:block;text-decoration:none;padding:17px 20px;border:1px solid #e6eaf1;border-radius:18px;background:#fff;color:#17233a;box-shadow:var(--shadow2)}.report-context-card span,.report-context-card b,.report-context-card small{display:block}.report-context-card span{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#8a96a8}.report-context-card b{font-size:13px;margin:6px 0}.report-context-card small{font-size:9px;color:#7b8799}.report-section{margin-bottom:16px}.report-section h2{font-size:17px;margin:0 0 14px}.report-section.executive{background:linear-gradient(145deg,#fff,#f8fbff)}.report-lead,.report-text{font-size:12px;line-height:1.75;color:#445269}.report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.report-metric{padding:18px;border-radius:18px;border:1px solid #e5eaf2;background:#fff;box-shadow:var(--shadow2)}.report-metric span,.report-metric b,.report-metric small{display:block}.report-metric span{font-size:8px;color:#8793a6}.report-metric b{font-size:17px;margin:6px 0}.report-metric small{font-size:8px;color:#9aa4b4}.report-bullets{padding-left:18px;margin:10px 0 0}.report-bullets li,.report-numbered li{font-size:11px;line-height:1.6;color:#4f5c72;margin:7px 0}.report-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.report-sources{display:grid;gap:10px}.report-sources>div{padding:12px 14px;border-radius:12px;background:#f7f9fc}.report-sources b,.report-sources a{display:block}.report-sources b{font-size:10px}.report-sources a{font-size:9px;color:#426bc8;margin-top:4px;overflow-wrap:anywhere}.report-assets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.report-assets>div{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #e6eaf2;border-radius:13px}.report-assets svg{width:18px;color:#5771df}.report-assets b,.report-assets small{display:block}.report-assets b{font-size:10px}.report-assets small{font-size:8px;color:#8793a7}.version-history>div{display:grid;grid-template-columns:55px 1fr 120px;gap:12px;padding:10px 0;border-top:1px solid #edf0f4}.version-history span,.version-history b,.version-history small{font-size:9px}.version-history small{text-align:right;color:#8b96a7}
@media(max-width:1050px){.report-cards{grid-template-columns:1fr}.reports-grid{grid-template-columns:1fr}.report-metrics{grid-template-columns:1fr 1fr}.report-assets{grid-template-columns:1fr 1fr}}
@media(max-width:720px){.report-hero{grid-template-columns:1fr}.report-context-row,.report-two-col{grid-template-columns:1fr}.report-metrics,.report-assets{grid-template-columns:1fr}.version-history>div{grid-template-columns:45px 1fr}.version-history small{grid-column:2;text-align:left}.report-hero h1{font-size:26px}}
@media print{.leya-header,.leya-footer,.report-print{display:none!important}.page{padding:0!important}.page-inner{max-width:none!important}.float-panel,.report-metric,.report-context-card{box-shadow:none!important;break-inside:avoid}.report-hero{border:0!important;padding:0 0 24px!important}}
.gmail-state{display:flex;gap:10px;align-items:center;padding:14px 16px;border-radius:16px;background:#f3f4f6;margin:0 0 18px}.gmail-state:before{content:"";width:9px;height:9px;border-radius:50%;background:#9ca3af}.gmail-state.is-connected:before{background:#20a464;box-shadow:0 0 0 5px rgba(32,164,100,.10)}.gmail-state span{color:#68707d}.gmail-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:15px}.gmail-actions form{margin:0}.btn-soft{display:inline-flex;align-items:center;justify-content:center;padding:11px 15px;border-radius:12px;background:#f2f4f7;color:#111;text-decoration:none;border:1px solid #e2e5e9;font-weight:700}.cron-hint{margin-top:18px;padding:16px;border-radius:16px;background:#fbfbfc;border:1px solid #eceef1}.cron-hint p{margin:7px 0;color:#68707d}.cron-hint code{font-size:12px;word-break:break-all}.check-label{display:flex!important;align-items:center;gap:10px;min-height:48px}.check-label input[type=checkbox]{width:18px;height:18px}.data-table td small{display:block;color:#8a9099;margin-top:4px}.status-pill{display:inline-flex;padding:6px 9px;border-radius:999px;background:#f2f4f7;font-size:12px;font-weight:700}

/* v4.0.1 Gmail end-to-end test */
.test-mail-card{margin-bottom:16px;background:linear-gradient(145deg,#fff 0%,#fbfcff 62%,#f6fbff 100%)}
.test-mail-head{align-items:flex-start;margin-bottom:18px}.test-mail-head p{max-width:650px;margin:0;color:#748197;font-size:11px;line-height:1.55}
.test-mail-form .form-grid select,.test-mail-form .form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #dce3ee;background:#f8fafd;border-radius:11px;padding:12px 13px;outline:none;color:#223049;font:inherit}.test-mail-form .form-grid select{min-height:44px}.test-mail-form .form-grid textarea{resize:vertical;min-height:118px;line-height:1.55}.test-mail-form .form-grid select:focus,.test-mail-form .form-grid textarea:focus{border-color:#91a6ca;background:#fff;box-shadow:0 0 0 4px rgba(75,112,180,.07)}
.test-mail-form .full-span{grid-column:1/-1}.test-mail-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:15px}.test-mail-actions .btn-black{margin-top:0}.test-mail-actions span{color:#7a8799;font-size:10px}.communications-table{margin-bottom:18px}.notice-bad{background:#fff1f1;border-color:#f2d4d4;color:#a23b3b}
@media(max-width:820px){.test-mail-form .full-span{grid-column:auto}.test-mail-head{display:block}.test-mail-head p{margin-top:9px}}

/* v4.1.5 — company profile settings */
.form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #dce3ee;background:#f8fafd;border-radius:11px;padding:12px 13px;outline:none;color:#223049;font:inherit;resize:vertical;line-height:1.55}.form-grid textarea:focus{border-color:#91a6ca;background:#fff;box-shadow:0 0 0 4px rgba(75,112,180,.07)}

/* v4.1.6 First Contact Engine */
.outreach-card{margin:16px 0;background:linear-gradient(145deg,#fff 0%,#fbfdff 72%,#f7f9ff 100%)}
.outreach-status{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#eef2f7;color:#516078;font-size:9px;font-weight:800;white-space:nowrap}
.outreach-status.ready_for_approval{background:#fff4dc;color:#9a6500}.outreach-status.sent{background:#eaf8ef;color:#267548}.outreach-status.researching{background:#edf3ff;color:#4f67b8}.outreach-status.rejected{background:#f7eeee;color:#985656}
.outreach-evidence-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.outreach-evidence{padding:16px;border:1px solid #e5eaf2;border-radius:17px;background:#fff}.outreach-evidence small,.outreach-contact-row small,.outreach-draft>small{display:block;font-size:8px;letter-spacing:.09em;color:#8491a4;font-weight:800}.outreach-evidence p{font-size:11px;line-height:1.6;color:#34435a;margin:8px 0 0}.outreach-evidence a{display:block;margin-top:9px;color:#4c6ccc;font-size:9px;overflow-wrap:anywhere}
.outreach-contact-row{display:grid;grid-template-columns:1.1fr 1.5fr .5fr;gap:12px;margin-top:12px;padding:16px;border-radius:17px;background:#f6f8fb}.outreach-contact-row b,.outreach-contact-row span{display:block}.outreach-contact-row b{font-size:12px;margin:6px 0 4px}.outreach-contact-row span,.outreach-contact-row p{font-size:9.5px;line-height:1.5;color:#66758a;margin:0}.source-note{margin-top:6px!important;color:#8793a5!important}.outreach-confidence b{font-size:24px;margin-top:5px}.outreach-confidence span{font-size:8.5px}
.outreach-draft{margin-top:12px;padding:18px;border:1px solid #e2e8f0;border-radius:17px;background:#fff}.outreach-draft h3{font-size:13px;margin:7px 0 10px}.outreach-mail-body{white-space:normal;font-size:10.5px;line-height:1.65;color:#425169;max-height:230px;overflow:auto;padding-right:8px}.outreach-actions{display:flex;gap:10px;align-items:center;margin-top:14px}.outreach-actions form{margin:0}.outreach-sent-note{margin-top:14px;padding:11px 13px;border-radius:12px;background:#edf8f1;color:#32704b;font-size:9.5px}.outreach-empty p{font-size:10.5px;line-height:1.6;color:#6f7d90;max-width:850px}.outreach-empty h2{margin:5px 0}.outreach-empty span{font-size:8px;letter-spacing:.1em;color:#8491a4;font-weight:800}
@media(max-width:900px){.outreach-evidence-grid,.outreach-contact-row{grid-template-columns:1fr}.outreach-actions{align-items:stretch;flex-direction:column}.outreach-actions form,.outreach-actions button{width:100%}}

/* v4.2.4 Activity + Reports UI */
.live-activity{display:grid;grid-template-columns:92px minmax(0,1fr);gap:20px;align-items:start;padding-top:2px}.live-activity .orb{margin-top:3px}.live-activity-copy{min-width:0}.live-kicker{display:block;margin-bottom:6px;font-size:8px;letter-spacing:.13em;text-transform:uppercase;color:#8795aa;font-weight:800}.live-activity-copy>b{display:block;font-size:16px;line-height:1.25;color:#142039}.live-activity-copy>p{margin:8px 0 0;font-size:10.5px;line-height:1.55;color:#66758c}.live-next{margin-top:12px;padding:11px 13px;border:1px solid #e6ebf3;border-radius:13px;background:linear-gradient(145deg,#f8fbff,#fbf9ff)}.live-next span,.live-next strong{display:block}.live-next span{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#8b97a9}.live-next strong{margin-top:4px;font-size:10.5px;line-height:1.45;color:#26344c}.live-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:12px}.live-actions .soft-cta,.live-actions .dark-cta{margin:0}

.reports-page .page-head{margin-bottom:14px}.reports-page .report-filter-bar{border-radius:18px}.reports-grid-wide{grid-template-columns:repeat(auto-fit,minmax(430px,1fr));align-items:stretch}.reports-grid-wide .report-list-card{min-height:230px;display:flex;flex-direction:column}.reports-grid-wide .report-list-card h2{font-size:20px;max-width:840px}.reports-grid-wide .report-list-card p{font-size:11px;line-height:1.65;min-height:0;max-width:900px}.reports-grid-wide .report-list-bottom{margin-top:auto}.report-list-card{padding:24px 26px}.report-meta{margin:18px 0 14px}

.report-page .report-hero{border-radius:24px;padding:28px 30px;background:linear-gradient(145deg,#fff 0%,#fbfcff 64%,#f5f2ff 100%)}.report-page .report-hero h1{max-width:1050px}.report-page .report-context-row{margin-top:0}.report-section{padding:22px 24px;border-radius:20px}.report-section h2{display:flex;align-items:center;gap:10px;font-size:18px}.report-section h2:before{content:"";width:5px;height:22px;border-radius:999px;background:#dce5f8;flex:none}.report-section.executive h2:before{background:#7f72ef}.report-section.gate-section{border:1px solid #f0dfc8;background:linear-gradient(145deg,#fffdf9,#fff8ef)}.report-section.gate-section h2:before{background:#e7a553}.report-section.gate-section .report-text,.report-section.gate-section .report-bullets li{color:#5b4b38}.report-metrics{gap:14px}.report-metric{min-height:108px;padding:18px 20px}.report-metric b{font-size:19px;line-height:1.25}.report-two-col{gap:14px}.report-sources>div{padding:14px 16px;border:1px solid #edf0f5;background:#fbfcfe}.report-sources b{font-size:10.5px;line-height:1.4}.report-sources a{margin-top:6px}.report-numbered{padding-left:20px}.report-numbered li{padding-left:3px}
@media(max-width:900px){.live-activity{grid-template-columns:64px 1fr}.reports-grid-wide{grid-template-columns:1fr}.report-page .report-hero{padding:22px}.report-section{padding:18px}}


/* LEYA v4.4 — explicit goal progress / state machine */
.goal-progress-stack{max-width:1380px;margin:18px auto 22px;display:grid;gap:16px}
.goal-progress-card{background:#fff;border:1px solid rgba(135,157,190,.22);border-radius:24px;padding:22px 24px;box-shadow:0 14px 38px rgba(39,60,94,.07)}
.gp-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.gp-head h2{margin:5px 0 0;font-size:20px;line-height:1.2}.gp-kicker{font-size:10px;font-weight:800;letter-spacing:.18em;color:#8392aa}.gp-total{text-align:right;min-width:100px}.gp-total b{display:block;font-size:27px}.gp-total span{font-size:11px;color:#8794a8}.gp-bar{height:8px;background:#eef3fb;border-radius:999px;margin:18px 0 22px;overflow:hidden}.gp-bar i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#527cff,#9473ff);transition:width .35s ease}.gp-stages{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.gp-stage{min-width:0;padding:12px 10px;border-radius:16px;background:#f8faff;border:1px solid #edf1f7;display:flex;gap:9px;align-items:flex-start}.gp-dot{flex:0 0 26px;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:800;background:#edf2fb;color:#6e7e96}.gp-stage b{display:block;font-size:12px;line-height:1.25}.gp-stage small{display:block;margin-top:5px;font-size:10px;line-height:1.35;color:#8491a4}.gp-stage em{display:block;margin-top:6px;font-size:9px;line-height:1.3;font-style:normal;color:#a65d43}.gp-stage.done{background:#f3fbf7;border-color:#dff2e8}.gp-stage.done .gp-dot{background:#dff6e9;color:#168458}.gp-stage.active{background:#f3f6ff;border-color:#dbe5ff;box-shadow:0 8px 22px rgba(71,105,188,.08)}.gp-stage.active .gp-dot{background:#4f78ff;color:#fff}.gp-stage.error{background:#fff7f3;border-color:#f5ddd2}.gp-stage.error .gp-dot{background:#ffeadf;color:#a84e28}.gp-now{margin-top:16px;padding:14px 16px;border-radius:16px;background:#f6f8fc;display:grid;grid-template-columns:auto auto 1fr;gap:10px;align-items:center}.gp-now span{font-size:10px;letter-spacing:.12em;font-weight:800;color:#8390a5}.gp-now strong{font-size:13px}.gp-now p{margin:0;font-size:12px;color:#6e7d93;white-space:normal}.goal-progress-card.paused{opacity:.72}
@media(max-width:1100px){.gp-stages{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:720px){.goal-progress-card{padding:17px}.gp-head{gap:12px}.gp-stages{grid-template-columns:1fr}.gp-now{grid-template-columns:1fr}.gp-total b{font-size:22px}}
/* v4.4.1 — progress moved out of dashboard */
.goal-links{display:flex;align-items:center;gap:14px;justify-content:flex-end;flex-wrap:wrap}.goal-links a{display:inline-flex;align-items:center;gap:6px}.goal-links svg{width:14px;height:14px}
.progress-page .page-inner{max-width:1480px}.progress-head{margin-bottom:18px}.progress-summary-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 18px}.progress-summary-card{background:#fff;border:1px solid rgba(135,157,190,.2);border-radius:18px;padding:16px 20px;box-shadow:0 10px 28px rgba(39,60,94,.05)}.progress-summary-card span{display:block;font-size:11px;color:#8290a5}.progress-summary-card b{display:block;margin-top:5px;font-size:27px;color:#122039}.progress-workspace{display:grid;grid-template-columns:1fr;gap:18px}.progress-work-card{margin:0;min-height:0}.progress-work-card .gp-stages{grid-template-columns:repeat(7,minmax(0,1fr));align-items:stretch}.progress-work-card .gp-stage{min-height:116px;height:100%}.progress-work-card .gp-stage>div{min-width:0}.progress-work-card .gp-stage small{max-height:56px;overflow:hidden}.progress-card-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;margin-top:16px}.progress-card-footer .gp-now{margin:0}.progress-actions{display:flex;align-items:center}.progress-empty{background:#fff;border:1px solid rgba(135,157,190,.2);border-radius:24px;padding:46px;text-align:center;box-shadow:0 14px 38px rgba(39,60,94,.06)}.progress-empty>div{width:48px;height:48px;margin:0 auto 12px;border-radius:16px;display:grid;place-items:center;background:#eef5ff;color:#4f78ff}.progress-empty svg{width:24px;height:24px}.progress-empty h2{margin:0 0 8px}.progress-empty p{color:#7c8aa0}.progress-empty .dark-cta{margin-top:10px}
@media(max-width:1150px){.progress-work-card .gp-stages{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:760px){.progress-summary-row{grid-template-columns:1fr}.progress-work-card .gp-stages{grid-template-columns:1fr}.progress-card-footer{grid-template-columns:1fr}.goal-links{justify-content:flex-start}}
