: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;
  src: url("assets/GlacialIndifference-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Glacial;
  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, "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, "Century Gothic", system-ui, sans-serif;
  font-weight: 700;
}
h1 {
  letter-spacing: -0.7px;
}
h2,
h3 {
  letter-spacing: -0.2px;
}
.shell {
  background: #ffffff38;
}
.sidebar {
  background: #ffffff72;
  border-color: #c9d4d1;
}
.brand {
  font-size: 21px;
  letter-spacing: -0.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: -0.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(0.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;
  }
}

/* Godkendt Kloakkens Venner-design · 21. oktober 2026 */

:root {
  --paper: #f7f5ed;
  --ink: #273e37;
  --muted: #69746a;
  --line: #d9ddcf;
  --green: #dfe8be;
  --pink: #eddbd3;
  --blue: #dbe6e2;
  --yellow: #f5e7b6;
  --white: #fffef8;
  --round: 22px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.45 Glacial,
    system-ui,
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #7d8b45;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.05;
}
h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -2px;
}
h2 {
  font-size: 29px;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 21px;
  letter-spacing: -0.3px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
}
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}
.demo-strip {
  background: #e9eddb;
  padding: 7px 15px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.3px;
}
.demo-strip b {
  margin-right: 6px;
}
.top {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.brand {
  text-align: left;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0;
}
.brand > span {
  font-size: 31px;
  transform: rotate(-8deg);
}
.brand b {
  display: block;
  font-size: 23px;
  letter-spacing: -0.5px;
}
.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.profile {
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 15px;
  background: var(--white);
  font-size: 14px;
  white-space: nowrap;
}
.boats-art {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: center 62%;
  mix-blend-mode: multiply;
  margin-top: 8px;
}
.nav {
  display: flex;
  gap: 5px;
  padding: 14px 0 22px;
}
.nav button {
  padding: 11px 23px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}
.nav button.active {
  background: var(--ink);
  color: var(--white);
}
.nav button:not(.active):hover {
  background: #e9eddf;
}
.nav .emoji {
  font-size: 22px;
}
.page {
  padding-bottom: 55px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 17px 0 27px;
}
.heading p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 560px;
}
.stamp {
  flex: 0 0 auto;
  background: var(--yellow);
  border: 1px solid #d4c591;
  border-radius: 50%;
  width: 107px;
  height: 107px;
  display: grid;
  place-content: center;
  line-height: 1.16;
  text-align: center;
  transform: rotate(9deg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
}
.stamp span {
  font-size: 26px;
  margin-bottom: 5px;
}
.status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--green);
  padding: 19px 22px;
  border-radius: var(--round);
  margin-bottom: 20px;
  gap: 16px;
}
.status h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.status p {
  margin-top: 5px;
  font-size: 15px;
}
.status .time {
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}
.status.bad {
  background: #f0d1c7;
}
.status.cold {
  background: #ece2b9;
}
.main-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  gap: 20px;
}
.systems {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--round);
  padding: 4px 22px;
}
.system {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
}
.system + .system {
  border-top: 1px solid var(--line);
}
.system:hover .sys-title {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sys-emoji {
  font-size: 43px;
  width: 51px;
  text-align: center;
  flex-shrink: 0;
}
.sys-main {
  min-width: 0;
  flex: 1;
}
.sys-title {
  font-size: 23px;
  font-weight: 700;
}
.sys-main p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}
.sys-state {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.sys-state small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  margin-top: 5px;
  color: var(--muted);
}
.panel {
  border: 1px solid var(--line);
  border-radius: var(--round);
  padding: 23px;
  background: var(--white);
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.link {
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 3px 0;
}
.graph {
  width: 100%;
  height: 104px;
  display: block;
  margin-top: 22px;
  overflow: visible;
}
.graph text {
  font:
    11px Glacial,
    system-ui;
  fill: #6b7569;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 21px;
}
.stats b {
  font-size: 28px;
  letter-spacing: -1px;
  display: block;
}
.stats small {
  font-size: 12px;
  color: var(--muted);
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 29px 0 14px;
}
.section-title h2 {
  font-size: 26px;
}
.weather {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 12px;
}
.weather article {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--blue);
}
.weather .big {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.7px;
  margin: 9px 0 4px;
}
.weather p {
  font-size: 13px;
}
.weather .eyebrow {
  font-size: 11px;
  letter-spacing: 0.5px;
}
.notice {
  margin-top: 22px;
  background: var(--yellow);
  border-radius: 18px;
  padding: 19px 22px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.notice > span {
  font-size: 28px;
}
.notice p {
  font-size: 15px;
  margin-top: 5px;
}
.notice .link {
  margin-top: 5px;
}
.testbar {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 27px;
  padding-top: 18px;
  border-top: 1px dashed #c8cebb;
  font-size: 12px;
  color: var(--muted);
}
.testbar button {
  border: 1px solid #c8cebb;
  border-radius: 50px;
  padding: 6px 10px;
  font-size: 12px;
}
.testbar button.selected {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.footer {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-bottom: 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 20px;
  border-radius: 99px;
  background: var(--ink);
  color: white;
  font-weight: 700;
}
.button.light {
  background: #e8ecdc;
  color: var(--ink);
}
.button.danger {
  background: #efd9d0;
  color: #6b332c;
}
.pill {
  display: inline-flex;
  padding: 5px 11px;
  background: #e8ecdc;
  border-radius: 99px;
  font-size: 12px;
}
.post-list {
  display: grid;
  gap: 17px;
}
.post {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--round);
  background: var(--white);
}
.post.pinned {
  background: var(--yellow);
  border-color: #e2d6af;
}
.post .meta {
  font-size: 13px;
  color: var(--muted);
  margin: 10px 0 14px;
}
.post h2 {
  font-size: 27px;
}
.post .body {
  white-space: pre-wrap;
  font-size: 17px;
  line-height: 1.65;
}
.post-actions {
  display: flex;
  gap: 20px;
  margin-top: 19px;
  padding-top: 13px;
  border-top: 1px solid #263e371c;
}
.post-actions button {
  font-size: 14px;
  padding: 0;
}
.replies {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 15px;
  display: grid;
  gap: 10px;
}
.reply {
  background: #f1f2e9;
  padding: 13px;
  border-radius: 12px;
  font-size: 15px;
}
.reply b {
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}
.replyform {
  display: flex;
  gap: 9px;
  margin-top: 5px;
}
.replyform input {
  margin: 0;
  min-width: 0;
  flex: 1;
}
.replyform button {
  padding: 8px 13px;
}
.boat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.boat-card {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 20px;
  display: flex;
  gap: 13px;
  align-items: center;
}
.boat-card.mine {
  background: var(--blue);
}
.boat-card .emoji {
  font-size: 31px;
}
.boat-card b {
  display: block;
  font-size: 21px;
}
.boat-card small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.search {
  margin-bottom: 20px;
  max-width: 460px;
}
.search input {
  margin: 0;
}
.my-boat {
  background: var(--blue);
  padding: 21px 24px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
  gap: 15px;
}
.my-boat h2 {
  margin: 5px 0;
}
.my-boat p {
  font-size: 14px;
}
.admin-panel {
  margin-top: 25px;
}
.admin-request {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}
.admin-request:last-child {
  border: 0;
}
.admin-request .buttons {
  display: flex;
  gap: 6px;
}
.admin-request b {
  display: block;
}
.admin-request small {
  font-size: 13px;
  color: var(--muted);
}
.guide {
  border: 1px solid var(--line);
  border-radius: var(--round);
  overflow: hidden;
  background: #faf9f4;
}
.tips-full {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--round);
  padding: 20px;
}
.tips-full > summary {
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}
.tips-intro {
  display: none;
}
.tips-heading {
  margin: 25px 0 13px;
}
.tips-heading h2 {
  font-size: 25px;
}
.tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tip-card {
  background: var(--blue);
  padding: 19px;
  border-radius: 14px;
}
.tips-frost .tip-card {
  background: var(--yellow);
}
.tips-neighbours .tip-card {
  background: var(--pink);
}
.tip-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  line-height: 1.25;
}
.tip-body {
  font-size: 15px;
  line-height: 1.6;
}
.tip-body ul,
.tip-body ol {
  padding-left: 20px;
  margin-bottom: 0;
}
.tips-source {
  margin-top: 15px;
  font-size: 12px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 28px;
  background: var(--paper);
  color: var(--ink);
  width: min(520px, calc(100% - 28px));
  max-height: 88dvh;
  overflow: auto;
}
dialog::backdrop {
  background: #17282090;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 30px;
}
.close {
  font-size: 25px;
  line-height: 1;
  padding: 0 3px;
}
label {
  display: block;
  margin: 17px 0 6px;
  font-size: 14px;
  font-weight: 700;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid #cbd1c1;
  border-radius: 13px;
  outline-offset: 3px;
}
textarea {
  min-height: 125px;
  resize: vertical;
}
form .button {
  margin-top: 20px;
}
.profile-buttons {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}
.dialog-note {
  margin-top: 17px;
  font-size: 13px;
  color: var(--muted);
}
.details {
  display: grid;
  gap: 0;
  margin-top: 14px;
}
.detail {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 15px;
}
.detail b {
  text-align: right;
}
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 99px;
  background: var(--ink);
  color: white;
  font-size: 14px;
  z-index: 10;
  width: max-content;
  max-width: calc(100vw - 24px);
  text-align: center;
}
.toast[hidden] {
  display: none;
}
.empty {
  padding: 25px;
  text-align: center;
  color: var(--muted);
}
.auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}
.auth-tabs button {
  padding: 8px 15px;
  background: #e8ecdc;
  border-radius: 50px;
}
.auth-tabs .selected {
  background: var(--ink);
  color: white;
}
.mini-graph-title {
  font-size: 13px;
  color: var(--muted);
  margin-top: 20px;
}
@media (min-width: 721px) {
  .nav {
    position: sticky;
    top: 0;
    background: var(--paper);
    z-index: 2;
    border-bottom: 1px solid var(--line);
    padding-bottom: 14px;
  }
  .heading {
    margin-top: 30px;
  }
  .profile:hover,
  .boat-card:hover {
    border-color: #7c8a6e;
  }
}
@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
  .demo-strip {
    font-size: 10px;
  }
  .top {
    height: 72px;
  }
  .brand b {
    font-size: 20px;
  }
  .brand small {
    font-size: 10px;
  }
  .brand > span {
    font-size: 27px;
  }
  .profile {
    font-size: 12px;
    padding: 8px 10px;
  }
  .boats-art {
    height: 110px;
    width: calc(100% + 20px);
    margin-left: -10px;
    object-position: center 65%;
  }
  .nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: #f7f5edf5;
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 10px 8px max(10px, env(safe-area-inset-bottom));
    gap: 0;
    justify-content: space-around;
  }
  .nav button {
    flex: 1;
    min-width: 0;
    gap: 3px;
    border-radius: 15px;
    flex-direction: column;
    font-size: 11px;
    padding: 8px 3px;
  }
  .nav .emoji {
    font-size: 23px;
  }
  .heading {
    margin: 19px 0 23px;
    gap: 10px;
    align-items: center;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -1.6px;
  }
  .heading p {
    font-size: 15px;
    margin-top: 10px;
  }
  .stamp {
    width: 74px;
    height: 74px;
    font-size: 9px;
    letter-spacing: 0.3px;
  }
  .stamp span {
    font-size: 19px;
    margin-bottom: 3px;
  }
  .status {
    padding: 18px;
    gap: 10px;
    align-items: flex-start;
  }
  .status h2 {
    font-size: 21px;
  }
  .status p {
    font-size: 13px;
  }
  .status .time {
    display: none;
  }
  .main-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .systems {
    padding: 2px 18px;
  }
  .system {
    padding: 20px 0;
    gap: 11px;
  }
  .sys-emoji {
    font-size: 37px;
    width: 43px;
  }
  .sys-title {
    font-size: 23px;
  }
  .sys-main p {
    font-size: 12px;
  }
  .sys-state {
    font-size: 13px;
  }
  .sys-state small {
    font-size: 11px;
  }
  .panel {
    padding: 20px;
  }
  .section-title {
    margin-top: 25px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .weather {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .weather article {
    padding: 16px;
  }
  .weather article:first-child {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1px 12px;
  }
  .weather article:first-child .big {
    grid-column: 2;
    grid-row: 1/3;
    margin: 0;
    font-size: 35px;
    align-self: center;
  }
  .weather .big {
    font-size: 27px;
  }
  .weather p {
    font-size: 12px;
  }
  .notice {
    padding: 18px;
  }
  .notice h3 {
    font-size: 20px;
  }
  .notice p {
    font-size: 14px;
  }
  .section-title .link {
    font-size: 12px;
  }
  .page {
    padding-bottom: 32px;
  }
  .footer {
    padding-bottom: 115px;
    font-size: 11px;
  }
  .boat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .boat-card {
    padding: 17px 12px;
    gap: 9px;
  }
  .boat-card .emoji {
    font-size: 25px;
  }
  .boat-card b {
    font-size: 19px;
    overflow-wrap: anywhere;
  }
  .boat-card small {
    font-size: 11px;
  }
  .my-boat {
    padding: 18px;
  }
  .my-boat .button {
    padding: 9px 12px;
    font-size: 12px;
  }
  .admin-request {
    flex-wrap: wrap;
  }
  .admin-request .buttons {
    width: 100%;
  }
  .admin-request .button {
    font-size: 13px;
    padding: 8px 13px;
  }
  .heading .button {
    font-size: 13px;
    padding: 11px 15px;
    white-space: nowrap;
  }
  .post {
    padding: 21px;
  }
  .post h2 {
    font-size: 25px;
  }
  .post .body {
    font-size: 16px;
  }
  .post .meta {
    font-size: 12px;
  }
  .tips-grid {
    grid-template-columns: 1fr;
  }
  .tips-full {
    padding: 16px;
  }
  dialog {
    padding: 23px;
  }
  .replyform .button {
    font-size: 13px;
  }
  .graph {
    margin-top: 18px;
  }
  .stamp {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .page {
    animation: appear 0.22s ease;
  }
  @keyframes appear {
    from {
      opacity: 0.5;
      transform: translateY(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Tilpas de eksisterende formularer og administration til den nye skal. */
html body .shell {
  display: block !important;
  max-width: 1100px !important;
  padding: 0 30px;
  margin: 0 auto;
  min-height: auto;
  grid-template-columns: none;
}
html body .shell main {
  padding: 0 0 45px !important;
  max-width: none;
  margin: 0;
  animation: none;
}
html body .shell.guest main {
  max-width: 540px;
  margin: 15px auto 40px;
}
.guest main::before,
.guest main::after {
  display: none !important;
}
.topbar {
  position: static;
  height: 82px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: transparent;
  gap: 15px;
}
.brand {
  border: 0;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  max-width: none;
  line-height: 1.2;
  text-align: left;
}
.brand > span:last-child {
  display: block;
}
.brand b {
  font-size: 23px;
  display: block;
  letter-spacing: -0.5px;
}
.brand small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 3px;
}
.brand .icon {
  font-size: 31px;
  width: auto;
  height: auto;
  transform: rotate(-8deg);
}
.avatar.profile-button {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 9px 15px;
  background: var(--white);
  font-size: 14px;
  width: auto;
  height: auto;
  min-width: 0;
  white-space: nowrap;
  flex: none;
  font-weight: 400;
}
.harbour-banner,
.guest .harbour-banner {
  display: block;
  height: 170px;
  margin: 8px 0 0;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
.harbour-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  mix-blend-mode: multiply;
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  width: 23px;
  height: 23px;
  stroke: none;
}
.nav {
  display: flex;
  gap: 5px;
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 23px;
  border-radius: 99px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  width: auto;
  line-height: 1.3;
}
.nav-item .icon {
  font-size: 22px;
  width: 24px;
  height: 24px;
}
.nav-item.active {
  background: var(--ink);
  color: var(--white);
}
.nav-item:not(.active):hover {
  background: #e9eddf;
}
.nav-item:after {
  display: none !important;
}
.bottom-nav {
  display: none;
}
.guest .nav,
.guest .bottom-nav {
  display: none !important;
}
.app-footer {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 0 0 26px;
  border: 0;
  margin: 0;
}
.heading {
  margin-top: 30px;
}
.status {
  margin-top: 0;
}
.status h2 {
  line-height: 1.2;
}
.status .time {
  max-width: 190px;
  white-space: normal;
}
.sys-state {
  max-width: 110px;
  white-space: normal;
}
.sys-state small {
  line-height: 1.4;
}
.system .sys-main {
  overflow-wrap: anywhere;
}
.panel .stats {
  margin-bottom: 10px;
}
.stats .runtime {
  font-size: 23px;
  line-height: 1.3;
}
.stats b {
  line-height: 1.25;
}
.stats small {
  display: block;
  margin-top: 4px;
}
.fine-print {
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  margin-top: 12px;
}
.daily-graph {
  height: 122px;
  margin: 12px 0 10px;
}
.graph-empty {
  min-height: 130px;
  display: grid;
  place-content: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 20px;
}
.graph-caption {
  color: var(--muted);
  font-size: 12px;
  margin-top: 17px;
}
.level-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 15px;
  padding: 14px 18px;
  background: #edeedc;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 14px;
  text-align: left;
  font-size: 14px;
}
.level-strip strong {
  font-size: 13px;
}
.weather-credit {
  margin-top: 20px;
}
.page-head {
  margin: 30px 0 27px;
  align-items: flex-end;
  gap: 20px;
}
.page-head h1 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -2px;
}
.page-head .sub {
  font-size: 17px;
  margin-top: 12px;
}
.page-head .button {
  font-size: 15px;
}
.post {
  margin: 0 0 17px;
}
.post.pinned {
  background: var(--yellow);
  border-color: #e2d6af;
}
.post h2 {
  font-size: 27px;
  line-height: 1.2;
}
.post-body {
  font-size: 17px;
  line-height: 1.65;
  margin-top: 13px;
}
.post-person {
  font-size: 15px;
}
.post-person small,
.post-meta {
  font-size: 12px;
}
.post-top .avatar {
  background: #e4ead7;
}
.post-foot {
  border-top: 1px solid #263e371c;
  margin-top: 19px;
  padding-top: 13px;
}
.post-foot button {
  font-size: 14px;
  padding: 3px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.post-foot button.liked {
  color: #9b4b4f;
}
.reply {
  background: #f1f2e9;
}
.chip-row {
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}
.chip {
  border-radius: 99px;
  background: #e8ecdc;
  border: 1px solid transparent;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--ink);
}
.chip.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.button {
  border: 1px solid transparent;
  font-family: inherit;
  background: var(--ink);
  color: var(--white);
  font-size: 15px;
  border-radius: 99px;
  min-height: 44px;
}
.button.secondary,
.button.outline {
  background: #e8ecdc;
  color: var(--ink);
  border-color: #d4dbc9;
}
.text-button {
  font-size: 14px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-underline-offset: 4px;
}
.button .icon {
  font-size: 18px;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8ecdc;
  border-radius: 50%;
  color: var(--ink);
  min-width: 38px;
  min-height: 38px;
}
.tag {
  font-size: 12px;
  background: #e8ecdc;
  color: var(--ink);
  border-radius: 99px;
}
.tag.amber {
  background: var(--yellow);
  color: #664c20;
}
.tag.neutral {
  background: #e6e8df;
  color: #566056;
}
.section-head {
  margin: 25px 0 14px;
}
.section-head h2 {
  font-size: 26px;
}
.myboat-panel {
  background: var(--blue);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 24px;
  padding: 21px 24px;
}
.myboat-panel h2 {
  font-size: 29px;
  margin: 7px 0;
}
.myboat-panel .sub {
  font-size: 14px;
}
.myboat-panel > .icon {
  font-size: 50px;
  width: 60px;
  height: 60px;
}
.boat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.boat-card {
  padding: 20px;
  gap: 13px;
}
.boat-card strong {
  font-size: 21px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
}
.boat-card small {
  font-size: 13px;
  line-height: 1.4;
}
.boat-card.mine {
  background: var(--blue);
  border-color: var(--line);
}
.boat-icon,
.boat-card.mine .boat-icon {
  background: none;
  width: 34px;
  height: 38px;
  flex-shrink: 0;
}
.boat-icon .icon {
  font-size: 31px;
  width: 34px;
  height: 38px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 460px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 0 13px;
}
.search input {
  border: 0;
  padding-left: 0;
}
.search > .icon {
  position: static;
  transform: none;
}
.admin-box {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 22px;
  margin: 0 0 25px;
}
.admin-box h3 {
  font-size: 22px;
}
.request {
  gap: 15px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.request p {
  font-size: 17px;
}
.request small {
  font-size: 13px;
  overflow-wrap: anywhere;
}
.request .button {
  font-size: 13px;
  padding: 9px 14px;
}
.request .icon-button {
  background: #efd9d0;
}
.tip-card h3 {
  line-height: 1.3;
}
.tips-full .tips-intro {
  display: none;
}
.tips-full .tips-heading .icon {
  display: none;
}
.tips-full .tips-page {
  margin-top: 10px;
}
dialog {
  padding: 0;
  width: min(560px, calc(100% - 28px));
  max-height: 88dvh;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--paper);
  color: var(--ink);
}
.dialog-inner {
  padding: 28px;
}
.dialog-head {
  margin-bottom: 20px;
  align-items: flex-start;
}
.dialog-head h2 {
  font-size: 29px;
  line-height: 1.15;
}
.detail-status {
  background: var(--blue);
}
.detail-status .system-value {
  font-size: 27px;
}
.detail-row {
  font-size: 15px;
}
.detail-row b {
  text-align: right;
}
.history-table {
  font-size: 13px;
}
input,
textarea,
select {
  font-family: inherit;
  background: var(--white);
  border: 1px solid #cbd1c1;
  border-radius: 13px;
  padding: 12px 14px;
  font-size: 16px;
}
label {
  font-size: 14px;
  font-weight: 700;
}
.sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.auth-tabs {
  margin-top: 23px;
}
.auth-tabs .chip {
  font-size: 15px;
}
.login-card {
  background: var(--white);
  padding: 30px;
}
.login-card h1 {
  font-size: 37px;
  line-height: 1.05;
  letter-spacing: -1px;
}
.login-card .sub {
  margin-top: 12px;
}
.full {
  width: 100%;
}
.profile-actions {
  gap: 10px;
}
.toast {
  bottom: 35px;
  border-radius: 30px;
  z-index: 20;
  font-size: 14px;
  max-width: calc(100vw - 24px);
  text-align: center;
}
.toast:not(.show) {
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 720px) {
  html body .shell {
    padding: 0 20px;
  }
  .topbar {
    height: 72px;
  }
  .brand b {
    font-size: 20px;
  }
  .brand small {
    font-size: 10px;
  }
  .brand .icon {
    font-size: 27px;
  }
  .avatar.profile-button {
    font-size: 12px;
    padding: 8px 10px;
  }
  .harbour-banner,
  .guest .harbour-banner {
    height: 110px;
    width: calc(100% + 20px);
    margin-left: -10px;
  }
  .harbour-banner img {
    object-position: center 65%;
  }
  .nav {
    display: none;
  }
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: #f7f5edf5;
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    padding: 10px 8px max(10px, env(safe-area-inset-bottom));
    gap: 0;
    justify-content: space-around;
  }
  .bottom-nav .nav-item {
    flex: 1;
    min-width: 0;
    max-width: none;
    gap: 3px;
    border-radius: 15px;
    flex-direction: column;
    font-size: 11px;
    padding: 8px 3px;
    color: var(--ink);
    line-height: 1.3;
  }
  .bottom-nav .nav-item .icon {
    font-size: 23px;
    height: 25px;
    width: 25px;
  }
  .bottom-nav .nav-item.active {
    background: var(--ink);
    color: var(--white);
  }
  .bottom-nav .nav-item.active:after {
    display: none;
  }
  .app-footer {
    padding-bottom: 115px;
    font-size: 11px;
  }
  html body .shell main {
    padding-bottom: 32px !important;
  }
  .heading {
    margin-top: 19px;
  }
  .page-head {
    margin-top: 19px;
    gap: 12px;
    align-items: flex-start;
  }
  .page-head h1 {
    font-size: 40px;
    letter-spacing: -1.6px;
  }
  .page-head .sub {
    font-size: 15px;
  }
  .page-head .button {
    font-size: 13px;
    padding: 10px 13px;
    white-space: nowrap;
  }
  .page-head .button .icon {
    display: none;
  }
  .stats .runtime {
    font-size: 19px;
  }
  .sys-state {
    max-width: 95px;
  }
  .status h2 {
    font-size: 21px;
  }
  .sys-title {
    font-size: 22px;
  }
  .post h2 {
    font-size: 25px;
  }
  .post-body {
    font-size: 16px;
  }
  .post .tag {
    font-size: 10px;
  }
  .post-top {
    flex-wrap: wrap;
  }
  .post-foot {
    gap: 14px;
    flex-wrap: wrap;
  }
  .post-foot button {
    font-size: 13px;
  }
  .myboat-panel {
    padding: 18px;
  }
  .boat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .boat-card {
    padding: 17px 12px;
    gap: 9px;
  }
  .boat-card strong {
    font-size: 19px;
    overflow-wrap: anywhere;
  }
  .boat-card small {
    font-size: 11px;
  }
  .boat-icon,
  .boat-icon .icon {
    font-size: 25px;
    width: 27px;
    height: 32px;
  }
  .myboat-panel > .icon {
    font-size: 37px;
    width: 43px;
    height: 43px;
  }
  .search input {
    font-size: 16px;
  }
  .admin-box {
    padding: 19px;
  }
  .admin-box h3 {
    font-size: 20px;
  }
  .level-strip {
    font-size: 13px;
    padding: 13px;
  }
  .level-strip strong {
    font-size: 12px;
  }
  .dialog-inner {
    padding: 23px;
  }
  .login-card {
    padding: 23px;
  }
  .login-card h1 {
    font-size: 33px;
  }
  .toast {
    bottom: 110px;
  }
  .daily-graph {
    height: 115px;
  }
}
.brand > span:last-child {
  transform: none;
}
