@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Source+Sans+3:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/*!
 * Cruise Port Guide Builder v2.14.1
 * The builder now owns its typography and colour rather than inheriting the
 * theme, so it reads the same on every site: Jost for headings and figures,
 * Source Sans 3 for text, one ocean blue, one sand accent for stops with no
 * guide yet.
 */

#cpgb{
  --cp-accent:      #0b6ea3;
  --cp-accent-dark: #084c72;
  --cp-accent-soft: #f4fafd;
  --cp-ink:         #10222e;
  --cp-ink-soft:    #35505f;
  --cp-mid:         #5b7383;
  --cp-quiet:       #8598a5;
  --cp-rule:        #e6edf1;
  --cp-field:       #d4dfe6;
  --cp-row:         #f4f7f9;
  --cp-row-hover:   #eef4f8;
  --cp-sea:         #f7f8f9;
  --cp-sea-rule:    #dde4e9;
  --cp-dot:         #c6d4dd;
  --cp-sand:        #a97722;
  --cp-sand-bg:     #fdf7ec;
  --cp-sand-rule:   #f0dfc0;

  --cp-head: 'Jost', 'Futura', 'Century Gothic', sans-serif;
  --cp-body: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;

  font-family: var(--cp-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cp-ink);
}
#cpgb *{ box-sizing: border-box; }
#cpgb input, #cpgb select, #cpgb textarea, #cpgb button{
  font-family: var(--cp-body);
  box-sizing: border-box;
  max-width: 100%;
}

/* --------------------------------------------------------------- sections */
#cpgb .cpgb-section{
  padding: 0 0 32px;
  margin: 0 0 32px;
  border-bottom: 1px solid var(--cp-rule);
}
#cpgb .cpgb-section.cpgb-last{ border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
#cpgb .cpgb-title{
  margin: 0 0 6px;
  font-family: var(--cp-head);
  font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em;
  color: var(--cp-ink);
}
#cpgb .cpgb-note{ margin: 0 0 22px; font-size: 16px; color: var(--cp-mid); }

/* ------------------------------------------------------------------ forms */
#cpgb .cpgb-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
#cpgb .cpgb-field{ display: block; }
#cpgb .cpgb-field > span:not(.cpgb-combo){
  display: block; margin-bottom: 7px;
  font-size: 14px; font-weight: 600; color: var(--cp-ink-soft);
}
#cpgb .cpgb-field > .cpgb-combo{ font-weight: 400; font-size: 16px; }
#cpgb .cpgb-field em{ font-weight: 400; font-style: normal; color: var(--cp-mid); }

#cpgb input[type=text], #cpgb input[type=date], #cpgb input[type=email],
#cpgb select, #cpgb textarea{
  color-scheme: light;
  width: 100%;
  height: 48px;
  padding: 0 13px;
  font-size: 16px; font-weight: 400;
  color: var(--cp-ink);
  background: #fff;
  border: 1px solid var(--cp-field);
  border-radius: 9px;
  box-shadow: none;
  transition: border-color .12s, box-shadow .12s;
}
#cpgb textarea{ height: auto; min-height: 130px; padding: 13px; line-height: 1.55; resize: vertical; }
#cpgb input:focus, #cpgb select:focus, #cpgb textarea:focus{
  outline: none;
  border-color: var(--cp-accent);
  box-shadow: 0 0 0 3px rgba(11,110,163,.15);
}
#cpgb ::placeholder{ color: var(--cp-quiet); opacity: 1; }

/* ------------------------------------------------------------ quick start */
#cpgb .cpgb-quickstart{ margin: 0 0 18px; font-size: 15px; color: var(--cp-mid); }
#cpgb .cpgb-quickstart select{
  width: auto; display: inline-block; height: 38px; padding: 0 10px;
  vertical-align: baseline; font-size: 15px; max-width: 20em;
}
#cpgb .cpgb-quickstart[hidden]{ display: none; }

#cpgb .cpgb-paste-panel{ margin: 0 0 20px; }
#cpgb .cpgb-paste-panel[hidden]{ display: none; }
#cpgb .cpgb-paste-panel > p{ font-size: 16px; color: var(--cp-mid); margin: 0 0 10px; }
#cpgb .cpgb-paste-actions{ display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 12px 0 0; }
#cpgb .cpgb-paste-note{ font-size: 15px; color: var(--cp-accent-dark); }

/* -------------------------------------------------------------------- map */
#cpgb .cpgb-mapwrap{ margin: 0 0 22px; }
#cpgb .cpgb-mapwrap[hidden]{ display: none; }
#cpgb .cpgb-map{
  height: 380px; width: 100%;
  border: 1px solid var(--cp-rule);
  border-radius: 12px;
  overflow: hidden;
  background: #b6dbe8;
}
#cpgb .cpgb-mapnote{ margin: 9px 0 0; font-size: 14px; color: var(--cp-mid); }
#cpgb .cpgb-port-wrap, #cpgb .cpgb-arrow-wrap{ background: none; border: none; }
#cpgb .cpgb-port{
  display: block; width: 11px; height: 11px; border-radius: 50%;
  background: var(--cp-accent); box-shadow: 0 0 0 2.5px #fff, 0 2px 5px rgba(16,34,46,.35);
}
#cpgb .cpgb-port-start{ background: #fff; box-shadow: 0 0 0 3px var(--cp-accent), 0 2px 5px rgba(16,34,46,.3); }
#cpgb .cpgb-portlabel{
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--cp-head);
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: #16323f; white-space: nowrap;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 5px #fff, 0 0 7px #fff;
  pointer-events: none;
}
#cpgb .cpgb-portlabel.cpgb-label-left{ left: auto; right: 16px; }
#cpgb .cpgb-portlabel[hidden]{ display: none; }
#cpgb .cpgb-arrow{
  display: block; width: 0; height: 0;
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-bottom: 8px solid #16323f;
}
.leaflet-container{ font-family: var(--cp-body); }
.leaflet-container a{ color: var(--cp-accent); }

/* ----------------------------------------------------------------- search */
#cpgb .cpgb-combo{ position: relative; display: block; }
#cpgb-search{
  height: 56px;
  padding: 0 16px 0 44px;
  font-size: 17px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6ea3' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4'/%3E%3C/svg%3E") no-repeat 15px 50%;
  background-size: 20px 20px;
  border-radius: 10px;
}
#cpgb .cpgb-listbox{
  position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0;
  margin: 0; padding: 6px; list-style: none;
  background: #fff; color: var(--cp-ink);
  border: 1px solid #dbe4ea; border-radius: 10px;
  max-height: 320px; overflow: auto;
  box-shadow: 0 22px 44px -22px rgba(16,40,60,.45);
}
#cpgb .cpgb-listbox[hidden]{ display: none; }
#cpgb .cpgb-listbox li{
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 12px; cursor: pointer;
  font-size: 16px; font-weight: 600;
  border-radius: 7px;
  color: var(--cp-ink); background: #fff;
}
#cpgb .cpgb-listbox li small{ color: var(--cp-mid); font-size: 14px; font-weight: 400; flex: none; }
#cpgb .cpgb-listbox li.cpgb-active, #cpgb .cpgb-listbox li:hover{ background: var(--cp-accent-soft); }
#cpgb .cpgb-listbox li.cpgb-nores{ color: var(--cp-mid); cursor: default; font-size: 15px; font-weight: 400; }

/* add a sea day, add an uncovered port: chips rather than text links */
#cpgb .cpgb-adds{ display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 0; }
#cpgb .cpgb-adds .cpgb-dot{ display: none; }
#cpgb .cpgb-adds .cpgb-link{
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; padding: 0 15px;
  border: 1px solid var(--cp-field); border-radius: 19px;
  font-size: 14px; font-weight: 500; color: var(--cp-ink-soft);
  text-decoration: none;
  transition: border-color .12s, color .12s;
}
#cpgb .cpgb-adds .cpgb-link:hover:not(:disabled){ border-color: var(--cp-accent); color: var(--cp-accent); background: #fff; }

#cpgb .cpgb-loading{ margin: 16px 0 0; font-size: 16px; color: var(--cp-mid); }
#cpgb .cpgb-loading[hidden]{ display: none; }

/* -------------------------------------------------------------- stop list */
#cpgb .cpgb-stops{ list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
#cpgb .cpgb-stop{
  display: grid;
  grid-template-columns: 66px 1fr auto;
  align-items: center; gap: 0 20px;
  background: var(--cp-row);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 15px 16px 15px 12px;
  margin: 0;
  transition: background .12s;
}
#cpgb .cpgb-stop:hover{ background: var(--cp-row-hover); }
#cpgb .cpgb-stop.cpgb-dragging{ opacity: .4; }
#cpgb .cpgb-stop.cpgb-sea-row{ background: var(--cp-sea); border-style: dashed; border-color: var(--cp-sea-rule); }
#cpgb .cpgb-stop.cpgb-sea-row:hover{ background: #f2f5f7; }

#cpgb .cpgb-daycol{
  position: relative; text-align: center; line-height: 1.1;
  padding-right: 20px;
}
#cpgb .cpgb-daycol::after{
  content: ""; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  height: 76%; border-right: 2px dotted var(--cp-dot);
}
#cpgb .cpgb-daylabel{
  display: block;
  font-family: var(--cp-head);
  font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--cp-accent);
}
#cpgb .cpgb-daynum{
  display: block; margin-top: 3px;
  font-family: var(--cp-head);
  font-size: 32px; font-weight: 700; line-height: 1;
  color: var(--cp-accent); font-variant-numeric: tabular-nums;
}
#cpgb .cpgb-sea-row .cpgb-daylabel, #cpgb .cpgb-sea-row .cpgb-daynum{ color: var(--cp-quiet); }
#cpgb .cpgb-sea-row .cpgb-daycol::after{ border-right-color: #d5dde3; }

#cpgb .cpgb-stopbody{ min-width: 0; }
#cpgb .cpgb-stopname{
  display: block; font-size: 18px; font-weight: 700; color: var(--cp-ink);
  line-height: 1.3;
}
#cpgb .cpgb-stopname a{ color: inherit; text-decoration: none; }
#cpgb .cpgb-stopname a:hover{ color: var(--cp-accent); text-decoration: underline; }
#cpgb .cpgb-sea-row .cpgb-stopname{ font-weight: 600; font-size: 17px; color: var(--cp-ink-soft); }
#cpgb .cpgb-stopdate{ display: block; margin-top: 3px; font-size: 15px; color: #4a6272; }
#cpgb .cpgb-sea-row .cpgb-stopdate{ color: #7c909e; }

/* a stop we have no guide for: sand, not silent */
#cpgb .cpgb-nogu{
  display: inline-block; margin-left: 8px;
  font-style: normal; font-weight: 600; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--cp-sand);
}
#cpgb .cpgb-stopname input[type=text]{
  display: inline-block; width: min(100%, 20ch); height: 34px;
  font-size: 17px; font-weight: 700; color: var(--cp-ink);
  padding: 0; background: none;
  border: none; border-bottom: 1px dotted var(--cp-field); border-radius: 0;
}
#cpgb .cpgb-stopname input[type=text]:focus{ box-shadow: none; border-bottom: 1px solid var(--cp-accent); }

#cpgb .cpgb-times{ display: block; margin-top: 3px; font-size: 15px; }
#cpgb .cpgb-timetext{ color: var(--cp-mid); }
#cpgb .cpgb-times-idle .cpgb-timetext{ display: none; }
#cpgb .cpgb-times-open .cpgb-timetoggle{ display: none; }
#cpgb .cpgb-times-open .cpgb-timefields{ display: none; }
#cpgb .cpgb-times-editing .cpgb-timetext{ display: none; }
#cpgb .cpgb-times-editing .cpgb-timefields{ display: inline-flex; }
#cpgb .cpgb-times-editing .cpgb-timetoggle{ display: none; }
#cpgb .cpgb-timetext{ cursor: pointer; border-bottom: 1px dotted #9fb2be; }
#cpgb .cpgb-timefields{ display: none; align-items: center; gap: 6px; flex-wrap: wrap; }
#cpgb .cpgb-timefields label{ display: inline-flex; align-items: center; gap: 5px; color: var(--cp-mid); font-size: 14px; }
#cpgb input[type=time]{
  width: auto; height: 36px; font-size: 15px; padding: 0 8px;
  font-variant-numeric: tabular-nums;
  color: var(--cp-ink-soft); background: #fff;
  border: 1px solid var(--cp-field); border-radius: 7px;
}
#cpgb input[type=time]:focus{ border-color: var(--cp-accent); box-shadow: none; }

#cpgb .cpgb-rowbtns{ display: flex; gap: 2px; align-items: center; }
#cpgb .cpgb-rowbtns button{
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0;
  background: none; border: none; border-radius: 7px;
  color: #9fb2be; cursor: pointer;
  transition: color .12s, background .12s;
}
#cpgb .cpgb-rowbtns button svg{ width: 15px; height: 15px; }
#cpgb .cpgb-rowbtns button:hover:not(:disabled){ color: var(--cp-ink-soft); background: #fff; }
#cpgb .cpgb-rowbtns button:disabled{ opacity: .3; cursor: default; }
#cpgb .cpgb-rowbtns .cpgb-del:hover{ color: #b3261e; background: #fff; }

#cpgb .cpgb-empty{
  margin: 16px 0 0; padding: 26px 20px; text-align: center;
  border: 1px dashed var(--cp-sea-rule); border-radius: 10px;
  font-size: 16px; color: #7c909e; font-style: normal;
}
#cpgb .cpgb-empty[hidden]{ display: none; }
#cpgb .cpgb-dupwarn{
  margin: 14px 0 0; padding: 14px 16px;
  border: 1px solid var(--cp-sand-rule); border-radius: 10px;
  background: var(--cp-sand-bg);
  font-size: 15px; color: var(--cp-ink-soft);
}
#cpgb .cpgb-dupwarn[hidden]{ display: none; }

/* ------------------------------------------------------------ guide style */
#cpgb .cpgb-choices{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 24px; }
#cpgb .cpgb-choice{
  display: flex; gap: 12px; align-items: flex-start;
  padding: 18px; cursor: pointer;
  border: 1.5px solid #dde5ea; border-radius: 11px; background: #fff;
  transition: border-color .12s, background .12s;
}
#cpgb .cpgb-choice:hover{ border-color: #b7c8d3; }
#cpgb .cpgb-choice:has(input:checked){ border-color: var(--cp-accent); background: var(--cp-accent-soft); }
#cpgb .cpgb-choice input{ margin: 3px 0 0; accent-color: var(--cp-accent); flex: none; width: 18px; height: 18px; }
#cpgb .cpgb-choice span{ font-size: 15px; color: var(--cp-mid); line-height: 1.5; }
#cpgb .cpgb-choice strong{ display: block; margin-bottom: 3px; font-size: 17px; color: var(--cp-ink); font-weight: 600; }

#cpgb .cpgb-checks{ display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
#cpgb .cpgb-check{ display: flex; gap: 11px; align-items: flex-start; cursor: pointer; }
#cpgb .cpgb-check input{ margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--cp-accent); flex: none; }
#cpgb .cpgb-check span{ font-size: 16px; color: var(--cp-ink-soft); line-height: 1.5; }
#cpgb .cpgb-check em{ font-style: normal; color: var(--cp-mid); }

/* ---------------------------------------------------------------- actions */
#cpgb .cpgb-optin{ margin-bottom: 12px; }
#cpgb-subemail{ max-width: 320px; margin-bottom: 20px; }
#cpgb .cpgb-actions{ margin-top: 6px; }
#cpgb .cpgb-summary{ margin: 12px 0 0; font-size: 16px; font-weight: 600; color: var(--cp-ink); }
#cpgb .cpgb-secondary{ display: flex; align-items: center; gap: 18px; margin: 12px 0 0; font-size: 15px; color: var(--cp-mid); }
#cpgb .cpgb-secondary .cpgb-dot{ display: none; }
#cpgb .cpgb-status{ margin: 12px 0 0; font-size: 15px; color: var(--cp-accent-dark); }
#cpgb .cpgb-status:empty{ display: none; }
#cpgb .cpgb-trouble{
  margin: 0 0 16px; padding: 14px 16px;
  border: 1px solid #eccfcb; border-radius: 10px; background: #fdf4f3;
  font-size: 15px; color: var(--cp-ink-soft);
}
#cpgb .cpgb-trouble[hidden]{ display: none; }

#cpgb .cpgb-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 24px;
  font-size: 16px; font-weight: 600; line-height: 1;
  cursor: pointer;
  color: #fff; background: var(--cp-accent);
  border: none; border-radius: 10px;
  transition: background .12s;
}
#cpgb .cpgb-btn:hover:not(:disabled){ background: var(--cp-accent-dark); }
#cpgb .cpgb-btn:disabled{
  cursor: not-allowed; opacity: 1;
  background: #e6ecf1; color: #7b8a96;
}
#cpgb .cpgb-btn-primary{
  height: 52px; padding: 0 28px; font-size: 17px;
  box-shadow: 0 10px 22px -12px rgba(11,110,163,.9);
}
#cpgb .cpgb-btn-primary:disabled{ box-shadow: none; }

#cpgb .cpgb-link,
#cpgb .cpgb-timetoggle{
  display: inline; margin: 0; padding: 0;
  background: none; border: none; box-shadow: none;
  border-radius: 0; min-height: 0; width: auto; height: auto;
  font-family: var(--cp-body);
  font-size: 15px; font-weight: 400; line-height: inherit;
  text-transform: none; letter-spacing: normal;
  color: var(--cp-mid);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(0,0,0,.22);
  text-underline-offset: 3px;
}
#cpgb .cpgb-link:hover:not(:disabled),
#cpgb .cpgb-timetoggle:hover:not(:disabled){
  color: var(--cp-accent); text-decoration-color: currentColor; background: none;
}
#cpgb .cpgb-link:disabled{ color: var(--cp-mid); opacity: .45; cursor: not-allowed; text-decoration: none; }

#cpgb .cpgb-restored{
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 24px; padding: 14px 16px;
  border: 1px solid var(--cp-rule); border-radius: 10px; background: #fbfcfd;
  font-size: 15px; color: var(--cp-mid);
}
#cpgb .cpgb-restored[hidden]{ display: none; }

/* --------------------------------------------------- CTA on port guides */
.cpgb-cta{
  border: 1px solid var(--cp-rule); border-radius: 12px;
  padding: 24px; margin: 34px 0;
  background: #fbfcfd;
}
.cpgb-cta-text strong{
  display: block; margin-bottom: 4px;
  font-family: var(--cp-head); font-size: 22px; font-weight: 600; color: var(--cp-ink);
}
.cpgb-cta-text span{ display: block; margin-bottom: 16px; font-size: 16px; color: var(--cp-mid); line-height: 1.55; }
.cpgb-cta-btn{
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 24px; text-decoration: none;
  background: var(--cp-accent); color: #fff !important;
  font-family: var(--cp-body); font-weight: 600; font-size: 16px;
  border-radius: 10px;
}
.cpgb-cta-btn:hover{ background: var(--cp-accent-dark); color: #fff !important; }

/* ----------------------------------------------------------------- mobile */
@media (max-width: 720px){
  #cpgb{ font-size: 16px; }
  #cpgb .cpgb-title{ font-size: 22px; }
  #cpgb .cpgb-grid{ grid-template-columns: 1fr; gap: 16px; }
  #cpgb .cpgb-checks, #cpgb .cpgb-choices{ grid-template-columns: 1fr; }
  #cpgb .cpgb-map{ height: 240px; }

  #cpgb input[type=text], #cpgb input[type=date], #cpgb input[type=email],
  #cpgb select, #cpgb textarea{ font-size: 16px; height: 50px; }
  #cpgb-search{ height: 52px; }
  #cpgb input[type=time]{ font-size: 16px; height: 40px; }

  #cpgb .cpgb-btn{ width: 100%; height: 52px; }
  #cpgb .cpgb-stop{
    grid-template-columns: 48px 1fr auto;
    gap: 0 12px; padding: 12px 6px 12px 8px;
  }
  #cpgb .cpgb-daycol{ padding-right: 12px; }
  #cpgb .cpgb-daynum{ font-size: 26px; }
  #cpgb .cpgb-daylabel{ font-size: 11px; }
  #cpgb .cpgb-stopname{ font-size: 16px; line-height: 1.35; }
  #cpgb .cpgb-stopdate, #cpgb .cpgb-times{ font-size: 14px; }
  #cpgb .cpgb-rowbtns{ align-self: center; gap: 0; }
  #cpgb .cpgb-rowbtns button{ width: 32px; height: 44px; }
  #cpgb .cpgb-rowbtns button svg{ width: 16px; height: 16px; }
  .cpgb-stopsub .cpgb-nogu,
  #cpgb .cpgb-stopsub .cpgb-nogu + .cpgb-dot{ display: none; }
  #cpgb .cpgb-stopname input[type=text]{ font-size: 16px; width: min(100%, 18ch); }
  #cpgb .cpgb-secondary{ flex-direction: column; align-items: flex-start; gap: 10px; }
  .cpgb-cta-btn{ width: 100%; }
}


/* =============================================== 2.14.0 interface additions */

/* step indicator */
#cpgb .cpgb-steps{
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  list-style: none; margin: 0 0 30px; padding: 0;
}
#cpgb .cpgb-step{
  display: flex; align-items: center; gap: 10px;
  font-family: var(--cp-head); font-size: 15px; font-weight: 500; color: var(--cp-quiet);
}
#cpgb .cpgb-step + .cpgb-step::before{
  content: ""; width: 34px; height: 1px; background: #c9d7e0; margin-right: 4px;
}
#cpgb .cpgb-step span{
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--cp-field); background: #fff;
  font-size: 13px; font-weight: 600;
}
#cpgb .cpgb-step.is-on{ color: var(--cp-ink); font-weight: 600; }
#cpgb .cpgb-step.is-on span{ background: var(--cp-accent); border-color: var(--cp-accent); color: #fff; }

/* your sailing */
#cpgb .cpgb-sail{
  display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,.8fr) auto;
  gap: 18px; align-items: end; max-width: 900px;
}
#cpgb .cpgb-sail .cpgb-field{ margin: 0; }
#cpgb .cpgb-fleetnote{ margin: 12px 0 0; font-size: 15px; color: var(--cp-mid); }
#cpgb .cpgb-fleetnote[hidden]{ display: none; }
#cpgb .cpgb-btn-ghost{
  background: #fff; color: var(--cp-accent);
  border: 1.5px solid var(--cp-accent);
}
#cpgb .cpgb-btn-ghost:hover:not(:disabled){ background: var(--cp-accent); color: #fff; }

#cpgb .cpgb-findout{ margin: 18px 0 0; }
#cpgb .cpgb-findout[hidden]{ display: none; }
#cpgb .cpgb-found{
  padding: 18px 20px;
  border: 1.5px solid var(--cp-rule); border-radius: 11px; background: #fbfcfd;
}
#cpgb .cpgb-found-ok{ border-color: #bfe0cf; background: #f2faf5; }
#cpgb .cpgb-found-maybe{ border-color: #cfe0ea; background: #f5fafd; }
#cpgb .cpgb-found-warn{ border-color: var(--cp-sand-rule); background: var(--cp-sand-bg); }
#cpgb .cpgb-found-title{ margin: 0 0 4px; font-size: 17px; font-weight: 700; color: var(--cp-ink); }
#cpgb .cpgb-found-body{ margin: 0; font-size: 15px; line-height: 1.55; color: var(--cp-mid); }
#cpgb .cpgb-found .cpgb-btn{ margin: 14px 16px 0 0; }
#cpgb .cpgb-found .cpgb-link{ font-size: 15px; }

/* two column stops layout */
#cpgb .cpgb-layout{ display: grid; grid-template-columns: minmax(0,1fr) 380px; gap: 34px; align-items: start; }
#cpgb .cpgb-layout-main{ min-width: 0; }
#cpgb .cpgb-layout-rail{ position: sticky; top: 20px; }
#cpgb .cpgb-layout-rail .cpgb-mapwrap{ margin-bottom: 18px; }
#cpgb .cpgb-layout-rail .cpgb-map{ height: 400px; }

#cpgb .cpgb-rail{
  border: 1px solid var(--cp-rule); border-radius: 12px; background: #fff;
  padding: 18px;
}
#cpgb .cpgb-railtitle{
  margin: 0 0 12px;
  font-family: var(--cp-head); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cp-quiet);
}
#cpgb .cpgb-railrow{
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 0 0 9px; font-size: 15px; color: var(--cp-ink-soft);
}
#cpgb .cpgb-railrow strong{ font-variant-numeric: tabular-nums; color: var(--cp-ink); }
#cpgb .cpgb-rail .cpgb-btn{ width: 100%; margin-top: 8px; }
#cpgb .cpgb-railnote{ margin: 9px 0 0; text-align: center; font-size: 13px; color: var(--cp-quiet); }

/* inline add a port */
#cpgb .cpgb-addwrap{
  display: grid; grid-template-columns: 66px 1fr; gap: 0 20px; align-items: start;
  margin: 6px 0 0; padding: 15px 16px 15px 12px;
  border: 1.5px solid var(--cp-accent); border-radius: 10px; background: #f7fbfd;
}
#cpgb .cpgb-addwrap[hidden]{ display: none; }
#cpgb .cpgb-addwrap .cpgb-daycol{ text-align: center; }
#cpgb .cpgb-addbody{ min-width: 0; }
#cpgb .cpgb-addbody .cpgb-combo{ display: block; }
#cpgb .cpgb-addfoot{ display: flex; align-items: center; gap: 16px; margin-top: 10px; }
#cpgb .cpgb-addhint{ font-size: 14px; color: var(--cp-mid); }
#cpgb .cpgb-addfoot .cpgb-link{ margin-left: auto; }

#cpgb .cpgb-addbtns{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
#cpgb .cpgb-add{
  display: flex; align-items: center; justify-content: center;
  height: 46px; padding: 0 18px;
  border: 1.5px dashed var(--cp-field); border-radius: 10px; background: none;
  font-family: var(--cp-body); font-size: 15px; font-weight: 600; color: var(--cp-accent);
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
#cpgb .cpgb-add:hover{ border-color: var(--cp-accent); background: var(--cp-accent-soft); }
#cpgb .cpgb-add-quiet{ color: var(--cp-mid); }
#cpgb .cpgb-add-quiet:hover{ border-color: var(--cp-quiet); background: #f7f9fa; }

@media (max-width: 900px){
  #cpgb .cpgb-layout{ grid-template-columns: 1fr; gap: 24px; }
  #cpgb .cpgb-layout-rail{ position: static; }
  #cpgb .cpgb-layout-rail .cpgb-map{ height: 260px; }
  #cpgb .cpgb-sail{ grid-template-columns: 1fr; }
  #cpgb .cpgb-sail .cpgb-btn{ width: 100%; }
}
@media (max-width: 720px){
  #cpgb .cpgb-steps{ gap: 10px; font-size: 14px; }
  #cpgb .cpgb-step + .cpgb-step::before{ width: 18px; }
  #cpgb .cpgb-addwrap{ grid-template-columns: 48px 1fr; gap: 0 12px; padding: 12px; }
  #cpgb .cpgb-addbtns{ gap: 8px; }
  #cpgb .cpgb-add{ height: 48px; font-size: 15px; }
  #cpgb .cpgb-addfoot{ flex-wrap: wrap; gap: 8px; }
}

#cpgb .cpgb-topbar{
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 0 0 30px;
}
#cpgb .cpgb-topbar .cpgb-steps{ margin: 0; }
#cpgb .cpgb-restart{
  margin-left: auto;
  display: inline-flex; align-items: center; justify-content: center;
  height: 34px; padding: 0 14px;
  border: 1px solid var(--cp-field); border-radius: 17px; background: #fff;
  font-family: var(--cp-body); font-size: 14px; font-weight: 500; color: var(--cp-mid);
  cursor: pointer; text-transform: none; letter-spacing: normal;
  transition: border-color .12s, color .12s;
}
#cpgb .cpgb-restart:hover{ border-color: #b3261e; color: #b3261e; background: #fff; }
@media (max-width: 720px){
  #cpgb .cpgb-restart{ margin-left: 0; }
}

#cpgb .cpgb-personalise{
  max-width: 420px;
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--cp-rule); border-radius: 12px; background: #fbfcfd;
}
#cpgb .cpgb-persontitle{
  margin: 0 0 10px;
  font-family: var(--cp-head); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cp-quiet);
}
#cpgb .cpgb-personalise .cpgb-field{ margin: 0; }
#cpgb .cpgb-personnote{ margin: 9px 0 0; font-size: 14px; color: var(--cp-mid); }
@media (max-width: 720px){
  #cpgb .cpgb-personalise{ max-width: none; }
}

#cpgb .cpgb-hint{ margin: 16px 0 0; font-size: 15px; color: var(--cp-mid); }
#cpgb .cpgb-quickstart[hidden]{ display: none; }
#cpgb .cpgb-quickstart{ display: flex; align-items: center; gap: 12px; margin: 12px 0 0; }

/* section headers: the number lives with the heading, so it shows even where a
   theme fights the step bar */
#cpgb .cpgb-shead{ display: flex; align-items: center; gap: 14px; margin: 0 0 6px; }
#cpgb .cpgb-shead .cpgb-title{ margin: 0; }
#cpgb .cpgb-num{
  display: flex; align-items: center; justify-content: center;
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--cp-accent); color: #fff;
  font-family: var(--cp-head); font-size: 15px; font-weight: 600; line-height: 1;
}

/* step bar, stated plainly so theme list styles cannot swallow it */
#cpgb .cpgb-topbar{ display: flex !important; }
#cpgb .cpgb-steps{
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  visibility: visible !important;
}
#cpgb .cpgb-steps li{
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  color: var(--cp-quiet);
}
#cpgb .cpgb-steps li::marker{ content: none; }
#cpgb .cpgb-steps li.is-on{ color: var(--cp-ink); }

/* small screen call to action */
#cpgb .cpgb-sticky{ display: none; }
#cpgb .cpgb-sticky[hidden]{ display: none; }
@media (max-width: 900px){
  #cpgb .cpgb-sticky{
    display: flex; flex-direction: column; align-items: stretch; gap: 7px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.97);
    border-top: 1px solid var(--cp-rule);
    box-shadow: 0 -6px 20px rgba(16,42,58,.10);
  }
  #cpgb .cpgb-sticky[hidden]{ display: none; }
  #cpgb .cpgb-sticky .cpgb-btn{
    width: 100%; height: 50px; padding: 0 18px;
    font-size: 17px; white-space: nowrap;
    box-shadow: none;
  }
  #cpgb .cpgb-stickytext{
    display: block; text-align: center;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 13px; line-height: 1.2; color: var(--cp-quiet);
  }
  #cpgb .cpgb-last{ padding-bottom: 108px; }
  #cpgb .cpgb-shead .cpgb-num{ width: 28px; height: 28px; font-size: 14px; }
}
