

@layer components {
.hn-w1424,
.hn-w1360 {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.hn-w1424 { width: min(1296px, calc(100vw - 128px)); }
.hn-w1360 { width: min(1296px, calc(100vw - 128px)); }
.hn-w1296 { width: 100%; }

.hn-wleft {
  position: relative;

  width: 100%;
  margin-left: 0;
}

.hn-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hn-t-rail { fill: var(--text-secondary); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.hn-t-label { fill: var(--text-secondary); font-size: 12.5px; }
.hn-t-name { fill: var(--text-primary); font-size: 15px; font-weight: 500; }
.hn-t-value { fill: var(--text-primary); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }

.hn-t-micro { fill: var(--text-secondary); font-size: 10.5px; letter-spacing: 0.04em; }
.hn-t-num { fill: var(--text-primary); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hn-t-stamp { fill: var(--text-primary); font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }

.hn-t-accent { fill: var(--accent-ink); }
.hn-t-dim { fill: var(--text-muted); }

.hn-surface-0 { fill: #02040A; }
.hn-surface-1 { fill: #0A0D14; }
.hn-surface-2 { fill: #10141D; }
.hn-surface-3 { fill: #161B26; }

.hn-edge { stroke: rgba(255, 255, 255, 0.12); fill: none; }
.hn-edge-soft { stroke: rgba(255, 255, 255, 0.07); fill: none; }
.hn-edge-accent { stroke: var(--accent-color); fill: none; }
.hn-rule { stroke: rgba(255, 255, 255, 0.1); }

@keyframes hnBreathe {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.5; }
}

.hn-breathe {
  animation-name: hnBreathe;
  animation-timing-function: cubic-bezier(0.45, 0, 0.55, 1);
  animation-iteration-count: infinite;
  animation-play-state: paused;
}

.hn-live .hn-breathe { animation-play-state: running; }

.hn-breathe--a { animation-duration: 4.2s; animation-delay: -0.7s; }
.hn-breathe--b { animation-duration: 5.6s; animation-delay: -2.4s; }
.hn-breathe--c { animation-duration: 7.5s; animation-delay: -3.1s; }

.js .hn-seq { opacity: 0; transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 350ms; }
.js-observe-fade.visible .hn-seq { opacity: 1; }

.js .hn-rise {
  transform: translateY(46px);
  opacity: 0;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1) 420ms,
              opacity 0.6s ease 420ms;
}
.js-observe-fade.visible .hn-rise { transform: translateY(0); opacity: 1; }

.js .hn-slide {

  transform: translate(-24px, 60px);
  transition: transform 1.05s cubic-bezier(0.16, 1, 0.3, 1) 420ms;
}
.js-observe-fade.visible .hn-slide { transform: translate(0, 0); }

.js .hn-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.16, 1, 0.3, 1) 420ms;
}
.js-observe-fade.visible .hn-draw { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  .hn-breathe { animation: none !important; opacity: 0.9 !important; }
  .js .hn-seq { opacity: 1 !important; }
  .js .hn-rise,
  .js .hn-slide { transform: none !important; opacity: 1 !important; }
  .js .hn-draw { stroke-dashoffset: 0 !important; }
}

.main-content > .page-hero { padding-bottom: var(--space-6); }
.main-content > .hn-hero-object { padding-top: 0; }

.hn-coda { margin-top: var(--space-5); }
.hn-coda .route-link { font-size: 0.875rem; }

@media (max-width: 1180px) {
  .hn-wleft {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .hn-w1424,
  .hn-w1360,
  .hn-wleft {
    position: static;
    left: auto;
    transform: none;
    width: 100%;
    margin-left: 0;
  }
}
}

@layer components {
.hn-enc { margin: 0; }

.hn-enc-band text { opacity: 0.85; }

}

@layer components {
.hn-seat {
  position: relative;
  padding-bottom: 76px;
}

.hn-seat-pane {
  border: 1px solid var(--border-light);
  border-radius: 16px;
  background: var(--bg-secondary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

.hn-seat-bar {
  padding: 0 0 var(--space-6);
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.014);
}

.hn-seat-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.75rem;
}

.hn-seat-led {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success-color);
  flex: none;
}

.hn-seat-chrome-name { color: var(--text-primary); font-weight: 600; letter-spacing: 0.02em; }
.hn-seat-chrome-meta { color: var(--text-muted); }
.hn-seat-chrome-state {
  margin-left: auto;
  color: var(--text-secondary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.6875rem;
  font-weight: 600;
}

.hn-seat-bar .site-head {
  margin: var(--space-6) var(--space-6) 0;
  max-width: 46ch;
}

.hn-seat-bar .site-title { font-size: 2rem; }

.hn-seat-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  padding: var(--space-6);
  gap: var(--space-5);
}

.hn-seat-thread {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 780px;
}

.hn-msg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  max-width: 620px;
}

.hn-msg--in {
  align-self: flex-start;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
}

.hn-msg--out {
  align-self: flex-end;
  background: color-mix(in srgb, var(--accent-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-color) 34%, transparent);
}

.hn-msg-who {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.hn-msg-text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-primary);
}

.hn-seat-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-subtle);

  max-width: 800px;
}

.hn-seat-meta-k {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.hn-seat-meta-v {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  margin-right: var(--space-3);
}

.hn-seat-meta-v--ok { color: var(--success-color); }

.hn-seat-conn {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 18px var(--space-6);
  border-top: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.012);
  font-size: 0.8125rem;
}

.hn-conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success-color);
  flex: none;
}

.hn-conn-main { color: var(--text-primary); }
.hn-conn-side { margin-left: auto; color: var(--text-muted); }

.hn-rosters {
  position: absolute;
  right: var(--space-6);
  bottom: 0;
  display: grid;
  grid-template-columns: 232px 232px;
  gap: var(--space-4);
  align-items: start;
}

.hn-roster {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--bg-tertiary);
  box-shadow: 0 26px 48px -18px rgba(0, 0, 0, 0.92);
  overflow: hidden;
}

.hn-roster-h {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-secondary);
}

.hn-roster-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 8px 12px;
  font-size: 0.8125rem;
  color: var(--text-primary);
}

.hn-roster-row + .hn-roster-row { border-top: 1px solid var(--border-subtle); }

.hn-roster-row i {
  font-style: normal;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.hn-roster-row--app { color: var(--accent-ink); }

.hn-roster-row--app i { color: color-mix(in srgb, var(--accent-ink) 70%, var(--text-secondary)); }

.hn-roster-foot {
  grid-column: 1 / -1;
  margin: 0;
  text-align: right;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
}

.hn-roster-foot b {
  margin-left: 8px;
  font-size: 1.125rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

@media (max-width: 1180px) {
  .hn-rosters { position: static; margin-top: var(--space-5); grid-template-columns: 1fr 1fr; }
  .hn-seat { padding-bottom: 0; }
}

@media (max-width: 700px) {
  .hn-rosters { grid-template-columns: 1fr; }

  .hn-msg { max-width: 100%; }
}
}

@layer components {

.gw-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  align-items: end;
  gap: var(--space-8);
  margin-bottom: 32px;
}
.gw-head .site-title { margin-bottom: 0; }
.gw-lede { margin: 0; max-width: 100%; }

.gw-fig {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  margin: 0;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.gw-lab {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}
.gw-lab--on { color: var(--text-secondary); }

.gw-card {
  padding: 28px 32px 32px;
  border-right: 1px solid var(--border-light);
  background:
    radial-gradient(120% 60% at 0% 0%, color-mix(in srgb, var(--accent-color) 16%, transparent), transparent 70%),
    color-mix(in srgb, var(--bg-tertiary) 50%, transparent);
}
.gw-card-top { display: flex; justify-content: space-between; align-items: center; }
.gw-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--success-color);
}
.gw-live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--success-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--success-color) 18%, transparent);
}

.gw-id { display: flex; align-items: center; gap: 16px; margin: 24px 0 20px; }
.gw-av {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.02em; color: var(--text-primary);
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent-color) 70%, #fff 0%), color-mix(in srgb, var(--accent-color) 30%, var(--bg-primary)));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 18%, transparent);
}
.gw-name { display: block; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text-primary); }
.gw-sub { display: block; margin-top: 2px; font-size: 0.875rem; color: var(--text-secondary); }

.gw-rows { margin: 0; }
.gw-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border-light);
}
.gw-val { margin: 0; font-size: 0.9375rem; color: var(--text-primary); }

.gw-clear { padding: 28px 32px 20px; }
.gw-clear-top { display: flex; justify-content: space-between; margin-bottom: 14px; }
.gw-steps { margin: 0; padding: 0; list-style: none; }
.gw-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--border-light);
}
.gw-step-b { display: grid; gap: 3px; }
.gw-step-t { font-size: 1rem; font-weight: 600; color: var(--text-primary); }
.gw-step-d { font-size: 0.875rem; line-height: 1.45; color: var(--text-secondary); }
.gw-ok {
  padding: 5px 10px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--success-color);
  background: color-mix(in srgb, var(--success-color) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success-color) 34%, transparent);
}

.gw-locks {
  grid-column: 1 / -1;
  padding: 20px 32px 4px;
  border-top: 1px solid var(--border-light);
  background: color-mix(in srgb, var(--bg-tertiary) 45%, transparent);
}
.gw-locks .gl-locks-l { margin-top: var(--space-2); padding: 0; border: 0; background: none; }

.gw-step { transition: opacity .45s ease, transform .55s cubic-bezier(.16,1,.3,1); }
.gw.visible .gw-step:nth-child(1) { transition-delay: .25s; }
.gw.visible .gw-step:nth-child(2) { transition-delay: .4s; }
.gw.visible .gw-step:nth-child(3) { transition-delay: .55s; }
.gw.visible .gw-step:nth-child(4) { transition-delay: .7s; }
.js .gw:not(.visible) .gw-step { opacity: 0; transform: translateY(6px); }

@media (prefers-reduced-motion: reduce) {
  .gw-step { transition: none; }
  .js .gw:not(.visible) .gw-step { opacity: 1; transform: none; }
}

@media (max-width: 1180px) {
  .gw-head { grid-template-columns: minmax(0, 1fr) 360px; }
  .gw-fig { grid-template-columns: 340px minmax(0, 1fr); }
}

@media (max-width: 1023px) {
  .gw-head { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); margin-bottom: var(--space-5); }
  .gw-fig { grid-template-columns: minmax(0, 1fr); }
  .gw-card { border-right: 0; padding: 18px 20px 12px; }
  .gw-id { margin: 16px 0 12px; }
  .gw-row { padding: 9px 0; }
  .gw-lab, .gw-live { font-size: 12px; letter-spacing: 0.1em; }
  .gw-row { grid-template-columns: 104px minmax(0, 1fr); }
  .gw-val { font-size: 1rem; }
  .gw-locks { padding: 14px 20px 0; }
  .gw-locks .gl-locks-l { margin-inline: 0; padding: 0; }
  .main-content.main-content .gw .gw-head .gw-lede { font-size: 16px; }
}
}

@layer components {
.hn-ranks { margin: 0; }

.hn-ranks-sec .site-head { max-width: var(--measure-block); }

}

@layer components {
.hn-fit { position: relative; }

.hn-fit-head {
  position: absolute;
  top: 4px;
  right: 0;
  width: 372px;
}

.hn-fit-head .site-head { margin-bottom: 0; max-width: none; }
.hn-fit-head .site-title { font-size: 1.75rem; }
.hn-fit-head .site-lede { max-width: none; }

@media (max-width: 1180px) {
  .hn-fit-head { position: static; width: 100%; margin-bottom: var(--stack-sm); }
  .hn-fit { display: flex; flex-direction: column-reverse; }
  .hn-fit-head .site-title { font-size: 2rem; }
}

}

@layer components {

.hn-ceil { position: relative; display: flex; flex-direction: column-reverse; }
.hn-ceil-head { margin-bottom: var(--stack-sm); }

.hn-ceil-head .site-head { margin-bottom: 0; max-width: none; }
.hn-ceil-head .site-title { font-size: 2rem; }
.hn-ceil-head .hn-coda { margin-top: var(--space-4); }

}

@layer components {
.hn-berths { position: relative; }

.hn-berths-head {
  position: absolute;
  top: 0;

  left: var(--rail-in-64);
  width: 40%;
}

.hn-berths-head .site-head { margin-bottom: 0; max-width: none; }
.hn-berths-head .site-title { font-size: 2rem; }
.hn-berths-head .site-lede { max-width: none; }
.hn-berths-head .hn-coda { margin-top: var(--space-4); }

@media (max-width: 1180px) {
  .hn-berths-head { position: static; width: 100%; margin-bottom: var(--stack-sm); }
  .hn-berths { display: flex; flex-direction: column-reverse; }
}

}

@layer components {
.hn-plate-tag {
  fill: var(--text-muted);
  font-size: 9px;
  letter-spacing: 0.02em;
}

.hn-plate-tag--on {
  fill: var(--text-primary);
  font-weight: 600;
}

.hn-plate-head .site-head {
  margin: var(--stack-sm) 0 0;
}

}

@layer components {
.human-node-section {
  position: relative;
}

.crew {

  --crew-bleed: 0px;

  max-width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: var(--space-10);
  align-items: center;
}

.crew-say {
  min-width: 0;
}

.human-node-section .section-title {
  margin: 0;
  max-width: none;
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-align: left;
}

.human-node-section .section-subtitle {
  margin: var(--space-4) 0 0;
  max-width: none;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: left;
}

.crew-eyebrow {
  margin: 0 0 var(--space-3);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;

  color: var(--text-secondary);
}

.crew-eyebrow--desk {
  margin-top: var(--space-10);
  margin-bottom: var(--space-2);
}

.crew-desk-claim {
  margin: 0 0 var(--space-3);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.crew-desk-body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
}

@layer components {

.crew-house {
  position: relative;
  min-width: 0;

  margin-right: calc(-1 * var(--crew-bleed));

  padding: var(--space-6) calc(var(--space-6) + var(--crew-bleed)) var(--space-6) var(--space-8);

  border: 1px solid var(--border-light);
  border-right: 0;
  border-top-color: var(--border-strong);
  border-radius: 20px 0 0 20px;
  background:
    radial-gradient(120% 170% at 10% -30%,
      color-mix(in srgb, var(--warning-color) 5%, transparent) 0%,
      color-mix(in srgb, var(--warning-color) 0%, transparent) 62%),
    color-mix(in srgb, var(--bg-secondary) 60%, transparent);
  box-shadow:
    0 40px 100px color-mix(in srgb, var(--bg-primary) 62%, transparent),
    inset 0 1px 0 var(--border-light);
}

.crew-house-bar {
  display: flex;
  align-items: center;
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-light);
}

.crew-house-tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-primary);
  white-space: nowrap;
}

.crew-house-tab::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--warning-color) 55%, transparent);
}

.crew-house-floor {
  margin-top: var(--space-6);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: var(--space-8);
}

.crew-trigger {
  min-width: 0;
}

.crew-trigger-body {
  margin: 0;

  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.crew-upkeep {
  min-width: 0;
  padding-left: var(--space-8);
  border-left: 1px solid var(--border-light);
}

.crew-upkeep-list {
  --chore-h: 56px;
  position: relative;
  list-style: none;
  margin: var(--space-2) 0 0;
  padding: 0 0 0 30px;
}

.crew-upkeep-list::before {
  content: "";
  position: absolute;
  left: 11px;
  top: calc(var(--chore-h) / 2);
  bottom: calc(var(--chore-h) / 2);
  width: 1px;
  background: color-mix(in srgb, var(--text-secondary) 30%, transparent);
}

.crew-upkeep-list::after {
  content: "";
  position: absolute;
  left: -9px;
  top: calc(var(--chore-h) / 2);
  bottom: calc(var(--chore-h) / 2);
  width: 20px;
  border: 1px solid color-mix(in srgb, var(--text-secondary) 24%, transparent);
  border-right: 0;
  border-radius: 999px 0 0 999px;
}

.crew-chore {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--chore-h);
}

.crew-chore::before {
  content: "";
  position: absolute;
  left: -23px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid color-mix(in srgb, var(--warning-color) 58%, transparent);
}

.crew-chore-t {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.crew-day {
  margin-top: var(--space-8);

  margin-right: calc(-1 * (var(--space-6) + var(--crew-bleed)));
}
}

@layer components {

.crew-day-plot {
  position: relative;
}

.crew-day-svg {
  display: block;
  width: 100%;

  height: 158px;
}

.crew-s-beam-in { stop-color: var(--text-secondary); stop-opacity: 0.26; }
.crew-s-beam-out { stop-color: var(--text-secondary); stop-opacity: 0; }
.crew-s-lip-in { stop-color: var(--text-primary); stop-opacity: 0.30; }
.crew-s-lip-out { stop-color: var(--text-primary); stop-opacity: 0; }
.crew-s-win-top { stop-color: var(--warning-color); stop-opacity: 0.24; }
.crew-s-win-bot { stop-color: var(--warning-color); stop-opacity: 0.07; }
.crew-s-pool-in { stop-color: var(--warning-color); stop-opacity: 0.16; }
.crew-s-pool-out { stop-color: var(--warning-color); stop-opacity: 0; }

.crew-day-lip {
  fill: none;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.crew-day-win {
  stroke: color-mix(in srgb, var(--warning-color) 48%, transparent);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.crew-day-hand path {
  fill: none;
  stroke: color-mix(in srgb, var(--warning-color) 60%, transparent);
  stroke-width: 1.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

.crew-day-chevrons path {
  fill: none;
  stroke: color-mix(in srgb, var(--warning-color) 82%, transparent);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.crew-day-tag {
  position: absolute;
  left: var(--x);
  width: var(--w);
  top: var(--t);
  height: var(--h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
}

.crew-day-tag-n {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-primary);
}

.crew-day-tag-h {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text-primary);
}

.crew-day-ai {
  position: absolute;
  left: 0;
  top: var(--b);
  width: var(--w);
  transform: translateY(-100%);
  margin-top: -6px;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.crew-day-ai::after {
  content: "";
  flex: 1 1 auto;
  min-width: 8px;
  height: 1px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--text-primary) 26%, transparent),
    transparent);
}

.crew-day-ai-t {
  flex: none;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  white-space: nowrap;
  color: var(--text-primary);
}

.crew-day-note {
  margin: var(--space-3) 0 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.crew-day-note strong {
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 1100px) {
  .crew {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-8);
    align-items: stretch;
  }
  .human-node-section .section-title { max-width: var(--measure-title); }
  .human-node-section .section-subtitle { max-width: var(--measure-read); }
  .crew-desk-body { max-width: var(--measure-read); }
  .crew-eyebrow--desk { margin-top: var(--space-8); }
  .crew-house {
    margin-right: 0;
    padding: var(--space-8);
    border-right: 1px solid var(--border-light);
    border-radius: 20px;
  }
  .crew-day { margin-right: 0; }
}

@media (max-width: 1024px) {
  .human-node-section .section-title { font-size: 2.75rem; }
  .crew-house-floor { grid-template-columns: minmax(0, 1fr) 288px; gap: var(--space-6); }
  .crew-upkeep { padding-left: var(--space-6); }
  .crew-upkeep-list { --chore-h: 48px; }
  .crew-day-svg { height: 148px; }
}

@media (max-width: 860px) {

  .crew-house-floor { grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
  .crew-upkeep {
    padding-left: 0;
    padding-top: var(--space-6);
    border-left: 0;
    border-top: 1px solid var(--border-light);
  }
  .crew-upkeep-list { --chore-h: 44px; }

  .crew-day-plot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3) var(--space-6);
  }
  .crew-day-svg { flex: 1 0 100%; height: 128px; }
  .crew-day-tag {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: baseline;
    gap: var(--space-2);
  }
  .crew-day-tag::before {
    content: "";
    align-self: center;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--warning-color) 24%, transparent);
    border: 1px solid color-mix(in srgb, var(--warning-color) 58%, transparent);
  }
  .crew-day-tag-h { font-size: 0.9375rem; }
}

@media (max-width: 768px) {

  .human-node-section .section-title { font-size: 2.25rem; }
  .human-node-section .section-subtitle { font-size: 1rem; }
  .crew-house {
    padding: var(--space-6) var(--space-5);
    border-radius: 16px;
  }

  .crew-day { margin-top: var(--space-6); }
  .crew-day-svg { height: 112px; }
}

@media (max-width: 520px) {
  .crew-upkeep-list { --chore-h: 42px; padding-left: 26px; }
  .crew-chore::before { left: -21px; }
  .crew-upkeep-list::before { left: 9px; }
  .crew-upkeep-list::after { left: -7px; width: 16px; }
  .crew-day-svg { height: 100px; }
  .crew-day-plot { gap: var(--space-2) var(--space-5); }
}

.crew-day-ai { --b: 75.949%; --w: 18.135%; }

.crew-day-tag--shift-1 { --x: 18.135%; --w: 22.539%; --t: 7.595%; --h: 40.506%; }
.crew-day-tag--shift-2 { --x: 48.187%; --w: 30.052%; --t: 7.595%; --h: 40.506%; }
}

@layer components {

.crew-trigger-body + .crew-trigger-body,
.crew-desk-body + .crew-desk-body {
  margin-top: var(--space-3);
}
}
