:root{--ink:#202b2a;--muted:#66716d;--gold:#ad8d46;--paper:#f5f2eb;--cream:#fffdf8;--line:#dedbd1}
html{scroll-padding-top:20px}.site-bar{height:102px;background:#101514;border-bottom:2px solid #ad8d46;color:#f8f3e6}.site-bar .brand img{width:78px;height:78px;border-radius:50%;aspect-ratio:1;object-fit:contain}.site-bar .return-link{font-size:13px;min-height:44px}.intro{padding-top:48px;padding-bottom:32px;grid-template-columns:1fr 350px}.intro h1{font-size:clamp(38px,4.6vw,61px)}.intro h1 em{color:#9a7932}.joint-intro-note{border-left:2px solid var(--gold);padding:8px 0 8px 24px;color:var(--muted);font-size:14px;line-height:1.7;max-width:350px}.joint-intro-note strong{display:block;color:var(--ink);font-size:18px;font-weight:500;margin-bottom:8px}.intro-text{font-size:15px}.manufacturer-panel{scroll-margin-top:20px}.country-selector span{font-size:14px}.brand-card{min-height:137px}.brand-card .brand-image{height:60px}.brand-card img{max-height:55px}.brand-card strong{font-size:15px}.brand-card small{font-size:11px}.brand-search-label{font-size:13px}#brand-search{font-size:16px!important;min-height:48px}.remember-label{font-size:13px;line-height:1.6}.manufacturer-note{font-size:12px;line-height:1.6}.selected-manufacturer .selected-brand-identity img{width:75px;max-height:45px;object-fit:contain}.selected-brand-actions button{font-size:12px;min-height:44px}.workspace{padding-bottom:35px;grid-template-columns:minmax(0,1.7fr) minmax(310px,1fr)}.joint-catalogue{margin-bottom:24px}.catalogue-controls{display:grid;grid-template-columns:1fr 160px;gap:12px;margin-bottom:16px}.catalogue-controls input,.catalogue-controls select{border:1px solid var(--line);border-radius:7px;background:#fff;padding:12px;font-size:15px;min-width:0;width:100%;min-height:46px}.product-count{font-size:12px;color:var(--muted);line-height:1.5}.joint-product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.joint-product-card{border:1px solid var(--line);border-radius:12px;padding:16px;background:#fff;text-align:left;display:flex;flex-direction:column;gap:9px;min-width:0;position:relative}.joint-product-card:hover{border-color:#9f8955}.joint-product-card[aria-pressed=true]{border:2px solid var(--gold);padding:15px;background:#fcf8ed}.joint-product-image{height:155px;display:flex;justify-content:center;align-items:center;background:#fff;border-radius:7px}.joint-product-image img{width:100%;height:100%;object-fit:contain}.joint-product-card strong{font-size:17px;line-height:1.35}.product-kind{font-size:10px;letter-spacing:1.1px;font-weight:700;color:#8d702d;text-transform:uppercase}.product-description{font-size:12px;line-height:1.6;color:var(--muted)}.product-range{font-size:11px;line-height:1.6}.product-picked{margin-top:auto;font-size:12px;font-weight:700;color:#846623;padding-top:7px}.reference-note{font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:0}.field input,.field select,.reserve-row select{font-size:16px;min-height:48px}.field>label,.reserve-row label{font-size:13px}.field small,.reserve-row small{font-size:11px}.dimensions .unit-field input{font-size:25px}.dimensions .unit-field span{top:25px}.field-grid{margin-bottom:20px}.field-grid .unit-field input{padding-right:52px}.method-select{margin-bottom:20px}.method-select label{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.6;margin:10px 0;cursor:pointer}.method-select input{accent-color:var(--gold);margin-top:4px}#manual-field{margin-bottom:20px}#package-help{display:block;min-height:16px}.result-card{background:#24362f}.result-card .bag-number strong{font-size:76px}.result-card .bag-number span{font-size:23px}.result-card .bag-caption{font-size:12px;line-height:1.6}.result-metrics dt{font-size:11px}.result-metrics dd{font-size:20px}.joint-selected-product{display:grid;grid-template-columns:65px minmax(0,1fr);gap:15px;align-items:center;margin:20px 0}.joint-selected-product img{height:95px;width:65px;object-fit:contain;background:white;border-radius:7px;padding:5px}.joint-selected-product h3{font-size:17px;margin:6px 0;line-height:1.4}.joint-selected-product p{font-size:12px;color:#d3dbc8}.result-source{font-size:12px;line-height:1.5}.result-block h3{font-size:21px}.result-block li{font-size:13px;line-height:1.7}.calculation-details summary{font-size:13px}.calculation-details p,.calculation-details li{font-size:12px}.result-actions button{font-size:12px;min-height:44px}.result-disclaimer{font-size:11px}.action-status{font-size:12px;line-height:1.6}.formula{overflow-wrap:anywhere}.joint-sources{max-width:1176px;margin:10px auto 45px;background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:0 24px}.joint-sources summary{font-size:15px}.joint-sources p,.joint-sources li{font-size:13px;line-height:1.7;color:var(--muted)}.joint-sources ul{padding-left:20px}.joint-sources a{color:#6f571f;text-underline-offset:3px}.image-unavailable{font-size:12px;color:var(--muted);line-height:1.5;text-align:center}footer{background:#101514;color:#eee7da;border-top:2px solid var(--gold)}footer p{font-size:13px;color:#d4d9ce}footer small{color:#c8c6bc}.notice{border-left:2px solid #d1b66d;padding-left:12px;font-size:12px;line-height:1.7;color:#e8e4d4}.empty-products{grid-column:1/-1;font-size:13px;line-height:1.7}.noscript{padding:24px;font-size:16px}.workspace[hidden]{display:none!important}#load-error{max-width:1176px;margin:30px auto;padding:25px;border:1px solid #b66546;background:#fff6ec;border-radius:12px;font-size:15px;line-height:1.7}#load-error button{padding:10px 16px;margin-top:10px}.print-only{display:none}.favorite-shortcut{font-size:12px;min-height:44px}
@media(max-width:1200px){.intro,.workspace,.selected-manufacturer,.manufacturer-panel,.joint-sources{margin-left:24px;margin-right:24px}.intro{gap:30px}.intro h1{font-size:50px}}
@media(max-width:800px){.intro{grid-template-columns:1fr;padding-top:35px;gap:18px}.joint-intro-note{display:none}.workspace{grid-template-columns:1fr}.results-column{position:static}.site-bar{height:88px;padding:0 18px}.site-bar .brand img{width:65px;height:65px}.site-bar .return-link{font-size:12px;gap:8px}.intro,.workspace,.selected-manufacturer,.manufacturer-panel,.joint-sources{margin-left:16px;margin-right:16px}.intro h1{font-size:44px}.manufacturer-heading h2{font-size:25px}.manufacturer-panel{padding:24px 18px}.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.selected-manufacturer{flex-wrap:wrap}.selected-brand-actions{width:100%;justify-content:flex-end}.panel{padding:24px 19px}.joint-product-image{height:135px}.joint-product-card{padding:13px}.joint-product-card[aria-pressed=true]{padding:12px}.joint-product-card strong{font-size:16px}.product-description{font-size:12px}.manufacturer-start{gap:14px}.catalogue-controls{grid-template-columns:1fr}.catalogue-controls select{width:100%}.field-grid{gap:18px 12px}.section-heading h2{font-size:22px}.intro-text{font-size:14px}.manufacturer-note{font-size:11px}.remember-label{font-size:12px}footer{padding:26px 16px}.result-card{padding:24px}.result-metrics dd{font-size:23px}.reserve-row select{max-width:150px}.country-selector{gap:6px}.country-selector span{font-size:12px;padding:12px 10px}.joint-sources{padding:0 18px}button:focus-visible{outline-offset:2px}}
@media(max-width:380px){.joint-product-grid{grid-template-columns:1fr}.joint-product-image{height:145px}.site-bar .return-link{font-size:11px}.intro h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.site-bar,.intro,.manufacturer-panel,.selected-manufacturer,.joint-catalogue,.result-actions,footer,.joint-sources,.calculate-button{display:none!important}.workspace{display:block;margin:0}.workspace form{display:none}.results-column{position:static}.result-card{background:white!important;color:#17251f!important;border:1px solid #777;box-shadow:none}.result-card *{color:#17251f!important}.result-card details{display:block}.result-card details>p,.result-card details>ul{display:block}.result-card .calculation-details{border-color:#bbb}.result-card .bag-number strong{font-size:60px}.print-only{display:block}.result-disclaimer{font-size:10px}}

.brand-image.brand-logo-dark,.selected-brand-identity>img.brand-logo-dark{background:#1e2f5b;border-radius:7px;padding:7px}.brand-image.brand-logo-dark img{mix-blend-mode:normal}
.product-search{width:100%;border:1px solid var(--line);border-radius:7px;padding:13px;background:#fff;font-size:16px;min-height:48px}.product-search:focus-visible{outline:3px solid var(--gold);outline-offset:2px}#selection-notice{background:#f4efe0;color:#705622;padding:12px;border-left:2px solid var(--gold);margin:12px 0}

[hidden]{display:none!important}
.mode-choice,.mode-bar{max-width:1176px;margin:0 auto 32px}.mode-choice>h2{font:32px/1.2 Georgia,serif;margin:0 0 24px;letter-spacing:-.7px}.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}.mode-cards>button{display:flex;flex-direction:column;align-items:flex-start;gap:16px;text-align:left;background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:28px;color:var(--ink);min-width:0}.mode-cards>button:hover{border-color:var(--gold);background:#fcf8ed}.mode-number{font-size:12px;color:#8d702d;letter-spacing:2px}.mode-cards strong{font:30px/1.2 Georgia,serif}.mode-cards>button>span:not(.mode-number){font-size:15px;line-height:1.7;color:var(--muted);max-width:430px}.mode-cards b{font-size:14px;color:#786027;margin-top:auto;padding-top:8px}.mode-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:18px;margin-bottom:22px}.mode-bar strong{font-size:16px;font-weight:600}.mode-bar button{background:transparent;color:var(--ink);border:1px solid var(--line);border-radius:7px;padding:12px 15px;min-height:44px;font-size:13px}.quick-kg{display:flex;align-items:baseline;gap:13px;margin:25px 0 12px}.quick-kg strong{font:86px/.95 Georgia,serif;letter-spacing:-3px;font-weight:400}.quick-kg span{font-size:27px}.refine-button{border:1px solid #b8c5b2;border-radius:8px;background:transparent;color:#f5f2e5;padding:15px;font-size:13px;line-height:1.5;width:100%;text-align:left;margin-top:16px;min-height:48px}.refine-button:hover{background:#ffffff10}.quick-workspace .segmented{margin-bottom:24px}.quick-workspace .result-card>p.eyebrow{color:#d8c78e}.quick-workspace .result-card h3{font:28px/1.25 Georgia,serif;margin:22px 0 12px}.quick-workspace .result-card p:not(.eyebrow){font-size:13px;line-height:1.7}.quick-workspace .result-card .result-disclaimer{font-size:12px}
.catalogue-controls{grid-template-columns:1fr}.joint-product-card{padding:0;gap:0;overflow:hidden}.joint-product-card.is-selected{border:2px solid var(--gold);background:#fcf8ed}.product-select{display:flex;flex-direction:column;align-items:stretch;gap:10px;text-align:left;background:transparent;color:var(--ink);border:0;padding:17px;min-width:0;flex:1;width:100%;border-radius:10px}.product-select:disabled{cursor:default;color:var(--ink);opacity:1}.product-select:focus-visible{outline-offset:-4px}.joint-product-card.is-unavailable{background:#f8f7f3}.joint-product-card.is-unavailable .joint-product-image{background:transparent}.joint-product-card.is-unavailable .product-picked{color:var(--muted)}.joint-product-image img{mix-blend-mode:multiply}.usage-note{font-size:11px;line-height:1.6;color:#705622;background:#f4efe0;padding:9px;border-radius:5px}.product-exclusions{font-size:12px;line-height:1.6;color:#6e5b3c;margin:0;padding:0 18px 12px 33px}.card-technical-link{display:block;border-top:1px solid var(--line);padding:13px 17px;font-size:12px;color:#6f571f;text-underline-offset:3px;line-height:1.6;min-height:44px}.card-technical-link:hover{background:#f4efe0}.other-products{margin-top:24px}.other-products>summary{font-size:14px;font-weight:600;line-height:1.6;padding:17px 0;cursor:pointer}.other-products>p{font-size:12px;line-height:1.7;color:var(--muted)}.other-products .joint-product-grid{padding:6px 0 16px}.selection-notice{background:#f4efe0;border-left:2px solid var(--gold);padding:12px;font-size:13px;line-height:1.6;color:#705622}.dimensions-panel{scroll-margin-top:20px}#products-panel,#product-settings,#quick-calculator,#mode-choice{scroll-margin-top:20px}.quick-workspace .field-grid.dimensions{grid-template-columns:1fr 1fr}.joint-product-grid .joint-product-card strong{overflow-wrap:anywhere}.joint-sources a{overflow-wrap:anywhere}
@media(max-width:1230px){.mode-choice,.mode-bar{margin-left:24px;margin-right:24px}}
@media(max-width:800px){.mode-choice,.mode-bar{margin-left:16px;margin-right:16px}.mode-cards{grid-template-columns:1fr;gap:14px}.mode-cards>button{padding:23px;gap:12px}.mode-choice>h2{font-size:27px}.mode-cards strong{font-size:28px}.mode-cards>button>span:not(.mode-number){font-size:14px}.mode-bar{flex-wrap:wrap}.mode-bar button{font-size:12px}.product-select{padding:14px}.joint-product-card{padding:0}.card-technical-link{padding:12px 14px}.quick-kg strong{font-size:76px}.workspace .panel:first-child .field-grid{grid-template-columns:1fr 1fr}.workspace .panel:first-child .criteria-grid{grid-template-columns:1fr}.joint-product-grid{gap:11px}.joint-product-card .usage-note{font-size:11px}.joint-product-card .product-description{font-size:12px}}
@media(max-width:480px){.joint-product-grid{grid-template-columns:1fr}.product-select{display:grid;grid-template-columns:84px minmax(0,1fr);column-gap:15px;row-gap:7px}.product-select .joint-product-image{grid-column:1;grid-row:1 / span 4;height:125px}.product-select .product-kind,.product-select strong,.product-select .product-description,.product-select .product-range{grid-column:2}.product-select .usage-note,.product-select .product-picked{grid-column:1/-1}.product-select .product-picked{padding-top:6px}.joint-product-card strong{font-size:17px}.card-technical-link{padding-left:14px}.mode-cards b{font-size:13px}}
@media print{.mode-choice,.mode-bar,.refine-button{display:none!important}.quick-workspace form{display:none}.result-card:after{content:'LE ROY FACTORY · leroyfactory.fr/configurateur-joints.html · Quantités estimatives, prescriptions du fabricant à vérifier.'}.quick-kg strong{font-size:64px}}

.selected-manufacturer{flex-wrap:wrap}.catalogue-identity-note{display:block;font-size:11px;color:var(--muted);line-height:1.6;margin-top:7px}.catalogue-market-control{display:flex;gap:12px 16px;align-items:center;flex-wrap:wrap;flex-basis:100%;border-top:1px solid #d1d7c8;padding-top:16px;margin-top:2px}.catalogue-market-control label{font-size:13px;font-weight:600}.catalogue-market-control select{font-size:16px;background:var(--cream);border:1px solid #b8c0ab;border-radius:7px;min-height:46px;min-width:150px;padding:10px 14px;color:var(--ink)}.catalogue-market-control>span{font-size:12px;line-height:1.6;color:var(--muted)}
@media(max-width:700px){.country-selector{grid-template-columns:repeat(2,minmax(0,1fr))}.catalogue-market-control{display:grid;grid-template-columns:1fr;gap:9px;margin-top:16px}.catalogue-market-control select{width:100%}.catalogue-identity-note{font-size:11px}.selected-brand-identity .small-label{font-size:10px}}
@media print{.catalogue-market-control{display:none!important}}
