/* Test colorways for the dress-shirt items. One class per item style. */

.passport-style-switch {
    position: fixed;
    top: calc(var(--site-header-height, 72px) + 10px);
    right: 14px;
    z-index: 2000;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    max-width: calc(100vw - 28px);
    pointer-events: auto;
}

.passport-style-switch__btn {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd4c6;
    border-radius: 2px;
    background: #f4f1ea;
    color: #1c1a17;
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.passport-style-switch__btn:link,
.passport-style-switch__btn:visited {
    color: #1c1a17;
    text-decoration: none;
}

.passport-style-switch__btn.is-style-1,
.passport-style-switch__btn.is-style-1:link,
.passport-style-switch__btn.is-style-1:visited {
    background: #f4f1ea;
    border-color: #ddd4c6;
    color: #1c1a17;
}

.passport-style-switch__btn.is-style-1.is-active,
.passport-style-switch__btn.is-style-1.is-active:link,
.passport-style-switch__btn.is-style-1.is-active:visited {
    background: #1f3a5f;
    border-color: #1f3a5f;
    color: #f7f4ef;
}

.passport-style-switch__btn.is-style-2,
.passport-style-switch__btn.is-style-2:link,
.passport-style-switch__btn.is-style-2:visited {
    background: #f7f4ef;
    border-color: #d9d2c5;
    color: #24211c;
}

.passport-style-switch__btn.is-style-2.is-active,
.passport-style-switch__btn.is-style-2.is-active:link,
.passport-style-switch__btn.is-style-2.is-active:visited {
    background: #3f5c45;
    border-color: #3f5c45;
    color: #f7f4ef;
}

.passport-style-switch__btn.is-style-3,
.passport-style-switch__btn.is-style-3:link,
.passport-style-switch__btn.is-style-3:visited {
    background: #f3f0e8;
    border-color: #ddd6c8;
    color: #142033;
}

.passport-style-switch__btn.is-style-3.is-active,
.passport-style-switch__btn.is-style-3.is-active:link,
.passport-style-switch__btn.is-style-3.is-active:visited {
    background: #8a7348;
    border-color: #8a7348;
    color: #f7f4ef;
}

.passport-style-switch__btn.is-style-4,
.passport-style-switch__btn.is-style-4:link,
.passport-style-switch__btn.is-style-4:visited {
    background: #f2f3f4;
    border-color: #d5d8db;
    color: #1a1c1e;
}

.passport-style-switch__btn.is-style-4.is-active,
.passport-style-switch__btn.is-style-4.is-active:link,
.passport-style-switch__btn.is-style-4.is-active:visited {
    background: #2c4a6e;
    border-color: #2c4a6e;
    color: #f7f4ef;
}

.passport-style-switch__btn.is-style-5,
.passport-style-switch__btn.is-style-5:link,
.passport-style-switch__btn.is-style-5:visited {
    background: #f3f1ec;
    border-color: #c8c2b8;
    color: #16181c;
}

.passport-style-switch__btn.is-style-5.is-active,
.passport-style-switch__btn.is-style-5.is-active:link,
.passport-style-switch__btn.is-style-5.is-active:visited {
    background: #16181c;
    border-color: #16181c;
    color: #e6e2da;
}

.passport-style-switch__btn--request {
    border-color: #1f3a5f;
    background: #1f3a5f;
    color: #f7f4ef;
    cursor: pointer;
}

.passport-individual-request {
    width: min(440px, calc(100vw - 32px));
    padding: 0;
    border: 1px solid #ddd4c6;
    border-radius: 12px;
    background: #f7f4ef;
    color: #1c1a17;
}

.passport-individual-request::backdrop {
    background: rgba(15, 23, 42, 0.45);
}

.passport-individual-request__form {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 18px;
}

.passport-individual-request__form h2 {
    margin: 0;
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
}

.passport-individual-request__field {
    display: grid;
    gap: 4px;
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.passport-individual-request__field input,
.passport-individual-request__field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #ddd4c6;
    border-radius: 6px;
    background: #fff;
    color: #1c1a17;
    font: 400 15px/1.4 "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.passport-individual-request__note {
    margin: 0;
    font: 400 12px/1.45 "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #6b6560;
}

.passport-individual-request__actions {
    display: flex;
    gap: 8px;
}

.passport-individual-request__send,
.passport-individual-request__cancel {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 6px;
    font: 700 14px/1 "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    cursor: pointer;
}

.passport-individual-request__send {
    border: 0;
    background: #1f3a5f;
    color: #f7f4ef;
}

.passport-individual-request__cancel {
    border: 1px solid #ddd4c6;
    background: #fff;
    color: #1c1a17;
}

.passport-individual-request__hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body.passport-style-1,
.parts-page.product-passport.passport-style-1 {
    --ps-ground: #f4f1ea;
    --ps-paper: #f4f1ea;
    --ps-ink: #1c1a17;
    --ps-ink-dark: #1c1a17;
    --ps-muted: #6b6560;
    --ps-muted-dark: #6b6560;
    --ps-accent: #1f3a5f;
    --ps-line: #ddd4c6;
    --ps-track: #e4ddd2;
}

body.passport-style-2,
.parts-page.product-passport.passport-style-2 {
    --ps-ground: #f7f4ef;
    --ps-paper: #f7f4ef;
    --ps-ink: #24211c;
    --ps-ink-dark: #24211c;
    --ps-muted: #7a736a;
    --ps-muted-dark: #7a736a;
    --ps-accent: #3f5c45;
    --ps-line: #d9d2c5;
    --ps-track: #e3dcd2;
}

body.passport-style-3,
.parts-page.product-passport.passport-style-3 {
    --ps-ground: #f3f0e8;
    --ps-paper: #f3f0e8;
    --ps-ink: #142033;
    --ps-ink-dark: #142033;
    --ps-muted: #5c6570;
    --ps-muted-dark: #5c6570;
    --ps-accent: #8a7348;
    --ps-line: #ddd6c8;
    --ps-track: #e5dece;
}

body.passport-style-4,
.parts-page.product-passport.passport-style-4 {
    --ps-ground: #f2f3f4;
    --ps-paper: #f2f3f4;
    --ps-ink: #1a1c1e;
    --ps-ink-dark: #1a1c1e;
    --ps-muted: #5e656b;
    --ps-muted-dark: #5e656b;
    --ps-accent: #2c4a6e;
    --ps-line: #d5d8db;
    --ps-track: #e2e4e6;
}

body.passport-style-5,
.parts-page.product-passport.passport-style-5 {
    --ps-ground: #16181c;
    --ps-paper: #f3f1ec;
    --ps-ink: #1a1a1a;
    --ps-ink-dark: #e6e2da;
    --ps-muted: #5e5852;
    --ps-muted-dark: #b7b1a8;
    --ps-accent: #9a7b4f;
    --ps-line: #3a3d42;
    --ps-track: #e4ddd2;
}

body.passport-style-1,
body.passport-style-2,
body.passport-style-3,
body.passport-style-4,
body.passport-style-5,
html:has(body.passport-style-1),
html:has(body.passport-style-2),
html:has(body.passport-style-3),
html:has(body.passport-style-4),
html:has(body.passport-style-5) {
    background: var(--ps-ground, #f4f1ea);
}

.parts-page.product-passport.passport-style-1,
.parts-page.product-passport.passport-style-2,
.parts-page.product-passport.passport-style-3,
.parts-page.product-passport.passport-style-4,
.parts-page.product-passport.passport-style-5 {
    --passport-bg-light: var(--ps-paper);
    --passport-text-on-light: var(--ps-ink);
    --passport-text-on-light-muted: var(--ps-muted);
    --bg-base: var(--ps-ground);
    --accent-primary: var(--ps-accent);
    --accent-dim: transparent;
    --border-subtle: var(--ps-line);
    --border-accent: var(--ps-accent);
    --pp-bg: var(--ps-ground);
    --pp-text-hi: var(--ps-ink-dark);
    --pp-text-body: var(--ps-ink-dark);
    --pp-text-dim: var(--ps-muted-dark);
    background: var(--ps-ground);
    color: var(--ps-ink-dark);
}

.parts-page.product-passport.passport-style-1 .passport-grid-overlay,
.parts-page.product-passport.passport-style-2 .passport-grid-overlay,
.parts-page.product-passport.passport-style-3 .passport-grid-overlay,
.parts-page.product-passport.passport-style-4 .passport-grid-overlay,
.parts-page.product-passport.passport-style-5 .passport-grid-overlay,
.parts-page.product-passport.passport-style-1 .glow-orb,
.parts-page.product-passport.passport-style-2 .glow-orb,
.parts-page.product-passport.passport-style-3 .glow-orb,
.parts-page.product-passport.passport-style-4 .glow-orb,
.parts-page.product-passport.passport-style-5 .glow-orb {
    display: none;
}

.parts-page.product-passport.passport-style-1 .passport-section--hero,
.parts-page.product-passport.passport-style-2 .passport-section--hero,
.parts-page.product-passport.passport-style-3 .passport-section--hero,
.parts-page.product-passport.passport-style-4 .passport-section--hero,
.parts-page.product-passport.passport-style-1 .passport-section--light,
.parts-page.product-passport.passport-style-2 .passport-section--light,
.parts-page.product-passport.passport-style-3 .passport-section--light,
.parts-page.product-passport.passport-style-4 .passport-section--light,
.parts-page.product-passport.passport-style-1 .passport-section--dark,
.parts-page.product-passport.passport-style-2 .passport-section--dark,
.parts-page.product-passport.passport-style-3 .passport-section--dark,
.parts-page.product-passport.passport-style-4 .passport-section--dark,
.parts-page.product-passport.passport-style-1 .passport-identity-env-track,
.parts-page.product-passport.passport-style-2 .passport-identity-env-track,
.parts-page.product-passport.passport-style-3 .passport-identity-env-track,
.parts-page.product-passport.passport-style-4 .passport-identity-env-track,
.parts-page.product-passport.passport-style-5 .passport-section--hero,
.parts-page.product-passport.passport-style-5 .passport-identity-env-track,
.parts-page.product-passport.passport-style-5 .passport-section--dark {
    background: var(--ps-ground);
    color: var(--ps-ink-dark);
}

.parts-page.product-passport.passport-style-5 .passport-section--light {
    background: var(--ps-paper);
    color: var(--ps-ink);
}

.parts-page.product-passport.passport-style-1 #passport-section-disassembly,
.parts-page.product-passport.passport-style-2 #passport-section-disassembly,
.parts-page.product-passport.passport-style-3 #passport-section-disassembly,
.parts-page.product-passport.passport-style-4 #passport-section-disassembly,
.parts-page.product-passport.passport-style-1 #passport-section-disassembly .passport-section__copy,
.parts-page.product-passport.passport-style-2 #passport-section-disassembly .passport-section__copy,
.parts-page.product-passport.passport-style-3 #passport-section-disassembly .passport-section__copy,
.parts-page.product-passport.passport-style-4 #passport-section-disassembly .passport-section__copy {
    background: var(--ps-ground);
    color: var(--ps-ink);
    border-color: var(--ps-line);
    box-shadow: none;
}

.parts-page.product-passport.passport-style-5 #passport-section-disassembly,
.parts-page.product-passport.passport-style-5 #passport-section-disassembly .passport-section__copy {
    background: var(--ps-ground);
    color: var(--ps-ink-dark);
    border-color: var(--ps-line);
    box-shadow: none;
}

.parts-page.product-passport.passport-style-1 .passport-section--light::before,
.parts-page.product-passport.passport-style-2 .passport-section--light::before,
.parts-page.product-passport.passport-style-3 .passport-section--light::before,
.parts-page.product-passport.passport-style-4 .passport-section--light::before,
.parts-page.product-passport.passport-style-5 .passport-section--light::before,
.parts-page.product-passport.passport-style-1 .passport-track__bg,
.parts-page.product-passport.passport-style-2 .passport-track__bg,
.parts-page.product-passport.passport-style-3 .passport-track__bg,
.parts-page.product-passport.passport-style-4 .passport-track__bg,
.parts-page.product-passport.passport-style-5 .passport-track__bg {
    background: none;
    opacity: 0;
}

.parts-page.product-passport.passport-style-1 .hero-title-line,
.parts-page.product-passport.passport-style-2 .hero-title-line,
.parts-page.product-passport.passport-style-3 .hero-title-line,
.parts-page.product-passport.passport-style-4 .hero-title-line,
.parts-page.product-passport.passport-style-5 .hero-title-line,
.parts-page.product-passport.passport-style-1 .hero-title-accent,
.parts-page.product-passport.passport-style-2 .hero-title-accent,
.parts-page.product-passport.passport-style-3 .hero-title-accent,
.parts-page.product-passport.passport-style-4 .hero-title-accent,
.parts-page.product-passport.passport-style-5 .hero-title-accent,
.parts-page.product-passport.passport-style-1 h1,
.parts-page.product-passport.passport-style-2 h1,
.parts-page.product-passport.passport-style-3 h1,
.parts-page.product-passport.passport-style-4 h1,
.parts-page.product-passport.passport-style-5 h1,
.parts-page.product-passport.passport-style-1 h2,
.parts-page.product-passport.passport-style-2 h2,
.parts-page.product-passport.passport-style-3 h2,
.parts-page.product-passport.passport-style-4 h2,
.parts-page.product-passport.passport-style-5 h2,
.parts-page.product-passport.passport-style-1 h3,
.parts-page.product-passport.passport-style-2 h3,
.parts-page.product-passport.passport-style-3 h3,
.parts-page.product-passport.passport-style-4 h3,
.parts-page.product-passport.passport-style-5 h3 {
    background: none;
    -webkit-text-fill-color: var(--ps-ink-dark);
    color: var(--ps-ink-dark);
}

.parts-page.product-passport.passport-style-5 .passport-section--light h2,
.parts-page.product-passport.passport-style-5 .passport-section--light h3,
.parts-page.product-passport.passport-style-5 .passport-section--light .hero-title-line {
    -webkit-text-fill-color: var(--ps-ink);
    color: var(--ps-ink);
}

.parts-page.product-passport.passport-style-1 .passport-origin-country__name,
.parts-page.product-passport.passport-style-2 .passport-origin-country__name,
.parts-page.product-passport.passport-style-3 .passport-origin-country__name,
.parts-page.product-passport.passport-style-4 .passport-origin-country__name {
    color: var(--ps-ink);
    -webkit-text-fill-color: currentColor;
}

.parts-page.product-passport.passport-style-5 .passport-origin-country__name {
    color: var(--ps-ink-dark);
    -webkit-text-fill-color: currentColor;
}

.parts-page.product-passport.passport-style-5 .passport-section--light .passport-origin-country__name {
    color: var(--ps-ink);
    -webkit-text-fill-color: currentColor;
}

.parts-page.product-passport:is(.passport-style-1, .passport-style-2, .passport-style-3, .passport-style-4, .passport-style-5) .passport-transport-segment__co2,
.parts-page.product-passport:is(.passport-style-1, .passport-style-2, .passport-style-3, .passport-style-4, .passport-style-5) .passport-transport-segment__distance,
.parts-page.product-passport:is(.passport-style-1, .passport-style-2, .passport-style-3, .passport-style-4, .passport-style-5) .passport-identity-env-track[data-theme="light"] .passport-transport-segment__co2,
.parts-page.product-passport:is(.passport-style-1, .passport-style-2, .passport-style-3, .passport-style-4, .passport-style-5) .passport-identity-env-track[data-theme="light"] .passport-transport-segment__distance,
.parts-page.product-passport:is(.passport-style-1, .passport-style-2, .passport-style-3, .passport-style-4, .passport-style-5) .passport-identity-env-track[data-theme="light"] .passport-transport-leg-group__total {
    color: var(--ps-accent);
}

.parts-page.product-passport:is(.passport-style-1, .passport-style-2, .passport-style-3, .passport-style-4, .passport-style-5) .passport-transport-legs .product-transport-leg.is-hovered .passport-transport-leg-group__total,
.parts-page.product-passport:is(.passport-style-1, .passport-style-2, .passport-style-3, .passport-style-4, .passport-style-5) .passport-transport-legs .product-transport-leg:focus-visible .passport-transport-leg-group__total {
    text-shadow: none;
}

.parts-page.product-passport.passport-style-1 .passport-lead,
.parts-page.product-passport.passport-style-2 .passport-lead,
.parts-page.product-passport.passport-style-3 .passport-lead,
.parts-page.product-passport.passport-style-4 .passport-lead,
.parts-page.product-passport.passport-style-1 .passport-body,
.parts-page.product-passport.passport-style-2 .passport-body,
.parts-page.product-passport.passport-style-3 .passport-body,
.parts-page.product-passport.passport-style-4 .passport-body,
.parts-page.product-passport.passport-style-1 .passport-hero-sub,
.parts-page.product-passport.passport-style-2 .passport-hero-sub,
.parts-page.product-passport.passport-style-3 .passport-hero-sub,
.parts-page.product-passport.passport-style-4 .passport-hero-sub,
.parts-page.product-passport.passport-style-1 .passport-track__lead,
.parts-page.product-passport.passport-style-2 .passport-track__lead,
.parts-page.product-passport.passport-style-3 .passport-track__lead,
.parts-page.product-passport.passport-style-4 .passport-track__lead,
.parts-page.product-passport.passport-style-5 .passport-hero-sub,
.parts-page.product-passport.passport-style-5 .passport-track__lead,
.parts-page.product-passport.passport-style-1 .garment-summary__lead,
.parts-page.product-passport.passport-style-2 .garment-summary__lead,
.parts-page.product-passport.passport-style-3 .garment-summary__lead,
.parts-page.product-passport.passport-style-4 .garment-summary__lead,
.parts-page.product-passport.passport-style-5 .garment-summary__lead,
.parts-page.product-passport.passport-style-1 .garment-summary--points p,
.parts-page.product-passport.passport-style-2 .garment-summary--points p,
.parts-page.product-passport.passport-style-3 .garment-summary--points p,
.parts-page.product-passport.passport-style-4 .garment-summary--points p,
.parts-page.product-passport.passport-style-5 .garment-summary--points p {
    color: var(--ps-muted);
}

.parts-page.product-passport.passport-style-5 .passport-hero-sub,
.parts-page.product-passport.passport-style-5 .passport-track__lead {
    color: var(--ps-muted-dark);
}

.parts-page.product-passport.passport-style-1 .passport-hero-stats .stat-value,
.parts-page.product-passport.passport-style-2 .passport-hero-stats .stat-value,
.parts-page.product-passport.passport-style-3 .passport-hero-stats .stat-value,
.parts-page.product-passport.passport-style-4 .passport-hero-stats .stat-value,
.parts-page.product-passport.passport-style-5 .passport-hero-stats .stat-value,
.parts-page.product-passport.passport-style-1 .garment-summary__life strong,
.parts-page.product-passport.passport-style-2 .garment-summary__life strong,
.parts-page.product-passport.passport-style-3 .garment-summary__life strong,
.parts-page.product-passport.passport-style-4 .garment-summary__life strong,
.parts-page.product-passport.passport-style-5 .garment-summary__life strong,
.parts-page.product-passport.passport-style-1 .garment-summary__label strong,
.parts-page.product-passport.passport-style-2 .garment-summary__label strong,
.parts-page.product-passport.passport-style-3 .garment-summary__label strong,
.parts-page.product-passport.passport-style-4 .garment-summary__label strong,
.parts-page.product-passport.passport-style-5 .garment-summary__label strong {
    color: var(--ps-accent);
}

.parts-page.product-passport.passport-style-1 .passport-hero-stats .stat-label,
.parts-page.product-passport.passport-style-2 .passport-hero-stats .stat-label,
.parts-page.product-passport.passport-style-3 .passport-hero-stats .stat-label,
.parts-page.product-passport.passport-style-4 .passport-hero-stats .stat-label,
.parts-page.product-passport.passport-style-1 .passport-hero-stats--supply .stat-label,
.parts-page.product-passport.passport-style-2 .passport-hero-stats--supply .stat-label,
.parts-page.product-passport.passport-style-3 .passport-hero-stats--supply .stat-label,
.parts-page.product-passport.passport-style-4 .passport-hero-stats--supply .stat-label {
    color: var(--ps-muted);
}

.parts-page.product-passport.passport-style-5 .passport-hero-stats .stat-label,
.parts-page.product-passport.passport-style-5 .passport-hero-stats--supply .stat-label {
    color: var(--ps-muted-dark);
}

.parts-page.product-passport.passport-style-5 .passport-section--light .passport-hero-stats .stat-label,
.parts-page.product-passport.passport-style-5 .passport-section--light .passport-hero-stats--supply .stat-label {
    color: var(--ps-muted);
}

.parts-page.product-passport.passport-style-1 .passport-hero-stats .stat-divider,
.parts-page.product-passport.passport-style-2 .passport-hero-stats .stat-divider,
.parts-page.product-passport.passport-style-3 .passport-hero-stats .stat-divider,
.parts-page.product-passport.passport-style-4 .passport-hero-stats .stat-divider,
.parts-page.product-passport.passport-style-5 .passport-hero-stats .stat-divider {
    background: var(--ps-line);
}

.parts-page.product-passport.passport-style-1 .garment-summary__track,
.parts-page.product-passport.passport-style-2 .garment-summary__track,
.parts-page.product-passport.passport-style-3 .garment-summary__track,
.parts-page.product-passport.passport-style-4 .garment-summary__track,
.parts-page.product-passport.passport-style-5 .garment-summary__track {
    background: var(--ps-track);
}

.parts-page.product-passport.passport-style-1 .garment-summary__track span,
.parts-page.product-passport.passport-style-2 .garment-summary__track span,
.parts-page.product-passport.passport-style-3 .garment-summary__track span,
.parts-page.product-passport.passport-style-4 .garment-summary__track span,
.parts-page.product-passport.passport-style-5 .garment-summary__track span {
    background: var(--ps-accent);
}

.parts-page.product-passport.passport-style-1 .passport-supply-download-btn,
.parts-page.product-passport.passport-style-2 .passport-supply-download-btn,
.parts-page.product-passport.passport-style-3 .passport-supply-download-btn,
.parts-page.product-passport.passport-style-4 .passport-supply-download-btn,
.parts-page.product-passport.passport-style-5 .passport-supply-download-btn {
    border: 1px solid var(--ps-accent);
    background: transparent;
    color: var(--ps-accent);
    border-radius: 2px;
}

.parts-page.product-passport.passport-style-1 .passport-supply-legend,
.parts-page.product-passport.passport-style-2 .passport-supply-legend,
.parts-page.product-passport.passport-style-3 .passport-supply-legend,
.parts-page.product-passport.passport-style-4 .passport-supply-legend {
    background: var(--ps-ground);
    border: 1px solid var(--ps-line);
    backdrop-filter: none;
}

.parts-page.product-passport.passport-style-5 .passport-supply-legend {
    background: #16181c;
    border: 1px solid #3a3d42;
    backdrop-filter: none;
}

/* Route scrubber on the light colorways: ink on paper. */
.parts-page.product-passport.passport-style-1 .passport-route-scrubber,
.parts-page.product-passport.passport-style-2 .passport-route-scrubber,
.parts-page.product-passport.passport-style-3 .passport-route-scrubber,
.parts-page.product-passport.passport-style-4 .passport-route-scrubber {
    --scrub-ink: var(--ps-ink);
    --scrub-muted: var(--ps-muted);
    --scrub-rail: var(--ps-line);
    --scrub-accent: var(--ps-accent);
    --scrub-knob: var(--ps-ground);
    --scrub-knob-ring: var(--ps-accent);
    --scrub-shadow: none;
}

.parts-page.product-passport.passport-style-1 .passport-route-scrubber__knob,
.parts-page.product-passport.passport-style-2 .passport-route-scrubber__knob,
.parts-page.product-passport.passport-style-3 .passport-route-scrubber__knob,
.parts-page.product-passport.passport-style-4 .passport-route-scrubber__knob {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.parts-page.product-passport.passport-style-1 .passport-supply-legend .cs-legend__name,
.parts-page.product-passport.passport-style-2 .passport-supply-legend .cs-legend__name,
.parts-page.product-passport.passport-style-3 .passport-supply-legend .cs-legend__name,
.parts-page.product-passport.passport-style-4 .passport-supply-legend .cs-legend__name,
.parts-page.product-passport.passport-style-1 .passport-supply-legend .cs-legend__group-title,
.parts-page.product-passport.passport-style-2 .passport-supply-legend .cs-legend__group-title,
.parts-page.product-passport.passport-style-3 .passport-supply-legend .cs-legend__group-title,
.parts-page.product-passport.passport-style-4 .passport-supply-legend .cs-legend__group-title {
    color: var(--ps-ink);
}

.parts-page.product-passport.passport-style-5 .passport-supply-legend .cs-legend__name,
.parts-page.product-passport.passport-style-5 .passport-supply-legend .cs-legend__group-title {
    color: var(--ps-ink-dark);
}

body.passport-style-1 > .passport-mobile-nav,
body.passport-style-2 > .passport-mobile-nav,
body.passport-style-3 > .passport-mobile-nav,
body.passport-style-4 > .passport-mobile-nav,
.parts-page.product-passport.passport-style-1 .passport-mobile-nav,
.parts-page.product-passport.passport-style-2 .passport-mobile-nav,
.parts-page.product-passport.passport-style-3 .passport-mobile-nav,
.parts-page.product-passport.passport-style-4 .passport-mobile-nav {
    background: var(--ps-ground);
    border-bottom: 1px solid var(--ps-line);
    box-shadow: none;
    backdrop-filter: none;
}

body.passport-style-5 > .passport-mobile-nav,
.parts-page.product-passport.passport-style-5 .passport-mobile-nav {
    background: #16181c;
    border-bottom: 1px solid #3a3d42;
    box-shadow: none;
    backdrop-filter: none;
}

body.passport-style-1 > .passport-mobile-nav .passport-mobile-nav__items a,
body.passport-style-2 > .passport-mobile-nav .passport-mobile-nav__items a,
body.passport-style-3 > .passport-mobile-nav .passport-mobile-nav__items a,
body.passport-style-4 > .passport-mobile-nav .passport-mobile-nav__items a,
body.passport-style-5 > .passport-mobile-nav .passport-mobile-nav__items a,
.parts-page.product-passport.passport-style-1 .passport-mobile-nav__items a,
.parts-page.product-passport.passport-style-2 .passport-mobile-nav__items a,
.parts-page.product-passport.passport-style-3 .passport-mobile-nav__items a,
.parts-page.product-passport.passport-style-4 .passport-mobile-nav__items a,
.parts-page.product-passport.passport-style-5 .passport-mobile-nav__items a {
    border-color: var(--ps-line);
    background: transparent;
    color: var(--ps-ink-dark);
}

body.passport-style-1 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
body.passport-style-2 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
body.passport-style-3 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
body.passport-style-4 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
body.passport-style-5 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
.parts-page.product-passport.passport-style-1 .passport-mobile-nav__items a.is-active,
.parts-page.product-passport.passport-style-2 .passport-mobile-nav__items a.is-active,
.parts-page.product-passport.passport-style-3 .passport-mobile-nav__items a.is-active,
.parts-page.product-passport.passport-style-4 .passport-mobile-nav__items a.is-active,
.parts-page.product-passport.passport-style-5 .passport-mobile-nav__items a.is-active {
    border-color: var(--ps-accent);
    background: transparent;
    color: var(--ps-accent);
}

body.passport-style-1 > .passport-mobile-nav .passport-mobile-nav__progress span,
body.passport-style-2 > .passport-mobile-nav .passport-mobile-nav__progress span,
body.passport-style-3 > .passport-mobile-nav .passport-mobile-nav__progress span,
body.passport-style-4 > .passport-mobile-nav .passport-mobile-nav__progress span,
body.passport-style-5 > .passport-mobile-nav .passport-mobile-nav__progress span,
.parts-page.product-passport.passport-style-1 .passport-mobile-nav__progress span,
.parts-page.product-passport.passport-style-2 .passport-mobile-nav__progress span,
.parts-page.product-passport.passport-style-3 .passport-mobile-nav__progress span,
.parts-page.product-passport.passport-style-4 .passport-mobile-nav__progress span,
.parts-page.product-passport.passport-style-5 .passport-mobile-nav__progress span {
    background: var(--ps-accent);
}

body.passport-style-1 .passport-draft-banner,
body.passport-style-2 .passport-draft-banner,
body.passport-style-3 .passport-draft-banner,
body.passport-style-4 .passport-draft-banner {
    background: var(--ps-ground, #f4f1ea);
    color: var(--ps-ink, #1c1a17);
    border-bottom-color: var(--ps-accent, #1f3a5f);
}

body.passport-style-5 .passport-draft-banner {
    background: #16181c;
    color: #e6e2da;
    border-bottom-color: #9a7b4f;
}

body.passport-style-1 .passport-draft-banner strong,
body.passport-style-2 .passport-draft-banner strong,
body.passport-style-3 .passport-draft-banner strong,
body.passport-style-4 .passport-draft-banner strong,
body.passport-style-5 .passport-draft-banner strong {
    color: var(--ps-accent, #1f3a5f);
}

.parts-page.product-passport .passport-globe-stage.passport-globe-free .product-supply-viz {
    pointer-events: none;
}

.parts-page.product-passport .passport-globe-stage.passport-globe-free .viz-panel--globe,
.parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend,
.parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-ol-map,
.parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-stage-swap,
.parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-map-layer-switcher {
    pointer-events: auto;
}
.parts-page.product-passport.passport-style-1 .passport-globe-stage .viz-panel--globe,
.parts-page.product-passport.passport-style-2 .passport-globe-stage .viz-panel--globe,
.parts-page.product-passport.passport-style-3 .passport-globe-stage .viz-panel--globe,
.parts-page.product-passport.passport-style-4 .passport-globe-stage .viz-panel--globe,
.parts-page.product-passport.passport-style-5 .passport-globe-stage .viz-panel--globe,
.parts-page.product-passport.passport-style-1 .passport-globe-stage,
.parts-page.product-passport.passport-style-2 .passport-globe-stage,
.parts-page.product-passport.passport-style-3 .passport-globe-stage,
.parts-page.product-passport.passport-style-4 .passport-globe-stage,
.parts-page.product-passport.passport-style-5 .passport-globe-stage {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.passport-stage-mode {
    position: fixed;
    top: calc(var(--site-header-height, 72px) + 52px);
    right: 14px;
    z-index: 4000;
    display: flex;
    gap: 6px;
    pointer-events: auto;
}

.passport-stage-mode__btn {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #ddd4c6;
    border-radius: 2px;
    background: #f4f1ea;
    color: #1c1a17;
    font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

body.passport-style-1 .passport-stage-mode__btn {
    background: #f4f1ea;
    border-color: #ddd4c6;
    color: #1c1a17;
}
body.passport-style-1 .passport-stage-mode__btn.is-active {
    background: #1f3a5f;
    border-color: #1f3a5f;
    color: #f7f4ef;
}

body.passport-style-2 .passport-stage-mode__btn {
    background: #f7f4ef;
    border-color: #d9d2c5;
    color: #24211c;
}
body.passport-style-2 .passport-stage-mode__btn.is-active {
    background: #3f5c45;
    border-color: #3f5c45;
    color: #f7f4ef;
}

body.passport-style-3 .passport-stage-mode__btn {
    background: #f3f0e8;
    border-color: #ddd6c8;
    color: #142033;
}
body.passport-style-3 .passport-stage-mode__btn.is-active {
    background: #8a7348;
    border-color: #8a7348;
    color: #f7f4ef;
}

body.passport-style-4 .passport-stage-mode__btn {
    background: #f2f3f4;
    border-color: #d5d8db;
    color: #1a1c1e;
}
body.passport-style-4 .passport-stage-mode__btn.is-active {
    background: #2c4a6e;
    border-color: #2c4a6e;
    color: #f7f4ef;
}

body.passport-style-5 .passport-stage-mode__btn {
    background: #f3f1ec;
    border-color: #c8c2b8;
    color: #16181c;
}
body.passport-style-5 .passport-stage-mode__btn.is-active {
    background: #16181c;
    border-color: #9a7b4f;
    color: #e6e2da;
}

.passport-stage-swap {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    transform: translateY(calc(-100% - 8px));
    z-index: 12;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #ddd4c6;
    border-radius: 2px;
    background: #f7f4ef;
    color: #1c1a17;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 20px rgba(28, 26, 23, 0.16);
}

.passport-stage-swap[hidden] {
    display: none !important;
}

.passport-stage-swap__icon--globe {
    display: none;
}

.passport-stage-swap.is-showing-map .passport-stage-swap__icon--map {
    display: none;
}

.passport-stage-swap.is-showing-map .passport-stage-swap__icon--globe {
    display: block;
}

.parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-map .viz-panel--globe {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
    border-radius: 16px;
    clip-path: none;
    background: #dbe4f0;
}

.parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-map .passport-ol-map {
    display: block !important;
    pointer-events: auto;
    border-radius: 16px;
    clip-path: none;
}

.parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-map .product-passport-globe-canvas,
.parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-map .passport-earth-map {
    display: none !important;
}

@media (max-width: 767px) and (orientation: portrait),
       (orientation: landscape) and (max-height: 560px) {
    .parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-map {
        left: max(12px, env(safe-area-inset-left));
        right: max(12px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        width: auto;
        max-width: none;
        height: min(62dvh, 520px);
        border-radius: 22px;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-both .passport-stage-swap {
        position: fixed;
        right: max(16px, env(safe-area-inset-right));
        bottom: max(18px, env(safe-area-inset-bottom));
        top: auto;
        transform: none;
    }
}

.passport-display-drawer,
.passport-display-drawer__panel {
    display: contents;
}

.passport-display-drawer__toggle {
    display: none;
}

body.product-passport-page > .passport-mobile-nav {
    display: none;
}

/* Phone portrait: globe band, then a right-hand display menu. */
@media (max-width: 767px) and (orientation: portrait) {
    body.product-passport-page {
        --passport-phone-nav-height: 58px;
        --passport-phone-canvas-height: 25vh;
        --passport-phone-globe-top: calc(var(--site-header-height, 56px) + var(--passport-phone-nav-height));
    }

    body.product-passport-page main.site-main {
        margin-top: 0;
        padding-top: calc(var(--passport-phone-globe-top) + var(--passport-phone-canvas-height));
    }

    .parts-page.product-passport .passport-onepager .parts-container {
        margin-top: var(--passport-phone-canvas-height);
    }

    .parts-page.product-passport .passport-globe-stage,
    .parts-page.product-passport .passport-globe-stage.is-portrait-expanded,
    .parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-map,
    .parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-both {
        position: fixed;
        top: var(--passport-phone-globe-top, 70px);
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        max-width: none;
        height: var(--passport-phone-canvas-height, 25vh);
        min-height: 0;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none !important;
        z-index: 1200;
        background: var(--ps-ground, var(--pp-bg, #f4f1ea));
    }

    .parts-page.product-passport .passport-globe-stage .product-supply-viz,
    .parts-page.product-passport .passport-globe-stage .viz-panel--globe {
        background: var(--ps-ground, var(--pp-bg, #f4f1ea));
        clip-path: none;
    }

    .parts-page.product-passport .passport-mobile-globe-toggle,
    .parts-page.product-passport .passport-mobile-globe-backdrop {
        display: none !important;
    }

    .parts-page.product-passport .passport-globe-stage .passport-stage-swap,
    .parts-page.product-passport .passport-globe-stage.passport-globe-free.is-stage-both .passport-stage-swap {
        display: inline-flex !important;
        position: absolute;
        top: auto;
        left: auto;
        right: 10px;
        bottom: 10px;
        transform: none;
        z-index: 8;
    }

    .parts-page.product-passport .passport-globe-stage .product-passport-globe-canvas {
        pointer-events: auto !important;
        touch-action: none;
        cursor: grab;
    }

    body.product-passport-page > .passport-mobile-nav {
        display: block;
        position: fixed;
        top: var(--site-header-height, 56px);
        left: 0;
        right: 0;
        z-index: 1350;
        width: 100%;
        margin: 0;
        padding: 0;
        transform: none;
    }

    body.product-passport-page > .passport-mobile-nav .passport-mobile-nav__progress {
        position: relative;
        width: 100%;
        height: 3px;
        margin: 0;
        padding: 0;
        overflow: hidden;
        background: rgba(148, 163, 184, 0.18);
    }

    body.product-passport-page > .passport-mobile-nav .passport-mobile-nav__progress span {
        display: block;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        transform-origin: left center;
    }

    body.product-passport-page > .passport-mobile-nav .passport-mobile-nav__items {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        margin: 0;
        padding: 8px max(12px, env(safe-area-inset-left)) 9px;
        scroll-padding-inline: 12px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    body.product-passport-page > .passport-mobile-nav .passport-mobile-nav__items::-webkit-scrollbar {
        display: none;
    }

    body.product-passport-page > .passport-mobile-nav .passport-mobile-nav__items a {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        margin: 0;
        padding: 8px 12px;
        border-style: solid;
        border-width: 1px;
        border-color: rgba(148, 163, 184, 0.2);
        border-radius: 999px;
        background: transparent;
        color: rgba(226, 232, 240, 0.78);
        font-family: var(--pp-font-d, "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif);
        font-size: 0.78rem;
        font-weight: 600;
        line-height: 1.1;
        text-decoration: none;
        white-space: nowrap;
    }

    body.product-passport-page:not(.passport-style-1):not(.passport-style-2):not(.passport-style-3):not(.passport-style-4):not(.passport-style-5) > .passport-mobile-nav .passport-mobile-nav__items a.is-active {
        border-color: rgba(0, 212, 255, 0.55);
        background: rgba(0, 212, 255, 0.12);
        color: #7dd3fc;
    }

    body.passport-style-1 > .passport-mobile-nav .passport-mobile-nav__items a,
    body.passport-style-2 > .passport-mobile-nav .passport-mobile-nav__items a,
    body.passport-style-3 > .passport-mobile-nav .passport-mobile-nav__items a,
    body.passport-style-4 > .passport-mobile-nav .passport-mobile-nav__items a {
        border-color: var(--ps-line);
        background: transparent;
        color: var(--ps-ink);
    }

    body.passport-style-5 > .passport-mobile-nav .passport-mobile-nav__items a {
        border-color: #3a3d42;
        background: transparent;
        color: var(--ps-ink-dark);
    }

    body.passport-style-1 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
    body.passport-style-2 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
    body.passport-style-3 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
    body.passport-style-4 > .passport-mobile-nav .passport-mobile-nav__items a.is-active,
    body.passport-style-5 > .passport-mobile-nav .passport-mobile-nav__items a.is-active {
        border-color: var(--ps-accent);
        background: transparent;
        color: var(--ps-accent);
    }

    .parts-page.product-passport .passport-section,
    .parts-page.product-passport .passport-track__panel {
        scroll-margin-top: calc(var(--passport-phone-globe-top, 70px) + 25vh + 12px);
    }

    body.product-passport-page > footer {
        position: relative;
        z-index: 1600;
        background: #03060d;
    }

    .passport-display-drawer {
        display: flex;
        flex-direction: row-reverse;
        align-items: flex-start;
        position: fixed;
        top: var(--passport-phone-globe-top, 70px);
        right: 0;
        z-index: 1300;
        max-width: calc(100% - 8px);
        pointer-events: none;
    }

    .passport-display-drawer__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        writing-mode: vertical-rl;
        min-height: 92px;
        margin: 0;
        padding: 14px 8px;
        border: 0;
        border-radius: 10px 0 0 10px;
        background: #1c1a17;
        color: #f7f4ef;
        font-family: "DM Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        cursor: pointer;
        pointer-events: auto;
    }

    .passport-display-drawer__panel {
        display: none;
        flex-direction: column;
        gap: 8px;
        max-height: calc(75vh - 12px);
        overflow: auto;
        padding: 10px;
        border-radius: 12px 0 0 12px;
        background: rgba(255, 252, 247, 0.97);
        box-shadow: -10px 12px 32px rgba(15, 23, 42, 0.2);
        pointer-events: auto;
    }

    .passport-display-drawer.is-open .passport-display-drawer__panel {
        display: flex;
    }

    .passport-display-drawer .passport-style-switch {
        position: static;
        top: auto;
        right: auto;
        z-index: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .passport-display-drawer .passport-stage-mode {
        display: none !important;
    }

    body.passport-style-5 .passport-display-drawer__toggle {
        background: #9a7b4f;
        color: #16181c;
    }

    body.passport-style-5 .passport-display-drawer__panel {
        background: rgba(22, 24, 28, 0.96);
    }
}

/* Phone landscape: the opened globe panel takes the colorway's ground so the
   route timeline text stays readable. */
@media (orientation: landscape) and (max-height: 560px) {
    .parts-page.product-passport.passport-style-1 .passport-globe-stage.is-portrait-expanded,
    .parts-page.product-passport.passport-style-2 .passport-globe-stage.is-portrait-expanded,
    .parts-page.product-passport.passport-style-3 .passport-globe-stage.is-portrait-expanded,
    .parts-page.product-passport.passport-style-4 .passport-globe-stage.is-portrait-expanded {
        background: var(--ps-ground);
        border: 0;
        box-shadow: none;
    }

    .parts-page.product-passport.passport-style-1 .passport-globe-stage.is-portrait-expanded .product-supply-viz,
    .parts-page.product-passport.passport-style-2 .passport-globe-stage.is-portrait-expanded .product-supply-viz,
    .parts-page.product-passport.passport-style-3 .passport-globe-stage.is-portrait-expanded .product-supply-viz,
    .parts-page.product-passport.passport-style-4 .passport-globe-stage.is-portrait-expanded .product-supply-viz,
    .parts-page.product-passport.passport-style-1 .passport-globe-stage.is-portrait-expanded .viz-panel--globe,
    .parts-page.product-passport.passport-style-2 .passport-globe-stage.is-portrait-expanded .viz-panel--globe,
    .parts-page.product-passport.passport-style-3 .passport-globe-stage.is-portrait-expanded .viz-panel--globe,
    .parts-page.product-passport.passport-style-4 .passport-globe-stage.is-portrait-expanded .viz-panel--globe {
        background: var(--ps-ground);
    }

    .parts-page.product-passport.passport-style-1 .passport-globe-stage.is-portrait-expanded .passport-mobile-globe-toggle,
    .parts-page.product-passport.passport-style-2 .passport-globe-stage.is-portrait-expanded .passport-mobile-globe-toggle,
    .parts-page.product-passport.passport-style-3 .passport-globe-stage.is-portrait-expanded .passport-mobile-globe-toggle,
    .parts-page.product-passport.passport-style-4 .passport-globe-stage.is-portrait-expanded .passport-mobile-globe-toggle {
        background: var(--ps-ground);
        border-color: var(--ps-line);
        color: var(--ps-ink);
        backdrop-filter: none;
    }

    .parts-page.product-passport.passport-style-5 .passport-globe-stage.is-portrait-expanded {
        background: #16181c;
        border: 0;
        box-shadow: none;
    }

    .parts-page.product-passport.passport-style-5 .passport-globe-stage.is-portrait-expanded .product-supply-viz,
    .parts-page.product-passport.passport-style-5 .passport-globe-stage.is-portrait-expanded .viz-panel--globe {
        background: #16181c;
    }
}

/* Desktop example passport: one legend row. Stage is 25vw narrower than the previous 65vw slot. */
@media (min-width: 768px) and (min-height: 561px) {
    .parts-page.product-passport .passport-globe-stage.passport-globe-free {
        left: 55vw;
        right: 5vw;
        width: auto;
        top: calc(50% - 48px);
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend {
        max-height: none;
        overflow: hidden;
        padding: 8px 10px;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-route-scrubber {
        left: 0;
        right: 0;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-route-scrubber__track {
        margin: 0;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend__body {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 6px;
        max-height: none;
        overflow: hidden;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend__col,
    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend__col--modes {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 0 0 auto;
        gap: 2px;
        width: 100%;
        min-width: 0;
        border-left: 0;
        padding-left: 0;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend .cs-legend__group-title {
        display: block;
        margin: 0;
        white-space: nowrap;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend__col-items,
    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend__modes {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        gap: 0 8px;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend .cs-legend__item,
    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend__modes .product-map-legend__item {
        flex: 0 1 auto;
        min-width: 0;
        padding: 2px 0;
        gap: 6px;
    }

    .parts-page.product-passport .passport-globe-stage.passport-globe-free .passport-supply-legend .cs-legend__name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Same reduced stage on shorter and mid-size desktops. */
@media ((max-width: 1499px) or (max-height: 899px)) and (min-width: 768px) and (min-height: 561px) {
    .parts-page.product-passport .passport-globe-stage.passport-globe-free {
        left: 55vw;
        right: 5vw;
        width: auto;
    }
}

/* Phone landscape: the opened globe covers the page below the header, so the
   Style / Globe-Map buttons (z-index 2000 / 4000) stay underneath it. */
@media (orientation: landscape) and (max-height: 560px) {
    body.passport-portrait-globe-open .passport-display-drawer,
    body.passport-portrait-globe-open .passport-style-switch,
    body.passport-portrait-globe-open .passport-stage-mode {
        display: none !important;
        pointer-events: none;
    }
}
