:root {
  --paper: #f7f8f3;
  --white: #fff;
  --ink: #203e37;
  --muted: #79857d;
  --line: #e5e9df;
  --green: #2c7056;
  --lime: #ddebba;
  --soft: #edf3e5;
  --amber: #966024;
  --amber-bg: #fbf0df;
  --red: #a24c3f;
  --red-bg: #f9ebe5;
  --radius: 21px;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #a3be6b;
  outline-offset: 3px;
}
button {
  border: 0;
}
a {
  color: var(--green);
}
svg {
  display: block;
  flex-shrink: 0;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prototype {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #e9eddc;
  color: #637044;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 7px 16px;
}
.prototype b {
  font-weight: 650;
}
.shell {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  max-width: 1380px;
  margin: auto;
  min-height: calc(100dvh - 32px);
}
.sidebar {
  padding: 34px 23px 25px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 35px;
  position: sticky;
  top: 0;
  height: calc(100dvh - 32px);
}
.brand {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 780;
  letter-spacing: -1.1px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand svg {
  width: 29px;
  color: var(--green);
}
.brand-note {
  margin: 5px 0 0 38px;
  font-size: 11px;
  color: var(--muted);
}
.nav-list {
  display: grid;
  gap: 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  color: var(--muted);
  background: transparent;
  font-weight: 600;
  text-align: left;
}
.nav-item.active {
  color: var(--ink);
  background: var(--lime);
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-note {
  font-size: 12px;
  color: var(--muted);
  margin: 17px 3px 0;
}
.my-boat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 14px;
  width: 100%;
  text-align: left;
}
.my-boat small {
  color: var(--muted);
  font-size: 10px;
  display: block;
}
.my-boat strong {
  font-size: 13px;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.mobile-brand {
  display: none;
}
.location {
  font-size: 12px;
  color: var(--muted);
}
.location b {
  color: var(--ink);
  font-weight: 600;
  margin-right: 7px;
}
.top-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.demo-button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  padding: 8px 12px;
  font-size: 12px;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e3e9d9;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 750;
  flex-shrink: 0;
}
.profile-button {
  border-radius: 50%;
  padding: 0;
}
main {
  padding: 31px 38px 60px;
  max-width: 1100px;
  margin: auto;
}
.eyebrow {
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--muted);
}
h1 {
  font-size: 33px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  font-weight: 650;
  margin: 6px 0 9px;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.4px;
  margin: 0;
}
h3 {
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.25px;
  margin: 0;
}
p {
  margin: 0;
}
.sub {
  font-size: 12px;
  color: var(--muted);
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}
.button {
  border-radius: 11px;
  min-height: 43px;
  background: var(--ink);
  color: white;
  padding: 11px 17px;
  font-size: 13px;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.button .icon {
  width: 17px;
  height: 17px;
}
.button.secondary {
  background: var(--soft);
  color: var(--ink);
}
.button.outline {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.button.full {
  width: 100%;
}
.text-button {
  font-size: 12px;
  color: var(--green);
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 650;
  padding: 6px 0;
}
.text-button .icon {
  width: 15px;
  height: 15px;
}
.icon-button {
  width: 35px;
  height: 35px;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.icon-button:hover {
  background: var(--soft);
}
.status-band {
  border-radius: var(--radius);
  background: #e7efd9;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 25px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.status-band:after {
  content: "";
  width: 150px;
  height: 150px;
  border: 1px solid #a4bd7c42;
  border-radius: 50%;
  position: absolute;
  right: -25px;
  top: -75px;
  pointer-events: none;
}
.status-band.warn {
  background: var(--amber-bg);
  color: var(--amber);
}
.status-band.unknown {
  background: #e9edeb;
  color: #63776f;
}
.status-symbol {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff75;
  flex-shrink: 0;
}
.status-band h2 {
  font-size: 17px;
  margin-bottom: 3px;
}
.status-band p {
  font-size: 12px;
  opacity: 0.8;
}
.status-band .status-update {
  margin-left: auto;
  text-align: right;
  font-size: 10px;
  opacity: 0.7;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.system-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 19px 18px 17px;
  text-align: left;
  min-width: 0;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s,
    border-color 0.15s;
}
.system-card:hover {
  border-color: #9cb48b;
  transform: translateY(-2px);
}
.system-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 21px;
}
.system-icon {
  color: var(--green);
  background: #f0f5e8;
  border-radius: 11px;
  padding: 9px;
  display: inline-flex;
}
.system-icon .icon {
  width: 20px;
  height: 20px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #60936a;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot.warn {
  background: #b6823d;
}
.dot.gray {
  background: #b5beb8;
}
.system-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 4px;
}
.system-value {
  font-size: 25px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.7px;
}
.system-value small {
  font-size: 14px;
  font-weight: 450;
}
.system-note {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
  min-height: 30px;
  line-height: 1.5;
}
.system-bottom {
  border-top: 1px solid #eff1eb;
  margin-top: 15px;
  padding-top: 11px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.system-bottom .icon {
  width: 13px;
  height: 13px;
  color: var(--muted);
}
.warn-text {
  color: var(--amber);
}
.gray-text {
  color: var(--muted);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 27px 0 13px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
  min-width: 0;
}
.overview-lower {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
  align-items: start;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat-number {
  font-size: 25px;
  letter-spacing: -0.7px;
  font-weight: 650;
  margin: 6px 0 1px;
}
.stat-number small {
  font-size: 13px;
  font-weight: 450;
}
.activity {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 56px;
  margin: 22px 0 5px;
}
.activity span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: #d7e4c5;
  min-height: 3px;
}
.activity span.peak {
  background: #71916c;
}
.activity-axis {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 9px;
}
.weather-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f2f5ec;
  padding: 15px;
  border-radius: 13px;
  margin-top: 18px;
}
.weather-strip .icon {
  color: var(--green);
  width: 26px;
  height: 26px;
}
.weather-strip strong {
  font-size: 12px;
  display: block;
}
.weather-strip p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}
.notice-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 13px;
}
.notice-label .icon {
  width: 13px;
  height: 13px;
}
.notice h3 {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 9px;
}
.notice p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
}
.author-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-size: 11px;
  color: var(--muted);
}
.author-line .avatar {
  width: 27px;
  height: 27px;
  font-size: 9px;
}
.community-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.community-note .icon {
  width: 17px;
  height: 17px;
}
.chip-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 18px 0 20px;
}
.chip {
  font-size: 12px;
  color: var(--muted);
  padding: 8px 14px;
  background: transparent;
  border-radius: 25px;
  border: 1px solid var(--line);
}
.chip.active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.post {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.post.pinned {
  border-color: #d5dfc4;
}
.post-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 17px;
}
.post-person {
  font-size: 12px;
  font-weight: 650;
}
.post-person small {
  font-weight: 400;
  color: var(--muted);
  margin-left: 5px;
}
.post-meta {
  font-size: 10px;
  color: var(--muted);
  margin-top: 1px;
}
.post h2 {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 9px;
}
.post-body {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.post-foot {
  margin-top: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 18px;
}
.post-foot button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  background: transparent;
  color: var(--muted);
  padding: 3px 0;
}
.post-foot .icon {
  width: 16px;
  height: 16px;
}
.post-foot button.liked {
  color: var(--green);
}
.tag {
  display: inline-flex;
  padding: 3px 8px;
  background: var(--soft);
  color: var(--green);
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
}
.tag.neutral {
  background: #f0f2ee;
  color: var(--muted);
}
.tag.amber {
  background: var(--amber-bg);
  color: var(--amber);
}
.post-top .tag {
  margin-left: auto;
}
.reply {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.reply p {
  white-space: pre-wrap;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.reply small {
  font-size: 10px;
  color: var(--muted);
}
.reply-form {
  display: flex;
  gap: 8px;
  margin-top: 13px;
}
.reply-form input {
  min-width: 0;
  flex: 1;
}
.reply-form .button {
  padding: 10px 13px;
}
input,
select,
textarea {
  background: #fafbf7;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px;
  color: var(--ink);
  width: 100%;
  font-size: 14px;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 17px 0 7px;
}
.search {
  position: relative;
  margin: 21px 0 18px;
}
.search .icon {
  position: absolute;
  left: 13px;
  top: 12px;
  width: 18px;
  color: var(--muted);
}
.search input {
  padding-left: 40px;
  background: white;
}
.boat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.boat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  padding: 19px;
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.boat-card.mine {
  border-color: #b6ca9e;
  background: #f0f5e8;
}
.boat-icon {
  width: 37px;
  height: 37px;
  background: #f1f4ec;
  display: grid;
  place-items: center;
  border-radius: 11px;
  flex-shrink: 0;
  color: #8a9d86;
}
.boat-icon .icon {
  width: 23px;
}
.boat-card strong {
  display: block;
  font-size: 13px;
}
.boat-card small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.myboat-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: #e7efd9;
  border-color: #e7efd9;
}
.myboat-panel h2 {
  font-size: 25px;
  margin: 4px 0;
}
.myboat-panel .icon {
  width: 55px;
  height: 55px;
  stroke-width: 1.1;
  color: #819a71;
}
.member-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.member-row:last-child {
  border-bottom: 0;
}
.member-row .tag {
  margin-left: auto;
}
.member-row p {
  font-size: 13px;
  font-weight: 600;
}
.member-row small {
  font-size: 11px;
  color: var(--muted);
}
.empty {
  color: var(--muted);
  font-size: 13px;
  padding: 25px 5px;
  text-align: center;
}
.admin-box {
  border: 1px dashed #b8c69e;
  border-radius: 16px;
  padding: 18px;
  margin-top: 20px;
}
.request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.request:last-child {
  border: 0;
}
.request p {
  font-size: 13px;
}
.request small {
  color: var(--muted);
  font-size: 11px;
}
.request .button {
  min-height: 34px;
  padding: 7px 10px;
  font-size: 11px;
}
.bottom-nav {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: 25px;
  padding: 0;
  width: min(520px, calc(100vw - 28px));
  max-height: 90dvh;
  box-shadow: 0 20px 90px #18372a25;
}
dialog::backdrop {
  background: #183b315c;
  backdrop-filter: blur(4px);
}
.dialog-inner {
  padding: 26px;
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.dialog-head h2 {
  font-size: 23px;
}
.dialog-footer {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}
.demo-notice {
  background: #eaf0df;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 11px;
  color: #64754f;
  margin: 10px 0 18px;
}
.detail-status {
  padding: 20px;
  background: var(--soft);
  border-radius: 17px;
  margin: 18px 0;
}
.detail-status .system-value {
  font-size: 28px;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.detail-row span {
  color: var(--muted);
}
.detail-row b {
  font-weight: 600;
  text-align: right;
}
.trace-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 18px 0;
}
.trace {
  text-align: center;
  background: #eff2eb;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 4px;
}
.trace.active {
  background: var(--lime);
  border-color: #d4e0be;
}
.trace b {
  font-size: 16px;
  display: block;
}
.trace small {
  font-size: 9px;
  color: var(--muted);
}
.scenario-option {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 15px;
  text-align: left;
  display: flex;
  gap: 11px;
  align-items: center;
  width: 100%;
  margin-bottom: 9px;
}
.scenario-option.selected {
  border-color: #93b273;
  background: var(--soft);
}
.scenario-option strong {
  display: block;
  font-size: 13px;
}
.scenario-option small {
  font-size: 11px;
  color: var(--muted);
}
.scenario-option .icon {
  color: var(--green);
}
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: var(--ink);
  color: white;
  padding: 13px 19px;
  border-radius: 13px;
  font-size: 12px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100vw - 30px);
  text-align: center;
  box-shadow: 0 8px 25px #233b3620;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.fine-print {
  font-size: 10px;
  color: var(--muted);
  margin-top: 23px;
  line-height: 1.7;
}
@media (min-width: 1400px) {
  .shell {
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 30px 16px;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 27px 25px 50px;
  }
  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .system-note {
    min-height: 0;
  }
  .system-top {
    margin-bottom: 17px;
  }
  .boat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .shell {
    display: block;
    min-height: 100dvh;
  }
  .sidebar {
    display: none;
  }
  .topbar {
    height: 72px;
    padding: 0 21px;
  }
  .location {
    display: none;
  }
  .mobile-brand {
    display: flex;
    font-size: 17px;
    min-width: 0;
  }
  .mobile-brand svg {
    width: 25px;
  }
  .top-actions {
    gap: 10px;
  }
  .demo-button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .demo-button .icon {
    width: 14px;
    height: 14px;
  }
  .avatar {
    width: 32px;
    height: 32px;
  }
  main {
    padding: 24px 20px 110px;
  }
  h1 {
    font-size: 29px;
  }
  .page-head {
    margin-bottom: 22px;
    align-items: end;
    flex-wrap: wrap;
  }
  .page-head .button {
    font-size: 12px;
    min-height: 39px;
    padding: 10px 12px;
  }
  .page-head .eyebrow {
    font-size: 9px;
  }
  .status-band {
    padding: 19px 17px;
    gap: 12px;
  }
  .status-band h2 {
    font-size: 15px;
  }
  .status-band p {
    font-size: 11px;
  }
  .status-band .status-update {
    display: none;
  }
  .status-symbol {
    width: 33px;
    height: 33px;
  }
  .status-grid {
    gap: 11px;
  }
  .system-card {
    padding: 17px 16px;
  }
  .system-value {
    font-size: 25px;
  }
  .system-label {
    font-size: 11px;
  }
  .system-top {
    margin-bottom: 15px;
  }
  .system-bottom {
    font-size: 10px;
  }
  .overview-lower {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel {
    padding: 21px;
  }
  .section-head {
    margin-top: 26px;
  }
  h2 {
    font-size: 17px;
  }
  .community-note {
    font-size: 10px;
  }
  .post {
    padding: 20px;
  }
  .post h2 {
    font-size: 19px;
  }
  .post-person small {
    display: block;
    margin-left: 0;
  }
  .post-top {
    gap: 8px;
  }
  .boat-grid {
    gap: 10px;
  }
  .boat-card {
    padding: 15px 12px;
    gap: 9px;
  }
  .boat-card strong {
    font-size: 12px;
  }
  .boat-card small {
    font-size: 9px;
  }
  .boat-icon {
    width: 30px;
    height: 33px;
  }
  .boat-icon .icon {
    width: 21px;
  }
  .myboat-panel h2 {
    font-size: 25px;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    border-top: 1px solid var(--line);
    background: #ffffffed;
    backdrop-filter: blur(16px);
    padding: 9px 15px calc(9px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .bottom-nav .nav-item {
    flex: 1;
    max-width: 125px;
    padding: 7px 10px;
    gap: 5px;
    flex-direction: column;
    font-size: 10px;
    border-radius: 13px;
  }
  .bottom-nav .nav-item .icon {
    width: 22px;
    height: 22px;
  }
  .bottom-nav .nav-item.active {
    background: transparent;
    color: var(--green);
  }
  .bottom-nav .nav-item.active .icon {
    stroke-width: 2.2;
  }
  .bottom-nav .nav-item.active:after {
    content: "";
    width: 4px;
    height: 4px;
    background: var(--green);
    border-radius: 50%;
    margin-top: 0;
  }
  .toast {
    bottom: 92px;
    width: max-content;
    max-width: calc(100vw - 35px);
  }
  .dialog-inner {
    padding: 23px;
  }
  dialog {
    max-height: 88dvh;
  }
  .post-foot {
    gap: 17px;
  }
  .request {
    align-items: start;
  }
  .request .button {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.shell.guest {
  display: block;
}
.shell.guest .sidebar {
  display: none;
}
.shell.guest .mobile-brand {
  display: flex;
}
.shell.guest main {
  max-width: 520px;
  padding-top: 45px;
}
.shell.guest .location {
  display: none;
}
.login-card h1 {
  font-size: 28px;
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin: 22px 0;
}
.auth-tabs button {
  flex: 1;
}
.auth-note {
  margin-top: 20px;
  line-height: 1.8;
}
.status-symbol {
  flex-shrink: 0;
}
.api-error {
  color: var(--red);
  font-size: 12px;
  margin-top: 12px;
}
.profile-actions {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}
.history-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 20px;
}
.history-table td,
.history-table th {
  text-align: left;
  padding: 9px;
  border-bottom: 1px solid var(--line);
}
.loading {
  padding: 40px 0;
  color: var(--muted);
  font-size: 13px;
}
.member-row {
  flex-wrap: wrap;
}
.data-time {
  font-size: 10px;
  color: var(--muted);
  margin: 12px 2px;
}
.button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.guest .topbar {
  max-width: 100%;
}
.brand {
  letter-spacing: -0.7px;
}
.post-foot {
  flex-wrap: wrap;
}
.dialog-footer {
  flex-wrap: wrap;
}


/* Kloakkens Venner: farver og akvareludtryk fra foreningens vejledning. */
@font-face {
  font-family: "Glacial Indifference";
  src: url("assets/GlacialIndifference-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("assets/GlacialIndifference-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #f9f9f6;
  --white: #fff;
  --ink: #243a3d;
  --muted: #586b6e;
  --line: #dce3df;
  --green: #365f63;
  --lime: #c0d1cf;
  --soft: #eaf0ee;
  --amber: #79521a;
  --amber-bg: #f2ecd6;
  --red: #974b43;
  --red-bg: #eee0dc;
  --radius: 17px;
}
body {
  font-family: "Glacial Indifference", "Century Gothic", system-ui, sans-serif;
  background-color: var(--paper);
  background-image: linear-gradient(#ffffffb8, #ffffffb8), url("assets/akvarel-papir.webp");
  background-size: auto, 1300px auto;
  background-attachment: scroll;
  line-height: 1.5;
}
h1, h2, h3, .brand, .system-value, .stat-number, .button {
  font-family: "Glacial Indifference", "Century Gothic", system-ui, sans-serif;
  font-weight: 700;
}
h1 {letter-spacing: -.7px;}
h2, h3 {letter-spacing: -.2px;}
.shell {background: #ffffff38;}
.sidebar {background: #ffffff72; border-color: #c9d4d1;}
.brand {font-size: 21px; letter-spacing: -.5px; line-height: 1.15;}
.brand svg {color: #4c7174; stroke-width: 1.35;}
.brand-note {font-size: 12px; margin-left: 0; margin-top: 12px; color: var(--muted);}
.sidebar-note {font-size: 13px; line-height: 1.6; color: var(--muted);}
.topbar {height: 84px; background: #ffffffb0; border-bottom: 1px solid #dce3df;}
.location {font-size: 13px;}
.location b {font-weight: 700;}
.harbour-banner {height: 176px; margin: 0 38px; border-bottom: 1px solid #d7dfdb; overflow: hidden;}
.harbour-banner img {display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 61%; mix-blend-mode: multiply;}
.guest .harbour-banner {display: none;}
.guest main::before {content: ""; display: block; height: 112px; margin: 0 -9px 23px; background: url("assets/strandgade-baadraekke.webp") center/cover no-repeat; mix-blend-mode: multiply;}
main {padding-top: 25px;}
.eyebrow {font-size: 10px; font-weight: 700; letter-spacing: 1.4px; color: #607478;}
.sub {font-size: 13px; color: var(--muted);}
.fine-print {font-size: 11px; color: #5d7073; line-height: 1.65;}
.nav-item {font-size: 15px; font-weight: 700; border-radius: 11px; color: #5d7173;}
.nav-item.active {background: #c0d1cf; color: #243a3d;}
.nav-item .icon {stroke-width: 1.45;}
.bottom-nav {background: #fffffff2; border-color: #bfcfcd;}
.my-boat {background: #f1f4ef; border-color: #d2dcd6; border-radius: 12px;}
.my-boat small {font-size: 11px; color: #5c6c6c;}
.my-boat strong {font-size: 15px;}
.avatar {background: #c0d1cf; color: #243a3d; font-weight: 700;}
.status-band {background: #c0d1cf; border-radius: 14px; color: #243a3d;}
.status-band:after {display: none;}
.status-band .status-symbol {background: #ffffff85;}
.status-band p {opacity: 1; color: #3c5559; font-size: 13px;}
.status-band.warn {background: #f2ecd6; color: #725019;}
.status-band.warn p {color: #725019;}
.status-band.unknown {background: #e2d8d7; color: #4f5459;}
.status-band.unknown p {color: #535c60;}
.system-card {border-radius: 15px; border-color: #d6dfda; background: #fffffff0;}
.system-card:nth-child(1) {background: #e9f0ed;}
.system-card:nth-child(2) {background: #f5f0df;}
.system-card:nth-child(3) {background: #f0e8e6;}
.system-card:nth-child(4) {background: #f6f7f3;}
.system-icon {background: #ffffff8c; color: #3d6266; border-radius: 10px;}
.system-icon .icon {stroke-width: 1.4;}
.system-card:hover {border-color: #859f9e;}
.system-label {font-size: 12px; color: #55696c;}
.system-value {font-size: 26px; letter-spacing: -.5px;}
.system-note {font-size: 12px; color: #53686b;}
.system-bottom {font-size: 11px; border-color: #cad6ce;}
.dot {background: #477c63; width: 7px; height: 7px;}
.dot.warn {background: #a0782d;}
.dot.gray {background: #869295;}
.gray-text {color: #637275;}
.panel, .post {background: #fffffff2; border-color: #d6dfda; border-radius: 17px;}
.panel.notice {background: #f2ecd6; border-color: #e8e0c5;}
.notice p {font-size: 14px; color: #4e5f60; line-height: 1.65;}
.notice h3 {font-size: 21px;}
.notice-label {color: #3a5d61; font-size: 11px;}
.author-line {color: #53666a; font-size: 12px;}
.weather-strip {background: #e2d8d7; border-radius: 13px; color: #243a3d;}
.weather-strip strong {font-size: 14px;}
.weather-strip p {color: #4c5f61; font-size: 12px;}
.weather-strip .icon {color: #44676b;}
.community-note {font-size: 12px;}
.stat-number {color: #243a3d;}
.button {background: #365b60; color: white; border-radius: 10px; font-size: 14px;}
.button.secondary {background: #c0d1cf; color: #243a3d;}
.button.outline {border-color: #abbfbd; color: #365b60; background: #ffffff90;}
.button:hover {filter: brightness(.97);}
.text-button {font-size: 13px; color: #365b60; font-weight: 700;}
.icon-button:hover {background: #e2ece8;}
.chip {font-size: 13px; border-color: #c7d4cd; color: #526b6d;}
.chip.active {background: #365b60; border-color: #365b60; color: white;}
.post h2 {font-size: 24px;}
.post-body {font-size: 15px; line-height: 1.65;}
.post.pinned {border-color: #d8cdac; background: #faf7ed;}
.post-person {font-size: 14px;}
.post-meta {font-size: 11px;}
.post-foot button {font-size: 13px;}
.tag {background: #c0d1cf; color: #243a3d; font-size: 11px; font-weight: 700;}
.tag.neutral {background: #e2d8d7; color: #41575a;}
.tag.amber {background: #f2ecd6; color: #79521a;}
.reply {font-size: 14px;}
.reply small {font-size: 11px;}
.boat-card {border-radius: 14px; border-color: #d5e0dc; background: #fffffff2;}
.boat-card.mine {background: #e3ece9; border-color: #a4bcba;}
.boat-card:hover {border-color: #90aaa8;}
.boat-card > span:last-child {min-width: 0; overflow-wrap: anywhere;}
.boat-card strong {font-size: 15px; font-weight: 700; color: #243a3d;}
.boat-card small {font-size: 12px; color: #556b6f; line-height: 1.4;}
.boat-icon {background: #f2ecd6; color: #4d6e70; border-radius: 10px;}
.boat-card.mine .boat-icon {background: #ffffffa3;}
.myboat-panel {background: #c0d1cf; border-color: #c0d1cf;}
.myboat-panel .icon {color: #4d7276; stroke-width: 1.05;}
.admin-box {background: #f6f2e6; border-color: #b4c3bb;}
.member-row p {font-size: 15px;}
.member-row small, .request small {font-size: 12px;}
.request p {font-size: 14px;}
dialog {background: #fafbf7; border-color: #cad7d1; border-radius: 22px;}
dialog::backdrop {background: #253b3d66;}
.dialog-head h2 {font-size: 26px;}
.detail-status {background: #dce7e3; border-radius: 14px;}
.detail-row {font-size: 14px; border-color: #dbe2db;}
.trace.active {background: #c0d1cf; border-color: #a8bebb;}
.trace {background: #f2f3ed; border-radius: 12px;}
input, select, textarea {font-family: inherit; font-size: 16px; background: #fff; border-color: #baccc6; border-radius: 9px;}
input::placeholder, textarea::placeholder {color: #728183; opacity: 1;}
label {font-size: 14px; font-weight: 700;}
.search input {background: #fffffff2;}
.toast {background: #29484c; font-size: 14px;}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {outline-color: #809e9f;}
@media (max-width: 1100px) {
  .harbour-banner {margin: 0 25px; height: 148px;}
  .system-note {font-size: 12px;}
}
@media (max-width: 720px) {
  .topbar {height: 74px; padding: 0 20px; background: #ffffffc9;}
  .mobile-brand {font-size: 20px; max-width: 260px;}
  .mobile-brand svg {width: 26px;}
  .harbour-banner {height: 96px; margin: 0 15px;}
  .harbour-banner img {object-position: center 60%;}
  main {padding: 23px 18px 110px;}
  .status-band {padding: 17px; gap: 11px; margin-bottom: 16px;}
  .status-band h2 {font-size: 17px; line-height: 1.3;}
  .status-band p {font-size: 12px; margin-top: 5px;}
  .system-card {padding: 16px 14px; border-radius: 14px;}
  .system-top {margin-bottom: 13px;}
  .system-label {font-size: 12px;}
  .system-value {font-size: 25px;}
  .system-note {font-size: 11px;}
  .system-bottom {font-size: 10px;}
  .bottom-nav .nav-item {font-size: 12px; color: #647a7d;}
  .bottom-nav .nav-item.active {color: #2c5358;}
  .bottom-nav .nav-item.active:after {background: #4d7476;}
  .post {padding: 21px;}
  .post h2 {font-size: 22px;}
  .post-body {font-size: 15px;}
  .boat-card {padding: 16px 12px;}
  .boat-card strong {font-size: 15px;}
  .boat-card small {font-size: 12px;}
  .boat-card .boat-icon {width: 30px; height: 34px;}
  .boat-grid {gap: 11px;}
  .sub {font-size: 13px;}
  .fine-print {font-size: 11px;}
  .guest main::before {height: 95px; margin-bottom: 20px;}
  .guest main {padding-top: 20px;}
}
@media (max-width: 360px) {
  .mobile-brand {font-size: 18px; max-width: 232px;}
  .harbour-banner {height: 83px;}
  .system-value {font-size: 23px;}
}

/* Kloaktips — samme papir, farver og typografi som vejledningen. */
.tips-intro {margin-bottom: 30px;}
.tips-intro h1 {margin: 5px 0 10px; font-size: 36px;}
.tips-section {margin-bottom: 34px;}
.tips-heading {display: flex; align-items: center; gap: 12px; margin-bottom: 16px;}
.tips-heading .icon {width: 27px; height: 27px; color: #365f63; flex-shrink: 0;}
.tips-heading h2 {font-size: 25px; margin: 0;}
.tips-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;}
.tip-card {padding: 23px 25px; border: 1px solid #c9d7d3; border-radius: 16px; background: #eaf0ee; overflow-wrap: anywhere;}
.tips-frost .tip-card {background: #f2ecd6; border-color: #e2dbc2;}
.tips-neighbours .tip-card {background: #eee6e5; border-color: #e2d8d7;}
.tip-card h3 {font-size: 19px; line-height: 1.3; margin: 0 0 10px; font-weight: 700; color: #243a3d;}
.tip-body {font-size: 15px; line-height: 1.65; color: #354e51;}
.tip-body ul, .tip-body ol {padding-left: 22px; margin: 10px 0 0;}
.tip-body li + li {margin-top: 5px;}
.tips-source {font-size: 12px; line-height: 1.6; color: #586b6e; margin: 0 0 12px;}
@media (max-width: 720px) {
  .tips-intro {margin-bottom: 24px;}
  .tips-intro h1 {font-size: 30px;}
  .tips-heading h2 {font-size: 23px;}
  .tips-heading {gap: 10px;}
  .tips-grid {grid-template-columns: minmax(0, 1fr); gap: 12px;}
  .tip-card {padding: 20px;}
  .tip-card h3 {font-size: 19px;}
  .tips-section {margin-bottom: 28px;}
  .bottom-nav .nav-item {min-width: 0; padding-left: 4px; padding-right: 4px; font-size: 11px;}
}
