/* Solarex AI Toolkit v5.5.5 — site-aligned visual design. Preserves tool behavior and data. */
body:has(.tk-hero) .tk-hero{position:relative;isolation:isolate;background:#081729;color:#f8fbff;overflow:hidden}
body:has(.tk-hero) .tk-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 88% 15%,rgba(53,91,213,.27),transparent 46%),radial-gradient(ellipse at 35% 115%,rgba(109,41,232,.20),transparent 56%);pointer-events:none;z-index:-1}
body:has(.tk-hero) .tk-hero:after{content:"";position:absolute;bottom:-8px;left:-12%;right:-12%;height:115px;border-top:2px solid rgba(47,187,255,.52);border-radius:50%;transform:rotate(-3deg);box-shadow:0 -14px 65px rgba(101,43,232,.27);pointer-events:none}
.tk-feature-layout{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr);gap:26px;align-items:center;min-height:565px;position:relative}
.tk-hero-index{padding:0!important}
.tk-feature-copy{padding:76px 0 85px;position:relative;z-index:2}
.tk-feature-eyebrow{font-size:12px;letter-spacing:.17em;font-weight:800;color:#73dfff;display:flex;align-items:center;gap:13px;margin-bottom:27px}
.tk-feature-rule{display:inline-block;height:3px;width:34px;border-radius:4px;background:linear-gradient(90deg,#c648f2,#11d9ef);flex-shrink:0}
.tk-feature-copy h1{color:#fff;font-weight:800;font-size:clamp(43px,5.3vw,75px);letter-spacing:-.048em;line-height:1.09;max-width:780px;margin:0 0 26px}
.tk-feature-lead{font-size:clamp(15px,1.5vw,19px);line-height:1.85;color:#c4d2ea;max-width:595px;margin:0 0 28px}
.tk-feature-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap}
.tk-feature-actions .btn{border-radius:12px;background:linear-gradient(110deg,#8039fa,#552de3);box-shadow:0 12px 35px rgba(119,59,242,.25);min-height:52px;padding:13px 22px}
.tk-feature-privacy{font-size:12px;color:#91a7c9;font-weight:650}
.tk-feature-stats{display:flex;gap:36px;align-items:center;margin-top:45px;padding-top:23px;border-top:1px solid rgba(196,219,255,.14)}
.tk-feature-stats span{display:flex;flex-direction:column;gap:2px}.tk-feature-stats strong{color:#fff;font-size:30px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}.tk-feature-stats small{color:#a3b7d2;font-size:11px}
.tk-feature-visual{height:100%;min-height:510px;position:relative;display:grid;place-items:center;isolation:isolate}
.tk-feature-visual:after{content:"";position:absolute;width:95%;height:73%;inset-inline-start:4%;top:15%;border:1px solid rgba(130,172,255,.14);border-radius:50%;transform:rotate(-27deg);z-index:-1}
.tk-feature-halo{position:absolute;width:80%;height:75%;background:radial-gradient(ellipse,#393a9f68,transparent 67%);filter:blur(35px)}
.tk-feature-visual img{display:block;position:relative;z-index:1;width:min(78%,390px);height:auto;max-height:450px;object-fit:contain;filter:drop-shadow(0 26px 44px rgba(10,7,36,.37))}
.tk-feature-chip{position:absolute;z-index:2;border-radius:50px;padding:10px 15px;letter-spacing:.16em;font-weight:800;font-size:10px;color:#e6efff;background:rgba(16,34,73,.89);border:1px solid rgba(102,173,255,.38);box-shadow:0 9px 35px #020b1990}
.tk-chip-one{top:22%;inset-inline-start:4%}.tk-chip-two{top:48%;inset-inline-end:0}.tk-chip-three{bottom:19%;inset-inline-start:1%}
.tk-library-section{background:linear-gradient(180deg,#f5f7fd 0%,#fff 43%,#f5f7fd 100%);padding:82px 0 100px}
.tk-library-heading{margin:0 0 52px;max-width:750px}.tk-library-heading h2{font-size:clamp(32px,3.1vw,48px);letter-spacing:-.035em;color:#0b1931;margin:10px 0 14px;line-height:1.19}.tk-library-heading p{color:#556780;font-size:15px;line-height:1.8}
.tk-index-group{margin-bottom:63px}.tk-group-heading{display:flex;align-items:center;gap:17px;padding-bottom:17px;margin-bottom:20px;border-bottom:1px solid #dfe6f2}.tk-group-heading h2{margin:0!important;color:#132544;font-size:clamp(21px,2.2vw,30px);letter-spacing:-.02em}.tk-group-index{display:inline-grid;place-items:center;width:43px;height:43px;flex:0 0 43px;border-radius:13px;background:#eae6ff;color:#6b43d8;font-size:13px;font-weight:850}
.tk-index-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
.tk-index-link{position:relative;min-height:130px;border:1px solid #e2e9f4;border-radius:20px;padding:24px;gap:18px;box-shadow:0 14px 36px #1120480c;transition:transform .22s,box-shadow .22s,border-color .22s}
.tk-index-link:hover{transform:translateY(-4px);box-shadow:0 20px 38px #122b571c;border-color:#bdc7fa}.tk-index-link .tk-symbol{flex:0 0 61px;width:61px;height:61px;border-radius:17px;background:linear-gradient(140deg,#0a1b39,#231950);box-shadow:0 11px 24px #0b245022}
.tk-index-link .tk-symbol img{width:30px;height:30px;object-fit:contain;filter:brightness(0) saturate(100%) invert(79%) sepia(42%) saturate(1149%) hue-rotate(144deg) brightness(103%)}
.tk-index-link strong{color:#0c1f3d;font-size:17px;letter-spacing:-.015em}.tk-index-link small{color:#566680;font-size:13px;line-height:1.65;margin-top:8px}.tk-card-arrow{align-self:center;display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;border:1px solid #e2e5f2;border-radius:50%;font-size:18px;color:#693bec!important}
/* Individual tool pages: brand-matched dark feature header */
.tk-hero-detail{padding:0!important}.tk-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,.34fr);gap:34px;min-height:330px;align-items:center;position:relative;padding-top:46px;padding-bottom:55px}
.tk-hero-detail .tk-back{display:inline-flex;align-items:center;border:1px solid #485775;background:#15284788;color:#bcd7ff;text-decoration:none;border-radius:50px;padding:10px 16px;margin-bottom:24px}
.tk-hero-detail .tk-back:hover{color:#fff;border-color:#71ccff}
.tk-hero-detail .tk-intro{align-items:center;gap:25px;position:relative;z-index:2}.tk-hero-detail .tk-intro .tk-symbol{width:90px;height:90px;flex:0 0 90px;border:1px solid rgba(135,191,255,.35);border-radius:24px;background:#11254b;box-shadow:0 12px 34px rgba(1,9,35,.45)}
.tk-hero-detail .tk-intro .tk-symbol img{width:54px;height:54px;filter:brightness(0) saturate(100%) invert(83%) sepia(34%) saturate(1450%) hue-rotate(150deg) brightness(102%)}
.tk-hero-detail .tk-intro .kicker{font-size:11px;letter-spacing:.17em;color:#69e4ff;margin-bottom:9px}
.tk-hero-detail h1{font-size:clamp(30px,3.6vw,50px)!important;color:#fff!important;max-width:820px;margin:0 0 13px!important;letter-spacing:-.03em;line-height:1.19}
.tk-hero-detail .intro{font-size:15px!important;color:#c2d0e8!important;line-height:1.75;max-width:650px}
.tk-detail-privacy{margin-top:16px;font-size:10px;letter-spacing:.08em;color:#83afd8;font-weight:800}
.tk-detail-visual{position:absolute;inset-inline-end:2%;top:7%;height:86%;width:27%;display:flex;align-items:center;justify-content:center;opacity:.5;pointer-events:none}
.tk-detail-visual img{height:100%;max-width:100%;object-fit:contain;filter:drop-shadow(0 15px 40px rgba(99,48,210,.25))}
.tk-detail-workspace{background:linear-gradient(#f5f7fd,#fbfcff)!important;min-height:440px;padding:70px 0 82px}
.tk-app{max-width:1070px}
.tk-question,.tk-pulse,.tk-case{border-color:#e0e7f3;box-shadow:0 12px 35px rgba(19,44,87,.06)}
.tk-choice{border-color:#d9e3f3;color:#182c4e}.tk-choice.selected,.tk-choice[aria-pressed=true]{background:#142d60;border-color:#142d60}
.tk-choice:hover:not(.selected){background:#eef4ff}
.tk-button{background:linear-gradient(105deg,#693ef1,#2c61e7);box-shadow:0 8px 20px #7145d526}
.tk-tabs button.selected,.tk-filters button.selected,.tk-steps button.selected,.tk-situations button.selected{background:#132955;color:#fff;border-color:#132955}
.tk-pulse{background:radial-gradient(ellipse at 100% 0,rgba(105,74,255,.07),transparent 50%),#fff}
.tk-closing{background:#fff}
.rtl .tk-feature-eyebrow,.rtl .tk-hero-detail .kicker,.rtl .tk-detail-privacy{letter-spacing:0}.rtl .tk-feature-copy h1{letter-spacing:0;font-size:clamp(32px,4vw,54px);line-height:1.65}.rtl .tk-feature-lead{line-height:2.15;font-size:16px}.rtl .tk-feature-visual img{transform:none}.rtl .tk-group-heading h2,.rtl .tk-library-heading h2{letter-spacing:0;line-height:1.65}.rtl .tk-hero-detail h1{letter-spacing:0;line-height:1.6;font-size:clamp(26px,3.1vw,40px)!important}.rtl .tk-hero-detail .intro{line-height:2}.rtl .tk-feature-chip{letter-spacing:0}
@media(max-width:980px){.tk-feature-layout{grid-template-columns:1fr .7fr}.tk-feature-visual{min-height:440px}.tk-feature-copy h1{font-size:49px}.tk-feature-stats{gap:22px}.tk-detail-visual{opacity:.21}}
@media(max-width:740px){.tk-feature-layout{display:flex;flex-direction:column;gap:0;min-height:0;align-items:stretch}.tk-feature-copy{padding:54px 0 20px}.tk-feature-copy h1{font-size:clamp(36px,9vw,54px)}.tk-feature-visual{min-height:300px;height:300px;margin-top:-12px}.tk-feature-visual img{max-height:280px;width:auto;max-width:72%}.tk-feature-stats{margin-top:30px}.tk-feature-halo{width:70%;height:80%}.tk-library-section{padding:56px 0 70px}.tk-library-heading{margin-bottom:35px}.tk-index-grid{grid-template-columns:1fr}.tk-index-link{min-height:115px;padding:19px}.tk-detail-layout{display:block;min-height:0;padding:35px 0 46px}.tk-detail-visual{width:36%;height:150px;top:38%;opacity:.13}.tk-hero-detail .tk-intro{gap:15px}.tk-hero-detail .tk-intro .tk-symbol{width:62px;height:62px;flex:0 0 62px;border-radius:17px}.tk-hero-detail .tk-intro .tk-symbol img{width:38px;height:38px}.tk-detail-workspace{padding:45px 0 60px}.rtl .tk-feature-copy h1{font-size:clamp(31px,7.3vw,43px)}.tk-feature-chip{font-size:9px}}
@media(max-width:420px){.tk-feature-stats{gap:14px}.tk-feature-stats strong{font-size:25px}.tk-feature-stats small{font-size:10px}.tk-feature-actions{gap:14px}.tk-feature-visual{height:250px;min-height:250px}.tk-feature-visual img{max-height:230px}.tk-index-link .tk-symbol{width:51px;height:51px;flex-basis:51px}.tk-index-link strong{font-size:15px}.tk-card-arrow{display:none}.tk-detail-visual{display:none}.tk-hero-detail .tk-intro{align-items:flex-start}.tk-hero-detail .tk-intro .tk-symbol{width:50px;height:50px;flex-basis:50px}.tk-hero-detail h1{font-size:27px!important}}
@media(prefers-reduced-motion:reduce){.tk-index-link{transition:none!important}}
