/* Picvento Design System — Navigation & Footer V9.
   Original, performant, accessible. Shared across all 20 tool pages. */
.pv-header.pv9-header{
 --pv9-ink:#171b35;--pv9-muted:#707a93;--pv9-violet:#6357f1;--pv9-line:#e7e9f2;
 position:sticky;top:0;left:0;right:0;z-index:200;
 width:100%;background:rgba(255,255,255,.96);
 border-bottom:1px solid #e8e9f2;
 box-shadow:0 5px 24px #17204a08;
 -webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);
 isolation:isolate;
}
.pv9-header *,.pv9-footer *{box-sizing:border-box}
.pv9-header a,.pv9-footer a{text-decoration:none}
.pv9-header button,.pv9-header input{font:inherit}
.pv9-nav-wrap{position:relative}
.pv9-header-inner{
 width:min(calc(100% - 56px),1390px);
 min-height:82px;display:flex;align-items:center;gap:clamp(16px,2.1vw,35px);justify-content:space-between;
 margin-inline:auto;
}
.pv9-brand-area{display:flex;align-items:center;gap:18px;flex:none;min-width:0}
.pv9-header .pv-logo{gap:11px;display:inline-flex;align-items:center;color:#1c2038!important;white-space:nowrap}
.pv9-header .pv-mark{display:grid;place-items:center;flex:none}
.pv9-header .pv-mark svg{height:44px;width:44px;filter:drop-shadow(0 6px 11px #6255e92a)}
.pv9-header .pv-wordmark{font-family:PVManrope,system-ui,sans-serif;font-size:29px;font-weight:900;letter-spacing:-.075em;color:#1d2038;line-height:1}
.pv9-header .pv-wordmark span{color:#6259e9}
.pv9-brand-separator{height:28px;width:1px;background:#e3e5ef;flex:none}
.pv9-brand-descriptor{font-size:8.5px;line-height:1.45;letter-spacing:.115em;font-weight:900;color:#8a91a4}
.pv9-desktop-nav{display:flex;align-items:center;justify-content:center;gap:3px;margin-left:auto;white-space:nowrap}
.pv9-nav-link,.pv9-nav-categories>summary{
 display:inline-flex;align-items:center;gap:6px;justify-content:center;
 min-height:43px;padding:0 15px;border-radius:10px;
 color:#4b5369!important;
 font-family:inherit;font-size:12.5px;font-weight:850;letter-spacing:-.012em;
 cursor:pointer;transition:background .18s,color .18s;
}
.pv9-nav-link:hover,.pv9-nav-link:focus-visible,
.pv9-nav-categories>summary:hover,.pv9-nav-categories[open]>summary{
 background:#f2f1ff;color:#544ad9!important;
}
.pv9-nav-categories{position:static}
.pv9-nav-categories>summary{list-style:none}
.pv9-nav-categories>summary::-webkit-details-marker{display:none}
.pv9-chevron{display:grid;place-items:center;color:#8188a0;transition:transform .2s}
.pv9-nav-categories[open] .pv9-chevron{transform:rotate(180deg)}
.pv9-header-actions{display:flex;align-items:center;gap:11px;flex:none}
.pv9-search-toggle{
 display:grid;place-items:center;min-width:43px;width:43px;height:43px;
 padding:0;border:1px solid #e6e7f0;border-radius:12px;background:#fff;color:#394158;
 cursor:pointer;transition:background .2s,border-color .2s,color .2s;
}
.pv9-search-toggle:hover,.pv9-search-toggle[aria-expanded=true]{background:#f1efff;border-color:#d2cdfc;color:#544bde}
.pv9-header-cta{
 display:inline-flex;align-items:center;justify-content:space-between;gap:17px;
 min-height:47px;padding:6px 7px 6px 18px;
 border:1px solid #24233f;border-radius:12px;
 background:#1b1b36;color:#fff!important;
 font-size:12px;white-space:nowrap;font-weight:900;
 box-shadow:0 7px 18px rgba(31,30,75,.12);
 transition:background .2s,transform .2s,box-shadow .2s;
}
.pv9-cta-arrow{display:grid;place-items:center;width:32px;height:32px;background:#ffffff1d;border-radius:9px}
.pv9-header-cta:hover{color:#fff!important;background:#5a51df;transform:translateY(-2px);box-shadow:0 12px 24px #5a51df30}
.pv9-header-cta:hover .pv9-cta-arrow{background:#ffffff33}
.pv9-mega{
 position:absolute;z-index:250;top:calc(100% - 1px);left:50%;
 width:min(820px,calc(100vw - 48px));transform:translateX(-50%);
 border:1px solid #e8e8f3;border-radius:0 0 19px 19px;background:#fff;
 box-shadow:0 26px 58px #24234827;
 padding:25px 26px 18px;white-space:normal;
 animation:pv9-dropdown .18s ease both;
}
@keyframes pv9-dropdown{from{opacity:0;translate:0 -7px}to{opacity:1;translate:0 0}}
.pv9-mega-top{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:17px;border-bottom:1px solid #eff0f6}
.pv9-mega-top>span{display:grid;gap:4px}
.pv9-mega-top small{color:#6a5ce7;font-size:9px;letter-spacing:.13em;font-weight:900}
.pv9-mega-top strong{font-size:20px;line-height:1.25;color:#1f2440;font-weight:900;letter-spacing:-.04em}
.pv9-mega-top>a{display:inline-flex;align-items:center;gap:8px;color:#584fe0!important;font-size:11px;font-weight:900}
.pv9-mega-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:14px}
.pv9-mega-grid>a{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border-radius:13px;color:#222740!important;transition:background .17s}
.pv9-mega-grid>a:hover,.pv9-mega-grid>a:focus-visible{background:#f5f5ff}
.pv9-mega-grid>a>span:first-child{width:43px;height:43px;display:grid;place-items:center;flex:none;background:#efeeff;border:1px solid #e2dffc;border-radius:11px;color:#675cea}
.pv9-mega-grid>a>span:last-child{display:grid;gap:4px;min-width:0}
.pv9-mega-grid strong{font-size:12.5px;font-weight:900;line-height:1.25}
.pv9-mega-grid small{font-size:10px;color:#8a90a5;line-height:1.45;font-weight:700}
.pv9-mega-foot{display:flex;gap:9px;align-items:center;justify-content:center;padding:16px 5px 0;margin-top:12px;border-top:1px solid #f0f0f5;font-size:11px;color:#8d92a4;font-weight:750}
.pv9-mega-foot>a{display:inline-flex;gap:6px;align-items:center;color:#6557e7!important;font-size:11px;font-weight:900}
.pv9-search-panel,.pv9-mobile-menu{
 position:absolute;left:0;right:0;top:calc(100% - 1px);z-index:230;
 background:#fff;border-bottom:1px solid #e3e6f1;
 box-shadow:0 24px 42px rgba(34,37,75,.15);
}
.pv9-search-panel[hidden],.pv9-mobile-menu[hidden]{display:none!important}
.pv9-search-panel>.pv-shell{padding:20px 0 22px;max-width:850px}
.pv9-search-panel form{
 display:flex;align-items:center;gap:13px;
 background:#fafaff;border:1px solid #dbdcf2;
 border-radius:13px;padding:7px 8px 7px 18px;
 box-shadow:0 5px 14px #443ecc0c;
}
.pv9-search-panel form>svg{color:#6a63c9}
.pv9-search-panel input{flex:1;min-width:0;height:40px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:5px 0!important;color:#232940;font-size:13px;font-weight:700}
.pv9-search-panel form button{
 display:inline-flex;gap:9px;align-items:center;justify-content:center;flex:none;
 border:0;border-radius:9px;min-height:42px;padding:0 15px;
 color:#fff;background:#5e56dd;font-size:11px;font-weight:900;cursor:pointer;
}
.pv9-search-panel form:focus-within{border-color:#6a62ed;box-shadow:0 0 0 3px #6158ed22}
.pv9-search-suggestions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}
.pv9-search-suggestions>span{font-size:9px;color:#828aa5;font-weight:900;letter-spacing:.1em;margin-right:6px}
.pv9-search-suggestions a{border:1px solid #e3e5f1;background:#f8f9ff;border-radius:8px;color:#5159a7!important;padding:7px 10px;font-size:10px;font-weight:850}
.pv9-search-suggestions a:hover{border-color:#bcb8ee;background:#efedff}
.pv9-mobile-toggle{display:none;align-items:center;justify-content:center;gap:8px;border:1px solid #e3e4ef;background:#f8f8ff;border-radius:12px;min-width:46px;min-height:44px;padding:9px;color:#272b4c;cursor:pointer}
.pv9-menu-lines{display:grid;gap:4px;width:20px}
.pv9-menu-lines i{display:block;height:2px;background:currentColor;border-radius:3px;width:20px;transition:transform .2s,opacity .2s}
.pv9-mobile-toggle[aria-expanded=true] .pv9-menu-lines i:first-child{transform:translateY(6px) rotate(45deg)}
.pv9-mobile-toggle[aria-expanded=true] .pv9-menu-lines i:nth-child(2){opacity:0}
.pv9-mobile-toggle[aria-expanded=true] .pv9-menu-lines i:last-child{transform:translateY(-6px) rotate(-45deg)}
.pv9-menu-caption{font-size:10px;font-weight:900}
.pv9-mobile-menu{max-height:calc(100dvh - 65px);overflow-y:auto;overscroll-behavior:contain}
.pv9-mobile-inner{padding-top:20px;padding-bottom:24px}
.pv9-mobile-search{display:flex;align-items:center;gap:10px;padding:8px 9px 8px 13px;border-radius:11px;border:1px solid #dddff0;background:#f9f9fd}
.pv9-mobile-search>svg{color:#655de1}
.pv9-mobile-search input{flex:1;min-width:0;border:0!important;outline:none!important;background:transparent!important;box-shadow:none!important;padding:8px 0!important;font-size:12px}
.pv9-mobile-search button{display:grid;place-items:center;width:35px;height:35px;flex:none;border:0;background:#5a51df;border-radius:9px;color:white;cursor:pointer}
.pv9-mobile-heading{display:block;font-size:9px;letter-spacing:.13em;font-weight:900;color:#797ead;margin:23px 0 10px}
.pv9-mobile-link,.pv9-mobile-categories summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 4px;border-bottom:1px solid #eeeef5;color:#242843!important;font-weight:900;font-size:14px;cursor:pointer;list-style:none}
.pv9-mobile-link svg,.pv9-mobile-categories summary svg{color:#7775c4}
.pv9-mobile-categories summary::-webkit-details-marker{display:none}
.pv9-mobile-categories[open] summary svg{transform:rotate(180deg)}
.pv9-mobile-categories>div{background:#f7f7fe;border-radius:10px;padding:7px 13px;margin-top:7px;display:grid;grid-template-columns:1fr 1fr;gap:0 13px}
.pv9-mobile-categories>div a{color:#59617c!important;font-size:11.5px;font-weight:800;padding:11px 4px;border-bottom:1px solid #ececf6}
.pv9-mobile-bottom{display:flex;flex-direction:column;gap:11px;margin-top:22px;padding:18px;background:linear-gradient(110deg,#f0edff,#effaff);border:1px solid #e4e0fa;border-radius:13px}
.pv9-mobile-bottom span{font-size:11px;color:#656a88;font-weight:700}
.pv9-mobile-bottom a{display:inline-flex;gap:9px;align-items:center;font-size:12px;font-weight:900;color:#574ed7!important}

/* Dark editorial footer */
.pv-footer.pv9-footer{
 --pv9-f-muted:#a9b4d3;
 position:relative;background:#10152a;color:#edf0ff;
 border-top:0;padding:69px 0 0;overflow:hidden;
}
.pv9-footer::before{content:"";pointer-events:none;position:absolute;inset:0;background:radial-gradient(ellipse 36% 47% at 96% 15%,#4951b31c,transparent 74%);opacity:.9}
.pv9-footer>.pv-shell{position:relative;width:min(calc(100% - 56px),1390px)}
.pv9-footer-spotlight{
 position:relative;display:flex;align-items:center;justify-content:space-between;
 gap:22px;overflow:hidden;isolation:isolate;
 border:1px solid #a49af45c;border-radius:24px;
 background:radial-gradient(circle at 80% 10%,#9d96ff3f,transparent 38%),linear-gradient(115deg,#292564,#4840a0 65%,#383883);
 padding:38px clamp(24px,4vw,59px);
 box-shadow:0 20px 44px #03062025;
}
.pv9-footer-spotlight::after{content:"";position:absolute;right:-40px;top:-150px;height:320px;width:320px;border:1px solid #ffffff2c;border-radius:50%;z-index:-1}
.pv9-footer-orbit{position:absolute;pointer-events:none;right:33px;top:-112px;width:245px;height:245px;border:1px solid #ffffff22;border-radius:50%;z-index:-1}
.pv9-footer-kicker{display:inline-flex;align-items:center;gap:8px;letter-spacing:.14em;font-weight:900;font-size:9px;color:#cccaff}
.pv9-footer-spark{font-size:16px;color:#86edf3}
.pv9-footer-spotlight h2{
 color:#fff!important;font-family:PVManrope,system-ui,sans-serif!important;
 font-size:clamp(2rem,3.35vw,3.25rem)!important;line-height:1.17!important;
 font-weight:900!important;letter-spacing:-.062em!important;margin:12px 0 12px!important
}
.pv9-footer-spotlight h2 em{font-style:normal;color:#95eff4}
.pv9-footer-spotlight-copy p{color:#d7d5ff;font-size:12px;font-weight:650;line-height:1.7;margin:0!important}
.pv9-footer-spotlight-link{
 position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:space-between;gap:22px;flex:none;
 background:#fff;border-radius:12px;padding:7px 7px 7px 20px;min-height:55px;
 color:#27224e!important;font-size:12px;font-weight:900;
 box-shadow:0 15px 25px #1310483e;transition:transform .2s,box-shadow .2s;
}
.pv9-footer-spotlight-link>span{display:grid;place-items:center;min-width:38px;height:38px;color:#fff;background:#5c54dc;border-radius:9px}
.pv9-footer-spotlight-link:hover{color:#27224e!important;transform:translateY(-3px);box-shadow:0 21px 31px #0d0d412c}
.pv9-footer-main{
 display:grid;grid-template-columns:minmax(235px,.8fr) minmax(0,1.4fr);
 gap:clamp(30px,6vw,95px);
 padding:73px 0 66px;border-bottom:1px solid #ffffff1d;
}
.pv9-footer .pv-logo{display:inline-flex;align-items:center;gap:11px;color:#fff!important}
.pv9-footer .pv-logo .pv-mark svg{width:43px;height:43px;filter:drop-shadow(0 7px 14px #15105e55)}
.pv9-footer .pv-logo .pv-wordmark{font-family:PVManrope,system-ui,sans-serif;color:#fff!important;font-size:30px;letter-spacing:-.075em;font-weight:900}
.pv9-footer .pv-logo .pv-wordmark span{color:#7f86fa}
.pv9-footer-identity p{max-width:350px;color:#adb6d0;font-size:12px;font-weight:650;line-height:1.94;margin:23px 0!important}
.pv9-footer-points{display:grid;gap:8px;margin-top:22px}
.pv9-footer-points span{display:flex;align-items:center;gap:10px;color:#aeb9d4;font-size:10px;font-weight:750}
.pv9-footer-points svg{color:#67e4ce}
.pv9-footer-links{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(15px,2.3vw,34px);width:100%}
.pv9-footer-links>div{display:grid;align-content:start;align-items:start;justify-items:start;gap:12px;min-width:0}
.pv9-footer-links h3{font-size:10px;font-weight:900;letter-spacing:.14em;color:#f4f4ff;margin:2px 0 10px;line-height:1.3}
.pv9-footer-links a{color:#a6b0cd!important;font-weight:700;font-size:11.5px;line-height:1.55;transition:color .2s,transform .2s;word-break:normal}
.pv9-footer-links a:hover{color:#98f0ed!important;transform:translateX(3px)}
.pv9-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:25px 0 30px;color:#8491b3;font-size:10.5px;font-weight:650}
.pv9-footer-bottom>span:nth-child(2){text-align:center}
.pv9-back-top{display:inline-flex;align-items:center;gap:9px;color:#b6c3e1!important;white-space:nowrap;font-size:10px;font-weight:900}
.pv9-back-top span{width:32px;height:32px;display:grid;place-items:center;border:1px solid #ffffff37;border-radius:9px;color:#c5d2f1}
.pv9-back-top:hover{color:#fff!important}
.pv9-header a:focus-visible,.pv9-header summary:focus-visible,
.pv9-header button:focus-visible,.pv9-footer a:focus-visible{
 outline:3px solid #7269e7;outline-offset:3px;
}
@media(max-width:1200px){
 .pv9-brand-descriptor,.pv9-brand-separator{display:none}
 .pv9-header-inner{gap:15px}
 .pv9-nav-link,.pv9-nav-categories>summary{padding:0 10px;font-size:12px}
 .pv9-footer-main{grid-template-columns:minmax(235px,.68fr) minmax(0,1.6fr);gap:36px}
}
@media(max-width:970px){
 .pv9-desktop-nav{display:none!important}
 .pv9-header-inner{min-height:71px}
 .pv9-header-actions{margin-left:auto}
 .pv9-mobile-toggle{display:flex}
 .pv9-header .pv-mark svg{width:39px;height:39px}
 .pv9-header .pv-wordmark{font-size:27px}
 .pv9-footer-main{grid-template-columns:1fr;gap:42px;padding:53px 0}
 .pv9-footer-identity p{max-width:570px}
 .pv9-footer-links{gap:22px}
}
@media(max-width:640px){
 .pv9-header-inner{min-height:65px;width:calc(100% - 30px);gap:8px}
 .pv9-header .pv-mark svg{width:36px;height:36px}
 .pv9-header .pv-wordmark{font-size:25px}
 .pv9-header .pv-logo{gap:7px}
 .pv9-header-cta,.pv9-search-toggle{display:none!important}
 .pv9-mobile-toggle{min-width:44px;height:43px;border-radius:10px}
 .pv9-mobile-menu{max-height:calc(100dvh - 64px)}
 .pv9-footer{padding-top:42px!important}
 .pv9-footer>.pv-shell{width:calc(100% - 30px)}
 .pv9-footer-spotlight{flex-direction:column;align-items:flex-start;gap:22px;padding:31px 25px;border-radius:18px}
 .pv9-footer-spotlight h2{font-size:clamp(1.95rem,7.5vw,2.75rem)!important}
 .pv9-footer-spotlight-link{min-height:49px;padding:5px 6px 5px 17px;gap:15px}
 .pv9-footer-spotlight-link>span{height:36px;min-width:36px}
 .pv9-footer-main{gap:35px;padding:47px 0 43px}
 .pv9-footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:37px 14px}
 .pv9-footer-links>div{gap:11px}
 .pv9-footer-links a{font-size:11px}
 .pv9-footer-bottom{flex-wrap:wrap;justify-content:space-between;padding:19px 0 24px;gap:12px}
 .pv9-footer-bottom>span:nth-child(2){width:100%;order:3;text-align:left}
 .pv9-back-top{margin-left:auto}
}
@media(max-width:365px){
 .pv9-header .pv-wordmark{font-size:22px}
 .pv9-header .pv-mark svg{width:33px;height:33px}
 .pv9-mobile-toggle{padding:7px;min-width:40px}
 .pv9-footer-spotlight{padding:25px 19px}
 .pv9-footer-links{column-gap:10px}
}
@media(prefers-reduced-motion:reduce){
 .pv9-header *, .pv9-footer *{animation:none!important;transition:none!important}
 .pv9-header-cta:hover,.pv9-footer-spotlight-link:hover{transform:none!important}
}
