/*
 ALINOVA / NOVA VISUAL SYSTEM — TOOL PAGES
 2026-11-12. Enhances 15 legacy static tool pages.
 Loaded after existing styles and only applies to the opt-in class below.
 Workspaces/forms are intentionally preserved (no changes to JS behavior).
*/
html:has(body.al-v2-tool-skin){scroll-behavior:smooth}
html body.al-v2-tool-skin{
 --nv-bg:#0c1434;--nv-bg2:#111a40;
 --nv-surface:#111f42;--nv-surface2:#182a52;--nv-surface3:#203762;
 --nv-line:rgba(152,176,255,.23);--nv-line-hi:rgba(157,191,255,.5);
 --nv-text:#f5f7ff;--nv-muted:#c0cbe4;--nv-dim:#96a7c9;
 --c1:#1ce6de;--c2:#8357fa;--c-soft:rgba(75,135,236,.13);
 --nv-grad:linear-gradient(106deg,#14ece1,#5488ff 49%,#a15aff);
 --nv-brand:linear-gradient(108deg,#1bebe0,#5e84fa 50%,#b067f4);
 --nv-radius:18px;
 --nv-shadow:0 15px 37px rgba(3,11,33,.22),inset 0 1px rgba(219,230,255,.08);
 background:radial-gradient(ellipse 54% 700px at 0% 4%,rgba(95,38,170,.27),transparent 85%),radial-gradient(ellipse 38% 540px at 100% 31%,rgba(7,114,175,.13),transparent 90%),linear-gradient(145deg,#091332,#111c44 55%,#0b1535)!important;
 color:#f1f6ff!important;
 font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
html body.al-v2-tool-skin[data-tool="qr"]{--c1:#22e0eb;--c2:#7c64ff;--c-soft:rgba(34,224,235,.16)}
html body.al-v2-tool-skin[data-tool="files"]{--c1:#1ce6cb;--c2:#3f8eff;--c-soft:rgba(28,230,203,.15)}
html body.al-v2-tool-skin[data-tool="contractor"]{--c1:#39d6ff;--c2:#9170ff;--c-soft:rgba(57,214,255,.14)}
html body.al-v2-tool-skin[data-tool="creator"]{--c1:#bb81ff;--c2:#29dfe6;--c-soft:rgba(187,129,255,.13)}
html body.al-v2-tool-skin[data-tool="business"]{--c1:#b487ff;--c2:#21e2d8;--c-soft:rgba(180,135,255,.15)}
html body.al-v2-tool-skin :is(a,button,input,select,textarea):focus-visible{outline:3px solid #5fe8fc!important;outline-offset:3px!important}
html body.al-v2-tool-skin .site-head{
 position:sticky!important;top:0!important;z-index:110!important;
 background:rgba(8,17,48,.91)!important;border-bottom:1px solid rgba(164,179,254,.2)!important;
 backdrop-filter:blur(16px) saturate(140%)!important;-webkit-backdrop-filter:blur(16px) saturate(140%)!important;
 box-shadow:0 13px 28px rgba(2,5,27,.20)!important
}
html body.al-v2-tool-skin .site-head .head-inner{
 max-width:1320px!important;min-height:70px;gap:15px!important;
}
html body.al-v2-tool-skin .site-head .logo{
 display:inline-flex!important;align-items:center;gap:10px;
 color:#fff!important;font:900 19px/1.15 system-ui,sans-serif!important;
 letter-spacing:.035em!important;text-decoration:none!important;white-space:nowrap!important;
}
html body.al-v2-tool-skin .site-head .logo svg{display:none!important}
html body.al-v2-tool-skin .site-head .logo img.al-v2-mark{
 width:36px!important;height:36px!important;flex:none!important;
 filter:drop-shadow(0 0 9px rgba(70,155,248,.29))!important;
 display:block!important
}
html body.al-v2-tool-skin .site-head .logo small{
 display:block!important;font:750 9px/1.7 system-ui,sans-serif!important;
 letter-spacing:.08em!important;color:#99d9ef!important;
}
html body.al-v2-tool-skin .primary-nav :is(a,a:link,a:visited){
 color:#d6def8!important;border:1px solid transparent!important;
 background:transparent!important;border-radius:10px!important;
 padding:9px 12px!important;font-size:12px!important;font-weight:750!important;
 transition:background .18s,border-color .18s!important;
}
html body.al-v2-tool-skin .primary-nav a:hover{
 background:rgba(123,139,248,.14)!important;border-color:rgba(118,158,255,.25)!important;color:#fff!important
}
html body.al-v2-tool-skin .primary-nav a[aria-current="page"]{
 background:rgba(48,187,212,.1)!important;border-color:rgba(69,218,219,.32)!important;color:#8cf7f0!important
}
html body.al-v2-tool-skin .nv-burger{
 border:1px solid rgba(160,181,246,.38)!important;border-radius:12px!important;
 background:rgba(34,54,109,.7)!important
}
html body.al-v2-tool-skin .nv-burger i:nth-child(2){background:#17eee2!important}
html body.al-v2-tool-skin .nv-side{
 background:linear-gradient(155deg,#121c48,#091331 75%)!important;
 border-right:1px solid rgba(174,189,246,.2)!important
}
html body.al-v2-tool-skin .nv-side :is(a,button){color:#e5e9ff}
html body.al-v2-tool-skin .crumbs,html body.al-v2-tool-skin .focus-breadcrumb{
 color:#afc0df!important;
}
html body.al-v2-tool-skin .crumbs a,
html body.al-v2-tool-skin .focus-breadcrumb a{
 color:#63ece7!important;
}
html body.al-v2-tool-skin :is(.hero,.focus-hero){
 position:relative!important;overflow:hidden!important;
 border:1px solid rgba(128,145,246,.31)!important;
 border-radius:24px!important;
 background:radial-gradient(ellipse 36% 80% at 100% 10%,rgba(106,59,206,.30),transparent 82%),
 radial-gradient(ellipse 42% 80% at 0 100%,rgba(4,176,225,.20),transparent 85%),
 linear-gradient(130deg,#101c4b,#131c4c 49%,#0c214c)!important;
 box-shadow:0 22px 55px rgba(0,7,40,.28),inset 0 1px rgba(213,221,255,.1)!important;
 padding:clamp(22px,3.2vw,45px)!important;
}
html body.al-v2-tool-skin :is(.hero,.focus-hero)::after{
 content:"";position:absolute;inset:auto -50px -125px auto;width:245px;height:245px;
 border:1px solid rgba(90,170,254,.17);border-radius:50%;box-shadow:0 0 0 36px rgba(95,102,244,.03);
 pointer-events:none
}
html body.al-v2-tool-skin :is(.hero,.focus-hero) .eyebrow{
 display:inline-flex;align-items:center;gap:9px;
 border-radius:999px!important;border:1px solid rgba(85,225,240,.33)!important;
 background:rgba(37,131,172,.15)!important;padding:6px 13px!important;
 color:#87f1ec!important;font-weight:850!important;
}
html body.al-v2-tool-skin :is(.hero,.focus-hero) h1{
 color:#fff!important;
 font-size:clamp(30px,4.4vw,52px)!important;
 line-height:1.24!important;letter-spacing:-.032em!important;
 margin:14px 0!important;max-width:19ch;
 text-wrap:balance;
}
html body.al-v2-tool-skin :is(.hero,.focus-hero) p{
 font-size:clamp(13px,1.3vw,16px)!important;color:#c8d7ef!important;
 line-height:1.9!important;max-width:62ch
}
html body.al-v2-tool-skin .hero-art,
html body.al-v2-tool-skin .focus-art{
 border:1px solid rgba(148,156,255,.38)!important;border-radius:22px!important;
 background:radial-gradient(circle at 48% 40%,rgba(85,68,202,.30),transparent 65%),
 linear-gradient(155deg,#1b2e65,#11234b)!important;
 box-shadow:inset 0 1px rgba(224,230,255,.12),0 14px 34px rgba(4,12,44,.22)!important;
}
html body.al-v2-tool-skin .hero-art svg,
html body.al-v2-tool-skin .focus-art svg{color:#62e9f1!important;filter:drop-shadow(0 0 24px rgba(32,210,238,.32))!important}
html body.al-v2-tool-skin .hero-actions .button.primary,
html body.al-v2-tool-skin :is(.button.primary,button.primary){
 color:#092448!important;background:linear-gradient(110deg,#1bf1df,#5ac9f8)!important;
 border:1px solid rgba(157,249,248,.75)!important;border-radius:12px!important;
 box-shadow:0 10px 26px rgba(0,168,203,.13)!important;font-weight:850!important
}
html body.al-v2-tool-skin .button.subtle{
 background:rgba(33,55,116,.65)!important;border:1px solid #657dc5!important;
 color:#ecf4ff!important;border-radius:12px!important
}
html body.al-v2-tool-skin .button.primary:hover{
 background:linear-gradient(110deg,#5cf9ef,#98e6ff)!important;
 box-shadow:0 16px 30px rgba(0,213,222,.2)!important
}
html body.al-v2-tool-skin :is(.hero-art,.focus-art) em{color:#69f7eb!important}
html body.al-v2-tool-skin :is(.panel,.focus-article,.learning-card,.related-card,.info-card,.tool-shortcuts,.focus-related a,.al-switch-card){
 background:linear-gradient(150deg,#1a2a53,#122143)!important;
 border:1px solid rgba(155,183,254,.22)!important;
 border-radius:17px!important;
 box-shadow:0 12px 33px rgba(5,12,39,.16),inset 0 1px rgba(233,238,255,.05)!important
}
html body.al-v2-tool-skin :is(.panel,.focus-article,.learning-card,.related-card,.info-card,.tool-shortcuts,.focus-related a):hover{
 border-color:rgba(91,198,253,.49)!important
}
html body.al-v2-tool-skin :is(.v156-icon,.related-card-icon,.panel-svg,.learning-mark){
 border:1px solid rgba(114,157,244,.39)!important;
 color:#6fece9!important;
 background:linear-gradient(135deg,rgba(57,117,241,.20),rgba(98,64,212,.18))!important;
 border-radius:13px!important;
 box-shadow:0 8px 19px rgba(21,78,202,.14)!important;
}
html body.al-v2-tool-skin .panel :is(input:not([type="color"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),select,textarea),
html body.al-v2-tool-skin .focus-workspace :is(input:not([type="color"]):not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),select,textarea){
 background:#0e1938!important;color:#ecf5ff!important;
 border:1px solid rgba(140,175,235,.38)!important;border-radius:10px!important;
}
html body.al-v2-tool-skin :is(input,select,textarea)::placeholder{color:#a6b9d6!important}
html body.al-v2-tool-skin :is(input,select,textarea):focus{
 outline-color:#36d9ef!important;border-color:#44d8e2!important;
}
html body.al-v2-tool-skin .section-head h2,
html body.al-v2-tool-skin .focus-section>h2,
html body.al-v2-tool-skin .learning-section>h2{
 color:#f1f6ff!important;letter-spacing:-.02em!important
}
html body.al-v2-tool-skin :is(.focus-workspace,.focus-section,.al-category-learn,.learning-section) {
 scroll-margin-top:97px
}
html body.al-v2-tool-skin .focus-pill{
 border-color:rgba(111,166,237,.31)!important;
 background:rgba(44,91,160,.20)!important;
 color:#aeeaf0!important
}
html body.al-v2-tool-skin .foot{
 border-top:2px solid rgba(98,93,231,.64)!important;
 color:#f1f5ff!important;
 background:radial-gradient(ellipse at 0 0,rgba(98,66,209,.20),transparent 58%),
 linear-gradient(145deg,#121a46,#0a1637)!important;
 box-shadow:0 -15px 34px rgba(2,9,33,.19)!important;
}
html body.al-v2-tool-skin .foot::before{
 background:linear-gradient(90deg,#12ece0,#5489ff,#9c61f7)!important;
 left:0!important;right:0!important;opacity:.95!important;height:2px!important
}
html body.al-v2-tool-skin .foot .al-v2-footer-content{
 max-width:1270px;margin:auto;
 padding:38px clamp(18px,3vw,40px) 25px;
 display:grid;grid-template-columns:minmax(200px,1.45fr) repeat(3,minmax(125px,.75fr));gap:clamp(16px,2vw,32px)
}
html body.al-v2-tool-skin .foot .al-v2-foot-brand .al-v2-foot-logo{
 display:inline-flex;align-items:center;gap:10px;text-decoration:none;
 font:900 23px/1 system-ui,sans-serif;color:#fff!important;letter-spacing:.02em
}
html body.al-v2-tool-skin .foot .al-v2-foot-brand img{
 width:40px;height:40px;filter:drop-shadow(0 0 8px rgba(114,122,255,.35))
}
html body.al-v2-tool-skin .foot .al-v2-foot-brand p{
 max-width:330px;font-size:12px;line-height:1.95;color:#b5c7df!important;margin:17px 0
}
html body.al-v2-tool-skin .foot .al-v2-foot-tags{display:flex;gap:8px;flex-wrap:wrap}
html body.al-v2-tool-skin .foot .al-v2-foot-tags span{
 padding:5px 9px;background:rgba(118,155,242,.13);border:1px solid rgba(153,186,242,.22);
 color:#d6eeff;border-radius:8px;font-size:10px
}
html body.al-v2-tool-skin .foot .al-v2-footer-content nav{
 display:flex;flex-direction:column;align-items:flex-start;gap:10px
}
html body.al-v2-tool-skin .foot .al-v2-footer-content nav h3{
 color:#fff!important;margin:0 0 10px!important;font:850 14px/1.55 system-ui,sans-serif
}
html body.al-v2-tool-skin .foot .al-v2-footer-content nav h3::after{
 content:"";display:block;width:32px;height:2px;margin-top:10px;background:#27e6df
}
html body.al-v2-tool-skin .foot .al-v2-footer-content nav a{
 display:inline-flex;align-items:center;min-height:24px;text-decoration:none;
 color:#bac9e4!important;font:600 12px/1.75 system-ui,sans-serif!important
}
html body.al-v2-tool-skin .foot .al-v2-footer-content nav a:hover{color:#6ffbf2!important}
html body.al-v2-tool-skin .foot .al-v2-foot-end{
 max-width:1270px;margin:auto;padding:17px clamp(18px,3vw,40px) 19px;
 border-top:1px solid rgba(173,194,249,.16);
 display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:13px;
 color:#9fb1d1;font:500 11px/1.65 system-ui,sans-serif
}
html body.al-v2-tool-skin .foot .al-v2-foot-end a{
 color:#b8cbea!important;text-decoration:none!important
}
html body.al-v2-tool-skin .foot .al-v2-foot-end a:hover{color:#59ecf4!important}
html body.al-v2-tool-skin .foot .al-v2-foot-end>span:last-child{display:flex;gap:14px;flex-wrap:wrap}
@media (max-width:950px){
 html body.al-v2-tool-skin .foot .al-v2-footer-content{grid-template-columns:repeat(3,minmax(0,1fr))}
 html body.al-v2-tool-skin .foot .al-v2-foot-brand{grid-column:1/-1}
}
@media (max-width:720px){
 html body.al-v2-tool-skin :is(.hero,.focus-hero){padding:20px!important;border-radius:17px!important}
 html body.al-v2-tool-skin :is(.hero,.focus-hero) h1{font-size:clamp(28px,7.5vw,38px)!important;max-width:100%}
 html body.al-v2-tool-skin :is(.hero,.focus-hero) p{font-size:13px!important}
 html body.al-v2-tool-skin .foot .al-v2-footer-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px;padding:28px 19px 23px}
 html body.al-v2-tool-skin .foot .al-v2-foot-brand{grid-column:1/-1}
 html body.al-v2-tool-skin .foot .al-v2-foot-end{padding:16px 19px;justify-content:center;text-align:center}
 html body.al-v2-tool-skin .site-head .head-inner{min-height:65px}
}
@media (prefers-reduced-motion:reduce){
 html body.al-v2-tool-skin *,html body.al-v2-tool-skin *::before,
 html body.al-v2-tool-skin *::after{
 animation:none!important;transition:none!important;scroll-behavior:auto!important
 }
}
@media print{
 html body.al-v2-tool-skin .foot .al-v2-footer-content,
 html body.al-v2-tool-skin .foot .al-v2-foot-end{display:none!important}
 html body.al-v2-tool-skin{background:#fff!important;color:#101624!important}
}

/* An image preview is not an image until the user selects a file.
   Hide intentionally empty elements, but reveal them normally once JS sets src. */
html body.al-v2-tool-skin img[hidden],
html body.al-v2-tool-skin img.preview:not([src]),
html body.al-v2-tool-skin img#image-before:not([src]),
html body.al-v2-tool-skin img#image-preview:not([src]){
 display:none!important
}
