/* October 30: bounded lists, readable validation and compact public controls. */
.application-form .form-actions{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:8px}
.application-form .form-actions>p{max-width:560px;text-align:justify;text-align-last:center;margin:0}
.application-form>.form-status:empty{display:none}
.application-form>.check-label span{text-align:justify}
.application-form.validation-attempted :is(input,select,textarea):invalid{border-color:#ac3734;outline:2px solid #ac373433;outline-offset:2px}
.application-form.validation-attempted .binary-choice:has(input:invalid),.application-form.validation-attempted .check-label:has(input:invalid){background:#ac37340c;outline:2px solid #ac373433;border-radius:6px}
.application-form.validation-attempted .binary-choice:has(input:checked){outline:none;background:transparent}
.site-footer .footer-city{display:block;width:100%;max-width:100%;margin:0;font-family:Montserrat,Arial,sans-serif;font-size:10px;line-height:1.35;font-weight:400;letter-spacing:.035em;text-align:center}
.news-editor-list{align-self:start;min-width:0}
.news-editor-tools{display:flex;gap:6px;padding:8px;border-bottom:1px solid var(--line)}
.news-editor-tools .icon-button{width:36px;height:36px;min-height:36px;padding:8px;border:1px solid var(--line);border-radius:6px}
.news-editor-tools [aria-pressed=true]{background:var(--paper,#f4eee4);box-shadow:inset 0 0 0 1px var(--ink,#355779)}
.news-editor-scroll{max-height:660px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.news-editor-scroll .block-row{min-height:44px;box-sizing:border-box}
.news-editor-scroll .block-row>button{height:44px;min-height:44px;padding:4px 10px;gap:1px;overflow:hidden}
.news-editor-scroll .block-row time{font-size:10px;line-height:13px}
.news-editor-scroll .block-row span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:18px}
.cms-photo-drop>.cms-photo-grid{max-height:65dvh;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px}
.news-column .news-more{display:flex;align-items:center;justify-content:center;width:max-content;max-width:100%;min-height:34px;padding:7px 14px;font-size:12px;margin:14px auto 0}
.home-news .news-column{width:100%;max-width:946px;margin-inline:auto}
.home-news .news-entry{min-width:0}
.rte-collage-order{display:flex;align-items:center;gap:8px;flex-wrap:wrap;flex-basis:100%;font-size:12px}
.rte-collage-order[hidden]{display:none}
.rte-body .camp-photo-collage figure[draggable=true]{cursor:grab}
.rte-body .camp-photo-collage figure.rte-collage-dragging{opacity:.55}
.rte-body .camp-photo-collage figure.rte-collage-drop{outline:3px solid var(--deep-blue);outline-offset:-3px}
.picker-photo-card{position:relative;min-width:0}
.picker-photo-card>[data-picker-select]{position:relative;width:100%;height:100%;padding:5px}
.picker-photo-card .picker-preview-button{position:absolute;right:10px;bottom:10px;width:36px;height:36px;min-height:36px;padding:7px;background:var(--cream);border:1px solid var(--line);border-radius:50%}
.picker-check{display:flex;position:absolute;top:8px;right:8px;width:26px;height:26px;border:2px solid white;border-radius:50%;align-items:center;justify-content:center;background:#ffffffb3;color:white;font-size:0;font-weight:700;box-shadow:0 1px 5px #0005}
[data-picker-select][aria-pressed=true]>.picker-check{background:#237954;font-size:16px}
.cms-upload-live [data-picker-select]{position:relative;padding:0;border:0;background:transparent;width:100%;border-radius:8px}
.cms-upload-live [aria-pressed=true]{outline:3px solid var(--deep-blue)}
#cms-media-dialog .picker-tools{position:sticky;top:0;z-index:3;padding-block:10px;background:var(--cream,#fffdf3)}
.camp-inline-carousel{min-width:0;max-width:100%;margin-block:18px}
.camp-inline-carousel>.carousel-controls{justify-content:flex-end;gap:8px;margin-bottom:10px}
.camp-inline-carousel>.carousel-controls>.icon-button{width:44px;height:44px;border:1px solid var(--line);border-radius:50%}
.camp-inline-carousel .camp-photo-strip{gap:18px;padding-bottom:0;scrollbar-width:none}
.camp-inline-carousel .camp-photo-strip::-webkit-scrollbar{display:none}
.camp-inline-carousel .photo-tile.camp-photo{width:auto;min-width:0;max-width:none;margin:0;height:auto}
.prose .camp-inline-carousel .photo-tile.camp-photo>img{height:230px;max-height:none;margin:0;border-radius:0;object-fit:cover}
.camp-inline-carousel figcaption{padding:6px 8px}
.camp-photo-collage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;min-width:0;max-width:100%;width:100%;margin-block:18px;border-radius:12px;overflow:hidden}
.camp-photo-collage.camp-collage-ready{display:block}
.camp-photo-collage{margin-inline:auto}
.camp-photo-collage.camp-photo-size-full{width:100%}
.camp-photo-collage.camp-photo-size-large{width:85%}
.camp-photo-collage.camp-photo-size-medium{width:65%}
.camp-photo-collage.camp-photo-size-small{width:45%}
.camp-photo-collage.camp-photo-size-tiny{width:28%}
.camp-collage-row{display:flex;gap:4px;min-width:0;margin-top:4px}
.camp-collage-row:first-child{margin-top:0}
.camp-photo-collage figure.camp-photo{flex:1 1 0%;width:auto;min-width:0;max-width:none;margin:0;border-radius:0;overflow:hidden}
.camp-photo-collage img{display:block;width:100%;height:auto;max-height:none;aspect-ratio:1;object-fit:cover;margin:0;border-radius:0}
.camp-photo-collage figcaption{padding:4px 6px;font-size:12px;overflow-wrap:anywhere}
.rte-body .camp-photo-collage.camp-collage-edit-ready{display:grid;column-gap:0;row-gap:4px}
.rte-body .camp-collage-edit-ready>figure.camp-photo{position:relative;height:100%;align-self:stretch}
.rte-body .camp-collage-edit-ready>figure.camp-photo>img{width:100%;height:100%;max-height:none;aspect-ratio:auto;margin:0;object-fit:cover}
.rte-body .camp-collage-edit-ready>figure>figcaption{position:absolute;inset:auto 0 0;background:#fffdf3e8}
.camp-photo-collage figure[role=button],.camp-inline-carousel figure[role=button]{cursor:pointer}
.camp-photo-collage figure:focus-visible,.camp-inline-carousel figure:focus-visible{outline:3px solid var(--deep-blue);outline-offset:-3px}
@media(max-width:650px){
 .camp-inline-carousel .photo-tile.camp-photo{flex-basis:83%}
 .prose .camp-inline-carousel .photo-tile.camp-photo>img{height:220px}
 .camp-inline-carousel>.carousel-controls>span{display:none}
}
/* Same wrap and painted-edge bleed as the subscription box, not a smaller box
   whose extra-wide decoration only approximates its neighbours. */
.section.home-news[data-decor]{--decor-bleed:6px}
.editor #editor-status{position:fixed;right:88px;top:var(--editor-dock-top,calc(50dvh - 130px));z-index:31;max-width:min(310px,calc(100vw - 115px));padding:10px 14px;margin:0;border:1px solid var(--line);border-radius:8px;background:var(--paper,#fffdf7);box-shadow:0 5px 20px #0002;font-size:12px;line-height:1.5}
.editor #editor-status:not([data-visible]):not(.error){width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%)}
.cms-upload-live{display:grid;grid-template-columns:repeat(auto-fill,minmax(85px,1fr));gap:8px;max-height:240px;overflow:auto;margin-block:12px}
.cms-upload-live img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px}
.cms-upload-drop{border:2px dashed var(--line);border-radius:10px;padding:24px;text-align:center;margin-block:14px}
.cms-upload-live:empty{display:none}
.cms-upload-live figure{min-width:0;margin:0}
.cms-upload-live figcaption{font-size:10px;line-height:1.25;margin-top:3px}
.cms-upload-live figcaption span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cms-upload-live figcaption small{display:block;font-size:10px;line-height:1.25;color:var(--muted)}
.cms-upload-errors{font-size:12px;max-height:160px;overflow:auto;margin-block:8px}
.cms-upload-errors ul{display:block;list-style:disc;padding-inline-start:20px;margin-block:8px;white-space:normal}
.cms-upload-errors li{display:list-item;list-style:disc;margin-block:7px;line-height:1.45;overflow-wrap:anywhere}
.cms-choose-existing{display:none}
#cms-media-dialog.upload-only .cms-picker-section{display:none}
#cms-media-dialog.upload-only .cms-upload-drop{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center}
#cms-media-dialog.upload-only .cms-choose-existing{display:inline-flex;margin-top:12px}
#cms-media-dialog.picker-only :is(.cms-upload-drop,.cms-upload-progress,.cms-upload-live,#cms-upload-status){display:none}
@media(max-width:650px){
 .section.home-news[data-decor]{--decor-bleed:14px}
}
@media(max-width:600px){
 .section.home-news[data-decor]:not([data-decor=neutral]){padding-inline:14px}
 .news-editor-scroll{max-height:220px}
 .application-form .form-actions{gap:10px}
 .application-form .form-actions>p{text-align-last:auto;font-size:12px}
 .cms-photo-drop>.cms-photo-grid{max-height:55dvh}
 .editor #editor-status{right:70px;top:var(--editor-dock-top,calc(50dvh - 110px))}
}
@media(max-width:900px),(max-height:600px){
 .editor #editor-status{left:50%;right:auto;top:auto;bottom:calc(86px + env(safe-area-inset-bottom,0px) + var(--privacy-notice-height,0px));transform:translateX(-50%);max-width:min(360px,calc(100vw - 36px))}
}
/* Album controls, stable upload status and decoded-image transitions. */
.cms-album-card{padding:12px 12px 14px;background:#fffefa;border:1px solid #ddd8cd;border-radius:10px;box-shadow:0 3px 12px #54472a09}
.cms-album-card>img{width:100%;height:auto;aspect-ratio:1.8;object-fit:cover;border-radius:5px;margin:0 0 11px}
.cms-album-card>h3{font-size:16px;line-height:1.35;font-weight:500;margin:0 0 5px}
.cms-album-card>p{font-size:11.5px;line-height:1.5;color:#635f56;margin:0}
.cms-cover-preview.desktop{aspect-ratio:1.8}
.cms-cover-preview.mobile{aspect-ratio:1.4}
@media(max-width:650px){.cms-album-card>img{aspect-ratio:1.4}.cms-album-card>h3{font-size:15px}.cms-album-card>p{font-size:11px}}
.camp-paint-frame{display:none}
.camp-paint-ornaments{position:absolute;inset:0;z-index:0;pointer-events:none}
.camp-paint-ornaments img{position:absolute;display:block;max-width:none;max-height:none;margin:0;border:0;border-radius:0;box-shadow:none;pointer-events:none}
.camp-paint-diagnostic{position:fixed;z-index:20000;left:8px;right:8px;bottom:8px;max-height:42dvh;overflow:auto;padding:10px;background:#fffefa;color:#242936;border:1px solid #747b8b;border-radius:8px;font:12px/1.4 monospace}
.camp-paint-diagnostic button{font:12px/1.4 sans-serif;margin:0 6px 6px 0;padding:7px}
.camp-paint-diagnostic pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
@media(max-width:650px){
 [data-decor]:not([data-decor="neutral"]).camp-static-paint::before{display:none}
 [data-decor]:not([data-decor="neutral"])>.camp-paint-frame{display:grid;position:absolute;inset:-8px -14px;grid-template-columns:24px minmax(0,1fr) 24px;grid-template-rows:var(--decor-paint-height) minmax(0,1fr) var(--decor-paint-height);pointer-events:none;z-index:0}
 .wrap[data-decor]>.camp-paint-frame{left:calc(-1 * var(--decor-bleed));right:calc(-1 * var(--decor-bleed))}
 [data-decor]>.camp-paint-frame>span{display:block;min-width:0;min-height:0;background-repeat:no-repeat;background-size:100% 100%;pointer-events:none}
 .camp-paint-frame>span:nth-child(1){background-image:var(--camp-edge-1)}
 .camp-paint-frame>span:nth-child(2){background-image:var(--camp-edge-2)}
 .camp-paint-frame>span:nth-child(3){background-image:var(--camp-edge-3)}
 .camp-paint-frame>span:nth-child(4){background-image:var(--camp-edge-4)}
 .camp-paint-frame>span:nth-child(5){background:var(--decor-paper)}
 .camp-paint-frame>span:nth-child(6){background-image:var(--camp-edge-6)}
 .camp-paint-frame>span:nth-child(7){background-image:var(--camp-edge-7)}
 .camp-paint-frame>span:nth-child(8){background-image:var(--camp-edge-8)}
 .camp-paint-frame>span:nth-child(9){background-image:var(--camp-edge-9)}
 .camp-native-paint::before{background-image:none;border-image-source:none}
 /* Retain two empty layers so computed positions/sizes still describe both ornaments. */
 [data-decor].camp-native-paint::after{background-image:none,none}
 .camp-native-paint>.camp-paint-frame>span{background-image:none}
 .camp-native-paint>.camp-paint-frame img{display:block;width:100%;height:100%;max-width:none;object-fit:fill;border:0;border-radius:0;box-shadow:none;pointer-events:none}
 .camp-photo-collage[class*="camp-photo-size-"]{width:100%;max-width:100%}
 /* Only standalone photographs: gallery cells and video sizes stay independent. */
 .prose figure.camp-photo:has(>img):not(.camp-photo-collage figure,.camp-photo-strip figure,.photo-track figure){width:100%;max-width:100%}
}
/* The narrow photo-tile 240px rule must not overflow a 170px album cell. */
.gallery-grid .photo-tile img{width:100%;height:100%;object-fit:cover;object-position:50% 50%}
@media(max-width:650px){
 #photo-dialog{background:#141820}
 #photo-dialog::backdrop{background:#141820}
 #photo-dialog #large-photo,#photo-dialog .photo-ghost,#photo-dialog .photo-swipe-neighbor{grid-column:1}
}
.camp-album-actions{display:flex;align-items:center;gap:8px;margin-top:18px}
.camp-album-actions .icon-button{width:42px;height:42px;flex-shrink:0}
.camp-album-actions .icon-button:not(:disabled){background:#e8f3fb;color:var(--deep-blue)}
.camp-album-actions .icon-button:not(:disabled):hover{background:var(--line)}
.camp-album-actions .icon-button:disabled{opacity:.4;cursor:not-allowed}
.camp-select-all{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.camp-select-all input,.camp-photo-selection input{width:20px;height:20px;min-height:20px;min-width:20px;padding:0;margin:0;accent-color:var(--deep-blue)}
.camp-select-all span{margin-left:auto;color:var(--muted)}
.cms-photo-edit{position:relative}
.cms-photo-edit .camp-photo-selection{position:absolute;right:6px;top:6px;z-index:2;display:flex;padding:4px;background:var(--paper);border-radius:5px;box-shadow:0 1px 5px #0003}
.cms-photo-edit:has([data-album-select]:checked){outline:2px solid var(--deep-blue);outline-offset:2px}
.camp-media-bulk [data-bulk-files]{max-height:44dvh;overflow:auto;overflow-wrap:anywhere}
.camp-media-bulk{max-height:calc(100dvh - 32px);overflow:auto}
.camp-media-bulk .camp-route-tools{flex-wrap:wrap}
.camp-media-bulk [data-bulk-confirm]{white-space:normal;text-align:center;max-width:100%;line-height:1.4}
.camp-media-bulk details{padding-block:8px;border-bottom:1px solid var(--line)}
.camp-media-bulk summary{cursor:pointer;font-size:13px}
.camp-media-bulk ul{font-size:13px}
#cms-upload-status{font-size:12px;line-height:1.4;min-height:3.2em;max-width:100%;overflow-wrap:anywhere}
.cms-upload-step{display:flex;gap:6px;min-width:0}
.cms-upload-meta{display:block}
.cms-upload-file{flex:0 1 auto;max-width:40%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cms-upload-message{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.editor-tabs{gap:4px}
.editor-tabs [role=tab],.editor-tabs button{font-size:12px;padding:9px 11px;transition:background-color .18s,color .18s}
.editor-tabs [role=tab]:hover,.editor-tabs button:hover{background:#e8f3fb}
.photo-stage{position:relative}
.photo-stage{overflow:hidden;touch-action:pan-y pinch-zoom}
.photo-stage>.photo-prev,.photo-stage>.photo-next{position:relative;z-index:2}
.photo-stage .photo-swipe-neighbor{grid-column:2;grid-row:1;pointer-events:none;max-width:100%;max-height:100%;object-fit:contain;justify-self:center}
.photo-stage #large-photo,.photo-stage .photo-ghost{grid-column:2;grid-row:1}
.photo-stage .photo-prev{grid-column:1;grid-row:1}
.photo-stage .photo-next{grid-column:3;grid-row:1}
.photo-stage .photo-ghost{pointer-events:none;max-height:100%;object-fit:contain;justify-self:center}
.photo-stage [data-photo-load-status]{position:absolute;inset:auto 12px 12px;text-align:center;pointer-events:none;background:#111b;color:#fff;padding:8px;border-radius:6px;font-size:13px}
.photo-dialog[data-zoomed=true] .photo-stage{touch-action:pan-x pan-y}
@media(max-width:650px){.editor-tabs [role=tab],.editor-tabs button{font-size:12px;padding:8px 9px}}
.carousel-timing-settings{min-width:0;margin:.75rem 0;border:1px solid #d6dbd5;border-radius:10px;padding:.65rem .8rem}
.carousel-timing-settings>summary{cursor:pointer;font-size:.82rem;font-weight:600}
.carousel-timing-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.65rem}
.carousel-timing-fields label{min-width:0;font-size:.78rem}
.carousel-timing-fields input{width:100%;min-width:0}
.carousel-timing-settings .muted{font-size:.74rem;line-height:1.5;margin:.5rem 0 0}
.rte-media-inspector .rte-carousel-timing{grid-column:1/-1;flex:1 1 100%}
@media(max-width:480px){.carousel-timing-fields{grid-template-columns:1fr}}
