@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap");

:root {
  --navy: #0b1f3a;
  --navy2: #16345c;
  --paper: #f4f1ea;
  --white: #fffdf8;
  --ink: #1c1917;
  --muted: #6b7280;
  --line: #d6d3cd;
  --gold: #c4a35a;
  --ok: #3f6212;
  --warn: #9f1239;
  --yc-blue: #142846;
  --yc-blue-light: #7294d0;
  --btn: var(--yc-blue-light);
  --newgreen: #06b01e;
  --draftpink: var(--yc-blue-light);
  --sentblue: var(--yc-blue);
  --back-orange: #ea580c;
  --accepted: var(--back-orange);
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.45 Raleway, "Segoe UI", system-ui, sans-serif;
  caret-color: transparent;
  cursor: default;
}
input,
textarea,
select {
  caret-color: auto;
}
input:not([readonly]):not(:disabled),
textarea:not([readonly]):not(:disabled) {
  cursor: text;
}
body.shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: #e8e4dc;
}
.menubar {
  width: 15.75rem;
  flex-shrink: 0;
  height: 100vh;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 0 1rem;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.menutop {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
  padding: 0.25rem 1.15rem 0.7rem;
  flex-shrink: 0;
}
.menubar .brand {
  margin: 0;
  padding: 0;
  min-width: 0;
}
.menubar .brand img {
  display: block;
  width: 120px;
  height: 36px;
  object-fit: contain;
}
.menuburger {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
}
.menuburger span {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--yc-blue);
  border-radius: 1px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.menudraw {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.menubar .who {
  margin: 0 0 calc(1.15rem + 10px);
  padding: 0 1.3rem;
  color: #cbd5e1;
  font-size: 0.92rem;
}
.langpick {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.28rem;
}
.langpickchip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  padding: 0.22rem 0.42rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--yc-blue);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.2;
}
.langpickchip.on {
  background: var(--yc-blue);
  color: #fff;
  border-color: var(--yc-blue);
}
.menulang {
  display: none;
  padding: 0 1.15rem 0.85rem;
}
.headlang {
  display: flex;
}
.loginlang .langpickchip,
.menulang .langpickchip {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}
.loginlang .langpickchip.on,
.menulang .langpickchip.on {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.menunav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0 0.75rem;
  flex: 1;
}
.menunav a {
  color: #d5deea;
  text-decoration: none;
  padding: 0.78rem 0.9rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}
.menunav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.menunav a.here {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--gold);
}
.menunav a.sub {
  padding-left: 1.45rem;
  font-size: 0.98rem;
  font-weight: 700;
}
#nav-accepted {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}
#nav-accepted .navtxt {
  min-width: 0;
}
.navpulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff7a1a;
  border: 2px solid #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.7);
  animation: navpulse 1.2s ease-out infinite;
}
.navpulse[hidden] {
  display: none;
}
@keyframes navpulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.75);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 10px rgba(255, 122, 26, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 122, 26, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .navpulse {
    animation: none;
  }
}
.signout {
  margin: 0.8rem 0.75rem 0.4rem;
  padding: 0.7rem 0.9rem;
  color: #94a3b8;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
}
.signout:hover { color: #fff; }
.frame {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100vh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  position: relative;
}
.framehead {
  height: 64px;
  min-height: 64px;
  max-height: 64px;
  flex-shrink: 0;
  box-sizing: border-box;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.framehead h1 {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--yc-blue);
  line-height: 1.3;
  min-width: 0;
  white-space: normal;
}
.headleft {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  flex: 1;
}
.headleft .sticon {
  flex-shrink: 0;
  font-size: 0.85rem;
  padding: 0.32rem 0.65rem;
}
.btnback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-shrink: 0;
  height: 42px;
  padding: 0 1.05rem 0 0.85rem;
  background: var(--back-orange);
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  border: 0;
  box-shadow: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.btnback .backarr {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  flex-shrink: 0;
}
.btnback:active {
  background: #fff;
  color: var(--back-orange);
}
.grandtop {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--yc-blue);
  white-space: nowrap;
}
.headright {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-shrink: 0;
}
.headacts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.headacts button,
.headacts .sentflag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 0;
  height: 42px;
  line-height: 42px !important;
  padding: 0 1.1rem;
  font-size: 0.95rem !important;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: none;
  white-space: nowrap;
  text-decoration: none;
  border: 0;
  box-sizing: border-box;
}
.headacts .sentflag {
  background: var(--yc-blue);
  color: #fff;
}
.headacts .sentflag.accepted {
  background: var(--accepted);
  color: #fff;
}
.headacts .sentflag.delivered {
  background: var(--ok);
  color: #fff;
}
.headacts .sentflag.rejected {
  background: #6b7280;
  color: #fff;
}
input.price[readonly],
input[type="text"][readonly],
textarea[readonly],
input.timesel[readonly] {
  background: #f3f4f6;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  cursor: default;
}
input.avail:disabled {
  opacity: 1;
  cursor: default;
}
.sechead,
.framebody h2.sechead {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 2.6rem 0 1rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yc-blue);
}
.framebody > .sechead:first-child,
.framebody > h2.sechead:first-of-type,
#profileform > .sechead:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.timesel {
  width: auto;
  min-width: 8rem;
  height: 42px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font: inherit;
  color: var(--ink);
}
input.timesel {
  width: auto;
  max-width: 12rem;
}
.dcostcell { margin: 0.2rem 0 0.6rem; }
input.linetotal,
input.grundpreis,
input.ycfee {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  caret-color: transparent;
  cursor: default;
}
.grandbot {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--yc-blue);
}
.grandbot span { font-variant-numeric: tabular-nums; }
.cartmeta {
  display: grid;
  grid-template-columns: 15% 14% 10% 15% 13% 8% 10% 15%;
  column-gap: 0;
  row-gap: 0.65rem;
  margin: 0 0 0.4rem;
  padding: 1rem 1.15rem;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(20, 40, 70, 0.3);
  overflow: visible;
}
.cartmeta.nocontact {
  grid-template-columns: 18% 16% 12% 18% 15% 9% 12%;
}
.cartmeta > * {
  min-width: 0;
  padding-right: 0.85rem;
  box-sizing: border-box;
}
.cartmeta > .contactcell { padding-right: 0; }
.cartmeta .contactcell { min-width: 0; }
.cartmeta .metayacht { min-width: 0; }
.cartmeta .metastatus {
  min-width: 0;
}
.asksure strong {
  font-weight: 700;
  color: var(--yc-blue);
}
.cartmeta .metaref {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yc-blue);
  letter-spacing: 0.03em;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.cartmeta .contactbtn {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  padding-left: 0.55rem;
  padding-right: 0.55rem;
  box-sizing: border-box;
}
.metalabel {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.15rem;
}
.cartmeta p { margin: 0; color: var(--ink); }
.metaname {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yc-blue);
}
.metaarrive .metaday,
.metaarrive .metatime {
  font-weight: 700;
  color: var(--yc-blue);
  font-size: 1.2rem;
  line-height: 1.25;
}
.quotebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.35rem;
  margin-bottom: 0.6rem;
}
.quotebox {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(20, 40, 70, 0.08);
  padding: 1.2rem 1.25rem 1.15rem;
}
.quotebox-copy {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}
.quotebox button {
  display: inline-block;
  width: auto;
  min-width: 10rem;
  margin: 0;
  height: 42px;
  line-height: 42px !important;
  padding: 0 1.15rem;
  font-size: 0.95rem !important;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: none;
}
.quotebar.one {
  grid-template-columns: 1fr;
  max-width: 28rem;
}
.btnsave { background: var(--yc-blue-light); color: #fff; }
.btnsave:active { background: #fff; color: var(--yc-blue-light); }
.btnsend { background: var(--yc-blue) !important; color: #fff !important; }
.btnsend:disabled,
.btnsend.wait {
  opacity: 0.45;
  cursor: default;
}
.btnsend:active { background: #fff !important; color: var(--yc-blue) !important; }
.btnsend.wait:active {
  background: var(--yc-blue) !important;
  color: #fff !important;
}
@keyframes ycblink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.btnsave.blink {
  animation: ycblink 0.35s ease-in-out 2;
}
.contactrow {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: stretch;
}
.contactbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  margin: 0;
  height: auto;
  min-height: 42px;
  line-height: 1.15 !important;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem !important;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: none;
  background: var(--yc-blue);
  color: #fff;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: visible;
}
.handblock {
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(20, 40, 70, 0.3);
  padding: 1rem 1.15rem;
  margin: 0 0 1.1rem;
}
.handblock .muted,
.handblock .ok,
.handblock .handnote {
  margin: 0 0 0.85rem;
}
.handnote {
  color: var(--yc-blue);
}
.handnote strong {
  font-weight: 700;
}
.handacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 22rem;
}
.qrcard {
  text-align: center;
}
.qrcard .qrimg {
  display: block;
  width: min(72vw, 16rem);
  height: auto;
  margin: 0.85rem auto 0.4rem;
  background: #fff;
}
.contactbtn:active {
  background: #fff;
  color: var(--yc-blue);
}
.contactval {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yc-blue);
}
.ask #contactok,
.ask #savedok,
.ask #needok,
.ask #openok,
.ask #sendgo,
.ask #clashok,
.ask #qrok,
.ask #profaskok {
  background: var(--yc-blue);
  color: #fff;
}
.ask #contactok:active,
.ask #savedok:active,
.ask #needok:active,
.ask #openok:active,
.ask #sendgo:active,
.ask #clashok:active,
.ask #qrok:active,
.ask #profaskok:active {
  background: #fff;
  color: var(--yc-blue);
}
.framebody {
  flex: 1;
  padding: 1.5rem 1.7rem 2.6rem;
}
.pagelead {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.4;
}
.framebody.mapview { padding: 0; }
.framebody.mapview > .pagelead {
  margin: 0;
  padding: 0.85rem 1.7rem;
  background: var(--paper);
}
.framepad { padding: 1.25rem 1.7rem 0.4rem; }
.frame footer {
  max-width: none;
  margin: 0;
  padding: 0.85rem 1.7rem 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
body.login {
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
body.login header {
  background: var(--navy);
  color: var(--white);
  padding: calc(1.15rem + env(safe-area-inset-top, 0px)) 1.2rem 1rem;
}
body.login .logintop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin: 0 0 0.45rem;
}
body.login .brand {
  margin: 0;
}
body.login .brand img {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(220px, 70vw);
}
body.login h1 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.loginlang {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.28rem;
  margin: 0;
  flex-shrink: 0;
}
body.login main {
  width: 100%;
  max-width: 32rem;
  margin: 0 auto;
  padding: 1.15rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}
body.login main > p {
  margin: 0 0 1rem;
  line-height: 1.45;
}
body.login .loginform {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(20, 40, 70, 0.3);
  padding: 1rem 1.15rem 1.2rem;
}
body.login .loginform input[type="text"],
body.login .loginform input[type="password"],
body.login .loginform input[type="email"],
body.login .loginform select,
body.login .loginform textarea {
  min-height: 48px;
  font-size: 16px;
  border-radius: 8px;
}
body.login .loginform select {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 600;
  color: var(--yc-blue);
  background: #fff;
  border: 1px solid var(--line);
  padding: 0 0.7rem;
}
body.login .loginform textarea {
  min-height: 5.2rem;
  resize: vertical;
}
body.login .termcheck {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.05rem 0 0;
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
body.login .termcheck input {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin: 0.2rem 0 0;
  flex-shrink: 0;
  accent-color: var(--yc-blue);
}
body.login .termcheck a {
  color: var(--yc-blue);
  font-weight: 700;
}
body.login .loginlinks {
  margin: 1.1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  font-size: 0.95rem;
}
body.login .loginlinks a {
  color: var(--yc-blue);
  font-weight: 700;
  text-decoration: none;
}
body.login .loginlinks span {
  color: var(--muted);
}
body.login .loginguest {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
body.login .loginguest .btn {
  margin-top: 0;
  text-decoration: none;
  box-sizing: border-box;
  border-radius: 8px;
}
body.login .btn.btnalt {
  background: var(--yc-blue);
}
body.login .btn.btnalt:active {
  background: #fff;
  color: var(--yc-blue);
}
body.login .loginform button {
  border-radius: 8px;
  min-height: 48px;
  line-height: 1.25;
  padding: 0.85rem 1rem;
  margin-top: 1.15rem;
  width: 100%;
  font-weight: 700;
  touch-action: manipulation;
}
body.login footer {
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1.15rem calc(1.2rem + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 480px) {
  body.login h1 { font-size: 1.2rem; }
  body.login .brand img { height: 28px; }
  body.login main { padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 900px) {
  body.shell {
    flex-direction: column;
    height: 100dvh;
  }
  .menubar {
    width: 100%;
    height: auto;
    max-height: none;
    padding: calc(0.45rem + env(safe-area-inset-top, 0px)) 0 0.45rem;
    overflow: visible;
    z-index: 60;
    position: relative;
    flex-shrink: 0;
  }
  .menutop {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    gap: 0;
    padding: 0 12px;
    position: relative;
    z-index: 70;
  }
  .menutop .brand {
    grid-column: 2;
    justify-self: center;
  }
  .menubar .brand img {
    width: 120px;
    height: 36px;
  }
  .menutop button.menuburger {
    display: flex;
    grid-column: 3;
    justify-self: end;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .menutop .menuburger span {
    background: #fff;
  }
  .menutop button.menuburger:active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
  }
  .framehead button.menuburger {
    display: none;
  }
  body.menuopen .menuburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.menuopen .menuburger span:nth-child(2) {
    opacity: 0;
  }
  body.menuopen .menuburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .menudraw {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: calc(env(safe-area-inset-top, 0px) + 3.7rem);
    padding: 0.4rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
    background: var(--navy);
    overflow: auto;
    z-index: 50;
    flex: none;
  }
  body.menuopen .menudraw {
    display: flex;
  }
  body.menuopen {
    overflow: hidden;
  }
  .frame {
    height: auto;
    flex: 1;
    min-height: 0;
  }
  .framehead {
    height: auto;
    min-height: 52px;
    max-height: none;
    padding: 0.45rem 0.9rem;
    gap: 0.35rem;
  }
  .framehead h1 {
    font-size: 1.08rem;
  }
  .menunav {
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .listbar {
    flex-direction: column;
    align-items: stretch;
  }
  .duesoon {
    font-size: 0.95rem;
    padding: 0.7rem 0.85rem;
    min-height: 2.7rem;
  }
  .listfilt {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
  .listsort,
  .listfilt {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .listsort::-webkit-scrollbar,
  .listfilt::-webkit-scrollbar {
    display: none;
  }
  .listsort button,
  .listfilt button {
    flex: 0 0 auto;
    height: 30px;
    line-height: 30px !important;
    padding: 0 0.55rem;
    font-size: 0.75rem !important;
  }
  .framebody {
    padding: 0.85rem 0.75rem 1.6rem;
    overflow-x: hidden;
  }
  .framebody .sechead,
  .framebody h2.sechead {
    padding-left: calc(0.8rem - 10px);
    padding-right: 0.8rem;
  }
  .frame {
    overflow-x: hidden;
  }
  .cartmeta {
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem 0.8rem;
    column-gap: 0.7rem;
    row-gap: 0.55rem;
  }
  .cartmeta.nocontact {
    grid-template-columns: 1fr 1fr;
  }
  .cartmeta > * { padding-right: 0; }
  .cartmeta .metastatus {
    max-width: 10rem;
  }
  .cartmeta .contactcell {
    grid-column: 1 / -1;
  }
  .handacts {
    max-width: none;
  }
  .listcard .listgrid p,
  .listcard .metaname,
  .listharbour {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .listgrid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 0.65rem 0.7rem;
  }
  .listgrid .lg-status,
  .listgrid .lg-yacht,
  .listgrid .lg-harbour,
  .listgrid .lg-arrive {
    grid-column: span 5;
  }
  .listgrid .lg-items {
    grid-column: span 2;
  }
  .listgrid .lg-price {
    grid-column: span 5;
  }
  .listgrid .lg-age {
    grid-column: span 3;
  }
  .tablewrap {
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  .quotetable,
  .quotetable tbody {
    display: block;
    width: 100%;
  }
  .quotetable colgroup,
  .quotetable thead,
  .quotetable tr.quotehead {
    display: none !important;
  }
  .quotetable tbody tr,
  .quotetable > tr:not(.quotehead) {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.3rem 0.55rem;
    width: 100%;
    box-sizing: border-box;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(20, 40, 70, 0.3);
    padding: 0.7rem 0.8rem;
    margin: 0 0 0.65rem;
  }
  .quotetable td {
    display: block;
    width: auto !important;
    max-width: none !important;
    border: 0;
    padding: 0.15rem 0;
    overflow: hidden;
  }
  .quotetable td.namecell,
  .quotetable td.pricecell,
  .quotetable td.totcell,
  .quotetable td.kgcell,
  .quotetable td.notecell {
    grid-column: 1 / -1;
  }
  .quotetable td.qtycell {
    grid-column: 1;
  }
  .quotetable td.availcell {
    grid-column: 2;
    justify-self: end;
    align-self: end;
  }
  .quotetable td[data-lab]::before {
    content: attr(data-lab);
    display: block;
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 0.12rem;
    font-weight: 700;
  }
  .quotetable td.availcell[data-lab]::before {
    display: inline;
    margin: 0 0.4rem 0 0;
    vertical-align: middle;
  }
  .quotetable .itemchg {
    position: static;
    display: inline-block;
    margin: 0.15rem 0 0 0.35rem;
    left: auto;
    top: auto;
  }
  .quotetable input[type="text"]:not(.price):not(.linetotal):not(.grundpreis) {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
  }
  .quotetable td.pricecell,
  .quotetable td.totcell,
  .quotetable td.kgcell {
    display: grid;
    grid-template-columns: var(--q-lab, max-content) 50% minmax(0, 1fr);
    align-items: center;
    column-gap: 0.45rem;
    row-gap: 0.12rem;
    white-space: normal;
  }
  .quotetable td.pricecell[data-lab]::before,
  .quotetable td.totcell[data-lab]::before,
  .quotetable td.kgcell[data-lab]::before {
    grid-column: 1;
    margin: 0;
    white-space: nowrap;
  }
  .quotetable td.pricecell input.price,
  .quotetable td.totcell input.linetotal,
  .quotetable td.kgcell input.grundpreis {
    grid-column: 2;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    box-sizing: border-box;
  }
  .quotetable td.pricecell > .pricesuf,
  .quotetable td.totcell > .pricesuf,
  .quotetable td.kgcell > .pricesuf {
    grid-column: 3;
    margin-left: 0;
    justify-self: start;
  }
  .quotetable .vatpair {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    grid-column: 2 / -1;
    width: auto;
    max-width: 100%;
    gap: 0.35rem 0.45rem;
  }
  .framebody .dcostcell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    white-space: normal;
  }
  .framebody input.ycfee,
  .framebody .dcostcell > input.price {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50%;
    box-sizing: border-box;
  }
  .quotetable .vatpair .price.net,
  .quotetable .vatpair .price.gross,
  .framebody .dcostcell .price.net,
  .framebody .dcostcell .price.gross {
    flex: 0 0 50%;
    width: 50% !important;
    max-width: 50% !important;
  }
  .quotetable .pricesuf,
  .framebody .dcostcell .pricesuf {
    margin-left: 0;
    flex: 0 0 auto;
  }
  .quotetable .namewrap,
  .quotetable .qtywrap {
    max-width: 100%;
  }
  .tablewrap table th:first-child,
  .tablewrap table td:first-child,
  .tablewrap table tr:hover td:first-child {
    border-left: 0 !important;
  }
  .listcard:not(.empty):hover,
  .listcard:focus,
  .listcard:focus-visible {
    border-left-color: transparent;
    outline: none;
  }
  .quotebar {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    align-items: stretch;
  }
  .quotebox button {
    display: inline-block;
    width: fit-content !important;
    min-width: 0 !important;
  }
  .framehead {
    flex-wrap: wrap;
  }
  .headlang {
    display: none;
  }
  .menulang {
    display: flex;
  }
  .headright {
    flex-basis: 100%;
    width: 100%;
    justify-content: flex-start;
  }
  .headacts {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    flex-basis: 100%;
    width: 100%;
    gap: 0.4rem;
  }
  .headacts button,
  .headacts .sentflag {
    width: fit-content;
    max-width: 100%;
  }
  .harbourmap,
  #yc-harbour {
    height: 20vh !important;
    min-height: 20vh;
  }
  .harbourmap iframe {
    min-height: 20vh;
  }
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem;
  margin: 0 0 0.75rem;
}
.card a { color: var(--navy); font-weight: 400; }
.muted { color: var(--muted); font-size: 0.9rem; }
.err { color: var(--warn); }
.ok { color: var(--ok); font-weight: 400; }
label { display: block; margin: 0.65rem 0 0.2rem; font-size: 0.85rem; color: var(--muted); }
label .req { color: var(--yc-blue); }
input[type="text"], input[type="password"], input[type="number"], input[type="email"], select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.7rem 0.75rem;
  font: inherit;
  color: var(--ink);
  border-radius: 8px;
}
#profileform input.fieldwarn,
#profileform select.fieldwarn,
#profileform textarea.fieldwarn {
  border-color: var(--yc-blue);
  border-width: 2px;
}
textarea { min-height: 4.2rem; }
button, .btn {
  display: block;
  width: 100%;
  margin-top: 0.9rem;
  background: var(--btn);
  color: #fff;
  border: 0;
  border-radius: 3px;
  padding: 0 1rem;
  font-family: Raleway, "Segoe UI", system-ui, sans-serif;
  font-size: 1.1em;
  font-weight: 400;
  line-height: 3.8em;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  -webkit-appearance: none;
  box-shadow: 0 2px 2px 0 rgba(76, 76, 76, 0.25);
  transition: all 0.1s ease;
}
button:active, .btn:active {
  background: #fff;
  color: var(--btn);
  box-shadow: 0 1px 1px 0 rgba(76, 76, 76, 0.5);
}
.contactrow .contactbtn,
.contactrow button.contactbtn,
.contactrow a.contactbtn,
.handacts .contactbtn,
.handacts button.contactbtn,
.handacts a.contactbtn {
  width: 100%;
  min-width: 0;
  flex: none;
  white-space: normal;
}
button.contactbtn,
a.contactbtn {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  min-width: max-content;
  margin: 0;
  height: auto;
  min-height: 42px;
  line-height: 1.15 !important;
  padding: 0.55rem 1.15rem;
  font-size: 0.95rem !important;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: none;
  background: var(--yc-blue);
  color: #fff;
}
button.menuburger {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--yc-blue);
  box-shadow: none;
  line-height: 1;
  font-size: 1rem;
  font-weight: 400;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
button.menuburger:active {
  background: rgba(20, 40, 70, 0.08);
  color: var(--yc-blue);
  box-shadow: none;
}
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { border-bottom: 1px solid var(--line); padding: 0.55rem 0.4rem; text-align: left; vertical-align: top; font-size: 0.92rem; }
th { color: var(--muted); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tablewrap table th:first-child,
.tablewrap table td:first-child {
  border-left: 5px solid transparent;
}
.tablewrap table tr:hover td:first-child {
  border-left-color: var(--yc-blue);
}
.tablewrap table tr.duerow:hover td:first-child {
  border-left-color: transparent;
}
input.price, input.linetotal, input.grundpreis {
  width: 6.5rem;
  max-width: 6.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  border-radius: 8px;
}
input.price {
  font-size: 1.08rem;
  font-weight: 700;
}
input.linetotal, input.grundpreis, input.ycfee {
  background: #f3f4f6;
  color: var(--ink);
  cursor: default;
}
input.ycfee {
  width: 6.5rem;
  max-width: 6.5rem;
  text-align: right;
  font-variant-numeric: tabular-nums;
  border-radius: 8px;
  font-size: 1.08rem;
  font-weight: 700;
}
input.grundpreis { width: 7.5rem; max-width: 7.5rem; }
.pricecell { white-space: nowrap; }
.pricecell .price { display: inline-block; vertical-align: middle; }
.vatbanner {
  margin: 0 0 1rem;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.92rem;
}
.vatcell { white-space: normal; }
.vatpair {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.vatpair .price.net,
.vatpair .price.gross {
  width: 4.6rem;
  max-width: 4.6rem;
}
.vatrates {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}
.vatrate {
  border: 1px solid var(--navy);
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.vatrate.on {
  background: var(--navy);
  color: #fff;
}
.pricesuf {
  display: inline-block;
  margin-left: 0.3rem;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  vertical-align: middle;
}
.q-labprobe {
  position: absolute;
  left: -9999px;
  top: 0;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  visibility: hidden;
  pointer-events: none;
}
.availcell {
  text-align: center;
  vertical-align: middle;
}
input.avail {
  display: inline-block;
  width: 1.45rem;
  height: 1.45rem;
  margin: 0;
  accent-color: var(--yc-blue);
  cursor: pointer;
  transform: scale(1.35);
  transform-origin: center center;
}
@keyframes rowwarn {
  0% { background: #fff; }
  8.3% { background: color-mix(in srgb, var(--yc-blue-light) 10%, #fff); }
  16.7% { background: #fff; }
  100% { background: #fff; }
}
tr.rowwarn td {
  animation: rowwarn 2.4s ease-in-out infinite;
}
.tablewrap {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}
.kicker { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; color: var(--muted); margin: 0 0 0.2rem; }
.duesoon {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 0.85rem;
  padding: 0.78rem 0.9rem;
  min-height: 2.85rem;
  background: var(--back-orange);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
}
.duesoon strong {
  font-weight: 700;
}
.duesoon:hover,
.duesoon:focus,
.duesoon:active {
  color: #fff;
}
.duesoon[hidden] {
  display: none !important;
}
.listbar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem 0.55rem;
  margin: 0 0 0.85rem;
}
.listsort,
.listfilt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
.listfilt {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
@media (min-width: 901px) {
  .cartmeta {
    grid-template-columns: 15% 14% 10% 15% 13% 8% 10% 15%;
    column-gap: 0;
    row-gap: 0.65rem;
  }
  .cartmeta.nocontact {
    grid-template-columns: 18% 16% 12% 18% 15% 9% 12%;
  }
  .listbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .listfilt {
    margin-left: 0.1rem;
    padding-left: 0.55rem;
    border-left: 1px solid var(--line);
  }
  .tablewrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 8px;
  }
  .quotetable {
    display: table;
    width: 100%;
  }
  .quotetable colgroup {
    display: table-column-group;
  }
  .quotetable thead {
    display: table-header-group;
  }
  .quotetable tbody {
    display: table-row-group;
  }
  .quotetable tr,
  .quotetable tr.quotehead {
    display: table-row;
  }
  .quotetable th,
  .quotetable td {
    display: table-cell;
  }
  .quotetable td[data-lab]::before {
    display: none !important;
    content: none;
  }
}
.listsort .metalabel,
.listfilt .metalabel {
  margin: 0 0.35rem 0 0;
}
.listsort button,
.listfilt button {
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin: 0;
  height: 32px;
  line-height: 32px !important;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--yc-blue);
  box-shadow: none;
  font-size: 0.8rem !important;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
}
.listsort button.on {
  background: var(--yc-blue);
  color: #fff;
  border-color: var(--yc-blue);
}
.listsort button:active {
  background: #fff;
  color: var(--yc-blue);
  box-shadow: none;
}
.listfilt button[data-kind="new"] {
  background: linear-gradient(to right, var(--newgreen) 5%, #fff 5%);
  color: var(--ink);
  border-color: var(--line);
}
.listfilt button[data-kind="new"].on {
  background: var(--newgreen);
  color: #fff;
  border-color: var(--newgreen);
}
.listfilt button[data-kind="drafted"] {
  background: linear-gradient(to right, var(--draftpink) 5%, #fff 5%);
  color: var(--ink);
  border-color: var(--line);
}
.listfilt button[data-kind="drafted"].on {
  background: var(--draftpink);
  color: #fff;
  border-color: var(--draftpink);
}
.listfilt button[data-kind="sent"] {
  background: linear-gradient(to right, var(--sentblue) 5%, #fff 5%);
  color: var(--ink);
  border-color: var(--line);
}
.listfilt button[data-kind="sent"].on {
  background: var(--sentblue);
  color: #fff;
  border-color: var(--sentblue);
}
.listfilt button[data-kind="accepted"] {
  background: linear-gradient(to right, var(--accepted) 5%, #fff 5%);
  color: var(--ink);
  border-color: var(--line);
}
.listfilt button[data-kind="accepted"].on {
  background: var(--accepted);
  color: #fff;
  border-color: var(--accepted);
}
.listfilt button[data-kind="delivered"] {
  background: linear-gradient(to right, var(--ok) 5%, #fff 5%);
  color: var(--ink);
  border-color: var(--line);
}
.listfilt button[data-kind="delivered"].on {
  background: var(--ok);
  color: #fff;
  border-color: var(--ok);
}
.listfilt button[data-kind="rejected"] {
  background: linear-gradient(to right, #6b7280 5%, #fff 5%);
  color: var(--ink);
  border-color: var(--line);
}
.listfilt button[data-kind="rejected"].on {
  background: #6b7280;
  color: #fff;
  border-color: #6b7280;
}
.listfilt button:active {
  filter: brightness(0.96);
  box-shadow: none;
}
.sortico {
  display: inline-block;
  width: 0.85rem;
  font-size: 0.7rem;
  line-height: 1;
  opacity: 0.35;
}
.sortico::before { content: "↕"; }
.listsort button.on .sortico { opacity: 1; }
.listsort button.on[data-dir="asc"] .sortico::before { content: "▲"; }
.listsort button.on[data-dir="desc"] .sortico::before { content: "▼"; }
#listrows {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.listcard {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 5px solid transparent;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(20, 40, 70, 0.3);
  padding: 1rem 1.15rem;
  min-height: 7.4rem;
  box-sizing: border-box;
  overflow: hidden;
}
.listcard.hasdue {
  padding: 1rem 0 0;
  overflow: visible;
}
.listcard[data-kind="accepted"] {
  border-left-color: transparent;
}
.listcard:not(.empty) {
  cursor: pointer;
}
.listcard:not(.empty):hover {
  border-left-color: var(--yc-blue);
}
.listcard[data-kind="accepted"]:not(.empty):hover {
  border-left-color: var(--accepted);
}
.listcard[data-kind="delivered"]:not(.empty):hover {
  border-left-color: var(--ok);
}
.listcard[hidden] { display: none !important; }
.listcard.empty {
  box-shadow: 0 0 5px rgba(20, 40, 70, 0.3);
  min-height: 0;
}
.listcard.empty p { margin: 0; }
.listcard.empty a { color: var(--yc-blue); font-weight: 700; }
.listgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 0.7rem 1.2rem;
  align-items: start;
}
.listgrid > * {
  min-width: 0;
}
.listcard.hasdue .listgrid {
  padding: 0 1.15rem 0.65rem;
}
.listcard .listgrid p { margin: 0; font-weight: 400; }
.listcard .listgrid p.listarriveval,
.listcard .listgrid p.listday {
  font-weight: 700;
}
.listcard .listgrid p.metaname,
.listcard .metaname {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yc-blue);
}
.listcard .ysize {
  margin-top: 0.12rem !important;
}
.listharbour {
  line-height: 1.35;
}
.listcard.picked {
  background: color-mix(in srgb, var(--yc-blue) 6%, var(--white));
}
.listcard.justseen {
  background: color-mix(in srgb, var(--yc-blue) 12%, var(--white));
  animation: ycjust 1.1s ease-out forwards;
}
@keyframes ycjust {
  0% { background: color-mix(in srgb, var(--yc-blue) 12%, var(--white)); }
  100% { background: var(--white); }
}
.listst {
  margin: 0;
  min-height: 1.4em;
}
.sticon {
  display: inline-block;
  border: 0;
  box-shadow: none;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.25;
}
.tablewrap table.quotetable {
  table-layout: fixed;
  width: 100%;
}
.quotetable col.qcol-item { width: 16%; }
.quotetable col.qcol-qty { width: 4.5%; }
.quotetable col.qcol-avail { width: 7%; }
.quotetable col.qcol-unit { width: 22%; }
.quotetable col.qcol-all { width: 10%; }
.quotetable col.qcol-kg { width: 12%; }
.quotetable col.qcol-note { width: 28.5%; }
.quotetable th.th-note {
  text-transform: none;
  letter-spacing: 0.02em;
  white-space: normal;
  line-height: 1.3;
  font-size: 0.78rem;
}
.quotetable th.availcell,
.quotetable td.availcell {
  text-align: center;
  vertical-align: middle;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
}
.quotetable th:nth-child(2),
.quotetable td.qtycell {
  padding-left: 0.2rem;
  padding-right: 0.2rem;
}
.namewrap,
.qtywrap {
  position: relative;
  display: inline-block;
  max-width: calc(100% - 0.2rem);
}
.itemchg {
  position: absolute;
  left: 100%;
  top: 2px;
  margin: 0 0 0 0.4rem;
  padding: 0.12rem 0.45rem;
  border-radius: 6px;
  background: var(--back-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.25;
  z-index: 2;
  pointer-events: none;
}
.chgnote {
  font-family: Raleway, sans-serif;
  font-size: 0.95rem;
  color: var(--yc-blue, #142846);
  background: #fff7ed;
  border-left: 4px solid var(--back-orange);
  padding: 0.65rem 0.85rem;
  margin: 0 0 0.85rem;
  line-height: 1.4;
}
.gonerow {
  background: #fff7ed;
}
.gonerow .nametxt.gone {
  text-decoration: line-through;
  color: #6b7280;
}
.gonerow .headchgok {
  top: 0;
  left: 0;
}
.goneok {
  pointer-events: auto;
}
.sechead .itemchg,
.cartmeta .itemchg {
  position: static;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  left: auto;
  top: auto;
}
.headchgbox {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0 0 0 0.45rem;
  vertical-align: middle;
  pointer-events: auto;
}
.headchgok {
  position: relative;
  top: -7px;
  left: -6px;
  z-index: 3;
  height: 1.45rem;
  padding: 0 0.5rem;
  border: 0;
  border-radius: 6px;
  background: var(--yc-blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
}
.headchgok:active {
  background: #fff;
  color: var(--yc-blue);
}
.qtycell {
  white-space: nowrap;
  overflow: visible;
  font-weight: 700;
}
.quotetable .qtytxt {
  font-weight: 700;
}
.namecell {
  overflow: visible;
}
.quotetable .nametxt {
  font-weight: 700;
  font-size: calc(0.92rem + 2px);
  color: var(--yc-blue);
}
.itemneed {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--ink);
}
.sticon.new { background: var(--newgreen); color: #fff; }
.sticon.drafted { background: var(--draftpink); color: #fff; }
.sticon.sent { background: var(--sentblue); color: #fff; }
.sticon.accepted { background: var(--accepted); color: #fff; }
.sticon.delivered { background: var(--ok); color: #fff; }
.sticon.rejected { background: #6b7280; color: #fff; }
.sticon.acceptedok { background: var(--accepted); color: #fff; }
.sticon.chkchg {
  background: #dc2626;
  color: #fff;
  animation: ycblink 1.1s ease-in-out infinite;
}
.listn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}
#listrows[data-sort="change"] .sticon.chkchg {
  font-weight: 800;
}
#listrows[data-sort="status"] .sticon {
  font-weight: 800;
}
.listn,
.listage {
  font-weight: 400;
  color: var(--ink);
}
.listn { font-size: 1.15rem; color: var(--yc-blue); }
.listprice {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yc-blue);
}
.listarriveval {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yc-blue);
}
.listday {
  margin: 0.15rem 0 0 !important;
  font-size: 1rem;
  font-weight: 700;
}
.listcard .listgrid p.listarriveval {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--yc-blue);
}
.listcard .listgrid p.listday {
  font-weight: 700;
  font-size: 1rem;
}
#listrows[data-sort="items"] .listn,
#listrows[data-sort="change"] .listn,
#listrows[data-sort="age"] .listage,
#listrows[data-sort="arrive"] .listarriveval {
  font-weight: 700;
}
.big { font-size: 1.6rem; font-weight: 400; color: var(--navy); margin: 0.2rem 0; }
.searchwrap {
  position: relative;
  margin: 0.2rem 0 0.6rem;
  z-index: 4;
}
.searchrow { display: flex; align-items: stretch; gap: 0; margin: 0; }
.searchrow input {
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  margin: 0;
  height: 42px;
  max-height: 42px;
  padding: 0 0.75rem;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  outline: none;
  box-shadow: none;
}
.searchrow input:focus,
.searchrow input:focus-visible {
  outline: none;
  box-shadow: none;
  border-color: var(--line);
}
.searchwrap:has(.hits:not(:empty)) input {
  border-radius: 6px 0 0 0;
  border-bottom-color: transparent;
}
.searchrow button {
  background: var(--yc-blue);
  font-weight: 700;
  border-radius: 6px;
}
.searchrow #find {
  height: 42px;
  line-height: 42px;
  margin: 0;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 0 6px 6px 0;
  box-shadow: none;
  font-size: 0.95rem;
}
.searchrow button:active {
  background: #fff;
  color: var(--yc-blue);
}
.searchrow .btnclear {
  display: none;
  margin-left: 0.5rem;
  height: 42px;
  line-height: 42px;
  background: #fff;
  color: var(--yc-blue);
  box-shadow: none;
  border-radius: 6px;
}
.searchrow .btnclear.on {
  display: inline-block;
}
.searchrow .btnclear:active {
  background: var(--yc-blue);
  color: #fff;
}
button.btnsm, .searchrow button {
  width: auto;
  display: inline-block;
  margin-top: 0;
  padding: 0 0.9rem;
  font-size: 0.8em;
  line-height: 2.7em;
}
.hits {
  display: none;
  position: absolute;
  left: 0;
  right: auto;
  top: calc(100% - 1px);
  width: 50%;
  max-width: 50%;
  background: #fff;
  border: 1px solid var(--line);
  z-index: 8;
  margin: 0;
  max-height: 16.5rem;
  overflow: auto;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 0 5px rgba(20, 40, 70, 0.3);
}
.hits:not(:empty) { display: block; }
.hits .muted {
  margin: 0;
  padding: 0.7rem 0.9rem;
}
.hit {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.9rem;
  text-align: left;
  background: #fff;
  color: var(--yc-blue);
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.hit:last-child {
  border-bottom: 0;
  border-radius: 0 0 6px 6px;
}
.hit:hover,
.hit:active {
  background: #f4f1ea;
  color: var(--yc-blue);
  box-shadow: none;
}
.harbourmap,
#yc-harbour {
  height: 40vh !important;
  min-height: 40vh;
  width: 100% !important;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #dce4ee;
  margin: 0;
  z-index: 1;
  position: relative;
}
.harbourmap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 40vh;
  border: 0;
}
.framebody h2:not(.sechead),
.minehead {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--yc-blue);
  margin: 1.1rem 0 0.5rem;
}
.minehead {
  padding-left: 1.05rem;
}
#mine {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#mine .card {
  border: 0;
  border-radius: 6px;
  margin: 0;
  opacity: 1;
  transition: opacity 0.4s ease;
}
#mine .card.fade-in,
#mine .card.fade-out {
  opacity: 0;
}
.minerow { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; }
.yc-mark {
  width: 38px;
  height: 38px;
  position: absolute;
  margin-left: -19px;
  margin-top: -38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  overflow: visible;
}
.yc-pin {
  width: 26px;
  height: 26px;
  background: #0b1f3a;
  border-radius: 13px 13px 13px 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.yc-pin i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 5px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: none;
}
.yc-mark.mine .yc-pin {
  background: var(--yc-blue);
}
.yc-mark.mine .yc-pin i {
  background: #111;
}
.maplibregl-popup-content,
.leaflet-popup-content-wrapper,
.gm-style-iw,
.gm-style-iw-c {
  border-radius: 20px !important;
  font-family: Raleway, sans-serif;
  outline: none !important;
  border: 0 !important;
}
.gm-style-iw-c {
  padding: 0 !important;
  min-width: 280px !important;
  box-shadow: 0 2px 8px rgba(20, 40, 70, 0.18) !important;
}
.gm-style-iw-c:focus,
.gm-style-iw-c:focus-visible,
.gm-style-iw-d:focus,
.gm-style-iw button:focus,
.gm-style-iw button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.gm-style-iw-d {
  overflow: hidden !important;
  max-height: none !important;
  padding: 16px 18px 14px !important;
}
.gm-style-iw-chr,
.gm-style-iw-c > button,
.gm-ui-hover-effect {
  display: none !important;
}
.leaflet-popup-content { margin: 0; }
.popcity {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.popport {
  margin: 0.3rem 0 0.75rem;
  font-weight: 400;
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1.35;
}
.gm-style-iw .popbtn {
  width: 100%;
  display: block;
  margin-top: 0;
  height: 42px;
  padding: 0 1.1rem;
  font-family: Raleway, "Segoe UI", system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 42px !important;
  letter-spacing: normal;
  text-transform: none;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  color: #fff !important;
}
.gm-style-iw .popbtn:focus,
.gm-style-iw .popbtn:focus-visible {
  outline: none !important;
}
.popbtn.popadd { background: var(--yc-blue) !important; }
.popbtn.popadd:active { background: #fff !important; color: var(--yc-blue) !important; }
.popbtn.poprem { background: var(--warn) !important; }
.popbtn.poprem:active { background: #fff !important; color: var(--warn) !important; }
.minerow .btnrem {
  background: var(--warn);
  font-weight: 700;
  border-radius: 6px;
  box-shadow: none;
  height: 42px;
  line-height: 42px;
}
.minerow .btnrem:active {
  background: #fff;
  color: var(--warn);
}
.ask {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
  background: rgba(11, 31, 58, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.ask.on {
  opacity: 1;
  visibility: visible;
}
.askcard {
  background: var(--white);
  border-radius: 24px;
  padding: 1.5rem;
  max-width: 28rem;
  width: 100%;
}
.askcopy {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.asksure {
  margin: 0.7rem 0 1rem;
  font-size: 0.95rem;
  color: var(--muted);
}
#openask .askcopy,
#openask .asksure {
  color: var(--yc-blue);
}
#openask #opennote {
  font-weight: 700;
}
.askbtns {
  display: flex;
  gap: 0.5rem;
}
.ask.wait #joinno,
.ask.wait #joinyes {
  display: none !important;
}
.ask.wait #joinbtns,
.ask.wait #joincancel {
  display: flex !important;
}
.ask.wait #joincancel {
  display: inline-block !important;
  width: 100%;
}
.ask:not(.wait) #joincancel {
  display: none !important;
}
.askbtns[hidden],
.askbtns button[hidden] {
  display: none !important;
}
.ask.wait #joincancel {
  display: inline-block !important;
  width: 100%;
}
.askbtns button {
  flex: 1;
  width: auto;
  display: inline-block;
  margin: 0;
  height: 42px;
  line-height: 42px;
  padding: 0 0.8rem;
  font-size: 0.95rem;
  font-weight: 700;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
}
.ask #chgno {
  background: var(--yc-blue-light);
  color: #fff;
}
.ask #chgno:active {
  background: #fff;
  color: var(--yc-blue-light);
}
.ask #chgyes {
  background: var(--yc-blue);
  color: #fff;
}
.ask #chgyes:active {
  background: #fff;
  color: var(--yc-blue);
}
.ask #askno {
  background: #9ca3af;
  color: #fff;
}
.ask #askno:active {
  background: #fff;
  color: #9ca3af;
}
.ask #sendback,
.ask #clashchg {
  background: var(--yc-blue-light);
  color: #fff;
}
.ask #sendback:active,
.ask #clashchg:active {
  background: #fff;
  color: var(--yc-blue-light);
}
.ask #askyes {
  background: var(--warn);
  color: #fff;
}
.ask #askyes:active {
  background: #fff;
  color: var(--warn);
}
.askcard.sendcard {
  max-width: 32rem;
}
.sendsum {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.85rem 0 0.35rem;
  padding-left: calc(1.25rem + 0.7rem);
  font-size: 1.08rem;
  color: var(--ink);
}
.senddesc {
  flex: 0 0 150px;
  width: 150px;
  max-width: 150px;
}
.sendsum strong {
  color: var(--yc-blue);
  font-size: 1.2rem;
}
.sendchecks {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1rem 0 1.15rem;
}
.sendcheck {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink);
}
.sendcheck input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.12rem 0 0;
  flex-shrink: 0;
  accent-color: var(--yc-blue);
  cursor: pointer;
}
.sendcheck strong {
  color: var(--yc-blue);
}
.ask #sendgo:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.langrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}
.langchip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  background: #e8eef6;
  color: var(--yc-blue);
  font-weight: 700;
  cursor: pointer;
}
.langchip input {
  margin: 0;
  accent-color: var(--yc-blue);
}
.langchip.on {
  background: var(--yc-blue);
  color: #fff;
}
.langchip.on input {
  accent-color: #fff;
}
.duebar {
  position: relative;
  background: transparent;
  overflow: visible;
}
.listcard .duebar {
  margin: 0 0 0 -5px;
  width: calc(100% + 5px);
  padding-top: 6px;
}
.duemarks {
  position: relative;
  height: calc(1.05rem + 3px);
  padding: 5px 0;
  pointer-events: none;
}
.duemark {
  position: absolute;
  top: 5px;
  transform: translateX(-50%);
  font-size: calc(0.62rem + 3px);
  font-weight: 700;
  color: var(--yc-blue);
  line-height: 1;
  white-space: nowrap;
}
.duemark:first-child {
  transform: none;
  padding-left: 0.4rem;
}
.duemark:last-child {
  transform: translateX(-80%);
}
.duetrack {
  position: relative;
  height: 8px;
  background: #e4e8ee;
  overflow: hidden;
  border-radius: 0 0 7px 7px;
}
.cartmeta.hasdue {
  padding-bottom: 0;
}
.cartmeta .duebar {
  grid-column: 1 / -1;
  margin: 0.45rem -1.15rem 0;
  width: calc(100% + 2.3rem);
  padding-top: 6px;
}
.cartmeta .duetrack {
  border-radius: 0 0 6px 6px;
}
.duefill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--back-orange);
  transition: width 0.6s linear, background 0.25s;
}
.listcard .duefill,
.cartmeta .duefill {
  background: var(--back-orange);
}
.duebar.late .duefill {
  width: 100% !important;
  background: var(--yc-blue);
}
.duebar.over .duefill {
  width: 100% !important;
  background: #f87171;
}
.fold {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 0.45rem;
}
.fold > button.fold-h {
  width: 100%;
  margin-top: 0;
  text-align: left;
  background: transparent !important;
  color: var(--yc-blue) !important;
  border: 0;
  box-shadow: none;
  padding: 0.55rem 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.3;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}
.fold > button.fold-h:active {
  background: transparent !important;
  color: var(--yc-blue) !important;
  box-shadow: none;
}
.fold-h-txt {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.fold-h-sub {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--muted);
  text-transform: none;
}
.fold-b { padding: 0 0.75rem 0.75rem; display: none; }
.fold.open .fold-b { display: block; }
.user-acts {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
}
.user-acts .btnsend {
  margin-top: 0;
}
.qr-slot {
  display: flex;
  justify-content: center;
}
.qr-modal { width: 220px; height: 220px; margin: 0.8rem 0; }
.qr-login { margin-bottom: 1.25rem; }
.ask #qrok { margin-top: 1.1rem; }
.ask #rightback,
.ask #dropno,
.ask #joinno,
.ask #joincancel {
  background: var(--yc-blue-light);
  color: #fff;
}
.ask #rightback:active,
.ask #dropno:active,
.ask #joinno:active,
.ask #joincancel:active {
  background: #fff;
  color: var(--yc-blue-light);
}
.ask #rightsave,
.ask #joinyes,
.ask #qrok {
  background: var(--yc-blue);
  color: #fff;
}
.ask #rightsave:active,
.ask #joinyes:active,
.ask #qrok:active {
  background: #fff;
  color: var(--yc-blue);
}
.ask #dropyes {
  background: var(--warn);
  color: #fff;
}
.ask #dropyes:active {
  background: #fff;
  color: var(--warn);
}
.rights { display: grid; gap: .4rem; margin: .7rem 0; }
.checkrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  width: 100%;
  text-align: left;
  border: 1px solid #d5dbe6;
  background: #fff;
  color: #142846;
  border-radius: 8px;
  padding: .7rem .8rem;
  cursor: pointer;
  font: inherit;
}
.checkrow.on { border-color: #7294d0; background: #eef3fb; }
.checkrow .box {
  width: 22px;
  height: 22px;
  border: 1px solid #142846;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex: 0 0 22px;
  color: #142846;
}
.checkrow.on .box { background: #7294d0; color: #fff; border-color: #7294d0; }
.invitebox { margin: 1rem 0 1.4rem; }
.qr-slot { margin: .6rem 0; }
.qr-slot img { display: block; width: 240px; height: 240px; background: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; }
