/* 20260926.5: functional fixes only. Original theme owns existing layouts. */
.journey-studio-page [hidden], [data-stage-screen][hidden], [data-wizard-step][hidden],
#stage-edit-nav[hidden], #active-journey-card[hidden], .journey-search[hidden],
.journey-gallery-card[hidden] { display: none !important; }
.globe-ready .globe-fallback { display: none; }
.globe-fallback { display: none; }
.globe-unavailable .globe-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; z-index: 2; }
.globe-fallback img { width: min(56%, 320px); height: auto; }
.globe-unavailable .globe-stage, .globe-unavailable .mobile-globe-tooltip { display: none; }
.mobile-globe-tooltip[aria-hidden="true"], .active-journey-card[aria-hidden="true"] { visibility: hidden; }
.yuno-globe-marker { pointer-events: auto; border: 0; padding: 0; background: transparent; color: inherit; }
.yuno-globe-marker:focus-visible { outline: 2px solid currentColor; outline-offset: 8px; }
@media (min-width: 681px) { .globe-unavailable .globe-fallback { left: auto; right: 0; width: 55%; } }
@media (max-width: 1020px) {
 .site-header { z-index: 1100; }
 #mobile-menu-panel { z-index: 1090; overflow-y: auto; max-height: 100dvh; overscroll-behavior: contain; }
}
@media (prefers-reduced-motion: reduce) { .yuno-marker-aura, .yuno-marker-ring, .yuno-marker-core { animation: none !important; } }
/* Newly added controls reuse theme classes; these rules only arrange them. */
.stage-edit-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.stage-edit-nav button[aria-current="step"] { text-decoration: underline; text-underline-offset: 4px; }
.journey-search { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.journey-search label, .journey-search p { flex-basis: 100%; }
.journey-search input { min-width: 0; flex: 1; font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; padding: 12px; }
.journey-management { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.journey-management form { margin: 0; }
.journey-detail > .journey-management { margin-top: var(--yuno-header-height, 80px); }
.yuno-review-card label { display: block; }
.yuno-review-card textarea { width: 100%; font: inherit; color: inherit; background: transparent; }

/* .7: only the management controls added by the patches. Theme values from Studio. */
.dashboard-section-actions.yuno-account-tools { flex-wrap: wrap; margin-bottom: 24px; gap: 12px; }
.yuno-account-tools a.dashboard-home-link,
.journey-management a.text-button,
.journey-management button.outline-button,
.yuno-review-card button.yuno-review-action {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 10px 16px;
    margin: 0;
    border: 1px solid rgba(220,184,80,.3);
    border-radius: 3px;
    background: rgba(211,174,72,.055);
    color: #e8ce7c;
    font-family: var(--yuno-sans, sans-serif);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}
.yuno-account-tools a.dashboard-home-link:hover,
.journey-management a.text-button:hover,
.journey-management button.outline-button:hover,
.yuno-review-card button.yuno-review-action:hover { border-color: #e8ce7c; filter: brightness(1.08); }
.yuno-account-tools a:focus-visible, .journey-management a:focus-visible,
.journey-management button:focus-visible, .yuno-review-action:focus-visible { outline: 2px solid #e8ce7c; outline-offset: 3px; }
.yuno-review-card button.yuno-review-action[value="approve"] {
    background: linear-gradient(135deg, #e2c15c, #b98c25);
    border-color: rgba(255,226,148,.54);
    color: #120f08;
}
.yuno-review-form { display: grid; gap: 16px; }
.yuno-review-form label { margin: 0; }
.yuno-review-form input[type="checkbox"] { accent-color: #d8ba60; }
.yuno-review-form textarea { display: block; margin-top: 8px; padding: 12px; border: 1px solid rgba(220,184,80,.3); border-radius: 3px; }
@media (max-width: 680px) {
 .journey-management > form { max-width: 100%; }
 .journey-management > form button { width: 100%; }
}

/* Stage media: additive thumbnails, original cards and theme preserved. */
.studio-stage-thumbs { display:flex; flex-wrap:wrap; gap:8px; padding:0 16px; }
.studio-stage-thumbs:not(:empty) { margin:12px 0; }
.studio-stage-thumb { position:relative; width:72px; height:64px; padding:0; overflow:hidden; border:1px solid rgba(220,184,80,.3); border-radius:3px; background:transparent; cursor:pointer; }
.studio-stage-thumb img, .studio-stage-thumb video { width:100%; height:100%; object-fit:cover; }
.studio-stage-thumb span { position:absolute; inset:0; display:grid; place-items:center; color:#e8ce7c; }
.studio-stage-preview { max-width:90vw; max-height:90dvh; border:1px solid rgba(220,184,80,.3); border-radius:3px; background:#080705; padding:16px; }
.studio-stage-preview::backdrop { background:rgba(0,0,0,.85); }
.studio-stage-preview img, .studio-stage-preview video { display:block; max-width:80vw; max-height:72dvh; margin-top:12px; object-fit:contain; }
.journey-stage-gallery { display:flex; flex-wrap:wrap; gap:8px; }
.journey-stage-gallery .journey-stage-gallery-item { width:96px; margin:0; }
.journey-stage-gallery .journey-media-open { display:block; width:96px; height:72px; padding:0; border:1px solid rgba(220,184,80,.3); background:transparent; border-radius:3px; overflow:hidden; cursor:pointer; }
.journey-stage-gallery .journey-media-open img { width:100%; height:100%; object-fit:cover; }
.studio-stage-thumb:focus-visible { outline:2px solid #e8ce7c; outline-offset:3px; }
