/* The Anywhere page: what it needs beyond the shared styles. */

.pc-codex { --t: #7b66d6; --b: #43299a; color: #fff; }
.pc-cargo { --t: #eeab78; --b: #b5562a; color: #fff; }

.hero-page .eyebrow { color: var(--accent); }
.in-t { font-weight: 600; color: var(--ink); }

.mc-tag { padding: 0 7px; height: 18px; display: inline-flex; align-items: center; border-radius: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: var(--w-accent); background: var(--w-wash); box-shadow: inset 0 0 0 1px var(--w-line); }

@media (max-width: 900px) { .frame.tall { min-height: clamp(34rem, 28rem + 8vw, 38rem); } }
.frame .win .w-over { inset-inline: 1rem; }

/* Dialogs over the window. */
.dl { width: min(100%, 31rem); padding: 22px; gap: 14px; font-size: 13px; }
.dl-sub { font-size: 12.5px; margin-top: 2px; }
.dl-group { display: grid; gap: 6px; }
.dl-cap { font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--w-muted); padding: 0 2px; }
.dl-row { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 12px; border-radius: 10px; background: var(--w-field); box-shadow: inset 0 0 0 1px var(--w-line); }
.dl-row b { font-weight: 600; }
.dl-row p { font-size: 12px; line-height: 1.4; }
.dl-row .grow { flex: 1; min-width: 0; }
.dl-k { flex: none; width: 4.25rem; font-weight: 600; }
.dl-in { flex: 1; min-width: 0; display: flex; align-items: center; gap: 2px; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--w-field); box-shadow: inset 0 0 0 1px var(--w-line2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dl-in.mono { font-family: var(--mono); font-size: 12px; }
.dl-in.focus { box-shadow: 0 0 0 1.5px var(--w-accent), 0 0 0 4px var(--w-wash); color: var(--w-muted); }
.dl-sel { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: var(--w-btn); box-shadow: inset 0 1px 0 var(--w-btn-hi), 0 0 0 1px var(--w-line2); font-weight: 500; white-space: nowrap; }
.dl-sel svg { color: var(--w-muted); }
.dl-sw { flex: none; width: 36px; height: 21px; border-radius: 11px; padding: 2px; display: inline-flex; background: var(--w-btn); box-shadow: inset 0 0 0 1px var(--w-line2); }
.dl-sw i { width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .35); transition: transform .25s; }
.dl-sw.on { background: var(--w-accent); justify-content: flex-end; box-shadow: none; }
.dl-tabs { display: grid; grid-template-columns: 1fr 1fr; margin: 4px 0 0; text-align: center; }
.dl-tabs span { justify-content: center; }
.dl-two span { height: 24px; }
.dl-list { display: grid; padding: 4px; border-radius: 10px; background: var(--w-field); box-shadow: inset 0 0 0 1px var(--w-line); }
.dl-m { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 7px; transition: background .2s; }
.dl-m:first-child { background: var(--w-sel); box-shadow: 0 0 0 1px var(--w-line2); }
.dl-m:hover { background: var(--w-sel); }
.dl-m span:last-child { font-size: 12px; }
.dl-m.off { opacity: .6; }
.dl-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--w-done); flex: none; }
.dl-m.off .dl-dot { background: var(--w-muted); }
.dl-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 2px; }
.dl-ok { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.dl-copy { flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--w-btn); box-shadow: inset 0 0 0 1px var(--w-line2); }
.dl .mono { font-family: var(--mono); font-size: 11.5px; }
.dl .brk { overflow-wrap: anywhere; }
.dl .min0 { min-width: 0; }

/* The laptop shows the hub's page, in a browser. */
.m-fit.web-fit { display: flex; flex-direction: column; background: var(--w-canvas); }
.web-fit .win { flex: 1; min-height: 0; height: auto; }
.web-bar { flex: none; height: 2.25rem; display: flex; align-items: center; gap: .75rem; padding: 0 .875rem; background: var(--w-side); border-bottom: 1px solid var(--w-line); color: var(--w-muted); font-size: 12px; }
.web-dots { display: inline-flex; gap: 6px; }
.web-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--w-line2); }
.wb { flex: 1; min-height: 0; display: grid; grid-template-columns: 280px minmax(0, 1fr); color: var(--w-text); font-size: 13px; text-align: left; }
.wb .grow { flex: 1; min-width: 0; }
.wb-side { display: grid; align-content: start; gap: 2px; padding: 4px 8px; background: var(--w-side); border-right: 1px solid var(--w-line); }
.wb-top { display: flex; align-items: center; gap: 2px; min-height: 44px; padding-left: 4px; color: var(--w-muted); }
.wb-mach { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--w-text2); }
.wb-ib { flex: none; width: 32px; height: 32px; display: grid; place-items: center; color: var(--w-muted); }
.wb-way { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 10px; border-radius: 10px; font-weight: 600; }
.wb-way > svg:first-child { color: var(--w-muted); }
.wb-top { margin-bottom: 4px; }
.wb-n { color: var(--w-muted); font-size: 12px; font-weight: 500; }
.wb-chev { color: var(--w-faint); }
.wb-want { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; display: grid; place-items: center; background: var(--w-waiting); color: var(--w-canvas); font-size: 12px; font-weight: 800; }
.wb-pane { min-width: 0; display: flex; flex-direction: column; background: linear-gradient(var(--w-term), var(--w-term)), var(--w-wall), var(--w-canvas); }
.wb-bar { flex: none; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 4px; border-bottom: 1px solid var(--w-line); }
.wb-bar .pc { flex: none; }
.wb-names { flex: 1; min-width: 0; display: grid; }
.wb-names b { font-weight: 600; }
.wb-names small { display: flex; align-items: center; gap: 6px; color: var(--w-muted); font-size: 12px; white-space: nowrap; }
.wb-names small .tw { font-weight: 600; }
.wb .w-body { padding: 12px 14px; font-size: 13px; }
.web-url { flex: 0 1 22rem; margin: 0 auto; min-width: 0; height: 24px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; background: var(--w-field); box-shadow: inset 0 0 0 1px var(--w-line); font-family: var(--mono); font-size: 11px; white-space: nowrap; overflow: hidden; }

/* Safety: six cards. */
.safe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.safe-card { display: grid; gap: .875rem; align-content: start; }
.safe-card .h3 { font-size: 1.125rem; letter-spacing: -.01em; }
.safe-ic { width: 2.75rem; height: 2.75rem; border-radius: .875rem; display: inline-flex; align-items: center; justify-content: center; color: var(--accent); background: var(--accent-wash); box-shadow: inset 0 0 0 1px var(--accent-ring); transition: transform .4s var(--ease); }
.safe-card:hover .safe-ic { transform: translateY(-2px) scale(1.06); }

@media (max-width: 1100px) {
  .safe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .safe { grid-template-columns: minmax(0, 1fr); }
  .frame.tall { min-height: 40rem; }
  .dl { padding: 16px; }
  .dl-k { width: 3.5rem; }
  .frame .win .w-over { inset-inline: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .safe-ic { transition: none; }
}

.dl { grid-template-columns: minmax(0, 1fr); min-width: 0; }
.dl > *, .dl-group > * { min-width: 0; }
.dl-row { flex-wrap: wrap; }
.dl-row .grow { flex: 1 1 9rem; }
.dl-in { flex-basis: 8rem; }
.dl-tabs span { white-space: nowrap; }
