/* Fit the complete capture in a stable frame; the dialog shows the original. */
.showroom-screen img,.module-image img{object-fit:contain;object-position:center}
.showroom-screen{background:#edf7ff}
.module-image{background:#edf7ff}
.showroom-screen .show-original[hidden],.showroom-screen .show-compare-labels[hidden]{display:none}
.home-showroom[data-selected=labs] .showroom-screen{background:#c1cbd6}
.showroom-screen.show-compare{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) 36px}
.showroom-screen.show-compare>img{width:100%;height:100%;min-height:0;object-fit:contain;grid-row:1;order:0;padding:10px 0 0}
.showroom-screen.show-compare>img.show-original{border-right:1px solid #00e0f0}
.show-compare-labels{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1fr 1fr;color:#0040b0;font-size:12px;font-weight:500;line-height:36px}
.home-showroom[data-selected=labs] .showroom-screen.show-transparent{background-color:#d9d9db;background-image:linear-gradient(45deg,#eeeeef 25%,transparent 25%),linear-gradient(-45deg,#eeeeef 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eeeeef 75%),linear-gradient(-45deg,transparent 75%,#eeeeef 75%);background-size:24px 24px;background-position:0 0,0 12px,12px -12px,-12px 0}
.showroom-controls>div{gap:10px}
.showroom-caption h3{font-weight:650}
.btn{font-family:inherit;font-weight:600;letter-spacing:0;font-size:14px;border-radius:11px}
.btn.primary:hover,.showroom-top .btn:hover{transform:translateY(-1px)}
@media(max-width:700px){.showroom-screen.show-compare{aspect-ratio:4/3;grid-template-rows:minmax(0,1fr) 32px}.show-compare-labels{font-size:11px;line-height:32px}.showroom-screen.show-compare>img{padding:6px 0 0}}

/* Paired institutional entrances with a shared baseline. */
.home-discovery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top:28px;padding-bottom:96px}
.discovery-card{display:grid;grid-template-rows:auto 1fr auto auto;justify-items:center;text-align:center;padding:48px 42px;background:linear-gradient(160deg,#001840,#001840);border:1px solid #08264a;border-radius:22px;box-shadow:inset 0 1px 0 #ffffff05;position:relative}
.discovery-card::before{content:"";position:absolute;left:25%;right:25%;top:-1px;height:1px;background:linear-gradient(90deg,transparent,#c1cbd6,transparent)}
.discovery-card .eyebrow{font-size:14px;letter-spacing:.13em;font-weight:750;color:#edf7ff;background:#ffffff07;border:1px solid #ffffff15;border-radius:30px;padding:9px 17px;line-height:1.2}
.discovery-card h2{font-size:clamp(29px,3vw,40px);line-height:1.15;letter-spacing:-.035em;max-width:420px;margin:27px 0 20px;text-wrap:balance;color:#f4f4f5}
.discovery-card p{font-size:16px;line-height:1.75;max-width:440px;margin:0 0 30px;color:#c1cbd6;text-wrap:balance}
.discovery-card .discovery-link{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:48px;min-width:220px;background:#edf7ff;border:1px solid #edf7ff;color:#001840;font-weight:650;transition:background .3s,transform .3s}
.discovery-card .discovery-link:hover{background:#fff;transform:translateY(-2px)}
@media(max-width:700px){.home-discovery{grid-template-columns:1fr;padding-top:12px;padding-bottom:60px;gap:20px}.discovery-card{padding:34px 23px}.discovery-card h2{font-size:30px}.discovery-card p{font-size:15px}.discovery-card .eyebrow{font-size:12px}}

.carousel-footnote{font-size:12px;line-height:1.6;color:#aeb5c0;margin:16px 0 0}.showroom-caption p{max-width:780px;line-height:1.7}

.showroom-mobile-nav{display:none}
@media(max-width:700px){
 .showroom-mobile-nav{display:block;min-width:0}
 .has-mobile-nav .showroom-tabs{display:none}
 .module-switcher{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid #08264a;color:#c1cbd6;font-size:11px}
 .module-switcher>div{display:flex;gap:8px}
 .module-current{font-size:16px;font-weight:650;line-height:1.5;margin:18px 0 0;color:#f5f5f6}
 .module-progress{display:flex;gap:5px;margin-top:15px}
 .module-progress span{height:2px;flex:1;background:#08264a}
 .module-progress span.active{background:var(--show-color)}
 .module-browse{border:0;background:none;color:#c1cbd6;text-decoration:underline;text-underline-offset:4px;font:inherit;font-size:12px;min-height:44px;padding:10px 0;cursor:pointer}
 #module-picker[hidden]{display:none}
 #module-picker label{display:block;font-size:12px;color:#c1cbd6;margin:0 0 10px}
 #module-picker select{width:100%;min-height:50px;background:#001840;border:1px solid #3c424d;border-radius:10px;padding:12px;color:#f4f4f5;font:inherit;font-size:13px}
 .has-mobile-nav #showroom-panel{display:flex;flex-direction:column;min-width:0}
 .has-mobile-nav .showroom-top{display:contents}
 .has-mobile-nav [data-show-topic]{display:none}
 .has-mobile-nav .showroom-screen{order:1}
 .has-mobile-nav .showroom-controls{order:2}
 .has-mobile-nav .showroom-caption{order:3}
 .has-mobile-nav [data-show-link]{order:4;display:flex;align-items:center;justify-content:center;width:100%;margin-top:24px;min-height:48px}
 .has-mobile-nav .carousel-footnote{order:5}
}

.module-page[data-front="telemetria"] .module-image{background:#001840}
