/* ALINOVA 2026 / Phase 4: service pages and image-format lab.
   CSS layer is separate from original source and preserves user functionality. */
html:has(body.al-v4-info),html:has(body.al-v4-lab){scroll-behavior:smooth}
html body.al-v4-info,html body.al-v4-lab{
 --nv-navy:#0c1535;--nv-deep:#0b1537;--nv-ink:#f6f9ff;--nv-muted:#becde9;--nv-soft:#90a7cc;
 --nv-border:rgba(146,174,255,.28);--nv-cyan:#23eadc;--nv-purple:#905ffa;
 --nv-grad:linear-gradient(110deg,#21f0de,#5fa2ff 49%,#b079ff);
 --nv-panel:linear-gradient(150deg,rgba(32,50,105,.92),rgba(16,33,76,.91));
 min-width:320px;
 margin:0!important;
 color:#f3f7ff!important;
 background:radial-gradient(ellipse 47% 600px at 0 9%,rgba(122,62,196,.25),transparent 78%),radial-gradient(ellipse 49% 670px at 100% 30%,rgba(26,121,212,.17),transparent 79%),linear-gradient(150deg,#0b1535,#111d46 45%,#091633)!important;
 font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
 font-size:15px;line-height:1.85;overflow-x:clip
}
html body.al-v4-info *,html body.al-v4-lab *{box-sizing:border-box}
html body.al-v4-info :is(a,button,summary,input,select):focus-visible,
html body.al-v4-lab :is(a,button,summary,input,select):focus-visible{outline:3px solid #31ede9!important;outline-offset:4px!important}
html body.al-v4-info a,html body.al-v4-lab a{color:#7ee7f4}
html body.al-v4-info a:hover,html body.al-v4-lab a:hover{color:#bb9eff}
.al-v4-header{
 position:sticky!important;top:0!important;z-index:70!important;
 padding:0!important;min-height:0!important;
 background:rgba(9,17,49,.91)!important;
 border-bottom:1px solid rgba(162,186,255,.2)!important;
 backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%);
 box-shadow:0 15px 35px rgba(0,5,37,.15)
}
.al-v4-header .al-v4-header-inner{
 width:min(1210px,calc(100% - 32px));margin:auto;
 display:flex;align-items:center;justify-content:space-between;
 gap:16px;min-height:76px;
}
.al-v4-header .al-v4-brand{
 display:inline-flex!important;align-items:center!important;gap:10px!important;
 color:#fff!important;text-decoration:none!important;white-space:nowrap!important;
 font:900 22px/1.1 system-ui,Arial,sans-serif!important;letter-spacing:.018em!important;
 flex:none!important
}
.al-v4-header .al-v4-brand img{width:39px;height:39px;display:block;filter:drop-shadow(0 0 12px rgba(87,149,254,.3))}
.al-v4-header .al-v4-navigation{
 display:flex;align-items:center;gap:clamp(5px,1vw,15px);flex-wrap:nowrap
}
.al-v4-header .al-v4-navigation a{
 display:inline-flex;align-items:center;justify-content:center;
 border-radius:10px!important;min-height:40px;padding:6px 10px!important;
 color:#d8e3f8!important;font-size:12px!important;line-height:1.3!important;
 font-weight:760!important;text-decoration:none!important;white-space:nowrap!important;
 background:transparent!important;border:1px solid transparent!important;
 transition:background .2s,border-color .2s
}
.al-v4-header .al-v4-navigation a:hover{
 color:#fff!important;background:rgba(88,108,227,.22)!important;
 border-color:rgba(139,163,251,.27)!important
}
.al-v4-header .al-v4-navigation a[aria-current="page"]{
 background:rgba(51,194,216,.12)!important;color:#72f2ee!important;
 border-color:rgba(39,224,226,.38)!important
}
.al-v4-header .al-v4-navigation a.al-v4-nav-cta{
 color:#0c2448!important;font-weight:900!important;
 border-color:rgba(144,249,243,.6)!important;
 background:linear-gradient(110deg,#1ef0e1,#57bffb)!important;
 box-shadow:0 8px 20px rgba(11,177,219,.15)
}
.al-v4-menu{display:none;position:relative;margin-left:auto}
.al-v4-menu summary{
 list-style:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;
 color:#ebf6ff!important;background:#203368!important;border:1px solid rgba(145,177,255,.48)!important;
 padding:8px 12px;border-radius:11px;font-size:12px;font-weight:850;min-height:39px
}
.al-v4-menu summary::-webkit-details-marker{display:none}
.al-v4-menu[open] summary{color:#75f6ed!important}
.al-v4-menu .al-v4-menu-links{
 position:absolute;top:calc(100% + 11px);inset-inline-end:0;
 width:min(300px,calc(100vw - 26px));padding:10px;
 display:flex;flex-direction:column;gap:2px;
 border:1px solid rgba(140,169,246,.4);border-radius:14px;
 background:linear-gradient(145deg,#172652,#101b42);
 box-shadow:0 24px 50px rgba(3,10,35,.48)
}
.al-v4-menu .al-v4-menu-links a{
 color:#eef5ff!important;text-decoration:none;display:block;
 font-size:13px;font-weight:750;line-height:1.4;padding:12px 13px;
 border-radius:9px;background:transparent
}
.al-v4-menu .al-v4-menu-links a:hover{background:#293d78}
.al-v4-menu .al-v4-menu-links a[aria-current="page"]{color:#6ff3e6!important;background:rgba(23,170,216,.14)}
html body.al-v4-info main{
 display:block!important;
 max-width:1030px!important;
 width:min(100% - 36px,1030px)!important;
 margin:0 auto!important;
 padding:31px 0 65px!important;
 min-height:55vh!important;
 color:#edf4ff!important;
}
html body.al-v4-info main .al-page-crumbs{
 display:flex;align-items:center;gap:10px;flex-wrap:wrap;
 font-size:12px!important;line-height:1.6;margin:0 0 16px!important;
 color:#a7b8d7!important
}
html body.al-v4-info main .al-page-crumbs a{color:#54dcec!important;text-decoration:none}
html body.al-v4-info main .al-page-crumbs a:hover{color:#ae95fa!important}
.al-v4-info-hero{
 position:relative;isolation:isolate;overflow:hidden;
 border:1px solid rgba(159,172,248,.35);
 border-radius:23px;
 background:radial-gradient(ellipse 48% 100% at 100% 0,rgba(125,72,234,.3),transparent 85%),
 radial-gradient(ellipse 35% 90% at 0 90%,rgba(26,171,234,.19),transparent 80%),
 linear-gradient(145deg,#151e4e,#142b5c);
 box-shadow:0 22px 47px rgba(6,15,47,.22),inset 0 1px rgba(218,226,255,.09);
 padding:clamp(28px,4vw,51px)!important;
 margin:0 0 35px;
 min-height:225px
}
.al-v4-info-hero::after{
 content:"";z-index:-1;position:absolute;width:300px;height:300px;top:-135px;inset-inline-end:-74px;
 border-radius:50%;border:1px solid rgba(109,188,255,.22);
 box-shadow:0 0 0 43px rgba(138,82,242,.04),0 0 0 94px rgba(53,161,250,.035);
 pointer-events:none
}
html body.al-v4-info main .al-v4-info-hero :is(.label,.eyebrow){
 display:inline-flex;gap:8px;align-items:center;
 padding:7px 12px!important;border-radius:999px;
 border:1px solid rgba(43,231,234,.3);
 background:rgba(12,136,207,.12);
 color:#87f4ee!important;font-size:10px!important;font-weight:850!important;
 letter-spacing:.07em!important;
 text-transform:uppercase
}
html body.al-v4-info main .al-v4-info-hero h1{
 font-size:clamp(32px,4.5vw,53px)!important;line-height:1.25!important;
 color:#fff!important;letter-spacing:-.028em!important;
 margin:16px 0 15px!important;
 max-width:830px;text-wrap:balance
}
html body.al-v4-info main .al-v4-info-hero>.lead{
 color:#d2ddf5!important;
 max-width:765px;font-size:clamp(14px,1.7vw,17px)!important;
 line-height:2!important;margin:0!important
}
html body.al-v4-info main :is(h2,h3){font-weight:850;color:#fff!important;line-height:1.45!important}
html body.al-v4-info main>h2{
 position:relative;
 font-size:clamp(20px,2.45vw,26px)!important;
 line-height:1.5!important;
 margin:31px 0 12px!important;padding-inline-start:17px!important;
 border-inline-start:3px solid #2deae0
}
html body.al-v4-info main>h2::after{
 content:"";display:block;width:100%;height:1px;background:linear-gradient(90deg,rgba(150,166,251,.25),transparent);
 margin-top:11px
}
html body.al-v4-info main :is(p,li){
 color:#cbd7ed!important;line-height:2.05!important;font-size:14px!important
}
html body.al-v4-info main>p{max-width:910px;margin:0 0 16px}
html body.al-v4-info main strong{color:#f2f5ff}
html body.al-v4-info main a:not(.al-page-crumbs a){
 color:#7cebf2!important;text-decoration:underline;text-decoration-color:rgba(124,235,242,.55);
 text-underline-offset:3px
}
html body.al-v4-info main .panel,
html body.al-v4-info main .grid article,
html body.al-v4-info main .band,
html body.al-v4-info main :is(.step,.info-card,.feature){
 background:var(--nv-panel)!important;
 border:1px solid rgba(142,173,251,.28)!important;
 border-radius:17px!important;
 box-shadow:0 14px 30px rgba(4,13,48,.16),inset 0 1px rgba(220,234,255,.06)!important
}
html body.al-v4-info main :is(.panel,.grid article,.band){padding:clamp(18px,2.8vw,26px)!important;margin:18px 0}
html body.al-v4-info main .grid{
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0 36px
}
html body.al-v4-info main .grid article{margin:0}
html body.al-v4-info main .grid h3{font-size:17px!important}
html body.al-v4-info main .grid a{
 display:inline-flex;align-items:center;gap:7px;
 color:#7dedeb!important;border-bottom:1px solid rgba(125,237,235,.4)
}
html body.al-v4-info main .panel h2{margin:0 0 10px!important;font-size:20px!important}
html body.al-v4-info main .panel p:last-child{margin-bottom:0}
html body.al-v4-info main ol,html body.al-v4-info main ul{padding-inline-start:22px;margin:13px 0 20px}
html body.al-v4-info main li{padding-bottom:8px}
.al-v4-footer{
 margin:0!important;padding:0!important;
 width:100%!important;
 background:radial-gradient(ellipse 40% 80% at 0 0,rgba(111,62,232,.2),transparent 75%),
 linear-gradient(140deg,#131944,#081635 76%)!important;
 border-top:3px solid #724dd6!important;
 color:#e6eeff!important;
 box-shadow:0 -15px 38px rgba(2,11,42,.16)
}
.al-v4-footer .al-v4-footer-content{
 max-width:1210px;width:calc(100% - 32px);margin:0 auto;
 padding:43px 0 35px;
 display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(125px,.78fr));
 gap:clamp(15px,2.6vw,36px)
}
.al-v4-footer .al-v4-footer-brand .al-v4-footer-logo{
 display:inline-flex;align-items:center;gap:10px;color:#fff!important;
 font:900 22px/1.1 system-ui,Arial,sans-serif!important;text-decoration:none;letter-spacing:.015em
}
.al-v4-footer .al-v4-footer-brand img{width:39px;height:39px;filter:drop-shadow(0 0 8px rgba(101,151,251,.25))}
.al-v4-footer .al-v4-footer-brand p{font-size:12px;line-height:1.9;color:#b6c7e4;margin:15px 0;max-width:330px}
.al-v4-footer .al-v4-footer-brand span{display:inline-flex;padding:5px 9px;background:rgba(78,128,231,.15);border:1px solid rgba(118,169,251,.29);border-radius:7px;color:#cceafb;font-size:10px}
.al-v4-footer nav{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:10px!important}
.al-v4-footer nav h2{font-size:14px!important;font-weight:850!important;color:#fff!important;margin:0 0 7px!important}
.al-v4-footer nav h2::after{content:"";display:block;height:2px;width:34px;background:#20ede1;margin-top:9px}
.al-v4-footer nav a{display:block!important;text-decoration:none!important;color:#c0cde6!important;font-size:12px!important;line-height:1.7!important}
.al-v4-footer nav a:hover{color:#5feeea!important}
.al-v4-footer .al-v4-footer-bottom{
 max-width:1210px;width:calc(100% - 32px);margin:auto;
 display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
 color:#a7b7d7;font-size:11px;
 padding:17px 0 23px;border-top:1px solid rgba(159,177,244,.2)
}
.al-v4-footer .al-v4-footer-bottom nav{display:flex!important;flex-direction:row!important;gap:15px!important;flex-wrap:wrap}
html body.al-v4-lab header.top.al-v4-header{padding:0!important;background:rgba(9,17,49,.91)!important}
html body.al-v4-lab .wrap{width:min(1180px,calc(100% - 32px))}
html body.al-v4-lab header.top.al-v4-header .al-v4-header-inner{width:min(1210px,calc(100% - 32px));padding:0!important;max-width:1210px}
html body.al-v4-lab main.wrap{padding:15px 0 55px!important}
html body.al-v4-lab .breadcrumb{font-size:12px;color:#a6bbd7!important;margin:21px 0 15px!important}
html body.al-v4-lab .breadcrumb a{color:#6fe9ec!important}
html body.al-v4-lab .hero{
 border:1px solid rgba(155,180,252,.36)!important;border-radius:23px!important;
 padding:clamp(21px,3.5vw,41px)!important;
 background:radial-gradient(ellipse at 100% 8%,rgba(139,71,218,.29),transparent 67%),
 radial-gradient(ellipse at 0% 98%,rgba(28,190,221,.16),transparent 65%),
 linear-gradient(145deg,#17204e,#182f63)!important;
 box-shadow:0 19px 45px rgba(2,14,48,.3),inset 0 1px rgba(218,228,255,.1)!important
}
html body.al-v4-lab .kicker{
 color:#74f0ed!important;letter-spacing:.08em;font-size:11px!important;font-weight:850;
}
html body.al-v4-lab .hero h1{
 font-size:clamp(30px,4.1vw,50px)!important;line-height:1.27!important;
 letter-spacing:-.023em!important;color:#fff!important;text-wrap:balance
}
html body.al-v4-lab .hero p{line-height:1.97!important;color:#cedbf2!important;font-size:14px}
html body.al-v4-lab .hero aside{
 background:linear-gradient(144deg,#22356e,#1a2e57)!important;
 border:1px solid rgba(142,180,252,.32)!important;
 border-radius:16px!important;padding:21px!important;
 box-shadow:0 12px 25px rgba(2,13,47,.15)
}
html body.al-v4-lab .hero aside strong{color:#fff}
html body.al-v4-lab .action-link,
html body.al-v4-lab button.run{
 background:linear-gradient(105deg,#2bf0df,#64c1fa)!important;
 border:1px solid rgba(156,248,245,.48)!important;
 color:#0c2348!important;border-radius:12px!important;font-weight:900!important;
 box-shadow:0 10px 23px rgba(13,197,225,.17)!important;
 text-decoration:none;padding:12px 17px
}
html body.al-v4-lab .action-link:hover,html body.al-v4-lab button.run:hover{background:#9bf7f1!important;color:#082544!important}
html body.al-v4-lab section.block{
 border-radius:19px!important;
 border:1px solid rgba(159,181,253,.27)!important;
 background:linear-gradient(142deg,rgba(26,44,91,.93),rgba(17,32,73,.93))!important;
 box-shadow:0 16px 34px rgba(4,10,43,.19),inset 0 1px rgba(218,229,255,.065)!important;
 padding:clamp(20px,3vw,29px)!important
}
html body.al-v4-lab section.block h2{font-size:clamp(22px,2.7vw,31px)!important;line-height:1.35!important;color:#fff!important}
html body.al-v4-lab section.block>p{color:#bfcee9!important;font-size:13px!important;line-height:1.85!important}
html body.al-v4-lab .field label{color:#f0f4ff!important}
html body.al-v4-lab .field :is(select,input){
 color:#e5f1ff!important;border:1px solid rgba(144,172,244,.41)!important;
 border-radius:11px!important;background:#0c1b40!important;min-height:41px;
}
html body.al-v4-lab .field input[type=range]{min-height:25px;accent-color:#25e9dc}
html body.al-v4-lab .result{
 border:1px solid rgba(151,181,245,.34)!important;border-radius:16px!important;
 background:#1b2b57!important;
 box-shadow:0 10px 24px rgba(3,14,40,.15)!important
}
html body.al-v4-lab .result figure{background:#0d1a3b!important}
html body.al-v4-lab .result .details{padding:19px!important}
html body.al-v4-lab .result .details h3{color:#fff!important}
html body.al-v4-lab .result .size{color:#60f8e9!important}
html body.al-v4-lab .result .details a{
 color:#d6f8ff!important;border:1px solid rgba(93,210,246,.52)!important;
 background:rgba(31,91,171,.15)!important;border-radius:10px!important
}
html body.al-v4-lab .guides article,html body.al-v4-lab .faq article{
 background:linear-gradient(143deg,#223663,#1b2c58)!important;
 border:1px solid rgba(155,180,250,.27)!important;border-radius:15px!important;
 padding:20px!important
}
html body.al-v4-lab .guides h3,html body.al-v4-lab .faq h3{color:#fff!important}
html body.al-v4-lab .guides p,html body.al-v4-lab .faq p{color:#cbd7ed!important}
html body.al-v4-lab .observation-table th{color:#79f5ec!important;border-color:rgba(129,157,239,.28)!important}
html body.al-v4-lab .observation-table td{color:#d5dffa!important;border-color:rgba(129,157,239,.28)!important}
html body.al-v4-lab .list-links a{
 background:rgba(48,76,143,.3)!important;
 border:1px solid rgba(137,166,252,.3)!important;
 border-radius:11px!important;color:#d2edfd!important
}
html body.al-v4-lab footer.al-v4-footer{margin:0!important;padding:0!important}
@media(max-width:930px){
 .al-v4-header .al-v4-navigation{gap:0}
 .al-v4-header .al-v4-navigation a{padding:8px!important;font-size:11px!important}
 .al-v4-footer .al-v4-footer-content{grid-template-columns:repeat(3,minmax(0,1fr))}
 .al-v4-footer .al-v4-footer-brand{grid-column:1/-1}
}
@media(max-width:700px){
 .al-v4-header .al-v4-header-inner{min-height:65px!important}
 .al-v4-header .al-v4-navigation{display:none!important}
 .al-v4-menu{display:block!important}
 html body.al-v4-info main{width:calc(100% - 28px)!important;padding:20px 0 38px!important}
 .al-v4-info-hero{padding:24px 19px!important;border-radius:17px!important;min-height:0}
 .al-v4-info-hero::after{height:180px;width:180px;top:-110px;inset-inline-end:-80px}
 html body.al-v4-info main .al-v4-info-hero h1{font-size:clamp(29px,7.5vw,38px)!important}
 html body.al-v4-info main .al-v4-info-hero>.lead{font-size:13px!important}
 html body.al-v4-info main .grid{grid-template-columns:1fr!important}
 html body.al-v4-info main :is(p,li){font-size:13px!important;line-height:2!important}
 html body.al-v4-lab main.wrap{width:calc(100% - 28px)}
 html body.al-v4-lab .hero{border-radius:17px!important;padding:24px 19px!important}
 html body.al-v4-lab .hero h1{font-size:clamp(29px,7.5vw,39px)!important}
 html body.al-v4-lab .previewgrid{grid-template-columns:1fr!important}
 .al-v4-footer .al-v4-footer-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:27px 16px;padding:33px 0}
 .al-v4-footer .al-v4-footer-brand{grid-column:1/-1}
 .al-v4-footer .al-v4-footer-bottom{justify-content:center;text-align:center}
}
@media(max-width:360px){
 .al-v4-header .al-v4-brand{font-size:18px!important}
 .al-v4-header .al-v4-brand img{width:31px;height:31px}
 html body.al-v4-lab .controls{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){
 html body.al-v4-info *,html body.al-v4-info *::before,html body.al-v4-info *::after,
 html body.al-v4-lab *,html body.al-v4-lab *::before,html body.al-v4-lab *::after{
 animation:none!important;transition:none!important;scroll-behavior:auto!important
 }
}
@media print{
 .al-v4-header,.al-v4-footer{display:none!important}
 html body.al-v4-info,html body.al-v4-lab{background:#fff!important;color:#172039!important}
}
