.shore-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(210px, 22vw, 300px);
  color: #fbf8ee;
  background: #11282f;
}
.shore-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg,#071b21f7 0%,#112730cf 36%,#13252d23 78%),
    linear-gradient(0deg,#061c274d,transparent 65%), center 55% / cover url('/assets/port-dawn.webp');
}
.shore-hero-copy {
  display: grid;
  width: min(100%,39rem);
  padding: clamp(1.35rem,3.7vw,3.25rem);
  align-content: center;
}
.shore-hero .eyebrow {
  gap: .55rem;
  color: #a7ecdb;
  letter-spacing: .08em;
  font-size: .8125rem;
  line-height: 1.4;
}
.shore-port-chooser {
  display: grid;
  justify-items: start;
  width: fit-content;
  max-width: 100%;
  margin-top: .9rem;
}
.shore-port-chooser > span:first-child { font-size: .875rem; color: #d7e4e2; }
.shore-port-control {
  display: flex;
  align-items: center;
  max-width: 100%;
  gap: .65rem;
  min-height: 48px;
  padding: .02em .1em .08em 0;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid #b6d4cd80;
  text-align: start;
  font: 600 clamp(2rem,4.4vw,4.75rem)/1.18 var(--mc-display, Georgia, serif);
  letter-spacing: -.035em;
  background: transparent;
  color: #fff9ed;
}
.shore-port-control > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.shore-port-control:focus-visible { outline: 2px solid #a7ecdb; outline-offset: 3px; }
.shore-edit-port { justify-self: start; border: 0; background: transparent; color: #dbeeea; text-decoration: underline; margin-top: .5rem; padding: .35rem 0; }
.shore-picker {
  box-sizing: border-box;
  width: min(35rem,calc(100% - 1.25rem));
  max-width: none;
  max-height: calc(100dvh - 1.25rem);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--mc-theme-outline);
  border-radius: 14px;
  background: var(--mc-theme-panel);
  color: var(--mc-theme-bright);
}
.shore-picker [hidden] { display: none; }
.shore-picker::backdrop { background: #07151bc4; }
.shore-picker-body { display: grid; gap: .85rem; padding: clamp(.9rem,3vw,1.5rem); }
.shore-picker-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .65rem; }
.shore-picker-head h2 { margin: 0; font: 600 clamp(1.4rem,4.5vw,2.05rem)/1.2 var(--mc-display,Georgia,serif); overflow-wrap: anywhere; }
.shore-picker-head .icon-button { flex: none; }
.shore-picker :is(.button,.icon-button,input) { min-height: 44px; }
.shore-picker input { width: 100%; min-width: 0; font-size: 1rem; }
.shore-picker [data-port-browse] { min-width: 0; }
.shore-picker-tools,.shore-picker-actions { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .55rem; }
.shore-picker-actions .button { max-width: 100%; overflow-wrap: anywhere; }
.shore-picker-note:not(:empty), [data-port-catalog-status]:not(:empty) { margin-top: .5rem; }
.shore-picker .shore-source { margin: 0; }
.shore-picker-count { margin: .7rem 0 .35rem; }
.shore-port-list {
  list-style: none;
  display: grid;
  margin: 0;
  padding: 0 .2rem;
  max-height: min(39dvh,21rem);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.shore-port-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  min-height: 48px;
  padding: .65rem .45rem;
  border: 0;
  border-bottom: 1px solid var(--mc-theme-quiet-outline);
  text-align: start;
  background: transparent;
  color: var(--mc-theme-bright);
}
.shore-port-result > span:first-child { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.shore-port-result strong, .shore-port-result small { display: block; }
.shore-port-result small { color: var(--mc-theme-muted); font-size: .83rem; }
.shore-port-result:is(:hover,[aria-current]) { color: var(--mc-theme-lime); background: var(--mc-theme-panel-raised); }
.shore-port-result:focus-visible { outline-offset: -2px; }
.shore-port-code { flex: none; font-variant-numeric: tabular-nums; color: var(--mc-theme-sea); font-size: .86rem; }
.shore-picker-credit { font-size: .8rem; color: var(--mc-theme-muted); }
.shore-picker-credit:not(:empty) { margin-top: .85rem; }
.shore-picker-credit a { color: var(--mc-theme-sea); text-decoration: underline; }
.shore-personal-form { gap: .75rem; }
.shore-personal-form .form-error { margin: 0; }
.shore-port-details { display: flex; align-items: center; gap: .45rem; margin-top: 1rem; color: #e4efed; font-size: .94rem; overflow-wrap: anywhere; }
.shore-grid {
  display: grid;
  grid-template-columns: minmax(0,1.9fr) minmax(15rem,1fr);
  align-items: start;
  gap: clamp(.875rem,2vw,1.5rem);
  margin-top: clamp(.875rem,2vw,1.5rem);
}
.shore-panel {
  display: grid;
  min-width: 0;
  gap: 1rem;
  padding: clamp(1rem,2.3vw,1.65rem);
  overflow-wrap: anywhere;
}
.shore-panel .shore-side-heading {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: 1.22rem;
  line-height: 1.25;
}
.shore-side-heading svg { color: var(--mc-theme-sea); }
.shore-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem;
  padding: .25rem;
  border: 1px solid var(--mc-theme-outline);
  border-radius: .7rem;
  background: var(--mc-theme-background);
}
.shore-panel .shore-tabs .chip {
  flex: 1 1 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid transparent;
  border-radius: .45rem;
  color: var(--mc-theme-muted);
  background: transparent;
  font-size: .94rem;
  line-height: 1.4;
}
.shore-panel .shore-tabs .chip:is(.on,:hover) {
  color: var(--mc-theme-bright);
  background: var(--mc-theme-panel-raised);
  border-color: var(--mc-theme-outline);
}
.shore-panel .shore-tabs .chip.on svg { color: var(--mc-theme-sea); }
.shore-shopping, .shore-fields label, .shore-field { display: grid; gap: .4rem; min-width: 0; }
.shore-shopping > p, .shore-fields label, .shore-field { font-size: .94rem; font-weight: 650; }
.shore-shopping .actions { gap: .375rem; }
.shore-shopping .chip { min-height: 40px; font-size: .875rem; }
.shore-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; }
.shore-grid :is(input,select,.button) { min-height: 44px; }
.shore-grid :is(input,select) { min-width: 0; font-size: 1rem; }
.shore-venues { display: grid; margin-top: .6rem; }
.shore-directory { margin: 1.25rem 0; }
.shore-panel .shore-directory > h3 { font-size: 1.32rem; }
.shore-venue, .shore-comparison, .shore-quote {
  padding: 1rem;
  border: 1px solid var(--mc-theme-outline);
  border-radius: .7rem;
  overflow-wrap: anywhere;
}
.shore-venue { display: grid; gap: .65rem; justify-items: start; border-radius: 0; border-width: 1px 0 0; padding: 1rem 0; }
.shore-venue h3, .shore-comparison h3 { font-size: 1.13rem; line-height: 1.4; }
.shore-grid .secondary { font-size: .94rem; line-height: 1.55; }
.shore-tags, .shore-result-actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.shore-tags span {
  padding: .125rem .52rem;
  border-radius: .25rem;
  color: var(--mc-theme-sea);
  background: var(--mc-theme-sea-dark);
  font-size: .8125rem;
  font-weight: 650;
}
.shore-source, .shore-alert {
  padding: .75rem .9rem;
  border-left: .2rem solid var(--mc-theme-gold);
  border-radius: .15rem .45rem .45rem .15rem;
  color: var(--mc-theme-bright);
  background: var(--mc-theme-panel-raised);
}
.shore-source b, .shore-alert b { color: var(--mc-theme-gold); }
[data-shore-results] > .secondary, [data-shore-results] > .shore-source, .shore-result-actions, .shore-comparison { margin-bottom: .7rem; }
.shore-comparison h3 { display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: baseline; }
.shore-comparison h3 small, .shore-price small { font-size: .8125rem; color: var(--mc-theme-muted); }
.shore-comparison ul { list-style: none; margin: .6rem 0 0; padding: 0; }
.shore-price { display: flex; flex-wrap: wrap; gap: .45rem .8rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--mc-theme-quiet-outline); }
.shore-price:last-child { padding-bottom: 0; }
.shore-price > div { flex: 1 1 110px; }
.shore-price strong { color: var(--mc-theme-lime); font-variant-numeric: tabular-nums; white-space: nowrap; }
.shore-price small { display: block; }
.shore-private { margin-top: 1.1rem; }
.shore-private > .secondary { margin: .25rem 0 .6rem; }
.shore-quote summary { cursor: pointer; font-weight: 700; }
.shore-quote .form { margin-top: .8rem; }
.shore-watch { display: grid; gap: .75rem; }
.shore-alert-link { display: flex; align-items: center; gap: .75rem; justify-content: space-between; flex-wrap: wrap; margin-bottom: .8rem; }
.shore-alert-link p { color: var(--mc-theme-muted); }
@media (max-width: 980px) { .shore-grid { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 690px) {
  .nav { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .nav a { white-space: normal; text-align: center; overflow-wrap: anywhere; }
  .footer { padding-bottom: max(108px,calc(104px + env(safe-area-inset-bottom))); }
}
@media (max-width: 460px) {
  .shore-hero::before { background-image: linear-gradient(90deg,#071b21f5,#122932b8 68%,#13252d80),url('/assets/port-dawn.webp'); background-size: cover; background-position: center; }
  .shore-fields { grid-template-columns: 1fr; }
  .shore-panel .shore-tabs .chip { flex-basis: 40%; }
  .shore-grid { gap: .75rem; }
}
