body { background: #ffffff; }

.search-form { position: relative; }
.search-form.compact input { width: 100%; height: 46px; border: 0; border-radius: 10px; background: rgba(2, 32, 71, 0.05); padding: 0 40px 0 42px; font-size: 15px; color: #5b6470; outline: none; }
.search-form.compact input:focus { box-shadow: 0 0 0 3px rgba(53, 94, 59, 0.16); }
.search-form.compact input::placeholder { color: #7a8491; }
.search-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #8592a3; font-size: 30px; }
.clear-q { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border: 0; border-radius: 999px; background: rgba(2, 32, 71, 0.12); color: #51606f; display: none; align-items: center; justify-content: center; font-size: 15px; line-height: 1; cursor: pointer; padding: 0; }
.clear-q:hover { background: rgba(2, 32, 71, 0.2); }

.bunyang-page-head { padding: 12px 0 12px; }
.bunyang-page-head h1 { margin: 0; font-size: 38px; font-weight: 800; line-height: 1.2; letter-spacing: -0.3px; }
.bunyang-page-desc { margin: 0; color: #6b7280; font-size: 14px; line-height: 1.5; }
.search-form.compact { margin-bottom: 12px; }
.bunyang-filter-stack { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 16px; }
.bunyang-filter-strip { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; -ms-overflow-style: none; scrollbar-width: none; }
.bunyang-filter-strip::-webkit-scrollbar { display: none; }
.bunyang-sort-pill { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 0 12px; border-radius: 999px; background: #f3f4f6; color: #6b7280; font-size: 13px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bunyang-sort-pill.is-active { background: #111827; color: #fff; }
.bunyang-sort-pill-toggle { margin-left: auto; min-width: 68px; min-height: 28px; padding: 0 10px; border: 1px solid #d1d5db; background: #fff; color: #4b5563; font-size: 12px; font-weight: 700; text-align: center; justify-content: center; }
.bunyang-sort-pill-toggle.is-active { border-color: #15803d; background: #dcfce7; color: #15803d; }
.bunyang-card-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bunyang-card-item { border: 1px solid #e5e7eb; border-radius: 18px; background: #fff; overflow: hidden; }
.bunyang-card-link { display: block; padding: 16px; color: inherit; text-decoration: none; }
.bunyang-card-status-wrap { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; line-height: 1; }
.bunyang-card-status { display: inline-flex; align-items: center; gap: 6px; color: #16a34a; font-size: 14px; font-weight: 700; line-height: 1; }
.bunyang-card-status-label { display: inline-flex; align-items: center; color: #16a34a; }
.bunyang-card-status-date { display: inline-flex; align-items: center; color: #4b5563; font-size: 13px; font-weight: 600; }
.bunyang-card-status-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 18px; padding: 0 7px; border-radius: 999px; background: #dcfce7; color: #15803d; font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; }
.bunyang-card-title { margin-bottom: 6px; color: #111827; font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -0.3px; }
.bunyang-card-category { color: inherit; font-size: inherit; font-weight: inherit; line-height: inherit; }
.bunyang-card-location { margin-bottom: 10px; color: #4b5563; font-size: 13px; line-height: 1.45; }
.bunyang-card-price { margin-bottom: 10px; color: #111827; font-size: 22px; font-weight: 800; letter-spacing: -0.3px; }
.bunyang-card-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; color: #4b5563; font-size: 13px; }
.bunyang-card-meta span::after { content: '•'; margin-left: 10px; color: #d1d5db; }
.bunyang-card-meta span:last-child::after { display: none; }
.bunyang-list-loading { padding: 14px 0 6px; color: #6b7280; font-size: 13px; text-align: center; }

.bunyang-detail-page { padding-top: 14px; }
.bunyang-detail-status { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; font-size: 14px; font-weight: 700; }
.bunyang-detail-status-label { color: #16a34a; }
.bunyang-detail-status-date { color: #4b5563; font-size: 13px; font-weight: 600; }
.bunyang-detail-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 15px; }
.bunyang-chip { display: inline-flex; align-items: center; min-height: 17px; padding: 1px 5px; border-radius: 4px; background: #f3f4f6; color: #6b7280; font-size: 12px; font-weight: 600; line-height: 1; }
.bunyang-detail-title { margin: 0 0 8px; color: #111827; font-size: 28px; line-height: 1.2; letter-spacing: -0.5px; word-break: keep-all; }
.bunyang-detail-summary { margin: 0 0 18px; color: #6b7280; font-size: 14px; line-height: 1.5; }
.bunyang-detail-summary-part { white-space: nowrap; }
.bunyang-detail-summary-sep { white-space: normal; }
.bunyang-kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.bunyang-kpi-card { padding: 16px; border-radius: 16px; background: #f7fbf8; }
.bunyang-kpi-label { margin-bottom: 6px; color: #6b7280; font-size: 13px; }
.bunyang-kpi-value { color: #111827; font-size: 20px; font-weight: 800; line-height: 1.25; }
.bunyang-tab-strip { display: flex; gap: 0; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid #e5e7eb; overflow-x: hidden; }
.bunyang-tab-strip::-webkit-scrollbar { display: none; }
.bunyang-tab { position: relative; flex: 1 1 0; color: #6b7280; font-size: 15px; font-weight: 700; white-space: nowrap; text-decoration: none; text-align: center; }
.bunyang-tab.is-active { color: #111827; }
.bunyang-tab.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -11px; height: 2px; border-radius: 999px; background: #000000; }
.bunyang-tab.is-muted { color: #9ca3af; flex: 1 1 0; text-align: center; }
.bunyang-model-chip-row { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; padding-bottom: 4px; -ms-overflow-style: none; scrollbar-width: none; }
.bunyang-model-chip-row::-webkit-scrollbar { display: none; }
.bunyang-model-chip { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 12px; color: #4b5563; background: #fff; text-decoration: none; font-size: 14px; font-weight: 600; }
.bunyang-model-chip.is-active { border-color: #000000; background: #ffffff; color: #111827; }
.bunyang-model-summary-card { padding: 16px; border-radius: 18px; background: #f7fbf8; }
.bunyang-model-summary-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 14px; color: #111827; }
.bunyang-model-summary-head strong { font-size: 19px; }
.bunyang-model-summary-head span { color: #6b7280; font-size: 13px; }
.bunyang-model-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
.bunyang-model-summary-grid span { display: block; margin-bottom: 4px; color: #6b7280; font-size: 12px; }
.bunyang-model-summary-grid strong { color: #111827; font-size: 15px; line-height: 1.4; }
.bunyang-section { margin-bottom: 22px; }
.bunyang-fact-row-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.bunyang-fact-row { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 12px; background: #f9fafb; }
.bunyang-fact-label { color: #6b7280; font-size: 13px; }
.bunyang-fact-value { color: #111827; font-size: 14px; font-weight: 600; }
.bunyang-info-table { border-top: 1px solid #e5e7eb; }
.bunyang-info-row { display: grid; align-items: center; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3f4f6; }
.bunyang-info-label { color: #6b7280; font-size: 14px; line-height: 1.5; word-break: keep-all; }
.bunyang-info-value-wrap { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bunyang-info-value { color: #111827; font-size: 14px; line-height: 1.5; word-break: keep-all; }
.bunyang-info-date-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 18px; padding: 0 6px; border-radius: 999px; background: #f3f4f6; color: #6b7280; font-size: 11px; font-weight: 600; line-height: 1; white-space: nowrap; }
.bunyang-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bunyang-action-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid #111827; border-radius: 14px; color: #111827; text-decoration: none; font-size: 15px; font-weight: 700; }
.bunyang-schedule-list { display: flex; flex-direction: column; gap: 30px; padding-top: 10px; }
.bunyang-schedule-row { display: grid; grid-template-columns: 16px 104px minmax(0, 1fr); gap: 10px; align-items: center; }
.bunyang-schedule-dot { position: relative; z-index: 1; width: 10px; height: 10px; border-radius: 999px; border: 2px solid #d1d5db; background: #fff; }
.bunyang-schedule-row:not(:last-child) .bunyang-schedule-dot::after { content: ''; position: absolute; left: 50%; top: calc(100% + 5px); z-index: 0; transform: translateX(-50%); width: 0; height: 30px; border-left: 1px dashed #d1d5db; opacity: 0.9; }
.bunyang-schedule-marker { position: absolute; left: 50%; top: 50%; z-index: 2; width: 8px; height: 8px; border-radius: 999px; background: #16a34a; transform: translate(-50%, -50%); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.26); animation: bunyangTimelinePulse 1.8s ease-in-out infinite; }
.bunyang-schedule-marker::before, .bunyang-schedule-marker::after { content: ''; position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(34, 197, 94, 0.34); animation: bunyangTimelineRipple 1.8s linear infinite; }
.bunyang-schedule-marker::after { animation-delay: 0.9s; }
.bunyang-schedule-marker-before { top: -16px; }
.bunyang-schedule-marker-after { top: calc(100% + 16px); }
.bunyang-schedule-marker-between { transform: translateX(-50%); }
.bunyang-schedule-label { color: #4b5563; font-size: 14px; }
.bunyang-schedule-value { color: #111827; font-size: 15px; font-weight: 700; }
.bunyang-model-table-wrap { overflow-x: hidden; }
.bunyang-model-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.bunyang-model-table th, .bunyang-model-table td { padding: 12px 10px; border-bottom: 1px solid #f3f4f6; text-align: left; font-size: 14px; vertical-align: top; word-break: break-word; }
.bunyang-model-table th { color: #6b7280; font-weight: 600; background: #f9fafb; }
.bunyang-model-table td { color: #111827; }
.bunyang-model-table tbody tr.is-selected td { background: #f7fbf8; }
.bunyang-competition-snapshot-list { display: flex; flex-direction: column; gap: 10px; }
.bunyang-competition-snapshot-card { padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; }
.bunyang-competition-snapshot-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.bunyang-competition-snapshot-head strong { color: #111827; font-size: 16px; }
.bunyang-competition-snapshot-head span { color: #6b7280; font-size: 13px; }
.bunyang-competition-bars { display: flex; flex-direction: column; gap: 16px; }
.bunyang-competition-bar-row { display: grid; grid-template-columns: 58px minmax(0, 1fr) 96px; gap: 8px; align-items: center; }
.bunyang-competition-bar-label { color: #6b7280; font-size: 12px; white-space: nowrap; }
.bunyang-competition-bar-track { height: 10px; border-radius: 999px; background: #f3f4f6; overflow: hidden; }
.bunyang-competition-bar-fill { height: 100%; border-radius: 999px; background: #16a34a; }
.bunyang-competition-bar-fill.is-under { background: #16a34a; opacity: 0.28; }
.bunyang-competition-bar-fill.is-equal { background: #16a34a; }
.bunyang-competition-bar-fill.is-over { background: #16a34a; }
.bunyang-competition-bar-fill.is-unknown { background: #16a34a; opacity: 0.28; }
.bunyang-competition-bar-value { color: #111827; font-size: 10px; font-weight: 700; text-align: right; white-space: nowrap; }
.bunyang-competition-rates { margin: 10px 0 0; color: #6b7280; font-size: 12px; line-height: 1.45; }

@keyframes bunyangTimelinePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.18); }
  50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.1); }
}
@keyframes bunyangTimelineRipple {
  0% { transform: scale(1); opacity: 0; }
  12% { opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}

@media (max-width: 768px) {
  .bunyang-model-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 8px; }
  .bunyang-model-summary-grid strong { font-size: 14px; }
  .bunyang-model-table thead { display: none; }
  .bunyang-model-table,
  .bunyang-model-table tbody,
  .bunyang-model-table tr,
  .bunyang-model-table td { display: block; width: 100%; }
  .bunyang-model-table tbody { display: flex; flex-direction: column; gap: 10px; }
  .bunyang-model-table tr { border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; }
  .bunyang-model-table td { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; }
  .bunyang-model-table td::before { content: attr(data-label); flex: 0 0 82px; color: #6b7280; font-size: 12px; font-weight: 600; }
}
