.rmnrl {
  --rmnrl-navy: #123b45; --rmnrl-blue: #202f78; --rmnrl-orange: #ffa51a;
  --rmnrl-bg: #f5f7fc; --rmnrl-text: #1c2858; --rmnrl-muted: #586991; --rmnrl-border: #dce5f4;
  color: var(--rmnrl-text); background: var(--rmnrl-bg); font-family: inherit;
  font-size: 16px; line-height: 1.65; width: 100%; max-width: 1440px; margin-inline: auto;
  padding: clamp(16px, 2vw, 28px); border-radius: 20px; isolation: isolate; box-sizing: border-box;
}
.rmnrl *, .rmnrl *::before, .rmnrl *::after { box-sizing: border-box; }
.rmnrl.rmnrl-cards-only { padding: 0; }
.rmnrl [hidden] { display: none !important; }
.rmnrl button, .rmnrl input, .rmnrl select { font: inherit; letter-spacing: normal; text-transform: none; }
.rmnrl button, .rmnrl a { -webkit-tap-highlight-color: transparent; }
.rmnrl button { cursor: pointer; }
.rmnrl :is(button,a,input,select):focus-visible { outline: 3px solid var(--rmnrl-navy); outline-offset: 4px; }
.rmnrl .rmnrl-heading { font-family: inherit; font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.2; color: var(--rmnrl-navy); margin: 0 0 28px; }
.rmnrl-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rmnrl-search { display: flex; flex: 1 1 250px; align-items: center; gap: 10px; min-width: 0; border: 1px solid var(--rmnrl-border); border-radius: 40px; padding: 0 18px; background: #fff; color: var(--rmnrl-muted); }
.rmnrl-search svg { flex-shrink: 0; }
.rmnrl .rmnrl-search input { border: 0; background: transparent; box-shadow: none; color: var(--rmnrl-text); width: 100%; min-width: 0; padding: 14px 0; border-radius: 4px; height: 54px; }
.rmnrl-status-filters { display: flex; gap: 7px; flex-wrap: wrap; }
.rmnrl-status-filters button, .rmnrl-select select { border: 1px solid var(--rmnrl-border); border-radius: 40px; background: #fff; color: var(--rmnrl-blue); padding: 11px 15px; font-size: 14px; font-weight: 600; min-height: 44px; box-shadow: none; }
.rmnrl-status-filters button[aria-pressed=true] { background: var(--rmnrl-blue); border-color: var(--rmnrl-blue); color: #fff; }
.rmnrl-status-filters button span { margin-left: 5px; font-size: 12px; font-weight: 400; }
.rmnrl-select { flex: 1 1 150px; min-width: 0; max-width: 240px; }
.rmnrl-select select { width: 100%; padding-right: 30px; height: 54px; text-overflow: ellipsis; }
.rmnrl .rmnrl-result { color: var(--rmnrl-muted); font-size: 14px; margin: 12px 0 20px; }
.rmnrl-notice { display: flex; gap: 14px; background: #edf3fb; border: 1px solid var(--rmnrl-border); border-radius: 14px; padding: 19px 22px; margin-bottom: 24px; }
.rmnrl-info { border: 1.5px solid var(--rmnrl-muted); border-radius: 50%; width: 23px; height: 23px; line-height: 21px; text-align: center; flex-shrink: 0; margin-top: 3px; font-weight: 700; }
.rmnrl .rmnrl-notice h3 { font-family: inherit; font-size: 16px; color: var(--rmnrl-navy); margin: 0 0 4px; font-weight: 700; }
.rmnrl .rmnrl-notice p { margin: 0; color: var(--rmnrl-muted); font-size: 14px; line-height: 1.65; }
.rmnrl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rmnrl-groups { display: grid; gap: 32px; min-width: 0; }
.rmnrl-program-section { min-width: 0; }
.rmnrl-program-header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; border-bottom: 1px solid var(--rmnrl-border); padding-bottom: 12px; margin-bottom: 22px; }
.rmnrl .rmnrl-program-heading { font-family: inherit; color: var(--rmnrl-navy); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; font-weight: 700; margin: 0; overflow-wrap: anywhere; }
.rmnrl-program-counts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-left: auto; color: var(--rmnrl-muted); font-size: 13px; }
.rmnrl-card { display: flex; flex-direction: column; min-width: 0; position: relative; overflow: hidden; padding: 27px; border: 1px solid var(--rmnrl-border); border-radius: 22px; background: #fff; box-shadow: 0 8px 24px -20px #123b4540; }
.rmnrl-card::after { content: ''; position: absolute; top: 0; right: 0; width: 29px; height: 29px; background: linear-gradient(45deg, #d3e5fb 50%, var(--rmnrl-bg) 51%); border-bottom-left-radius: 8px; }
.rmnrl-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 9px 16px 0; }
.rmnrl-badge, .rmnrl-featured { padding: 4px 9px; border-radius: 7px; background: #eaf3ff; color: var(--rmnrl-blue); font: 500 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; text-transform: uppercase; letter-spacing: .05em; overflow-wrap: anywhere; }
.rmnrl-badge.rmnrl-pdf { background: #fce9e6; color: #a82d21; }
.rmnrl-featured { background: #fff3d8; color: #785109; }
.rmnrl .rmnrl-title { font-family: inherit; font-size: clamp(22px, 2.15vw, 30px); line-height: 1.12; letter-spacing: -.025em; font-weight: 750; color: var(--rmnrl-text); margin: 0 0 18px; overflow-wrap: anywhere; }
.rmnrl .rmnrl-description { color: var(--rmnrl-muted); font-size: 16px; line-height: 1.75; margin: 0 0 17px; white-space: pre-line; overflow-wrap: anywhere; }
.rmnrl .rmnrl-program { margin: 0 0 12px; font-size: 13px; font-weight: 650; color: var(--rmnrl-navy); overflow-wrap: anywhere; }
.rmnrl .rmnrl-meta { color: var(--rmnrl-muted); font: 12px/1.8 ui-monospace, SFMono-Regular, Consolas, monospace; margin: 0 0 25px; }
.rmnrl-card-footer { margin-top: auto; padding-top: 8px; }
.rmnrl-access { display: inline-block; padding: 5px 11px; border-radius: 24px; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.rmnrl-free { color: #28814b; background: #e7f3e6; }
.rmnrl-awaiting { color: #80561b; background: #fff3de; }
.rmnrl-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: flex-start; }
.rmnrl .rmnrl-download, .rmnrl .rmnrl-preview { display: inline-flex; align-items: center; justify-content: center; gap: 9px; max-width: 100%; min-height: 48px; padding: 11px 18px; border-radius: 30px; color: var(--rmnrl-blue); text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.45; box-shadow: none; white-space: normal; text-align: center; }
.rmnrl .rmnrl-download { background: linear-gradient(105deg, #ff9828, #ffc414); border: 1px solid transparent; flex-wrap: wrap; }
.rmnrl .rmnrl-download:hover { background: linear-gradient(105deg, #ffad39, #ffcf3d); color: var(--rmnrl-blue); }
.rmnrl-download small { font: 11px/1.4 ui-monospace, Consolas, monospace; }
.rmnrl-action-icon { font-size: 24px; line-height: 1; }
.rmnrl .rmnrl-preview { background: #fff; border: 1px solid var(--rmnrl-blue); }
.rmnrl .rmnrl-preview:hover { background: #edf3ff; }
.rmnrl .rmnrl-unavailable { font-size: 13px; color: var(--rmnrl-muted); margin: 0; }
.rmnrl-empty, .rmnrl-error { text-align: center; padding: 48px 20px; background: #fff; border: 1px dashed var(--rmnrl-border); border-radius: 18px; }
.rmnrl :is(.rmnrl-empty,.rmnrl-error) button, .rmnrl .rmnrl-more { background: var(--rmnrl-blue); color: #fff; border: 0; padding: 12px 22px; border-radius: 24px; min-height: 44px; }
.rmnrl .rmnrl-more { display: block; margin: 28px auto 0; }
.rmnrl-reader { width: min(1100px, 96vw); height: 90vh; height: 90dvh; max-width: 96vw; max-height: 94vh; padding: 0; border: 1px solid var(--rmnrl-border); border-radius: 16px; color: var(--rmnrl-text); background: #fff; }
.rmnrl-reader[open] { display: flex; flex-direction: column; }
.rmnrl-reader::backdrop { background: #102332ba; }
.rmnrl-reader-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 16px 20px; }
.rmnrl .rmnrl-reader-bar h2 { font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }
.rmnrl-reader-bar button { flex-shrink: 0; background: #f5f7fc; color: var(--rmnrl-blue); border: 1px solid var(--rmnrl-border); border-radius: 20px; padding: 10px 16px; min-height: 44px; }
.rmnrl .rmnrl-reader-help { font-size: 12px; margin: 0; padding: 0 20px 12px; }
.rmnrl-reader-help a { color: var(--rmnrl-blue); text-decoration: underline; }
.rmnrl-reader iframe { width: 100%; flex: 1; min-height: 0; border: 0; background: #f5f7fc; }
.rmnrl-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1024px) { .rmnrl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rmnrl-search { flex-basis: 100%; } .rmnrl-select { max-width: none; } }
@media (max-width: 640px) { .rmnrl-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .rmnrl-card { padding: 24px; } .rmnrl-status-filters { width: 100%; } .rmnrl-status-filters button { padding: 10px 12px; font-size: 12px; } .rmnrl-select { flex-basis: 125px; } .rmnrl-notice { padding: 16px; } .rmnrl-reader-bar { padding: 12px; } }
@media (prefers-reduced-motion: no-preference) { .rmnrl button, .rmnrl a { transition: background-color .15s ease; } }
