.member-area { max-width: 1100px; }
.member-auth { max-width: 560px; margin: 0 auto; }
.member-auth h1 { font-size: clamp(26px, 4vw, 36px); }
.hub-notice { padding: 16px 20px; background: #eaf5ef; border: 1px solid #a9d9bd; color: #175a35; border-radius: 12px; margin-bottom: 24px; overflow-wrap: anywhere; }
.hub-notice--error { background: #fff1ee; border-color: #eab7af; color: #8c2a20; }
.hub-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.hub-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hub-actions a:not(.btn), .member-auth a, .hub-check a { text-decoration: underline; text-underline-offset: 3px; }
.hub-actions form { margin: 0; }
.hub-check { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 18px 0; font-size: 14px; }
.hub-check input[type=checkbox] { width: auto; min-height: 0; flex-shrink: 0; }
.hub-stats { margin: 28px 0 40px; }
.hub-stats h2 { font-size: clamp(22px, 3vw, 30px); margin-top: 12px; overflow-wrap: anywhere; }
.hub-registration { margin: 20px 0; }
.hub-registration:hover { transform: none; }
.hub-badge { background: #eaeff7; color: #2a3f7e; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; }
.hub-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 24px; }
.hub-details dt { font-weight: 700; color: #16161d; font-size: 13px; }
.hub-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.hub-profile { margin-top: 40px; }
.hub-table { width: 100%; overflow-x: auto; margin: 20px 0; }
.hub-table table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.hub-table th, .hub-table td { padding: 12px; border-bottom: 1px solid #e7e6ee; vertical-align: top; min-width: 100px; overflow-wrap: anywhere; }
.hub-table th { background: #f4f6fb; color: #16161d; }
.hub-admin-card { margin-top: 20px; }
.hub-inline-form { margin-top: 24px; }
.hub-inline-form button { margin-top: 12px; }
.hub-template-body { min-height: 220px; }
.hub-email-preview { white-space: pre-wrap; overflow-wrap: anywhere; background: #f4f6fb; padding: 20px; border-radius: 12px; }
.hub-admin-card input:not([type=checkbox]), #workspace-search { width: 100%; padding: 11px 12px; border: 1px solid #e7e6ee; border-radius: 10px; font: inherit; font-size: 14px; }
.hub-admin-card button { margin-top: 12px; }
.hub-admin-card summary { cursor: pointer; margin: 20px 0; font-weight: 600; }
.hub-admin-card a { color: #344e97; text-decoration: underline; }
.hub-registration-editor [hidden], .hub-email-preview[hidden] { display: none; }
.main__top [hidden] { display: none !important; }
.hub-template-card > summary { font-size: 17px; color: #263b78; }
.hub-editor-toolbar { display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px;background:#f4f6fb;border:1px solid #dbe2ee;border-radius:10px 10px 0 0; }
.hub-editor-toolbar button { margin:0;min-width:36px;min-height:36px;padding:6px 10px;background:#fff;color:#263b78;border:1px solid #dbe2ee;border-radius:6px;cursor:pointer;font:inherit;font-size:13px; }
.hub-editor-toolbar button:hover { background:#eaeff7; }
.hub-editor-toolbar .hub-token-label { display:flex;align-items:center;gap:8px;margin:0;font-size:12px; }
.hub-editor-toolbar select { width:auto;font-size:12px;padding:7px; }
.hub-rich-editor { min-height:280px;max-height:560px;overflow-y:auto;padding:22px;border:1px solid #dbe2ee;border-top:0;border-radius:0 0 10px 10px;background:#fff;font:15px/1.8 Arial,Helvetica,sans-serif;color:#3c4961;overflow-wrap:anywhere; }
.hub-rich-editor:focus { outline:2px solid #344e97;outline-offset:1px; }
.hub-rich-editor h2 { font-size:22px;line-height:1.4;color:#17233b; }
.hub-rich-editor a { color:#344e97; }
.hub-template-form [hidden] { display:none!important; }
.hub-template-form .hub-template-body { font:13px/1.7 Consolas,monospace;min-height:320px; }
.hub-email-preview-shell { margin-top:18px;border:1px solid #dbe2ee;padding:16px;background:#f1f4f9;border-radius:12px; }
.hub-email-preview-open { overflow:hidden; }
.hub-email-preview-modal { width:min(860px,calc(100% - 28px));max-width:860px;max-height:90vh;max-height:90dvh;padding:0;border:1px solid #dbe2ee;border-radius:16px;box-shadow:0 24px 90px #10204455;background:#fff;color:#26334d;overflow:auto; }
.hub-email-preview-modal::backdrop { background:rgba(15,23,42,.65); }
.hub-email-modal-header { position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:#fff;border-bottom:1px solid #e7e6ee; }
.hub-email-modal-header h3 { margin:0; }
.hub-email-modal-header .hub-close-email-preview { margin:0;min-height:44px;padding:8px 14px;border:1px solid #ccd6e6;border-radius:8px;background:#f4f6fb;color:#263b78;font:inherit;cursor:pointer; }
.hub-email-preview-modal .hub-email-preview-shell { margin:0;border:0;border-radius:0;padding:20px; }
.hub-email-preview-modal .hub-preview-subject { overflow-wrap:anywhere; }
@media(max-width:500px) { .hub-email-preview-modal .hub-email-preview-shell { padding:12px; } .hub-email-modal-header { padding:12px; } }
.hub-preview-sizes { display:flex;gap:8px;margin-bottom:14px; }
.hub-preview-sizes button { margin:0;border:1px solid #c8d1e4;border-radius:6px;padding:8px 14px;cursor:pointer;background:#fff;color:#344e97; }
.hub-preview-sizes button[aria-pressed=true] { background:#344e97;color:#fff; }
.hub-email-frame { display:block;width:600px;max-width:100%;height:780px;margin:auto;border:0;background:#f1f4f9;border-radius:8px; }
.hub-email-plain { white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px; }
.hub-preview-status { font-size:13px;color:#526384; }
.hub-template-form button:focus-visible { outline:3px solid #344e97;outline-offset:3px; }
.hub-submission-filters { display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px; }
.hub-rate-plan input:not([type=checkbox]) { width:100%;padding:11px 12px;border:1px solid #e7e6ee;border-radius:10px;font:inherit;font-size:14px; }
.hub-rate-row { display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:12px;margin:12px 0; }
.hub-rate-plan button { margin:8px 8px 0 0; }
@media(max-width:600px) { .hub-rate-row { grid-template-columns:1fr;gap:4px; } }
.hub-submission-filters input { width:100%;padding:11px 12px;border:1px solid #e7e6ee;border-radius:10px;font:inherit;font-size:14px; }
.hub-badge--attention { background:#fff1dd;color:#8b4b12; }
.hub-registration-card, #submission-editor { scroll-margin-top:100px; }
.hub-selected-record { border-color:#344e97!important;box-shadow:0 0 0 3px #344e971a; }
.hub-period-summary { margin:20px 0;padding:18px 20px;background:#f2f5fb;border:1px solid #dce4f1;border-radius:12px; }
.hub-period-summary p { margin-bottom:0;font-size:13px; }
#workspace-submission-rows [hidden], #workspace-submission-rows tr[hidden], #submission-empty[hidden] { display:none!important; }
@media(max-width:800px) { .hub-submission-filters { grid-template-columns:1fr 1fr; } }
@media(max-width:500px) { .hub-submission-filters { grid-template-columns:1fr; } }
@media (max-width: 700px) {
  .hub-details, .hub-profile { grid-template-columns: 1fr; }
  .hub-admin-card .grid2, .hub-admin-card .grid3 { grid-template-columns: 1fr; }
  .hub-registration { padding: 24px 18px; }
}
.hub-network-guide{line-height:1.75;overflow-wrap:anywhere}
.hub-network-guide summary{font-weight:700;cursor:pointer}
.hub-network-guide ol{padding-left:24px}.hub-network-guide li+li{margin-top:14px}
.hub-network-guide pre{padding:16px;border:1px solid #dce4f0;border-radius:10px;background:#f3f6fb;color:#253958;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere}
.hub-network-guide .hub-registration-section{margin-top:20px}
.space-amenities{display:flex;flex-wrap:wrap;gap:10px 14px;list-style:none;margin:18px 0 0;padding:16px 0 0;border-top:1px solid #e5eaf3}.space-amenities li{display:inline-flex;align-items:center;gap:6px;color:#60718d;font-size:12px;line-height:1.5}.space-amenities svg{flex-shrink:0;color:#38549f}.space-amenities li span{font-size:12px!important;color:inherit!important}
.space-detail-title{color:inherit;text-decoration:none}.space-detail-link{display:flex;justify-content:space-between;gap:12px;color:#38549f;font-size:12px;font-weight:600;margin-top:18px;text-decoration:none}.space-detail-link:hover{text-decoration:underline}
.booking-refund-table{overflow-x:auto;margin:22px 0;border:1px solid #dce4f1;border-radius:12px}.booking-refund-table table{width:100%;border-collapse:collapse;min-width:420px;font-size:13px}.booking-refund-table th{background:#eef3fc;color:#344e97;font-weight:700;text-align:left}.booking-refund-table th,.booking-refund-table td{padding:14px 16px;border-bottom:1px solid #e4eaf4;line-height:1.7}.booking-refund-table tr:last-child td{border-bottom:0}.booking-refund-table td+td,.booking-refund-table th+th{border-left:1px solid #e4eaf4}.booking-refund-table tbody tr:nth-child(even){background:#fafcff}
.booking-policy-content .booking-policy-points{margin:16px 0 22px;padding-left:23px;list-style:disc}.booking-policy-content .booking-policy-points li{padding-left:5px;margin:0 0 12px;line-height:1.85}.booking-policy-content .booking-policy-points li::marker{color:#38549f}.booking-policy-content h3{margin-top:22px}
.navbar__policies{position:relative}.navbar__policies>summary{display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer;font-family:inherit;font-size:15px;font-weight:600;color:var(--ink);min-height:44px;box-sizing:border-box;border-radius:8px;padding:8px 12px;white-space:nowrap}.navbar__policies>summary::-webkit-details-marker{display:none}.navbar__policies>summary i{font-size:17px;transition:transform .15s}.navbar__policies[open]>summary i{transform:rotate(180deg)}.navbar__policies[data-active=true]>summary{color:#38549f}.navbar__policies-menu{position:absolute;top:calc(100% + 10px);left:0;min-width:260px;padding:8px;background:#fff;border:1px solid #dfe6f2;border-radius:12px;box-shadow:0 12px 35px #1e31541c;z-index:100}.navbar__links .navbar__policies-menu a{display:block;padding:11px 12px;border-radius:8px;font-size:15px;font-weight:600;line-height:1.5;min-height:44px;box-sizing:border-box;white-space:normal}.navbar__policies-menu a:hover,.navbar__policies-menu a[aria-current=page]{background:#eef3ff;color:#38549f}.navbar__policies>summary:focus-visible{outline:2px solid #38549f;outline-offset:4px;border-radius:4px}@media(max-width:991px){.navbar__policies{width:100%}.navbar__policies>summary{justify-content:space-between;padding:8px 12px}.navbar__policies-menu{position:static;min-width:0;margin:3px 0 10px;box-shadow:none;background:#f7f9fd}}
.navbar__links .navbar__account-actions{display:flex;align-items:center;gap:9px;margin-left:8px}.navbar__links .navbar__account-actions a{justify-content:center;min-height:42px;padding:10px 16px;box-sizing:border-box;font-size:12px;border:1px solid #38549f;border-radius:9px;white-space:nowrap;line-height:1.4;text-decoration:none}.navbar__links .navbar__account-actions .navbar__login-button{color:#38549f;background:#fff}.navbar__links .navbar__account-actions .navbar__login-button:hover,.navbar__links .navbar__account-actions .navbar__login-button[aria-current=page]{background:#edf2ff;color:#2b437d}.navbar__links .navbar__account-actions .navbar__join-button{color:#fff;background:#38549f;box-shadow:0 3px 8px #38549f15}.navbar__links .navbar__account-actions .navbar__join-button:hover,.navbar__links .navbar__account-actions .navbar__join-button[aria-current=page]{background:#2b437d;color:white;border-color:#2b437d}@media(max-width:991px){.navbar__links .navbar__account-actions{width:100%;margin:12px 0 2px;padding-top:16px;border-top:1px solid #e2e8f3}.navbar__links .navbar__account-actions a{flex:1;min-height:46px}}@media(min-width:992px) and (max-width:1200px){.navbar__links .navbar__account-actions a{padding:9px 11px;font-size:11px}.navbar__links .navbar__account-actions{gap:7px;margin-left:0}.navbar__links>a,.navbar__links>li>a{font-size:13px;padding-left:8px;padding-right:8px}}
.gallery__video{display:block;width:100%;height:100%;min-height:240px;object-fit:contain;background:#172338}.gallery__item:has(video){cursor:default;display:flex;flex-direction:column}.gallery__item:has(video) video{flex:1;min-height:0;height:260px}.gallery__item:has(video) figcaption{position:static;transform:none;opacity:1;background:#f5f8fd;color:#344e97;padding:13px 16px;font-size:12px}

.navbar__policies>summary:hover{color:var(--purple);background:var(--purple-soft)}@media(min-width:992px) and (max-width:1200px){.navbar__policies>summary{font-size:13px;padding-left:8px;padding-right:8px}.navbar__links .navbar__policies-menu a{font-size:13px}}
/* Keep gallery spacing controlled by the grid, not default figure margins. */
.gallery{gap:10px}
.gallery>.gallery__item{margin:0;padding:0;min-width:0}
@media(max-width:600px){.gallery{gap:8px}}

/* Keep the brand readable; collapse navigation before it crowds the logo. */
.navbar__brand{flex-shrink:0;overflow-wrap:normal;word-break:normal;gap:10px}.navbar__brand img{flex-shrink:0}.navbar__brand-name{overflow-wrap:normal;word-break:normal;white-space:nowrap}.navbar__links>li{flex-shrink:0}
@media(max-width:1279px){
 .navbar__toggle{display:flex}
 .navbar__links,.navbar__links.open{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:4px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:0 0 12px 12px;box-shadow:var(--shadow);max-height:calc(100dvh - 78px);overflow-y:auto}
 .navbar__links.open{display:flex}
 .navbar__policies{width:100%}.navbar__policies>summary{justify-content:space-between;font-size:15px;padding:8px 12px}
 .navbar__policies-menu{position:static;min-width:0;margin:3px 0 10px;box-shadow:none;background:#f7f9fd}
 .navbar__links .navbar__account-actions{width:100%;margin:12px 0 2px;padding-top:16px;border-top:1px solid #e2e8f3}.navbar__links .navbar__account-actions a{flex:1;min-height:46px;font-size:12px}
}
@media(max-width:480px){.navbar__brand{font-size:18px;min-width:0;flex-shrink:1}.navbar__brand-name{white-space:normal;max-width:calc(100vw - 150px)}.navbar__brand img{height:40px}}
