/* v3 PL3-T6-M1 (D-25 account, D-22 notifications page, D-29 release notes) - the T6 page styles. Every rule hangs off .rh
   (rh.css T-01) and reads rh.css tokens, so night, daybreak and system follow the root's data-mode. No markup carries a
   style attribute (the v3 CSP admits none). Prefixes: rh-ac- (account and the shared page frame), rh-nt- (notifications),
   rh-rn- (release notes). Cropper 1.6.2's own rules are in cropper.min.css; .rh-ac__crop only sizes its stage. */

.rh .rh-ac { display: grid; gap: var(--rh-sp-4); min-width: 0; }
.rh .rh-ac__intro { margin: 0; color: var(--rh-text-2); }
.rh .rh-ac__grid { display: grid; gap: var(--rh-sp-4); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .rh .rh-ac__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.rh .rh-ac__side, .rh .rh-ac__main { display: grid; gap: var(--rh-sp-4); min-width: 0; }
.rh .rh-ac__picture { display: grid; gap: var(--rh-sp-3); justify-items: center; text-align: center; }
/* OD-59 rule 3: the card's actions fill the card body (T1's fill group decides equal widths or a full-width stack). The
   Remove wrapper only toggles hidden, so its button is the group's own item. */
.rh .rh-ac__picture > .rh-acts { justify-self: stretch; }
.rh .rh-ac__remove:not([hidden]) { display: contents; }
.rh .rh-ac__avatar { width: 8rem; height: 8rem; border-radius: 50%; object-fit: cover; border: 2px solid var(--rh-line-2); background: var(--rh-well); }
.rh .rh-ac__note { margin: 0; color: var(--rh-text-2); font-size: var(--rh-fs-sm); }
.rh .rh-ac__form { display: grid; gap: var(--rh-sp-3); margin: 0; }
.rh .rh-ac__remove[hidden] { display: none; }
.rh .rh-ac__crop { max-height: 60vh; overflow: hidden; }
.rh .rh-ac__crop-img { display: block; max-width: 100%; }

/* v2.2.302 / #149 (U6) - the Sessions card. A device label is the customer's own User-Agent text when it is not a known
   browser, so it wraps anywhere and never sizes the card. */
.rh .rh-ac__sessions { display: grid; gap: var(--rh-sp-3); min-width: 0; }
.rh .rh-ac__sessions [hidden] { display: none; }
.rh .rh-ac__session-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--rh-sp-2); margin: 0; padding: 0; list-style: none; }
.rh .rh-ac__session { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--rh-sp-2) var(--rh-sp-3); padding: var(--rh-sp-3); border: 1px solid var(--rh-line-2); border-radius: var(--rh-r-sm); background: var(--rh-well); min-width: 0; }
.rh .rh-ac__session-info { display: grid; gap: var(--rh-sp-1); min-width: 0; flex: 1 1 16rem; }
.rh .rh-ac__session-device { margin: 0; font-weight: var(--rh-fw-strong); overflow-wrap: anywhere; }
.rh .rh-ac__session-current { display: inline-block; margin-left: var(--rh-sp-2); padding: 0 var(--rh-sp-2); border: 1px solid var(--rh-success); border-radius: var(--rh-r-sm); font-size: var(--rh-fs-sm); font-weight: var(--rh-fw-strong); }
.rh .rh-ac__session .rh-ac__note { overflow-wrap: anywhere; }
/* Merged with PL6.5-T6-M2 (OD-59 rule 3): "Sign out all other sessions" is its group's own item once shown, as Remove picture. */
.rh .rh-ac__others:not([hidden]) { display: contents; }

/* Notifications page */
.rh .rh-nt__bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--rh-sp-3); }
.rh .rh-nt__summary { margin: 0; font-weight: var(--rh-fw-strong); }
.rh .rh-nt__clear { display: grid; gap: var(--rh-sp-1); justify-items: start; max-width: 32rem; }

/* Release notes. PL5-T6-M3 / #3791 (T6-F): the one track is minmax(0, 1fr) and every release text wraps anywhere, so a
   long URL in an item wraps inside its card and never sizes the page (it set a 597 px track at 390 px). #3792 (T6-G):
   an older release keeps its body in a native <details>. */
.rh .rh-rn__list { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--rh-sp-4); margin: 0; padding: 0; list-style: none; }
.rh .rh-rn__release { min-width: 0; }
.rh .rh-rn__desc { margin: 0 0 var(--rh-sp-2); }
.rh .rh-rn__desc, .rh .rh-rn__items, .rh .rh-rn__sub { overflow-wrap: anywhere; }
.rh .rh-rn__items { margin: 0; padding-left: var(--rh-sp-5); display: grid; gap: var(--rh-sp-1); }
.rh .rh-rn__sub { margin: var(--rh-sp-1) 0 0; padding-left: var(--rh-sp-5); color: var(--rh-text-2); display: grid; gap: var(--rh-sp-1); }
.rh .rh-rn__more-sum { cursor: pointer; width: fit-content; color: var(--rh-accent-text); font-weight: var(--rh-fw-strong); }
.rh .rh-rn__more-sum:focus-visible { outline: 2px solid var(--rh-accent); outline-offset: 2px; border-radius: var(--rh-r-sm); }
.rh .rh-rn__more-body { margin-top: var(--rh-sp-2); }

/* v3 PL3-T6-M2 (D-26 signed-out pages, D-29 error pages) - rh-id-. One card, centred, at most 28rem wide. */
.rh .rh-id { display: grid; justify-items: center; padding: var(--rh-sp-5) 0; }
.rh .rh-id > .rh-card { width: 100%; max-width: 28rem; }
.rh .rh-id__head { display: grid; justify-items: center; gap: var(--rh-sp-2); text-align: center; }
/* PL6.5-T6-M2 / #4768 (U10): the icon is 1em of this font size (T1's .rh-ic), so --rh-fs-3xl (28 px) fills 58% of the
   48 px circle; --rh-fs-xl (19 px) filled 40%. */
.rh .rh-id__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--rh-accent-soft); color: var(--rh-accent-text); font-size: var(--rh-fs-3xl); }
.rh .rh-id__code { margin: 0; font-size: var(--rh-fs-3xl); font-weight: var(--rh-fw-title); line-height: 1; }
.rh .rh-id__h { margin: 0; font-size: var(--rh-fs-2xl); font-weight: var(--rh-fw-title); }
.rh .rh-id__text { margin: 0; color: var(--rh-text-2); }
/* m476 fix round (OD-38, R28): RegisterConfirmation's address sits on its own line. Each run is nowrap, so the line breaks
   only at the <wbr> after "@" or after a "." (T1's RhAddress.EmailRuns, R134), never inside letters, digits or a hyphen. */
.rh .rh-id__addr { display: block; }
.rh .rh-id__addr-run { white-space: nowrap; }
.rh .rh-id__errors { display: grid; gap: var(--rh-sp-1); margin-top: var(--rh-sp-3); padding: var(--rh-sp-2) var(--rh-sp-3); border: 1px solid var(--rh-danger); border-radius: var(--rh-r-sm); background: var(--rh-well); }
.rh .rh-id__error { margin: 0; display: flex; gap: var(--rh-sp-2); align-items: baseline; color: var(--rh-text); }
.rh .rh-id__form { display: grid; gap: var(--rh-sp-3); margin-top: var(--rh-sp-4); }
.rh .rh-id__aside { margin: calc(-1 * var(--rh-sp-2)) 0 0; text-align: right; font-size: var(--rh-fs-sm); }
.rh .rh-id__actions { display: flex; justify-content: center; margin-top: var(--rh-sp-4); }
.rh .rh-id__prompt, .rh .rh-id__classic { margin: var(--rh-sp-3) 0 0; text-align: center; color: var(--rh-text-2); font-size: var(--rh-fs-sm); }

/* v3 PL5-T6-M3 (#3764 #3765 #3767) - Register's accept row and Terms dialog, and the reCAPTCHA widget of the three widget
   pages. The widget is Google's fixed 304 x 78 px frame; its slot is centred, and below 360 px of card it scales down
   (a class rule, not a style attribute: the v3 CSP admits none). */
.rh .rh-id__accept { display: flex; flex-wrap: wrap; align-items: center; gap: var(--rh-sp-1) var(--rh-sp-2); }
.rh .rh-id__terms-open { padding: 0; border: 0; background: none; font: inherit; font-size: var(--rh-fs-sm); color: var(--rh-accent-text); font-weight: var(--rh-fw-strong); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rh .rh-id__terms-open:focus-visible { outline: 2px solid var(--rh-accent); outline-offset: 2px; border-radius: var(--rh-r-sm); }
.rh .rh-id__check-error, .rh .rh-id__captcha-error { margin: 0; display: flex; gap: var(--rh-sp-2); align-items: baseline; color: var(--rh-text); font-size: var(--rh-fs-sm); }
.rh .rh-id__check-error .rh-ic, .rh .rh-id__captcha-error .rh-ic { color: var(--rh-danger); }
.rh .rh-id__captcha-error[hidden] { display: none; }
.rh .rh-id__captcha { display: grid; gap: var(--rh-sp-2); justify-items: center; container: rh-id-captcha / inline-size; }
.rh .rh-id__captcha-widget { display: flex; justify-content: center; min-height: 78px; max-width: 100%; }
@container rh-id-captcha (max-width: 303px) {
  .rh .rh-id__captcha-widget { transform: scale(.85); transform-origin: center top; min-height: 66px; }
}
.rh .rh-id__terms { display: grid; gap: var(--rh-sp-2); max-width: 72ch; overflow-wrap: break-word; border-radius: var(--rh-r-sm); }
.rh .rh-id__terms:focus-visible { outline: 2px solid var(--rh-accent); outline-offset: 4px; }
.rh .rh-id__terms-updated { margin: 0; color: var(--rh-text-2); font-size: var(--rh-fs-sm); }
.rh .rh-id__terms-h { margin: var(--rh-sp-3) 0 0; font-size: var(--rh-fs-lg); font-weight: var(--rh-fw-title); }
.rh .rh-id__terms-sub { margin: var(--rh-sp-2) 0 0; font-size: var(--rh-fs-md); font-weight: var(--rh-fw-strong); }
.rh .rh-id__terms-p { margin: 0; }
