.cs-river-first-filter { margin-top:0; }
.cs-river-prose { font-size:14px; line-height:1.8; overflow-wrap:anywhere; }
.cs-river-prose p { margin:12px 0; }
.cs-river-prose :is(ul,ol) { padding-left:22px; margin:14px 0; }
.cs-river-prose li { margin:7px 0; }
.cs-river-occupancy { display:grid; grid-template-columns:130px minmax(0,1fr) auto; gap:14px; align-items:end; padding:18px; margin:20px 0; background:#f2f7fa; border-radius:12px; }
.cs-river-occupancy label { display:grid; gap:7px; }
.cs-river-occupancy small { grid-column:1/-1; font-size:12px; line-height:1.6; color:#61798c; }
.cs-river-cabin-label { margin-top:16px!important; }
.cs-river-page .cs-cabin-previews button { flex-basis:112px; }
.cs-river-page .cs-cabin-previews span { white-space:normal; font-size:10px; line-height:1.3; }
.cs-river-suggestions { margin:10px 0; padding:10px; border:1px solid #d9e6ee; border-radius:8px; background:#f4f8fb; font-size:12px; line-height:1.6; }
.cs-river-suggestions button { display:block; width:100%; padding:8px 4px; border:0; background:transparent; color:#167783; text-align:left; cursor:pointer; }
.cs-river-error { position:relative; z-index:2; margin-bottom:35px; }
.cs-river-page .cs-gallery-main img[src$="placeholder.svg"] { object-fit:contain; }
.cs-river-prose .cs-cabin-resource { color:#007b8b; text-decoration:underline; text-underline-offset:3px; text-decoration-thickness:1px; }
.cs-river-prose .cs-cabin-resource:hover { color:#eb4c17; }
.cs-river-prose .cs-cabin-resource:focus-visible { outline:2px solid #007b8b; outline-offset:4px; border-radius:2px; }
.cs-cabin-resource-unavailable { color:#64788b; }
.cs-resource-dialog { box-sizing:border-box; width:min(1120px,calc(100% - 24px)); height:min(850px,94vh); height:min(850px,94dvh); max-height:94dvh; padding:16px; border:1px solid #d7e4eb; border-radius:14px; background:#fff; color:#12334f; overflow:hidden; }
.cs-resource-dialog[open] { display:flex; flex-direction:column; gap:12px; }
.cs-resource-dialog::backdrop { background:#0b233cc9; }
.cs-resource-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.cs-resource-toolbar h2 { margin:0; font-size:18px; line-height:1.4; }
.cs-resource-pdf-controls { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.cs-resource-pdf-controls[hidden],.cs-resource-error[hidden],.cs-resource-status[hidden] { display:none; }
.cs-resource-pdf-controls button { min-height:36px; border:1px solid #d2e0e8; border-radius:6px; padding:6px 12px; background:#f3f7fa; color:#12334f; cursor:pointer; }
.cs-resource-pdf-controls button:disabled { opacity:.4; cursor:default; }
.cs-resource-zoom { display:flex; gap:6px; margin-left:auto; }
.cs-resource-view { flex:1; min-height:0; background:#edf2f6; border-radius:8px; overflow:auto; overscroll-behavior:contain; }
.cs-resource-view iframe { display:block; width:100%; height:100%; min-height:100%; border:0; background:#fff; }
.cs-resource-view canvas { display:block; max-width:none; margin:0 auto; background:#fff; }
.cs-resource-status,.cs-resource-error { margin:0; font-size:13px; line-height:1.5; }
body.cs-resource-open { overflow:hidden; }
@media(max-width:767px) {
 .cs-resource-dialog { width:calc(100% - 12px); height:96vh; height:96dvh; max-height:96dvh; padding:10px; gap:8px; border-radius:10px; }
 .cs-resource-toolbar { gap:8px; }
 .cs-resource-toolbar h2 { font-size:15px; }
 .cs-resource-toolbar .cs-dialog-close { padding:8px 10px; font-size:12px; }
 .cs-resource-pdf-controls { font-size:12px; gap:6px; }
 .cs-resource-pdf-controls button { padding:6px 8px; }
}
@media(max-width:550px) {
 .cs-river-occupancy { grid-template-columns:minmax(0,1fr); padding:14px; gap:12px; }
 .cs-river-occupancy small { grid-column:1; }
}

.cs-prose-table { max-width:100%; overflow-x:auto; margin:16px 0; }
.cs-prose-table table { width:100%; border-collapse:collapse; font-size:13px; }
.cs-prose-table :is(th,td) { padding:10px 12px; border:1px solid #d9e6ee; vertical-align:top; text-align:left; }
.cs-prose-table th { background:#f2f7fa; font-weight:600; }
.cs-river-prose .cs-prose-image { display:inline-block; max-width:100%; max-height:280px; width:auto; height:auto; object-fit:contain; vertical-align:middle; }
.cs-api-service-item { margin:10px 0; }
.cs-river-prose .cs-api-features { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 16px; margin:14px 0; padding:0; list-style:none; }
.cs-api-features li { margin:0; padding:9px 12px; background:#f4f8fb; border-radius:7px; font-size:12px; line-height:1.6; }
.cs-api-feature-description { margin-top:5px; color:#61798c; }
.cs-cabin-description h4 { margin:20px 0 8px; font-size:14px; }
.cs-ship-services { margin:24px 0; }
.cs-ship-services summary { cursor:pointer; font-size:18px; font-weight:600; }
.cs-ship-services .cs-api-features { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cs-ship-specs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:24px 0; }
.cs-ship-specs div { padding:12px; border-bottom:1px solid #d9e6ee; }
.cs-ship-specs dt { color:#61798c; font-size:12px; }
.cs-ship-specs dd { margin:4px 0 0; font-size:18px; font-weight:600; }
.cs-cabin-extra-photos { display:flex; gap:6px; max-width:100%; overflow-x:auto; padding-top:6px; }
.cs-cabin-extra-photos button { flex:0 0 52px; padding:0; border:1px solid #d9e6ee; border-radius:5px; overflow:hidden; cursor:pointer; }
.cs-cabin-extra-photos img { display:block; width:52px; height:40px; object-fit:cover; }
.cs-cabin-extra-photos button:focus-visible { outline:2px solid #007b8b; outline-offset:2px; }
.cs-responsive-section>summary{list-style:none;cursor:pointer}
.cs-responsive-section.is-wide>summary{cursor:default;pointer-events:none}
.cs-responsive-section>summary::-webkit-details-marker{display:none}
.cs-responsive-section>summary :is(h2,h3){margin:0}
.cs-responsive-content{padding-top:16px}.cs-responsive-section+.cs-responsive-section{margin-top:26px}
@media(max-width:767px) {
 .cs-responsive-section>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;pointer-events:auto;min-height:44px}
 .cs-responsive-section>summary:after{content:'';width:9px;height:9px;flex:0 0 9px;border-right:2px solid #168a92;border-bottom:2px solid #168a92;transform:rotate(45deg);transition:transform .2s ease;margin:0 4px 5px 0}
 .cs-responsive-section[open]>summary:after{transform:rotate(225deg);margin-bottom:-4px}
 .cs-detail-section .cs-responsive-section>summary :is(h2,h3){font-size:19px;line-height:1.35}
 .cs-responsive-section+.cs-responsive-section{margin-top:12px;padding-top:12px;border-top:1px solid #dce7ec}
 .cs-river-prose .cs-api-features { grid-template-columns:minmax(0,1fr); }
 .cs-ship-specs { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
 .cs-prose-table :is(th,td) { min-width:100px; padding:8px; }
}
