/* Reward charts: header with name and goal, boxes or weekly table filling the page, prize line at the bottom. */
.rc{--c:#1F3A5F;--g:#E9A23B;flex:1;display:flex;flex-direction:column;gap:5mm;height:calc(var(--ph) - 58mm);box-sizing:border-box;color:#111}
.rc-c-red{--c:#B3261E;--g:#F2B8B5}.rc-c-green{--c:#1E6B4A;--g:#9BD4B5}.rc-c-purple{--c:#4B2E83;--g:#C9B6EC}.rc-c-teal{--c:#0F6670;--g:#9ED9DE}.rc-c-black{--c:#222;--g:#ccc}
.rc-head{flex:none;text-align:center;border:.7mm solid var(--c);border-radius:5mm;padding:3mm 6mm;background:linear-gradient(var(--g),var(--g)) bottom/100% 1.6mm no-repeat}
.rc-head p{margin:0}
.rc-kicker{font-size:13pt;font-weight:700;color:var(--c);letter-spacing:.4mm}
[dir=rtl] .rc-kicker{letter-spacing:0}
.rc-name{font-size:30pt;font-weight:800;line-height:1.15;min-height:13mm;color:var(--c)}
.rc-name:empty{width:60%;margin:1mm auto 2mm!important;border-bottom:.4mm solid #999}
.rc-goal{font-size:15pt;font-weight:600}
.rc-blank{display:flex;gap:2mm;align-items:flex-end;justify-content:center}.rc-blank i{width:110mm;border-bottom:.3mm solid #999;min-height:6mm}
.rc-box{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}
.rc-sh{width:100%;height:100%;max-width:100%;max-height:100%}
.rc-sh path{fill:none;stroke:var(--c);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
.rc-box b{position:absolute;font-size:12pt;color:var(--c);opacity:.65}
.rc-path{overflow:hidden}
.rc-grid,.rc-path{flex:1;min-height:0;display:grid;grid-template-columns:repeat(var(--cols),1fr);grid-template-rows:repeat(var(--rows),1fr);gap:3mm 4mm;padding:2mm}
.rc-step{position:relative;display:flex;min-height:0;padding:1mm}
.rc-step::after{content:"";position:absolute;z-index:-1;inset:50% -4mm auto -4mm;border-top:1mm dotted var(--g)}
.rc-end .rc-tro{width:100%;height:100%}
.rc-tro path{fill:var(--g);stroke:var(--c);stroke-width:3;stroke-linejoin:round}
.rc-week{flex:1;height:100%;width:100%;border-collapse:collapse;table-layout:fixed}
.rc-week th{background:var(--c);color:#fff;font-size:11pt;padding:2mm 1mm;border:.3mm solid var(--c)}
.rc-week th:first-child{width:28%}
.rc-week td{border:.3mm solid #888;padding:1mm}
.rc-week td .rc-box{height:calc(min(13mm,(var(--ph) - 140mm)/var(--r)))}
.rc-task{font-size:12pt;font-weight:600;text-align:start}
.rc-week tbody tr:nth-child(even) td{background:#f6f6f6}
.rc-prize{flex:none;display:flex;align-items:center;gap:3mm;font-size:14pt;border:.5mm dashed var(--c);border-radius:4mm;padding:2.5mm 5mm}
.rc-prize .rc-tro{flex:none;width:12mm;height:12mm}
.rc-prize b{font-size:16pt;color:var(--c)}.rc-prize i{flex:1;border-bottom:.3mm solid #999;min-height:7mm}
.rc-weekly .rc-name{font-size:24pt;min-height:10mm}
.rc-weekly{gap:3.5mm}
/* Artwork themes: emblem replaces the trophy, two icons beside the heading. */
.rc-seal{object-fit:contain}.rc-prize .rc-seal{width:16mm;height:16mm}
.rc-arted{position:relative;padding-inline:26mm}
.rc-ic{position:absolute;top:50%;width:20mm;height:20mm;margin-top:-10mm;object-fit:contain}.rc-ic-s{inset-inline-start:3mm}.rc-ic-e{inset-inline-end:3mm}
