/* ATHRTY PX-12.1: Obsidian Compact Experience Engine
   Route-scoped, additive presentation contract. No commerce, data, or action changes. */
body.v62-shell.v70-ui{
  --px121-surface: color-mix(in srgb,var(--panel) 92%,var(--bg));
  --px121-ink:var(--text);
  --px121-edge:color-mix(in srgb,var(--border) 88%,transparent);
  --px121-glow:color-mix(in srgb,var(--accent) 23%,transparent);
  --px121-fast:180ms cubic-bezier(.2,.75,.2,1);
  --px121-ease:320ms cubic-bezier(.19,1,.22,1);
}
body.v62-shell.v70-ui :is(.modules-grid,.module-card,.compare-panel,.journey-flow,.journey-detail){min-width:0;min-inline-size:0}
body.v62-shell.v70-ui .modules-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(10px,1.35vw,17px);align-items:stretch
}
body.v62-shell.v70-ui .module-card{
  position:relative;isolation:isolate;min-height:0!important;height:auto!important;
  padding:clamp(16px,1.6vw,23px)!important;display:flex;flex-direction:column;
  gap:0;border-radius:17px;background:var(--px121-surface);
  border:1px solid var(--px121-edge);
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--text) 4%,transparent);
  transition:border-color var(--px121-fast),background var(--px121-fast),box-shadow var(--px121-ease),transform var(--px121-ease);
}
body.v62-shell.v70-ui .module-card::before{
  content:"";position:absolute;inset:0 0 auto;height:2px;
  background:linear-gradient(90deg,transparent,var(--accent),transparent);
  transform:scaleX(.08);opacity:0;pointer-events:none;
  transition:transform var(--px121-ease),opacity var(--px121-fast)
}
body.v62-shell.v70-ui .module-card:focus-within,
body.v62-shell.v70-ui .module-card:hover{
  border-color:color-mix(in srgb,var(--accent) 46%,var(--border));
  box-shadow:0 14px 36px rgba(0,0,0,.11),inset 0 1px 0 color-mix(in srgb,var(--accent) 8%,transparent)
}
body.v62-shell.v70-ui .module-card:focus-within::before,
body.v62-shell.v70-ui .module-card:hover::before{transform:scaleX(1);opacity:.9}
body.v62-shell.v70-ui .module-card:has(.module-btn.added){
  border-color:color-mix(in srgb,var(--accent) 67%,var(--border));
  background:color-mix(in srgb,var(--accent) 5%,var(--panel))
}
body.v62-shell.v70-ui .module-card .family{
  display:block;margin:0;color:var(--accent);opacity:.88;
  letter-spacing:.13em;font-size:10px;line-height:1.3;font-weight:760
}
body.v62-shell.v70-ui .module-card h3{
  font-size:clamp(17px,1.52vw,21px);line-height:1.22;
  margin:10px 0 7px;letter-spacing:-.037em;font-weight:760;text-wrap:pretty
}
body.v62-shell.v70-ui .module-card p{
  margin:0;color:var(--muted);font-size:clamp(12px,1vw,13px);
  line-height:1.46;max-width:55ch;text-wrap:pretty
}
body.v62-shell.v70-ui .module-card .module-actions{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px!important;margin:14px 0 0!important;padding:0!important;align-items:stretch
}
body.v62-shell.v70-ui .module-card .module-btn{
  min-width:0;width:100%;min-height:44px!important;
  display:inline-flex;align-items:center;justify-content:center;
  padding:9px 10px!important;border-radius:10px;font-size:12px;
  font-weight:720;line-height:1.25;white-space:normal;
  transition:background var(--px121-fast),border-color var(--px121-fast),transform var(--px121-fast)
}
body.v62-shell.v70-ui .module-card .module-btn[data-add]{
  background:var(--text);color:var(--bg);border-color:var(--text)
}
body.v62-shell.v70-ui .module-card .module-btn[data-add].added{
  background:color-mix(in srgb,var(--accent) 17%,var(--panel));
  border-color:var(--accent);color:var(--text)
}
body.v62-shell.v70-ui .module-card .module-state{
  display:block;margin-top:10px;padding:0!important;
  color:var(--muted);font-size:10px;line-height:1.35;
}
body.v62-shell.v70-ui .module-controls{margin-bottom:15px;gap:10px}
body.v62-shell.v70-ui .module-controls select{min-height:44px;border-radius:10px}

/* Before/after: a process simulator, not a tall array of panels. */
body.v62-shell.v70-ui .compare-panel{
  border-radius:17px;overflow:hidden;
  background:linear-gradient(145deg,var(--panel),var(--bg));
  border:1px solid var(--px121-edge)
}
body.v62-shell.v70-ui .compare-tabs{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  padding:6px;gap:6px;border-bottom:1px solid var(--px121-edge)
}
body.v62-shell.v70-ui .compare-tabs button{
  min-width:0;min-height:46px;padding:10px 12px;
  border:1px solid transparent;border-radius:11px;box-shadow:none;
  color:var(--muted);font-size:11px;line-height:1.3;letter-spacing:.07em;
  transition:color var(--px121-fast),background var(--px121-fast),border var(--px121-fast)
}
body.v62-shell.v70-ui .compare-tabs button.active{
  color:var(--text);background:color-mix(in srgb,var(--accent) 10%,var(--bg));
  border-color:color-mix(in srgb,var(--accent) 43%,var(--border));box-shadow:none
}
body.v62-shell.v70-ui .compare-flow{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  padding:clamp(12px,2vw,22px);gap:9px
}
body.v62-shell.v70-ui .compare-node{
  min-height:98px!important;padding:14px!important;border-radius:12px;
  background:var(--px121-surface);border:1px solid var(--px121-edge);
  animation:px121-enter 260ms cubic-bezier(.2,.75,.2,1) both
}
body.v62-shell.v70-ui .compare-node:nth-child(2){animation-delay:35ms}
body.v62-shell.v70-ui .compare-node:nth-child(3){animation-delay:70ms}
body.v62-shell.v70-ui .compare-node:nth-child(4){animation-delay:105ms}
body.v62-shell.v70-ui .compare-node span{
  color:var(--negative);font-size:10px;letter-spacing:.10em;font-weight:770
}
body.v62-shell.v70-ui .compare-panel.connected .compare-node span{color:var(--accent)}
body.v62-shell.v70-ui .compare-node strong{
  margin:9px 0 0;font-size:clamp(11.5px,1vw,13px);
  line-height:1.36;letter-spacing:-.015em
}
body.v62-shell.v70-ui .compare-caption{
  margin:0;padding:0 clamp(12px,2vw,22px) 17px;
  font-size:12px;line-height:1.5;color:var(--muted)
}

/* Journey: one row of tactile stages and a compact live detail readout. */
body.v62-shell.v70-ui .sub-head{margin:clamp(38px,5vw,64px) 0 20px}
body.v62-shell.v70-ui .journey-flow{
  display:flex!important;grid-template-columns:none!important;
  flex-wrap:nowrap!important;gap:8px;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x proximity;overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;padding:3px 2px 10px;
  scrollbar-width:thin;scrollbar-color:var(--border) transparent;
  counter-reset:px121-step
}
body.v62-shell.v70-ui .journey-button{
  counter-increment:px121-step;display:inline-flex!important;
  flex:0 0 auto!important;min-width:118px!important;width:auto!important;max-width:none;
  min-height:45px!important;align-items:center;justify-content:center;gap:8px;
  border-radius:11px;padding:10px 13px!important;scroll-snap-align:start;
  background:var(--panel);color:var(--text);font-size:12px!important;font-weight:650;
  border:1px solid var(--px121-edge);white-space:nowrap;
  transition:background var(--px121-fast),border-color var(--px121-fast),box-shadow var(--px121-fast)
}
body.v62-shell.v70-ui .journey-button::before{
  content:counter(px121-step,decimal-leading-zero);
  color:var(--muted);font-size:9px;letter-spacing:.04em;font-weight:760
}
body.v62-shell.v70-ui .journey-button[aria-pressed=true]{
  background:color-mix(in srgb,var(--accent) 13%,var(--panel));
  border-color:var(--accent);box-shadow:inset 0 -2px 0 var(--accent)
}
body.v62-shell.v70-ui .journey-button[aria-pressed=true]::before{color:var(--accent)}
body.v62-shell.v70-ui .journey-detail{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto;
  gap:4px 14px;align-items:center;min-height:0!important;
  margin:0;padding:15px 17px;border-radius:12px;
  background:var(--px121-surface);border:1px solid var(--px121-edge)
}
body.v62-shell.v70-ui .journey-detail strong{
  grid-row:1;grid-column:1/-1;font-size:16px;line-height:1.3;
}
body.v62-shell.v70-ui .journey-detail p{
  margin:0;color:var(--muted);font-size:12px;line-height:1.4
}
body.v62-shell.v70-ui .journey-detail p:last-child{text-align:right;font-variant-numeric:tabular-nums}

/* Make readable mobile lengths, never locked heights. */
@media(max-width:1020px){
  body.v62-shell.v70-ui .modules-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.v62-shell.v70-ui .compare-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body.v62-shell.v70-ui .section{padding-top:clamp(44px,9vw,62px);padding-bottom:clamp(46px,9vw,63px)}
  body.v62-shell.v70-ui .modules-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px}
  body.v62-shell.v70-ui .module-card{
    padding:16px!important;min-height:0!important;height:auto!important;
    transform:none!important
  }
  body.v62-shell.v70-ui .module-card h3{font-size:19px;margin:8px 0 6px}
  body.v62-shell.v70-ui .module-card p{font-size:13px;line-height:1.42}
  body.v62-shell.v70-ui .module-card .module-actions{margin-top:13px!important}
  body.v62-shell.v70-ui .module-card .module-state{margin-top:8px}
  body.v62-shell.v70-ui .compare-flow{padding:11px;gap:8px}
  body.v62-shell.v70-ui .compare-node{min-height:0!important;padding:11px!important}
  body.v62-shell.v70-ui .compare-node strong{font-size:12px;margin-top:8px}
  body.v62-shell.v70-ui .compare-caption{padding:0 12px 13px;font-size:11.5px}
  body.v62-shell.v70-ui .journey-flow{margin-right:-16px;padding-right:16px}
  body.v62-shell.v70-ui .journey-button{min-width:111px!important;min-height:44px!important}
  body.v62-shell.v70-ui .journey-detail{grid-template-columns:1fr;gap:4px;padding:14px}
  body.v62-shell.v70-ui .journey-detail strong{grid-column:1}
  body.v62-shell.v70-ui .journey-detail p:last-child{text-align:left}
}
@media(max-width:360px){
  body.v62-shell.v70-ui .compare-tabs button{font-size:10px;letter-spacing:.015em}
  body.v62-shell.v70-ui .module-card .module-actions{gap:6px!important}
  body.v62-shell.v70-ui .module-card .module-btn{font-size:11px;padding:9px 7px!important}
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  body.v62-shell.v70-ui .module-card:hover{transform:translateY(-3px)}
  body.v62-shell.v70-ui .module-btn:hover{transform:translateY(-1px)}
}
@keyframes px121-enter{from{opacity:.35;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  body.v62-shell.v70-ui :is(.compare-node,.module-card,.module-btn,.journey-button){animation:none!important;transition:none!important}
  body.v62-shell.v70-ui .journey-flow{scroll-behavior:auto}
}