:root {
    --rmk-main: #3fbb96;
    --rmk-main-dark: #105d38;
    --rmk-main-soft: #e9f8f2;
    --rmk-ink: #071913;
    --rmk-text: #1f2933;
    --rmk-muted: #6b7280;
    --rmk-line: #e7ece9;
    --rmk-panel: #ffffff;
    --rmk-bg: #f5f8f6;
    --rmk-danger: #bb3f3f;
    --rmk-danger-soft: #fdecec;
    --rmk-warning: #8f6a00;
    --rmk-warning-soft: #fff3cd;
    --rmk-shadow: 0 18px 55px rgba(15, 42, 31, 0.12);
    --rmk-font: "Roboto", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --rmk-brand-font: "Averia Sans Libre", var(--rmk-font);
}

* {
    box-sizing: border-box;
}

html,
body.renly-min-konto-body {
    min-height: 100%;
    margin: 0;
    background: var(--rmk-bg);
    color: var(--rmk-text);
    font-family: var(--rmk-font);
    letter-spacing: 0;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

.renly-min-konto-root {
    min-height: 100vh;
}

.rmk-boot {
    min-height: 100vh;
    display: grid;
    place-items: center;
    gap: 18px;
    align-content: center;
}

.rmk-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-width: 126px;
    padding: 0 19px;
    border-radius: 8px;
    background: var(--rmk-main);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.rmk-mark img {
    display: block;
    width: 86px;
    height: auto;
}

.rmk-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(63, 187, 150, 0.2);
    border-top-color: var(--rmk-main);
    border-radius: 50%;
    animation: rmk-spin 0.8s linear infinite;
}

@keyframes rmk-spin {
    to {
        transform: rotate(360deg);
    }
}

.rmk-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(340px, 460px) 1fr;
    background:
        radial-gradient(circle at 18% 20%, rgba(63, 187, 150, 0.16), transparent 34%),
        linear-gradient(135deg, #f8fbfa 0%, #edf6f1 100%);
}

.rmk-auth-panel {
    min-height: 100vh;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rmk-auth-card {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--rmk-shadow);
    backdrop-filter: blur(14px);
}

.rmk-auth-visual {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    background:
        linear-gradient(160deg, rgba(16, 93, 56, 0.88), rgba(63, 187, 150, 0.76)),
        url("https://renly.dk/wp-content/uploads/2025/05/edited1-copy.jpg") top center/cover;
}

.rmk-auth-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(0deg, rgba(7, 25, 19, 0.5), transparent);
}

.rmk-auth-copy {
    position: absolute;
    left: 54px;
    right: 54px;
    bottom: 54px;
    z-index: 1;
    color: #fff;
}

.rmk-auth-copy h1 {
    margin: 0 0 14px;
    max-width: 720px;
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.96;
    font-weight: 700;
}

.rmk-auth-copy p {
    max-width: 560px;
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
}

.rmk-brand-row,
.rmk-auth-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rmk-brand-row {
    margin-bottom: 32px;
}

.rmk-brand {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
}

.rmk-brand img {
    display: block;
    width: 112px;
    height: auto;
}

.rmk-lang-toggle,
.rmk-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
    color: var(--rmk-main-dark);
    font-weight: 600;
}

.rmk-lang-toggle {
    gap: 6px;
    min-width: 46px;
    padding: 0 10px;
}

.rmk-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    min-width: 24px;
    height: 18px;
    overflow: hidden;
    border-radius: 3px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0 0 0 1px rgba(7, 25, 19, 0.12);
    line-height: 0;
}

.rmk-flag-da {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 37 28'%3E%3Cpath fill='%23c8102e' d='M0 0h37v28H0z'/%3E%3Cpath fill='%23fff' d='M12 0h4v28h-4zM0 12h37v4H0z'/%3E%3C/svg%3E");
}

.rmk-flag-en {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3CclipPath id='a'%3E%3Cpath d='M0 0h60v40H0z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23a)'%3E%3Cpath fill='%23012169' d='M0 0h60v40H0z'/%3E%3Cpath stroke='%23fff' stroke-width='8' d='M0 0l60 40M60 0 0 40'/%3E%3Cpath stroke='%23c8102e' stroke-width='4' d='M0 0l60 40M60 0 0 40'/%3E%3Cpath stroke='%23fff' stroke-width='13' d='M30 0v40M0 20h60'/%3E%3Cpath stroke='%23c8102e' stroke-width='8' d='M30 0v40M0 20h60'/%3E%3C/g%3E%3C/svg%3E");
}

.rmk-icon-button {
    width: 38px;
}

.rmk-auth-title {
    margin: 0 0 8px;
    color: var(--rmk-ink);
    font-size: 26px;
    line-height: 1.15;
}

.rmk-auth-subtitle,
.rmk-muted {
    color: var(--rmk-muted);
    line-height: 1.55;
}

.rmk-auth-subtitle {
    margin: 0 0 26px;
}

.rmk-form {
    display: grid;
    gap: 14px;
}

.rmk-field {
    display: grid;
    gap: 7px;
}

.rmk-field label {
    color: #34443d;
    font-size: 13px;
    font-weight: 600;
}

.rmk-input,
.rmk-select,
.rmk-textarea {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--rmk-ink);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.rmk-textarea {
    min-height: 96px;
    padding-top: 12px;
    resize: vertical;
}

.rmk-input:focus,
.rmk-select:focus,
.rmk-textarea:focus {
    border-color: var(--rmk-main);
    box-shadow: 0 0 0 4px rgba(63, 187, 150, 0.13);
}

.rmk-primary,
.rmk-secondary,
.rmk-danger,
.rmk-ghost,
.rmk-tab,
.rmk-chip,
.rmk-action {
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    text-decoration: none;
}

.rmk-primary {
    background: var(--rmk-main);
    color: #fff;
}

.rmk-primary:hover {
    background: #34a985;
}

.rmk-primary:disabled {
    background: #b6d9cc;
}

.rmk-secondary {
    background: var(--rmk-main-soft);
    color: var(--rmk-main-dark);
    border-color: #cfeee2;
}

.rmk-danger {
    background: var(--rmk-danger);
    color: #fff;
}

.rmk-danger:disabled {
    background: #d8aaa8;
}

.rmk-ghost {
    background: #fff;
    color: var(--rmk-main-dark);
    border-color: var(--rmk-line);
}

.rmk-link-button {
    border: 0;
    background: transparent;
    color: var(--rmk-main-dark);
    padding: 0;
    min-height: 0;
    font-weight: 700;
}

.rmk-status {
    min-height: 22px;
    margin: 2px 0 0;
    color: var(--rmk-danger);
    font-size: 13px;
    line-height: 1.45;
}

.rmk-app {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
}

.rmk-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 22px 16px;
    background: #ffffff;
    border-right: 1px solid var(--rmk-line);
    display: flex;
    flex-direction: column;
}

.rmk-sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 26px;
    padding: 0 6px;
}

.rmk-nav {
    display: grid;
    gap: 8px;
}

.rmk-nav button {
    font-family: var(--rmk-brand-font);
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #42534b;
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: 700;
    text-align: left;
}

.rmk-nav button:hover,
.rmk-nav button.is-active {
    background: var(--rmk-main-soft);
    color: var(--rmk-main-dark);
}

.rmk-nav-icon {
    width: 22px;
    min-width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    line-height: 1;
}

.rmk-sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 10px;
}

.rmk-profile-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
}

.rmk-avatar,
.rmk-avatar-lg {
    border-radius: 50%;
    background: var(--rmk-main-soft);
    color: var(--rmk-main-dark);
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    font-weight: 700;
}

.rmk-avatar {
    width: 38px;
    height: 38px;
}

.rmk-avatar-lg {
    width: 72px;
    height: 72px;
    font-size: 24px;
}

.rmk-avatar img,
.rmk-avatar-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rmk-profile-mini strong {
    display: block;
    color: var(--rmk-ink);
    font-size: 14px;
    line-height: 1.2;
}

.rmk-profile-mini span {
    display: block;
    color: var(--rmk-muted);
    font-size: 12px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 168px;
}

.rmk-main {
    min-width: 0;
    padding: 28px clamp(18px, 4vw, 44px) 44px;
}

.rmk-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}

.rmk-topbar h1 {
    margin: 0;
    color: var(--rmk-ink);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
}

.rmk-topbar p {
    margin: 5px 0 0;
    color: var(--rmk-muted);
}

.rmk-top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rmk-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 16px;
}

.rmk-card,
.rmk-panel,
.rmk-modal-card {
    background: var(--rmk-panel);
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 42, 31, 0.06);
}

.rmk-card {
    padding: 18px;
}

.rmk-panel {
    padding: 20px;
}

.rmk-span-3 {
    grid-column: span 3;
}

.rmk-span-4 {
    grid-column: span 4;
}

.rmk-span-5 {
    grid-column: span 5;
}

.rmk-span-6 {
    grid-column: span 6;
}

.rmk-span-7 {
    grid-column: span 7;
}

.rmk-span-8 {
    grid-column: span 8;
}

.rmk-span-12 {
    grid-column: span 12;
}

.rmk-card-label {
    margin: 0 0 7px;
    color: var(--rmk-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.rmk-card-value {
    margin: 0;
    color: var(--rmk-ink);
    font-size: 27px;
    line-height: 1.15;
    font-weight: 700;
}

.rmk-card-note {
    margin: 9px 0 0;
    color: var(--rmk-muted);
    line-height: 1.45;
}

.rmk-next-card {
    min-height: 214px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6, 77, 50, 0.92), rgba(32, 137, 105, 0.72)),
        url("https://renly.dk/wp-content/uploads/2025/05/edited1-copy.jpg") center/cover;
    border: 0;
}

.rmk-next-card .rmk-card-label,
.rmk-next-card .rmk-card-note,
.rmk-next-card .rmk-card-value {
    color: #fff;
}

.rmk-next-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.rmk-next-extra {
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.rmk-dashboard-services {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
}

.rmk-dashboard-service-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.rmk-dashboard-service-strip::-webkit-scrollbar {
    display: none;
}

.rmk-dashboard-service,
.rmk-service-arrow {
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.rmk-dashboard-service {
    flex: 0 0 126px;
    min-height: 118px;
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    scroll-snap-align: start;
    font-weight: 700;
}

.rmk-dashboard-service:hover,
.rmk-service-arrow:hover {
    background: rgba(255, 255, 255, 0.22);
}

.rmk-dashboard-service-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--rmk-main-dark);
    display: grid;
    place-items: center;
    overflow: hidden;
    font-weight: 700;
}

.rmk-dashboard-service-icon img {
    width: 29px;
    height: 29px;
    object-fit: contain;
}

.rmk-dashboard-service-name {
    width: 100%;
    min-height: 34px;
    display: grid;
    place-items: center;
    font-size: 13px;
    line-height: 1.2;
}

.rmk-dashboard-service small {
    color: #fff;
    font-size: 12px;
    opacity: 0.9;
    white-space: nowrap;
}

.rmk-service-arrow {
    width: 34px;
    height: 60px;
    display: grid;
    place-items: center;
    padding: 0;
}

.rmk-empty.is-inverted {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.14);
}

.rmk-offer-list {
    display: grid;
    gap: 12px;
}

.rmk-offer-card {
    position: relative;
    min-height: 150px;
    padding: 18px;
    border-radius: 8px;
    background: #00373e;
    color: #fff;
    overflow: hidden;
}

.rmk-offer-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 13px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--rmk-main);
    color: #fff;
    font-weight: 700;
}

.rmk-offer-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.2;
}

.rmk-offer-card p {
    margin: 0;
    color: #cff7e6;
    line-height: 1.45;
}

.rmk-offer-subtitle {
    color: #b9f5da !important;
    font-weight: 700;
    margin-bottom: 7px !important;
}

.rmk-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.rmk-section-head h2,
.rmk-modal-card h2 {
    margin: 0;
    color: var(--rmk-ink);
    font-size: 18px;
    line-height: 1.25;
}

.rmk-section-head p {
    margin: 3px 0 0;
    color: var(--rmk-muted);
}

.rmk-list {
    display: grid;
    gap: 10px;
}

.rmk-row {
    width: 100%;
    min-height: 68px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    text-align: left;
}

.rmk-row:hover {
    border-color: #c8e8dd;
    box-shadow: 0 8px 22px rgba(63, 187, 150, 0.09);
}

.rmk-row strong {
    display: block;
    color: var(--rmk-ink);
}

.rmk-row > span {
    display: block;
    margin-top: 3px;
    color: var(--rmk-muted);
    font-size: 13px;
}

.rmk-row > span > span {
    display: block;
    margin-top: 3px;
    color: var(--rmk-muted);
    font-size: 13px;
}

.rmk-badge {
    width: fit-content;
    min-width: 78px;
    height: 30px;
    min-height: 30px;
    display: inline-grid;
    place-items: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    margin-top: 0;
    font-weight: 700;
    white-space: nowrap;
    vertical-align: middle;
    align-self: center;
    flex: 0 0 auto;
}

.rmk-badge > span,
.rmk-row > .rmk-badge > span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: 1;
    text-align: center;
}

.rmk-badge.planned {
    background: var(--rmk-warning-soft);
    color: var(--rmk-warning);
}

.rmk-badge.completed,
.rmk-badge.paid {
    background: var(--rmk-main-soft);
    color: var(--rmk-main-dark);
}

.rmk-badge.cancelled,
.rmk-badge.unpaid {
    background: var(--rmk-danger-soft);
    color: var(--rmk-danger);
}

.rmk-tabs,
.rmk-pills {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
}

.rmk-tab,
.rmk-chip {
    min-height: 36px;
    padding: 0 12px;
    background: transparent;
    color: var(--rmk-muted);
}

.rmk-tab.is-active,
.rmk-chip.is-active {
    background: var(--rmk-main);
    color: #fff;
}

.rmk-tab span {
    margin-left: 6px;
    opacity: 0.78;
    font-size: 12px;
}

.rmk-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rmk-detail-item {
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    padding: 13px;
}

.rmk-detail-item span {
    display: block;
    margin-bottom: 5px;
    color: var(--rmk-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.rmk-detail-item strong {
    color: var(--rmk-ink);
}

.rmk-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rmk-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 12px;
}

.rmk-service {
    min-height: 132px;
    padding: 15px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
    text-align: left;
    display: grid;
    gap: 8px;
}

.rmk-service:hover {
    border-color: #bae8d7;
    transform: translateY(-1px);
}

.rmk-service-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--rmk-main-soft);
    display: grid;
    place-items: center;
    color: var(--rmk-main-dark);
    font-weight: 700;
    overflow: hidden;
}

.rmk-service-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.rmk-service strong {
    color: var(--rmk-ink);
}

.rmk-service small {
    color: var(--rmk-muted);
}

.rmk-modal-layer {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 25, 19, 0.45);
    animation: rmk-fade 0.16s ease;
}

@keyframes rmk-fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.rmk-modal-card {
    width: min(680px, 100%);
    max-height: min(86vh, 860px);
    overflow: auto;
    padding: 22px;
    animation: rmk-pop 0.18s ease;
}

.rmk-modal-card.is-wide {
    width: min(920px, 100%);
}

@keyframes rmk-pop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.rmk-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.rmk-modal-body {
    display: grid;
    gap: 14px;
}

.rmk-modal-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.rmk-modal-actions.is-left {
    justify-content: flex-start;
}

.rmk-option-list {
    display: grid;
    gap: 8px;
}

.rmk-time-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rmk-option {
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
    min-height: 48px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
}

.rmk-option.is-active {
    border-color: var(--rmk-main);
    background: var(--rmk-main-soft);
}

.rmk-stepper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rmk-stepper button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
    color: var(--rmk-main-dark);
    font-weight: 700;
}

.rmk-stepper span {
    min-width: 22px;
    text-align: center;
    font-weight: 700;
}

.rmk-room-chips,
.rmk-date-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rmk-room-chips button,
.rmk-date-grid button {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
    color: var(--rmk-text);
    font-weight: 700;
}

.rmk-room-chips button.is-active,
.rmk-date-grid button.is-active {
    border-color: var(--rmk-main);
    background: var(--rmk-main);
    color: #fff;
}

.rmk-cart-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    min-width: 148px;
    box-shadow: var(--rmk-shadow);
}

.flatpickr-calendar {
    z-index: 90;
}

.rmk-empty,
.rmk-error {
    padding: 26px 14px;
    text-align: center;
    color: var(--rmk-muted);
    border: 1px dashed #d7dfdb;
    border-radius: 8px;
    background: #fbfdfc;
}

.rmk-error {
    color: var(--rmk-danger);
    border-color: #f2c7c7;
    background: #fff8f8;
}

.rmk-receipt {
    max-width: 620px;
    margin: 0 auto;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.rmk-receipt-head {
    padding: 20px;
    background: var(--rmk-main);
    color: #fff;
}

.rmk-receipt-head.is-unpaid {
    background: var(--rmk-danger);
}

.rmk-receipt-body {
    padding: 20px;
    display: grid;
    gap: 16px;
}

.rmk-invoice-lines {
    display: grid;
    gap: 8px;
}

.rmk-invoice-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--rmk-line);
}

.rmk-total-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-top: 8px;
    font-size: 20px;
    font-weight: 700;
}

.rmk-account-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rmk-avatar-button {
    position: relative;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

.rmk-avatar-button:disabled {
    cursor: default;
}

.rmk-avatar-button > span:last-child {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 26px;
    height: 26px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--rmk-main);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
}

.rmk-avatar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.rmk-avatar-actions button {
    min-height: 36px;
    padding: 0 12px;
}

.rmk-file-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.rmk-avatar-action-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
}

.rmk-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rmk-contact-card {
    min-height: 92px;
    padding: 16px;
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
}

.rmk-contact-card i {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--rmk-main);
    color: #fff;
    display: grid;
    place-items: center;
}

.rmk-contact-card strong,
.rmk-contact-card small {
    display: block;
}

.rmk-contact-card small {
    margin-top: 4px;
    color: var(--rmk-muted);
}

.rmk-terms {
    max-height: 620px;
    overflow: auto;
    padding-right: 8px;
}

.rmk-terms h3 {
    margin: 18px 0 8px;
    color: var(--rmk-ink);
    font-size: 16px;
    line-height: 1.3;
}

.rmk-terms p,
.rmk-terms li {
    color: var(--rmk-text);
    line-height: 1.62;
}

.rmk-terms p {
    margin: 0 0 11px;
}

.rmk-terms ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.rmk-faq-list {
    display: grid;
    gap: 10px;
}

.rmk-faq-item {
    border: 1px solid var(--rmk-line);
    border-radius: 8px;
    background: #fff;
}

.rmk-faq-item button {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    color: var(--rmk-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    font-weight: 700;
}

.rmk-faq-item i {
    color: var(--rmk-main);
}

.rmk-faq-item p {
    margin: 0;
    padding: 0 14px 14px;
    color: var(--rmk-muted);
    line-height: 1.55;
}

.rmk-lightbox {
    min-height: 320px;
    display: grid;
    place-items: center;
    background: #071913;
    border-radius: 8px;
    overflow: hidden;
}

.rmk-lightbox img {
    display: block;
    max-width: 100%;
    max-height: min(72vh, 720px);
    object-fit: contain;
}

.rmk-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.rmk-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--rmk-text);
    line-height: 1.45;
}

.rmk-checkbox input {
    margin-top: 3px;
    accent-color: var(--rmk-main);
}

.rmk-mobile-bar {
    display: none;
}

@media (max-width: 1020px) {
    .rmk-auth {
        grid-template-columns: 1fr;
    }

    .rmk-auth-visual {
        display: none;
    }

    .rmk-app {
        grid-template-columns: 1fr;
    }

    .rmk-sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--rmk-line);
        padding: 14px;
    }

    .rmk-sidebar-top {
        margin-bottom: 12px;
    }

    .rmk-nav {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 6px;
    }

    .rmk-nav button {
        min-height: 54px;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        font-size: 12px;
        padding: 5px;
    }

    .rmk-sidebar-footer {
        display: none;
    }

    .rmk-main {
        padding-top: 20px;
    }

    .rmk-span-3,
    .rmk-span-4,
    .rmk-span-5,
    .rmk-span-6,
    .rmk-span-7,
    .rmk-span-8 {
        grid-column: span 12;
    }
}

@media (max-width: 720px) {
    .rmk-auth-panel {
        padding: 18px;
    }

    .rmk-auth-card {
        padding: 22px;
    }

    .rmk-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .rmk-top-actions {
        width: 100%;
        justify-content: space-between;
    }

    .rmk-nav {
        overflow-x: auto;
        grid-template-columns: repeat(6, 88px);
        padding-bottom: 2px;
    }

    .rmk-detail-grid,
    .rmk-two-col,
    .rmk-time-grid,
    .rmk-contact-grid {
        grid-template-columns: 1fr;
    }

    .rmk-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .rmk-next-card-top,
    .rmk-account-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .rmk-actions,
    .rmk-modal-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .rmk-actions button,
    .rmk-modal-actions button {
        width: 100%;
    }

    .rmk-dashboard-services {
        grid-template-columns: 30px minmax(0, 1fr) 30px;
    }

    .rmk-dashboard-service {
        flex-basis: 112px;
    }

    .rmk-service-arrow {
        width: 30px;
    }

    .rmk-avatar-action-grid {
        grid-template-columns: 1fr;
    }

    .rmk-cart-float {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }
}
