.tstep { margin-top: 18px; }
.tstep h1 { font: 650 28px/1.2 var(--serif); margin: 14px 0 12px; }
.tstep h2 { font: 650 22px var(--serif); margin: 0 0 8px; }
.tstep h3 { font: 600 16px var(--sans); color: var(--muted); }
.tfield { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); margin: 10px 0; }
.tfield select, .tfield input, .tfield textarea { font: 16px var(--sans); padding: 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.fromrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink); font-size: 15px; }
.fromrow .qbtn { margin: 0; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 12px 0; font-size: 15px; line-height: 1.5; }
.tbig { font: 650 34px var(--serif); }
.ttips { margin: 10px 0 0; padding-left: 18px; font-size: 13px; color: var(--muted); }
.tphoto img { width: 100%; border-radius: 12px; margin: 8px 0; display: block; }
label.qbtn { text-align: center; }
.tok { color: var(--ok); font-weight: 600; font-size: 17px; }
.tbad { color: var(--warn); font-weight: 600; font-size: 17px; }
.tissues { border: 0; padding: 0; margin: 0; }
.tissues legend { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.tissues label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.tissues input { margin-top: 3px; accent-color: var(--accent); }
.tgroup { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin: 14px 0 2px; }
.tsafety { background: color-mix(in srgb, var(--warn) 18%, transparent); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.tsafety a { color: var(--ink); }
#reporttext pre { white-space: pre-wrap; font: 14px/1.6 var(--ko); margin: 0; }
#reporttext details { margin-top: 10px; color: var(--muted); }
#reporttext details pre { font-family: var(--sans); }
.tactions a.qbtn { text-align: center; text-decoration: none; }
.thist { list-style: none; padding: 0; margin: 0; }
.thist li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.thist li .small { display: block; color: var(--muted); }
#s-lost summary { cursor: pointer; color: var(--muted); }

/* ---- Taxi Guard, same world as cards and quest ---- */
.tsteps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 14px 0 6px; position: relative; }
.tsteps::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 21px; border-top: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.tsteps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.tsteps b { font-weight: 500; letter-spacing: .04em; }
.tsm { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--muted);
  border: 1px solid var(--line); }
.tsteps li.done .tsm { color: var(--accent-ink); border-color: var(--accent); }
.tsteps li.now .tsm { color: #1a1710; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px color-mix(in srgb, var(--accent) 50%, transparent); }
.tsteps li.now b { color: var(--ink); }
.th { display: flex; align-items: center; gap: 12px; }
.thm { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink);
  border: 1px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--card));
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px color-mix(in srgb, var(--accent) 35%, transparent); }
.th.small .thm { width: 32px; height: 32px; }
.tstep h1.th { font-size: 26px; }
.tcard.orn { padding: 20px 18px; }
.tlabel { font-size: 13px; color: var(--muted); }
.tbig { font: 650 44px/1.05 var(--serif); color: var(--accent-ink); margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.trange { font-size: 15px; }
.trange b { font-variant-numeric: tabular-nums; }
.tpills { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.tpills span { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: color-mix(in srgb, var(--paper) 40%, transparent); }
.tpills .ic { color: var(--accent-ink); }
.traffic.t-light { border-color: color-mix(in srgb, var(--ok) 60%, transparent); }
.traffic.t-moderate { border-color: color-mix(in srgb, #e0b34a 70%, transparent); }
.traffic.t-heavy { border-color: color-mix(in srgb, var(--warn) 70%, transparent); color: var(--warn); }
.ttips { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.ttips li { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.ttips li .ic { flex: none; margin-top: 1px; color: var(--accent-ink); }
.tdest { font: 650 24px/1.2 var(--serif); margin: 2px 0 6px; }
.tdest span { display: block; font: 15px var(--ko); color: var(--muted); }
.tphoto { border: 1px solid var(--accent); border-radius: 14px; padding: 6px; margin: 10px 0; }
.tphoto img { margin: 0; border-radius: 9px; }
input.plate { font: 600 20px var(--ko) !important; letter-spacing: .06em; text-align: center; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)) !important; }
.tok, .tbad { display: flex; align-items: flex-start; gap: 10px; font: 650 19px/1.3 var(--serif); }
.tok .ic, .tbad .ic { flex: none; margin-top: 2px; }
#reporttext { position: relative; }
.seal { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink);
  border: 1px solid var(--accent); box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px color-mix(in srgb, var(--accent) 40%, transparent); }
#reporttext pre { margin-top: 10px; padding-top: 10px; border-top: 1px dashed color-mix(in srgb, var(--accent) 40%, transparent); }
.tgroup { border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding-bottom: 4px; }
.tchannels { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.thist li { display: flex; gap: 12px; align-items: flex-start; }
.thist .rmedal { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--accent-ink); border: 1px solid var(--accent); }
.hbody { flex: 1; }
.hbtns { display: flex; gap: 6px; margin-top: 6px; }
.hbtns .qbtn { margin: 0; }
