.ca-wrap { max-width: 1160px; margin: 0 auto; }
.ca-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.ca-title { font-size: 1.75rem; font-weight: 800; color: var(--gray-900, #111827); line-height: 1.2; }
.ca-subtitle { color: var(--gray-500, #6b7280); margin-top: .35rem; }
.ca-tabs { display: flex; gap: .5rem; margin-bottom: 1.25rem; background: white; border: 1px solid #e5e7eb; border-radius: 10px; padding: .5rem; width: fit-content; max-width: 100%; overflow-x: auto; }
.ca-tab { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .85rem; border-radius: 7px; color: var(--gray-700, #374151); text-decoration: none; font-weight: 650; font-size: .9rem; white-space: nowrap; }
.ca-tab.active { background: var(--primary, #2563eb); color: white; }
.ca-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.ca-stat { background: white; border: 1px solid #e5e7eb; border-radius: 10px; padding: 1.1rem; }
.ca-stat-label { color: var(--gray-500, #6b7280); font-size: .86rem; font-weight: 650; }
.ca-stat-value { margin-top: .45rem; font-size: 1.8rem; font-weight: 800; color: var(--gray-900, #111827); }
.ca-panel { background: white; border: 1px solid #e5e7eb; border-radius: 10px; padding: 1.25rem; margin-bottom: 1.25rem; }
.ca-panel-title { font-size: 1.12rem; font-weight: 800; color: var(--gray-900, #111827); margin-bottom: 1rem; }
.ca-table { width: 100%; border-collapse: collapse; }
.ca-table th, .ca-table td { padding: .85rem .75rem; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: middle; }
.ca-table th { color: var(--gray-500, #6b7280); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; background: #f9fafb; }
.ca-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: .25rem .65rem; font-size: .78rem; font-weight: 750; white-space: nowrap; }
.ca-badge-ok { background: #dcfce7; color: #166534; }
.ca-badge-warn { background: #fef3c7; color: #92400e; }
.ca-badge-info { background: #dbeafe; color: #1e40af; }
.ca-actions { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; }
.ca-empty { text-align: center; padding: 3rem 1rem; color: var(--gray-500, #6b7280); }
.ca-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.ca-field { display: flex; flex-direction: column; gap: .45rem; }
.ca-field.full { grid-column: 1 / -1; }
.ca-label { color: var(--gray-700, #374151); font-weight: 700; font-size: .9rem; }
.ca-input, .ca-select, .ca-textarea { width: 100%; border: 1px solid #d1d5db; border-radius: 8px; padding: .75rem .9rem; font-size: .95rem; background: white; }
.ca-textarea { min-height: 130px; resize: vertical; }
.ca-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
.ca-factor-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: stretch; }
.ca-check { display: grid; grid-template-columns: 1.15rem minmax(0, 1fr); align-items: start; column-gap: .65rem; min-height: 3.9rem; padding: .7rem .8rem; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; font-size: .9rem; line-height: 1.5; }
.ca-check input { width: 1.05rem; height: 1.05rem; margin: .15rem 0 0; }
.ca-check span { display: block; min-width: 0; word-break: keep-all; overflow-wrap: anywhere; }
.ca-factor-context { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .65rem; margin: -.3rem 0 1rem; color: #4b5563; font-size: .88rem; line-height: 1.5; }
.ca-factor-context strong { color: var(--gray-900, #111827); font-weight: 800; }
.ca-factor-context span { color: var(--gray-500, #6b7280); }
.ca-factor-check { min-height: 4.35rem; }
.ca-factor-text { display: flex !important; flex-direction: column; gap: .28rem; }
.ca-factor-badge { display: inline-flex !important; align-self: flex-start; width: fit-content; border-radius: 999px; padding: .08rem .42rem; background: #e0f2fe; color: #075985; font-size: .72rem; line-height: 1.35; font-weight: 800; white-space: nowrap; }
.ca-evidence-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.ca-evidence-check { min-height: 4.1rem; }
.ca-evidence-text { display: flex !important; flex-direction: column; gap: .3rem; }
.ca-evidence-weight { display: inline-flex !important; align-self: flex-start; width: fit-content; border-radius: 999px; padding: .08rem .42rem; background: #eef2ff; color: #3730a3; font-size: .72rem; line-height: 1.35; font-weight: 800; white-space: nowrap; }
.ca-disclaimer { margin-bottom: 1rem; border: 1px solid #f59e0b; border-left: 4px solid #d97706; background: #fffbeb; color: #78350f; border-radius: 8px; padding: .9rem 1rem; font-size: .92rem; line-height: 1.65; font-weight: 650; }
.ca-result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.ca-result-card { border: 1px solid #e5e7eb; border-radius: 10px; padding: 1rem; background: #fbfdff; }
.ca-result-label { color: var(--gray-500, #6b7280); font-size: .82rem; font-weight: 700; }
.ca-result-value { margin-top: .4rem; font-size: 1.35rem; font-weight: 850; color: var(--gray-900, #111827); }
.ca-radar { display: grid; gap: .75rem; }
.ca-meter-row { display: grid; grid-template-columns: 110px 1fr 48px; gap: .75rem; align-items: center; font-size: .9rem; color: var(--gray-700, #374151); }
.ca-meter { height: 10px; background: #e5e7eb; border-radius: 999px; overflow: hidden; }
.ca-meter-fill { height: 100%; background: var(--primary, #2563eb); }
.ca-insight-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1rem; }
.ca-insight { border: 1px solid #e5e7eb; border-radius: 8px; padding: .95rem; background: #fbfdff; }
.ca-insight span { display: block; color: var(--gray-500, #6b7280); font-size: .8rem; font-weight: 750; }
.ca-insight strong { display: block; margin-top: .35rem; color: var(--gray-900, #111827); font-size: 1.45rem; line-height: 1.15; font-weight: 900; }
.ca-insight small { display: block; margin-top: .35rem; color: var(--gray-500, #6b7280); line-height: 1.45; }
.ca-trend { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: .5rem; align-items: end; min-height: 150px; padding-top: .5rem; }
.ca-trend-day { display: grid; grid-template-rows: 1fr auto; gap: .45rem; min-width: 0; height: 140px; }
.ca-trend-bar-wrap { display: flex; align-items: end; min-height: 110px; border-radius: 8px; background: #f3f4f6; overflow: hidden; }
.ca-trend-bar { width: 100%; min-height: 4px; border-radius: 8px 8px 0 0; background: var(--primary, #2563eb); }
.ca-trend-label { color: var(--gray-500, #6b7280); font-size: .72rem; text-align: center; white-space: nowrap; }
.ca-trend-count { color: var(--gray-900, #111827); font-weight: 850; }
.ca-scenario-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.ca-scenario { border: 1px solid #e5e7eb; border-radius: 10px; padding: 1rem; }
.ca-scenario h3 { font-size: 1rem; margin-bottom: .75rem; color: var(--gray-900, #111827); }
.ca-muted { color: var(--gray-500, #6b7280); font-size: .9rem; }
.ca-share-panel { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: start; }
.ca-share-row { display: flex; gap: .5rem; align-items: center; margin-top: .85rem; }
.ca-share-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86rem; }
.ca-share-meta { margin-top: .65rem; }
.ca-share-status { display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.ca-public-body { margin: 0; min-height: 100vh; background: #f3f4f6; color: #111827; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.5; }
.ca-public-shell { max-width: 1040px; margin: 0 auto; padding: 2rem 1rem 3rem; }
.ca-public-top { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.ca-public-brand { color: var(--gray-500, #6b7280); font-size: .9rem; font-weight: 750; }
.ca-public-unavailable { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background: #f3f4f6; }
.ca-public-unavailable .ca-panel { max-width: 520px; margin: 0; }
.ca-report-hero { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 1rem; align-items: stretch; margin: 1rem 0; padding: 1.4rem; border: 1px solid #dbe3ef; border-radius: 8px; background: linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #eef6ff 100%); }
.ca-report-copy h2 { margin: .25rem 0 .55rem; color: var(--gray-900, #0f172a); font-size: 1.65rem; line-height: 1.25; font-weight: 850; }
.ca-report-copy p { max-width: 720px; margin: 0; color: #475569; font-size: .96rem; line-height: 1.75; }
.ca-kicker { display: inline-flex; color: var(--primary, #2563eb); font-size: .75rem; line-height: 1.2; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ca-grade-card { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .15rem; min-height: 150px; border: 1px solid #cbd5e1; border-radius: 8px; background: #ffffff; color: #475569; text-align: center; }
.ca-grade-card strong { color: var(--gray-900, #111827); font-size: 3.25rem; line-height: 1; font-weight: 900; }
.ca-grade-label { color: #64748b; font-size: .78rem; font-weight: 800; }
.ca-metric-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 1rem 0 1.25rem; }
.ca-ring-card, .ca-outcome-card, .ca-report-section { border: 1px solid #e2e8f0; border-radius: 8px; background: #ffffff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.ca-ring-card { display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 250px; padding: 1.15rem; text-align: center; }
.ca-ring-card p { margin: .8rem 0 0; color: #64748b; font-size: .86rem; line-height: 1.55; }
.ca-ring { display: grid; place-items: center; width: min(155px, 100%); aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--ring-color) var(--angle), #e2e8f0 0deg); }
.ca-ring-core { display: grid; place-items: center; align-content: center; width: 74%; aspect-ratio: 1; border-radius: 50%; background: #ffffff; box-shadow: inset 0 0 0 1px #e2e8f0; }
.ca-ring-core strong { color: var(--gray-900, #111827); font-size: 1.7rem; line-height: 1.1; font-weight: 900; }
.ca-ring-core span { margin-top: .2rem; color: #64748b; font-size: .76rem; font-weight: 800; }
.ca-outcome-card { display: flex; min-height: 250px; flex-direction: column; justify-content: center; gap: .45rem; padding: 1.25rem; }
.ca-outcome-card span { color: #64748b; font-size: .84rem; font-weight: 800; }
.ca-outcome-card strong { color: var(--gray-900, #111827); font-size: 1.7rem; line-height: 1.18; font-weight: 900; word-break: keep-all; }
.ca-outcome-card small { color: #64748b; line-height: 1.5; }
.ca-report-section { padding: 1.25rem; margin-bottom: 1.25rem; }
.ca-section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.25rem; margin-bottom: 1rem; }
.ca-section-head h2 { margin: .15rem 0 0; color: var(--gray-900, #0f172a); font-size: 1.18rem; line-height: 1.3; font-weight: 850; }
.ca-section-head p { max-width: 430px; margin: 0; color: #64748b; font-size: .88rem; line-height: 1.65; }
.ca-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.ca-step { position: relative; display: flex; flex-direction: column; gap: .35rem; min-height: 132px; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; }
.ca-step span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary, #2563eb); color: #ffffff; font-size: .82rem; font-weight: 900; }
.ca-step strong { color: var(--gray-900, #0f172a); font-size: .95rem; line-height: 1.35; }
.ca-step small { color: #64748b; line-height: 1.55; }
.ca-opinion-section { border-color: #bfdbfe; background: #f8fbff; }
.ca-opinion-box { padding: 1.15rem 1.25rem; border: 1px solid #dbeafe; border-left: 4px solid var(--primary, #2563eb); border-radius: 8px; background: #ffffff; }
.ca-opinion-box p { margin: 0 0 1rem; color: #1f2937; font-size: .98rem; line-height: 1.9; word-break: keep-all; overflow-wrap: anywhere; }
.ca-opinion-box p:last-child { margin-bottom: 0; }
.ca-scenario-grid-report { margin-top: .5rem; }
.ca-scenario-report { border-radius: 8px; background: #ffffff; }
.ca-scenario-report h3 { display: inline-flex; margin: 0 0 .85rem; padding: .25rem .55rem; border-radius: 999px; background: #eff6ff; color: #1d4ed8; font-size: .88rem; }
.ca-scenario-worst h3 { background: #fff1f2; color: #be123c; }
.ca-scenario-normal h3 { background: #ecfdf5; color: #047857; }
.ca-scenario-report dl { display: grid; gap: .7rem; margin: 0; }
.ca-scenario-report dl div { display: flex; justify-content: space-between; gap: .75rem; padding-bottom: .6rem; border-bottom: 1px solid #f1f5f9; }
.ca-scenario-report dl div:last-child { padding-bottom: 0; border-bottom: 0; }
.ca-scenario-report dt { color: #64748b; font-size: .82rem; font-weight: 750; }
.ca-scenario-report dd { margin: 0; color: var(--gray-900, #111827); font-weight: 850; text-align: right; }
.ca-route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: .9rem; }
.ca-route-grid article { display: flex; flex-direction: column; gap: .35rem; padding: 1rem; border: 1px solid #e2e8f0; border-radius: 8px; background: #f8fafc; }
.ca-route-grid span { color: #64748b; font-size: .82rem; font-weight: 850; }
.ca-route-grid strong { color: var(--gray-900, #111827); font-size: 1.12rem; }
.ca-route-grid small { color: #64748b; line-height: 1.55; }
.ca-factor-grid-report { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.ca-factor-bar { display: grid; gap: .55rem; padding: .95rem; border: 1px solid #e2e8f0; border-radius: 8px; background: #ffffff; }
.ca-factor-bar > div:first-child { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.ca-factor-bar span { color: #475569; font-weight: 800; }
.ca-factor-bar strong { color: var(--gray-900, #111827); font-size: 1rem; }
.ca-input-summary { display: grid; gap: .7rem; }
.ca-input-summary p { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: .75rem; margin: 0; padding: .75rem 0; border-bottom: 1px solid #f1f5f9; }
.ca-input-summary p:last-child { border-bottom: 0; }
.ca-input-summary strong { color: #475569; font-size: .88rem; }
.ca-input-summary span { color: #1f2937; line-height: 1.65; white-space: pre-wrap; }
.ca-input-summary .ca-input-facts { grid-template-columns: 1fr; }
.ca-source-section { background: #fbfdff; }
.ca-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .9rem; }
.ca-source-list p { display: flex; justify-content: space-between; gap: .75rem; margin: 0; padding: .8rem; border: 1px solid #e2e8f0; border-radius: 8px; background: #ffffff; }
.ca-source-list strong { color: #475569; font-size: .84rem; white-space: nowrap; }
.ca-source-list span { color: var(--gray-900, #111827); font-size: .88rem; text-align: right; }
@media (max-width: 900px) {
  .ca-header, .ca-public-top { flex-direction: column; }
  .ca-stat-grid, .ca-result-grid, .ca-scenario-grid, .ca-form-grid, .ca-check-grid, .ca-report-hero, .ca-metric-board, .ca-timeline, .ca-route-grid, .ca-factor-grid-report, .ca-source-list, .ca-insight-grid { grid-template-columns: 1fr; }
  .ca-trend { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .ca-report-hero { padding: 1rem; }
  .ca-section-head { flex-direction: column; gap: .5rem; }
  .ca-ring-card, .ca-outcome-card { min-height: auto; }
  .ca-ring { width: 145px; }
  .ca-share-panel { grid-template-columns: 1fr; }
  .ca-share-row { flex-direction: column; align-items: stretch; }
  .ca-share-status { align-items: flex-start; }
  .ca-input-summary p { grid-template-columns: 1fr; gap: .25rem; }
  .ca-table { min-width: 720px; }
}
