/* 핏파츠 · 자동차 부품몰 시연 (parts) */
:root {
  --bg: #F5F5F2;
  --surface: #FFFFFF;
  --line: #DEDFDB;
  --text: #15171A;
  --muted: #6B7078;
  --primary: #15171A;
  --accent: #FFC400;
  --ok: #1E9E5A;
  --warn: #B26A00;
  --danger: #D93025;
  --plate: #0B3A8C;

  --ok-ink: #146B3E;
  --ok-bg: #E5F3EB;
  --danger-ink: #B3261E;
  --danger-bg: #FBEAE8;
  --tint: #FFF4CC;
  --tint-ink: #6B5200;
  --soft: #EEEEEA;
  --asphalt-2: #23262B;
  --asphalt-line: #3A3E45;
  --on-dark: #C9CCD1;

  --r: 6px;
  --f-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --f-num: "Barlow Condensed", "Pretendard Variable", Pretendard, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.pt {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
:where(.pt) :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; }
:where(.pt) :where(ul, ol) { padding: 0; list-style: none; }
:where(.pt) a { color: inherit; }
:where(.pt) :where(button, input, select) { font: inherit; color: inherit; }
:where(.pt) button { cursor: pointer; }
:where(.pt) svg { display: block; }
.pt :focus-visible { outline: 3px solid var(--plate); outline-offset: 2px; }
.pt-finder :focus-visible, .pt-carbar :focus-visible, .pt-ahead :focus-visible, .pt-util :focus-visible { outline-color: var(--accent); }
.pt [hidden] { display: none !important; }
.pt-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-num { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.pt-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pt-muted { color: var(--muted); font-size: 13px; }
.pt-eyebrow { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.pt-h1 { font-size: 24px; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
.pt-h2 { font-size: 24px; line-height: 1.35; font-weight: 800; letter-spacing: -.01em; }
.pt-h3 { font-size: 18px; line-height: 1.4; font-weight: 800; }

/* 버튼 */
.pt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: var(--r);
  border: 2px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.pt-btn--accent { background: var(--accent); color: var(--text); border-color: var(--accent); }
.pt-btn--accent:hover { background: #FFD233; }
.pt-btn--dark { background: var(--primary); color: #fff; border-color: var(--primary); }
.pt-btn--dark:hover { background: #2B2F35; }
.pt-btn--ghost { background: transparent; color: #fff; border-color: var(--asphalt-line); }
.pt-btn--ghost:hover { border-color: #6A6F77; }
.pt-btn--ghost-dark { background: var(--surface); color: var(--text); border-color: var(--text); }
.pt-btn--ghost-dark:hover { background: var(--soft); }
.pt-btn--lg { min-height: 52px; font-size: 16px; padding: 0 22px; }
.pt-btn--block { width: 100%; }
.pt-btn:disabled { opacity: .45; cursor: not-allowed; }
.pt-linkbtn { background: none; border: 0; padding: 0 2px; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pt-linkbtn:hover { color: var(--text); }
.pt-iconbtn { width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.pt-iconbtn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.pt-chipbtn {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; margin: 0 2px;
  border-radius: var(--r); border: 1px solid var(--asphalt-line); background: var(--asphalt-2); color: #fff;
  font-family: var(--f-num); font-size: 16px; font-weight: 600; letter-spacing: .03em;
}
.pt-chipbtn:hover { border-color: var(--accent); }
.pt-chipbtn--light { background: var(--surface); color: var(--text); border-color: var(--line); }
.pt-chipbtn--light:hover { border-color: var(--text); }
.pt-tag { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 4px; background: var(--soft); color: #4B5058; font-size: 13px; font-weight: 600; }
.pt-tag--mock { background: var(--tint); color: var(--tint-ink); box-shadow: inset 0 0 0 1px #E2B100; }
.pt-tag--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.pt-self { display: inline-block; padding: 1px 6px; border-radius: 4px; background: var(--accent); color: var(--text); font-family: var(--f-body); font-size: 12px; font-weight: 700; vertical-align: 1px; }

/* 상단 띠 · 헤더 */
.pt-util { background: var(--primary); color: var(--on-dark); font-size: 13px; }
.pt-util__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.pt-util__r { display: flex; align-items: center; gap: 14px; }
.pt-util a { color: #fff; text-decoration: none; font-weight: 600; }
.pt-util a:hover { text-decoration: underline; }
.pt-reset {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px;
  border-radius: var(--r); border: 1px solid var(--asphalt-line); background: transparent; color: #fff; font-size: 13px; font-weight: 600;
}
.pt-reset:hover { border-color: var(--accent); }
.pt-reset svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.pt-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.pt-head__in { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.pt-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.pt-logo__mark svg { width: 34px; height: 34px; }
.pt-logo__word { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.pt-nav { display: flex; align-self: stretch; gap: 4px; }
.pt-nav a { display: flex; align-items: center; padding: 0 12px; font-weight: 700; text-decoration: none; color: #3E434A; box-shadow: inset 0 -3px 0 transparent; }
.pt-nav a:hover { color: var(--text); }
.pt-nav a.is-on { color: var(--text); box-shadow: inset 0 -3px 0 var(--accent); }
.pt-garage { margin-left: auto; }
.pt-garage svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pt-garage__empty {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1.5px dashed #A3A7AD; border-radius: var(--r); text-decoration: none; font-weight: 700; color: #3E434A;
}
.pt-garage__empty:hover { border-color: var(--text); color: var(--text); }
.pt-garage__chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 12px;
  border-radius: var(--r); background: var(--primary); color: #fff;
}
.pt-garage__chip svg { color: var(--accent); }
.pt-garage__chip a { text-decoration: none; font-size: 14px; }
.pt-garage__chip b { font-weight: 800; }
.pt-garage__chip button { width: 36px; height: 36px; border: 0; border-radius: 4px; background: transparent; color: #fff; display: grid; place-items: center; }
.pt-garage__chip button:hover { background: var(--asphalt-2); }
.pt-garage__chip button svg { width: 16px; height: 16px; stroke-width: 2.2; color: #fff; }
.pt-cart { position: relative; width: 44px; height: 44px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; }
.pt-cart svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.pt-cart__n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); font-size: 14px; font-weight: 700; display: grid; place-items: center; }

/* 메인 차량 검색 */
.pt-finder { background: var(--primary); color: #fff; padding: 44px 0 40px; position: relative; }
.pt-hazard { position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, var(--primary) 14px 28px); }
.pt-finder__top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.pt-finder__title { font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -.03em; }
.pt-finder__sub { color: var(--on-dark); font-size: 15px; }
.pt-finder__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: end; }
.pt-finder__main { min-width: 0; }
.pt-howto { border-left: 1px solid var(--asphalt-line); padding: 4px 0 6px 28px; }
.pt-howto__title { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.pt-howto ol { display: grid; gap: 14px; counter-reset: how; }
.pt-howto li { display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; counter-increment: how; }
.pt-howto li::before { content: counter(how); grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--asphalt-line); display: grid; place-items: center; font-family: var(--f-num); font-size: 17px; font-weight: 700; color: #fff; }
.pt-howto b { font-size: 16px; }
.pt-howto span { font-size: 13px; color: var(--on-dark); }
.pt-tabs { display: flex; gap: 4px; margin-top: 24px; border-bottom: 1px solid var(--asphalt-line); overflow-x: auto; scrollbar-width: none; }
.pt-tabs button {
  flex: none; min-height: 48px; padding: 0 18px; border: 0; background: none; color: #A9ADB4;
  font-size: 16px; font-weight: 700; box-shadow: inset 0 -3px 0 transparent;
}
.pt-tabs button:hover { color: #fff; }
.pt-tabs button[aria-selected="true"] { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }
.pt-pane { padding-top: 28px; }

.pt-plate-row { display: flex; align-items: stretch; gap: 16px; }
.pt-plate {
  flex: 0 1 520px; aspect-ratio: 520 / 110; container-type: inline-size;
  display: flex; align-items: stretch; overflow: hidden;
  background: #fff; border: 5px solid var(--primary); border-radius: 9px;
  box-shadow: 0 0 0 4px #fff, 0 14px 34px rgba(0, 0, 0, .45);
  margin: 4px;
}
.pt-plate:focus-within { box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--accent), 0 14px 34px rgba(0, 0, 0, .45); }
.pt-plate__band {
  flex: 0 0 10.5%; background: var(--plate); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4%;
}
.pt-plate__band svg { width: 46%; height: auto; }
.pt-plate__band b { font-family: var(--f-num); font-size: max(10px, 3.3cqw); font-weight: 700; letter-spacing: .06em; line-height: 1; }
.pt-plate__input {
  flex: 1; min-width: 0; border: 0; background: transparent; text-align: center; color: var(--text);
  font-family: var(--f-num); font-weight: 700; font-size: 13.6cqw; letter-spacing: .05em; line-height: 1;
  padding: 0 3% 0 1%; caret-color: var(--plate);
}
.pt-plate__input::placeholder { color: #B9BCC1; }
.pt-plate__input:focus { outline: none; }
.pt-btn--xl { min-width: 148px; font-size: 24px; font-weight: 800; margin: 4px 0; border-radius: 8px; }
.pt-finder__hint { margin-top: 18px; color: var(--on-dark); font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pt-finder__error { margin-top: 16px; padding: 10px 14px; border-radius: var(--r); background: #3A1D1B; color: #FFC2B8; font-weight: 600; border-left: 4px solid var(--danger); }

.pt-vin-row { display: flex; gap: 12px; align-items: stretch; max-width: 760px; }
.pt-vin { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; background: #fff; color: var(--text); border-radius: 8px; padding: 10px 16px; border: 4px solid #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.pt-vin__label { grid-column: 1 / -1; font-size: 13px; font-weight: 700; color: var(--muted); }
.pt-vin input { border: 0; min-height: 40px; font-family: var(--f-num); font-size: 28px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; min-width: 0; background: transparent; }
.pt-vin input::placeholder { font-family: var(--f-body); font-size: 15px; letter-spacing: 0; font-weight: 500; color: #9A9EA5; }
.pt-vin input:focus { outline: none; }
.pt-vin:focus-within { box-shadow: inset 0 0 0 2px var(--primary), 0 0 0 4px var(--accent); }
.pt-vin__count { font-size: 18px; color: var(--muted); }

.pt-drill { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 10px; align-items: end; }
.pt-drill__step { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 8px; }
.pt-drill__no { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--text); display: grid; place-items: center; font-size: 16px; font-weight: 700; }
.pt-drill__label { font-size: 14px; font-weight: 700; }
.pt-drill__step select {
  grid-column: 1 / -1; width: 100%; min-height: 52px; padding: 0 40px 0 14px; border-radius: var(--r);
  border: 2px solid #fff; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%2315171A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
  color: var(--text); font-size: 16px; font-weight: 600; appearance: none;
}
.pt-drill__step.is-locked .pt-drill__no { background: var(--asphalt-line); color: #A9ADB4; }
.pt-drill__step.is-locked .pt-drill__label { color: #8D9198; }
.pt-drill__step.is-locked select { background-color: var(--asphalt-2); border-color: var(--asphalt-line); color: #8D9198; cursor: not-allowed; background-image: none; }
.pt-drill__go { min-height: 52px; }

.pt-loading { margin-top: 24px; }
.pt-loading ol { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.pt-loading li { display: flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 600; }
.pt-loading li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--asphalt-line); }
.pt-loading li.is-done { color: #fff; }
.pt-loading li.is-done::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%2315171A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.pt-loading li.is-skip::before { border-style: dashed; border-color: var(--accent); }

.pt-result {
  margin-top: 28px; background: var(--surface); color: var(--text); border-radius: 8px;
  display: grid; grid-template-columns: 220px 1fr 300px; gap: 28px; align-items: center;
  padding: 24px 28px; border-left: 8px solid var(--accent);
}
.pt-result__art .pt-carsvg { width: 100%; height: auto; }
.pt-result__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pt-result__name { margin-top: 8px; font-size: 24px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; }
.pt-result__plate { margin-top: 2px; color: var(--muted); font-size: 15px; }
.pt-specs { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 16px; }
.pt-specs dt { font-size: 13px; color: var(--muted); }
.pt-specs dd { font-weight: 700; }
.pt-result__cta { display: grid; gap: 8px; }
.pt-result__cta .pt-btn--ghost { color: var(--text); border-color: var(--line); }
.pt-result__cta .pt-btn--ghost:hover { border-color: var(--text); }
.pt-result__cta b { font-size: 22px; font-weight: 700; }

/* 섹션 */
.pt-sec { margin-top: 56px; }
.pt-sec__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.pt-sec__head h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.pt-sec__note { color: var(--muted); }
.pt-sec__note b { color: var(--text); font-size: 20px; font-weight: 700; }
.pt-more { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.pt-more::after { content: "→"; margin-left: 6px; }

.pt-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.pt-cat {
  display: grid; gap: 6px; padding: 14px; height: 100%; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); text-decoration: none;
}
.pt-cat:hover { border-color: var(--text); }
.pt-cat__img { aspect-ratio: 4 / 3; background: var(--soft); border-radius: 4px; display: grid; place-items: center; }
.pt-cat__img .pt-art { width: 72%; height: auto; }
.pt-cat__name { font-weight: 800; margin-top: 4px; }
.pt-cat__count { display: flex; align-items: baseline; gap: 3px; color: var(--muted); font-size: 13px; }
.pt-cat__count b { font-size: 24px; font-weight: 700; color: var(--text); }

.pt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pt-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pt-card:hover { border-color: #A3A7AD; }
.pt-card__link { text-decoration: none; display: flex; flex-direction: column; flex: 1; }
.pt-card__img { aspect-ratio: 4 / 3; background: var(--soft); display: grid; place-items: center; }
.pt-card__img .pt-art { width: 66%; height: auto; }
.pt-card__body { padding: 12px 14px 4px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pt-card__meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.pt-type { font-family: var(--f-num); font-size: 13px; font-weight: 700; letter-spacing: .04em; padding: 0 6px; border-radius: 3px; line-height: 20px; }
.pt-type--oes { background: var(--primary); color: var(--accent); }
.pt-type--am { box-shadow: inset 0 0 0 1px var(--line); color: #4B5058; font-family: var(--f-body); font-size: 12px; letter-spacing: 0; }
.pt-card__name { font-size: 15px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; margin-top: 2px; }
.pt-card__pn { font-size: 16px; color: #4B5058; letter-spacing: .05em; }
.pt-card__price { font-size: 24px; font-weight: 700; margin-top: auto; padding-top: 4px; }

.pt-badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; margin: 6px 14px 14px; padding: 4px 9px 4px 7px; border-radius: 4px; font-size: 13px; font-weight: 700; }
.pt-badge__ic { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; line-height: 1; color: #fff; }
.pt-badge--yes { background: var(--ok-bg); color: var(--ok-ink); }
.pt-badge--yes .pt-badge__ic { background: var(--ok); }
.pt-badge--yes .pt-badge__ic::before { content: "✓"; }
.pt-badge--no { background: var(--danger-bg); color: var(--danger-ink); }
.pt-badge--no .pt-badge__ic { background: var(--danger); }
.pt-badge--no .pt-badge__ic::before { content: "✕"; font-size: 9px; }
.pt-badge--none { background: var(--soft); color: #50555D; }
.pt-badge--none .pt-badge__ic { border: 1.5px dashed #8D9198; }

.pt-promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pt-promise > div { border-top: 3px solid var(--text); padding-top: 14px; }
.pt-promise h3 { font-size: 18px; font-weight: 800; }
.pt-promise p { color: var(--muted); margin-top: 4px; }

.pt-footer { margin-top: 72px; border-top: 1px solid var(--line); background: var(--surface); }
.pt-footer__in { padding: 28px 24px; display: grid; gap: 6px; font-size: 14px; }
.pt-footer__brand { display: flex; align-items: center; gap: 10px; }
.pt-footer__brand .pt-logo__mark svg { width: 26px; height: 26px; }
.pt-footer__brand .pt-logo__word { font-size: 17px; }
.pt-footer__muted { color: var(--muted); font-size: 13px; }

.demo-notice { padding: 14px 16px 84px; text-align: center; font-size: 12px; color: var(--muted); background: var(--bg); }
.pt--admin .demo-notice { background: transparent; }

/* 공고 대응표 · 모달 */
.pt-mapbtn {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: var(--r); border: 2px solid var(--accent); background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 700; box-shadow: 0 8px 24px rgba(21, 23, 26, .28);
}
.pt-mapbtn svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.pt-sheet {
  margin: 0 0 0 auto; width: min(460px, 100%); height: 100%; max-height: 100%; max-width: 100%;
  border: 0; padding: 0; background: var(--surface); color: var(--text); box-shadow: -12px 0 40px rgba(0, 0, 0, .2);
}
.pt-sheet::backdrop, .pt-modal::backdrop { background: rgba(21, 23, 26, .55); }
.pt-sheet__in { padding: 24px; display: flex; flex-direction: column; min-height: 100%; }
.pt-sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 2px solid var(--text); }
.pt-sheet__head h2 { font-size: 24px; font-weight: 800; }
.pt-sheet__list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.pt-sheet__no { font-size: 20px; font-weight: 700; color: var(--muted); }
.pt-sheet__need { font-weight: 700; line-height: 1.45; }
.pt-sheet__show { color: var(--muted); font-size: 13px; margin-top: 2px; }
.pt-sheet__go { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r); background: var(--soft); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pt-sheet__go:hover { background: var(--accent); }
.pt-sheet__foot { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--muted); }
.pt-modal { width: min(380px, calc(100% - 32px)); border: 0; border-radius: 8px; padding: 0; background: var(--surface); color: var(--text); }
.pt-modal__in { padding: 24px; display: grid; gap: 10px; border-top: 6px solid var(--accent); }
.pt-modal__title { font-size: 18px; font-weight: 800; }
.pt-modal__body { color: var(--muted); }
.pt-modal .pt-btn { justify-self: end; margin-top: 6px; }

/* 부품 목록 */
.pt-carbar { background: var(--primary); color: #fff; }
.pt-carbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; padding-top: 12px; padding-bottom: 12px; }
.pt-carbar__car { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pt-carbar__ic { flex: none; width: 44px; height: 44px; border-radius: var(--r); background: var(--accent); display: grid; place-items: center; }
.pt-carbar__ic svg { width: 24px; height: 24px; fill: none; stroke: var(--text); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pt-carbar__label { font-size: 13px; color: #A9ADB4; font-weight: 600; }
.pt-carbar__name { font-size: 18px; font-weight: 800; line-height: 1.35; }
.pt-carbar__change { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 700; color: var(--accent) !important; text-underline-offset: 4px; }

.pt-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; font-weight: 700; }
.pt-switch__track { width: 46px; height: 28px; border-radius: 14px; background: #4A4F57; position: relative; flex: none; transition: background .15s; }
.pt-switch__dot { position: absolute; top: 4px; left: 4px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.pt-switch[aria-checked="true"] .pt-switch__track { background: var(--accent); }
.pt-switch[aria-checked="true"] .pt-switch__dot { transform: translateX(18px); background: var(--primary); }
.pt-switch:disabled { opacity: .45; cursor: not-allowed; }
.pt-switch--sm { font-size: 14px; color: var(--text); margin-left: auto; }
.pt-switch--sm .pt-switch__track { background: #C4C6C1; }

.pt-list { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; margin-top: 28px; }
.pt-filter { position: sticky; top: 92px; align-self: start; }
.pt-filter__title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.pt-filter ul { display: grid; gap: 2px; }
.pt-filter__btn {
  width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 0 12px; border: 0; border-radius: var(--r); background: transparent; font-weight: 700; text-align: left;
}
.pt-filter__btn:hover { background: var(--soft); }
.pt-filter__btn[aria-pressed="true"] { background: var(--primary); color: #fff; }
.pt-filter__btn span { font-size: 16px; font-weight: 600; color: var(--muted); }
.pt-filter__btn[aria-pressed="true"] span { color: var(--accent); }

.pt-search { display: flex; gap: 8px; }
.pt-search__box { flex: 1; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border: 2px solid var(--text); border-radius: var(--r); background: var(--surface); }
.pt-search__box svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--text); stroke-width: 2; stroke-linecap: round; }
.pt-search__box input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; min-height: 44px; }
.pt-search__box input:focus { outline: none; }
.pt-search__box:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.pt-search .pt-btn { min-height: 52px; }
.pt-search__chips { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.pt-search__box--sm { min-height: 44px; border-width: 1.5px; }

.pt-list__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 0 12px; }
.pt-list__meta b { font-size: 20px; font-weight: 700; }
.pt-list__sort { font-size: 13px; color: var(--muted); white-space: nowrap; }
.pt-empty { padding: 40px 16px; text-align: center; color: var(--muted); border: 1.5px dashed var(--line); border-radius: var(--r); }

.pt-bundle { border: 2px solid var(--text); border-radius: var(--r); background: var(--surface); padding: 20px; margin-bottom: 20px; }
.pt-bundle__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.pt-bundle__eyebrow { font-size: 13px; font-weight: 700; color: var(--muted); }
.pt-bundle__title { font-size: 20px; font-weight: 800; }
.pt-bundle__title .pt-num { font-size: 24px; background: var(--accent); padding: 0 6px; border-radius: 3px; }
.pt-bundle__note { color: var(--muted); font-size: 13px; }
.pt-bundle__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pt-bundle__item { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 0 0; display: flex; flex-direction: column; position: relative; }
.pt-bundle__item.is-oem { border: 2px solid var(--accent); background: #FFFBEB; }
.pt-bundle__item .pt-role { margin: 0 12px; align-self: flex-start; }
.pt-bundle__link { display: grid; gap: 2px; padding: 8px 12px 0; text-decoration: none; flex: 1; }
.pt-bundle__img { aspect-ratio: 16 / 9; background: var(--soft); border-radius: 4px; display: grid; place-items: center; margin-bottom: 6px; }
.pt-bundle__item.is-oem .pt-bundle__img { background: #F7EBC0; }
.pt-bundle__img .pt-art { width: 46%; height: auto; }
.pt-bundle__pn { font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.pt-bundle__name { font-size: 14px; font-weight: 600; line-height: 1.4; }
.pt-bundle__price { font-size: 20px; font-weight: 700; }
.pt-bundle__item .pt-badge { margin: 8px 12px 12px; }
.pt-role { display: inline-block; padding: 2px 7px; border-radius: 4px; font-size: 12px; font-weight: 800; box-shadow: inset 0 0 0 1.5px var(--text); white-space: nowrap; }
.pt-role--oem { background: var(--accent); box-shadow: none; }

.pt-pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; flex-wrap: wrap; }
.pt-pager button { min-width: 44px; height: 44px; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font-size: 18px; font-weight: 600; }
.pt-pager button:hover { border-color: var(--text); }
.pt-pager .is-on { background: var(--primary); color: #fff; border-color: var(--primary); }
.pt-pager__next { font-family: var(--f-body); font-size: 14px !important; font-weight: 700 !important; }
.pt-pager span { color: var(--muted); padding: 0 4px; }

/* 상품 상세 */
.pt-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 20px; padding-bottom: 16px; font-size: 13px; color: var(--muted); }
.pt-crumb a { text-decoration: none; }
.pt-crumb a:hover { text-decoration: underline; color: var(--text); }
.pt-pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pt-pdp__img { aspect-ratio: 5 / 4; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; background-image: radial-gradient(circle at 50% 55%, #FFFFFF 0 40%, var(--soft) 75%); }
.pt-pdp__img .pt-art { width: 66%; height: auto; }
.pt-pdp__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pt-pdp__tags li { padding: 4px 10px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.pt-pdp__info { display: grid; gap: 14px; }
.pt-pdp__name { font-size: 30px; line-height: 1.3; font-weight: 800; letter-spacing: -.02em; }
.pt-pdp__pn { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
.pt-pdp__pn > span:first-child { font-size: 13px; color: var(--muted); font-weight: 600; }
.pt-pdp__pn b { font-size: 26px; font-weight: 700; letter-spacing: .05em; }
.pt-pdp__oem { font-size: 13px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--tint); color: var(--tint-ink); }
.pt-pdp__oem .pt-num { font-size: 15px; }
.pt-pdp__price { font-size: 40px; font-weight: 700; line-height: 1.1; padding-bottom: 6px; border-bottom: 1px solid var(--line); }

.pt-fitbox { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r); border: 2px solid; }
.pt-fitbox__ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 800; color: #fff; }
.pt-fitbox__title { font-weight: 800; }
.pt-fitbox__sub { font-size: 13px; color: var(--muted); }
.pt-fitbox__go { min-height: 40px; padding: 0 12px; font-size: 14px; }
.pt-fitbox--none { border: 2px dashed #A3A7AD; background: var(--surface); }
.pt-fitbox--none .pt-fitbox__ic { border: 2px dashed #A3A7AD; color: var(--muted); }
.pt-fitbox--none .pt-fitbox__ic::before { content: "?"; }
.pt-fitbox--yes { border-color: var(--ok); background: var(--ok-bg); }
.pt-fitbox--yes .pt-fitbox__ic { background: var(--ok); }
.pt-fitbox--yes .pt-fitbox__ic::before { content: "✓"; }
.pt-fitbox--yes .pt-fitbox__title { color: var(--ok-ink); }
.pt-fitbox--no { border-color: var(--danger); background: var(--danger-bg); }
.pt-fitbox--no .pt-fitbox__ic { background: var(--danger); }
.pt-fitbox--no .pt-fitbox__ic::before { content: "✕"; font-size: 15px; }
.pt-fitbox--no .pt-fitbox__title { color: var(--danger-ink); }

.pt-buy { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; }
.pt-qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.pt-qty button { width: 44px; height: 50px; border: 0; background: none; font-size: 20px; }
.pt-qty output { min-width: 28px; text-align: center; font-size: 20px; font-weight: 700; }
.pt-ship { display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.pt-ship b { color: var(--text); margin-right: 8px; }

.pt-ptabs { margin-top: 48px; }
.pt-ptabs__bar { display: flex; gap: 4px; border-bottom: 2px solid var(--text); overflow-x: auto; scrollbar-width: none; }
.pt-ptabs__bar button { flex: none; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--r) var(--r) 0 0; background: transparent; font-size: 17px; font-weight: 800; color: #50555D; }
.pt-ptabs__bar button:hover { color: var(--text); background: var(--soft); }
.pt-ptabs__bar button[aria-selected="true"] { background: var(--primary); color: #fff; }
.pt-ptabs__bar button .pt-num { display: inline-block; min-width: 24px; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: var(--accent); color: var(--text); font-size: 15px; line-height: 20px; }
.pt-ppane { padding-top: 24px; }
.pt-info { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.pt-info__p { margin-top: 10px; color: #3E434A; }
.pt-spec { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.pt-spec th, .pt-spec td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.pt-spec th { width: 38%; color: var(--muted); font-weight: 600; font-size: 14px; background: #FAFAF8; }
.pt-spec td { font-weight: 700; }
.pt-spec tr:last-child th, .pt-spec tr:last-child td { border-bottom: 0; }

.pt-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.pt-table th { text-align: left; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--muted); background: #FAFAF8; border-bottom: 1px solid var(--line); }
.pt-table td { padding: 12px 14px; border-bottom: 1px solid #ECECE8; }
.pt-table td.pt-num { font-size: 17px; font-weight: 600; }
.pt-table tbody tr:last-child td { border-bottom: 0; }
.pt-table tr.is-mine td { background: var(--tint); }
.pt-table tr.is-mine td:first-child { box-shadow: inset 4px 0 0 var(--accent); }
.pt-compat__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.pt-compat__head b { font-size: 18px; }
.pt-compat__saved { font-size: 13px; color: var(--muted); padding: 3px 8px; border-radius: 4px; background: var(--soft); }
.pt-compat__saved.is-fresh { background: var(--ok-bg); color: var(--ok-ink); font-weight: 700; }
.pt-compat__foot { margin-top: 12px; font-size: 14px; color: var(--muted); }
.pt-compat__foot a { font-weight: 700; color: var(--text); }
.pt-compat__none { text-align: center; color: var(--muted); padding: 24px !important; }
.pt-pntable tr.is-self td { background: #FFFBEB; }
.pt-pntable__pn { letter-spacing: .05em; }
.pt-pntable a { font-weight: 700; text-underline-offset: 3px; }

.pt-order { margin-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px; background: #ECECE7; border-radius: 8px; max-width: 1152px; }
.pt-order__copy { display: grid; gap: 10px; }
.pt-order__copy p:last-child { color: #3E434A; }
.pt-orderfield { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: grid; gap: 12px; box-shadow: 0 10px 30px rgba(21, 23, 26, .06); }
.pt-orderfield__sec { font-size: 13px; font-weight: 700; color: var(--muted); }
.pt-orderfield__ghost { display: grid; gap: 8px; }
.pt-orderfield__ghost span { height: 40px; border-radius: var(--r); background: var(--soft); }
.pt-orderfield__ghost span:last-child { width: 70%; }
.pt-orderfield__field { display: grid; gap: 6px; padding: 14px; border-radius: var(--r); background: #FFFBEB; box-shadow: inset 4px 0 0 var(--accent), inset 0 0 0 1px #F0DC94; }
.pt-orderfield__label { font-weight: 800; }
.pt-orderfield__label em { font-style: normal; font-size: 12px; color: var(--danger-ink); margin-left: 4px; }
.pt-orderfield__field input { min-height: 48px; padding: 0 12px; border-radius: var(--r); border: 1.5px solid #C9CBC6; background: #fff; font-size: 16px; }
.pt-orderfield__field input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--accent); }
.pt-orderfield__help { font-size: 13px; color: var(--muted); }
.pt-orderfield__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pt-orderfield__done { color: var(--ok-ink); font-weight: 700; font-size: 14px; }

/* 관리자 */
.pt-ahead { background: var(--primary); color: #fff; position: sticky; top: 0; z-index: 20; }
.pt-ahead__in { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; min-height: 60px; }
.pt-logo--inv .pt-logo__word { color: #fff; }
.pt-ahead__tag { padding: 2px 8px; border-radius: 4px; background: var(--accent); color: var(--text); font-size: 12px; font-weight: 800; }
.pt-ahead__nav { display: flex; align-self: stretch; gap: 4px; }
.pt-ahead__nav a { display: flex; align-items: center; padding: 0 12px; color: var(--on-dark); font-weight: 700; text-decoration: none; box-shadow: inset 0 -3px 0 transparent; white-space: nowrap; }
.pt-ahead__nav a:hover { color: #fff; }
.pt-ahead__nav a.is-on { color: #fff; box-shadow: inset 0 -3px 0 var(--accent); }
.pt-ahead__r { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.pt-ahead__link { color: #fff; font-size: 13px; font-weight: 700; text-underline-offset: 3px; }

.pt-admin__in { max-width: 1280px; margin: 0 auto; padding: 28px 24px 24px; }
.pt-admin [id] { scroll-margin-top: 76px; }
.pt-admin__title { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.pt-admin__lead { margin-top: 6px; color: var(--muted); max-width: 640px; }
.pt-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.pt-metric { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.pt-metric__label { font-size: 13px; font-weight: 700; color: #3E434A; }
.pt-metric__value { display: flex; align-items: baseline; gap: 4px; }
.pt-metric__value b { font-size: 40px; font-weight: 700; line-height: 1.15; }
.pt-metric__value span { font-size: 18px; color: var(--muted); font-weight: 600; }
.pt-metric__note { font-size: 12px; color: var(--muted); }
.pt-metric:first-child { border-top: 4px solid var(--accent); }

.pt-arch { margin-top: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px 20px; }
.pt-arch__title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.pt-arch__flow, .pt-arch__db { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr) 150px minmax(0, 1fr); align-items: stretch; }
.pt-node { display: grid; gap: 2px; align-content: center; padding: 12px 14px; border: 2px solid var(--text); border-radius: var(--r); background: var(--surface); }
.pt-node__k { font-size: 12px; font-weight: 700; color: var(--muted); }
.pt-node b { font-size: 18px; font-weight: 800; }
.pt-node > span:last-child { font-size: 13px; color: #50555D; }
.pt-node--hub { background: var(--primary); color: #fff; border-color: var(--primary); }
.pt-node--hub .pt-node__k { color: var(--accent); }
.pt-node--hub > span:last-child { color: var(--on-dark); }
.pt-node--ext { border-style: dashed; }
.pt-node--ext > span:last-child { color: var(--tint-ink); font-weight: 700; }
.pt-node--db { grid-column: 3; border-color: var(--text); background: #FAFAF8; position: relative; }
.pt-arch__link { position: relative; display: flex; align-items: center; justify-content: center; }
.pt-arch__link::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; background: var(--text); }
.pt-arch__link::after { content: ""; position: absolute; right: 6px; top: calc(50% - 5px); border: 5px solid transparent; border-left: 8px solid var(--text); border-right: 0; }
.pt-arch__link span { position: relative; z-index: 1; background: var(--surface); padding: 0 6px; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; transform: translateY(-14px); }
.pt-arch__db { margin-top: 26px; }
.pt-arch__drop { display: none; }
.pt-node--db::before { content: ""; position: absolute; left: 50%; top: -28px; width: 2px; height: 26px; background: var(--text); }

.pt-map { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.pt-map__parts { position: sticky; top: 76px; }
.pt-map__parts, .pt-map__tree, .pt-log { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.pt-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 12px; }
.pt-panel__head--wrap { flex-wrap: wrap; align-items: flex-end; }
.pt-plist { margin-top: 10px; max-height: 620px; overflow: auto; border-top: 1px solid var(--line); }
.pt-plist__item { width: 100%; display: grid; gap: 1px; padding: 10px 12px; border: 0; border-bottom: 1px solid #ECECE8; background: transparent; text-align: left; }
.pt-plist__item:hover { background: var(--soft); }
.pt-plist__item.is-on { background: var(--primary); color: #fff; }
.pt-plist__pn { font-size: 16px; font-weight: 700; letter-spacing: .04em; }
.pt-plist__item.is-on .pt-plist__pn { color: var(--accent); }
.pt-plist__name { font-weight: 600; line-height: 1.4; }
.pt-plist__meta { font-size: 13px; color: var(--muted); }
.pt-plist__item.is-on .pt-plist__meta { color: var(--on-dark); }
.pt-plist__meta b { font-size: 15px; }
.pt-plist__none { padding: 16px 4px; color: var(--muted); }

.pt-map__count { display: flex; align-items: baseline; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.pt-map__count b { font-size: 40px; line-height: 1; font-weight: 700; color: var(--text); }
.pt-map__tree .pt-h3 .pt-num { font-size: 20px; letter-spacing: .04em; margin-right: 4px; }
.pt-suggest { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-bottom: 8px; border-radius: var(--r); background: var(--tint); box-shadow: inset 0 0 0 1px #E2B100; color: var(--tint-ink); font-size: 14px; }
.pt-suggest b { color: var(--text); }
.pt-suggest span { display: block; font-size: 13px; }
.pt-suggest .pt-btn { flex: none; }
.pt-tree__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.pt-tree__crumb { font-size: 12px; color: var(--muted); padding: 6px 0 8px; border-bottom: 2px solid var(--text); }
.pt-tree { min-height: 200px; }
.pt-tree__row { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px 0 calc(var(--lvl) * 22px); border-bottom: 1px solid #EFEFEB; }
.pt-tree__row:hover { background: #FAFAF8; }
.pt-tree__row.is-suggest { background: #FFFBEB; }
.pt-tree__tg { flex: none; width: 32px; height: 32px; border: 0; border-radius: 4px; background: none; display: grid; place-items: center; }
.pt-tree__tg:hover { background: var(--soft); }
.pt-tree__tg svg { width: 16px; height: 16px; fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .12s; }
.pt-tree__row[aria-expanded="true"] .pt-tree__tg svg { transform: rotate(90deg); }
.pt-tree__sp { flex: none; width: 32px; }
.pt-tree__label { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; min-width: 0; }
.pt-tree__label input { width: 20px; height: 20px; accent-color: var(--primary); flex: none; margin: 0; }
.pt-tree__name { font-weight: 700; }
.pt-tree__row.is-leaf .pt-tree__name { font-weight: 500; }
.pt-tree__row[aria-level="3"] .pt-tree__name, .pt-tree__row[aria-level="4"] .pt-tree__name { font-family: var(--f-num); font-size: 17px; font-weight: 600; letter-spacing: .03em; }
.pt-tree__sg { padding: 1px 6px; border-radius: 4px; background: var(--accent); font-size: 12px; font-weight: 800; }
.pt-tree__n { margin-left: auto; font-size: 15px; color: var(--muted); font-weight: 600; }
.pt-tree__acts { display: inline-flex; gap: 4px; margin-left: 8px; }
.pt-tree__row.is-leaf .pt-tree__acts { margin-left: auto; }
.pt-tree__acts button { min-height: 32px; padding: 0 8px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 700; white-space: nowrap; }
.pt-tree__acts button:hover { border-color: var(--text); }
.pt-tree__acts .is-danger { color: var(--danger-ink); }
.pt-tree__rename input { min-height: 34px; width: 180px; max-width: 46vw; padding: 0 8px; border: 2px solid var(--text); border-radius: 4px; font-size: 15px; }
.pt-tree__empty { padding: 10px 8px 10px calc(var(--lvl) * 22px + 40px); color: var(--muted); font-size: 13px; }
.pt-tree__add { margin: 10px 0 4px; min-height: 40px; padding: 0 12px; border: 1.5px dashed #A3A7AD; border-radius: var(--r); background: none; font-weight: 700; }
.is-editing .pt-tree__label { cursor: default; }
.pt-map__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: 4px; border-top: 2px solid var(--text); }
.pt-map__status { font-size: 14px; color: var(--muted); min-height: 22px; flex: 1 1 260px; }
.pt-map__status.is-ok { color: var(--ok-ink); }
.pt-map__status.is-ok a { color: var(--text); font-weight: 700; margin-left: 4px; }
.pt-map__status.is-dirty { color: #8A5A00; font-weight: 600; }
.pt-map__status.is-warn { color: var(--danger-ink); }
.pt-map__btns { display: flex; gap: 8px; }

.pt-log { margin-top: 16px; }
.pt-logtable tr.is-mine td { background: var(--tint); }
.pt-via { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 13px; font-weight: 700; }
.pt-via--cache { background: var(--ok-bg); color: var(--ok-ink); }
.pt-via--api { background: var(--tint); color: var(--tint-ink); }
.pt-admin__fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* 반응형 */
@media (max-width: 1080px) {
  .pt-finder__grid { grid-template-columns: 1fr; }
  .pt-howto { display: none; }
  .pt-result { grid-template-columns: 180px 1fr; }
  .pt-result__cta { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .pt-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-drill { grid-template-columns: repeat(2, 1fr); }
  .pt-drill__go { grid-column: 1 / -1; }
  .pt-map { grid-template-columns: 280px minmax(0, 1fr); }
  .pt-arch__flow, .pt-arch__db { grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr) 110px minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .pt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-list { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 16px; }
  .pt-filter { min-width: 0; }
  .pt-filter { position: static; margin-bottom: 14px; }
  .pt-filter__title { display: none; }
  .pt-filter ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .pt-filter__btn { width: auto; flex: none; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
  .pt-pdp, .pt-info, .pt-order { grid-template-columns: 1fr; gap: 24px; }
  .pt-order { margin-left: 16px; margin-right: 16px; padding: 24px 16px; }
  .pt-map__parts { position: static; }
  .pt-bundle__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-map { grid-template-columns: 1fr; }
  .pt-plist { max-height: 264px; }
  .pt-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-arch__flow { grid-template-columns: 1fr; }
  .pt-arch__link { height: 44px; }
  .pt-arch__link::before { left: 50%; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .pt-arch__link::after { left: calc(50% - 5px); right: auto; top: auto; bottom: 4px; border: 5px solid transparent; border-top: 8px solid var(--text); border-bottom: 0; }
  .pt-arch__link { justify-content: flex-start; }
  .pt-arch__link span { transform: none; margin-left: calc(50% + 12px); background: transparent; text-align: left; }
  .pt-arch__db { grid-template-columns: 1fr; margin-top: 0; }
  .pt-arch__drop { display: block; height: 28px; position: relative; }
  .pt-arch__drop::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--text) 0 4px, transparent 4px 7px); }
  .pt-node--db { grid-column: 1; }
  .pt-node--db::before { display: none; }
}

@media (max-width: 760px) {
  .pt-wrap { padding: 0 16px; }
  .pt-util__in p { display: none; }
  .pt-util__in { justify-content: flex-end; }
  .pt-head__in { flex-wrap: wrap; gap: 0 10px; min-height: 0; padding-top: 10px; }
  .pt-logo__word { font-size: 19px; }
  .pt-logo__mark svg { width: 30px; height: 30px; }
  .pt-nav { order: 5; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 0; padding: 0 6px; }
  .pt-nav a { min-height: 44px; flex: none; }
  .pt-garage__empty { padding: 0 10px; font-size: 14px; }
  .pt-garage__chip a { font-size: 13px; }

  .pt-finder { padding: 28px 0 30px; }
  .pt-finder__title { font-size: 24px; }
  .pt-finder__sub { font-size: 14px; }
  .pt-tabs { margin: 18px -16px 0; padding: 0 8px; }
  .pt-tabs button { padding: 0 12px; font-size: 15px; }
  .pt-pane { padding-top: 22px; }
  .pt-plate-row { flex-direction: column; gap: 14px; }
  .pt-plate { flex: none; width: calc(100% - 8px); }
  .pt-btn--xl { min-height: 56px; font-size: 20px; margin: 0; }
  .pt-chipbtn { min-height: 44px; }
  .pt-vin-row { flex-direction: column; }
  .pt-vin input { font-size: 22px; letter-spacing: .08em; }
  .pt-drill { grid-template-columns: 1fr; }
  .pt-result { grid-template-columns: 1fr; gap: 14px; padding: 18px; border-left-width: 0; border-top: 6px solid var(--accent); }
  .pt-result__art { max-width: 200px; }
  .pt-result__name { font-size: 20px; }
  .pt-specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-result__cta { grid-template-columns: 1fr; }

  .pt-sec { margin-top: 40px; }
  .pt-sec__head h2 { font-size: 20px; }
  .pt-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pt-cat { padding: 10px; }
  .pt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pt-card__body { padding: 10px 10px 2px; }
  .pt-card__name { font-size: 14px; }
  .pt-card__pn { font-size: 14px; }
  .pt-card__price { font-size: 20px; }
  .pt-card__meta { gap: 6px; font-size: 12px; }
  .pt-badge { margin: 6px 10px 10px; font-size: 12px; padding: 3px 7px 3px 5px; }
  .pt-promise { grid-template-columns: 1fr; gap: 18px; }

  .pt-carbar__in { flex-direction: column; align-items: stretch; gap: 8px; }
  .pt-carbar__name { font-size: 15px; }
  .pt-carbar__car { align-items: center; }
  .pt-carbar__change { margin-left: auto; }
  .pt-switch { justify-content: flex-start; }
  .pt-search .pt-btn { padding: 0 14px; }
  .pt-list__meta { margin-top: 16px; }
  .pt-bundle { padding: 14px; }
  .pt-bundle__title { font-size: 17px; }
  .pt-bundle__list { gap: 8px; }
  .pt-bundle__pn { font-size: 17px; }

  .pt-pdp__name { font-size: 24px; }
  .pt-pdp__price { font-size: 34px; }
  .pt-fitbox { grid-template-columns: 32px 1fr; }
  .pt-fitbox__ic { width: 32px; height: 32px; }
  .pt-fitbox__go { grid-column: 1 / -1; }
  .pt-buy { grid-template-columns: auto 1fr; }
  .pt-buy .pt-btn--accent { grid-column: 1 / -1; }
  .pt-ptabs { margin-top: 36px; }
  .pt-ptabs__bar button { padding: 0 14px; font-size: 15px; }

  /* 표 → 카드 */
  .pt-table, .pt-table tbody, .pt-table tr, .pt-table td { display: block; width: 100%; }
  .pt-table { border: 0; background: transparent; }
  .pt-table thead { display: none; }
  .pt-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; padding: 6px 12px; }
  .pt-table td { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #ECECE8; text-align: right; }
  .pt-table td::before { content: attr(data-th); flex: none; font-size: 13px; color: var(--muted); font-weight: 600; text-align: left; font-family: var(--f-body); }
  .pt-table td:last-child { border-bottom: 0; }
  .pt-table tr.is-mine { background: var(--tint); }
  .pt-table tr.is-mine td { background: transparent; box-shadow: none !important; }
  .pt-pntable tr.is-self { background: #FFFBEB; }
  .pt-pntable tr.is-self td { background: transparent; }
  .pt-compat tr { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; padding: 10px 12px; margin-bottom: 6px; }
  .pt-compat tr::after { content: ""; flex-basis: 100%; order: 2; }
  .pt-compat td { display: inline; width: auto; padding: 0; border: 0; text-align: left; order: 1; font-weight: 700; }
  .pt-compat td::before { display: none; }
  .pt-compat td:nth-child(3) { font-size: 16px !important; }
  .pt-compat td:nth-child(4), .pt-compat td:nth-child(5) { order: 3; font-weight: 500; color: var(--muted); font-size: 14px !important; }
  .pt-compat td:nth-child(4)::after { content: " ·"; }
  .pt-compat td.pt-compat__none { flex-basis: 100%; }
  .pt-logtable tr { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "at plate via" "car car ms"; align-items: center; gap: 2px 12px; padding: 10px 12px; }
  .pt-logtable td { display: block; padding: 0; border: 0; text-align: left; }
  .pt-logtable td::before { display: none; }
  .pt-logtable td:nth-child(1) { grid-area: at; }
  .pt-logtable td:nth-child(2) { grid-area: plate; font-weight: 700; }
  .pt-logtable td:nth-child(3) { grid-area: car; color: var(--muted); font-size: 14px; }
  .pt-logtable td:nth-child(4) { grid-area: via; justify-self: end; }
  .pt-logtable td:nth-child(5) { grid-area: ms; justify-self: end; color: var(--muted); }

  .pt-ahead__in { flex-wrap: wrap; gap: 0 12px; padding: 8px 16px 0; }
  .pt-ahead__nav { order: 5; flex-basis: 100%; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 0; padding: 0 4px; }
  .pt-ahead__nav a { min-height: 44px; }
  .pt-ahead__link { display: none; }
  .pt-admin__in { padding: 20px 16px 16px; }
  .pt-admin [id] { scroll-margin-top: 112px; }
  .pt-metric__value b { font-size: 32px; }
  .pt-map__parts { position: sticky; top: 76px; }
.pt-map__parts, .pt-map__tree, .pt-log { padding: 14px; }
  .pt-suggest { flex-direction: column; align-items: stretch; }
  .pt-tree__row { padding-left: calc(var(--lvl) * 14px); padding-right: 4px; }
  .pt-tree__acts button { padding: 0 6px; }
  .pt-tree__row:not(.is-leaf) .pt-tree__acts { margin-left: 4px; }
  .pt-map__btns { width: 100%; }
  .pt-map__btns .pt-btn { flex: 1; }

  .pt-sheet { margin: auto 0 0; width: 100%; height: auto; max-height: 86vh; border-radius: 12px 12px 0 0; }
  .pt-sheet__in { padding: 18px 16px 24px; }
  .pt-sheet__list li { grid-template-columns: 28px 1fr; }
  .pt-sheet__go { grid-column: 2; justify-self: start; min-height: 40px; }
  .pt-mapbtn { right: 12px; bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .pt *, .pt *::before, .pt *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
