/* Tracking page (tracking.ga-oms.com), 2026-10-01: the no-sign-in side of the customer dashboard. Everything visual
   comes from dashboard.css (masthead, tabs, flight-board rows, hero, banners, timeline, facts, documents); this file
   only adds what the dashboard does not have: a multi-number search box, the account link, and the landing panels. */

/* ---- masthead search: up to 30 numbers, pasted from Excel or WeChat */
.trk-mast .row-1 { align-items: stretch; }
.trk-mast .trk-q { flex: 1 1 520px; min-width: 0; max-width: 680px; }
.trk-search { position: relative; margin-top: 14px; display: flex; gap: 8px; align-items: flex-start; }
.trk-search .fa-search { position: absolute; left: 12px; top: 12px; color: var(--ga-muted); z-index: 1; }
.trk-search textarea { flex: 1; min-height: 38px; max-height: 176px; border: 0; border-radius: 3px; padding: 9px 12px 9px 36px; font-size: 14px; line-height: 20px;
    box-shadow: none; resize: none; font-family: Consolas, "Roboto Mono", "SF Mono", Menlo, monospace; letter-spacing: .02em; }
.trk-search textarea::placeholder { font-family: -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: 0; }
.trk-search .btn-gold { height: 38px; padding: 0 22px; font-size: 14px; flex: none; }
.trk-search .btn-gold[disabled] { opacity: .7; }
.trk-mast .hint { font-size: 11px; color: rgba(255, 255, 255, .6); margin-top: 6px; min-height: 16px; }
.trk-mast .hint .bad { color: #F7B0A9; }
.trk-recent { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-left: 4px; }
.trk-recent a { color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 0 8px; font-size: 11px; line-height: 18px;
    text-decoration: none; font-family: Consolas, "Roboto Mono", "SF Mono", Menlo, monospace; }
.trk-recent a:hover { color: #fff; border-color: var(--ga-gold); }
.trk-recent a.clear { border: 0; font-family: inherit; color: rgba(255, 255, 255, .55); }

/* ---- the account link (where the masthead numbers sit on the dashboard) */
.trk-acct { text-align: right; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 6px; }
.trk-acct .t { font-size: 12px; color: rgba(255, 255, 255, .7); }
.trk-acct .t2 { font-size: 11px; color: rgba(255, 255, 255, .55); max-width: 220px; }

/* ---- landing */
.trk-kinds .cg-panel { min-height: 150px; }
.trk-kinds h4 .fa { color: var(--ga-gold); margin-right: 4px; }
.trk-kinds p { font-size: 13px; color: var(--ga-muted); margin: 0 0 10px; }
.trk-kinds .ex { font-size: 13px; }
.trk-kinds .ex .lbl { margin-right: 6px; }
.trk-share-note { font-size: 13px; color: var(--ga-muted); margin: 2px 0 0; }
.trk-mast h2 > .fa { color: var(--ga-gold); font-size: 18px; margin-right: 4px; }
.trk-other { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.trk-other li { padding: 5px 0; border-bottom: 1px solid #F1F3F5; display: flex; justify-content: space-between; gap: 8px; }
.trk-other li:last-child { border-bottom: 0; }
.trk-other .fa { width: 16px; color: var(--ga-gold); }
.trk-share-note .fa { color: var(--ga-gold); margin-right: 4px; }

/* ---- results */
.trk-table td .cg-id { text-decoration: none; }
.trk-table .trk-chips { white-space: normal; max-width: 300px; }
.trk-table .trk-wrap-l2 { white-space: normal; max-width: none; }
.trk-table .trk-upd-cell { font-size: 12px; }
.trk-nf-row .cg-id { color: var(--ga-muted); }
.trk-nf .cg-empty b { display: block; color: var(--ga-text); font-size: 16px; margin-bottom: 6px; font-weight: 600; }
.trk-nf .cg-empty p { margin: 4px auto 0; max-width: 560px; }
.trk-nf .cg-empty .btn .fa { display: inline; font-size: inherit; color: inherit; margin: 0; }
.cg-docs .dl { color: var(--ga-muted); }
.cg-docs .dl:hover { color: var(--ga-navy); }
.trk-note { font-size: 12px; color: var(--ga-muted); margin: 8px 0 0; }
.trk-upd { font-size: 12px; color: var(--ga-muted); line-height: 1.6; margin: -4px 0 14px; }

@media (max-width: 767px) {
    .trk-mast .trk-q { flex-basis: 100%; }
    .trk-search .btn-gold { padding: 0 14px; }
    .trk-search textarea { font-size: 16px; }   /* no zoom on focus in iOS */
    .trk-acct { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; margin-top: 12px; text-align: left; }
    .trk-acct .t2 { display: none; }
    .trk-kinds .cg-panel { min-height: 0; }
}
