/* Coplost Enterprises — track order (track-support.php)
   Greenhouse + foil desk; gx tokens bridged in a67-theme.css */

.page-support.way-track {
  --way-chlor: var(--gx-chlor, #2f9e6b);
  --way-pollen: var(--gx-pollen, #e8a317);
  --way-max: min(74rem, calc(100% - 2rem));
}

.page-support.way-track.a67-body {
  margin: 0;
  background: transparent;
}

.page-support .a67-root-bare,
.page-support .a67-main {
  padding: 0;
  overflow: visible;
}

.a67-body:has(.gx-dial).page-support .way-world {
  padding-bottom: clamp(5.5rem, 14vh, 7rem);
}

.way-world {
  position: relative;
  isolation: isolate;
  width: var(--way-max);
  max-width: 100%;
  margin-inline: auto;
  min-height: 100vh;
  padding: clamp(0.85rem, 2vw, 1.25rem) clamp(1rem, 3vw, 1.75rem) clamp(3rem, 8vh, 4.5rem);
  overflow-x: clip;
}

.way-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.way-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(52px);
  opacity: 0.42;
  animation: way-drift 16s ease-in-out infinite alternate;
}

.way-glow-a {
  width: min(42vw, 26rem);
  height: min(42vw, 26rem);
  top: -10%;
  right: -8%;
  background: rgba(232, 163, 23, 0.22);
}

.way-glow-b {
  width: min(36vw, 22rem);
  height: min(36vw, 22rem);
  bottom: 8%;
  left: -10%;
  background: rgba(47, 158, 107, 0.2);
  animation-delay: -5s;
}

.way-foil {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.42) 50%, transparent 60%),
    linear-gradient(rgba(13, 31, 24, 0.028) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px;
  mask-image: radial-gradient(ellipse 72% 58% at 42% 18%, #000 12%, transparent 78%);
}

/* Topbar */
.way-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.35rem;
  animation: way-rise 0.5s var(--way-ease, ease) both;
}

.way-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.way-mark-seal {
  width: 2.45rem;
  height: 2.45rem;
  display: grid;
  place-items: center;
  font-family: var(--way-sans);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 0.55rem 1.1rem 0.55rem 1.1rem;
  transition: transform 0.35s var(--way-spring, ease);
}

.way-mark:hover .way-mark-seal {
  transform: translateY(-2px) rotate(-6deg);
}

.way-mark-name {
  font-family: var(--way-display);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.way-top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
}

.way-top-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--way-slate);
  text-decoration: none;
}

.way-top-nav a:hover {
  color: var(--way-ink);
}

.way-top-cta {
  padding: 0.48rem 0.95rem !important;
  border-radius: 999px;
  background: var(--gx-void, #07140f) !important;
  color: #f3f8f5 !important;
  font-weight: 700 !important;
}

.way-top-cta:hover {
  background: var(--way-chlor) !important;
}

/* Hero */
.way-hero {
  margin-bottom: 1.35rem;
  max-width: 40rem;
  animation: way-rise 0.5s var(--way-ease, ease) 0.04s both;
}

.way-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--way-slate);
}

.way-hero h1 {
  margin: 0;
  font-family: var(--way-display);
  font-size: clamp(2.2rem, 5.5vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.way-lede {
  margin: 0.65rem 0 0;
  color: var(--way-slate);
  font-size: 1rem;
  line-height: 1.55;
}

/* Console */
.way-console {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.1rem;
  align-items: stretch;
  animation: way-rise 0.5s var(--way-ease, ease) 0.08s both;
}

/* Lookup */
.way-lookup {
  padding: 1.25rem 1.2rem 1.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--way-line);
  box-shadow: 0 14px 36px rgba(7, 20, 15, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.way-lookup-head h2 {
  margin: 0;
  font-family: var(--way-display);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.way-lookup-head p {
  margin: 0.35rem 0 0;
  color: var(--way-slate);
  font-size: 0.9rem;
}

.way-fields {
  display: grid;
  gap: 0.75rem;
}

.way-field {
  position: relative;
}

.way-field input {
  width: 100%;
  border: 1px solid var(--way-line);
  border-radius: 0.95rem;
  padding: 1.3rem 0.95rem 0.5rem;
  background: #fff;
  color: var(--way-ink);
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.way-field label {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--way-slate);
  pointer-events: none;
  transition: top 0.2s, font-size 0.2s, color 0.2s;
}

.way-field input:focus,
.way-field input:not(:placeholder-shown) {
  border-color: rgba(47, 158, 107, 0.45);
  box-shadow: 0 0 0 3px rgba(47, 158, 107, 0.12);
}

.way-field input:focus + label,
.way-field input:not(:placeholder-shown) + label {
  top: 0.52rem;
  transform: none;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--way-chlor);
}

.way-submit {
  width: 100%;
  margin-top: auto;
  padding: 0.9rem 1rem;
  border: 0;
  border-radius: 0.9rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s, filter 0.2s;
}

.way-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.way-lookup.is-sending .way-submit {
  opacity: 0.7;
  pointer-events: none;
}

/* Results panel */
.way-radar-panel {
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 20rem;
  border: 1px solid var(--way-line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 36px rgba(7, 20, 15, 0.06);
  display: flex;
  flex-direction: column;
}

.way-state-lit {
  background:
    radial-gradient(420px 200px at 10% 0%, rgba(47, 158, 107, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.94);
}

.way-state-miss {
  background:
    radial-gradient(400px 180px at 50% 0%, rgba(154, 52, 18, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.94);
}

/* Matched: progress */
.way-radar {
  padding: 1.15rem 1.15rem 0.85rem;
}

.way-progress-head {
  text-align: center;
  margin-bottom: 0.75rem;
}

.way-radar-label {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--way-slate);
}

.way-progress-head strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--way-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.way-progress-head span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--way-chlor);
}

.way-ring-wrap {
  display: grid;
  place-items: center;
  margin: 0 auto;
  max-width: 11rem;
}

.way-ring {
  width: 100%;
  height: auto;
  transform: rotate(-90deg);
}

.way-ring-track {
  fill: none;
  stroke: rgba(7, 20, 15, 0.08);
  stroke-width: 6;
}

.way-ring-fill {
  fill: none;
  stroke: var(--way-chlor);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 326.73;
  stroke-dashoffset: 326.73;
  transition: stroke-dashoffset 1s var(--way-ease, ease);
}

.way-radar.is-drawn .way-ring-fill {
  stroke-dashoffset: calc(326.73 - (326.73 * var(--way-progress, 0) / 100));
}

.way-nodes {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.way-nodes li {
  display: grid;
  gap: 0.3rem;
  justify-items: center;
  text-align: center;
  padding: 0.5rem 0.2rem;
  border-radius: 0.85rem;
  transition: background 0.2s, transform 0.25s;
}

.way-node-dot {
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--way-fog);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--way-slate);
}

.way-node-copy strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.way-node-copy small {
  display: block;
  font-size: 0.62rem;
  color: var(--way-slate);
  line-height: 1.25;
}

.way-nodes li.is-done .way-node-dot {
  background: var(--way-chlor);
  color: #f3f8f5;
}

.way-nodes li.is-live {
  background: rgba(47, 158, 107, 0.1);
  transform: translateY(-2px);
}

.way-nodes li.is-live .way-node-dot {
  background: var(--way-pollen);
  color: var(--gx-void, #07140f);
  box-shadow: 0 0 0 3px rgba(232, 163, 23, 0.25);
}

/* Dossier */
.way-dossier {
  margin: auto 1rem 1rem;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: 1.1rem;
  background: linear-gradient(165deg, #07140f 0%, #0f2a20 100%);
  color: #f3f8f5;
  animation: way-rise 0.45s var(--way-ease, ease) 0.12s both;
}

.way-dossier-kicker {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(243, 248, 245, 0.75);
}

.way-dossier-head h3 {
  margin: 0.25rem 0 0;
  font-family: var(--way-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.way-dossier-status {
  margin: 0.35rem 0 0;
  display: inline-block;
  padding: 0.22rem 0.5rem;
  border-radius: 0.4rem;
  background: rgba(47, 158, 107, 0.22);
  color: #b8e6cf;
  font-size: 0.76rem;
  font-weight: 700;
}

.way-dossier-grid {
  margin: 0.85rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.way-dossier-grid div {
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.way-dossier-grid dt {
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(243, 248, 245, 0.72);
}

.way-dossier-grid dd {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  word-break: break-word;
}

.way-dossier-btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.25s, filter 0.2s;
}

.way-dossier-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Idle */
.way-idle {
  padding: 1.75rem 1.35rem 1.5rem;
  margin: 0 auto;
  max-width: 28rem;
}

.way-idle-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--way-slate);
}

.way-idle h2 {
  margin: 0.4rem 0 0;
  font-family: var(--way-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.way-idle > p {
  margin: 0.45rem 0 0;
  color: var(--way-slate);
  font-size: 0.93rem;
  line-height: 1.5;
}

.way-idle-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.way-idle-list li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--way-line);
  animation: way-rise 0.4s var(--way-ease, ease) both;
  animation-delay: calc(0.06s + var(--i, 0) * 50ms);
}

.way-idle-list em {
  font-style: normal;
  font-family: var(--way-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--way-chlor);
  text-align: center;
}

.way-idle-list strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}

.way-idle-list small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.72rem;
  color: var(--way-slate);
}

/* Not found */
.way-void {
  padding: 2rem 1.35rem 1.75rem;
  text-align: center;
  max-width: 24rem;
  margin: 0 auto;
}

.way-void-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--way-alert);
}

.way-void h2 {
  margin: 0.4rem 0 0;
  font-family: var(--way-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.way-void > p {
  margin: 0.45rem 0 0;
  color: var(--way-slate);
  font-size: 0.93rem;
  line-height: 1.5;
}

.way-void-btn {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.8rem 1.15rem;
  border-radius: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s;
}

.way-void-btn:hover {
  transform: translateY(-2px);
}

.way-void-mail {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--way-slate);
  text-decoration: none;
}

.way-void-mail:hover {
  color: var(--way-chlor);
}

@keyframes way-rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@keyframes way-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 5%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .way-topbar,
  .way-hero,
  .way-console,
  .way-dossier,
  .way-idle-list li,
  .way-glow,
  .way-ring-fill {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 900px) {
  .way-console {
    grid-template-columns: 1fr;
  }

  .way-nodes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .way-dossier-grid {
    grid-template-columns: 1fr;
  }

  .way-node-copy small {
    display: none;
  }
}