/* TagVomo tag services (/verify-tag, /report-lost-tag, /replace-tag, /transfer, /order-success).
   Builds on ui-commerce.css tokens (--tv-*). Scoped to body[data-ts]; .ts-quick is also used on /shop. */
.ts-quick{margin:-6px 0 16px;font-size:13.5px;color:var(--tv-muted,#5b6f67);line-height:1.9}
.ts-quick a{color:var(--tv-accent,#0a3654);font-weight:700;text-decoration:underline;text-underline-offset:3px;padding:6px 2px}

body[data-ts] .ts-hero{padding:clamp(28px,5vw,56px) 0 clamp(18px,3vw,30px)}
body[data-ts] .ts-hero h1{font-size:clamp(28px,5vw,44px);line-height:1.1;letter-spacing:-1px;margin:8px 0 10px}
body[data-ts] .ts-hero .lead{max-width:62ch}
body[data-ts] .ts-section{padding-top:8px}
body[data-ts] .ts-wrap{width:min(1080px,calc(100% - 32px));margin:auto}
body[data-ts] #ts-root{outline:none;min-width:0}
body[data-ts] .ts-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px;align-items:start}
body[data-ts] .ts-grid>*{min-width:0}
body[data-ts] .ts-card{margin-bottom:16px}
body[data-ts] .ts-card h2{font-size:22px;letter-spacing:-.4px}
body[data-ts] .ts-card h3{font-size:17px}
body[data-ts] .ts-list{margin:10px 0 0;padding-left:18px;display:grid;gap:8px;font-size:14.5px}
body[data-ts] .ts-list li{padding-left:2px}
body[data-ts] .ts-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;font-size:14px}
body[data-ts] code{overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.92em}

/* owner strip */
body[data-ts] .ts-owner{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between;background:var(--tv-soft,#f2f7f4);border:1px solid var(--tv-line,#d5dfd9);border-radius:14px;padding:10px 14px;margin-bottom:16px;font-size:14px}
body[data-ts] .ts-owner code{background:var(--tv-card,#fff);border:1px solid var(--tv-line,#d5dfd9);border-radius:6px;padding:2px 6px}
body[data-ts] .ts-owner-links{display:flex;gap:14px;align-items:center}
body[data-ts] .ts-owner a,body[data-ts] .ts-link{color:var(--tv-accent,#0a3654);font-weight:700;text-decoration:underline;text-underline-offset:3px;background:none;border:0;padding:10px 2px;min-height:44px;font:inherit;font-weight:700;cursor:pointer}
body[data-ts] .ts-known{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:8px 0 14px}
body[data-ts] .ts-known b{width:100%;font-size:13px;color:var(--tv-muted,#5b6f67)}

/* state line */
body[data-ts] .ts-state{display:flex;gap:12px;align-items:center;padding:14px 18px}
body[data-ts] .ts-state small{display:block;color:var(--tv-muted,#5b6f67)}
body[data-ts] .ts-dot{width:12px;height:12px;border-radius:50%;flex:none;background:var(--tv-ok,#1f7a45);box-shadow:0 0 0 4px rgba(31,122,69,.18)}
body[data-ts] .ts-dot.warn{background:var(--tv-warn,#9a5b00);box-shadow:0 0 0 4px rgba(154,91,0,.18)}
body[data-ts] .ts-dot.err{background:var(--tv-err,#b3261e);box-shadow:0 0 0 4px rgba(179,38,30,.18)}

/* forms */
body[data-ts] .field{display:block;margin-bottom:14px}
body[data-ts] .field input,body[data-ts] .field textarea,body[data-ts] .field select{width:100%;font-size:16px}
body[data-ts] .ts-check{display:flex;gap:12px;align-items:flex-start;margin:14px 0;font-size:14.5px;line-height:1.45;cursor:pointer}
body[data-ts] .ts-check input{flex:none;width:22px;height:22px;min-height:0;margin-top:1px;accent-color:var(--tv-accent,#0a3654)}
body[data-ts] .ts-check+.tv-err{display:none;color:var(--tv-err,#b3261e);font-weight:600;font-size:13px;margin:-6px 0 10px}
body[data-ts] .ts-danger{background:var(--tv-err,#b3261e);border-color:var(--tv-err,#b3261e);color:#fff}
body[data-ts] .ts-otp{font:800 26px/1 ui-monospace,Menlo,monospace;letter-spacing:.4em;text-align:center}
body[data-ts] .ts-cam{margin-top:14px}
body[data-ts] .ts-cam video{width:100%;max-height:52vh;border-radius:14px;background:#000;object-fit:cover}
body[data-ts] .ts-verdict{margin-top:16px}
body[data-ts] .ts-verdict h3{font-size:22px}
body[data-ts] .tv-summary dd{white-space:normal}
body[data-ts] .tv-actionbar{position:static!important;margin:14px 0 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
@media(max-width:720px){body[data-ts] #ts-replace{padding-bottom:0}body[data-ts] #ts-replace .tv-actionbar{position:sticky!important;bottom:0;margin:14px -16px 0!important;padding:12px 16px calc(12px + env(safe-area-inset-bottom))!important;background:var(--tv-card,#fff)!important;border-top:1px solid var(--tv-line,#d5dfd9)!important;box-shadow:0 -8px 24px rgba(6,27,49,.12)!important;border-radius:0 0 16px 16px;z-index:30}}

/* tabs */
body[data-ts] .ts-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:var(--tv-soft,#f2f7f4);border:1px solid var(--tv-line,#d5dfd9);border-radius:14px;padding:5px;margin-bottom:18px}
body[data-ts] .ts-tab{min-height:48px;border:0;border-radius:10px;background:none;color:var(--tv-muted,#5b6f67);font:800 14px/1.2 inherit;font-family:inherit;cursor:pointer;padding:8px 10px}
body[data-ts] .ts-tab.active{background:var(--tv-card,#fff);color:var(--tv-ink,#0a241e);box-shadow:0 1px 6px rgba(6,27,49,.12)}

/* replacement orders list */
body[data-ts] .ts-orders{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px;font-size:14px}
body[data-ts] .ts-orders li{display:grid;grid-template-columns:1fr auto;gap:2px 10px}
body[data-ts] .ts-orders li span:nth-child(2){grid-column:1;color:var(--tv-muted,#5b6f67);font-size:12.5px}
body[data-ts] .ts-orders .ts-badge{grid-column:2;grid-row:1/3;align-self:center;background:var(--tv-soft,#f2f7f4);border:1px solid var(--tv-line,#d5dfd9);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;text-transform:capitalize}

body[data-ts] #ts-steps,body[data-ts] #ts-rsteps{margin:0 0 16px;padding:0}

@media(max-width:860px){
  body[data-ts] .ts-grid{grid-template-columns:1fr}
  body[data-ts] .ts-two{grid-template-columns:1fr}
}
@media(max-width:600px){
  body[data-ts] .ts-wrap{width:calc(100% - 28px)}
  body[data-ts] .tv-panel{padding:16px}
  body[data-ts] .tv-actions .btn,body[data-ts] .tv-actionbar .btn{width:100%}
  body[data-ts] .tv-actions{flex-direction:column}
  body[data-ts] .tv-kv{grid-template-columns:1fr}
  body[data-ts] .tv-kv dt{margin-top:6px}
  body[data-ts] .tv-key{flex-direction:column}
  body[data-ts] .tv-key .btn{width:100%}
  body[data-ts] .ts-tab{font-size:13px}
  body[data-ts] .tv-pay{grid-template-columns:1fr}
}

/* Light-only, matching ui-commerce.css and the rest of the public site. */
/* After payment: the next step to the owner dashboard */
.ts-activate-now{margin:14px 0 16px;padding:14px 16px;border-radius:14px;background:#0f1e2e;color:#fff}
.ts-activate-now p{color:#c8d3dc;margin:4px 0 10px;font-size:14.5px}
.ts-activate-now .btn.primary{background:#d4f56b;color:#0f1e2e;border-color:#d4f56b;margin-top:6px}
