.r3-cmp { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.r3-cmp[hidden] { display: none; }
.r3-cmp-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.r3-cmp-t { font-size: 13px; line-height: 18px; font-weight: 600; color: #4a5568; margin-right: 2px; }
.r3-cmp-on { display: contents; list-style: none; margin: 0; padding: 0; }
.r3-cmp-adds { display: contents; }
.r3-cmp-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: 0; padding: 0 2px 0 10px; border: 1px solid #cbd5e0; border-radius: 16px; background: #f7f9fc; font-size: 13px; line-height: 18px; color: #1a202c; }
.r3-cmp-x { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; font: 600 17px/1 inherit; color: #4a5568; cursor: pointer; }
.r3-cmp-x:hover { background: #e3e8ef; color: #1a202c; }
.r3-cmp-add { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; margin: 0; padding: 0 12px; border: 1px dashed #9aa8bb; border-radius: 16px; background: none; font: 500 13px/18px inherit; color: #0b4aa2; cursor: pointer; }
.r3-cmp-add:hover { border-style: solid; background: #f1f5fb; }
.r3-cmp-x:focus-visible, .r3-cmp-add:focus-visible { outline: 2px solid #0b4aa2; outline-offset: 1px; }
.r3-cmp-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; line-height: 18px; color: #4a5568; }
.r3-cmp-box { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #003c87; white-space: nowrap; }
.r3-cmp-box input { box-sizing: border-box; width: 96px; min-height: 36px; padding: 4px 10px; border: 1px solid #b8c4d6; border-radius: 8px; background: #fff; font: 600 16px/24px inherit; color: #003c87; text-align: right; }
.r3-cmp-box input[aria-invalid="true"] { border-color: #b91c1c; }
.r3-cmp-err { flex-basis: 100%; margin: 0; font-size: 13px; color: #b91c1c; }
.r3-cmp-sw { display: inline-block; flex: none; width: 16px; height: 0; border-top: 3px solid #0b4aa2; vertical-align: middle; }
.r3-cmp-sw--b { border-top: 2px dashed #c2410c; }
.r3-cmp-sw--c { border-top: 3px dotted #0071e3; }
.r3-cmp-sw--x1 { border-top: 3px solid #0f766e; }
.r3-cmp-sw--x2 { border-top: 2px dashed #7c3aed; }
.r3-cmp-sw--x3 { border-top: 3px dotted #a16207; }
.r3-cmp-sw--x4 { border-top: 2px dashed #475569; }
.r3-cmp-sw--x5 { border-top: 3px solid #be185d; }
.r3-cmp-sw--x6 { border-top: 2px dotted #c2410c; }
.r3-line--x1 { stroke: #0f766e; stroke-width: 2.5; }
.r3-line--x2 { stroke: #7c3aed; stroke-width: 2; stroke-dasharray: 6 4; }
.r3-line--x3 { stroke: #a16207; stroke-width: 2.5; stroke-dasharray: 2 3; }
.r3-line--x4 { stroke: #475569; stroke-width: 2; stroke-dasharray: 8 3 2 3; }
.r3-line--x5 { stroke: #be185d; stroke-width: 2.5; }
.r3-line--x6 { stroke: #c2410c; stroke-width: 2; stroke-dasharray: 2 4; }
.r3-leg--x1::before { border-top: 3px solid #0f766e; }
.r3-leg--x2::before { border-top: 2px dashed #7c3aed; }
.r3-leg--x3::before { border-top: 3px dotted #a16207; }
.r3-leg--x4::before { border-top: 2px dashed #475569; }
.r3-leg--x5::before { border-top: 3px solid #be185d; }
.r3-leg--x6::before { border-top: 2px dotted #c2410c; }
.r3-end--x1, .r3-dot--x1 { fill: #0f766e; } .r3-tip-k--x1 { background: #0f766e; }
.r3-end--x2, .r3-dot--x2 { fill: #7c3aed; } .r3-tip-k--x2 { background: #7c3aed; }
.r3-end--x3, .r3-dot--x3 { fill: #a16207; } .r3-tip-k--x3 { background: #a16207; }
.r3-end--x4, .r3-dot--x4 { fill: #475569; } .r3-tip-k--x4 { background: #475569; }
.r3-end--x5, .r3-dot--x5 { fill: #be185d; } .r3-tip-k--x5 { background: #be185d; }
.r3-end--x6, .r3-dot--x6 { fill: #c2410c; } .r3-tip-k--x6 { background: #c2410c; }
.r3-cmpt[hidden] { display: none; }
.r3-cmpt-scroll { overflow-x: auto; }
.r3-cmpt table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; }
.r3-cmpt caption { padding: 0 0 6px; text-align: left; font-size: 13px; font-weight: 600; color: #4a5568; }
.r3-cmpt th, .r3-cmpt td { padding: 7px 8px; border-bottom: 1px solid #edf1f5; text-align: right; white-space: nowrap; }
.r3-cmpt th:first-child { text-align: left; font-weight: 600; color: #1a202c; }
.r3-cmpt thead th { font-size: 12px; font-weight: 400; color: #5a6676; }
.r3-cmpt tbody th .r3-cmp-sw { margin-right: 8px; }
.r3-cmpt-notes { margin: 8px 0 0; padding: 0 0 0 18px; font-size: 12px; line-height: 18px; color: #5a6676; }
.r3-panel .r3-cmp { padding: 0 6px; }
.r3-panel .r3-cmpt { padding: 0 4px; }
.r3-panel .r3-cmpt th, .r3-panel .r3-cmpt td { padding: 6px; font-size: 13px; }
@media (max-width: 480px) {
    .r3-cmpt th, .r3-cmpt td { white-space: normal; }
}
body.dark-mode .r3-cmp-t, body.dark-mode .r3-cmp-in { color: #cbd5e1; }
body.dark-mode .r3-cmp-chip { background: #1f2937; border-color: #4b5563; color: #e5e7eb; }
body.dark-mode .r3-cmp-x { color: #cbd5e1; }
body.dark-mode .r3-cmp-x:hover { background: #374151; color: #fff; }
body.dark-mode .r3-cmp-add { border-color: #6b7280; color: #93c5fd; }
body.dark-mode .r3-cmp-add:hover { background: #1f2937; }
body.dark-mode .r3-cmp-box { color: #bfdbfe; }
body.dark-mode .r3-cmp-box input { background: #111827; border-color: #4b5563; color: #e5e7eb; }
body.dark-mode .r3-cmp-err { color: #fca5a5; }
body.dark-mode .r3-cmpt caption, body.dark-mode .r3-cmpt thead th, body.dark-mode .r3-cmpt-notes { color: #9ca3af; }
body.dark-mode .r3-cmpt th:first-child { color: #e5e7eb; }
body.dark-mode .r3-cmpt th, body.dark-mode .r3-cmpt td { border-bottom-color: #374151; }
body.dark-mode .r3-cmp-sw { border-top-color: #93c5fd; }
body.dark-mode .r3-cmp-sw--b { border-top-color: #fdba74; }
body.dark-mode .r3-cmp-sw--x1, body.dark-mode .r3-leg--x1::before { border-top-color: #2dd4bf; }
body.dark-mode .r3-cmp-sw--x2, body.dark-mode .r3-leg--x2::before { border-top-color: #c4b5fd; }
body.dark-mode .r3-cmp-sw--x3, body.dark-mode .r3-leg--x3::before { border-top-color: #facc15; }
body.dark-mode .r3-cmp-sw--x4, body.dark-mode .r3-leg--x4::before { border-top-color: #cbd5e1; }
body.dark-mode .r3-cmp-sw--x5, body.dark-mode .r3-leg--x5::before { border-top-color: #f9a8d4; }
body.dark-mode .r3-cmp-sw--x6, body.dark-mode .r3-leg--x6::before { border-top-color: #fdba74; }
body.dark-mode .r3-line--x1 { stroke: #2dd4bf; } body.dark-mode .r3-end--x1, body.dark-mode .r3-dot--x1 { fill: #2dd4bf; } body.dark-mode .r3-tip-k--x1 { background: #2dd4bf; }
body.dark-mode .r3-line--x2 { stroke: #c4b5fd; } body.dark-mode .r3-end--x2, body.dark-mode .r3-dot--x2 { fill: #c4b5fd; } body.dark-mode .r3-tip-k--x2 { background: #c4b5fd; }
body.dark-mode .r3-line--x3 { stroke: #facc15; } body.dark-mode .r3-end--x3, body.dark-mode .r3-dot--x3 { fill: #facc15; } body.dark-mode .r3-tip-k--x3 { background: #facc15; }
body.dark-mode .r3-line--x4 { stroke: #cbd5e1; } body.dark-mode .r3-end--x4, body.dark-mode .r3-dot--x4 { fill: #cbd5e1; } body.dark-mode .r3-tip-k--x4 { background: #cbd5e1; }
body.dark-mode .r3-line--x5 { stroke: #f9a8d4; } body.dark-mode .r3-end--x5, body.dark-mode .r3-dot--x5 { fill: #f9a8d4; } body.dark-mode .r3-tip-k--x5 { background: #f9a8d4; }
body.dark-mode .r3-line--x6 { stroke: #fdba74; } body.dark-mode .r3-end--x6, body.dark-mode .r3-dot--x6 { fill: #fdba74; } body.dark-mode .r3-tip-k--x6 { background: #fdba74; }
@media print { .r3-cmp { display: none !important; } }
