/* ═══ Sức khoẻ listing — phong cách Apple ═══ */
.li-page { --li-ink: #1d1d1f; --li-sub: #6e6e73; --li-faint: #86868b; --li-line: #ececf0; --li-card: #fff; --li-fill: #f5f5f7; --li-blue: #0071e3; --li-green: #1a7f37; --li-red: #d70015; --li-amber: #b25000;
  display: grid; gap: 18px; max-width: 1280px; margin: 0 auto; padding: 8px 4px 40px; color: var(--li-ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif; }
.li-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.li-eyebrow { color: var(--li-faint); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.li-head h2 { margin: 2px 0 2px; font-size: 32px; font-weight: 700; letter-spacing: -.035em; }
.li-head p { margin: 0; color: var(--li-sub); font-size: 14px; }
.li-head-actions { display: flex; align-items: center; gap: 10px; }
.li-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 10px; background: #e8e8ed; }
.li-seg button { min-width: 78px; height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--li-ink); font-size: 13px; font-weight: 500; cursor: pointer; }
.li-seg button.on { background: #fff; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.li-sync { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 16px; border: 0; border-radius: 980px; background: var(--li-blue); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.li-sync svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.li-sync:hover { background: #0077ed; }

.li-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.li-kpi { display: grid; gap: 4px; padding: 16px 18px; border-radius: 18px; background: var(--li-card); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .03); }
.li-kpi span { color: var(--li-sub); font-size: 13px; font-weight: 500; }
.li-kpi b { font-size: 28px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.li-kpi b em { color: var(--li-faint); font-size: 17px; font-style: normal; font-weight: 500; }
.li-kpi small { color: var(--li-faint); font-size: 12px; }
.li-kpi.pos b { color: var(--li-green); } .li-kpi.neg b { color: var(--li-red); }

.li-alerts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.li-alert { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 12px 16px; border: 0; border-radius: 16px; text-align: left; cursor: pointer; transition: transform .15s; }
.li-alert:hover { transform: translateY(-1px); }
.li-alert b { grid-row: span 2; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.li-alert span { font-size: 14px; font-weight: 600; } .li-alert small { font-size: 12px; opacity: .75; }
.li-alert.blue { background: #eef5ff; color: #0058b0; } .li-alert.amber { background: #fff6e8; color: var(--li-amber); } .li-alert.red { background: #fff0f1; color: var(--li-red); }

.li-toolbar { display: grid; gap: 12px; }
.li-tabs.listing-tabs { display: flex !important; gap: 6px !important; overflow-x: auto; scrollbar-width: none; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; }
.li-tabs.listing-tabs button { flex: 0 0 auto; height: 34px !important; padding: 0 14px !important; border: 0 !important; border-radius: 980px !important; background: #fff !important; color: var(--li-ink) !important; font-size: 13.5px !important; font-weight: 500 !important; box-shadow: 0 0 0 1px var(--li-line) inset !important; }
.li-tabs.listing-tabs button b { margin-left: 4px; padding: 1px 7px; border-radius: 980px; background: var(--li-fill); color: var(--li-sub); font-size: 12px; font-weight: 600; }
.li-tabs.listing-tabs button.selected { background: var(--li-ink) !important; color: #fff !important; box-shadow: none !important; }
.li-tabs.listing-tabs button.selected b { background: rgba(255, 255, 255, .18); color: #fff; }
.li-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.li-search { position: relative; flex: 1 1 260px; max-width: 420px; }
.li-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); fill: none; stroke: var(--li-faint); stroke-width: 2; stroke-linecap: round; }
.li-search input { width: 100%; height: 38px !important; padding: 0 12px 0 36px !important; border: 0 !important; border-radius: 11px !important; background: #e9e9ee !important; font-size: 14px !important; box-shadow: none !important; }
.li-search input:focus { outline: none; background: #fff !important; box-shadow: 0 0 0 3px rgba(0, 113, 227, .25) !important; }
.li-filters select { height: 38px !important; padding: 0 30px 0 12px !important; border: 0 !important; border-radius: 11px !important; background-color: #fff !important; box-shadow: 0 0 0 1px var(--li-line) inset !important; font-size: 14px !important; }
.li-clear { height: 38px; padding: 0 14px; border: 0; border-radius: 11px; background: transparent; color: var(--li-blue); font-size: 14px; font-weight: 500; cursor: pointer; }

.li-list { display: grid; border-radius: 18px; background: var(--li-card); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .03); overflow: hidden; }
.li-row + .li-row { border-top: 1px solid var(--li-line); }
.li-main { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 44px 18px; align-items: center; gap: 16px; padding: 14px 18px; cursor: pointer; transition: background-color .15s; }
.li-main:hover { background: #fafafc; } .li-main:focus-visible { outline: 3px solid rgba(0, 113, 227, .3); outline-offset: -3px; }
.li-row.open .li-main { background: #fafafc; }
.li-thumb { position: relative; }
.li-thumb .etsy-thumb { display: grid !important; place-items: center; width: 64px !important; height: 64px !important; border-radius: 14px !important; background: var(--li-fill) !important; color: #c7c7cc !important; font-size: 22px; overflow: hidden; }
.li-thumb .etsy-thumb img { width: 100%; height: 100%; object-fit: cover; }
.li-rank { position: absolute; top: -6px; left: -6px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 0 0 2px #fff; }
.li-rank.r1 { background: linear-gradient(180deg, #ffcc00, #ff9500); } .li-rank.r2 { background: linear-gradient(180deg, #c7c7cc, #8e8e93); } .li-rank.r3 { background: linear-gradient(180deg, #e3a76f, #b06a32); }
.li-info { min-width: 0; display: grid; gap: 5px; }
.li-info h4 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.li-info p { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: var(--li-sub); font-size: 12.5px; }
.li-info code { font: 500 12px ui-monospace, "SF Mono", Menlo, monospace; color: var(--li-sub); }
.li-shop { color: var(--li-blue); font-weight: 500; }
.li-nosku { color: var(--li-red); font-style: normal; font-weight: 600; }
.li-flags { display: flex; flex-wrap: wrap; gap: 5px; }
.li-flags span { padding: 2px 8px; border-radius: 980px; font-size: 11.5px; font-weight: 600; }
.li-flags .bad { background: #fff0f1; color: var(--li-red); } .li-flags .warn { background: #fff6e8; color: var(--li-amber); }
.li-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(78px, auto); gap: 18px; margin: 0; text-align: right; }
.li-stats dt { color: var(--li-faint); font-size: 11.5px; } .li-stats dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.li-stats .pos { color: var(--li-green); } .li-stats .neg { color: var(--li-red); } .li-stats .warn { color: var(--li-amber); } .li-stats .muted { color: #c7c7cc; }
.li-ring { position: relative; display: grid; place-items: center; width: 44px; height: 44px; }
.li-ring svg { position: absolute; inset: 0; transform: rotate(-90deg); fill: none; stroke-width: 3.5; stroke-linecap: round; }
.li-ring circle { stroke: #ececf0; } .li-ring circle.v { transition: stroke-dashoffset .6s; }
.li-ring.good circle.v { stroke: #34c759; } .li-ring.mid circle.v { stroke: #ff9f0a; } .li-ring.low circle.v { stroke: #ff3b30; }
.li-ring b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.li-chev { width: 18px; height: 18px; fill: none; stroke: #c7c7cc; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.li-row.open .li-chev { transform: rotate(90deg); }

.li-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 4px 18px 18px 98px; background: #fafafc; animation: liIn .22s ease-out; }
@keyframes liIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.li-card { padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.li-card.li-wide { grid-column: span 1; }
.li-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.li-card header b { font-size: 14px; font-weight: 600; } .li-card header small { color: var(--li-faint); font-size: 12px; }
.li-card header a { color: var(--li-blue); font-size: 13px; font-weight: 500; text-decoration: none; }
.li-bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 3px; height: 70px; }
.li-bars i { height: max(3px, var(--h, 0%)); border-radius: 3px; background: #e5e5ea; }
.li-bars i.on { background: linear-gradient(180deg, #2997ff, #0071e3); }
.li-var { display: grid; grid-template-columns: minmax(0, 1fr) 90px 28px; align-items: center; gap: 10px; padding: 4px 0; font-size: 13px; }
.li-var span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-var i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #0071e3 var(--w, 0%), #ececf0 var(--w, 0%)); }
.li-var b { text-align: right; font-variant-numeric: tabular-nums; }
.li-recent, .li-tips { list-style: none; margin: 0; padding: 0; }
.li-recent li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 7px 0; }
.li-recent li + li { border-top: 1px solid #f2f2f5; }
.li-recent span { display: grid; min-width: 0; } .li-recent span b { font-size: 13px; } .li-recent small { color: var(--li-faint); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-recent em { min-width: 64px; font-style: normal; font-size: 13px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.li-recent em.pos { color: var(--li-green); } .li-recent em.neg { color: var(--li-red); } .li-recent em.muted { color: var(--li-faint); font-weight: 500; font-size: 12px; }
.li-tips li { position: relative; padding: 6px 0 6px 18px; font-size: 13px; line-height: 1.4; }
.li-tips li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: #c7c7cc; }
.li-tips li.bad::before { background: #ff3b30; } .li-tips li.warn::before { background: #ff9f0a; }
.li-empty { margin: 0; color: var(--li-faint); font-size: 13px; }
.li-none { display: grid; gap: 4px; padding: 48px 20px; text-align: center; } .li-none span { color: var(--li-faint); font-size: 14px; }
.li-pages { padding: 0 4px !important; border: 0 !important; background: none !important; }

/* Tối */
html[data-theme=dark] .li-page { --li-ink: #f5f5f7; --li-sub: #a1a1a6; --li-line: #2c2c2e; --li-card: #1c1c1e; --li-fill: #2c2c2e; }

@media (max-width: 1100px) { .li-stats { grid-auto-columns: minmax(64px, auto); gap: 12px; } .li-detail { padding-left: 18px; } }
@media (max-width: 760px) {
  .li-head h2 { font-size: 26px; }
  .li-head-actions { width: 100%; } .li-seg { flex: 1; }
  .li-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .li-kpi { padding: 12px 14px; } .li-kpi b { font-size: 22px; }
  .li-alerts { display: flex; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .li-alert { flex: 0 0 auto; min-width: 190px; padding: 10px 14px; }
  .li-alert b { font-size: 22px; }
  .li-filters select { flex: 1 1 140px; min-width: 0; }
  .li-kpi:last-child:nth-child(odd) { grid-column: span 2; }
  .li-main { grid-template-columns: 56px minmax(0, 1fr) 40px; grid-template-areas: "t i r" "s s s"; gap: 10px 12px; padding: 12px 14px; }
  .li-thumb { grid-area: t; } .li-info { grid-area: i; } .li-ring { grid-area: r; } .li-chev { display: none; }
  .li-thumb .etsy-thumb { width: 56px !important; height: 56px !important; }
  .li-stats { grid-area: s; grid-auto-flow: unset; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 8px 10px; border-radius: 12px; background: var(--li-fill); text-align: left; }
  .li-detail { grid-template-columns: 1fr; padding: 4px 12px 14px; }
  .li-search { max-width: none; }
}

/* ── 2 vòng điểm: Nội dung + Vận hành ── */
.li-main { grid-template-columns: 64px minmax(0, 1fr) auto auto 18px; }
.li-rings { display: flex; gap: 10px; }
.li-ring { width: 46px; height: auto; display: grid; justify-items: center; gap: 3px; }
.li-ring svg { position: static; width: 44px; height: 44px; grid-area: 1 / 1; }
.li-ring b { grid-area: 1 / 1; align-self: center; }
.li-ring small { color: var(--li-faint, #86868b); font-size: 10px; font-weight: 500; white-space: nowrap; }
.li-banner { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(180deg, #f2f7ff, #eaf2fe); color: #0b3d75; }
.li-banner svg { width: 22px; height: 22px; fill: none; stroke: #0071e3; stroke-width: 2; stroke-linecap: round; }
.li-banner b { display: block; font-size: 14px; font-weight: 600; } .li-banner span { display: block; margin-top: 2px; font-size: 12.5px; color: #3a5f8a; line-height: 1.4; }
.li-banner button { height: 34px; padding: 0 16px; border: 0; border-radius: 980px; background: #0071e3; color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.li-card.li-full { grid-column: 1 / -1; }
.li-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 20px; }
.li-checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid #f2f2f5; }
.li-checks li:nth-child(-n+2) { border-top: 0; }
.li-checks i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-style: normal; font-size: 11.5px; font-weight: 800; color: #fff; background: #34c759; }
.li-checks li.warn i { background: #ff9f0a; } .li-checks li.bad i { background: #ff3b30; } .li-checks li.na i { background: #d1d1d6; }
.li-checks span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; min-width: 0; }
.li-checks b { font-size: 13px; font-weight: 600; } .li-checks em { font-style: normal; font-size: 13px; color: var(--li-sub, #6e6e73); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.li-checks small { grid-column: 1 / -1; margin-top: 2px; color: var(--li-sub, #6e6e73); font-size: 12px; line-height: 1.4; }
.li-checks li.na em { color: #aeaeb2; }
.li-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f2f2f5; }
.li-tags span { padding: 3px 10px; border-radius: 980px; background: #f2f2f5; font-size: 12px; color: #3a3a3c; }
html[data-theme=dark] .li-banner { background: #10233a; color: #cfe3ff; } html[data-theme=dark] .li-banner span { color: #9dbbe0; }
@media (max-width: 760px) {
  .li-main { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "t i" "r r" "s s"; }
  .li-rings { grid-area: r; justify-content: flex-start; }
  .li-ring { grid-area: auto; }
  .li-checks { grid-template-columns: 1fr; } .li-checks li:nth-child(2) { border-top: 1px solid #f2f2f5; }
  .li-banner { grid-template-columns: 22px minmax(0, 1fr); } .li-banner button { grid-column: 1 / -1; }
}

/* ═══ Template sản phẩm ═══ */
.li-views { justify-self: start; }
.li-views button { min-width: 140px; }
.tp-kinds { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tp-kinds button { flex: 0 0 auto!important; height: 32px!important; padding: 0 12px!important; border: 0!important; border-radius: 980px!important; background: #fff!important; box-shadow: inset 0 0 0 1px #ececf0!important; color: #1d1d1f!important; font-size: 13px!important; font-weight: 500!important; cursor: pointer!important!important; }
.tp-kinds button.on { background: #eaf2fe!important; box-shadow: inset 0 0 0 1px #0071e3!important; color: #0071e3!important!important; }
.tp-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(320px, 440px); align-items: center; gap: 16px; padding: 14px 18px; }
.tp-row + .tp-row { border-top: 1px solid #ececf0; }
.tp-thumb { width: 56px; height: 56px; border-radius: 12px; background: #f5f5f7; overflow: hidden; display: grid; place-items: center; color: #c7c7cc; }
.tp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tp-info { min-width: 0; display: grid; gap: 3px; }
.tp-name { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tp-name b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-kind { flex: 0 0 auto; padding: 2px 9px; border-radius: 980px; background: #f2f2f5; color: #3a3a3c; font-size: 11.5px; font-weight: 600; }
.tp-kind.k-ORN { background: #fff1e6; color: #b25000; } .tp-kind.k-STK { background: #ffecee; color: #c4122f; } .tp-kind.k-GAR { background: #e9f8ee; color: #1a7f37; }
.tp-kind.k-SWT, .tp-kind.k-HOD, .tp-kind.k-TEE, .tp-kind.k-BTE { background: #eef0ff; color: #3634a3; } .tp-kind.k-WCH { background: #e6f6fb; color: #00708a; }
.tp-info small { color: #86868b; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-info p { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; color: #6e6e73; font-size: 12px; }
.tp-info p .warn { color: #d70015; font-weight: 600; } .tp-info p .ok { color: #1a7f37; font-weight: 500; }
.tp-form { display: flex; gap: 6px; align-items: center; }
.tp-form input { flex: 1; min-width: 0; height: 38px !important; padding: 0 12px !important; border: 0 !important; border-radius: 11px !important; background: #f2f2f5 !important; font-size: 14px !important; box-shadow: none !important; }
.tp-form input:focus { outline: none; background: #fff !important; box-shadow: 0 0 0 3px rgba(0, 113, 227, .25) !important; }
.tp-row.has .tp-form input { background: #eef8f1 !important; color: #1a7f37; }
.tp-save { height: 38px!important; padding: 0 16px!important; border: 0!important; border-radius: 980px!important; background: #0071e3!important; color: #fff!important; font-size: 13.5px!important; font-weight: 600!important; cursor: pointer!important; white-space: nowrap!important!important; }
.tp-save:disabled { opacity: .5; }
.tp-row.has .tp-save { background: #e8e8ed!important; color: #1d1d1f!important!important; }
.tp-open { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f2f2f5; color: #0071e3; font-weight: 700; text-decoration: none; }
.tp-del { height: 38px!important; padding: 0 10px!important; border: 0!important; background: none!important; color: #d70015!important; font-size: 13px!important; font-weight: 500!important; cursor: pointer!important!important; }
@media (max-width: 900px) {
  .tp-row { grid-template-columns: 52px minmax(0, 1fr); }
  .tp-form { grid-column: 1 / -1; }
  .li-views { width: 100%; } .li-views button { min-width: 0; }
}
.tp-plat { padding: 0 7px; border-radius: 980px; background: #f2f2f5; color: #3a3a3c; font-weight: 600; }

/* ═══ Template sản phẩm: ô dán link nhận diện, gợi ý, khối ═══ */
.tp-lookup { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 6px 6px 16px; border-radius: 16px; background: var(--li-card, #fff); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 6px 20px rgba(0,0,0,.04); }
.tp-lookup > svg { flex: none; width: 20px; height: 20px; fill: none; stroke: #0071e3; stroke-width: 1.8; stroke-linecap: round; }
.tp-lookup input { flex: 1; min-width: 0; height: 40px !important; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 14.5px !important; }
.tp-lookup input:focus { outline: none; }
.tp-lookup button[type=submit] { height: 38px !important; padding: 0 18px !important; border: 0 !important; border-radius: 12px !important; background: #0071e3 !important; color: #fff !important; font-weight: 600 !important; }
.tp-lookup-clear { width: 30px !important; height: 30px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: #f2f2f7 !important; color: #6e6e73 !important; }
.tp-found { display: grid; gap: 12px; margin: -6px 0 16px; padding: 16px; border-radius: 16px; background: var(--li-card, #fff); box-shadow: inset 0 0 0 1px #e5e5ea; }
.tp-found.ok { box-shadow: inset 0 0 0 1px #b8e6c6; background: #f4fbf6; }
.tp-found.err { color: #b42318; font-size: 13px; box-shadow: inset 0 0 0 1px #fecaca; background: #fff5f5; }
.tp-found-main { display: flex; gap: 14px; align-items: flex-start; }
.tp-found-main > div:last-child { display: grid; gap: 4px; min-width: 0; }
.tp-found small { color: #86868b; font-size: 12.5px; }
.tp-found-ok { margin: 2px 0 0; color: #1a7f37; font-size: 13px; } .tp-found-ok a { color: #0071e3; font-weight: 600; }
.tp-found-hint { margin: 2px 0 0; color: #6e6e73; font-size: 13px; }
.tp-found-list { display: grid; gap: 6px; }
.tp-found-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; background: #f5f5f7; }
.tp-found-item > span { flex: 1; min-width: 0; display: grid; } .tp-found-item b { font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tp-found-item small { font-size: 12px; }
.tp-thumb.sm { width: 36px !important; height: 36px !important; border-radius: 9px !important; }
.tp-suggest { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; color: #6e6e73; font-size: 12.5px; }
.tp-suggest em { font-style: normal; color: #1d1d1f; font-weight: 500; } .tp-suggest b { color: #1d1d1f; }
.tp-suggest.sure b { color: #1a7f37; }
.tp-use { height: 28px !important; min-height: 0 !important; padding: 0 12px !important; border: 1px solid #0071e3 !important; border-radius: 980px !important; background: #fff !important; color: #0071e3 !important; font-size: 12.5px !important; font-weight: 600 !important; }
.tp-use:hover { background: #eaf2fe !important; }
.tp-bulk { height: 34px !important; padding: 0 14px !important; border: 0 !important; border-radius: 980px !important; background: #1d1d1f !important; color: #fff !important; font-size: 13px !important; font-weight: 600 !important; }
.tp-bulk:disabled { opacity: .5; }
.tp-section { display: flex; align-items: baseline; gap: 10px; padding: 14px 20px 6px; background: var(--li-fill, #f5f5f7); border-top: 1px solid #ececf0; }
.tp-section:first-child { border-top: 0; border-radius: 18px 18px 0 0; }
.tp-section h4 { display: flex; align-items: center; gap: 8px; margin: 0; color: #1d1d1f; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.tp-section h4 span { padding: 1px 8px; border-radius: 980px; background: #e5e5ea; color: #3a3a3c; font-size: 11.5px; letter-spacing: 0; }
.tp-section small { color: #86868b; font-size: 12px; }
@media (max-width: 760px) { .tp-lookup { padding-left: 12px; } .tp-lookup button[type=submit] { padding: 0 12px !important; } .tp-section { padding: 12px 14px 6px; } }
