/* Compact site discovery and profiles, preserving the HeliCircle palette. */
:root{--blue:#356b8c;--soft-blue:#edf4f8}
button:disabled{cursor:not-allowed}
input,select,textarea{transition:border-color .15s,box-shadow .15s}
input:hover,select:hover,textarea:hover{border-color:#9cadba}
input:focus,select:focus,textarea:focus{border-color:#356b8c}
.map-filter-actions{display:flex;align-items:center;gap:16px}
.map-filter-actions [hidden]{display:none}
.map-site-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:0;align-items:start;padding:14px;border-radius:10px;transition:border-color .15s,box-shadow .15s}
.map-site-card:hover{border-color:#9eb6c6;box-shadow:0 4px 16px #102a3d08}
.map-site-card>img,.map-site-card>.map-site-symbol{width:72px;height:72px;border-radius:7px;margin:0;object-fit:cover}
.map-site-card>div:not(.map-site-symbol){padding:0;min-width:0}
.map-site-card h2{font-family:Arial,Helvetica,sans-serif;font-size:1rem;font-weight:600;line-height:1.4;margin:5px 0}
.map-site-card .badge{font-size:.65rem;padding:3px 7px;line-height:1.4}
.map-site-card .subtle,.map-site-card .tagline,.map-site-card .site-rating{font-size:.75rem;line-height:1.5;margin-top:3px}
.map-site-card .map-site-actions{margin-top:10px;gap:12px;flex-wrap:wrap}
.map-site-card .map-site-actions .btn{padding:8px 12px;font-size:.75rem;min-height:36px}
.map-site-card .map-site-actions .text-btn{font-size:.75rem;min-height:36px}
.site-map-results{gap:10px}
.site-map-filters{margin:18px 0;gap:12px}
.site-map-filters label{font-size:.8125rem}
.site-map-filters input,.site-map-filters select{min-height:42px}
.site-map-layout{grid-template-columns:minmax(0,1.55fr) minmax(310px,1fr)}
dialog.site-profile-dialog{width:min(1000px,calc(100vw - 32px))}
.site-profile-dialog .dialog-head{padding:18px 22px;align-items:center}
.site-profile-dialog .dialog-head h2{font-size:1.55rem;line-height:1.25}
.site-profile-dialog .dialog-body{padding:20px 22px}
.site-profile-intro{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.5fr);gap:22px;align-items:start}
.site-profile-media,.site-profile-summary{min-width:0}
.site-profile-dialog .site-rich-hero{margin:0 0 8px;border-radius:8px}
.site-profile-dialog .site-rich-hero>img{height:210px}
.site-profile-dialog .site-rich-placeholder{height:150px;gap:8px}
.site-profile-dialog .site-rich-placeholder>span{font-size:36px;width:60px;height:60px}
.site-profile-dialog .site-rich-placeholder p{font-size:.75rem}
.site-profile-dialog .site-hero-label{top:auto;font-size:.625rem;padding:5px 8px;bottom:10px;left:10px}
.site-profile-dialog .site-gallery-strip{gap:6px;margin:0}
.site-profile-dialog .site-gallery-strip button{width:54px;height:44px;border-radius:5px;flex-shrink:0}
.site-profile-dialog .site-gallery-strip img{height:44px;width:54px;object-fit:cover}
.site-profile-dialog .site-rich-meta{margin:0 0 12px;gap:6px;line-height:1.5}
.site-profile-dialog .site-rich-meta .badge{font-size:.625rem;padding:4px 7px}
.site-profile-dialog .site-rich-meta .subtle,.site-profile-dialog .site-rating{font-size:.75rem}
.site-profile-dialog .site-profile-actions{gap:6px;margin:0 0 10px;display:flex;flex-wrap:wrap}
.site-profile-dialog .site-profile-actions .btn{font-size:.75rem;padding:7px 10px;min-height:36px;border-radius:5px}
.site-profile-dialog [data-site-action=favourite][aria-pressed=true]{background:#edf4f8;color:#285e7d;border-color:#bbd0de}
.site-profile-dialog .source-note{font-size:.75rem;line-height:1.5;padding:8px 10px;margin:10px 0;border-radius:5px}
.site-profile-dialog .site-coordinate-section{margin:12px 0 0;padding:12px 0 0}
.site-profile-dialog .site-coordinate-section .row{gap:12px;align-items:center}
.site-profile-dialog .site-coordinate-section h3{font-size:.8125rem}
.site-profile-dialog .site-coordinate-section label{font-size:.65rem;gap:4px}
.site-profile-dialog .site-coordinate-section select{min-height:32px;padding:6px 8px;max-width:195px;font-size:.7rem}
.site-profile-dialog .site-coordinates{font-variant-numeric:tabular-nums;font-size:.9375rem;font-weight:500;margin:9px 0 8px}
.site-profile-dialog .site-coordinate-section .btn{font-size:.7rem;padding:6px 9px;min-height:34px}
.site-profile-dialog .site-profile-tabs{margin:18px 0 16px;gap:6px;border-bottom:1px solid var(--line)}
.site-profile-dialog .site-profile-tabs .tab{font-size:.8125rem;padding:11px 16px;min-height:44px}
.site-profile-dialog .site-profile-tabs .tab.active{color:#285e7d;border-bottom-color:#356b8c}
.site-profile-dialog [role=tabpanel]{min-height:140px}
.site-profile-dialog [role=tabpanel] h3{font-size:.9375rem;line-height:1.4}
.site-profile-dialog .description{font-size:.875rem;line-height:1.6;margin:0 0 15px}
.site-profile-dialog .site-contact-details{gap:0;margin:8px 0 16px}
.site-profile-dialog .site-contact-details>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:15px;padding:9px 0;border-bottom:1px solid #edf0f3}
.site-profile-dialog .site-contact-details dt{font-size:.75rem;line-height:1.5}
.site-profile-dialog .site-contact-details dd{font-size:.8125rem;line-height:1.5}
.site-profile-dialog .site-guidance{padding:12px 0;margin:0;border-bottom:1px solid #edf0f3}
.site-profile-dialog .site-guidance h4{font-size:.8125rem;margin:0 0 4px}
.site-profile-dialog .site-guidance p{font-size:.8125rem;line-height:1.55}
.site-profile-dialog #site-landing-panel .site-rich-meta{margin-top:10px}
.site-profile-dialog #site-landing-panel .site-facts{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 20px;margin:15px 0}
.site-profile-dialog .site-facts dt{font-size:.6875rem;line-height:1.5}
.site-profile-dialog .site-facts dd{font-size:.8125rem;line-height:1.5;margin:3px 0 0}
.site-profile-dialog .facilities-info{gap:10px;margin:14px 0}
.site-profile-dialog .facility-info{padding:11px 13px;background:#f4f7f9}
.site-profile-dialog .facility-info h3{font-size:.75rem;margin-bottom:5px}
.site-profile-dialog .facility-info p{font-size:.8125rem;line-height:1.5}
.site-profile-dialog .site-detail-footer{position:sticky;bottom:-20px;z-index:1;margin-top:20px;padding:13px 0 0;background:white;gap:10px;border-top:1px solid var(--line);box-shadow:0 -8px 16px #fff}
.site-profile-dialog .site-detail-footer .site-contact-actions{gap:8px}
.site-profile-dialog .site-detail-footer .tagline{font-size:.6875rem;margin:0}
.site-profile-dialog .site-detail-footer [data-site-action=request]{background:var(--navy);color:#fff;border-color:var(--navy)}
.site-profile-dialog .site-review{padding:14px 0}
.site-profile-dialog .site-review p{font-size:.875rem;line-height:1.6;margin-top:9px}
.site-profile-dialog .empty{padding:25px 16px}
@media(min-width:900px){.site-map-results{max-height:690px;overflow:auto;padding-right:4px;scrollbar-gutter:stable}}
@media(max-width:900px){.site-map-layout{grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr)}}
@media(max-width:780px){.site-map-layout{grid-template-columns:minmax(0,1fr)}.site-map-column{position:static}.site-profile-intro{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:16px}}
@media(max-width:600px){
 .site-profile-dialog .dialog-head{padding:15px 16px}
 .site-profile-dialog .dialog-head h2{font-size:1.3rem}
 .site-profile-dialog .dialog-body{padding:16px}
 .site-profile-intro{grid-template-columns:minmax(0,1fr);gap:12px}
 .site-profile-dialog .site-rich-hero>img{height:145px}
 .site-profile-dialog .site-rich-placeholder{height:78px;flex-direction:row;gap:14px}
 .site-profile-dialog .site-rich-placeholder>span{width:44px;height:44px;font-size:26px}
 .site-profile-dialog .site-gallery-strip button,.site-profile-dialog .site-gallery-strip img{width:46px;height:36px}
 .site-profile-dialog .site-profile-actions .btn{min-height:40px;padding:8px 10px}
 .site-profile-dialog .site-rich-meta{margin-bottom:9px}
 .site-profile-dialog .site-coordinate-section .row{flex-direction:row;align-items:center}
 .site-profile-dialog .site-coordinate-section select{max-width:164px;font-size:.65rem}
 .site-profile-dialog .site-profile-tabs{gap:0;margin:14px 0}
 .site-profile-dialog .site-profile-tabs .tab{flex:1;padding:10px 7px;font-size:.75rem}
 .site-profile-dialog .site-contact-details>div{grid-template-columns:68px minmax(0,1fr);gap:10px;padding:9px 0}
 .site-profile-dialog .site-contact-details dt{margin:0}
 .site-profile-dialog #site-landing-panel .site-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .site-profile-dialog .facilities-info{grid-template-columns:1fr 1fr}
 .site-profile-dialog .site-detail-footer{bottom:-16px;padding-top:10px}
 .site-profile-dialog .site-detail-footer .btn{min-height:42px;padding:9px 12px}
 .site-profile-dialog .site-detail-footer>.tagline{flex-basis:100%}
 .map-heading{flex-wrap:wrap;gap:10px}
 .map-filter-actions{gap:12px}
 .map-site-card{grid-template-columns:76px minmax(0,1fr);padding:12px}
 .map-site-card>img,.map-site-card>.map-site-symbol{width:64px;height:64px}
 .map-site-card .map-site-actions .btn,.map-site-card .map-site-actions .text-btn{min-height:42px}
}

.airport-search-status:empty{display:none}
.airport-search-status{margin:8px 0 16px}
.airport-source-details{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}
.airport-source-details h4{font-size:.8125rem;margin:18px 0 8px}
.airport-source-details>.subtle{font-size:.8125rem}
.airport-table-wrap{overflow-x:auto}
.airport-data-table{border-collapse:collapse;width:100%;font-size:.75rem}
.airport-data-table th,.airport-data-table td{text-align:left;border-bottom:1px solid var(--line);padding:8px 10px 8px 0;vertical-align:top}
.airport-data-table th{font-weight:600;color:var(--muted)}
[data-import-zone-hint][hidden]{display:none}

/* Compact landing pins; keep Leaflet's 44 × 48 clickable area and geographic anchor. */
.site-map-marker .site-pin-shape{z-index:0;position:absolute;left:8px;bottom:1px;width:28px;height:31px;filter:drop-shadow(0 1px 1px #06142126)}
.site-map-marker .site-pin-shape path{fill:#fff;stroke:var(--site-color);stroke-width:1.6}
.site-map-marker .site-pin-symbol{z-index:1;top:21px;left:14px;color:var(--site-color)}
.site-map-marker .site-pin-symbol .site-category-icon{width:16px;height:16px;stroke-width:1.5}
.site-map-marker .site-private-lock{z-index:2;right:4px;bottom:3px;width:14px;height:14px}
.site-map-marker .site-private-lock svg{width:10px;height:10px}

/* Private circles, opt-in interests and password-free sign-in. */
.circle-incoming,.circle-email-settings{margin-bottom:24px}
.circle-privacy{max-width:820px;color:var(--muted,#61717c);line-height:1.6;margin:0 0 20px}
.circle-filters{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin:22px 0 12px}
.circle-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.circle-actions .text-btn{font-size:13px;text-align:left}
.circle-group-picker{border:1px solid #d9e2e8;border-radius:10px;padding:18px;margin:22px 0;display:grid;gap:12px;max-height:360px;overflow:auto}
.circle-group-picker legend{font-weight:700;padding:0 8px}
.group-country-actions{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0}
.group-country-picker .member-country-option[hidden]{display:none}
.group-country-picker .country-summary{max-height:80px;overflow-y:auto}
.group-country-label{overflow-wrap:anywhere}
.managed-public-groups{margin-top:24px}
.managed-public-groups summary{font-weight:700;cursor:pointer}
.managed-public-groups .list-row>div{min-width:0;overflow-wrap:anywhere}
.organizer-profile-row{padding:18px 0;border-bottom:1px solid var(--line);min-width:0}
.organizer-profile-row:last-of-type{border-bottom:0}
.organizer-profile-card h3,.organizer-profile-row h3{margin:12px 0 6px;overflow-wrap:anywhere}
.organizer-profile-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.organizer-delete-confirm{margin-top:24px}
.organizer-delete-blockers{padding:0;margin:20px 0;list-style:none}
.organizer-delete-blockers li{display:flex;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid var(--line)}
.circle-email-settings{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:32px}
.circle-mail-preview{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;padding:20px;background:#f4f7f9;border-radius:8px}
.email-signin{max-width:650px;margin:40px auto;padding:20px}
.email-signin>.logo-art{width:200px;margin:0 auto 25px;border-radius:12px}
.email-signin h1{font-size:38px;margin:12px 0}
.email-signin .muted{margin-bottom:22px;line-height:1.6}
.email-signin .text-btn{display:block;margin-top:18px}
@media(max-width:650px){.circle-filters{grid-template-columns:1fr}.circle-email-settings{align-items:start;flex-direction:column}.circle-incoming .list-row{align-items:start;gap:18px;flex-direction:column}.email-signin{margin:10px auto}.email-signin h1{font-size:30px}.circle-actions{min-width:130px}.account>[data-login]{font-size:11px}}

@media(max-width:650px){
 #circle-contact-rows .table-scroll{overflow:visible}
 #circle-contact-rows table,#circle-contact-rows tbody{display:block;width:100%}
 #circle-contact-rows thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 #circle-contact-rows tr{display:flex;flex-wrap:wrap;gap:8px 12px;padding:18px 0;border-bottom:1px solid #d9e2e8}
 #circle-contact-rows td{display:block;border:0;padding:0;min-width:0}
 #circle-contact-rows td:first-child,#circle-contact-rows td:last-child{flex-basis:100%}
 #circle-contact-rows td:first-child{font-size:15px;margin-bottom:4px}
 #circle-contact-rows .badge{white-space:normal;word-break:normal;overflow-wrap:normal}
 #circle-contact-rows .circle-actions{margin-top:6px;gap:14px}
}

/* Keep long trip editors and mixed notification histories easy to navigate. */
.trip-return-stops{margin:0 0 6px;font-size:.8125rem}
#trip-overview-heading{scroll-margin-top:76px}
.trip-stop-editor{margin:18px 0;padding:16px}
.trip-stop-editor .labelled{margin:9px 0}
.trip-stop-editor .form-grid{align-items:end}
.trip-stop-actions{margin-top:12px;gap:8px}
.trip-stop-actions .text-btn{min-height:40px;font-size:.8125rem}
.trip-notes-label textarea{min-height:72px}
.trip-save-actions{padding:15px 0}
.notification-centre{max-width:920px}
.notification-toolbar{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);margin-bottom:12px}
.notification-toolbar .tab{padding:12px 14px;display:flex;align-items:center;gap:7px;font-size:.875rem}
.notification-toolbar .chip{margin:0;font-size:.6875rem;min-width:22px}
.notification-toolbar .active{color:#285e7d;border-bottom-color:#356b8c}
.notification-section-title,.notification-centre .site-hub>h2{font-family:Georgia,serif;font-weight:400;font-size:1.4rem;margin:24px 0 12px}
.notification-centre .notification-list{gap:12px;max-width:none}
.notification-centre .notification-card{padding:18px 20px;overflow-wrap:anywhere}
.notification-centre .notification-card h2,.notification-centre .notification-card h3{font-family:inherit;font-size:1rem;font-weight:600;line-height:1.45}
.notification-centre .notification-card p{font-size:.875rem;line-height:1.55;margin:8px 0}
.notification-centre .notification-card .row{gap:12px;flex-wrap:wrap;align-items:start}
.notification-centre .notification-card .badge{font-size:.7rem;white-space:normal}
.notification-centre .notification-actions{margin-top:14px}
.notification-centre .site-hub{margin-top:24px}
.notification-centre .site-hub>.subtle{font-size:.8125rem;margin:6px 0 12px}
.notification-centre [hidden]{display:none!important}
@media(max-width:600px){
 .trip-stop-editor{padding:13px}
 .trip-stop-editor .field-hint{font-size:.75rem}
 .trip-save-actions{position:sticky;bottom:0;background:#f4f6f8;border-top:1px solid var(--line);z-index:2;gap:10px}
 .trip-save-actions .btn{flex:1}
 .notification-toolbar{gap:0}
 .notification-toolbar .tab{padding:11px 9px;font-size:.75rem}
 .notification-toolbar .chip{font-size:.65rem;min-width:18px;padding:2px 4px}
 .notification-centre .notification-card{padding:15px}
 .notification-centre .notification-actions .btn{min-height:42px}
}

/* Shared form rhythm: helper text must never stretch a neighbouring control. */
:root{--control-height:44px;--field-gap:8px;--form-gap:20px}
.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:var(--form-gap)}
.form-grid>*,.labelled,.stack>*,.two-col>*,.page-head>div{min-width:0}
.labelled{align-content:start;gap:var(--field-gap);line-height:1.45}
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select:not([multiple]){height:var(--control-height);min-height:var(--control-height);min-width:0;max-width:100%;padding:10px 12px;line-height:22px}
select:not([multiple]){appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2363717c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px}
textarea{min-width:0;max-width:100%;min-height:104px;line-height:1.55;padding:11px 12px}
.field-value{display:flex;align-items:center;min-height:var(--control-height);padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:var(--paper);font-size:.875rem}
.map-favourites{align-self:end;align-items:center;min-height:var(--control-height);margin:0}
.map-favourites input{margin:0}
.labelled>.field-hint{margin:0;font-size:.75rem;line-height:1.5;color:var(--muted)}
input[type=file]{min-height:var(--control-height);max-width:100%;line-height:1.4;padding:6px;font-size:.8125rem}
.photo-drop-zone { border: 1px dashed #99acb7; border-radius: 8px; padding: 14px; background: #f8fafb; }
.photo-drop-zone.photo-drop-active { border-color: #367c9c; background: #e7f2f7; outline: 2px solid #367c9c; outline-offset: 2px; }
.photo-drop-zone:focus-within { border-color: #367c9c; }
.photo-drop-hint { display: block; color: var(--muted); font-size: .8125rem; font-weight: 400; line-height: 1.5; }
.photo-drop-error { display: block; color: #9a3434; font-size: .8125rem; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
.photo-drop-error:empty { display: none; }
.photo-preparation { color: #27617e; font-size: .8125rem; font-weight: 400; }
.photo-preparation:empty { display: none; }
.photo-drop-zone input[type=file] { width: 100%; min-width: 0; }
input[type=file]::file-selector-button{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:4px;padding:6px 10px;margin-right:10px;cursor:pointer}
input[disabled],select[disabled],textarea[disabled]{background-color:#f1f4f6;color:#677883;opacity:1}
.btn{line-height:20px;min-height:var(--control-height)}
.btn.small{min-height:36px}
.form-actions{align-items:center;flex-wrap:wrap;gap:12px;margin-top:24px}
.form-actions .btn{min-width:104px;white-space:normal;text-align:center}
form>.labelled+.labelled,form>.form-grid+.labelled,form>.subtle+.form-grid,form>.tagline+.labelled{margin-top:var(--form-gap)}
form>.labelled+.check{margin-top:18px}
.trip-stop-editor .form-grid{align-items:start}
.trip-stop-editor .labelled{margin:0}
.trip-stop-editor>.labelled{margin:14px 0}
.trip-stop-editor>.labelled:first-of-type{margin-top:8px}
.trip-pick-map{margin:0 0 18px}
.trip-stop-actions{border-top:1px solid var(--line);padding-top:8px}
.preview select{--control-height:32px;padding-top:4px;padding-bottom:4px;line-height:22px}
.site-profile-dialog .site-coordinate-section select{--control-height:36px;padding-top:6px;padding-bottom:6px}

/* Consistent page edges, headings, action rows and scrollable navigation. */
.page-head h1{overflow-wrap:break-word;text-wrap:balance}
.page-head>.btn{flex-shrink:0}
.toolbar{align-items:flex-end}
.toolbar>.labelled{min-width:200px;max-width:100%}
.section-heading{gap:16px;align-items:center}
.section-heading>h2{min-width:0}
.section-heading>.text-btn{flex-shrink:0}
.card-foot{flex-wrap:wrap;row-gap:8px}
.card-foot>.text-btn{margin-left:auto}
.card-top{flex-wrap:wrap}
.cards>.panel{min-width:0}
.cards>.panel>h3{margin:12px 0 8px}
.cards>.panel>.btn{margin-top:16px}
.sidebar{overflow-y:auto;scrollbar-width:thin}
.dialog-head{align-items:center}
.dialog-head h2{line-height:1.25;min-width:0;overflow-wrap:anywhere}
.dialog-close{width:40px;height:40px;display:grid;place-items:center;padding:0}
dialog{max-height:90dvh;scroll-padding-top:100px;scroll-padding-bottom:24px}
.dialog-body :is(input,select,textarea,button){scroll-margin-top:100px;scroll-margin-bottom:24px}

/* Keep the visibility badge clear of the site category on empty photo headers. */
.site-profile-dialog .site-rich-placeholder{padding:12px 12px 42px;gap:6px}
.site-profile-dialog .site-rich-placeholder p{margin:0;text-align:center}

@media(max-width:780px){
 .sidebar{overflow-y:visible}
 .sidebar nav{scrollbar-width:thin}
 .page-head{flex-wrap:wrap}
 .panel{padding:20px}
 .section-heading{flex-wrap:wrap;gap:10px}
 .organiser-events-table,.organiser-events-table tbody{display:block;width:100%}
 .organiser-events-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .organiser-events-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 12px;padding:18px 0;border-bottom:1px solid var(--line)}
 .organiser-events-table tr:last-child{border:0;padding-bottom:0}
 .organiser-events-table td{display:block;min-width:0;padding:0;border:0;overflow-wrap:break-word}
 .organiser-events-table td:first-child{grid-column:1/-1;font-size:.9375rem}
 .organiser-events-table td[data-label]::before{content:attr(data-label);display:block;font-size:.6875rem;color:var(--muted);margin-bottom:4px}
 .organiser-events-table td:nth-last-child(2){grid-column:1/3;align-self:center}
 .organiser-events-table td:last-child{justify-self:end;align-self:center}
 .organiser-events-table td:last-child .text-btn{min-height:44px}
}
@media(max-width:640px){
 .form-grid{grid-template-columns:minmax(0,1fr);gap:18px}
 .form-grid .wide{grid-column:1/-1}
 input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select:not([multiple]),textarea{font-size:1rem}
 .preview select{font-size:.75rem}
 .site-profile-dialog .site-coordinate-section select{font-size:.8125rem;max-width:100%;--control-height:44px}
 .site-profile-dialog .site-coordinate-section .row{flex-wrap:wrap;gap:10px}
 .site-profile-dialog .site-coordinate-section .labelled{flex:1;min-width:164px}
 .btn.small,.dialog-close{min-height:44px}
 .dialog-close{width:44px}
 .form-actions .btn{flex:1 1 120px}
 .dialog-head,.dialog-body{padding-left:18px;padding-right:18px}
 .dialog-head{gap:12px;padding-top:16px;padding-bottom:16px}
 .dialog-head h2{font-size:1.5rem}
 .dialog-body{padding-top:20px;padding-bottom:24px}
 .site-profile-dialog .site-rich-placeholder{height:112px;padding-bottom:36px}
 .site-profile-dialog .site-profile-actions .btn,.site-profile-dialog .site-coordinate-section .btn{min-height:44px}
 .filters{width:100%}
 .filters select{flex:1;max-width:none;min-width:0}
 .toolbar>.labelled{width:100%}
 .topbar{gap:12px;flex-wrap:wrap}
 .account{min-width:0;gap:8px}
 .account>[data-page=profile]{overflow-wrap:anywhere}
 .guest-form .form-error{flex-basis:100%}
 .site-photo-manager .form-actions .btn{min-width:0}
}
.map-add-site{margin-top:12px;padding:14px 16px;border:1px solid var(--line);border-radius:8px;background:white}
.map-add-site-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.map-add-site [hidden]{display:none}
.map-add-site .tagline{margin:10px 0 0;font-size:.8rem;line-height:1.5}
#landing-sites-map.placing-site{cursor:crosshair}
.new-landing-site-pin{display:grid;place-items:center;background:#286d91;color:white;border:3px solid white;border-radius:50%;box-shadow:0 1px 5px #102d4566;font:700 17px/1 sans-serif}
.new-landing-site-pin:focus-visible{outline:3px solid #b77b20;outline-offset:3px}
.site-popup-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.site-popup-actions>.text-btn{grid-column:1/-1;min-height:36px}
.site-popup-actions>.btn{min-height:40px;padding:8px 10px}

/* Frame the supplied square artwork without altering its original pixels. */
.logo-art{display:block;aspect-ratio:4/3;overflow:hidden;background:var(--navy);flex:none}
.logo-art>img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 42%;transform:scale(1.24)}
.sidebar .brand{width:190px}
.sidebar .logo-art{border-radius:4px}
.registration-brand>.logo-art{width:128px;max-width:none}
.mobile-brand{padding:0;background:transparent;border:0}
.mobile-brand .logo-art{width:92px;border-radius:6px}
@media(max-width:780px){
 .registration-brand>.logo-art{width:112px}
 .topbar .account{flex:1;justify-content:flex-end;min-width:0}
 .topbar .account>[data-page=profile]{min-width:0;overflow-wrap:anywhere}
}

/* Compact, attributable member checks alongside the existing site tabs. */
.site-verification-record{border-top:1px solid var(--line);padding:16px 0;overflow-wrap:anywhere}
.site-verification-record .site-notes{margin:10px 0}
.site-verification-record .row,#site-verification-panel>.row{flex-wrap:wrap;gap:10px}
.verification-intro{margin:16px 0;font-size:.875rem;color:var(--muted)}
[data-form="site-verification"]>.labelled{margin-top:18px}
[data-form="site-verification"]>.check{margin-top:18px}

.site-profile-dialog .site-profile-tabs{overflow-x:auto;max-width:100%}
.site-profile-dialog .site-profile-tabs .tab{flex-shrink:0;white-space:nowrap}

/* Sign-in emails remain readable on narrow profile cards. */
.profile-email { font-weight: 600; overflow-wrap: anywhere; margin: 10px 0 14px; }

/* Community joining and gathering responses */
.registration-options { margin: 22px 0; border-block: 1px solid var(--line, #dce3e8); padding: 16px 0; }
.registration-options > summary { cursor: pointer; font-weight: 600; }
.registration-options[open] > summary { margin-bottom: 18px; }
.awaiting-replies { margin-block: 24px 32px; }
.gathering-acceptance, .gathering-responses { margin-block: 20px; }
.gathering-acceptance .acceptance-confirmation { margin: 12px 0 20px; line-height: 1.7; }
.gathering-acceptance [hidden], #dialog [data-email-audience][hidden], #dialog [data-member-audience][hidden] { display: none; }
.gathering-acceptance .form-grid + .form-grid { margin-top: 16px; }
.gathering-responses .form-grid { margin-block: 16px; }
.gathering-responses td small { display: block; overflow-wrap: anywhere; }
.gathering-responses .table-scroll { margin-top: 16px; }
@media(max-width: 600px) {
 .gathering-responses > .row { align-items: flex-start; gap: 12px; flex-direction: column; }
 .circle-actions { flex-wrap: wrap; }
 .gathering-responses table { min-width: 460px; }
}

@media(max-width:600px) {
 .gathering-responses table { min-width: 0; width: 100%; }
 .gathering-responses thead { display: none; }
 .gathering-responses tbody, .gathering-responses tr, .gathering-responses td { display: block; width: 100%; }
 .gathering-responses tr { border-bottom: 1px solid var(--line, #dce3e8); padding: 12px 0; }
 .gathering-responses td { border: 0; padding: 5px 0; white-space: normal; overflow-wrap: anywhere; }
 .gathering-responses td::before { content: attr(data-label); display: block; margin-bottom: 3px; font-size: 11px; text-transform: uppercase; color: var(--muted, #667786); }
}

/* Existing-site confirmation and new-site creation are mutually exclusive. */
.trip-site-picker [hidden]{display:none}
