/* A calmer, denser member workspace that carries the app's sage, forest and rose palette. */

/* Signed-out landing: show the supplied original banner whole beside a focused sign-in card. */
#memberLockedIntro {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .9fr);
  gap: 16px;
  align-items: stretch;
  width: min(100%, 1220px);
  min-height: 0 !important;
  margin: 0 auto 26px;
  padding: clamp(10px, 1.8vw, 18px);
  overflow: visible;
  border: 1px solid #dce4d8;
  border-radius: 28px;
  background: linear-gradient(135deg, #eef3eb 0%, #fff 58%, #f7f1f3 100%);
  box-shadow: 0 18px 48px rgba(37, 75, 52, .12);
  color: #254b34;
}

#memberLockedIntro .member-login-intro {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
  padding: clamp(4px, 1vw, 12px);
  color: #254b34;
}

#memberLockedIntro .member-login-art {
  display: block;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(37, 75, 52, .12);
  border-radius: 18px;
  background: #edf2e9;
  box-shadow: 0 10px 24px rgba(31, 53, 43, .1);
  line-height: 0;
}

#memberLockedIntro .member-login-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

#memberLockedIntro .member-login-intro > .eyebrow {
  margin: 3px 0 0;
  color: #a04b68;
  font-size: .78rem;
}

#memberLockedIntro .member-login-intro > p:not(.eyebrow) {
  margin: 0;
  color: #596b60;
  font-size: .92rem;
  line-height: 1.5;
}

#memberLockedIntro .member-login-new { font-size: .82rem !important; }
#memberLockedIntro .member-login-apply { color: #254b34; font-size: .88rem; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#memberLockedIntro .member-login-apply span { margin-left: 5px; color: #a04b68; }

#memberLoginForm {
  display: grid;
  align-content: center;
  gap: 13px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(20px, 2.6vw, 34px);
  border: 1px solid #e0e7dc;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 53, 43, .08);
  color: #254b34;
}

#memberLoginForm .member-login-form-heading { margin-bottom: 2px; }
#memberLoginForm .member-login-form-heading .eyebrow { margin: 0 0 5px; color: #a04b68; font-size: .74rem; letter-spacing: .08em; }
#memberLoginForm .member-login-form-heading h1 { margin: 0; color: #254b34; font: 700 clamp(1.8rem, 3vw, 2.4rem)/1.05 'Segoe UI', Arial, sans-serif !important; text-shadow: none; }
#memberLoginForm .member-login-form-heading p:last-child { margin: 6px 0 0; color: #68776d; font-size: .88rem; line-height: 1.4; }
#memberLoginForm :is(label, p, small, .muted, .result) { color: #596b60; }
#memberLoginForm label { gap: 6px; font-size: .86rem; font-weight: 700; }
#memberLoginForm input { box-sizing: border-box; width: 100%; min-width: 0; min-height: 48px; padding: 10px 12px; border: 1px solid #cbd8c5; border-radius: 11px; background: #fff; color: #24352d; font-size: 16px; }
#memberLoginForm input:focus { border-color: #55765a; outline: 3px solid rgba(85, 118, 90, .16); }
#memberLoginForm .button { min-height: 46px; margin: 0; border-radius: 12px; font-size: .9rem; }
#memberLoginForm .button.primary { border-color: #254b34; background: #254b34; color: #fff; box-shadow: 0 8px 18px rgba(37, 75, 52, .16); }
#memberLoginForm .button.secondary { border-color: #dce4d8; background: #f7f9f5; color: #254b34; box-shadow: none; }
#memberLoginForm .muted { margin: 0; font-size: .78rem; line-height: 1.4; }
#memberLoginForm #memberSession:empty { display: none; }

#member .page-shell {
  width: min(100%, 1480px);
  max-width: 1480px;
  margin-inline: auto;
  padding: clamp(14px, 2.7vw, 34px);
}

#memberPanel {
  width: 100%;
  max-width: none;
  margin-inline: auto;
}

#memberPanel > .section-head.row {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 0 0 16px;
  padding: 12px 18px;
  border: 1px solid rgba(37, 75, 52, .08);
  border-radius: 22px;
  background: #254b34;
  color: white;
  box-shadow: 0 12px 30px rgba(37, 75, 52, .12);
}

#memberPanel > .section-head.row::before {
  width: 52px;
  height: 52px;
}

#memberPanel > .section-head.row > div:first-child { min-width: 0; }
#memberPanel > .section-head.row .eyebrow { margin: 0 0 2px; }
#memberPanel > .section-head.row h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.6rem); }
#memberPanel > .section-head.row p:not(.eyebrow) { margin: 3px 0 0; font-size: .88rem; }
#memberPanel > .section-head.row .portal-actions { margin: 0; }
#memberPanel > .section-head.row .button { min-height: 42px; }

#memberPanel .member-layout { display: block; }
#memberPanel .member-content {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(12px, 2vw, 22px);
  overflow: visible;
  border: 1px solid rgba(37, 75, 52, .1);
  border-radius: 28px;
  background: #f7f8f4;
  box-shadow: 0 16px 48px rgba(31, 53, 43, .1);
}

#memberPanel .member-tab-panel {
  min-height: 0 !important;
  padding: 0;
  border-radius: 20px;
  background: transparent;
}

/* Keep the supplied banner artwork whole and at its natural proportions. */
#memberPanel .hub-screen-top {
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  border: 1px solid rgba(37, 75, 52, .1);
  border-radius: 20px;
  background: #eef2e9;
}

#memberPanel .hub-screen-top > .lcc-header-picture,
#memberPanel .hub-screen-top > picture {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  line-height: 0;
}

#memberPanel .hub-screen-top .lcc-coastal-scene,
#memberPanel .hub-screen-top > .uncropped-hero-image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  border-radius: 19px;
}

#memberPanel .hub-screen-top::after { content: none !important; }
#memberPanel .hub-screen-top .lcc-coastal-copy {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: clamp(12px, 2vw, 24px);
  background: linear-gradient(transparent, rgba(22, 46, 34, .78));
}

#memberPanel .hub-screen-top .lcc-coastal-copy h2 {
  margin: 0;
  color: #fff;
  font: 600 clamp(1.45rem, 4vw, 3rem)/1 'Caveat', cursive;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .24);
}

#memberPanel .member-tools-compact {
  margin: 14px 0 16px !important;
  padding: 16px !important;
  border: 1px solid #e0e6dc !important;
  border-radius: 18px !important;
  background: #fff !important;
}

#memberPanel .member-tools-compact h2 { margin-bottom: 3px !important; }
#memberPanel .member-tools-compact .member-tools-intro { margin: 3px 0 10px !important; }
#memberPanel .member-tools-folders {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px;
  border: 0;
}

#memberPanel .member-tools-folders details {
  min-width: 0;
  border: 1px solid #e3e8df;
  border-radius: 13px;
  background: #f8faf6;
  overflow: hidden;
}

#memberPanel .member-tools-folders details > summary {
  grid-template-columns: 44px minmax(0, 1fr) 14px;
  gap: 9px;
  min-height: 62px;
  padding: 8px;
}

#memberPanel .member-tools-folders summary strong { font-size: .9rem; }
#memberPanel .member-tool-thumb { width: 44px; height: 44px; border-radius: 9px; }
#memberPanel .member-tool-detail { margin: 0; padding: 0 10px 10px; }
#memberPanel .member-tool-detail p { font-size: .8rem; }
#memberPanel .member-tool-detail a { min-height: 40px; padding: 8px 10px; font-size: .82rem; }
#memberPanel .member-tools-compact .member-tools-footnote { margin-bottom: 0 !important; }

#memberPanel .hub-member-card {
  display: flex;
  min-height: 0;
  align-items: center;
  gap: 12px;
  margin: 12px 0;
  padding: 12px 16px;
  border: 1px solid #e0e6dc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(31, 53, 43, .045);
}

#memberPanel .hub-member-avatar { width: 48px; height: 48px; flex: 0 0 48px; }
#memberPanel .hub-member-card h3 { margin: 0; font-size: 1rem; }
#memberPanel .hub-member-card p { margin: 2px 0 0; font-size: .8rem; }
#memberPanel .hub-member-card .eyebrow { font-size: .72rem; }
#memberPanel .hub-member-card .member-badge { margin-left: auto; }

#memberPanel .hub-tile-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

#memberPanel .member-travel-links {
  display: grid;
  grid-template-columns: auto repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 8px;
  margin: 12px 0 4px;
  padding: 8px 12px;
  border: 1px solid #e0e6dc;
  border-radius: 14px;
  background: #fff;
}

#memberPanel .member-travel-links > span {
  padding-right: 6px;
  color: #66756b;
  font-size: .76rem;
  font-weight: 700;
}

#memberPanel .member-travel-links a {
  display: flex;
  min-width: 0;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border: 1px solid #e2e8df;
  border-radius: 10px;
  background: #f7f9f4;
  color: #254b34;
  font-size: .78rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

#memberPanel .member-travel-links a:hover { background: #eaf0e7; border-color: #b9c8b4; }
#memberPanel .member-travel-links a:focus-visible { outline: 3px solid #a04b68; outline-offset: 2px; }

.lcc-mobile-app-handoff {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  overflow-y: auto;
  padding: max(20px, env(safe-area-inset-top)) 18px max(20px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 85% 5%, #f2dce4 0, transparent 35%), #edf2e9;
  color: #254b34;
}

.lcc-mobile-app-handoff__card {
  width: min(100%, 420px);
  box-sizing: border-box;
  padding: 28px 24px 24px;
  border: 1px solid #dbe4d7;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(37, 75, 52, .14);
  text-align: center;
}

.lcc-mobile-app-handoff__card img { width: 68px; height: 68px; object-fit: contain; border-radius: 50%; }
.lcc-mobile-app-handoff__eyebrow { margin: 12px 0 4px; color: #a04b68; font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.lcc-mobile-app-handoff__card h1 { margin: 0; color: #254b34; font: 600 2rem/1.06 'Caveat', cursive; }
.lcc-mobile-app-handoff__card > p:not(.lcc-mobile-app-handoff__eyebrow) { color: #627168; font-size: .95rem; line-height: 1.55; }
.lcc-mobile-app-handoff__open { display: flex; min-height: 48px; align-items: center; justify-content: center; margin: 20px 0 12px; padding: 10px 16px; border-radius: 13px; background: #a9b496; color: #254b34; font-weight: 800; text-decoration: none; }
.lcc-mobile-app-handoff__open:focus-visible { outline: 3px solid #a04b68; outline-offset: 3px; }
.lcc-mobile-app-handoff__note { margin-bottom: 0; font-size: .82rem !important; }

#memberPanel .photo-hub-card { border-radius: 16px !important; }
#memberPanel .photo-hub-card .tile-image { aspect-ratio: 2.05 !important; }
#memberPanel .photo-hub-card > strong { margin: 12px 13px 5px !important; font-size: 1rem !important; }
#memberPanel .photo-hub-card > .photo-card-description { margin: 0 13px 10px !important; font-size: .82rem !important; line-height: 1.4 !important; }
#memberPanel .photo-hub-card > .photo-card-action { margin: 0 13px !important; padding: 10px 0 !important; font-size: .8rem !important; }
#memberPanel .photo-card-action > span { font-size: 19px; }

#memberPanel .hub-road-banner { margin-top: 14px; border-radius: 16px; }

/* Laptop section banners balance the full artwork against a clear text panel. */
#memberPanel .member-tab-panel > .member-panel-heading:first-child {
  display: flex !important;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  min-height: 0 !important;
  height: auto !important;
  padding: clamp(14px, 2.1vw, 26px) !important;
  margin: 0 0 14px;
  overflow: visible;
  border: 1px solid rgba(37, 75, 52, .1);
  border-radius: 24px;
  background: linear-gradient(112deg, #f1f4ed 0%, #fff 56%, #f8f4f3 100%);
  box-shadow: 0 14px 34px rgba(31, 53, 43, .085);
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > picture {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: min(58%, 760px) !important;
  min-width: 0;
  flex: 0 0 min(58%, 760px);
  height: auto !important;
  overflow: hidden;
  border: 1px solid rgba(37, 75, 52, .12);
  border-radius: 17px;
  box-shadow: 0 10px 24px rgba(31, 53, 43, .13);
  line-height: 0;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > picture img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > picture source { display: block; }

#memberPanel .member-tab-panel > .member-panel-heading:first-child::before {
  display: none;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > div,
#memberPanel .member-tab-panel > .member-panel-heading:first-child > .hub-back-button,
#memberPanel .member-tab-panel > .member-panel-heading:first-child > .panel-action-row,
#memberPanel .member-tab-panel > .member-panel-heading:first-child > .panel-heading-actions {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > div:first-of-type {
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > .panel-heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child h2 {
  max-width: none;
  margin: 0;
  color: #254b34;
  font-size: clamp(2.05rem, 3vw, 2.8rem);
  line-height: 1.02;
  text-shadow: none;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child .eyebrow { max-width: 38ch; margin-bottom: 7px; color: #a04b68; font-size: .78rem; letter-spacing: .035em; }
#memberPanel .member-tab-panel > .member-panel-heading:first-child p { margin: 7px 0 0; color: #68776d; font-size: .94rem; line-height: 1.5; }
#memberPanel .member-tab-panel > .member-panel-heading:first-child :is(.button, .panel-action-row) { flex: 0 0 auto; }
#memberPanel .member-tab-panel > .member-panel-heading:first-child .button { min-height: 40px; }

/* Laptop filters use a clear, two-column dialog with the place types given room to scan. */
@media (min-width: 761px) {
  .club-filter-dialog {
    width: min(900px, calc(100vw - 56px));
    max-width: 900px;
    max-height: min(88vh, 860px);
    border-radius: 24px;
    box-shadow: 0 24px 90px rgba(18, 35, 27, .26);
  }
  .club-filter-dialog > header {
    padding: 18px 22px;
    border-bottom: 1px solid #e3e9e0;
    background: linear-gradient(120deg, #fff 0%, #f4f7f0 100%);
  }
  .club-filter-dialog > header h2 { color: #254b34; font-size: 1.45rem; }
  .club-filter-dialog > header button {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #edf2e9;
    font-size: 25px;
  }
  .club-filter-dialog .filter-intro { padding: 12px 22px 8px; font-size: .9rem; }
  .club-filter-dialog .club-filter-scroll { padding: 8px 20px 18px; }
  .club-filter-dialog .places-filter-shell {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
  }
  .club-filter-dialog #placesDrawer2 { grid-column: 1 / -1; }
  .club-filter-dialog #placesDrawer2 > .place-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .club-filter-dialog .place-filter-drawer { border-radius: 15px; box-shadow: 0 4px 14px rgba(31, 53, 43, .06); }
  .club-filter-dialog .place-filter-drawer > summary { min-height: 62px; padding: 12px 40px 12px 14px; }
  .club-filter-dialog .place-filter-drawer-hint { font-size: .75rem; }
  #memberPanel .club-filter-dialog .place-filter-drawer .filter-chip {
    min-height: 42px;
    border: 1px solid #e0e6dc;
    border-radius: 11px;
    background: #fff;
    font-size: .78rem;
  }
  #memberPanel .club-filter-dialog .place-filter-drawer .filter-chip:hover { background: #f2f6ef; border-color: #b9c8b4; }
  .club-filter-dialog .club-facility-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; padding: 4px 12px 12px; }
  .club-filter-dialog .club-facility-groups > section { min-width: 0; }
  .club-filter-dialog footer { gap: 14px; padding: 12px 20px; background: #fff; }
  .club-filter-dialog footer .primary { flex: 0 0 190px; }
}

@media (max-width: 1050px) {
  #memberPanel .member-tools-folders { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #memberPanel .hub-tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  #memberPanel .member-tab-panel > .member-panel-heading:first-child { gap: 16px; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > picture { width: 56% !important; flex-basis: 56%; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child h2 { font-size: clamp(1.8rem, 3.2vw, 2.35rem); }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child .panel-action-row .button { padding-inline: 10px; }
}

@media (max-width: 760px) {
  #member .page-shell { width: 100%; padding: 10px; }
  #memberLockedIntro { grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; padding: 9px; border-radius: 20px; }
  #memberLockedIntro .member-login-intro { gap: 8px; padding: 2px; }
  #memberLockedIntro .member-login-art { border-radius: 13px; }
  #memberLoginForm { gap: 11px; padding: 17px; border-radius: 17px; }
  #memberLoginForm .member-login-form-heading h1 { font-size: 1.8rem; }
  #memberPanel { width: 100%; max-width: none; }
  #memberPanel > .section-head.row {
    position: static;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 9px;
    margin-bottom: 10px;
    padding: 9px 11px;
    border-radius: 16px;
  }
  #memberPanel > .section-head.row::before { width: 42px; height: 42px; }
  #memberPanel > .section-head.row .eyebrow { display: none; }
  #memberPanel > .section-head.row h1 { font-size: 1.55rem; }
  #memberPanel > .section-head.row p:not(.eyebrow) { display: block; font-size: .72rem; line-height: 1.25; }
  #memberPanel > .section-head.row .button { min-height: 40px; padding: 7px 9px; font-size: .75rem; }
  #memberPanel .member-content { padding: 9px; border-radius: 20px; }
  #memberPanel .member-tab-panel { border-radius: 14px; }
  #memberPanel .hub-screen-top,
  #memberPanel .hub-screen-top > picture,
  #memberPanel .hub-screen-top .lcc-coastal-scene { border-radius: 13px; }
  #memberPanel .member-tools-compact { margin: 10px 0 !important; padding: 12px !important; border-radius: 14px !important; }
  #memberPanel .member-tools-folders { gap: 7px; }
  #memberPanel .member-tools-folders details > summary { grid-template-columns: 38px minmax(0, 1fr) 12px; gap: 7px; min-height: 55px; padding: 6px; }
  #memberPanel .member-tool-thumb { width: 38px; height: 38px; }
  #memberPanel .member-tools-folders summary strong { font-size: .78rem; }
  #memberPanel .hub-member-card { gap: 9px; padding: 9px 11px; }
  #memberPanel .hub-member-avatar { width: 40px; height: 40px; flex-basis: 40px; }
  #memberPanel .hub-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; }
  #memberPanel .photo-hub-card { border-radius: 13px !important; }
  #memberPanel .photo-hub-card .tile-image { aspect-ratio: 1.9 !important; }
  #memberPanel .photo-hub-card > strong { margin: 9px 10px 4px !important; font-size: .9rem !important; }
  #memberPanel .photo-hub-card > .photo-card-description { margin: 0 10px 7px !important; font-size: .74rem !important; line-height: 1.32 !important; }
  #memberPanel .photo-hub-card > .photo-card-action { margin: 0 10px !important; padding: 8px 0 !important; font-size: .73rem !important; }
  #memberPanel .hub-road-banner { margin-top: 10px; }
  #memberPanel .member-travel-links { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px; }
  #memberPanel .member-travel-links > span { grid-column: 1 / -1; padding: 0 2px; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child { flex-direction: column; align-items: stretch; gap: 9px; margin-bottom: 10px; padding: 8px !important; border-radius: 13px; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > picture { width: 100% !important; flex: 0 0 auto; border-radius: 8px; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > picture img { width: 100% !important; height: auto !important; object-fit: contain !important; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child h2 { font-size: 1.55rem; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child p { font-size: .76rem; line-height: 1.3; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > div,
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > .hub-back-button,
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > .panel-action-row,
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > .panel-heading-actions { padding: 0; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child .button { min-height: 36px; padding: 6px 9px; font-size: .76rem; }
}

@media (max-width: 380px) {
  #member .page-shell { padding: 6px; }
  #memberLockedIntro { padding: 6px; }
  #memberPanel .member-content { padding: 6px; }
  #memberPanel .member-tools-folders { grid-template-columns: minmax(0, 1fr) !important; }
  #memberPanel .member-tools-folders details > summary { grid-template-columns: 40px minmax(0, 1fr) 14px; min-height: 50px; }
  #memberPanel > .section-head.row h1 { font-size: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  #memberPanel *, #memberPanel *::before, #memberPanel *::after { scroll-behavior: auto; transition-duration: .01ms !important; }
}

/* Keep sign-in and the authenticated hub as mutually exclusive screens. */
#memberLockedIntro[hidden],
#memberPanel[hidden] { display: none !important; }

/* The member sections use the supplied banner at full width, like the main club hero. */
#memberPanel .member-tab-panel > .member-panel-heading:first-child {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 18px;
  row-gap: 0;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 12px;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(37, 75, 52, .12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 53, 43, .07);
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > picture {
  grid-column: 1 / -1;
  grid-row: 1;
  display: block !important;
  width: 100% !important;
  max-width: none;
  min-width: 0;
  height: auto !important;
  flex: none;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 0;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > picture img {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child > div:first-of-type {
  grid-column: 1;
  grid-row: 2;
  width: auto;
  min-width: 0;
  padding: 12px 18px;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child :is(.hub-back-button, .panel-action-row, .panel-heading-actions) {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  margin: 0;
  padding: 10px 16px;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child h2 {
  margin: 0;
  color: #254b34;
  font-size: clamp(1.9rem, 2.7vw, 2.5rem);
  line-height: 1.05;
  text-shadow: none;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child p {
  margin: 3px 0 0;
  color: #68776d;
  font-size: .88rem;
  line-height: 1.4;
}

#memberPanel .member-tab-panel > .member-panel-heading:first-child .eyebrow {
  margin-bottom: 3px;
  color: #a04b68;
  font-size: .76rem;
}

@media (min-width: 1200px) {
  #memberPanel .hub-tile-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 10px !important; }
}

@media (max-width: 760px) {
  #memberPanel .member-tab-panel > .member-panel-heading:first-child {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: 0;
    border-radius: 14px;
  }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > picture { grid-column: 1; grid-row: 1; width: 100% !important; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child > div:first-of-type { grid-column: 1; grid-row: 2; padding: 10px 12px; }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child :is(.hub-back-button, .panel-action-row, .panel-heading-actions) {
    grid-column: 1;
    grid-row: 3;
    justify-self: stretch;
    padding: 0 12px 10px;
  }
  #memberPanel .member-tab-panel > .member-panel-heading:first-child :is(.panel-action-row, .panel-heading-actions) { display: flex; flex-wrap: wrap; gap: 8px; }
}

/* Keep the hub focused: travel tools live in their dedicated member workspace. */
#memberPanel .member-travel-links { display: none !important; }

/* Event cards share the available desktop width instead of forming one long column. */
#memberPanel #memberEventsList {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}
#memberPanel #memberEventsList > .empty-member-state { grid-column: 1 / -1; }
#memberPanel #memberEventsList .event-photo-card {
  display: flex !important;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 20px;
}
#memberPanel #memberEventsList .event-photo-card > .event-cover,
#memberPanel #memberEventsList .event-photo-card > .event-illustration {
  display: block;
  width: 100%;
  height: auto;
  max-height: 210px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
#memberPanel #memberEventsList .event-photo-card > .event-illustration img { width: 100%; height: 100%; object-fit: cover; }
#memberPanel #memberEventsList .event-photo-card > .event-illustration figcaption { padding: 3px 12px; }
#memberPanel #memberEventsList .event-card-body { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 14px; }
#memberPanel #memberEventsList .event-card-body h3 { font-size: 1.12rem; line-height: 1.2; }
#memberPanel #memberEventsList .event-card-body :is(p, dd) { font-size: .88rem; line-height: 1.4; }
#memberPanel #memberEventsList .event-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Tighter membership dashboard and profile editor, without hiding member controls. */
#memberPanel .my-lcc-hero { grid-template-columns: minmax(0, 1.1fr) minmax(250px, .9fr); gap: 10px; }
#memberPanel .my-lcc-card { gap: 9px; padding: 16px; border-radius: 20px; }
#memberPanel .membership-card { min-height: 150px; }
#memberPanel .my-lcc-summary { gap: 9px; }
#memberPanel .my-lcc-section { gap: 9px; padding: 14px; border-radius: 20px; }
#memberPanel .profile-edit-form { gap: 10px; padding: 14px; }
#memberPanel .profile-photo-settings { display: grid; grid-template-columns: minmax(0, auto) auto; align-items: center; gap: 6px 12px; padding: 10px 14px; }
#memberPanel .profile-photo-settings p { grid-column: 1 / -1; margin: 0; }

/* Community keeps thread selection and the conversation side by side on wide screens. */
#memberPanel .community-board { grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: 10px; }
#memberPanel .community-thread-list { max-height: min(640px, 68vh); gap: 6px; padding: 8px; border-radius: 18px; }
#memberPanel .community-thread-detail { max-height: min(720px, 76vh); overflow: auto; overscroll-behavior: contain; }
#memberPanel .community-thread-open { min-height: 0; padding: 16px; border-radius: 18px; }
#memberPanel .community-comments, #memberPanel .community-reply-form { gap: 8px; padding: 10px; border-radius: 14px; }

@media (max-width: 1100px) {
  #memberPanel #memberEventsList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #memberPanel .my-lcc-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  #memberPanel #memberEventsList { grid-template-columns: minmax(0, 1fr); }
  #memberPanel #memberEventsList .event-photo-card > .event-cover,
  #memberPanel #memberEventsList .event-photo-card > .event-illustration { max-height: none; }
  #memberPanel .my-lcc-hero { grid-template-columns: minmax(0, 1fr); }
  #memberPanel .profile-photo-settings { grid-template-columns: minmax(0, 1fr); }
  #memberPanel .profile-photo-settings p { grid-column: 1; }
  #memberPanel .community-board { grid-template-columns: minmax(0, 1fr); }
  #memberPanel .community-thread-list { max-height: 52vh; }
  #memberPanel .community-thread-detail { max-height: none; overflow: visible; }
}

/* Laptop workspace layout for the two busy member panels. */
@media (min-width: 1101px) {
  #memberPanel .member-tab-panel[data-member-panel="community"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "heading heading"
      "new whisper"
      "admin safety"
      "result result"
      "feed feed";
    align-content: start;
    align-items: start;
    gap: 10px 14px;
  }
  #memberPanel .member-tab-panel[data-member-panel="community"][hidden] { display: none !important; }
  #memberPanel .member-tab-panel[data-member-panel="community"] > .member-panel-heading { grid-area: heading; width: 100%; }
  #memberPanel .member-tab-panel[data-member-panel="community"] > .community-composer:not(#communityWhisperBox):not(#adminContactBox) { grid-area: new; margin: 0; }
  #memberPanel #communityWhisperBox { grid-area: whisper; margin: 0; }
  #memberPanel #adminContactBox { grid-area: admin; margin: 0; }
  #memberPanel .member-tab-panel[data-member-panel="community"] > .community-safety-strip { grid-area: safety; align-self: stretch; margin: 0; padding: 12px 14px; border-radius: 14px; }
  #memberPanel .member-tab-panel[data-member-panel="community"] > .community-panel-result { grid-area: result; min-height: 0; margin: 0; }
  #memberPanel #communityFeed { grid-area: feed; width: 100%; min-width: 0; margin: 0; }
  #memberPanel #communityFeed .community-board { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 12px; }
  #memberPanel #communityFeed .community-thread-list { max-height: 62vh; }
  #memberPanel #communityFeed .community-thread-detail { max-height: 68vh; }

  #memberPanel .member-tab-panel[data-member-panel="mylcc"] {
    display: grid;
    grid-template-columns: minmax(340px, .86fr) minmax(520px, 1.14fr);
    grid-template-areas:
      "heading heading"
      "hero hero"
      "photo profile"
      "summary profile"
      "manage privacy"
      "notice notice";
    align-content: start;
    align-items: start;
    gap: 12px 16px;
  }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"][hidden] { display: none !important; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .member-panel-heading { grid-area: heading; width: 100%; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .my-lcc-hero { grid-area: hero; width: 100%; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .profile-photo-settings { grid-area: photo; width: auto; min-width: 0; margin: 0; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > #myLccSummary { grid-area: summary; width: 100%; min-width: 0; margin: 0; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .profile-edit-section { grid-area: profile; width: auto; min-width: 0; margin: 0; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .profile-edit-section .my-lcc-section-head { gap: 3px; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .profile-edit-section .my-lcc-section-head .muted { font-size: .8rem; line-height: 1.4; }
  #memberPanel #memberProfileForm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; }
  #memberPanel #memberProfileForm > label.wide { grid-column: auto !important; }
  #memberPanel #memberProfileForm > .result.wide { grid-column: 1 / -1 !important; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > a[href="/billing.html"] { grid-area: manage; justify-self: start; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > a[href="/api/member/privacy"] { grid-area: privacy; justify-self: start; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > p:last-child { grid-area: notice; margin: 0; font-size: .82rem; }
  #memberPanel .my-lcc-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* The supplied website header carries its own exact typography and line spacing. */
#home .mock-home { padding: 0 !important; }
#home .mock-phone-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
#home .mock-phone-shell > .mock-hero-card.lcc-coastal-hero {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#home .mock-phone-shell > :not(.lcc-coastal-hero) {
  width: min(calc(100% - 40px), 1180px);
  max-width: 1180px;
  margin-right: auto;
  margin-left: auto;
}

/* Refined desktop layouts: Community, Membership, review queues and Shop. */
@media (min-width: 1101px) {
  #memberPanel .member-tab-panel[data-member-panel="community"] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "heading heading" "new whisper" "admin safety" "result result" "feed feed";
    align-content: start;
    align-items: start;
    gap: 10px 14px;
  }
  #memberPanel .member-tab-panel[data-member-panel="community"][hidden] { display: none !important; }
  #memberPanel .member-tab-panel[data-member-panel="community"] > .member-panel-heading { grid-area: heading; width: 100%; }
  #memberPanel .member-tab-panel[data-member-panel="community"] > .community-composer:not(#communityWhisperBox):not(#adminContactBox) { grid-area: new; margin: 0; }
  #memberPanel #communityWhisperBox { grid-area: whisper; margin: 0; }
  #memberPanel #adminContactBox { grid-area: admin; margin: 0; }
  #memberPanel .member-tab-panel[data-member-panel="community"] > .community-safety-strip { grid-area: safety; align-self: stretch; margin: 0; padding: 12px 14px; border-radius: 16px; }
  #memberPanel .member-tab-panel[data-member-panel="community"] > .community-panel-result { grid-area: result; min-height: 0; margin: 0; }
  #memberPanel #communityFeed { grid-area: feed; width: 100%; min-width: 0; margin: 0; }
  #memberPanel #communityFeed .community-board { grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 12px; }
  #memberPanel #communityFeed .community-thread-list { max-height: 62vh; }
  #memberPanel #communityFeed .community-thread-detail { max-height: 68vh; }

  #memberPanel .member-tab-panel[data-member-panel="mylcc"] {
    display: grid;
    grid-template-columns: minmax(340px, .86fr) minmax(520px, 1.14fr);
    grid-template-areas: "heading heading" "hero hero" "photo profile" "summary profile" "manage privacy" "notice notice";
    align-content: start;
    align-items: start;
    gap: 12px 16px;
  }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"][hidden] { display: none !important; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .member-panel-heading { grid-area: heading; width: 100%; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .my-lcc-hero { grid-area: hero; width: 100%; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .profile-photo-settings { grid-area: photo; width: auto; min-width: 0; margin: 0; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > #myLccSummary { grid-area: summary; width: 100%; min-width: 0; margin: 0; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .profile-edit-section { grid-area: profile; width: auto; min-width: 0; margin: 0; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .profile-edit-section .my-lcc-section-head { gap: 3px; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > .profile-edit-section .my-lcc-section-head .muted { font-size: .8rem; line-height: 1.4; }
  #memberPanel #memberProfileForm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 12px; }
  #memberPanel #memberProfileForm > label.wide { grid-column: auto !important; }
  #memberPanel #memberProfileForm > .result.wide { grid-column: 1 / -1 !important; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > a[href="/billing.html"] { grid-area: manage; justify-self: start; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > a[href="/api/member/privacy"] { grid-area: privacy; justify-self: start; }
  #memberPanel .member-tab-panel[data-member-panel="mylcc"] > p:last-child { grid-area: notice; margin: 0; font-size: .82rem; }
  #memberPanel .my-lcc-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* Submissions queue uses the current section banner, compact review cards and readable forms. */
#adminPanel [data-admin-page="submissionQueue"] > .admin-submissions-heading,
#adminPanel [data-admin-page="shopAdminPanel"] > .admin-shop-heading { margin: 0 0 14px; }
#adminPanel [data-admin-page="submissionQueue"] .admin-guidance-grid,
#adminPanel [data-admin-page="shopAdminPanel"] .admin-guidance-grid { gap: 10px; margin-bottom: 14px; }
#adminPanel [data-admin-page="submissionQueue"] .admin-guidance-grid article,
#adminPanel [data-admin-page="shopAdminPanel"] .admin-guidance-grid article { padding: 12px; border: 1px solid #dce4d8; border-radius: 16px; box-shadow: none; }
#adminPanel [data-admin-page="submissionQueue"] .admin-guidance-grid article p,
#adminPanel [data-admin-page="shopAdminPanel"] .admin-guidance-grid article p { font-size: .82rem; line-height: 1.4; }
#adminPanel #submissionQueue .editable-submission { grid-template-columns: minmax(0, 1fr) minmax(170px, 210px); gap: 14px; padding: 16px; border: 1px solid #dce4d8; border-left: 4px solid #b94b70; border-radius: 18px; box-shadow: 0 4px 14px rgba(31,53,43,.05); }
#adminPanel #submissionQueue .editable-submission > div:first-child { min-width: 0; }
#adminPanel #submissionQueue .editable-submission h3 { margin: 5px 0; font-size: 1.12rem; }
#adminPanel #submissionQueue .submission-edit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; border-radius: 14px; }
#adminPanel #submissionQueue .submission-edit-grid .wide { grid-column: 1 / -1; }
#adminPanel #submissionQueue .submission-edit-grid label { min-width: 0; font-size: .84rem; }
#adminPanel #submissionQueue .submission-edit-grid textarea { min-height: 72px; }
#adminPanel #submissionQueue .admin-actions { align-content: start; position: sticky; top: 12px; }

/* Shop administration: keep the product list visible and open the long editor on demand. */
#adminPanel .shop-product-editor { margin: 0 0 14px; border: 1px solid #dce4d8; border-radius: 16px; box-shadow: none; }
#adminPanel .shop-product-editor > summary { padding: 11px 14px; }
#adminPanel .shop-product-editor > .shop-admin-form { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 14px; border-radius: 0 0 16px 16px; }
#adminPanel .shop-admin-form > label { min-width: 0; font-size: .84rem; }
#adminPanel .shop-admin-form > label.wide { grid-column: span 2; }
#adminPanel .shop-admin-form > .shop-form-section { grid-column: 1 / -1; }
#adminPanel .shop-admin-form > textarea,
#adminPanel .shop-admin-form textarea { min-height: 66px; }
#adminPanel #shopAdminPanel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#adminPanel #shopAdminPanel .shop-admin-card { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-content: start; padding: 12px; border: 1px solid #dce4d8; border-radius: 16px; box-shadow: 0 4px 14px rgba(31,53,43,.05); }
#adminPanel #shopAdminPanel .shop-admin-card > img { grid-column: 1; grid-row: 1; width: 104px; height: 104px; min-height: 0; aspect-ratio: 1; border-radius: 12px; }
#adminPanel #shopAdminPanel .shop-admin-card > div:nth-child(2) { grid-column: 2; min-width: 0; }
#adminPanel #shopAdminPanel .shop-admin-card > .admin-actions { grid-column: 2; grid-row: 2; justify-content: flex-start; }
#adminPanel #shopAdminPanel .shop-notes-card { grid-column: 1 / -1; }
#adminPanel #shopAdminPanel .shop-notes-card .shop-order-note-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
#adminPanel #shopAdminPanel .shop-notes-card .shop-order-note-list > div { min-width: 0; padding: 12px; border-radius: 14px; }

@media (max-width: 1100px) {
  #adminPanel .shop-admin-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #adminPanel #shopAdminPanel { grid-template-columns: minmax(0, 1fr); }
  #adminPanel #shopAdminPanel .shop-notes-card .shop-order-note-list { grid-template-columns: minmax(0, 1fr); }
}

/* Matching coastal section headers for admin review and shop panels. */
#adminPanel :is(.admin-submissions-heading,.admin-shop-heading) {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  grid-template-rows:auto auto;
  align-items:end;
  gap:0;
  width:100%;
  overflow:hidden;
  margin:0 0 14px;
  padding:0;
  border:1px solid #dce4d8;
  border-radius:18px;
  background:#fff;
}
#adminPanel :is(.admin-submissions-heading,.admin-shop-heading) > .lcc-header-picture {
  display:block;
  grid-column:1/-1;
  grid-row:1;
  width:100%;
  margin:0;
  padding:0;
  overflow:hidden;
  line-height:0;
}
#adminPanel :is(.admin-submissions-heading,.admin-shop-heading) > .lcc-header-picture img {
  display:block;
  position:static;
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:auto;
  object-fit:contain;
}
#adminPanel :is(.admin-submissions-heading,.admin-shop-heading) > div:not(.panel-action-row) { grid-column:1; grid-row:2; min-width:0; padding:12px 16px; }
#adminPanel :is(.admin-submissions-heading,.admin-shop-heading) > .panel-action-row { grid-column:2; grid-row:2; display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; padding:10px 14px; }
#adminPanel :is(.admin-submissions-heading,.admin-shop-heading) h2 { margin:0; color:#254b34; font-size:clamp(1.7rem,2.8vw,2.35rem); line-height:1.1; }
#adminPanel :is(.admin-submissions-heading,.admin-shop-heading) p { margin:3px 0 0; color:#68776d; font-size:.86rem; line-height:1.4; }
@media(min-width:1200px) {
  #adminPanel [data-admin-page="shopAdminPanel"] > .admin-guidance-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media(max-width:760px) {
  #adminPanel :is(.admin-submissions-heading,.admin-shop-heading) { grid-template-columns:minmax(0,1fr); }
  #adminPanel :is(.admin-submissions-heading,.admin-shop-heading) > div:not(.panel-action-row) { grid-column:1; grid-row:2; padding:10px 12px; }
  #adminPanel :is(.admin-submissions-heading,.admin-shop-heading) > .panel-action-row { grid-column:1; grid-row:3; justify-content:flex-start; padding:0 12px 12px; }
  #adminPanel #submissionQueue .editable-submission { grid-template-columns:minmax(0,1fr); }
  #adminPanel #submissionQueue .admin-actions { position:static; }
  #adminPanel #submissionQueue .submission-edit-grid { grid-template-columns:minmax(0,1fr); }
  #adminPanel #submissionQueue .submission-edit-grid .wide { grid-column:auto; }
  #adminPanel #shopAdminPanel .shop-admin-card { grid-template-columns:82px minmax(0,1fr); }
  #adminPanel #shopAdminPanel .shop-admin-card > img { width:82px; height:82px; }
}

@media(max-width:520px) {
  #home .mock-phone-shell > :not(.lcc-coastal-hero) { width:calc(100% - 24px); }
  #adminPanel .shop-admin-form { grid-template-columns:minmax(0,1fr); }
  #adminPanel .shop-admin-form > label.wide { grid-column:auto; }
  #adminPanel #shopAdminPanel .shop-admin-card { grid-template-columns:minmax(0,1fr); }
  #adminPanel #shopAdminPanel .shop-admin-card > img { grid-column:1; grid-row:auto; width:100%; height:auto; max-height:220px; aspect-ratio:16 / 9; }
  #adminPanel #shopAdminPanel .shop-admin-card > div:nth-child(2),
  #adminPanel #shopAdminPanel .shop-admin-card > .admin-actions { grid-column:1; grid-row:auto; }
}
