
      [hidden] { display: none !important; }
      .family-selection-pending { isolation:isolate; }
      aside.family-selection-pending > :not(.family-selection-preview) { visibility:hidden; }
      .family-selection-preview { position:absolute;inset:0;padding:22px;border-radius:19px;background:#f5f1e8;color:#24211c; }
      .family-selection-preview img { display:block;width:100%;height:180px;object-fit:cover;border-radius:12px;margin:16px 0; }
      .family-selection-preview p { font-size:1rem;line-height:1.5; }
      :root {
        --ink: #0c0c0d;
        --panel: #161617;
        --gold: #caa45f;
        --gold2: #e4c88f;
        --cream: #f5f1e8;
        --muted: #9d9a94;
        --line: #343437;
        --ok: #79b58a;
        --danger: #d5796c;
      }
      * {
        box-sizing: border-box;
      }
      body {
        margin: 0;
        background: var(--ink);
        color: var(--cream);
        font:
          16px/1.5 Inter,
          system-ui,
          sans-serif;
      }
      button,
      input,
      select {
        font: inherit;
      }
      .app {
        min-height: 100vh;
        background:
          radial-gradient(
            circle at 80% 0,
            rgba(202, 164, 95, 0.13),
            transparent 29%
          ),
          var(--ink);
      }
      header {
        height: 74px;
        padding: 0 clamp(20px, 4vw, 58px);
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--line);
      }
      .brand {
        font-weight: 850;
        letter-spacing: 0.34em;
      }
      .brand span {
        color: var(--gold);
      }
      .private {
        font-size: 0.84rem;
        color: var(--muted);
      }
      main {
        max-width: 1450px;
        margin: auto;
        padding: 28px clamp(18px, 4vw, 54px) 60px;
        display: grid;
        grid-template-columns: 205px minmax(0, 1fr) 360px;
        gap: 30px;
      }
      .steps {
        padding-top: 4px;
      }
      .step-link {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 11px;
        padding: 10px 7px;
        border: 0;
        background: none;
        color: #777;
        text-align: left;
        cursor: pointer;
      }
      .step-link:disabled {
        cursor: default;
      }
      .step-num {
        width: 30px;
        height: 30px;
        flex: none;
        border: 1px solid #404044;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-size: 0.78rem;
      }
      .step-link.active {
        color: #fff;
      }
      .step-link.active .step-num {
        background: var(--gold);
        border-color: var(--gold);
        color: #17110a;
        font-weight: 900;
      }
      .step-link.done {
        color: #aaa;
      }
      .step-link.done .step-num {
        border-color: var(--gold);
        color: var(--gold);
      }
      .step-label {
        font-size: 0.86rem;
      }
      .workspace {
        min-width: 0;
      }
      .eyebrow {
        margin: 0 0 7px;
        color: var(--gold);
        font-size: 0.78rem;
        font-weight: 850;
        text-transform: uppercase;
        letter-spacing: 0.14em;
      }
      h1 {
        font:
          500 clamp(2rem, 4vw, 3.1rem) / 1.05 Georgia,
          serif;
        margin: 0 0 10px;
      }
      .intro {
        color: #aaa;
        max-width: 720px;
        margin: 0 0 24px;
      }
      .panel {
        background: linear-gradient(145deg, var(--panel), #111);
        border: 1px solid var(--line);
        border-radius: 19px;
        padding: clamp(20px, 3vw, 32px);
        box-shadow: 0 28px 80px #0005;
      }
      .screen {
        display: none;
      }
      .screen.active {
        display: block;
        animation: fade 0.22s ease;
      }
      @keyframes fade {
        from {
          opacity: 0.3;
          transform: translateY(5px);
        }
      }
      .screen h2 {
        font-size: 1.45rem;
        margin: 0 0 5px;
      }
      .hint {
        color: var(--muted);
        margin: 0 0 21px;
      }
      .question {
        font-weight: 780;
        margin: 23px 0 10px;
      }
      .question:first-of-type {
        margin-top: 0;
      }
      .choice-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
      }
      .choice-grid.three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .choice {
        position: relative;
        min-height: 96px;
        padding: 16px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #19191a;
        cursor: pointer;
      }
      .choice:hover {
        border-color: #65583f;
      }
      .choice.selected {
        border-color: var(--gold);
        box-shadow: inset 0 0 0 1px var(--gold);
      }
      .choice input {
        position: absolute;
        opacity: 0;
      }
      .choice strong {
        display: block;
        padding-right: 24px;
        margin-bottom: 4px;
      }
      .choice small {
        display: block;
        color: #9b9892;
        font-size: 0.81rem;
      }
      .tick {
        position: absolute;
        right: 13px;
        top: 13px;
        width: 19px;
        height: 19px;
        border: 1px solid #515154;
        border-radius: 50%;
      }
      .choice.selected .tick {
        background: var(--gold);
        border-color: var(--gold);
        box-shadow: inset 0 0 0 5px #19191a;
      }
      button.choice {
        width: 100%;
        color: inherit;
        font: inherit;
        text-align: left;
      }
      .multi-choice .tick {
        border-radius: 5px;
      }
      .multi-choice.selected .tick {
        box-shadow: none;
      }
      .multi-choice.selected .tick:after {
        content: "✓";
        position: absolute;
        inset: -2px 0 0;
        color: #17110a;
        font-size: 0.9rem;
        font-weight: 900;
        text-align: center;
      }
      .included-comfort {
        margin: 0 0 18px;
        padding: 14px 15px;
        border: 1px solid #3e3b35;
        border-radius: 14px;
        background: #20201f;
      }
      .included-comfort strong {
        display: block;
        margin-bottom: 4px;
        color: var(--gold2);
      }
      .included-comfort p {
        margin: 0;
        color: #aaa69e;
        font-size: 0.82rem;
      }
      .included-comfort .included-points {
        display: flex;
        flex-wrap: wrap;
        gap: 7px;
        margin-top: 10px;
      }
      .included-comfort .included-points b {
        padding: 5px 9px;
        border: 1px solid #d7c293;
        border-radius: 999px;
        background: #fffaf0;
        color: #664b1c;
        font-size: 0.72rem;
        font-weight: 750;
      }
      .security-levels {
        margin-top: 14px;
        padding: 15px;
        border: 1px solid #ddc99e;
        border-radius: 14px;
        background: #fffdf8;
      }
      .security-levels[hidden] {
        display: none;
      }
      .security-levels .question {
        margin-top: 0;
      }
      .security-levels .hint {
        margin-bottom: 12px;
      }
      .glass-tech {
        margin-top: 10px;
        border: 1px solid #d8d0c3;
        border-radius: 14px;
        background: #fff;
        overflow: hidden;
      }
      .glass-tech summary {
        cursor: pointer;
        padding: 13px 15px;
        color: #332e27;
        font-size: 0.84rem;
        font-weight: 800;
      }
      .glass-tech[open] summary {
        border-bottom: 1px solid #e2dbd0;
      }
      .glass-tech-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        padding: 4px 15px 12px;
      }
      .glass-tech-grid p {
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid #eee8de;
        color: #6d685f;
        font-size: 0.78rem;
      }
      .glass-tech-grid p:nth-child(odd) {
        padding-right: 14px;
      }
      .glass-tech-grid span,
      .glass-tech-grid strong {
        display: block;
      }
      .glass-tech-grid strong {
        margin-top: 3px;
        color: #28241f;
        font-size: 0.82rem;
      }
      .glass-tech-note {
        margin: 0;
        padding: 0 15px 14px;
        color: #746e64;
        font-size: 0.74rem;
        line-height: 1.45;
      }
      .choice.recommended:after {
        content: "Conseillé";
        display: inline-flex;
        margin-top: 8px;
        border: 1px solid #6f5933;
        border-radius: 20px;
        padding: 2px 7px;
        color: var(--gold2);
        font-size: 0.68rem;
      }
      .field-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
      }
      .field label {
        display: block;
        margin-bottom: 6px;
        color: #b4b1ab;
        font-size: 0.85rem;
      }
      .field input,
      .field select {
        width: 100%;
        padding: 13px;
        background: #111;
        color: var(--cream);
        border: 1px solid #3b3b3f;
        border-radius: 11px;
        outline: 0;
      }
      .field input:focus,
      .field select:focus {
        border-color: var(--gold);
      }
      .unit {
        position: relative;
      }
      .unit span {
        position: absolute;
        right: 13px;
        top: 42px;
        color: #777;
        font-size: 0.8rem;
      }
      .measure {
        display: flex;
        align-items: center;
        gap: 17px;
        margin-bottom: 19px;
        padding: 16px;
        border: 1px solid #2c2c2f;
        border-radius: 14px;
        background: #101011;
        color: #aaa;
        font-size: 0.85rem;
      }
      .window {
        width: 105px;
        height: 75px;
        flex: none;
        border: 5px solid #796139;
        display: grid;
        grid-template-columns: 1fr 1fr;
      }
      .window i {
        background: linear-gradient(#687b84, #bdc9c9);
        border: 1px solid #38383a;
      }
      .window i + i {
        border-left: 4px solid #252527;
      }
      .composition-builder {
        margin: 24px 0 3px;
        padding: 18px;
        border: 1px solid #ded2be;
        border-radius: 17px;
        background: linear-gradient(145deg, #fffdf8, #f7f1e7);
      }
      .composition-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 18px;
        margin-bottom: 14px;
      }
      .composition-head .question { margin: 0 0 4px; }
      .composition-head p:last-child {
        margin: 0;
        color: #6d675e;
        font-size: .84rem;
      }
      .composition-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 16px;
        align-items: start;
      }
      .layout-choices {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
      }
      .layout-card {
        min-height: 148px;
        padding: 11px;
        border: 1px solid #d8d0c3;
        border-radius: 13px;
        background: #fff;
        color: #27231e;
        font: inherit;
        text-align: left;
        cursor: pointer;
      }
      .layout-card:hover { border-color: #b89a62; }
      .layout-card.selected {
        border-color: var(--gold);
        box-shadow: inset 0 0 0 1px var(--gold);
        background: #fff9ed;
      }
      .layout-card strong,
      .layout-card small { display: block; }
      .layout-card strong { margin-top: 8px; font-size: .86rem; }
      .layout-card small { margin-top: 3px; color: #777066; font-size: .73rem; }
      .layout-sketch,
      .composition-preview-window {
        padding: 5px;
        border: 3px solid color-mix(in srgb, var(--frame-color, #181818) 72%, #111);
        background: var(--frame-color, #181818);
        display: grid;
        grid-template-rows: 1fr;
        gap: 3px;
      }
      .layout-sketch { height: 69px; }
      .layout-sketch.imposte { grid-template-rows: 18px 1fr; }
      .layout-sketch.soubassement { grid-template-rows: 1fr 17px; }
      .layout-sketch.both { grid-template-rows: 15px 1fr 14px; }
      .layout-glass,
      .composition-main-glass,
      .composition-top-glass {
        position: relative;
        overflow: hidden;
        border: 2px solid #353432;
        background: linear-gradient(145deg, #eef5f4, #a7bdc0);
      }
      .layout-glass:after,
      .composition-main-glass:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        border-left: 2px solid #353432;
      }
      .composition-base-panel {
        border: 2px solid #35312a;
        background: var(--frame-color, #181818);
      }
      .composition-preview {
        padding: 13px;
        border: 1px solid #d9cfbe;
        border-radius: 14px;
        background: #fff;
      }
      .composition-preview-window { height: 236px; }
      .composition-preview-window.imposte { grid-template-rows: 43px 1fr; }
      .composition-preview-window.soubassement { grid-template-rows: 1fr 48px; }
      .composition-preview-window.both { grid-template-rows: 38px 1fr 44px; }
      .composition-preview strong,
      .composition-preview small { display: block; }
      .composition-preview strong { margin-top: 10px; color: #2d2923; }
      .composition-preview small { margin-top: 3px; color: #756e64; }
      .composition-fields {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e0d7ca;
      }
      .composition-fields[hidden] { display: none; }
      .composition-fields .field-grid { gap: 10px; }
      .fill-configurator {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid #e0d7ca;
      }
      .fill-configurator[hidden] { display: none; }
      .fill-title { margin: 0 0 8px; color: #38322b; font-size: .84rem; font-weight: 800; }
      .fill-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
      .fill-option {
        min-height: 82px;
        padding: 10px;
        border: 1px solid #d7cec0;
        border-radius: 11px;
        background: #fff;
        color: #302b25;
        font: inherit;
        text-align: left;
        cursor: pointer;
      }
      .fill-option strong,
      .fill-option small { display: block; }
      .fill-option small { margin-top: 3px; color: #746d64; font-size: .72rem; }
      .fill-option.selected { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); background: #fff9ed; }
      .composition-top-glass.frosted-fill { background: linear-gradient(145deg, #f4f5f1, #cdd7d4); }
      .muntin-panel {
        margin-top: 16px;
        padding-top: 15px;
        border-top: 1px solid #ded4c5;
      }
      .muntin-panel .question { margin: 0 0 3px; }
      .muntin-panel > small { color: #6e685f; }
      .muntin-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 10px;
      }
      .muntin-option {
        position: relative;
        min-height: 146px;
        padding: 10px;
        border: 1px solid #d1c7b8;
        border-radius: 13px;
        background: #fff;
        color: #38332c;
        font: inherit;
        text-align: left;
        cursor: pointer;
      }
      .muntin-option.selected {
        border-color: var(--gold);
        box-shadow: inset 0 0 0 1px var(--gold);
        background: #fff9ed;
      }
      .muntin-option strong,
      .muntin-option small { display: block; }
      .muntin-option strong { margin-top: 8px; font-size: .86rem; }
      .muntin-option small { margin-top: 3px; color: #746e65; font-size: .73rem; }
      .muntin-option.selected:after {
        content: "✓";
        position: absolute;
        top: 9px;
        right: 9px;
        width: 23px;
        height: 23px;
        border-radius: 50%;
        background: var(--gold);
        color: #1c1710;
        font-size: .8rem;
        font-weight: 900;
        line-height: 23px;
        text-align: center;
      }
      .muntin-sketch {
        height: 78px;
        padding: 5px;
        border: 3px solid color-mix(in srgb, var(--frame-color, #181818) 72%, #111);
        background: var(--frame-color, #181818);
        display: block;
      }
      .muntin-sketch-glass {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border: 2px solid #353432;
        background: linear-gradient(145deg, #eef5f4, #a7bdc0);
      }
      .muntin-sketch-glass:after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        border-left: 3px solid color-mix(in srgb, var(--frame-color, #181818) 72%, #111);
      }
      .muntin-demo-line,
      .muntin-line { position: absolute; z-index: 2; background: var(--frame-color, #181818); }
      .muntin-demo-line.h,
      .muntin-line.horizontal { left: 0; right: 0; top: 50%; height: 3px; }
      .muntin-demo-line.h-top,
      .muntin-line.horizontal-top { left: 0; right: 0; top: 33.333%; height: 3px; }
      .muntin-demo-line.h-bottom,
      .muntin-line.horizontal-bottom { left: 0; right: 0; top: 66.666%; height: 3px; }
      .muntin-demo-line.v-left,
      .muntin-line.vertical-left { top: 0; bottom: 0; left: 25%; width: 3px; }
      .muntin-demo-line.v-right,
      .muntin-line.vertical-right { top: 0; bottom: 0; left: 75%; width: 3px; }
      .muntin-configurator {
        margin-top: 24px;
        padding: 17px;
        border: 1px solid #d9d0c2;
        border-radius: 15px;
        background: #fff;
      }
      .muntin-configurator > .question { margin: 0 0 10px; }
      .muntin-explanation {
        padding: 12px 14px;
        border-left: 3px solid var(--gold);
        background: #f8f2e7;
        color: #413b33;
      }
      .muntin-explanation strong { display: block; margin-bottom: 3px; }
      .muntin-explanation p { margin: 0; color: #676056; font-size: .82rem; line-height: 1.5; }
      .muntin-answer-grid,
      .muntin-context-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        margin-top: 12px;
      }
      .muntin-answer,
      .muntin-context {
        min-height: 82px;
        padding: 12px;
        border: 1px solid #d7cec0;
        border-radius: 12px;
        background: #fff;
        color: #2c2822;
        font: inherit;
        text-align: left;
        cursor: pointer;
      }
      .muntin-answer strong,
      .muntin-answer small,
      .muntin-context strong,
      .muntin-context small { display: block; }
      .muntin-answer small,
      .muntin-context small { margin-top: 4px; color: #746e65; font-size: .74rem; }
      .muntin-answer.selected,
      .muntin-context.selected {
        border-color: var(--gold);
        box-shadow: inset 0 0 0 1px var(--gold);
        background: #fff9ed;
      }
      .muntin-details {
        margin-top: 15px;
        padding-top: 14px;
        border-top: 1px solid #e3dbcf;
      }
      .muntin-details[hidden],
      .muntin-pattern-panel[hidden],
      .muntin-unknown-note[hidden] { display: none; }
      .muntin-details > .question,
      .muntin-pattern-panel .question { margin: 0 0 9px; }
      .muntin-context-grid { margin-top: 0; }
      .muntin-guidance {
        margin-top: 11px;
        padding: 12px 14px;
        border-radius: 11px;
        background: #f4efe6;
        color: #514a41;
        font-size: .8rem;
        line-height: 1.5;
      }
      .muntin-guidance strong { display: block; margin-bottom: 3px; color: #302b25; }
      .muntin-pattern-panel { margin-top: 13px; }
      .muntin-patterns { display: flex; flex-wrap: wrap; gap: 8px; }
      .muntin-pattern {
        min-height: 42px;
        padding: 8px 12px;
        border: 1px solid #d2c8b9;
        border-radius: 999px;
        background: #fff;
        color: #3c372f;
        font: inherit;
        font-size: .8rem;
        cursor: pointer;
      }
      .muntin-pattern.selected { border-color: #1d1b18; background: #1d1b18; color: #fff; }
      .muntin-confirmation { margin: 9px 0 0; color: #746e65; font-size: .75rem; }
      .muntin-unknown-note { margin-top: 11px; }
      .composition-note {
        margin: 13px 0 0;
        padding: 10px 12px;
        border-left: 3px solid var(--gold);
        background: #f3ead9;
        color: #5c554b;
        font-size: .8rem;
      }
      .colors {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 9px;
      }
      .swatch {
        padding: 8px;
        border: 1px solid #3b3b3e;
        border-radius: 12px;
        background: #181819;
        color: #aaa;
        cursor: pointer;
        font-size: 0.73rem;
      }
      .swatch b {
        display: block;
        height: 42px;
        margin-bottom: 6px;
        border: 1px solid #ffffff22;
        border-radius: 8px;
      }
      .swatch.selected {
        border-color: var(--gold);
        color: #fff;
      }
      .stock-note {
        margin: -3px 0 11px;
        color: var(--muted);
        font-size: 0.8rem;
      }
      .ral-picker {
        margin-top: 13px;
        padding: 15px;
        border: 1px solid #d9c395;
        border-radius: 14px;
        background: #fbf7ee;
      }
      .ral-picker[hidden] {
        display: none;
      }
      .ral-picker-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 15px;
        margin-bottom: 12px;
      }
      .ral-picker-head strong,
      .ral-picker-head small {
        display: block;
      }
      .ral-picker-head small {
        margin-top: 2px;
        color: #6d685f;
      }
      .ral-close {
        border: 0;
        background: transparent;
        color: #5d574e;
        cursor: pointer;
        font-size: 1.2rem;
      }
      .ral-search {
        width: 100%;
        padding: 12px 13px;
        border: 1px solid #cfc7bb;
        border-radius: 10px;
        background: #fff;
        color: #201e1a;
        outline: 0;
      }
      .ral-search:focus {
        border-color: var(--gold);
      }
      .ral-filters {
        display: flex;
        gap: 7px;
        overflow-x: auto;
        margin: 11px 0;
        padding-bottom: 2px;
      }
      .ral-filter {
        flex: none;
        padding: 6px 10px;
        border: 1px solid #d6cec1;
        border-radius: 20px;
        background: #fff;
        color: #5f5a52;
        cursor: pointer;
        font-size: 0.75rem;
      }
      .ral-filter.active {
        border-color: #ad7e31;
        background: #efe1c4;
        color: #4a3514;
        font-weight: 800;
      }
      .ral-results {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
      }
      .ral-option {
        padding: 7px;
        border: 1px solid #d8d1c6;
        border-radius: 10px;
        background: #fff;
        color: #292621;
        cursor: pointer;
        text-align: left;
      }
      .ral-option:hover {
        border-color: #ad7e31;
      }
      .ral-option b {
        display: block;
        height: 30px;
        margin-bottom: 5px;
        border: 1px solid #00000018;
        border-radius: 6px;
      }
      .ral-option strong,
      .ral-option small {
        display: block;
      }
      .ral-option strong {
        font-size: 0.76rem;
      }
      .ral-option small {
        overflow: hidden;
        color: #777168;
        font-size: 0.67rem;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .ral-option em {
        display: inline-block;
        margin-top: 4px;
        color: #7b5b24;
        font-size: 0.62rem;
        font-style: normal;
        font-weight: 800;
      }
      .ral-advice {
        width: 100%;
        margin-top: 11px;
        padding: 10px 12px;
        border: 1px dashed #b9aa8e;
        border-radius: 10px;
        background: #fffdf8;
        color: #3e3932;
        cursor: pointer;
        text-align: left;
      }
      .ral-disclaimer {
        margin: 9px 0 0;
        color: #777168;
        font-size: 0.69rem;
      }
      .handles {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
      }
      .handle {
        padding: 9px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #19191a;
        color: #fff;
        text-align: left;
        cursor: pointer;
      }
      .handle.selected {
        border-color: var(--gold);
        box-shadow: inset 0 0 0 1px var(--gold);
      }
      .handle img {
        width: 100%;
        height: 112px;
        object-fit: contain;
        background: #fff;
        border-radius: 8px;
      }
      .handle strong,
      .handle small {
        display: block;
      }
      .handle strong {
        margin-top: 7px;
        font-size: 0.84rem;
      }
      .handle small {
        color: #98958f;
        font-size: 0.72rem;
      }
      .options {
        display: grid;
        gap: 9px;
      }
      .line-option {
        display: flex;
        justify-content: space-between;
        gap: 14px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 12px;
        background: #181819;
        cursor: pointer;
      }
      .line-option div {
        display: flex;
        gap: 10px;
        align-items: center;
      }
      .line-option input {
        width: 18px;
        height: 18px;
        accent-color: var(--gold);
      }
      .line-option em {
        font-style: normal;
        color: var(--gold2);
        font-size: 0.78rem;
      }
      .notice,
      .recommendation {
        margin-top: 17px;
        padding: 13px 14px;
        border-left: 3px solid var(--gold);
        background: #caa45f14;
        color: #cac4b8;
        font-size: 0.85rem;
      }
      .notice.ok {
        border-color: var(--ok);
        background: #79b58a14;
      }
      .notice.danger {
        border-color: var(--danger);
        background: #d5796c17;
        color: #e4b4ad;
      }
      .recommendation {
        border: 1px solid #5e5037;
        border-left-width: 1px;
        border-radius: 14px;
      }
      .recommendation span {
        display: block;
        color: var(--gold);
        font-size: 0.72rem;
        font-weight: 850;
        text-transform: uppercase;
        letter-spacing: 0.1em;
      }
      .recommendation strong {
        display: block;
        margin-top: 3px;
      }
      .recommendation p {
        margin: 4px 0 0;
        color: #aaa;
        font-size: 0.8rem;
      }
      .conditional[hidden],
      .hidden {
        display: none;
      }
      .actions {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        margin-top: 24px;
      }
      .btn {
        padding: 13px 20px;
        border: 0;
        border-radius: 11px;
        font-weight: 850;
        cursor: pointer;
      }
      .btn.primary {
        background: var(--gold);
        color: #17110a;
      }
      .btn.secondary {
        background: #222;
        color: #fff;
        border: 1px solid #3c3c3f;
      }
      .btn:disabled {
        opacity: 0.35;
      }
      .summary {
        position: sticky;
        top: 22px;
        overflow: hidden;
        border-radius: 20px;
        background: var(--cream);
        color: #191612;
        box-shadow: 0 28px 100px #0007;
      }
      .visual {
        height: 170px;
        display: grid;
        place-items: center;
        position: relative;
        background: linear-gradient(145deg, #ece4d4, #b9ae99);
      }
      .door {
        width: 76%;
        height: 72%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        border: 8px solid #242426;
        background: linear-gradient(#74868e, #c5d1d0);
      }
      .door span + span {
        border-left: 5px solid #202022;
      }
      .visual-label {
        position: absolute;
        left: 14px;
        top: 12px;
        padding: 5px 9px;
        border-radius: 20px;
        background: #111d;
        color: #eee;
        font-size: 0.71rem;
      }
      .card {
        padding: 21px;
      }
      .card h2 {
        font:
          500 1.35rem Georgia,
          serif;
        margin: 0;
      }
      .spec {
        color: #6c665d;
        font-size: 0.81rem;
        margin: 3px 0 13px;
      }
      .pill {
        display: inline-flex;
        padding: 5px 9px;
        border-radius: 20px;
        background: #e7decf;
        color: #5f574b;
        font-size: 0.69rem;
        font-weight: 850;
      }
      .pill.ok {
        background: #dcebdd;
        color: #315f3b;
      }
      .pill.warn {
        background: #f1dfbd;
        color: #72521f;
      }
      .pill.stop {
        background: #f0d5d0;
        color: #7b3028;
      }
      .summary-list {
        display: grid;
        gap: 7px;
        margin: 14px 0;
      }
      .summary-list p,
      .tech p,
      .split p {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin: 0;
        font-size: 0.78rem;
      }
      .summary-list span,
      .tech span {
        color: #756e63;
      }
      .summary-list strong,
      .tech strong {
        text-align: right;
      }
      .price-label {
        font-size: 0.7rem;
        color: #756e63;
        text-transform: uppercase;
        letter-spacing: 0.1em;
      }
      .price {
        font-size: 1.7rem;
        font-weight: 850;
      }
      .price-note {
        font-size: 0.72rem;
        color: #7c7467;
        margin: 0 0 12px;
      }
      .split {
        padding-top: 11px;
        border-top: 1px solid #d4cbbb;
        display: grid;
        gap: 5px;
      }
      .badge {
        display: inline-flex;
        margin-top: 13px;
        padding: 5px 9px;
        border-radius: 20px;
        background: #eee5d4;
        color: #665d50;
        font-size: 0.69rem;
      }
      .tech {
        margin-top: 12px;
        padding-top: 10px;
        border-top: 1px solid #d4cbbb;
      }
      .tech summary {
        cursor: pointer;
        font-size: 0.73rem;
        font-weight: 800;
        color: #6b6356;
      }
      .tech p {
        margin-top: 5px;
        font-size: 0.7rem;
      }
      .disclaimer {
        color: #777;
        font-size: 0.69rem;
      }
      .recap-row {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        padding: 11px 0;
        border-bottom: 1px solid var(--line);
      }
      .recap-row span {
        color: #99958f;
      }
      .recap-row strong {
        text-align: right;
        max-width: 64%;
      }
      .quote-heading {
        margin: 18px 0;
        padding: 18px;
        border: 1px solid #d7c6a4;
        border-radius: 16px;
        background: linear-gradient(135deg, #fffaf0, #f3ead8);
      }
      .quote-heading span,
      .quote-heading strong,
      .quote-heading small {
        display: block;
      }
      .quote-heading span {
        color: #8b6428;
        font-size: 0.72rem;
        font-weight: 850;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }
      .quote-heading strong {
        margin-top: 5px;
        font-size: 1.18rem;
      }
      .quote-heading small {
        margin-top: 5px;
        color: #6f685d;
        line-height: 1.45;
      }
      .quote-section {
        margin-top: 14px;
        padding: 0 17px;
        border: 1px solid #ded6c8;
        border-radius: 14px;
        background: #fffdf9;
        overflow: hidden;
      }
      .quote-section h3,
      .quote-section summary {
        margin: 0 -17px;
        padding: 13px 17px;
        background: #f5efe5;
        color: #332d25;
        font-size: 0.84rem;
        font-weight: 900;
        letter-spacing: 0.04em;
        text-transform: uppercase;
      }
      .quote-section summary {
        cursor: pointer;
        list-style-position: inside;
      }
      .quote-section .recap-row:last-child {
        border-bottom: 0;
      }
      .performance-section .recap-row small {
        display: block;
        margin-top: 5px;
        color: #6f685d;
        font-size: 0.875rem;
        font-weight: 400;
        line-height: 1.5;
      }
      .performance-section .recap-row {
        break-inside: avoid;
      }
      .performance-section .recap-row strong {
        flex: 0 0 43%;
      }
      .quote-section.price-section {
        border-color: #b88c40;
        background: #1a1917;
        color: #fff;
      }
      .quote-section.price-section h3 {
        background: #29251f;
        color: #e2bd72;
      }
      .quote-section.price-section .recap-row {
        border-bottom-color: #ffffff22;
      }
      .quote-section.price-section .recap-row span {
        color: #c8c1b5;
      }
      .quote-section.price-section .recap-row strong {
        color: #fff;
      }
      .quote-note {
        margin: 12px 0 15px;
        color: #716a60;
        font-size: 0.78rem;
        line-height: 1.45;
      }
      .contact {
        margin-top: 17px;
      }
      .section-title {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 18px;
        margin: 25px 0 10px;
      }
      .section-title .question {
        margin: 0;
      }
      .section-title small {
        color: var(--muted);
      }
      .opening-journey .family-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
      @media(min-width:601px) and (max-width:1000px){.opening-journey .family-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
      .opening-journey .question,.battant-choices .question { margin-top:24px; }
      .opening-journey .family:disabled { opacity:.55;cursor:not-allowed; }
      .opening-journey button { font:inherit;text-align:left; }
      .fixed-family-diagram .opening-drawing { width:100%;height:100%;display:block; }
      .opening-journey small,.battant-choices small { font-size:.875rem;line-height:1.5; }
      .opening-journey [hidden],.battant-choices [hidden] { display:none!important; }
      @media(max-width:600px){.opening-journey .family-grid{grid-template-columns:1fr 1fr}.opening-journey .family:disabled{grid-column:1 / -1;min-height:0}.opening-journey .choice-grid,.battant-choices .choice-grid{grid-template-columns:1fr}}
      .family-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
      }
      .family {
        min-height: 238px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 15px;
        background: #19191a;
        color: #fff;
        text-align: left;
        position: relative;
      }
      .family.active {
        border-color: var(--gold);
        box-shadow: inset 0 0 0 1px var(--gold);
      }
      .family[disabled],
      .config-card[disabled] {
        cursor: not-allowed;
      }
      .family[disabled] {
        opacity: 0.72;
      }
      .config-card[disabled] {
        opacity: 0.5;
      }
      .family strong,
      .family small,
      .config-card strong,
      .config-card small {
        display: block;
      }
      .family small,
      .config-card small {
        margin-top: 5px;
        color: #96928b;
        font-size: 0.76rem;
      }
      .soon {
        position: absolute;
        right: 9px;
        top: 9px;
        border-radius: 20px;
        background: #2a2927;
        padding: 3px 7px;
        color: #c4bcae;
        font-size: 0.62rem;
      }
      .family-icon {
        height: 124px;
        margin: 22px 0 14px;
        display: grid;
        place-items: center;
        overflow: hidden;
        border: 1px solid #ded6c8;
        border-radius: 12px;
        background: #eef2f2;
      }
      .family.active .family-icon {
        border-color: #d1ad6b;
      }
      .family-icon img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.28s ease;
      }
      .family:hover .family-icon img,
      .family.active .family-icon img {
        transform: scale(1.035);
      }
      .config-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
      }
      .config-card {
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 13px;
        background: #19191a;
        color: #fff;
        text-align: left;
        position: relative;
      }
      .config-card.active {
        border-color: var(--gold);
      }
      .project-list {
        display: grid;
        gap: 8px;
        margin-top: 12px;
      }
      .project-item {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
        align-items: center;
        padding: 12px 13px;
        border: 1px solid #3a3938;
        border-radius: 12px;
        background: #111;
      }
      .project-item strong,
      .project-item small {
        display: block;
      }
      .project-item small {
        color: #96928b;
        font-size: 0.75rem;
      }
      .project-actions,
      .project-tools {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
      }
      .project-tools {
        margin-top: 17px;
      }
      .mini-btn {
        border: 1px solid #4a4741;
        background: #222;
        color: #eee;
        border-radius: 8px;
        padding: 7px 9px;
        cursor: pointer;
        font-size: 0.72rem;
      }
      .count-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin-top: 9px;
        color: #6c665d;
        font-size: 0.74rem;
      }
      .count-badge b {
        display: grid;
        place-items: center;
        min-width: 22px;
        height: 22px;
        border-radius: 50%;
        background: #211b13;
        color: #d5ae68;
      }
      .dim-w,
      .dim-h {
        position: absolute;
        color: #35312c;
        font-size: 0.66rem;
        font-weight: 850;
      }
      .dim-w {
        top: 4px;
        left: 50%;
        transform: translateX(-50%);
      }
      .dim-h {
        right: 4px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
      }
      .project-summary {
        margin-top: 14px;
        padding-top: 12px;
        border-top: 1px solid #d4cbbb;
      }
      .project-summary h3 {
        margin: 0 0 7px;
        font-size: 0.85rem;
      }
      .project-summary p {
        display: flex;
        justify-content: space-between;
        margin: 4px 0;
        font-size: 0.74rem;
      }
      .project-summary span {
        color: #756e63;
      }
      .why-box {
        display: grid;
        grid-template-columns: 38px 1fr;
        gap: 12px;
        margin: 0 0 20px;
        padding: 15px;
        border: 1px solid #51452f;
        border-radius: 14px;
        background: #caa45f12;
      }
      .why-box b:first-child {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--gold);
        color: #17110a;
        font-family: Georgia, serif;
        font-size: 1.15rem;
      }
      .why-box strong,
      .why-box span {
        display: block;
      }
      .why-box span {
        margin-top: 3px;
        color: #aaa59b;
        font-size: 0.84rem;
      }
      .mounting-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
      }
      .mounting-card {
        display: grid;
        grid-template-columns: minmax(320px, 46%) 1fr;
        gap: 20px;
        align-items: center;
        min-height: 0;
        padding: 14px;
      }
      .mounting-card > img {
        display: block;
        width: 100%;
        height: auto;
        margin: 0;
        border: 1px solid #ded4c3;
        border-radius: 15px;
        background: #f7f3eb;
      }
      .mounting-copy {
        padding: 8px 28px 8px 2px;
      }
      .mounting-copy strong,
      .mounting-copy small {
        display: block;
      }
      .mounting-copy strong {
        margin-bottom: 6px;
        font-size: 1.06rem;
      }
      .mounting-copy small {
        font-size: 0.84rem;
        line-height: 1.45;
      }
      .mounting-card ul {
        margin: 12px 0 0;
        padding-left: 18px;
        color: #aaa59b;
        font-size: 0.8rem;
        line-height: 1.45;
      }
      .mounting-card li + li {
        margin-top: 4px;
      }
      .mounting-grid + .field-grid {
        margin-top: 17px;
      }
      .mounting-card .tick {
        z-index: 2;
      }
      .pose-recommendation {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 14px;
        align-items: center;
        margin-bottom: 17px;
        padding: 15px;
        border: 1px solid #6f5933;
        border-radius: 14px;
        background: #caa45f14;
      }
      .pose-recommendation span,
      .pose-recommendation strong,
      .pose-recommendation small {
        display: block;
      }
      .pose-recommendation span {
        color: var(--gold);
        font-size: 0.7rem;
        font-weight: 850;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }
      .pose-recommendation strong {
        margin-top: 3px;
      }
      .pose-recommendation small {
        margin-top: 3px;
        max-width: 610px;
        color: #aaa59b;
      }

      /* Thème lumineux Uporizons : la lumière domine, le noir et l'or signent. */
      body {
        background: #f2eee6;
        color: #201e1a;
      }
      .app {
        background:
          radial-gradient(circle at 78% 2%, #fff 0, transparent 30%),
          linear-gradient(135deg, #f8f5ef 0%, #eee7dc 100%);
      }
      header {
        background: #0d0d0e;
        color: var(--cream);
        border-bottom-color: #2e2e30;
        box-shadow: 0 8px 30px #19150e17;
      }
      header .private {
        color: #bbb5ab;
      }
      .step-link {
        color: #8a857c;
      }
      .step-link.active {
        color: #211f1b;
      }
      .step-link.done {
        color: #5f5b54;
      }
      .step-num {
        border-color: #bdb5a8;
        background: #ffffff99;
      }
      .eyebrow,
      .recommendation span,
      .pose-recommendation span {
        color: #8b6428;
      }
      .intro,
      .hint {
        color: #6d685f;
      }
      .panel {
        position: relative;
        overflow: hidden;
        background: #fffefa;
        color: #201e1a;
        border-color: #ded6c8;
        border-top: 3px solid var(--gold);
        box-shadow: 0 24px 70px #594a3020;
      }
      .choice,
      .handle,
      .line-option,
      .family,
      .config-card,
      .project-item {
        background: #fff;
        color: #24211c;
        border-color: #d9d2c7;
        box-shadow: 0 5px 18px #50442f0a;
      }
      .choice:hover,
      .handle:hover,
      .family:hover,
      .config-card:hover {
        border-color: #ae8b4d;
        background: #fffdf8;
      }
      .choice.selected,
      .handle.selected,
      .family.active,
      .config-card.active {
        background: #fbf5e9;
      }
      .choice small,
      .handle small,
      .family small,
      .config-card small,
      .project-item small,
      .why-box span,
      .mounting-card ul,
      .pose-recommendation small {
        color: #6d685f;
      }
      .tick {
        border-color: #aaa297;
        background: #fff;
      }
      .choice.selected .tick {
        box-shadow: inset 0 0 0 5px #fffaf0;
      }
      .multi-choice.selected .tick {
        box-shadow: none;
      }
      .included-comfort {
        background: linear-gradient(135deg, #fbf5e9, #fffdf8);
        border-color: #ddc99e;
      }
      .included-comfort strong {
        color: #79561e;
      }
      .included-comfort p {
        color: #625d55;
      }
      .field label {
        color: #514d46;
      }
      .field input,
      .field select {
        background: #fff;
        color: #201e1a;
        border-color: #cfc7bb;
        box-shadow: inset 0 1px 2px #51452f0b;
      }
      .field input::placeholder {
        color: #8c877f;
      }
      .measure {
        background: #f8f5ef;
        color: #5f5a52;
        border-color: #ded6ca;
      }
      .swatch {
        background: #fff;
        color: #5f5a52;
        border-color: #d5cec2;
      }
      .swatch.selected {
        background: #fbf5e9;
        color: #25221d;
      }
      .recommendation,
      .pose-recommendation,
      .why-box {
        background: #fbf5e9;
        color: #29251f;
        border-color: #ddc99e;
      }
      .recommendation p {
        color: #625d55;
      }
      .notice {
        background: #fbf5e9;
        color: #514a3e;
      }
      .notice.ok {
        background: #eef7ef;
        color: #31553a;
      }
      .notice.danger {
        background: #fff0ed;
        color: #823b32;
      }
      .btn.secondary,
      .mini-btn {
        background: #1b1b1c;
        color: #fff;
        border-color: #1b1b1c;
      }
      .soon {
        background: #eee8de;
        color: #686157;
      }
      .recap-row {
        border-bottom-color: #ddd5c8;
      }
      .recap-row span {
        color: #6f6a62;
      }
      .count-badge b {
        background: #1c1915;
      }
      @media (max-width: 1120px) {
        main {
          grid-template-columns: 1fr 330px;
        }
        .steps {
          grid-column: 1/-1;
          display: flex;
          overflow: auto;
        }
        .step-link {
          min-width: 145px;
        }
        .handles {
          grid-template-columns: repeat(2, 1fr);
        }
        .family-grid {
          grid-template-columns: repeat(2, 1fr);
        }
        .mounting-grid {
          grid-template-columns: 1fr;
        }
      }
      @media (max-width: 760px) {
        header {
          height: 64px;
        }
        .private {
          display: none;
        }
        main {
          display: block;
          padding-top: 18px;
        }
        .steps {
          margin-bottom: 16px;
        }
        .choice-grid,
        .choice-grid.three,
        .field-grid,
        .family-grid,
        .config-list {
          grid-template-columns: 1fr;
        }
        .composition-grid { grid-template-columns: 1fr; }
        .composition-preview { grid-row: 1; }
        .composition-preview-window { height: 190px; }
        .layout-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .fill-options { grid-template-columns: 1fr; }
        .muntin-options { grid-template-columns: 1fr; }
        .muntin-answer-grid,
        .muntin-context-grid { grid-template-columns: 1fr; }
        .colors {
          grid-template-columns: repeat(3, 1fr);
        }
        .ral-results {
          grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .handles {
          grid-template-columns: repeat(2, 1fr);
        }
        .summary {
          position: relative;
          margin-top: 18px;
        }
        .actions {
          position: sticky;
          bottom: 8px;
          padding: 8px;
          border-radius: 14px;
          background: #f8f4ecef;
          border: 1px solid #ded6c8;
          box-shadow: 0 10px 35px #2b24172b;
        }
        .project-item {
          grid-template-columns: 1fr;
        }
        .pose-recommendation {
          grid-template-columns: 1fr;
        }
        .mounting-card {
          grid-template-columns: 1fr;
          gap: 10px;
          padding: 10px;
        }
        .mounting-copy {
          padding: 3px 30px 8px 4px;
        }
        .glass-tech-grid {
          grid-template-columns: 1fr;
        }
        .glass-tech-grid p:nth-child(odd) {
          padding-right: 0;
        }
        .quote-section .recap-row {
          display: block;
        }
        .quote-section .recap-row strong {
          display: block;
          max-width: none;
          margin-top: 4px;
          text-align: left;
        }
      }

      .sliding-picker { margin:24px 0; padding:22px; border:1px solid #ded6c8; border-radius:16px; background:#fff; }
      .sliding-head { display:flex; align-items:start; gap:16px; justify-content:space-between; }
      .sliding-head h3 { margin:0; font-size:1.2rem; }
      .sliding-head p,.sliding-footnote,.sliding-passage p { font-size:.9rem; line-height:1.5; color:#655e54; }
      .sliding-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:18px; }
      .sliding-card { min-width:0; text-align:left; padding:14px; border:1px solid #d9d3c8; border-radius:12px; background:#fff; color:#252522; cursor:pointer; font-family:inherit; }
      .sliding-card.selected { border:2px solid #ad843b; padding:13px; background:#fffaf0; }
      .sliding-card:focus-visible,.passage-buttons button:focus-visible { outline:3px solid #ad843b; outline-offset:3px; }
      .sliding-card svg { width:100%; display:block; margin:12px 0; overflow:visible; }
      .sliding-card strong,.sliding-card small,.sliding-benefit { display:block; margin-top:8px; line-height:1.5; }
      .sliding-card strong { font-size:1rem; }
      .sliding-card small { font-size:.875rem; color:#655e54; }
      .sliding-card-label { display:flex; justify-content:space-between; font-size:.95rem; font-weight:700; }
      .sliding-benefit { font-size:.9rem; font-weight:700; color:#7a581d; }
      .sliding-width { border-top:1px solid #e3ded5; padding-top:8px; }
      .sliding-pane { transition:transform .8s ease; }
      .is-open .sliding-pane { transform:translateX(var(--travel)); }
      .sliding-gap-label { opacity:0; transition:opacity .5s ease; }
      .is-open .sliding-gap-label { opacity:1; }
      .sliding-passage { margin-top:20px; border-top:1px solid #e3ded5; padding-top:16px; }
      .passage-buttons { display:flex; flex-wrap:wrap; gap:10px; }
      .passage-buttons .selected { background:#fff4d9; color:#382b15; border:2px solid #ad843b; }
      .sliding-footnote { margin-bottom:0; }
      #compositionPreviewGlass:after { display:none; }
      @media(max-width:760px) { .sliding-cards { grid-template-columns:1fr; } .sliding-head { flex-direction:column; } .sliding-picker { padding:14px; } .sliding-card svg { max-width:300px; margin:8px auto; } }
      @media(prefers-reduced-motion:reduce) { .sliding-pane { transition:none; } }

      @media print {
        header,
        .steps,
        .actions,
        .summary,
        .intro,
        .eyebrow,
        .contact,
        .project-tools {
          display: none !important;
        }
        body,
        .panel {
          background: #fff;
          color: #111;
        }
        .panel {
          border: 0;
          box-shadow: none;
        }
        .screen {
          display: none !important;
        }
        .screen[data-step="6"] {
          display: block !important;
        }
        .recap-row span {
          color: #555;
        }
        .quote-section {
          break-inside: avoid;
        }
        .quote-section.price-section {
          border-color: #777;
          background: #fff;
          color: #111;
        }
        .quote-section.price-section h3,
        .quote-section.price-section .recap-row strong {
          color: #111;
        }
        details.quote-section:not([open]) > *:not(summary) {
          display: block !important;
        }
      }

.chosen-family{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;margin-bottom:18px;border-bottom:1px solid #dfd5c5;font-size:14px;line-height:1.5}.chosen-family button{flex:none;border:0;background:transparent;color:#78591f;text-decoration:underline;text-underline-offset:3px;padding:10px 4px;cursor:pointer;font:inherit}.chosen-family button:focus-visible{outline:2px solid #b58b42;outline-offset:3px}
.opening-journey .family{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}.opening-journey .family-icon{flex:none;width:100%;box-sizing:border-box}
.opening-journey .family:disabled{grid-column:auto}

/* Independent previews: selection and simulation are sibling controls. */
.sliding-card.sliding-interactive-card,.sliding-card.sliding-interactive-card.selected{display:flex;flex-direction:column;padding:0;border-width:2px;cursor:default}
.sliding-card-select{display:block;width:100%;padding:14px;border:0;border-radius:10px;background:transparent;color:inherit;text-align:left;font:inherit;cursor:pointer}
.sliding-card-drawing{display:block}
.sliding-choice-label{display:block;margin-top:14px;color:#73511e;font-size:.875rem;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.sliding-card-controls{margin-top:auto;padding:12px;border-top:1px solid #e3ded5}
.sliding-preview-toggle{display:block;width:100%;min-height:44px;margin-bottom:8px}
.sliding-card-directions{display:grid;grid-template-columns:1fr;gap:6px}
.sliding-card-directions button{min-height:44px;white-space:normal;font-size:.875rem}
.sliding-card-directions .selected{border-color:#ad843b;background:#fff4d9;color:#382b15}
.sliding-preview-hint{font-size:.8rem!important}
.sliding-interactive-card button:focus-visible{outline:3px solid #ad843b;outline-offset:2px}
@media(max-width:760px){.sliding-card-directions{grid-template-columns:1fr 1fr}.sliding-card-directions [data-preview-side="center"]{grid-column:1 / -1}}

/* Schémas HD légendés, consultables directement dans le choix de pose. */
.mounting-grid .mounting-card{grid-template-columns:minmax(0,1fr);gap:0}
.mounting-grid .mounting-card>img{width:100%;max-width:680px;height:auto;aspect-ratio:12/11;object-fit:contain;justify-self:center}
.mounting-grid .mounting-copy{padding:10px 24px 8px;font-size:1rem}
.mounting-grid .mounting-copy ul{margin:0}

.mounting-grid .mounting-card[hidden]{display:none!important}

/* Threshold principles: responsive explanatory figures, no dimensional claim. */
.threshold-guide { margin-top:24px; padding-top:20px; border-top:1px solid var(--line); }
.threshold-guide > h3 { margin:0 0 8px; }
.threshold-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:18px 0; }
.threshold-example { min-width:0; border:1px solid var(--line); border-radius:12px; padding:14px; }
.threshold-example.selected { border-color:var(--gold); box-shadow:inset 0 0 0 1px var(--gold); }
.threshold-example h4 { margin:0 0 8px; font-size:1rem; }
.threshold-example svg { display:block; width:100%; height:auto; margin:12px 0; background:var(--cream); border-radius:8px; }
.threshold-selected { display:inline-block; color:var(--gold2); font-size:.85rem; font-weight:600; }
.threshold-example p { font-size:.9rem; line-height:1.55; margin:10px 0 0; }
.threshold-detail, .threshold-caption { color:#c4bfb6; }
.threshold-caption, #thresholdAccess { font-size:.85rem; line-height:1.5; }
#thresholdGalNotice { color:var(--gold2); }
@media (max-width:900px) { .threshold-examples { grid-template-columns:1fr; } .threshold-example svg { max-width:320px; } }

.journey-finish {margin-top:20px;padding:20px;border:1px solid #c6a35b;border-radius:12px;background:#faf6ed;overflow-wrap:anywhere}
.journey-finish h3 {margin:0 0 10px}.journey-finish p{line-height:1.5}.journey-finish label{display:block;margin:14px 0}.journey-finish label[hidden]{display:none}.journey-finish input{box-sizing:border-box;width:100%;max-width:100%;padding:12px;border:1px solid #c6bcac;border-radius:8px;font:inherit}.journey-finish button,.journey-finish a{max-width:100%;white-space:normal;margin:6px 6px 6px 0}.journey-finish button:disabled{opacity:.6;cursor:not-allowed}
@media print{.journey-finish{display:none!important}}

.journey-finish .journey-status{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.journey-finish a.btn{display:inline-flex;box-sizing:border-box;align-items:center;text-decoration:none;line-height:1.4;overflow-wrap:anywhere}.journey-finish button.btn{box-sizing:border-box;line-height:1.4}

.glazing-base,.glazing-final{box-sizing:border-box;margin:16px 0;padding:18px;border:1px solid #d4c5a9;border-radius:12px;background:#f7f3ea;overflow-wrap:anywhere}.glazing-base h3,.glazing-final h3{margin:0 0 8px}.glazing-base strong,.glazing-final strong{display:block;line-height:1.5}.glazing-base p,.glazing-final p{line-height:1.5}.glazing-option-price{display:block;margin-top:10px;color:#886221;font-size:12px;font-weight:700}.glazing-final small{display:block;line-height:1.5;color:#70685e}.glazing-final .error{padding:10px;border-left:3px solid #a33;background:#fff0ec;color:#822}

.customer-extra-options.customer-handle-adaptation{border:0;padding:0;margin:12px 0;background:transparent;box-shadow:none}
.customer-extra-options.customer-handle-adaptation>summary{font-size:.875rem;font-weight:500;color:#655e54}
.customer-handle-adaptation .hint{font-size:.8rem}

/* One count selector and one drawing for both sliding families. */
.sliding-leaf-choice,.sliding-pocket-choice{margin:18px 0}.sliding-leaf-choice .question,.sliding-pocket-choice .question{margin:0 0 10px}.sliding-leaf-buttons,.sliding-pocket-buttons{display:grid;gap:8px;grid-template-columns:repeat(var(--leaf-options,2),minmax(0,1fr))}.sliding-leaf-buttons button,.sliding-pocket-buttons button{min-height:44px;padding:10px 5px}.sliding-leaf-buttons button[hidden]{display:none}.sliding-leaf-buttons .selected,.sliding-pocket-buttons .selected{border:2px solid #ad843b;background:#fff4d9;color:#382b15}
#slidingCards{grid-template-columns:1fr}.sliding-card-overview{padding:12px}.sliding-card-overview .sliding-card-label{margin-top:0}.sliding-card-overview svg{max-width:260px;margin:8px auto}.sliding-card-controls{margin-top:0}.sliding-card-directions{grid-template-columns:1fr 1fr}.sliding-card-directions [data-preview-side="center"]{grid-column:1 / -1}.sliding-preview-toggle{margin:10px 0 0}.sliding-card-details{padding:10px 12px;border-top:1px solid #e3ded5;font-size:.875rem;line-height:1.5}.sliding-card-details summary{cursor:pointer;min-height:24px}.sliding-card-details p{margin:10px 0}.sliding-card-details .sliding-width{border:0;padding:0}.sliding-passage{margin-top:12px;padding-top:10px}.sliding-passage p{margin:0}.sliding-head p{margin-bottom:0}.opening-exposure{margin:18px 0;border:1px solid #ded6c8;border-radius:12px;padding:14px}.opening-exposure summary{cursor:pointer;font-weight:650;line-height:1.5}.opening-exposure summary small{display:block;font-size:.8rem;font-weight:400;color:#655e54}.opening-exposure[open] summary{margin-bottom:16px}
@media(min-width:600px){.sliding-card.sliding-interactive-card,.sliding-card.sliding-interactive-card.selected{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:center}.sliding-card-controls{border-top:0;border-left:1px solid #e3ded5}.sliding-card-details{grid-column:1 / -1}}

/* The selected drawing already identifies the montage and direction. */
#slidingFamily .choice small{display:none}#slidingFamily .choice{padding:12px;min-height:48px}#slidingFamily .choice strong{font-size:1rem}.sliding-family-help{margin:8px 0 14px;font-size:.875rem;line-height:1.5;color:#655e54}.sliding-leaf-buttons button,.sliding-pocket-buttons button{font-size:.875rem}.sliding-picker{padding:0;border:0;background:transparent}.sliding-head{display:none}.sliding-preview-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0;padding:0;border:0}.sliding-cards{margin-top:12px}
