/* Ruci PRIMA: dasbor dan komponen kecil. Tanpa pustaka grafik eksternal. */
:root {
    --rac-navy: #0b3a5c;
    --rac-gold: #c9963e;
    --rac-bg: #f5f7fa;
    --rac-card: #ffffff;
    --rac-text: #1f2d3a;
    --rac-muted: #6b7f90;
    --rac-line: #e3e8ec;
    --rac-track: #edf1f4;
    --rac-good: #2e7d32;
    --rac-good2: #66bb6a;
    --rac-mid: #f9a825;
    --rac-warn: #ef6c00;
    --rac-bad: #c62828;
}
.dark {
    --rac-bg: transparent;
    --rac-card: rgb(24 24 27);
    --rac-text: #e5e7eb;
    --rac-muted: #9aa8b5;
    --rac-line: rgb(63 63 70);
    --rac-track: rgb(39 39 42);
}
.rac-muted { color: var(--rac-muted); font-size: .85rem; }

.rac-dash { color: var(--rac-text); }
.rac-dash a { color: inherit; text-decoration: none; }
.rac-header { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.rac-header h1 { margin: 0; font-size: 1.75rem; font-weight: 700; color: var(--rac-navy); }
.dark .rac-header h1 { color: #e5eef6; }
.rac-header p { margin: 3px 0 0; color: var(--rac-muted); font-size: .9rem; }
.rac-eyebrow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rac-gold); font-weight: 600; }
.rac-index { background: var(--rac-navy); color: #fff !important; border-radius: 14px; padding: 10px 20px; box-shadow: 0 2px 9px #0002; }
.rac-index span { display: block; font-size: .75rem; opacity: .8; }
.rac-index strong { font-size: 2rem; margin-right: 3px; }
.rac-index small { opacity: .8; }

.rac-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.rac-kpi { background: var(--rac-card); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 6px #0000000f; border-left: 4px solid #607d8b; transition: transform .12s, box-shadow .12s; }
.rac-kpi:hover, .rac-panel:hover { box-shadow: 0 4px 14px #0000001f; }
.rac-kpi:hover { transform: translateY(-1px); }
.rac-kpi span { display: block; color: var(--rac-muted); font-size: .75rem; margin-bottom: 4px; }
.rac-kpi strong { font-size: 1.35rem; display: block; }
.rac-kpi small { color: var(--rac-muted); font-size: .72rem; }
.rac-kpi.good { border-left-color: var(--rac-good); }
.rac-kpi.warning { border-left-color: var(--rac-warn); }
.rac-kpi.danger { border-left-color: var(--rac-bad); }

.rac-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rac-panel { display: block; background: var(--rac-card); border-radius: 12px; padding: 16px; box-shadow: 0 1px 6px #0000000f; min-height: 230px; }
.rac-panel.wide { grid-column: span 2; }
.rac-panel.attention { grid-column: 1 / -1; min-height: auto; }
.rac-panel h3 { font-size: .95rem; font-weight: 600; margin: 0 0 14px; }
.rac-panel h3 small { font-weight: 400; color: var(--rac-muted); font-size: .72rem; margin-left: 6px; }

.rac-bar-row { display: grid; grid-template-columns: 160px 1fr 80px; align-items: center; gap: 10px; margin: 8px 0; font-size: .8rem; border-radius: 6px; padding: 2px 4px; }
.rac-bar-row[href]:hover { background: var(--rac-track); }
.rac-bar-row .label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rac-bar-row .track { height: 12px; background: var(--rac-track); border-radius: 8px; overflow: hidden; }
.rac-bar-row .fill { display: block; height: 100%; background: linear-gradient(90deg, #4f7a96, #26a69a); border-radius: 8px; }
.rac-bar-row .fill.mid { background: linear-gradient(90deg, #f9a825, #fbc02d); }
.rac-bar-row .fill.bad { background: linear-gradient(90deg, #c62828, #ef6c00); }
.rac-bars.cost .fill { background: linear-gradient(90deg, var(--rac-navy), var(--rac-gold)); }
.rac-bar-row b { text-align: right; font-size: .75rem; }

.rac-condition { display: grid; grid-template-columns: 12px 1fr 40px 40px; gap: 8px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--rac-line); font-size: .85rem; }
.rac-condition:hover { background: var(--rac-track); }
.rac-condition small { color: var(--rac-muted); text-align: right; }
.rac-condition b { text-align: right; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #78909c; }
.dot.excellent { background: var(--rac-good); } .dot.good { background: var(--rac-good2); } .dot.fair { background: var(--rac-mid); }
.dot.poor { background: var(--rac-warn); } .dot.critical { background: var(--rac-bad); }

.rac-trend { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 6px; }
.rac-trend-month { flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%; min-width: 0; }
.rac-trend-month .bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; }
.rac-trend-month .bars a { width: 28%; max-width: 12px; min-height: 2px; border-radius: 3px 3px 0 0; }
.rac-trend-month .bars a:hover { filter: brightness(1.15); }
.rac-trend-month .month { font-size: .7rem; color: var(--rac-muted); margin-top: 4px; }
.preventive { background: #26a69a; } .corrective { background: #f9a825; } .emergency { background: #c62828; }
.rac-legend { display: flex; gap: 14px; justify-content: center; margin-top: 10px; font-size: .75rem; }
.rac-legend span { background: none; display: inline-flex; align-items: center; gap: 5px; }
.rac-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.rac-legend .preventive::before { background: #26a69a; } .rac-legend .corrective::before { background: #f9a825; } .rac-legend .emergency::before { background: #c62828; }

.rac-gauge { --pct: 0%; width: 160px; height: 160px; margin: 10px auto; border-radius: 50%; background: conic-gradient(var(--rac-good) 0 var(--pct), var(--rac-track) var(--pct) 100%); display: grid; place-items: center; }
.rac-gauge .value { width: 118px; height: 118px; border-radius: 50%; background: var(--rac-card); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rac-gauge strong { font-size: 1.5rem; }
.rac-gauge span { font-size: .75rem; color: var(--rac-muted); }

.rac-matrix { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.rac-matrix .cell { aspect-ratio: 1.4; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: .55; }
.rac-matrix .cell.has { opacity: 1; box-shadow: inset 0 0 0 2px #0003; }
.rac-matrix .cell:hover { opacity: 1; }
.rac-matrix .cell b { font-size: 1rem; color: #fff; }
.rac-matrix .cell small { font-size: .6rem; color: #fffc; }
.rac-matrix .low { background: #66bb6a; } .rac-matrix .medium { background: #f9a825; } .rac-matrix .high { background: #ef6c00; } .rac-matrix .critical { background: #c62828; }
.rac-axis { display: flex; justify-content: space-between; font-size: .7rem; color: var(--rac-muted); margin-top: 6px; }

.rac-table-wrap { overflow-x: auto; }
.rac-panel table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.rac-panel th { text-align: left; color: var(--rac-muted); font-weight: 500; font-size: .75rem; padding: 6px 8px; border-bottom: 1px solid var(--rac-line); }
.rac-panel td { padding: 9px 8px; border-bottom: 1px solid var(--rac-line); }
.rac-panel tbody tr { cursor: pointer; }
.rac-panel tbody tr:hover { background: var(--rac-track); }
.rac-panel td.drill { color: var(--rac-gold); text-align: right; white-space: nowrap; }
.rac-badge { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: .7rem; font-weight: 600; background: #eceff1; color: #455a64; }
.rac-badge.urgent { background: #ffebee; color: var(--rac-bad); } .rac-badge.high { background: #fff3e0; color: var(--rac-warn); }
.rac-badge.medium { background: #e3f2fd; color: #1565c0; }

.rac-qr-card { border: 1px solid var(--rac-line); border-radius: 12px; padding: 14px; text-align: center; background: var(--rac-card); }
.rac-qr-title { font-weight: 600; font-size: .85rem; margin-bottom: 6px; }
.rac-qr-img svg { width: 170px; height: 170px; margin: 0 auto; }
.dark .rac-qr-img svg { background: #fff; border-radius: 6px; }
.rac-qr-actions { display: flex; gap: 10px; justify-content: center; margin-top: 8px; font-size: .8rem; }
.rac-qr-actions a { color: var(--rac-navy); text-decoration: underline; }
.dark .rac-qr-actions a { color: #8cc3ea; }
.rac-qr-note { font-size: .72rem; color: var(--rac-muted); margin-top: 6px; }

@media (max-width: 1100px) {
    .rac-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rac-grid { grid-template-columns: 1fr; }
    .rac-panel.wide { grid-column: auto; }
}
@media (max-width: 520px) {
    .rac-bar-row { grid-template-columns: 100px 1fr 64px; }
    .rac-kpi strong { font-size: 1.1rem; }
}

/* Halaman login: panel merek terang dan tenang di kiri, formulir di kanan. Hanya CSS, tanpa gambar atau font tambahan. */
.fi-simple-layout:has(.rac-auth-hero) { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; align-items: stretch; justify-content: stretch; background: #ffffff; }
.dark .fi-simple-layout:has(.rac-auth-hero) { background: #0f141a; }
.fi-simple-layout:has(.rac-auth-hero) .fi-simple-main-ctn { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.fi-simple-layout:has(.rac-auth-hero) .fi-simple-main { width: 100%; max-width: 420px; margin: 0; border-radius: 16px; position: relative; z-index: 2; box-shadow: 0 1px 2px #0b3a5c0f, 0 12px 40px #0b3a5c14; border: 1px solid #e9edf1; }
.dark .fi-simple-layout:has(.rac-auth-hero) .fi-simple-main { border-color: #ffffff14; }
.fi-simple-layout:has(.rac-auth-hero) .fi-simple-main::before { content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--rac-gold), transparent); }
.fi-simple-layout:has(.rac-auth-hero) .fi-simple-main .fi-logo { display: none; }

.rac-auth-hero { position: relative; overflow: hidden; background: #f7f5f0; color: var(--rac-navy); padding: 48px 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; border-right: 1px solid #ebe6dc; }
.dark .rac-auth-hero { background: #131a22; color: #e6edf3; border-right-color: #ffffff12; }
.rac-auth-hero > *:not(.rac-auth-lines) { position: relative; z-index: 1; }
.rac-auth-brand { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; letter-spacing: .02em; font-weight: 500; }
.rac-auth-brand b { font-weight: 800; letter-spacing: .08em; }
.rac-auth-brand img { width: 36px; height: 36px; border-radius: 9px; }
.rac-auth-copy { max-width: 460px; }
.rac-auth-eyebrow { margin: 0 0 18px; color: #9a7531; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.dark .rac-auth-eyebrow { color: var(--rac-gold); }
.rac-auth-copy h2 { margin: 0 0 16px; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif; font-size: 2.55rem; line-height: 1.15; font-weight: 500; letter-spacing: -.01em; }
.rac-auth-lead { margin: 0 0 30px; font-size: .98rem; line-height: 1.65; color: #4f6273; max-width: 400px; }
.dark .rac-auth-lead { color: #9fb0bf; }
.rac-auth-copy ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.rac-auth-copy li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-top: 1px solid #e3ddd0; font-size: .9rem; color: #2c3e4f; }
.dark .rac-auth-copy li { border-top-color: #ffffff1a; color: #cdd8e2; }
.rac-auth-copy li span { font-size: .7rem; font-weight: 600; color: #9a7531; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.rac-auth-foot { margin: 0; font-size: .76rem; color: #8a96a1; letter-spacing: .02em; }

/* Garis halus: kisi tipis dan busur konsentris samar di pojok kanan bawah. */
.rac-auth-lines { position: absolute; inset: 0; pointer-events: none; background:
    radial-gradient(circle at 105% 108%, transparent 0 160px, #c9963e33 160px 161px, transparent 161px 220px, #0b3a5c14 220px 221px, transparent 221px 280px, #0b3a5c0f 280px 281px, transparent 281px 340px, #0b3a5c0a 340px 341px, transparent 341px),
    repeating-linear-gradient(90deg, #0b3a5c07 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, #0b3a5c07 0 1px, transparent 1px 56px); }
.dark .rac-auth-lines { opacity: .5; filter: invert(1); }

@media (max-width: 900px) {
    .fi-simple-layout:has(.rac-auth-hero) { grid-template-columns: 1fr; align-content: start; background: #f7f5f0; }
    .dark .fi-simple-layout:has(.rac-auth-hero) { background: #131a22; }
    .rac-auth-hero { padding: 28px 24px 16px; gap: 0; border-right: 0; background: transparent; }
    .rac-auth-copy, .rac-auth-foot, .rac-auth-lines { display: none; }
    .rac-auth-brand { justify-content: center; }
    .fi-simple-layout:has(.rac-auth-hero) .fi-simple-main-ctn { align-items: flex-start; padding: 8px 16px 40px; }
}

/* Bagian umum: daftar agenda, chip status, jadwal ruang mingguan. */
.rac-panel h3 small a { color: var(--rac-gold); }
.rac-list { display: flex; flex-direction: column; }
.rac-list-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 9px 4px; border-bottom: 1px solid var(--rac-line); }
.rac-list-row:hover { background: var(--rac-track); }
.rac-list-row:last-child { border-bottom: 0; }
.rac-list-row .time { font-weight: 700; font-size: .9rem; color: var(--rac-navy); line-height: 1.1; }
.dark .rac-list-row .time { color: #8cc3ea; }
.rac-list-row .time small { display: block; font-weight: 400; color: var(--rac-muted); font-size: .72rem; }
.rac-list-row .body { min-width: 0; }
.rac-list-row .body b { display: block; font-size: .85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rac-list-row .body small { display: block; color: var(--rac-muted); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rac-days { width: 52px; text-align: center; font-size: .65rem; text-transform: uppercase; color: var(--rac-muted); border-radius: 8px; padding: 4px 0; background: var(--rac-track); line-height: 1.1; }
.rac-days b { display: block; font-size: 1rem; color: var(--rac-text); }
.rac-days.soon { background: #fff3e0; color: var(--rac-warn); } .rac-days.soon b { color: var(--rac-warn); }
.rac-days.late { background: #ffebee; color: var(--rac-bad); } .rac-days.late b { color: var(--rac-bad); }
.dark .rac-days.soon, .dark .rac-days.late { background: rgb(39 39 42); }

.rac-chip { display: inline-block; padding: 2px 9px; border-radius: 20px; font-size: .7rem; font-weight: 600; background: #eceff1; color: #455a64; white-space: nowrap; }
.rac-chip.approved, .rac-chip.returned, .rac-chip.issued { background: #e8f5e9; color: var(--rac-good); }
.rac-chip.requested, .rac-chip.submitted { background: #fff3e0; color: var(--rac-warn); }
.rac-chip.in_use { background: #e3f2fd; color: #1565c0; }

.rac-schedule-wrap { overflow-x: auto; padding: 0; min-height: auto; }
.rac-schedule { width: 100%; min-width: 900px; border-collapse: collapse; table-layout: fixed; font-size: .8rem; }
.rac-schedule th, .rac-schedule td { border: 1px solid var(--rac-line); padding: 6px; vertical-align: top; }
.rac-schedule thead th { background: var(--rac-navy); color: #fff; font-weight: 600; text-align: center; }
.rac-schedule thead th:first-child { width: 160px; text-align: left; }
.rac-schedule thead th small { display: block; font-weight: 400; opacity: .8; font-size: .7rem; }
.rac-schedule thead th.today { background: var(--rac-gold); }
.rac-schedule tbody th { text-align: left; font-weight: 600; background: var(--rac-track); }
.rac-schedule tbody th small { display: block; color: var(--rac-muted); font-weight: 400; font-size: .7rem; }
.rac-schedule td { height: 64px; }
.rac-schedule td.today { background: #c9963e12; }
.rac-panel .rac-schedule tbody tr { cursor: default; }
.rac-panel .rac-schedule tbody tr:hover { background: transparent; }
.rac-slot { display: block; border-left: 4px solid var(--rac-good); background: #e8f5e9; border-radius: 6px; padding: 4px 6px; margin-bottom: 4px; color: #1f2d3a; }
.rac-slot.requested { border-left-color: var(--rac-warn); background: #fff3e0; }
.rac-slot b { display: block; font-size: .72rem; }
.rac-slot span { display: block; font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rac-slot:hover { filter: brightness(.96); }

/* Dasbor Pimpinan */
.rac-lead a { color: inherit; }
.rac-lead .rac-header p a { color: var(--rac-gold); font-weight: 600; }
.rac-lead-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; background: var(--rac-card); border-radius: 14px; padding: 20px 24px; box-shadow: 0 1px 6px #0000000f; margin-bottom: 16px; }
.rac-lead-score { display: flex; gap: 20px; align-items: center; }
.rac-lead-score .ring { --c: var(--rac-good); flex: none; width: 128px; height: 128px; border-radius: 50%; background: conic-gradient(var(--c) 0 var(--pct), var(--rac-track) var(--pct) 100%); display: grid; place-items: center; }
.rac-lead-score.warning .ring { --c: var(--rac-mid); }
.rac-lead-score.danger .ring { --c: var(--rac-bad); }
.rac-lead-score .ring > div { width: 100px; height: 100px; border-radius: 50%; background: var(--rac-card); display: grid; place-content: center; text-align: center; }
.rac-lead-score .ring strong { font-size: 1.9rem; line-height: 1; }
.rac-lead-score .ring span { font-size: .7rem; color: var(--rac-muted); }
.rac-lead-score h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; }
.rac-lead-score p { font-size: .85rem; color: var(--rac-muted); margin: 0; line-height: 1.5; }
.rac-lead-parts { display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.rac-lead-parts .part { display: grid; grid-template-columns: 190px 1fr 44px; gap: 10px; align-items: center; font-size: .8rem; }
.rac-lead-parts .track { height: 8px; background: var(--rac-track); border-radius: 8px; overflow: hidden; }
.rac-lead-parts .fill { height: 100%; border-radius: 8px; background: var(--rac-good); }
.rac-lead-parts .fill.warning { background: var(--rac-mid); }
.rac-lead-parts .fill.danger { background: var(--rac-bad); }
.rac-lead-parts b { text-align: right; }
.rac-lead-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-bottom: 16px; }
.rac-decision { display: grid; grid-template-columns: 112px 1fr auto; gap: 12px; align-items: center; padding: 10px 4px; border-bottom: 1px solid var(--rac-line); font-size: .85rem; }
.rac-decision:last-child { border-bottom: 0; }
.rac-decision:hover { background: var(--rac-track); }
.rac-decision strong { white-space: nowrap; }
.rac-chip.info { background: #e3f2fd; color: #1565c0; }
.rac-chip.danger { background: #ffebee; color: var(--rac-bad); }
.rac-insights { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.rac-insights li { position: relative; padding: 2px 0 2px 18px; font-size: .85rem; line-height: 1.5; }
.rac-insights li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: #2a78d6; }
.rac-insights li.good::before { background: var(--rac-good); }
.rac-insights li.warning::before { background: var(--rac-mid); }
.rac-insights li.danger::before { background: var(--rac-bad); }
.rac-lead-charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rac-lead-charts > * { min-width: 0; }
.rac-lead-charts .span-2 { grid-column: span 2; }
.rac-lead-charts .span-full { grid-column: 1 / -1; }
.rac-lead-charts .rac-panel { min-height: 0; }
.rac-lead-foot { margin-top: 14px; }
.rac-lead-foot a { color: var(--rac-gold); }
@media (max-width: 1100px) {
    .rac-lead-hero, .rac-lead-split { grid-template-columns: 1fr; }
    .rac-lead-charts { grid-template-columns: 1fr; }
    .rac-lead-charts .span-2 { grid-column: auto; }
}
@media (max-width: 520px) {
    .rac-lead-score { flex-direction: column; text-align: center; }
    .rac-lead-parts .part { grid-template-columns: 1fr 70px 36px; }
    .rac-decision { grid-template-columns: 1fr; gap: 4px; }
}

/* Halaman Mengapa Ruci PRIMA */
.rac-why { color: var(--rac-text); max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.rac-why h1 { font-size: 1.75rem; line-height: 1.25; font-weight: 700; margin: 8px 0 12px; max-width: 760px; }
.rac-why h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 14px; }
.rac-why h3 { font-size: .95rem; font-weight: 700; margin: 0 0 8px; }
.rac-why p { line-height: 1.6; }
.rac-why-hero { background: var(--rac-card); border-radius: 16px; padding: 30px 32px; box-shadow: 0 1px 6px #0000000f; border-top: 4px solid var(--rac-gold); }
.rac-why-hero p { color: var(--rac-muted); max-width: 780px; margin: 0 0 18px; }
.rac-why-cta { display: inline-block; background: var(--rac-navy); color: #fff !important; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: .9rem; }
.rac-why-block { background: var(--rac-card); border-radius: 14px; padding: 22px 24px; box-shadow: 0 1px 6px #0000000f; }
.rac-why-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rac-why-facts div { border-left: 3px solid var(--rac-gold); padding: 4px 0 4px 12px; }
.rac-why-facts strong { display: block; font-size: 1.3rem; }
.rac-why-facts span { font-size: .78rem; color: var(--rac-muted); line-height: 1.4; display: block; }
.rac-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.rac-why-grid article, .rac-why-roles article, .rac-why-steps article { background: var(--rac-track); border-radius: 10px; padding: 14px 16px; }
.rac-why-grid article p, .rac-why-steps article p { font-size: .84rem; color: var(--rac-muted); margin: 6px 0 0; }
.rac-why-grid b { font-size: .9rem; }
.rac-why-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rac-why-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rac-why-roles ul, .rac-why-list { margin: 0; padding-left: 18px; font-size: .85rem; line-height: 1.6; list-style: disc; }
.rac-why-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.rac-why-table th { text-align: left; font-size: .75rem; color: var(--rac-muted); font-weight: 600; padding: 8px; border-bottom: 1px solid var(--rac-line); }
.rac-why-table td { padding: 10px 8px; border-bottom: 1px solid var(--rac-line); vertical-align: top; }
.rac-why-table td:first-child { font-weight: 600; white-space: nowrap; }
.rac-why-note { margin: 14px 0 0; font-size: .82rem; color: var(--rac-muted); background: var(--rac-track); border-radius: 10px; padding: 10px 14px; }
.rac-why-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rac-why-steps span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rac-gold); font-weight: 700; margin-bottom: 4px; }
@media (max-width: 1100px) {
    .rac-why-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rac-why-roles, .rac-why-steps { grid-template-columns: 1fr; }
    .rac-why-grid.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rac-why-table { display: block; overflow-x: auto; }
}
@media (max-width: 520px) {
    .rac-why h1 { font-size: 1.35rem; }
    .rac-why-hero, .rac-why-block { padding: 18px 16px; }
    .rac-why-facts, .rac-why-grid.five { grid-template-columns: 1fr; }
}
