.rcstor-portal {
    max-width: 32rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: var(--rcstor-secondary, #f4f6f8);
    color: var(--rcstor-text, #0d1b2a);
    border-radius: 8px;
}

.rcstor-portal-map {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.rcstor-map-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.rcstor-map-floor {
    width: 100%;
}

.rcstor-map-floor h3,
.rcstor-map-floor h4 {
    margin: 0 0 0.4rem;
}

.rcstor-portal h2 {
    margin: 0 0 0.75rem;
}

.rcstor-portal form p {
    margin: 0 0 0.85rem;
}

.rcstor-portal label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.rcstor-portal input[type="text"],
.rcstor-portal input[type="password"],
.rcstor-portal input[type="email"],
.rcstor-portal input[type="number"],
.rcstor-portal input[type="date"],
.rcstor-portal select {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.7rem;
    border: 1px solid #c5cdd6;
    border-radius: 4px;
    background: #fff;
    color: inherit;
}

.rcstor-filters input,
.rcstor-filters select {
    width: auto;
}

.rcstor-portal button,
.rcstor-portal input[type="submit"] {
    border: 0;
    border-radius: 4px;
    padding: 0.6rem 1rem;
    background: var(--rcstor-button, #0d1b2a);
    color: var(--rcstor-button-text, #fff);
    cursor: pointer;
}

.rcstor-portal-links {
    margin-top: 1rem;
}

.rcstor-portal-links a {
    color: var(--rcstor-button, #0d1b2a);
}

.rcstor-svg {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: var(--rcstor-secondary, #f4f6f8);
    border: 1px solid var(--rcstor-line, #e2e8ee);
}

.rcstor-map-ground {
    fill: var(--rcstor-secondary, #f4f6f8);
}

.rcstor-map-feature {
    fill: var(--rcstor-text, #0d1b2a);
    font-size: 14px;
    font-weight: 600;
}

.rcstor-unit-available {
    fill: #e7f6ee;
    stroke: #0d1b2a;
    stroke-width: 2;
}

.rcstor-unit-rented,
.rcstor-unit-held {
    fill: #d5d9de;
    stroke: #6b7280;
}

.rcstor-unit-reserved,
.rcstor-unit-pastdue {
    fill: #f8e7c3;
    stroke: #8a5a00;
}

.rcstor-unit-maintenance {
    fill: #ece7e2;
    stroke: #6b5e54;
}

.rcstor-svg text {
    font-size: 12px;
    fill: #0d1b2a;
    pointer-events: none;
}

.rcstor-filters,
.rcstor-map-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.rcstor-contract {
    max-height: 16rem;
    overflow: auto;
    background: #fff;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.rcstor-error {
    color: #8a1f11;
}

#rcstor-card,
#rcstor-office-card {
    padding: 0.6rem;
    background: #fff;
    border: 1px solid #c5cdd6;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    min-height: 2.75rem;
}

.rcstor-pay-main {
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem 1.35rem 1.5rem;
}

.rcstor-due-now {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.rcstor-screen-reader {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.rcstor-customer-portal {
    background: var(--rcstor-secondary, #f4f6f8);
}

body.rcstor-customer-portal .rcstor-header {
    background: #fff;
}

body.rcstor-customer-portal .rcstor-entry {
    margin: 0;
}

body.rcstor-customer-portal .rcstor-layout {
    padding-top: 1.15rem;
}

body.rcstor-customer-portal .rcstor-portal,
body.rcstor-customer-portal .rcstor-rent,
body.rcstor-customer-portal .rcstor-checkout,
body.rcstor-customer-portal .rcstor-account,
body.rcstor-customer-portal .rcstor-steps {
    max-width: none;
    margin-left: 0;
}

.rcstor-note,
.rcstor-error {
    background: #fff;
    border-radius: 4px;
    padding: 0.75rem 0.9rem;
}

.rcstor-note {
    color: #14532d;
}

.rcstor-rent > p {
    margin: 0 0 0.85rem;
}

.rcstor-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.4rem;
}

.rcstor-type-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--rcstor-line, #e2e8ee);
    border-radius: 14px;
    box-shadow: none;
    padding: 0.95rem 1.05rem 1rem;
}

.rcstor-type-card h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
}

.rcstor-type-body {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin: 0.55rem 0 0.75rem;
}

.rcstor-type-body img,
.rcstor-modal-unit img {
    width: 148px;
    height: 86px;
    object-fit: cover;
    flex: 0 0 auto;
}

.rcstor-type-body p,
.rcstor-modal-unit p {
    margin: 0.15rem 0 0;
}

.rcstor-type-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.rcstor-type-foot form,
.rcstor-type-price {
    margin: 0;
}

.rcstor-type-price {
    font-weight: 600;
}

a.rcstor-dark-button,
button.rcstor-dark-button {
    display: inline-block;
    background: var(--rcstor-button, #123d63);
    color: var(--rcstor-button-text, #fff);
    border: 0;
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}

.rcstor-map-link {
    margin-top: 1rem;
}

.rcstor-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: auto;
    padding: 4.5rem 1rem 2rem;
    background: rgba(45, 45, 45, 0.55);
}

.rcstor-modal {
    width: min(40rem, 100%);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.rcstor-modal header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.rcstor-modal header h2 {
    margin: 0;
    font-size: 1.15rem;
}

.rcstor-modal-x {
    color: #666;
    text-decoration: none;
    font-size: 1.6rem;
    line-height: 1;
}

.rcstor-modal-body {
    padding: 1rem 1rem 0.25rem;
}

.rcstor-modal-unit {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.rcstor-modal h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.rcstor-pay-option {
    display: flex;
    width: fit-content;
    max-width: 100%;
    gap: 0.55rem;
    align-items: flex-start;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    padding: 0.65rem 0.75rem;
    margin: 0 0 0.55rem;
    background: #fff;
}

.rcstor-pay-option strong {
    display: block;
    margin-top: 0.15rem;
}

.rcstor-modal select {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 0.5rem;
    padding: 0.5rem 0.6rem;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.rcstor-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
    padding: 0.75rem 1rem;
    border-top: 1px solid #e5e5e5;
}

a.rcstor-close-button {
    display: inline-block;
    background: var(--rcstor-button, #123d63);
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
}

.rcstor-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.85fr);
    gap: 1.25rem 1.5rem;
    align-items: start;
}

.rcstor-checkout-form h1,
.rcstor-checkout-form h2 {
    margin: 1.35rem 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.rcstor-checkout-form h1:first-child,
.rcstor-checkout-form h2:first-child {
    margin-top: 0;
}

.rcstor-field {
    margin: 0 0 0.85rem;
}

.rcstor-field label,
.rcstor-protection-label {
    display: block;
    margin-bottom: 0.28rem;
    font-weight: 700;
}

.rcstor-field input[type="text"],
.rcstor-field input[type="email"],
.rcstor-field input[type="password"],
.rcstor-field input[type="file"],
.rcstor-field select,
.rcstor-protection select {
    width: 100%;
    box-sizing: border-box;
    padding: 0.48rem 0.65rem;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    background: #fff;
    color: inherit;
    font: inherit;
}

.rcstor-field-row {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 0.75rem 1rem;
}

.rcstor-field-pair {
    grid-template-columns: 1fr 1fr;
}

.rcstor-check {
    margin: 0.2rem 0 0.35rem;
}

.rcstor-fine-print,
.rcstor-signed-in {
    color: #666;
    font-size: 0.9rem;
}

.rcstor-password {
    position: relative;
    display: block;
}

.rcstor-password input {
    padding-right: 2.4rem;
}

button.rcstor-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.35rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #444;
    cursor: pointer;
}

.rcstor-continue {
    margin-top: 0.4rem;
}

.rcstor-summary {
    position: sticky;
    top: 1rem;
    background: #fff;
    border: 1px solid var(--rcstor-line, #e2e8ee);
    border-radius: 14px;
    padding: 0.95rem 1rem 1.1rem;
}

.rcstor-summary-top {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
}

.rcstor-summary-unit {
    display: flex;
    gap: 0.6rem;
    min-width: 0;
}

.rcstor-summary-unit img {
    width: 74px;
    height: 54px;
    object-fit: cover;
    flex: 0 0 auto;
}

.rcstor-summary-unit p,
.rcstor-summary-place p {
    margin: 0;
}

.rcstor-summary-rate {
    font-weight: 700;
}

.rcstor-summary-place {
    flex: 0 0 auto;
    max-width: 46%;
    font-size: 0.92rem;
}

a.rcstor-change {
    color: var(--rcstor-button, #123d63);
    text-decoration: underline;
}

.rcstor-protection {
    margin-top: 0.85rem;
}

.rcstor-protection button {
    margin-top: 0.35rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--rcstor-button, #123d63);
    text-decoration: underline;
    font: inherit;
    cursor: pointer;
}

.rcstor-summary h3 {
    margin: 0.85rem 0 0.4rem;
    padding-top: 0.7rem;
    border-top: 1px solid #e6e6e6;
    font-size: 1rem;
}

.rcstor-summary-line,
.rcstor-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.28rem 0;
}

.rcstor-summary-line small {
    display: block;
    font-weight: 400;
    color: #666;
}

.rcstor-summary-total {
    font-weight: 700;
}

.rcstor-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.1rem;
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.rcstor-steps li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--rcstor-muted, #5c6b7a);
    font-size: 0.92rem;
}

.rcstor-steps .is-current {
    color: var(--rcstor-button, #123d63);
    font-weight: 700;
}

.rcstor-steps .is-done {
    color: var(--rcstor-text, #0d1b2a);
}

.rcstor-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border: 1px solid var(--rcstor-line, #e2e8ee);
    border-radius: 50%;
    font-size: 0.8rem;
}

.rcstor-steps .is-current .rcstor-step-num,
.rcstor-steps .is-done .rcstor-step-num {
    background: var(--rcstor-button, #123d63);
    border-color: var(--rcstor-button, #123d63);
    color: #fff;
}

.rcstor-account {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.rcstor-account-nav {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    background: #0d1b2a;
    border-radius: 16px;
    padding: 0.75rem;
    position: sticky;
    top: 1rem;
}

.rcstor-account-nav > a {
    border-radius: 8px;
    color: #e8eef5;
    font-weight: 600;
    padding: 0.55rem 0.7rem;
    text-decoration: none;
}

.rcstor-account-nav > a:hover,
.rcstor-account-nav > a.is-current {
    background: #123d63;
    color: #fff;
}

.rcstor-account-help {
    margin-top: 1rem;
    background: #fff;
    color: #0d1b2a;
    border-radius: 12px;
    padding: 0.85rem 0.9rem;
}

.rcstor-account-help h2 {
    font-size: 1rem;
    margin: 0 0 0.35rem;
}

.rcstor-account-help p,
.rcstor-account-help li {
    margin: 0.2rem 0;
}

.rcstor-account-help a {
    color: #123d63;
    font-weight: 700;
}

.rcstor-account-head h1 {
    margin: 0 0 0.2rem;
}

.rcstor-account-head p {
    margin: 0 0 1rem;
}

.rcstor-account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 1rem;
    margin: 0 0 1rem;
}

.rcstor-rental-body {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: start;
}

.rcstor-rental-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.rcstor-unit-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}

.rcstor-kicker {
    color: #5c6b7a;
    font-size: 0.85rem;
    margin: 0;
}

.rcstor-pay-date {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0.15rem 0;
}

.rcstor-pay-amount {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0.1rem 0 0.6rem;
}

.rcstor-on-time,
.rcstor-status {
    display: inline-block;
    background: #e7f6ee;
    border-radius: 999px;
    color: #14532d;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
}

.rcstor-status-bad {
    background: #fde8e8;
    color: #9b1c1c;
}

a.rcstor-account-button {
    background: #0d1b2a;
    border-radius: 8px;
    color: #fff;
    display: block;
    font-weight: 700;
    padding: 0.7rem 1rem;
    text-align: center;
    text-decoration: none;
}

.rcstor-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.rcstor-quick-actions a {
    border: 1px solid var(--rcstor-line, #e2e8ee);
    border-radius: 12px;
    color: inherit;
    display: block;
    font-weight: 700;
    padding: 0.9rem 0.45rem;
    text-align: center;
    text-decoration: none;
}

.rcstor-hold-timer {
    background: #f4f6f8;
    border-radius: 8px;
    margin: 0 0 0.8rem;
    padding: 0.65rem 0.8rem;
}

.rcstor-hold-clock {
    font-variant-numeric: tabular-nums;
}

.rcstor-account-card {
    background: #fff;
    border: 1px solid var(--rcstor-line, #e2e8ee);
    border-radius: 14px;
    margin: 0 0 1rem;
    padding: 1rem 1.1rem;
}

.rcstor-account-card h2,
.rcstor-account-card h3 {
    margin: 0 0 0.55rem;
}

.rcstor-code-line {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.7rem;
    align-items: center;
}

button.rcstor-copy {
    border-radius: 999px;
    padding: 0.25rem 0.7rem;
    font-size: 0.85rem;
}

.rcstor-pay-table {
    width: 100%;
    border-collapse: collapse;
}

.rcstor-pay-table th,
.rcstor-pay-table td {
    border-bottom: 1px solid var(--rcstor-line, #e2e8ee);
    padding: 0.45rem 0.35rem;
    text-align: left;
}

.rcstor-map-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.15rem;
    align-items: start;
}

.rcstor-map-filters {
    background: #fff;
    border: 1px solid var(--rcstor-line, #e2e8ee);
    border-radius: 14px;
    padding: 1rem;
}

.rcstor-map-filters label,
.rcstor-map-filters select,
.rcstor-map-filters input[type="text"],
.rcstor-map-filters input:not([type="checkbox"]):not([type="hidden"]) {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.55rem;
}

.rcstor-map-filters input[type="checkbox"] {
    width: auto;
}

.rcstor-unit-closed {
    fill: #d5d9de;
    stroke: #8b95a1;
    stroke-width: 2;
}

.rcstor-svg a {
    cursor: pointer;
}

.rcstor-door-line {
    stroke: #0d1b2a;
    stroke-width: 4;
    fill: none;
}

.rcstor-portal-map .rcstor-unit-available {
    fill: #e7f6ee;
    stroke: #1f7a45;
}

.rcstor-portal-map .rcstor-unit-closed {
    fill: #d5d9de;
    stroke: #8b95a1;
}

.rcstor-map-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: end;
    margin: 0 0 1rem;
}

.rcstor-portal .rcstor-map-bar label {
    display: flex;
    flex-direction: column;
    width: auto;
    margin: 0;
    font-weight: 600;
}

.rcstor-portal .rcstor-map-bar select {
    width: auto;
    min-width: 12rem;
    margin-top: 0.25rem;
}

.rcstor-hours {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rcstor-hours li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    max-width: 18rem;
}

.rcstor-hours-note {
    margin: 0.35rem 0 0;
    font-weight: 600;
}

.rcstor-portal-map .rcstor-svg {
    border-radius: 14px;
    background: #fff;
}

@media (max-width: 800px) {
    .rcstor-type-grid,
    .rcstor-checkout,
    .rcstor-field-row,
    .rcstor-field-pair,
    .rcstor-summary-top,
    .rcstor-account,
    .rcstor-account-grid,
    .rcstor-rental-body,
    .rcstor-quick-actions,
    .rcstor-map-layout {
        grid-template-columns: 1fr;
        display: grid;
    }

    .rcstor-summary {
        position: static;
    }

    .rcstor-summary-place {
        max-width: none;
    }
}

.rcstor-waiver-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: auto;
    padding: 4.5rem 1rem 2rem;
    background: rgba(45, 45, 45, 0.55);
}

.rcstor-waiver-backdrop[hidden] {
    display: none !important;
}

.rcstor-waiver-backdrop .rcstor-modal-x {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.rcstor-waiver-backdrop .rcstor-modal-body p {
    white-space: pre-wrap;
}
