/* ===== Track page layout (load AFTER order.css) ===== */
.tk-page{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}
.tk-page main{flex:1;display:flex;align-items:flex-start;justify-content:center}
.tk-page .o-wrap{width:100%;padding:112px 0 64px}
.tk-page .o-wrap>.w{display:flex;flex-direction:column;align-items:center}

/* centered heading */
.tk-head{text-align:center;width:100%;max-width:560px;margin:0 auto 24px}
.tk-head .o-sub{margin:10px auto 0}

/* form + result share one centered column */
.tk-page .tk-form,
.tk-page #res{width:100%;max-width:560px;margin:0 auto}
.tk-page #res{max-width:720px}
.tk-page .tk-form.tk-min{display:none}
.tk-page #res[hidden]{display:none!important}

/* the submit button must always be visible and tappable */
.tk-page .tk-form .o-go{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;
  margin-top:16px;opacity:1;visibility:visible;position:static}
.tk-page .tk-form .o-f{margin-top:0}

/* result action buttons stack nicely on phones */
@media(max-width:560px){
  .tk-page .o-wrap{padding:88px 0 40px}
  .tk-page .o-card{padding:18px;border-radius:24px}
  .tk-act{flex-direction:column}
  .tk-act .btn{width:100%;justify-content:center}
  .tk-top{align-items:flex-start}
}