.rl-body { max-width: 560px; margin: 0 auto; padding: 0 16px 24px; word-break: keep-all; }
.rl-hero { padding: 6px 0 16px; }
.rl-lbl { margin: 0; font-size: 12.5px; color: var(--text-muted); }
.rl-big { display: block; font-size: 32px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.rl-meta { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); }
.rl-pill { display: inline-flex; align-items: center; min-height: 24px; margin-top: 8px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700; }
.rl-pill.is-warn { background: var(--accent-coral-soft); color: var(--accent-coral-soft-text); }
.rl-pill.is-ok { background: var(--accent-teal-soft); color: var(--accent-teal-soft-text); }
.rl-bar { display: flex; gap: 2px; height: 10px; margin: 14px 0 10px; border-radius: 5px; overflow: hidden; }
.rl-bar i { display: block; min-width: 3px; background: var(--k); }
.rl-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.rl-legend p { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; }
.rl-legend p i { flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--k); }
.rl-legend p span { flex: 1; min-width: 0; }
.rl-legend p b { font-weight: 700; color: var(--text-secondary, var(--text)); }
.rl-note { margin: 10px 0 0; font-size: 12px; color: var(--text-muted); }
.rl-empty { margin: 0; padding: 28px 0; text-align: center; font-size: 14px; color: var(--text-muted); border-top: 1px solid var(--border-subtle); }
.rl-sec { padding: 14px 0 6px; border-top: 1px solid var(--border-subtle); }
.rl-sec > h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 6px; font-size: 14px; font-weight: 800; }
.rl-sec > h3 small { font-size: 12px; font-weight: 500; color: var(--text-muted); }
.rl-day { border-bottom: 1px solid var(--border-subtle); }
.rl-day:last-child { border-bottom: 0; }
.rl-day > summary { display: flex; align-items: center; gap: 8px; min-height: var(--ctl-h); padding: 6px 0; list-style: none; cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--text); }
.rl-day > summary::-webkit-details-marker { display: none; }
.rl-day > summary span { flex: 1; min-width: 0; }
.rl-day > summary b { font-weight: 600; color: var(--text-muted); }
.rl-day > summary .icon { flex: none; width: 16px; height: 16px; color: var(--text-muted); transition: transform 0.15s; }
.rl-day[open] > summary .icon { transform: rotate(180deg); }
.rl-ex { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.rl-ci { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--radius-md); background: var(--k); color: #fff; }
.rl-ci .icon { width: 16px; height: 16px; }
.rl-nm { flex: 1; min-width: 0; font-size: 14px; }
.rl-nm b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-nm small { display: block; font-size: 12px; color: var(--text-muted); }
.rl-am { flex: none; font-size: 14px; font-weight: 700; }
.rl-gate { display: flex; align-items: center; gap: 10px; margin: 4px 0 8px; padding: 12px; border-radius: var(--radius-md); background: var(--bg-sunken); }
.rl-gate > .icon { flex: none; width: 20px; height: 20px; color: var(--text-muted); }
.rl-gate > span { flex: 1; min-width: 0; }
.rl-gate b { display: block; font-size: 14px; }
.rl-gate small { display: block; font-size: 12px; color: var(--text-muted); }
.rl-gate .ui-btn { flex: none; }
.rl-xfer { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 0; border-bottom: 1px solid var(--border-subtle); font-size: 14px; }
.rl-xfer > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rl-xfer > .icon { flex: none; width: 16px; height: 16px; color: var(--text-muted); }
.rl-xfer > b { margin-left: auto; flex: none; font-weight: 800; }
.rl-ppl { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; margin: 10px 0 4px; font-size: 13.5px; }
.rl-ppl > * { padding: 7px 0; border-bottom: 1px solid var(--border-subtle); }
.rl-ppl > .rl-ppl__h { padding-top: 0; font-size: 12px; color: var(--text-muted); }
.rl-ppl > .mono-num { padding-left: 16px; text-align: right; }
.rl-ppl > span:not(.mono-num) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.rl-page-open, html.rl-page-open body { overflow: hidden; }
.rl-page { position: fixed; inset: 0; z-index: 1150; display: flex; flex-direction: column; background: var(--bg); color: var(--text); }
.rl-page[hidden] { display: none; }
.rl-page__top { flex: none; display: flex; align-items: center; gap: 4px; min-height: 60px; padding: calc(6px + env(safe-area-inset-top, 0px)) 12px 4px 6px; }
.rl-page__top > div { flex: 1; min-width: 0; }
.rl-page__top h1 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 800; text-wrap: balance; }
.rl-page__top small { display: block; font-size: 12px; color: var(--text-muted); }
.rl-page__scroll { flex: 1; min-height: 0; overflow-y: auto; }
.rl-page__foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 16px calc(env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border-subtle); font-size: 12px; color: var(--text-muted); text-decoration: none; }
.rl-page__foot b { color: var(--brand-fg, var(--brand)); font-size: 14px; font-weight: 800; }
.rl-off { padding: 40px 0; text-align: center; color: var(--text-muted); }
.rl-off p { margin: 0 0 14px; }
@media (min-width: 861px) {
  .rl-page__top { padding-left: max(16px, calc(50% - 296px)); padding-right: max(16px, calc(50% - 296px)); min-height: 72px; }
  .rl-page__foot { padding-left: max(16px, calc(50% - 280px)); padding-right: max(16px, calc(50% - 280px)); }
  .rl-body { padding-top: 8px; }
}
.rl-send-sub { margin: 0 0 12px; font-size: 13px; color: var(--text-muted); }
.rl-lay { margin: 0 0 10px; border: 1px solid var(--border); border-radius: var(--radius-md); }
.rl-lay > div { display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; }
.rl-lay > div + div { border-top: 1px solid var(--border-subtle); }
.rl-lay__ic { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: var(--radius-sm, 8px); background: var(--brand-soft); color: var(--brand-soft-text, var(--brand)); }
.rl-lay__ic.is-lock { background: var(--bg-sunken); color: var(--text-muted); }
.rl-lay__ic .icon { width: 16px; height: 16px; }
.rl-lay > div > span:nth-child(2) { flex: 1; min-width: 0; }
.rl-lay b { display: block; font-size: 14px; font-weight: 800; }
.rl-lay small { display: block; margin-top: 1px; font-size: 12px; line-height: 1.45; color: var(--text-muted); }
.rl-lay .ui-btn { flex: none; align-self: center; }
.rl-sw { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 2px 12px; font-size: 14px; font-weight: 700; }
.rl-sw small { display: block; font-size: 12px; font-weight: 400; color: var(--text-muted); }
.rl-send-note { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--bg-sunken); font-size: 13px; color: var(--text-muted); }
.rl-send-note[hidden] { display: none; }
.rl-send-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rl-send-btns .ui-btn { width: 100%; }
.rc-view.rl-view .rc-scroll { background: var(--bg); padding: 4px 0 24px; }
@media (min-width: 861px) {
  .rc-view.rl-view { display: flex; }
  .rc-view.rl-view .rc-head { padding-left: max(16px, calc(50% - 296px)); padding-right: max(16px, calc(50% - 296px)); min-height: 72px; }
}
