.home-text-link{
  color:var(--accent);
  font-weight:var(--weight-semibold);
  text-decoration:underline;
  text-underline-offset:4px;
  overflow-wrap:anywhere;
}
.home-text-link:hover{
  color:var(--accent-dark);
}
.home-logbook-panels{
  min-width:0;
}
.home-route-scene,
.home-device-scene,
.home-tool-scene,
.home-media-scene,
.home-refund-scene{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:20px;
  min-height:180px;
  padding:24px;
  margin-bottom:24px;
  border-radius:var(--radius-card);
  background:linear-gradient(180deg,var(--mist-top),var(--bg-panel2));
  color:var(--accent);
}
.home-route-scene span,
.home-tool-scene span{
  padding:10px 16px;
  background:var(--bg-panel);
  border:1px solid var(--hl-edge);
  border-radius:var(--radius-pill);
  box-shadow:var(--shadow-card);
  font-size:var(--fs-sm);
  font-weight:var(--weight-semibold);
}
.home-route-scene svg{
  max-width:100%;
}
.home-device-scene svg{
  fill:currentColor;
}
.home-tool-scene span:nth-child(2){
  background:var(--accent);
  color:var(--on-dark);
}
.home-media-scene>div{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  padding:24px;
  background:var(--accent);
  border-radius:var(--radius-card);
  color:var(--on-dark);
  box-shadow:var(--shadow-dock);
}
.home-media-scene span{
  font-size:var(--fs-sm);
}
.home-refund-scene{
  flex-direction:column;
  gap:4px;
}
.home-refund-scene strong{
  font-family:var(--font-mono);
  font-size:var(--fs-price);
  line-height:1.2;
}
.home-refund-scene span{
  font-size:var(--fs-sm);
}
.home-reading-note{
  max-width:var(--reading);
  margin-top:40px;
}
.home-reading-note p,
.home-port-copy p,
.home-route-notes p,
.home-client-guide p,
.home-billing-notes p,
.home-journal-tail p{
  color:var(--text-muted);
  line-height:1.9;
}
.home-port-layout{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);
  align-items:start;
  gap:40px;
}
.home-port-copy{
  padding-top:16px;
}
.home-port-panel{
  min-width:0;
}
.home-port-scene{
  position:relative;
  isolation:isolate;
  min-height:230px;
  overflow:hidden;
  border-radius:var(--radius-card);
  margin-bottom:24px;
  background:linear-gradient(160deg,var(--arch-top),var(--accent-dark));
}
.home-port-scene>svg{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  height:88px;
  z-index:3;
}
.home-port-sun{
  position:absolute;
  top:28px;
  right:15%;
  width:46px;
  height:46px;
  border:1px solid var(--on-dark-edge);
  border-radius:var(--radius-round);
  background:var(--on-dark-fill);
}
.home-port-crane{
  position:absolute;
  left:16%;
  bottom:60px;
  width:16px;
  height:125px;
  background:var(--slab);
  border:1px solid var(--hl-edge);
}
.home-port-crane::before{
  content:"";
  position:absolute;
  top:0;
  left:-20px;
  width:160px;
  height:10px;
  background:var(--slab);
}
.home-port-crane::after{
  content:"";
  position:absolute;
  left:120px;
  top:10px;
  width:1px;
  height:62px;
  background:var(--on-dark-edge);
}
.home-port-cargo{
  position:absolute;
  left:36%;
  bottom:51px;
  display:grid;
  grid-template-columns:repeat(2,70px);
  gap:4px;
  transform:rotate(-2deg);
}
.home-port-cargo span{
  width:70px;
  height:40px;
  border-radius:var(--radius-chip);
  border:1px solid var(--on-dark-edge);
  background:var(--arch-top);
  box-shadow:inset 8px 0 0 var(--on-dark-fill);
}
.home-port-cargo span:first-child{
  grid-column:1/-1;
  margin-left:20px;
  background:var(--slab);
}
.home-route-notes,
.home-client-guide,
.home-billing-notes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:32px;
  margin-top:32px;
}
.home-route-notes h3,
.home-client-guide h3,
.home-billing-notes h3{
  font-size:var(--fs-title);
}
.home-route-notes p:last-child,
.home-client-guide p:last-child,
.home-billing-notes p:last-child{
  margin-bottom:0;
}
.home-client-guide>.home-text-link{
  grid-column:1/-1;
  justify-self:start;
}
.home-status-heading{
  margin-top:40px;
}
.home-status-heading h3{
  font-size:var(--fs-title);
}
.home-status-heading p{
  max-width:var(--reading);
}
.server-status{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.server-status:empty{
  display:none;
}
.server-status .srv-row{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  min-width:0;
  padding:16px;
  border:1px solid var(--hl-edge);
  border-radius:var(--radius-card);
  background:var(--bg-panel);
  box-shadow:var(--shadow-card);
  color:var(--text);
}
.server-status .srv-dot{
  display:inline-block;
  flex-shrink:0;
  width:7px;
  height:7px;
  border-radius:var(--radius-round);
  background:var(--success);
  box-shadow:0 0 0 3px var(--accent-tint);
}
.server-status .srv-flag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:24px;
  height:24px;
  overflow:hidden;
  border-radius:var(--radius-round);
  background:var(--bg-panel2);
}
.server-status .srv-flag svg,
.server-status .srv-flag img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.server-status .srv-name{
  flex:1 1 90px;
  min-width:0;
  overflow-wrap:anywhere;
  font-size:var(--fs-sm);
  font-weight:var(--weight-semibold);
}
.server-status .srv-type{
  display:inline-block;
  max-width:100%;
  padding:3px 9px;
  border-radius:var(--radius-pill);
  background:var(--accent-tint);
  color:var(--accent);
  font-size:var(--fs-xs);
  overflow-wrap:anywhere;
}
.server-status .srv-ms,
.server-status .srv-bw{
  font-family:var(--font-mono);
  font-size:var(--fs-xs);
  font-variant-numeric:tabular-nums;
  color:var(--text-muted);
  white-space:nowrap;
}
.home-plan-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:16px 32px;
  margin-top:28px;
}
.home-journal-tail{
  max-width:var(--reading);
  margin-top:32px;
}
@media(max-width:1000px){
  .home-port-layout{
    grid-template-columns:1fr;
    gap:24px;
  }
  .home-port-copy{
    max-width:var(--reading);
    padding-top:0;
  }
}
@media(max-width:768px){
  .home-route-notes,
  .home-client-guide,
  .home-billing-notes{
    grid-template-columns:1fr;
    gap:24px;
  }
  .server-status{
    grid-template-columns:1fr;
  }
}
@media(max-width:640px){
  .home-route-scene,
  .home-device-scene,
  .home-tool-scene,
  .home-media-scene,
  .home-refund-scene{
    gap:12px;
    padding:20px 12px;
  }
  .home-route-scene svg{
    width:70px;
  }
  .home-route-scene span{
    padding:8px 10px;
    font-size:var(--fs-xs);
  }
  .home-device-scene svg{
    width:36px;
    height:36px;
  }
  .home-media-scene>div{
    flex-direction:column;
    gap:12px;
    padding:20px;
    text-align:center;
  }
  .home-port-scene{
    min-height:200px;
  }
  .home-port-crane{
    left:12%;
  }
  .home-port-cargo{
    left:35%;
    grid-template-columns:repeat(2,50px);
  }
  .home-port-cargo span{
    width:50px;
  }
  .server-status .srv-row{
    gap:8px;
    padding:14px;
  }
  .server-status .srv-name{
    flex-basis:80px;
  }
  .home-reading-note{
    margin-top:28px;
  }
}