/* =====================================================================
   RSI · enterrsi.si · rsi-r.css (v1.12.0, Nov 19, 2026)
   Your SI Rights and SI Recalls. Uses the site's tokens and the shared
   pieces of rsi-g.css, rsi-o.css and rsi-s.css (cards, chips, tiles).
   ===================================================================== */

/* ---------------- shared ---------------- */
.rr-advice { display: grid; gap: 10px; justify-items: center; text-align: center; margin-top: clamp(20px, 2.6vw, 32px); border-color: rgba(255, 210, 122, .32); }
.rr-advice > * + * { margin-top: 0; }
.rr-advice .k { color: var(--sw-part); }
.rr-advice .body-copy { max-width: 92ch; }
.band > .wrap > .sec-head + .rr-advice { margin-top: 0; }
.rr-cite, .rr-sec { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .03em; line-height: 1.6; color: var(--dim); overflow-wrap: anywhere; }
.rr-sec a { color: var(--mute); }
.rr-kind { display: block; margin-top: 3px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.rr-srcbox { margin-top: clamp(20px, 2.6vw, 32px); }
.rr-more { justify-content: center; margin-top: clamp(26px, 3.4vw, 44px); }
.sw-due > span + span { min-width: 0; }
.sw-card .sw-date .num { color: var(--ice); }
.os-center + .rr-more { margin-top: clamp(26px, 3.4vw, 44px); }

/* ---------------- Your SI Rights: the hub ---------------- */
.rr-pcard .h3 { font-size: clamp(18px, 1.5vw, 22px); }
.rr-pcard .k { line-height: 1.5; }
.rr-changes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.rr-changes > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rr-change { display: grid; gap: 10px; align-content: start; }
.rr-change > * + * { margin-top: 0; }
.rr-change .k { color: var(--ion); }
@media (max-width: 820px) { .rr-changes { grid-template-columns: minmax(0, 1fr); } }

/* ---------------- Your SI Rights: one place ---------------- */
.rr-laws { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 20px); }
.rr-laws > * { flex: 1 1 400px; min-width: 0; }
.rr-law { display: grid; gap: 12px; align-content: start; }
.rr-law > * + * { margin-top: 0; }
.rr-law .k { display: flex; }
.rr-rgroup + .rr-rgroup { margin-top: clamp(24px, 3vw, 38px); }
.rr-rights { display: flex; flex-wrap: wrap; gap: clamp(12px, 1.6vw, 20px); }
.rr-rights > * { flex: 1 1 300px; min-width: 0; }
.rr-right { display: grid; gap: 10px; align-content: start; grid-template-rows: auto 1fr auto; }
.rr-right > * + * { margin-top: 0; }
.rr-right .k { color: var(--ion); }
.rr-right .rr-sec { border-top: 1px solid var(--line); padding-top: 10px; }
.rr-steps { margin-bottom: clamp(20px, 2.6vw, 32px); }
.rr-steps .rr-sec { display: block; margin-top: 4px; }
.rr-letter { display: grid; gap: 14px; }
.rr-letter > * + * { margin-top: 0; }
.rr-lhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; }
.rr-lhead > div { display: grid; gap: 6px; min-width: 0; }
.rr-ltext { display: grid; gap: 10px; padding: clamp(16px, 2.2vw, 26px); border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255, 255, 255, .03);
  font-family: var(--f-mono); font-size: 14.5px; line-height: 1.7; color: var(--ice); overflow-wrap: anywhere; }
.rr-ltext p { margin: 0; }
.rr-ltext ol { margin: 0; padding-left: 1.7em; display: grid; gap: 6px; }
.rr-ltext .rr-sig { color: var(--mute); }
.rr-letter .sw-small { text-align: center; }
.rr-enf, .rr-lim { display: grid; gap: 12px; align-content: start; }
.rr-enf > * + *, .rr-lim > * + * { margin-top: 0; }
.rr-enf .h3 { overflow-wrap: anywhere; }

/* ---------------- SI Recalls: the list ---------------- */
.rc-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 16px; margin-bottom: clamp(20px, 2.6vw, 30px); }
.rc-filters .g-f { flex: 1 1 200px; }
.rc-filters select { font-size: 16px; }
.rc-fend { flex: 1 1 220px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding-bottom: 4px; }
.rc-fend .sw-count { padding-bottom: 0; }
.rc-grid > .rc-card { flex-basis: 340px; }
.rc-card .k { color: var(--ion); }
.rc-cdesc { font-size: 15.5px; color: var(--mute); }
#rc-none { margin-top: clamp(12px, 1.6vw, 20px); }
#rc-none[hidden] { display: none; }
.rc-embed, .rc-feeds { display: grid; gap: 12px; align-content: start; }
.rc-embed > * + *, .rc-feeds > * + * { margin-top: 0; }
.rc-prev { display: grid; gap: 6px; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 180, 94, .35); background: linear-gradient(160deg, rgba(255, 154, 60, .08), rgba(79, 163, 255, .06)); }
.rc-pk { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ion); margin: 0; }
.rc-pt { font-family: var(--f-display); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.45; color: var(--ice); margin: 0; }
.rc-pd { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--mute); margin: 0; }
.rc-code { margin: 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .35); font-family: var(--f-mono); font-size: 13px; line-height: 1.6; color: var(--ice); white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------------- SI Recalls: one entry ---------------- */
.rc-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); align-items: stretch; }
@media (max-width: 900px) { .rc-two { grid-template-columns: minmax(0, 1fr); } }
.rc-hap, .rc-when, .rc-said, .rc-stand, .rc-tie { display: grid; gap: 12px; align-content: start; }
.rc-hap > * + *, .rc-when > * + *, .rc-said > * + *, .rc-stand > * + *, .rc-tie > * + * { margin-top: 0; }
.rc-steps li { font-size: 16.5px; }
.rc-tl { display: grid; gap: 0; margin: 0; }
.rc-tl > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.rc-tl > div:first-child { border-top: 0; padding-top: 0; }
.rc-tl dd { margin: 0; color: var(--ice); font-weight: 600; text-align: right; }
.rc-qt { display: none; margin: 0; padding-left: 19px; font-size: 15.5px; line-height: 1.6; color: var(--mute); }
html:not([lang^="en"]) .rc-qt { display: block; }
.rc-qby { margin: 0; padding-left: 19px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--dim); overflow-wrap: anywhere; }
.rc-stand .sw-chips { margin: 0; }
.rc-tie { margin-top: clamp(20px, 2.6vw, 32px); justify-items: center; text-align: center; border-color: rgba(95, 227, 166, .3); }
.rc-tie .k { color: var(--sw-ok); }
.rc-tie .h3 a { color: inherit; }

/* ---------------- the Off Switch Directory: the link back to SI Recalls ---------------- */
.sw-recall { display: grid; gap: 10px; justify-items: center; text-align: center; margin-top: clamp(16px, 2vw, 22px); border-color: rgba(255, 154, 168, .3); }
.sw-recall > * + * { margin-top: 0; }
.sw-recall .k { color: var(--sw-no); }
.sw-recall .h3 a { color: inherit; }

/* ---------------- lists inside the limit cards ---------------- */
.rr-lim .os-pl { list-style: disc; padding-left: 1.25em; display: grid; gap: 8px; margin: 0; }
.rr-lim .os-pl li { padding-left: 2px; }

/* ---------------- the steps: a label, the sentence, the section ---------------- */
.rr-st { display: grid; gap: 4px; min-width: 0; }
.rr-st strong { color: var(--ice); font-size: 17px; }
.rr-st p { margin: 0; }
.rr-covk { color: var(--ion); margin-top: 4px; }
