/* Registration owns its layout; legacy form styles stay inside their panels. */
.page-registro:has(.registration-hub) { max-inline-size: 1500px !important; }
.registration-hub { display: grid; gap: 28px; padding-bottom: 28px; }
.registration-hub *, .registration-hub *::before { box-sizing: border-box; }
.registration-hub button { font: inherit; cursor: pointer; }
.registration-hub h2, .registration-hub h3, .registration-hub p { margin: 0; }
.rh-datebar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.rh-datebar > div { flex: 1; min-width: 180px; }
.rh-eyebrow { font-size: 11px; letter-spacing: .12em; font-weight: 700; color: #14bfd7; }
.rh-datebar h2 { font-size: 26px; }
.rh-datebar h2 small { display: block; font-size: 14px; color: #94a9be; font-weight: 400; margin-top: 3px; }
.rh-date-label { display: grid; gap: 4px; font-size: 12px; color: #a8b9cd; }
.rh-date-label input { min-height: 44px; max-width: 100%; border: 1px solid #244761; border-radius: 12px; padding: 8px 12px; background: #061626; color: #eef6ff; font: inherit; font-size: 15px; color-scheme: dark; }
.rh-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.rh-compose, .rh-day { min-width: 0; }
.registration-hub h3 { font-size: 22px; line-height: 1.2; }
.rh-hint { color: #92a5bb; font-size: 14px; line-height: 1.45; margin-top: 8px !important; }
.rh-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.registration-hub .rh-action { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; min-height: 156px; padding: 18px 14px; border: 1px solid #225577; border-radius: 20px; background: linear-gradient(145deg,#0d2c44,#061522); color: #f0f7ff; text-align: left; }
.rh-icon { display: grid; place-items: center; width: 42px; height: 42px; font-size: 30px; }
.rh-icon .asset-icon { width: 38px; height: 38px; }
.rh-action strong { font-size: 17px; line-height: 1.2; overflow-wrap: normal; }
.rh-action small { font-size: 12px; color: #9bb2c8; line-height: 1.3; }
.rh-plus { position: absolute; right: 13px; top: 15px; color: #20cbe0; font-size: 23px; }
.rh-secondary { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.rh-secondary button { display: flex; align-items: center; gap: 9px; min-height: 66px; min-width: 0; padding: 12px; border: 1px solid #19394f; border-radius: 14px; background: #061521; color: #c8d6e4; font-size: 14px; text-align: left; }
.rh-secondary .asset-icon { width: 25px; height: 25px; }
.rh-secondary b { color: #30bfd6; margin-left: auto; }
.registration-hub .rh-more { display: flex; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; margin-top: 8px; padding: 10px 2px; border: 0; background: transparent; color: #91a6bd; text-align: left; font-size: 13px; }
.rh-day { padding: 22px; border: 1px solid #203e55; border-radius: 22px; background: linear-gradient(145deg,#091c2e,#05121f); }
.rh-day > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid #1b344a; }
.rh-day-heading-actions { display:flex; align-items:flex-start; gap:12px; }
.rh-day-heading-actions .text-action { white-space:nowrap; }
.rh-total { color: #20c5dc; font-size: 24px; font-weight: 750; white-space: nowrap; text-align: right; }
.rh-total small { display: block; color: #9bb1c8; font-size: 12px; font-weight: 400; }
.rh-entry { display: flex; align-items: center; width: 100%; min-height: 76px; gap: 12px; padding: 14px 0; border: 0; border-bottom: 1px solid #193247; background: transparent; color: #edf6ff; text-align: left; }
.rh-entry:last-child { border-bottom: 0; }
.rh-entry-icon { display: grid; place-items: center; width: 32px; flex: 0 0 32px; font-size: 24px; }
.rh-entry-icon .asset-icon { width: 28px; height: 28px; }
.rh-entry-copy { flex: 1; min-width: 0; }
.rh-entry-copy strong { display: block; overflow-wrap: anywhere; font-size: 15px; }
.rh-entry-copy small { display: block; color: #8fa7be; margin-top: 3px; font-size: 12px; overflow-wrap: anywhere; }
.rh-entry-value { flex: 0 0 auto; font-size: 15px; text-align: right; }
.rh-entry-value small { display: block; margin-top: 4px; font-size: 11px; color: #20bfd5; }
.rh-empty { padding: 30px 12px; text-align: center; color: #8fa7be; }
.rh-empty > span { display: block; font-size: 32px; color: #22c8d8; margin-bottom: 8px; }
.rh-empty strong { color: #cfdfec; }
.rh-empty p { margin-top: 7px; font-size: 14px; }
.rh-pending { display: flex; align-items: center; width: 100%; gap: 12px; padding: 14px; margin-top: 14px; border: 1px solid #0d839b; border-radius: 14px; color: #d2f9ff; background: #0a2b3b; text-align: left; }
.rh-pending small { display: block; margin-top: 4px; font-size: 12px; color: #97bdcc; }
.rh-pending b { margin-left: auto; }
.rh-error { color: #ffb6a3; font-size: 13px; margin-top: 14px !important; }
.rh-history { min-width: 0; border-top: 1px solid #203b51; }
.rh-history > summary { cursor: pointer; display: flex; justify-content: space-between; padding: 18px 0; color: #b9cede; font-weight: 650; }
.rh-history .history-section { position: static !important; padding: 0 !important; width: 100% !important; margin: 0 !important; }
.registration-hub :is(button,input,summary):focus-visible { outline: 2px solid #26d4e6; outline-offset: 3px; }
.registration-hub button:hover { filter: brightness(1.12); }
@media(min-width: 900px) {
  .rh-columns { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 32px; }
  .rh-compose { position: sticky; top: 24px; }
}
/* Tablet horizontal leaves a narrower compose column beside the day summary.
   Keep the three primary actions equal-width while letting their labels fit. */
@media (min-width: 600px) and (max-width: 1199px) {
  .rh-action strong { font-size: 14px; letter-spacing: -.02em; }
}
@media(max-width: 599px) {
  .registration-hub { gap: 22px; padding-bottom: 22px; }
  .registration-hub h3 { font-size: 20px; }
  .rh-datebar { gap: 12px; }
  .rh-datebar > div { min-width: 140px; }
  .rh-datebar h2 { font-size: 23px; }
  .rh-datebar h2 small { font-size: 12px; }
  .rh-date-label input { padding: 7px; font-size: 13px; }
  .rh-actions { gap: 7px; margin-top: 16px; }
  .registration-hub .rh-action { padding: 14px 8px; min-height: 134px; border-radius: 16px; gap: 7px; }
  .rh-action strong { font-size: 13px; letter-spacing: -.035em; }
  .rh-action small { font-size: 11px; }
  .rh-icon { width: 36px; height: 36px; font-size: 27px; }
  .rh-icon .asset-icon { width: 32px; height: 32px; }
  .rh-plus { font-size: 19px; right: 8px; top: 12px; }
  .rh-secondary { gap: 7px; }
  .rh-secondary button { font-size: 12px; padding: 10px 8px; gap: 6px; }
  .rh-secondary .asset-icon { width: 22px; height: 22px; }
  .rh-day { padding: 16px 14px; }
  .rh-day-heading-actions { flex-direction:column; align-items:flex-end; gap:4px; }
  .rh-entry { gap: 9px; }
  .rh-entry-copy strong, .rh-entry-value { font-size: 14px; }
}
