/* Candidate interne : aucun remplacement des styles et effets validés sur bureau. */
.mobile-menu-toggle{display:none}
.table-scroll{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
.table-scroll:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}

/* Le cadre s'adapte ; la fenêtre interne de DANA reste toujours à1280px. */
.instrument-view-controls{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:16px 0}
.instrument-view-controls .button,.instrument-pan-controls .button{min-width:44px;min-height:44px;padding:10px 14px;gap:10px;font-size:13px}
.instrument-view-controls output{font-variant-numeric:tabular-nums;min-width:4ch;text-align:center;font-size:14px;color:var(--ink)}
.instrument-viewport{width:100%;max-width:100%;overflow:auto;max-height:min(76svh,960px);border:1px solid #4a505e;background:#14191e;overscroll-behavior-inline:contain;scrollbar-gutter:stable}
.instrument-viewport:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}
.instrument-canvas{position:relative;flex:none;overflow:hidden;margin-inline:auto}
#instrument-host .instrument-viewport iframe{display:block;position:absolute;left:0;top:0;width:1280px!important;max-width:none!important;min-width:1280px!important;border:0;transform-origin:0 0;background:#14191e}
.instrument-pan-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.instrument-pan-controls>span{font-size:13px;color:var(--muted);margin-right:4px}
.instrument-pan-controls .button{min-width:44px}
.instrument-view-help{font-size:13px!important;line-height:1.65;color:var(--muted);max-width:75ch;border:0;margin:8px 0 0;padding:0}
.instrument-view-help summary{font-size:13px;min-height:44px;display:flex;align-items:center;margin-left:0;gap:10px}
.instrument-view-help summary::before{content:'+';font-size:18px;color:var(--cyan)}
.instrument-view-help[open] summary::before{content:'−'}
.instrument-view-help p{font-size:13px;line-height:1.65;margin:0 0 12px}
.instrument-workspace:fullscreen .instrument-viewport{max-height:calc(100svh - 220px)}
.instrument-workspace:fullscreen #instrument-host iframe{min-height:0}
.instrument-frame-only{min-height:100svh}
.instrument-frame-only .instrument-workspace{max-width:1600px;margin:0 auto;padding:clamp(12px,2vw,24px);border:0}
.instrument-frame-only .instrument-viewport{max-height:calc(100svh - 180px)}
.instrument-frame-only .player-heading h1{font-size:24px;letter-spacing:-.03em;margin:0}
.instrument-frame-only .frame-back{font-size:14px;min-height:44px;display:inline-flex;align-items:center}

@media(max-width:1100px){
 :root{--space:clamp(18px,4.6vw,32px)}
 .wrap{min-width:0;width:100%;padding-left:max(var(--space),env(safe-area-inset-left,0px));padding-right:max(var(--space),env(safe-area-inset-right,0px))}
 body{padding-bottom:env(safe-area-inset-bottom,0px)}
 .instrument-frame-only .instrument-workspace{padding-left:max(12px,env(safe-area-inset-left,0px));padding-right:max(12px,env(safe-area-inset-right,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}
 header .site-header-layout{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px 22px;min-height:0;padding-block:14px}
 .site-header-layout>.brand{grid-area:1/1;font-size:16px}
 .site-header-layout>.first-wave-cta{grid-area:1/2;justify-self:end;font-size:14px;min-height:44px}
 .rs-responsive .mobile-menu-toggle{display:inline-flex;grid-area:1/3;justify-self:end;align-items:center;gap:10px;min-height:44px;padding:10px 12px;color:var(--ink);background:transparent;border:1px solid #555966;border-radius:2px;font:inherit;font-size:14px;cursor:pointer}
 .mobile-menu-icon{display:grid;gap:4px;width:16px}
 .mobile-menu-icon::before,.mobile-menu-icon::after{content:"";display:block;height:1px;background:currentColor;transition:transform .18s}
 .mobile-menu-toggle[aria-expanded=true] .mobile-menu-icon::before{transform:translateY(2.5px) rotate(45deg)}
 .mobile-menu-toggle[aria-expanded=true] .mobile-menu-icon::after{transform:translateY(-2.5px) rotate(-45deg)}
 .site-header-layout>nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1fr;gap:0;width:100%;justify-self:stretch;align-items:stretch;padding:10px 0 8px;border-top:1px solid var(--line);font-size:16px}
 .rs-responsive .site-header-layout>nav:not([data-open]){display:none}
 .site-header-layout>nav>a,.products-menu>summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:12px 4px;font-size:16px;line-height:1.5}
 .site-header-layout>nav>a{border-bottom:1px solid var(--line)}
 .site-header-layout>nav>a:last-of-type{border-bottom:0}
 .products-menu{width:100%}
 .products-panel{position:static;max-height:none;overflow:visible;box-shadow:none;padding:16px;margin:0 0 12px;background:var(--dark)}
 .products-heading{margin-bottom:16px}
 .products-heading>span{display:none}
 .products-heading p{font-size:15px;line-height:1.6}
 .products-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
 .products-panel .product-tile{min-height:44px}
 .products-panel .product-word{font-size:clamp(36px,6vw,54px)}
 .product-caption strong{font-size:13px;line-height:1.5}
 .product-caption>span{font-size:12px;line-height:1.5}
 .intro,.split{grid-template-columns:minmax(0,1fr);gap:28px}
 .intro>*,.split>*,.brand-story>*,.resource-coming>*,.inner-panel>*{min-width:0}
 html.home-motion{scroll-snap-type:none;scroll-padding:0}
 html.home-motion main{padding-bottom:0}
 .home-block:not(.home-hero){min-height:0!important;padding-block:48px;scroll-snap-align:none}
 .home-block:not(.home-hero)>.split{min-height:0;grid-template-columns:minmax(0,1fr);align-items:start;gap:26px}
 .home-hero .intro-copy,.home-block:not(.home-hero) .split>div:nth-child(2){transform:none;padding-bottom:0;position:static}
 .home-block:not(.home-hero) .split>div:nth-child(2)>.fine{position:static;margin-top:0}
 .home-block:not(.home-hero) .lead{max-width:48ch}
 .home-chapter-title{font-size:clamp(46px,7.8vw,76px);line-height:1.02;letter-spacing:-.055em;margin-bottom:16px}
 .home-block .split>div>p.home-chapter-hook{font-size:clamp(29px,4.5vw,40px);line-height:1.15;letter-spacing:-.04em}
 .home-block .split>div>p.home-chapter-kicker,.home-block[aria-labelledby="home-history"] .split>div>p.home-chapter-kicker{font-size:18px;letter-spacing:.08em;line-height:1.5;margin-bottom:20px}
 .home-hero .under-hero{align-items:flex-start;gap:22px;flex-wrap:wrap}
 .product-name{font-size:clamp(96px,15vw,140px)}
 .home-hero .under-hero>p{text-align:left}
 .page,.page-intro{min-width:0}
 .player-heading{flex-wrap:wrap;align-items:center}
 .player-heading h2{margin:0!important}
 .trial-page .instrument-workspace{margin-inline:0}
 .trial-page{display:flex;flex-direction:column}
 .trial-page>.instrument-workspace{order:1}
 .trial-page>.trial-help{order:2}
 .trial-page>.next-step{order:3}
 .trial-page>.page-related{order:4}
 .inner-panel,.launch-register,.account-panel,.support-answers-panel,.brand-story,.support-horizontal{min-width:0}
 .inner-next{width:calc(100% - 2 * var(--space));margin-inline:auto}
 .interest-nudge{flex-wrap:wrap}
 .brand-story,.purchase-layout{grid-template-columns:minmax(0,1fr)}
 .brand-story{gap:24px}
 .inner-filter-nav,.product-topic-nav,.resource-machines{flex-wrap:wrap;gap:10px}
 .inner-filter-nav .button,.product-topic-nav .button,.resource-machines .button{white-space:normal;min-height:44px;line-height:1.5}
 .site-header-layout>.retrosound-signal{pointer-events:none}
 summary{min-height:44px}
 .bank-reset{min-height:44px;min-width:44px;padding-block:10px}
 .footer-links a{display:inline-flex;align-items:center;min-height:44px;line-height:1.5}
 .footer p{font-size:12px;line-height:1.75}
 .table-scroll table{width:100%;min-width:580px}
 main img,main video,main svg{max-width:100%}
 .spec-list dt,.spec-list dd{overflow-wrap:break-word}
}

@media(max-width:600px){
 :root{--space:clamp(18px,5vw,24px)}
 header .site-header-layout{grid-template-columns:minmax(0,1fr) auto;row-gap:4px;column-gap:14px;padding-block:10px}
 .site-header-layout>.brand{font-size:15px;letter-spacing:.14em;min-height:44px;display:flex;align-items:center}
 .rs-responsive .mobile-menu-toggle{grid-area:1/2}
 .site-header-layout>.first-wave-cta{grid-area:2/1/3/3;justify-self:start;min-height:44px;padding-block:10px;font-size:14px}
 .site-header-layout>nav{grid-row:3;padding-top:8px}
 .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .products-panel{padding:14px 10px}
 .products-panel .product-word{font-size:clamp(32px,9vw,46px)}
 .product-caption{padding:12px 8px;gap:6px}
 .product-caption strong{font-size:12px}
 .review-banner{font-size:10px;line-height:1.6;letter-spacing:.04em}
 p{font-size:16px;line-height:1.7}
 .lead{font-size:20px;line-height:1.5}
 .eyebrow{font-size:11px;letter-spacing:.14em}
 .fine,small{font-size:13px;line-height:1.65}
 h1,.page h1,.page-intro h1{font-size:clamp(33px,8.5vw,48px);line-height:1.12;letter-spacing:-.04em;overflow-wrap:break-word}
 .home-hero{padding-top:30px}
 .product-name{font-size:clamp(86px,25vw,128px);margin:22px 0 24px}
 .home-hero h1{font-size:clamp(33px,8.6vw,48px);line-height:1.12}
 .home-hero .intro{margin-bottom:28px;gap:24px}
 .intro-copy .lead{margin-top:0}
 .intro-copy>p:not(.lead){font-size:16px}
 .home-hero .under-hero{padding-block:24px 8px;gap:16px}
 .price{gap:16px;align-items:center;flex-wrap:wrap}
 .price strong{font-size:38px}
 .price div>span:not(.eyebrow){font-size:13px;line-height:1.65}
 .home-hero .under-hero>p{font-size:14px;line-height:1.7}
 .stage{padding:12px}
 .stage figcaption{font-size:12px;margin-top:16px;padding-top:14px}
 .home-block:not(.home-hero){padding-block:40px}
 .home-chapter-title{font-size:clamp(42px,11.2vw,64px)}
 .home-block .split>div>p.home-chapter-hook{font-size:clamp(28px,7.3vw,38px)}
 .home-block:not(.home-hero) .split>div:nth-child(2){gap:20px;align-items:stretch}
 .home-block:not(.home-hero) .lead{font-size:20px;max-width:none;text-wrap:pretty}
 .home-block .split>div>p.home-chapter-kicker,.home-block[aria-labelledby="home-history"] .split>div>p.home-chapter-kicker{font-size:17px}
 .actions{display:flex;flex-direction:column;align-items:stretch;gap:14px;width:100%}
 .actions .button,.next-step .actions .button{width:100%;max-width:100%}
 .button{min-height:48px;padding:14px 16px;font-size:14px;gap:16px;line-height:1.45;white-space:normal;text-align:center}
 .button span[aria-hidden]{flex:none}
 .page{padding-block:32px 48px}
 .page-intro{padding-block:34px 20px}
 .page h1{margin-block:16px 24px}
 .page-intro h1{margin-top:16px}
 .inner-section{padding-top:16px}
 .inner-panel,.launch-register,.account-panel,.support-answers-panel,.brand-story,.support-horizontal{padding:22px 18px}
 .inner-panel h2,.account-panel h2,.launch-register h2{font-size:28px;line-height:1.2;overflow-wrap:break-word}
 .inner-panel h3{font-size:22px}
 .inner-panel p,.brand-story p:not(.lead):not(.eyebrow),.account-panel>p,.faq-group details p{font-size:16px;line-height:1.7}
 .inner-filter-nav,.product-topic-nav,.resource-machines{display:grid;grid-template-columns:1fr;gap:10px;width:100%}
 .inner-filter-nav .button,.product-topic-nav .button,.resource-machines .button{padding:12px 14px;font-size:14px;width:100%}
 summary,.instrument-detail summary{min-height:44px;font-size:17px;line-height:1.55;overflow-wrap:break-word}
 details{padding-block:18px}
 .trial-help{padding-block:16px}
 input,select,textarea,.support-form input,.support-form textarea,.support-form select,.bank-search-fields input,.bank-search-fields select{font-size:16px!important;line-height:1.5;min-height:48px}
 .support-form textarea{min-height:140px}
 input[type=checkbox]{min-height:20px;min-width:20px}
 .support-horizontal .support-fields{grid-template-columns:minmax(0,1fr);gap:12px}
 .support-horizontal .support-send{padding-top:0}
 .support-horizontal .support-send .button{min-height:48px;width:100%}
 .support-themes{grid-template-columns:1fr 1fr}
 .support-themes .button{min-height:48px;font-size:14px}
 .bank-search-fields{gap:16px}
 .bank-search-fields label{font-size:15px}
 .bank-models{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 .bank-models .button:first-child{grid-column:1/-1}
 .bank-models .button{font-size:14px;min-height:48px}
 .sound-bank-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .sound-bank-open{min-height:174px;padding:14px 10px}
 .sound-bank-open strong{font-size:16px;line-height:1.45}
 .bank-code,.bank-sound-type{font-size:11px}
 .bank-origin,.bank-model{font-size:12px;line-height:1.5}
 .bank-results-heading{gap:12px}
 .bank-pagination{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:8px;align-items:center}
 .bank-pagination .button{font-size:13px;min-height:48px;padding:10px;min-width:0}
 .bank-pagination>span{text-align:center;font-size:12px;line-height:1.5}
 .resource-collection-heading .actions{width:100%}
 .next-step{margin-top:32px;padding-block:28px 36px;gap:18px}
 .next-step h2,.interest-nudge h2{font-size:28px;line-height:1.18}
 .interest-nudge{padding-block:28px;gap:20px}
 .footer{padding-block:28px 32px}
 .footer-top{gap:18px}
 .footer-links{display:grid;grid-template-columns:1fr;gap:2px;width:100%;font-size:14px}
 .footer-links a{min-height:44px}
 .footer .brand{font-size:16px}
 .instrument-workspace{padding:18px 10px;margin-inline:0}
 .trial-page{padding-top:24px}
 .trial-page>.lead{font-size:18px;line-height:1.55;margin-bottom:16px}
 .trial-page>.instrument-workspace{margin-top:12px}
 .trial-page .instrument-workspace>.fine{font-size:12px;line-height:1.6;margin-block:8px}
 .trial-page #instrument-status{font-size:13px;line-height:1.55;margin-block:8px}
 .trial-page .player-heading{flex-direction:row;gap:12px}
 .trial-page .player-heading h2{font-size:20px}
 .player-heading>.button{width:auto;min-height:44px;padding:10px 12px;font-size:13px}
 .instrument-view-controls{gap:8px}
 .instrument-view-controls .button{min-height:44px;padding:10px 12px;flex:none;font-size:13px}
 .instrument-view-controls output{font-size:14px}
 .instrument-view-help{font-size:13px!important}
 .instrument-viewport{max-height:65svh}
 .instrument-pan-controls .button{width:44px;min-height:44px;padding:8px}
 .instrument-pan-controls>span{flex-basis:100%}
 .instrument-frame-only .instrument-viewport{max-height:calc(100svh - 190px)}
}
@media(prefers-reduced-motion:reduce){.mobile-menu-icon::before,.mobile-menu-icon::after{transition:none}}

/* Revue interne : hauteur naturelle, façade native fixe. */
.instrument-viewport,.instrument-frame-only .instrument-viewport{max-height:none;scrollbar-gutter:auto}
.instrument-workspace:fullscreen .instrument-viewport{max-height:calc(100svh - 220px);overflow:auto}
@media(max-width:600px){.instrument-workspace:fullscreen .instrument-viewport{max-height:calc(100svh - 190px)}}

.owner-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.owner-metrics article{padding:20px;border:1px solid #353b43;background:#101316}.owner-metrics h3{font-size:1rem}.owner-metrics p{font-size:1.8rem;margin:.5em 0}input{max-width:100%}@media(max-width:500px){.owner-metrics{grid-template-columns:1fr}}

/* La galerie coulisse dans le menu compact sans élargir sa piste de grille. */
@media(max-width:1100px){
 .site-header-layout>nav{min-width:0;grid-template-columns:minmax(0,1fr)}
 .products-menu,.products-panel,.products-panel .products-grid{min-width:0;max-width:100%;box-sizing:border-box}
 .products-panel{width:100%}
 .products-heading{min-width:0;flex-wrap:wrap}
 .products-panel .products-grid{width:100%}
}
