/* Phase 44 — proof-led product tour on the product decision page. */
.phase44-product-tour{margin:42px 0 46px;padding:28px;border:1px solid #e1e6f2;border-radius:16px;background:linear-gradient(180deg,#fafbff 0%,#f5f7fc 100%)}
.phase44-tour-heading{max-width:620px;margin-bottom:20px}
.phase44-tour-heading .eyebrow{color:#4f55d9;font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}
.phase44-tour-heading h2{margin:9px 0 8px;font-size:clamp(25px,3vw,34px);line-height:1.13;letter-spacing:-.045em;color:var(--ink)}
.phase44-tour-heading p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}
.phase44-tour-tabs{display:flex;gap:7px;padding:5px;border:1px solid #e2e7f1;border-radius:12px;background:#fff;overflow-x:auto;scrollbar-width:thin}
.phase44-tour-tabs [role="tab"]{flex:1 0 auto;min-height:42px;padding:9px 14px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:600;cursor:pointer;transition:background .16s ease,color .16s ease,box-shadow .16s ease}
.phase44-tour-tabs [role="tab"]:hover{background:#f5f6ff;color:var(--ink)}
.phase44-tour-tabs [role="tab"][aria-selected="true"]{background:#eef0ff;color:#414bd5;box-shadow:inset 0 0 0 1px #dfe2ff}
.phase44-tour-tabs [role="tab"]:focus-visible{outline:3px solid rgba(79,85,217,.35);outline-offset:2px}
.phase44-tour-panels{margin-top:12px}
.phase44-tour-panel{display:grid;grid-template-columns:minmax(190px,.7fr) minmax(0,1.3fr);align-items:center;gap:20px;padding:20px;border:1px solid #e2e7f1;border-radius:12px;background:#fff}
.phase44-tour-panel[hidden]{display:none!important}
.phase44-tour-copy{min-width:0}
.phase44-tour-step{display:inline-flex;align-items:center;padding:5px 8px;border-radius:6px;background:#f0f1ff;color:#4d53d5;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
.phase44-tour-copy h3{margin:13px 0 8px;color:var(--ink);font-size:20px;line-height:1.2;letter-spacing:-.035em}
.phase44-tour-copy p{margin:0 0 16px;color:var(--muted);font-size:12px;line-height:1.7}
.phase44-tour-copy .btn{white-space:normal;line-height:1.35}
.phase44-tour-panel figure{min-width:0;margin:0;padding:6px;border:1px solid #e5e9f2;border-radius:8px;background:#f6f8fc}
.phase44-tour-panel figure img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:top center;border:1px solid #e5e9f2;border-radius:6px;background:#fff}
.phase44-tour-panel figure figcaption{padding:8px 5px 2px;color:var(--muted);font-size:11px;line-height:1.45}
.phase44-tour-boundary{margin:12px 2px 0;color:var(--muted);font-size:11px;line-height:1.6}
@media(max-width:760px){.phase44-product-tour{margin:32px 0;padding:18px;border-radius:12px}.phase44-tour-panel{grid-template-columns:1fr;gap:16px;padding:15px}.phase44-tour-copy h3{font-size:18px}.phase44-tour-panel figure img{aspect-ratio:1.5/1}.phase44-tour-tabs [role="tab"]{padding:9px 11px}}
@media(max-width:430px){.phase44-product-tour{margin-inline:-2px;padding:14px}.phase44-tour-heading h2{font-size:24px}.phase44-tour-heading p{font-size:12px}.phase44-tour-tabs{gap:4px}.phase44-tour-tabs [role="tab"]{min-height:40px;padding:8px 10px;font-size:11px}.phase44-tour-panel{padding:12px}.phase44-tour-copy .btn{width:100%;justify-content:center}}
@media(max-width:340px){.phase44-tour-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;align-items:stretch;padding:4px}.phase44-tour-tabs [role="tab"]{min-width:0;padding:7px 4px;font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.phase44-tour-tabs [role="tab"]{transition:none}}
/* Phase 50: between 341px and 480px the three tour tabs (346px wide) sat in a 306-330px scrolling row, so
   "Follow-up tasks" was cut off with no hint that the row scrolls. Use an equal three-column grid with
   wrapping labels, as the 340px rule already does for the smallest phones but with readable sizing.
   Verified at every width 300-1300px by qa/phase50_header_width_sweep.py. */
@media(min-width:341px) and (max-width:480px){
  .phase44-tour-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;align-items:stretch}
  .phase44-tour-tabs [role="tab"]{min-width:0;padding:8px 6px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
}
