.rv-page { max-width: 1000px; padding-block: clamp(18px, 4vw, 54px) 42px; color: var(--theme-text, #17354b); }
.rv-page .page-head { padding-block: 12px 23px; }
.rv-page .page-head h1 { font-size: clamp(28px, 5vw, 44px); overflow-wrap: anywhere; }
.rv-page .page-head > p { font-size: 16px; }
.rv-back { display: inline-flex; align-items: center; min-height: 44px; color: var(--theme-link, #244dd7); font-weight: 640; }
.rv-card, .rv-table-wrap { background: var(--theme-panel, #fff); border: 1px solid var(--theme-border, #d5dbe0); border-radius: 16px; }
.rv-card { padding: clamp(18px, 4vw, 32px); margin: 0 0 18px; }
.rv-card time, .rv-note, .rv-choice p { color: var(--theme-muted, #526575); }
.rv-card h2 { margin: 7px 0 18px; font-size: 24px; }
.rv-tabs { display: flex; gap: 10px; margin: 0 0 20px; }
.rv-tabs a, .rv-action, .rv-secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 7px; padding: 10px 15px; font: 650 15px/1.35 var(--plaivi-font, sans-serif); text-align: center; }
.rv-tabs a, .rv-secondary { background: var(--theme-panel, #fff); border: 1px solid var(--theme-border, #d5dbe0); color: var(--theme-text, #17354b); }
.rv-action, .rv-tabs a[aria-current] { background: var(--theme-action, #244dd7); border: 1px solid transparent; color: white; }
.rv-action, .rv-secondary { cursor: pointer; }
.rv-action:focus-visible, .rv-secondary:focus-visible, .rv-tabs a:focus-visible, .rv-back:focus-visible { outline: 3px solid var(--theme-link, #244dd7); outline-offset: 3px; }
.rv-scores { list-style: none; display: grid; gap: 14px; padding: 0; margin: 0; }
.rv-scores li { padding: 7px 0; }
.rv-scores li > div { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 8px; font-size: 16px; }
.rv-scores small { color: var(--theme-link, #244dd7); font-size: 13px; font-weight: 700; }
.rv-meter { display: block; width: 100%; height: 8px; background: var(--theme-wash, #e8ecf1); border-radius: 5px; overflow: hidden; }
.rv-meter i { display: block; height: 100%; background: var(--theme-action, #244dd7); border-radius: 5px; }
.rv-low .rv-meter i { background: var(--theme-link, #17354b); }
.rv-table-wrap { overflow-x: auto; padding: clamp(15px, 3vw, 25px); margin-bottom: 18px; }
.rv-table { width: 100%; margin: 0; border-collapse: collapse; text-align: left; font-size: clamp(14px, 2.4vw, 16px); }
.rv-table caption { text-align: left; font-size: 20px; font-weight: 720; margin-bottom: 12px; }
.rv-table th, .rv-table td { padding: 10px 8px; border-bottom: 1px solid var(--theme-border, #e1e5ec); }
.rv-table thead { color: var(--theme-muted, #526575); }
.rv-history summary { cursor: pointer; min-height: 44px; display: list-item; font-size: 18px; font-weight: 700; }
.rv-history ul { padding: 0; list-style: none; }
.rv-history a { display: flex; flex-wrap: wrap; align-items: center; min-height: 48px; gap: 5px 12px; border-top: 1px solid var(--theme-border, #e1e5ec); }
.rv-history a span { margin-inline-start: auto; color: var(--theme-link, #244dd7); }
.rv-deep-link { padding-block: 10px 34px; }
.rv-note { font-size: 14px; margin-block: 14px 0; line-height: 1.55; }
.rv-sheet { --sheet-gutter: clamp(18px, 4vw, 33px); width: min(640px, 100%); max-width: 100%; max-height: 94dvh; position: fixed; inset: auto 0 0; margin: 0 auto; padding: var(--sheet-gutter); padding-bottom: calc(var(--sheet-gutter) + env(safe-area-inset-bottom, 0px)); border: 1px solid var(--theme-border, #d5dbe0); border-radius: 20px 20px 0 0; color: var(--theme-text, #17354b); background: var(--theme-panel, #fff); }
.rv-sheet::backdrop { background: rgb(11 18 28 / 60%); }
.rv-sheet h2 { font-size: clamp(24px, 5vw, 32px); }
.rv-sheet header p { margin: 8px 0 20px; color: var(--theme-muted, #526575); line-height: 1.55; }
.rv-choice { margin: 0 0 16px; padding: 12px 13px 13px; border: 1px solid var(--theme-border, #d5dbe0); border-radius: 9px; }
.rv-choice legend { padding-inline: 5px; font-weight: 720; }
.rv-choice p { margin: 0 0 9px; font-size: 14px; }
.rv-choice div, .rv-sheet-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rv-choice label { position: relative; cursor: pointer; }
.rv-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.rv-choice label span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--theme-border, #d5dbe0); border-radius: 7px; }
.rv-choice input:checked + span { background: var(--theme-action, #244dd7); color: #fff; }
.rv-choice input:focus-visible + span { outline: 2px solid var(--theme-link, #244dd7); outline-offset: 2px; }
