/* Scoped MSC upgrade. Existing shell, AIDA and booking components remain untouched. */
#msc-world-cabin-finder .wa-advanced {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
#msc-world-cabin-finder .wa-advanced label,#msc-world-cabin-finder .wa-guest-mode{display:grid;gap:6px;font-size:.82rem;font-weight:750;color:var(--navy,#07314d)}
#msc-world-cabin-finder .wa-advanced select,#msc-world-cabin-finder .wa-guest-mode select{width:100%;max-width:100%;min-height:44px;padding:8px 11px;border:1px solid #bdced9;border-radius:10px;background:#fff;color:#173e55;font:inherit}
#msc-world-cabin-finder .wa-guest-mode{max-width:330px;margin-top:12px}
#msc-world-cabin-finder .wa-selected-filters{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}
#msc-world-cabin-finder .wa-selected-filters button{background:#e8f1f5;color:#0e4558;border:1px solid #c1d5df;border-radius:20px;cursor:pointer;padding:8px 12px;font-size:.8rem}
#msc-world-cabin-finder .wa-upgrade-source{margin:18px 0 0;padding:15px 17px;border:1px solid #c8ddd9;background:#f1f8f7;border-radius:13px;color:#173f49;font-size:.9rem;line-height:1.5}
#msc-world-cabin-finder .wa-upgrade-source p{margin:0 0 8px}
#msc-world-cabin-finder .wa-upgrade-source details{margin-top:9px}
#msc-world-cabin-finder .wa-upgrade-source summary{cursor:pointer;font-weight:700}
#msc-world-cabin-finder .wa-source-warning{border-left:3px solid #b08128;padding:8px 12px;margin:12px 0;background:#fff8e7;color:#55461e}
#msc-world-cabin-finder .wa-mini-action,.ccdp button{background:#fff;border:1px solid #b8cbd4;color:#123e51;border-radius:9px;padding:9px 13px;min-height:42px;cursor:pointer;font:inherit;font-size:.83rem;font-weight:750;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:5px}
#msc-world-cabin-finder .wa-mini-action:hover,.ccdp button:hover{border-color:#14747a;background:#f1f8f7}
#msc-world-cabin-finder .wa-mini-action.is-saved{border-color:#a77925;background:#fff5dc;color:#654818}
#msc-world-cabin-finder .wa-result-card{border:1px solid #ccdbe2;border-radius:15px;background:#fff;display:flex;flex-direction:column;overflow:hidden;min-width:0;transition:box-shadow .2s}
#msc-world-cabin-finder .wa-result-card:hover{border-color:#347a82;box-shadow:0 6px 18px #15475b12}
#msc-world-cabin-finder .wa-result-main{display:block;width:100%;height:100%;flex:1;border:0;text-align:left;padding:17px;background:none;cursor:pointer;color:var(--ink,#183c50);font:inherit}
#msc-world-cabin-finder .wa-result-main strong{display:block;font-size:1.03rem;color:#0b3750;margin-bottom:7px}
#msc-world-cabin-finder .wa-card-category{font-size:.9rem;font-weight:650;display:block;line-height:1.4;min-height:2.8em}
#msc-world-cabin-finder .wa-card-meta{font-size:.82rem;color:#476274;display:block;margin-top:8px;line-height:1.5}
#msc-world-cabin-finder .wa-card-occupancy{font-weight:800;display:block;margin:10px 0 6px;color:#12646a;font-size:.94rem}
#msc-world-cabin-finder .wa-card-badges{display:flex;gap:5px;flex-wrap:wrap;margin:8px 0}
#msc-world-cabin-finder .wa-card-badges span{padding:4px 7px;border-radius:5px;background:#eef4f6;color:#294957;font-size:.72rem;line-height:1.3}
#msc-world-cabin-finder .wa-card-note{display:block;font-size:.78rem;color:#586976;line-height:1.5;margin-top:8px}
#msc-world-cabin-finder .wa-card-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:7px;border-top:1px solid #e0e9ee;padding:11px 13px}
#msc-world-cabin-finder .wa-card-actions .wa-mini-action{min-height:38px;font-size:.77rem;padding:7px 9px}
#msc-world-cabin-finder .wa-profile-actions{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0}
#msc-world-cabin-finder .wa-occupancy-source{display:block;margin-top:6px;font-size:.75rem;color:#536b79;font-weight:500;line-height:1.5}
#msc-world-cabin-finder .wa-environment{margin:22px 0;border:1px solid #d1e0e7;border-radius:16px;padding:20px;background:#f7fafb}
#msc-world-cabin-finder .wa-environment h4{margin:0 0 14px;color:#0b3750;font-size:1.08rem}
#msc-world-cabin-finder .wa-environment-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
#msc-world-cabin-finder .wa-environment-grid article{background:#fff;border:1px solid #d5e2e7;border-radius:12px;padding:15px}
#msc-world-cabin-finder .wa-environment p{font-size:.88rem;line-height:1.6;margin:7px 0 12px}
#msc-world-cabin-finder .wa-environment .wa-evidence{font-size:.75rem;color:#516d79;margin:9px 0 0}
#msc-world-cabin-finder .wa-plan-block{margin:24px 0;border:1px solid #c6dce4;border-radius:18px;padding:20px;background:linear-gradient(130deg,#f4f9fa,#fff)}
#msc-world-cabin-finder .wa-plan-block>h3{font-size:1.25rem;color:#07364d;margin:0 0 8px}
#msc-world-cabin-finder .wa-plan-block>p{font-size:.9rem;line-height:1.5;margin:0 0 14px;color:#4a6474}
#msc-world-cabin-finder .wa-comparison-tray{position:sticky;bottom:12px;z-index:35;padding:15px 18px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-top:22px;border:1px solid #c7ad77;background:#fffaf0;border-radius:15px;box-shadow:0 8px 26px #04233622;color:#153e52}
#msc-world-cabin-finder .wa-comparison-tray[hidden]{display:none}
#msc-world-cabin-finder .wa-comparison-tray p{font-size:.8rem;margin:3px 0}
#msc-world-cabin-finder .wa-comparison-items{display:flex;gap:7px;flex-wrap:wrap}
#msc-world-cabin-finder .wa-comparison-go{background:#123e51;color:#fff;padding:11px 17px;border-radius:9px;font-size:.86rem;font-weight:800;text-decoration:none}
#msc-world-cabin-finder .wa-comparison-go[aria-disabled=true]{opacity:.5;pointer-events:none}
#msc-world-cabin-finder .wa-compare-feedback{font-size:.85rem;color:#695025;min-height:1.5em;margin:8px 0}
#msc-world-cabin-finder button:focus-visible,#msc-world-cabin-finder a:focus-visible,.ccdp button:focus-visible,.ccdp select:focus-visible{outline:3px solid #187e91;outline-offset:3px}
.ccdp{color:#153e52;text-align:left;width:100%;min-width:0;font-family:inherit}
.ccdp-title{font-size:1rem;margin:0 0 12px;line-height:1.4}
.ccdp-toolbar{display:flex;gap:10px;align-items:end;justify-content:space-between;flex-wrap:wrap}
.ccdp-toolbar label{display:grid;gap:5px;font-size:.82rem;font-weight:750;min-width:190px;max-width:100%}
.ccdp select{min-height:43px;max-width:100%;border:1px solid #b8cbd4;border-radius:9px;background:#fff;color:#173e55;font:inherit;font-size:.87rem;padding:9px 12px}
.ccdp-adjacent,.ccdp-zoom{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.ccdp-zoom{margin:13px 0 9px}.ccdp-zoom output{font-size:.8rem;min-width:40px;text-align:center}
.ccdp button:disabled{opacity:.45;cursor:not-allowed}
.ccdp-viewport{height:530px;max-height:72vh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;border:1px solid #cad8df;border-radius:12px;background:#e9eff2;position:relative;min-width:0;scroll-behavior:auto}
.ccdp-viewport:focus-visible{outline:3px solid #19778a;outline-offset:2px}
.ccdp-canvas{position:relative;min-width:0;max-width:none;margin:12px auto;background:white;box-shadow:0 2px 12px #133e5520}
.ccdp-canvas svg{display:block;width:100%;height:100%;max-width:none}
.ccdp-hit{fill:transparent;stroke:transparent;stroke-width:2;vector-effect:non-scaling-stroke;cursor:pointer;pointer-events:all}
.ccdp-hit:hover,.ccdp-hit:focus{fill:#e0b34750;stroke:#ac7c16;outline:none}
.ccdp-hit.is-selected{fill:#efc55250;stroke:#a76600;stroke-width:3}
.ccdp-marker{fill:none;stroke:#c06d00;stroke-width:3;vector-effect:non-scaling-stroke;pointer-events:none;stroke-dasharray:7 4}
.ccdp-status{font-size:.83rem;line-height:1.5;min-height:1.4em;margin:9px 0;color:#345868}
.ccdp-source,.ccdp-note{font-size:.75rem;line-height:1.6;margin:11px 0;color:#516975}
.ccdp a{color:#096b79;font-weight:700;text-decoration:underline}
.ccdp-legend{margin-top:13px;border-top:1px solid #cfdee4;padding-top:13px}
.ccdp-legend summary{cursor:pointer;color:#124153;font-size:.85rem;font-weight:750}
.ccdp-legend img{display:block;width:100%;max-width:900px;height:auto;margin:12px auto}
.ccdp-dialog{width:min(1120px,calc(100vw - 32px));max-width:calc(100vw - 16px);max-height:94vh;padding:23px;border:1px solid #ccdae3;border-radius:18px;background:#fff;color:#173e55;overflow:auto}
.ccdp-dialog::backdrop{background:#05243ad4}
.ccdp-dialog .ccdp-viewport{height:66vh;max-height:66vh}
.ccdp-close{display:block;margin:0 0 18px auto;border:1px solid #b7cbd8;border-radius:8px;padding:10px 15px;background:#113f54;color:#fff;cursor:pointer;font-weight:700}
@media(max-width:760px){
 #msc-world-cabin-finder .wa-advanced{grid-template-columns:1fr}
 #msc-world-cabin-finder .wa-environment-grid{grid-template-columns:1fr}
 #msc-world-cabin-finder .wa-plan-block{padding:14px 10px;margin-left:-4px;margin-right:-4px}
 #msc-world-cabin-finder .wa-comparison-tray{bottom:6px;padding:11px;gap:9px}
 #msc-world-cabin-finder .wa-comparison-items{width:100%}
 #msc-world-cabin-finder .wa-comparison-tray>div:first-child p{display:none}
 .ccdp-toolbar{align-items:stretch}.ccdp-toolbar label{width:100%}
 .ccdp-viewport{height:480px;max-height:67vh}.ccdp-zoom{gap:5px}.ccdp button{padding:8px 10px;font-size:.76rem;min-height:42px}
 .ccdp-dialog{padding:14px 10px}.ccdp-dialog .ccdp-viewport{height:58vh}
}
@media(prefers-reduced-motion:reduce){#msc-world-cabin-finder *{scroll-behavior:auto!important;transition:none!important}}
