/* ============================================
   BOTTOM MENU NAVIGATION - MOBILE ONLY
   ============================================ */

/* Base styles - Hidden by default, shown only on mobile */
.bottom-menu {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--forest);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
    z-index: 997;
    padding: 4px 0;
    padding-bottom: calc(4px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

/* Mobile only - Show bottom menu - 3 items (Home, Explore, Options) equally spaced */
@media screen and (max-width: 1024px) {
    .bottom-menu {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
}

/* Bottom menu items - Icon with label */
.bottom-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #ffffff;
    transition: color 0.2s ease, opacity 0.2s ease;
    flex: 1;
    max-width: 80px;
    text-decoration: none;
    gap: 2px;
}

/* Anchor tag styling */
a.bottom-menu-item {
    text-decoration: none;
    border: none;
    outline: none;
}

.bottom-menu-item {
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent;
}

.bottom-menu-item:focus,
.bottom-menu-item:focus-visible {
    outline: none;
}

.bottom-menu-item:active,
a.bottom-menu-item:active {
    opacity: 0.7;
}

.bottom-menu-item:disabled {
    cursor: default;
    opacity: 0.5;
}

/* Icons */
.bottom-menu-item i {
    font-size: 20px;
    line-height: 1;
    color: #ffffff;
    transition: color 0.2s ease;
}

.manage-nav-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    /* color: currentColor; */
    flex: 0 0 24px;
    overflow: visible;
}

.manage-nav-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.manage-nav-icon__dot {
    display: none;
    fill: var(--hzl-chartreuse, #d8cd00);
    stroke: var(--forest, #0f3a2e);
    stroke-width: 1.5;
}

.manage-nav-icon--attention .manage-nav-icon__dot {
    display: block;
}

@media screen and (max-width: 1024px) {
    .bottom-menu-options-panel--manage .manage-menu-body {
        padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    }
}

.bottom-menu-item > .manage-nav-icon {
    color: #ffffff;
    max-width: none;
    font-size: inherit;
    line-height: 1;
    overflow: visible;
}

.bottom-menu-item.active > .manage-nav-icon {
    color: var(--cream);
}

/* Labels */
.bottom-menu-item span {
    font-size: 10px;
    line-height: 1.2;
    color: #ffffff;
    transition: color 0.2s ease;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-transform: capitalize;
}

/* Active state */
.bottom-menu-item.active {
    color: var(--cream);
}

.bottom-menu-item.active i {
    color: var(--cream);
}

.bottom-menu-item.active span {
    color: var(--cream);
}

/* Options button active when panel is open */
.bottom-menu-item.active i.fa-ellipsis-h {
    color: var(--cream);
}

/* ============================================
   EXPANDABLE OPTIONS PANEL
   ============================================ */

/* Overlay backdrop */
.bottom-menu-options-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bottom-menu-options-overlay.visible {
    display: block;
    opacity: 1;
}

/* Options Panel */
.bottom-menu-options-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 70vh;
    background: var(--cream);
    border-top: 1px solid rgba(30, 30, 30, 0.12);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    /* padding-bottom: calc(80px + env(safe-area-inset-bottom));     */
    box-sizing: border-box;
    overflow-y: auto;
}

.bottom-menu-options-panel.open {
    transform: translateY(0);
}

/* Options Content */
.bottom-menu-options-content {
    padding: 16px 0;
    display: flex;
    flex-direction: column;
}

.manage-sheet-heading {
    position: relative;
    padding: 4px 20px 18px;
}

.manage-sheet-heading__close {
    position: absolute;
    top: 0;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid rgba(86, 16, 35, 0.16);
    border-radius: 50%;
    background: transparent;
    color: var(--maroon);
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.manage-sheet-heading__close:hover,
.manage-sheet-heading__close:focus-visible {
    border-color: rgba(86, 16, 35, 0.35);
    background: rgba(86, 16, 35, 0.06);
}

@media screen and (min-width: 1025px) {
    body.host-registry-page .bottom-menu-options-overlay,
    body.view-contributions-page-shell .bottom-menu-options-overlay {
        z-index: 1098;
        background-color: rgba(28, 15, 19, 0.38);
    }

    body.host-registry-page .bottom-menu-options-panel,
    body.view-contributions-page-shell .bottom-menu-options-panel {
        top: 0;
        right: 0;
        bottom: auto;
        left: auto;
        width: min(420px, calc(100vw - var(--sidepane-width-collapsed, 56px)));
        height: 100vh;
        height: 100dvh;
        max-height: none;
        padding-bottom: env(safe-area-inset-bottom);
        border-top: 0;
        border-left: 1px solid rgba(30, 30, 30, 0.12);
        box-shadow: -10px 0 30px rgba(30, 10, 18, 0.16);
        z-index: 1099;
        transform: translateX(100%);
    }

    body.host-registry-page .bottom-menu-options-panel.open,
    body.view-contributions-page-shell .bottom-menu-options-panel.open {
        transform: translateX(0);
    }

    /* body.host-registry-page .bottom-menu-options-content,
    body.view-contributions-page-shell .bottom-menu-options-content {
        padding: 28px 0;
    } */
}

.manage-sheet-heading__eyebrow,
.manage-sheet-section__label {
    display: block;
    margin: 0;
    color: rgba(86, 16, 35, 0.58);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    line-height: 1.4;
    text-transform: uppercase;
}

.manage-sheet-heading__title {
    margin: 5px 0 1px;
    color: var(--maroon);
    font-family: 'DM Sans', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
}

.manage-sheet-heading__subtitle {
    margin: 0;
    color: rgba(38, 46, 46, 0.66);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

.manage-sheet-section {
    padding: 13px 0 9px;
    border-top: 1px solid rgba(86, 16, 35, 0.13);
}

.manage-sheet-section__label {
    padding: 0 20px 5px;
}

/* Options Items - Match sidepane styling */
.bottom-menu-options-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--black);
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Nanum Myeongjo', serif;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
}

.bottom-menu-options-item:hover {
    background-color: rgba(15, 58, 46, 0.06);
    color: var(--forest);
}

.bottom-menu-options-item i {
    width: 20px;
    font-size: 16px;
    color: #626262;
    flex-shrink: 0;
}

.bottom-menu-options-item:hover i {
    color: var(--forest);
}

.bottom-menu-options-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: auto;
}

.bottom-menu-options-item.disabled:hover {
    background-color: transparent;
    color: var(--black);
}

.bottom-menu-options-item.disabled:hover i {
    color: #626262;
}

/* Host shipping-address editor */
body.shipping-details-open {
    overflow: hidden;
}

.shipping-details-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(30, 10, 18, 0.38);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.shipping-details-overlay.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.shipping-details-sheet {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 1001;
    width: calc(100% - 32px);
    max-width: 420px;
    max-height: 90vh;
    overflow: hidden;
    box-sizing: border-box;
    background: var(--cream, #ede6dc);
    border-radius: 0;
    box-shadow: 8px 8px 0 var(--maroon, #561023);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, calc(-50% + 22px)) scale(0.98);
    transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
}

.shipping-details-sheet.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.shipping-details-form {
    display: flex;
    max-height: inherit;
    min-height: 0;
    flex-direction: column;
}

.shipping-details-sheet__body {
    display: flex;
    min-height: 0;
    padding: 22px 24px 24px;
    overflow-y: auto;
    flex: 1;
    flex-direction: column;
}

.shipping-details-sheet__title {
    margin: 0 0 0.9rem;
    color: var(--maroon, #561023);
    font-family: 'Nanum Myeongjo', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.025em;
}

.shipping-details-sheet__intro {
    margin: 0 0 1.75rem;
    color: color-mix(in oklab, var(--maroon, #561023) 85%, transparent);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
}

.shipping-details-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.shipping-details-field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    margin-bottom: 14px;
}

.shipping-details-field__label {
    display: block;
    margin-bottom: 0.4rem;
    color: color-mix(in oklab, var(--maroon, #561023) 40%, transparent);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 0.58rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.shipping-details-field__label small {
    color: inherit;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.shipping-details-field__input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1.5px solid color-mix(in oklab, var(--maroon, #561023) 16%, transparent);
    border-radius: 0;
    outline: none;
    background: #ffffff;
    color: var(--black, #1e1e1e);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 0.78rem;
    transition: border-color 110ms ease;
}

.shipping-details-field__input:focus {
    border-color: var(--coral, #e45558);
}

.shipping-details-form__status {
    min-height: 1rem;
    margin: 0;
    color: color-mix(in oklab, var(--black, #1e1e1e) 50%, transparent);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 0.64rem;
    letter-spacing: 0.03em;
    line-height: 1.45;
}

.shipping-details-form__status[data-tone="success"] {
    color: var(--forest, #194234);
    font-size: 0.875rem;
    font-weight: 600;
}

.shipping-details-form__status[data-tone="error"] {
    color: var(--coral, #e45558);
}

.shipping-details-form__submit {
    width: 100%;
    height: 52px;
    margin-top: 1.25rem;
    border: none;
    border-radius: 0;
    background: var(--coral, #e45558);
    color: #ffffff;
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 110ms ease, transform 140ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shipping-details-form__submit:hover:not(:disabled) {
    background: var(--maroon, #561023);
    box-shadow: 5px 5px 0 0 var(--maroon-deep, #3f0c1a);
    transform: translate(-2px, -2px);
}

.shipping-details-form__submit:disabled {
    background: color-mix(in oklab, var(--coral, #e45558) 45%, transparent);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.shipping-details-sheet__footer {
    display: flex;
    padding: 20px 24px 24px;
    flex-direction: column;
    flex-shrink: 0;
    gap: 10px;
    border-top: 1px solid color-mix(in oklab, var(--maroon, #561023) 12%, transparent);
    background: var(--cream, #ede6dc);
}

.shipping-details-sheet__cancel {
    width: 100%;
    height: 52px;
    border: 1.5px solid color-mix(in oklab, var(--maroon, #561023) 16%, transparent);
    border-radius: 0;
    background: color-mix(in oklab, var(--maroon, #561023) 8%, transparent);
    color: color-mix(in oklab, var(--maroon, #561023) 60%, transparent);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 110ms ease, border-color 110ms ease, color 110ms ease;
}

.shipping-details-sheet__cancel:hover {
    border-color: color-mix(in oklab, var(--maroon, #561023) 30%, transparent);
    background: color-mix(in oklab, var(--maroon, #561023) 13%, transparent);
    color: var(--maroon, #561023);
}

@media screen and (max-width: 480px) {
    .shipping-details-sheet {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        box-shadow: none;
        transform: translateY(100%);
    }

    .shipping-details-sheet.open {
        transform: translateY(0);
    }

    .shipping-details-form {
        height: 100%;
    }

    .shipping-details-sheet__body {
        padding: calc(18px + env(safe-area-inset-top, 0px)) 16px 16px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .shipping-details-sheet__footer {
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    }
}

/* Toggle Switch Container */
.bottom-menu-options-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 12px;
    position: relative;
    overflow: visible;
}

.bottom-menu-options-toggle-label {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    font-size: 15px;
    color: var(--black);
    font-family: 'Nanum Myeongjo', serif;
}

.bottom-menu-options-toggle-label i {
    width: 20px;
    font-size: 16px;
    color: #626262;
    flex-shrink: 0;
}

/* Toggle Switch */
.bottom-menu-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    overflow: visible;
}

.bottom-menu-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bottom-menu-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 0px;
}

.bottom-menu-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 0px;
}

.bottom-menu-toggle-switch input:checked + .bottom-menu-toggle-slider {
    background-color: var(--forest);
}

.bottom-menu-toggle-switch input:checked + .bottom-menu-toggle-slider:before {
    transform: translateX(20px);
}

.bottom-menu-toggle-switch input:focus + .bottom-menu-toggle-slider {
    box-shadow: 0 0 1px var(--forest);
}

/* Ensure content doesn't get hidden behind bottom menu on mobile */
@media screen and (max-width: 1024px) {
    .content-wrapper {
        padding-bottom: 80px;
    }

    /* For pages with specific containers */
    .main-container,
    .view-contributions-page,
    .registry-page-content {
        padding-bottom: 80px;
    }
}

/* Admin dashboard: bottom bar adapts to light/dark mode */
@media screen and (max-width: 1024px) {
    body.admin-page .bottom-menu {
        background: var(--cream);
        border-top-color: rgba(30, 30, 30, 0.12);
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    }
    body.admin-page .bottom-menu-item {
        color: var(--black);
    }
    body.admin-page .bottom-menu-item i,
    body.admin-page .bottom-menu-item span {
        color: var(--black);
    }
    body.admin-page .bottom-menu-item.active,
    body.admin-page .bottom-menu-item.active i,
    body.admin-page .bottom-menu-item.active span {
        color: var(--forest);
    }
    body.admin-page .bottom-menu-item.active i.fa-ellipsis-h {
        color: var(--forest);
    }
}

body.admin-page.dark-mode .bottom-menu {
    background: #0a0a0a;
    border-top-color: #333;
    box-shadow: none;
}

body.admin-page.dark-mode .bottom-menu-item {
    color: #ccc;
}

body.admin-page.dark-mode .bottom-menu-item i,
body.admin-page.dark-mode .bottom-menu-item span {
    color: #ccc;
}

body.admin-page.dark-mode .bottom-menu-item.active,
body.admin-page.dark-mode .bottom-menu-item.active i,
body.admin-page.dark-mode .bottom-menu-item.active span {
    color: #fff;
}

body.admin-page.dark-mode .bottom-menu-item.active i.fa-ellipsis-h {
    color: #fff;
}

/* Admin options panel in dark mode */
body.admin-page.dark-mode .bottom-menu-options-panel {
    background: #0a0a0a;
    border-top-color: #333;
}

body.admin-page.dark-mode .bottom-menu-options-item {
    color: #ccc;
}

body.admin-page.dark-mode .bottom-menu-options-item i {
    color: #888;
}

body.admin-page.dark-mode .bottom-menu-options-item:hover {
    background: #1a1a1a;
    color: #fff;
}

body.admin-page.dark-mode .bottom-menu-options-item:hover i {
    color: #fff;
}

body.admin-page.dark-mode .bottom-menu-options-item.active {
    color: #fff;
}

body.admin-page.dark-mode .bottom-menu-options-item.active i {
    color: #fff;
}

/* ============================================
   HOST MANAGE SHEET + IN-SHEET FLOWS
   ============================================ */

body.manage-sheet-open {
    overflow: hidden;
}

.bottom-menu-options-panel--manage {
    height: min(780px, calc(100dvh - 72px));
    max-height: calc(100dvh - 72px);
    padding-bottom: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    box-shadow: 0 -18px 50px rgba(30, 8, 16, 0.28);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.bottom-menu-options-panel--manage .bottom-menu-options-content {
    display: block;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.manage-sheet-handle {
    position: absolute;
    top: 10px;
    left: 50%;
    z-index: 5;
    width: 54px;
    height: 5px;
    border-radius: 99px;
    background: rgba(237, 230, 220, 0.48);
    transform: translateX(-50%);
    pointer-events: none;
    transition: background-color 0.3s ease;
}

.bottom-menu-options-panel--child-open .manage-sheet-handle {
    background: rgba(86, 16, 35, 0.22);
}

.manage-flow-viewport,
.manage-flow-track,
.manage-flow-panel {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.manage-flow-viewport {
    overflow: hidden;
}

.manage-flow-track {
    position: relative;
    overflow: hidden;
}

.manage-flow-panel--menu {
    position: absolute;
    inset: 0;
    z-index: 0;
    transform: translateX(0);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.manage-flow-track--child-open .manage-flow-panel--menu {
    pointer-events: none;
    transform: translateX(-22%);
}

.manage-flow-panel:not(.manage-flow-panel--menu) {
    position: absolute;
    inset: 0;
    z-index: 2;
    visibility: hidden;
    transform: translateX(100%);
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.42s;
    will-change: transform;
}

.manage-flow-track--child-open[data-active-panel="details"] .wishlist-details-panel,
.manage-flow-track--child-open[data-active-panel="shipping"] .shipping-details-panel,
.manage-flow-track--child-open[data-active-panel="payments"] .payments-details-panel,
.manage-flow-track--child-open[data-active-panel="activity"] .activity-details-panel,
.manage-flow-track--child-open[data-active-panel="cohosts"] .cohost-details-panel {
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
}

/* Direct entry from the hero pencil: the requested child is selected before
   the sheet paints, so only the sheet moves upward on mobile. */
.bottom-menu-options-panel--direct-entry .manage-flow-panel--menu,
.bottom-menu-options-panel--direct-entry .manage-flow-panel:not(.manage-flow-panel--menu) {
    transition: none;
}

.manage-flow-panel {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--cream, #ede6dc);
}

.manage-hero {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 42px 64px 24px 24px;
    color: var(--maroon, #561023);
    background: var(--hzl-blue, #b4ceed);
    text-align: left;
    transition: background-color 0.3s ease;
}

.manage-flow-panel--menu[data-published="true"] .manage-hero {
    color: var(--cream, #ede6dc);
    background: var(--forest, #194234);
}

.manage-hero__motif {
    position: absolute;
    top: 18px;
    right: -54px;
    z-index: 0;
    width: 188px;
    height: 200px;
    color: rgba(86, 16, 35, 0.09);
    pointer-events: none;
    transform: rotate(8deg);
}

.manage-flow-panel--menu[data-published="true"] .manage-hero__motif {
    color: rgba(255, 255, 255, 0.06);
}

.manage-circle-button {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0px !important;
    box-shadow: none;
    background: var(--maroon, #561023);
    color: var(--cream, #ede6dc);
    cursor: pointer;
    font-size: 16px;
    opacity: 1;
    transition: opacity 0.18s ease, background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.manage-circle-button:hover,
.manage-circle-button:focus-visible {
    background: var(--maroon-deep, #3f0c1a);
    opacity: 1;
    transform: none;
    box-shadow: none;
}

.manage-circle-button:focus-visible {
    outline: 2px solid var(--hzl-chartreuse, #d8cd00);
    outline-offset: 2px;
}

.manage-hero__close {
    position: absolute;
    top: 24px;
    right: 20px;
    z-index: 2;
}

@media screen and (max-width: 1024px) {
    .manage-hero__close,
    .manage-sheet-heading__close {
        display: none !important;
    }
}

.manage-list-section__label,
.shipping-details-header__eyebrow {
    display: block;
    margin: 0;
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.manage-hero__title {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: inherit;
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.3;
    text-transform: uppercase;
}

.manage-hero__registry {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 15px;
}

.manage-hero__registry-title {
    margin: 0;
    color: inherit;
    font-family: 'Nanum Myeongjo', Georgia, serif;
    font-size: clamp(1.25rem, 4.5vw, 1.85rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.12;
    overflow-wrap: break-word;
    word-break: normal;
    text-wrap: balance;
    text-wrap: pretty;
    max-width: 100%;
}

.manage-hero__registry-title .hero-title__amp {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-weight: 600;
    color: var(--coral, #e45558);
}

.manage-hero__registry-subtitle {
    margin: 0;
    color: color-mix(in oklab, currentColor 72%, transparent);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 13px;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.manage-flow-panel--menu[data-published="true"] .manage-hero__title,
.manage-flow-panel--menu[data-published="true"] .manage-hero__registry-title,
.manage-flow-panel--menu[data-published="true"] .manage-hero__registry-subtitle {
    color: #ffffff;
}

.manage-status-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    color: var(--cream, #ede6dc);
    background: var(--coral, #e45558);
    border: 1.5px solid currentColor;
    border-radius: 0px !important;
    box-shadow: 2px 2px 0 0 currentColor;
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.manage-flow-panel--menu[data-published="true"] .manage-status-badge {
    color: var(--maroon, #561023);
    background: var(--hzl-chartreuse, #d8cd00);
}

.manage-status-badge__published-icon,
.manage-flow-panel--menu[data-published="true"] .manage-status-badge__private-icon {
    display: none;
}

.manage-flow-panel--menu[data-published="true"] .manage-status-badge__published-icon {
    display: inline-block;
}

.manage-hero__note {
    position: relative;
    z-index: 1;
    max-width: 35ch;
    margin: 12px 0 0;
    color: color-mix(in oklab, currentColor 78%, transparent);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.35;
}

.manage-hero__note--published,
.manage-flow-panel--menu[data-published="true"] .manage-hero__note--private {
    display: none;
}

.manage-flow-panel--menu[data-published="true"] .manage-hero__note--published {
    display: block;
}

.manage-menu-body {
    min-height: 0;
    padding: 22px 24px calc(24px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.manage-menu-body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.manage-primary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.manage-primary-action {
    min-width: 0;
    min-height: 52px;
    padding: 10px 8px;
    border: 0;
    border-radius: 0px !important;
    box-shadow: none;
    color: var(--maroon, #561023);
    background: transparent;
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition: opacity 0.18s ease, background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.manage-primary-action:hover:not(:disabled) {
    transform: none;
    box-shadow: none;
}

.manage-primary-action > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.manage-primary-action--publish {
    color: var(--cream, #ede6dc);
    background: var(--forest, #194234);
}

.manage-flow-panel--menu[data-published="true"] .manage-primary-action--publish {
    color: var(--cream, #ede6dc);
    background: var(--maroon, #561023);
}

.manage-primary-action__published,
.manage-flow-panel--menu[data-published="true"] .manage-primary-action__private {
    display: none !important;
}

.manage-flow-panel--menu[data-published="true"] .manage-primary-action__published {
    display: inline-flex !important;
}

.manage-primary-action--share {
    color: #fff;
    background: var(--coral, #e45558);
}

.manage-primary-action--share.disabled {
    color: rgba(86, 16, 35, 0.3);
    background: rgba(86, 16, 35, 0.12);
    cursor: not-allowed;
}

.manage-primary-action:disabled {
    cursor: wait;
    opacity: 0.55;
}

/* Manage Wishlist uses flat controls throughout, including child-panel actions. */
.bottom-menu-options-panel--manage button,
.bottom-menu-options-panel--manage button:hover,
.bottom-menu-options-panel--manage button:focus-visible,
.bottom-menu-options-panel--manage button:active {
    box-shadow: none !important;
}

.manage-publish-notices {
    margin: 0;
    padding-inline-start: 18px;
    list-style: disc outside;
}

.manage-publish-helper {
    margin: 10px 0 0;
    color: var(--coral, #e45558);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 11px;
    line-height: 1.4;
}

.manage-flow-panel--menu[data-published="true"] .manage-publish-helper--private {
    display: none;
}

.manage-publish-helper--payments {
    display: none;
}

.manage-publish-helper--payments[data-payments-enabled="false"][data-has-contribution-gifts="true"] {
    display: list-item;
}

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

.manage-list-section {
    margin-top: 24px;
}

.manage-list-section--more {
    margin-top: 20px;
}

.manage-list-section__label {
    padding-bottom: 6px;
    color: rgba(86, 16, 35, 0.48);
    border-bottom: 1px solid rgba(86, 16, 35, 0.13);
}

.manage-list-row {
    display: grid;
    width: 100%;
    min-height: 64px;
    grid-template-columns: 30px minmax(0, 1fr) auto 14px;
    align-items: center;
    gap: 10px;
    padding: 10px 6px;
    border: 0;
    border-bottom: 1px solid rgba(86, 16, 35, 0.12);
    color: var(--black, #1e1e1e);
    background: transparent;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.manage-list-row:hover,
.manage-list-row:focus-visible {
    background: rgba(25, 66, 52, 0.055);
    outline: none;
}

.manage-list-row__icon {
    width: 24px;
    color: var(--maroon, #561023);
    font-size: 20px;
    text-align: center;
}

.manage-list-row__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.manage-list-row__copy strong {
    color: var(--black, #1e1e1e);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.25;
}

.manage-list-row__copy small {
    overflow: hidden;
    color: rgba(86, 16, 35, 0.5);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.02em;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manage-list-row__chevron {
    color: rgba(86, 16, 35, 0.32);
    font-size: 13px;
}

.manage-row-status {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    gap: 6px;
    padding: 0 8px;
    color: var(--forest, #194234);
    background: rgba(25, 66, 52, 0.08);
    border: 1px solid currentColor;
    border-radius: 0px !important;
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 11px;
    white-space: nowrap;
}

.manage-row-status i {
    color: #3a9668;
    font-size: 7px;
}

.manage-row-status--attention {
    color: #c84349;
    background: rgba(228, 85, 88, 0.09);
}

.manage-row-status--attention i {
    color: var(--coral, #e45558);
}

.manage-row-status--neutral {
    padding-right: 10px;
    padding-left: 10px;
    background: rgba(25, 66, 52, 0.07);
}

.manage-row-status--activity {
    color: var(--maroon, #561023);
    background: var(--hzl-chartreuse, #d8cd00);
}

/* Wishlist details is edited directly inside the shared Manage flow. */
.wishlist-details-panel,
.wishlist-details-form {
    height: 100%;
}

.wishlist-details-form {
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.wishlist-details-header {
    min-height: 124px;
}

.wishlist-details-body {
    min-height: 0;
    flex: 1 1 auto;
    padding: 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.wishlist-details-intro {
    margin: 0 0 28px;
    color: rgba(30, 30, 30, 0.82);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.wishlist-details-field {
    display: block;
    margin-bottom: 20px;
}

.wishlist-details-field__label {
    display: block;
    margin: 0 0 9px;
    color: rgba(86, 16, 35, 0.52);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.wishlist-details-field__label small {
    letter-spacing: 0.04em;
    text-transform: none;
}

.wishlist-details-field__input,
.wishlist-details-field__textarea {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1.5px solid rgba(86, 16, 35, 0.18);
    border-radius: 0;
    outline: none;
    color: var(--black, #1e1e1e);
    background: #ffffff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
}

.wishlist-details-field__input {
    height: 54px;
}

.create-wishlist-date-placeholder {
    position: relative;
    width: 100%;
}

.create-wishlist-date-placeholder input[type="text"],
.wishlist-details-field__input--date {
    width: 100%;
    cursor: pointer;
    background: #ffffff !important;
    color: var(--hzl-maroon, #561023) !important;
    font-family: 'DM Sans', sans-serif !important;
    border: 1.5px solid rgba(86, 16, 35, 0.18) !important;
    border-radius: 0px !important;
    padding-right: 48px !important;
}

.create-wishlist-date-placeholder input::placeholder {
    color: #74716e !important;
    opacity: 1;
}

.create-wishlist-date-placeholder i.fa-calendar {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    color: var(--hzl-maroon, #561023);
    font-size: 1.05rem;
    pointer-events: none;
    transition: color 150ms ease;
}

.create-wishlist-date-placeholder:hover i.fa-calendar {
    color: var(--coral, #e45558);
}

/* Compact Calendar Popover Container */
.hzl-calendar-popover,
#editRegistryCalendarPopover,
.wishlist-details-body .hzl-calendar-popover {
    display: none;
    position: absolute !important;
    top: auto !important;
    bottom: calc(100% + 6px) !important;
    left: 0;
    z-index: 999999 !important;
    width: 250px;
    max-width: 100%;
    background-color: #FAF7F2;
    border: 2px solid var(--hzl-maroon, #561023);
    border-radius: 0px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22) !important;
    padding: 10px;
    box-sizing: border-box;
    font-family: var(--font-mono, 'DM Mono', monospace);
    user-select: none;
    animation: hzlCalFadeIn 120ms ease-out forwards;
}

.wishlist-details-field:has(.hzl-calendar-popover.show),
.create-wishlist-date-placeholder:has(.hzl-calendar-popover.show),
.create-wishlist-modal-popup:has(.hzl-calendar-popover.show),
.create-wishlist-modal-popup.hzl-calendar-open {
    z-index: 999999 !important;
    position: relative;
    overflow: visible !important;
}

@keyframes hzlCalFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hzl-calendar-popover.show,
#editRegistryCalendarPopover.show {
    display: block !important;
}

/* Compact Calendar Header */
.hzl-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    padding-bottom: 4px;
    border-bottom: 1.5px solid rgba(86, 16, 35, 0.16);
}

.hzl-calendar-month-year {
    font-family: 'DM Serif Display', 'DM Sans', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--hzl-maroon, #561023);
    letter-spacing: 0.02em;
}

.hzl-calendar-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #ffffff;
    border: 1.5px solid var(--hzl-maroon, #561023);
    border-radius: 0px !important;
    color: var(--hzl-maroon, #561023);
    font-family: var(--font-mono, monospace);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: none !important;
    transition: all 120ms ease;
}

.hzl-calendar-nav:hover {
    background-color: var(--coral, #e45558) !important;
    border-color: var(--hzl-maroon, #561023) !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Compact Weekday Labels */
.hzl-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 4px;
    text-align: center;
}

.hzl-calendar-weekdays span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--hzl-maroon, #561023);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 0;
}

/* Compact Days Grid */
.hzl-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 6px;
}

.hzl-calendar-day {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    background: #ffffff;
    border: 1px solid rgba(86, 16, 35, 0.18);
    border-radius: 0px !important;
    color: var(--hzl-maroon, #561023);
    font-size: 0.78rem;
    font-weight: 500;
    font-family: var(--font-mono, monospace);
    cursor: pointer;
    box-sizing: border-box;
    box-shadow: none !important;
    transition: background-color 100ms ease, color 100ms ease, border-color 100ms ease;
}

/* Day Out-of-Month or Past (Disabled) */
.hzl-calendar-day.disabled {
    background: transparent;
    border-color: transparent;
    color: #c4b8b2;
    cursor: default;
    pointer-events: none;
}

.hzl-calendar-day.disabled.past-disabled {
    text-decoration: line-through;
    opacity: 0.75;
    cursor: not-allowed;
}

/* Day Hover State */
.hzl-calendar-day:not(.disabled):hover {
    background-color: var(--coral, #e45558) !important;
    border-color: var(--hzl-maroon, #561023) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    transform: none !important;
    box-shadow: none !important;
    z-index: 2;
}

/* Today's Date Indicator */
.hzl-calendar-day.today:not(.selected) {
    border: 1.5px solid var(--coral, #e45558) !important;
    font-weight: 700;
}

/* Selected Date Box State */
.hzl-calendar-day.selected {
    background-color: var(--coral, #e45558) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    border: 1.5px solid var(--hzl-maroon, #561023) !important;
    box-shadow: none !important;
    transform: none !important;
    z-index: 3;
}

/* Compact Footer Actions */
.hzl-calendar-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1.5px solid rgba(86, 16, 35, 0.16);
}

.hzl-calendar-footer-btn {
    background: transparent;
    border: none;
    color: var(--coral, #e45558);
    font-family: var(--font-mono, monospace);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 2px 6px;
    box-shadow: none !important;
    transition: background-color 120ms ease, color 120ms ease;
    border-radius: 0px !important;
}

.hzl-calendar-footer-btn:hover {
    background-color: rgba(228, 85, 88, 0.12);
    color: var(--hzl-maroon, #561023);
    text-decoration: underline;
}

.wishlist-details-field__textarea {
    min-height: 120px;
    padding-top: 14px;
    padding-bottom: 14px;
    line-height: 1.5;
    resize: vertical;
}

.wishlist-details-field__input:focus,
.wishlist-details-field__textarea:focus {
    border-color: var(--forest, #194234);
    box-shadow: 0 0 0 1px var(--forest, #194234);
}

.wishlist-details-char-count,
.wishlist-details-field__hint {
    display: block;
    margin-top: 7px;
    color: rgba(30, 30, 30, 0.48);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 9px;
    line-height: 1.5;
}

.wishlist-details-char-count {
    text-align: right;
}

.wishlist-details-url-prefix {
    display: flex;
    height: 34px;
    align-items: center;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1.5px solid rgba(86, 16, 35, 0.16);
    border-bottom: 0;
    color: rgba(86, 16, 35, 0.54);
    background: rgba(86, 16, 35, 0.055);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
}

.wishlist-details-field__input--url {
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 13px;
}

.wishlist-details-hero {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(86, 16, 35, 0.13);
}

.wishlist-details-hero .hero-design-heading {
    margin: 0 0 14px;
    font-family: 'Nanum Myeongjo', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
}

.wishlist-details-hero .hero-change-photo-btn,
.wishlist-details-hero button,
.wishlist-details-hero select {
    border-radius: 0;
}

.wishlist-details-status {
    margin: 18px 0 0;
    color: var(--forest, #194234);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    line-height: 1.5;
}

.wishlist-details-status[data-tone="error"] {
    color: var(--coral, #e45558);
}

.wishlist-details-footer {
    display: flex;
    flex: 0 0 auto;
    padding: 18px 28px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(86, 16, 35, 0.12);
    background: var(--cream, #ede6dc);
}

/* Shipping is a child panel inside the Manage sheet on the host wishlist. */
.shipping-details-panel .shipping-details-form {
    height: 100%;
}

.shipping-details-header {
    position: relative;
    display: grid;
    min-height: 124px;
    flex: 0 0 auto;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    gap: 12px;
    padding: 30px 24px 18px;
    border-bottom: 1px solid rgba(86, 16, 35, 0.12);
    color: var(--maroon, #561023);
    box-sizing: border-box;
}

.shipping-details-header__copy {
    min-width: 0;
}

.shipping-details-header__eyebrow {
    color: var(--forest, #194234);
}

.shipping-details-header .shipping-details-sheet__title {
    margin: 2px 0 0;
    font-size: clamp(26px, 7vw, 34px);
    line-height: 1.05;
}

.shipping-details-header .manage-circle-button {
    color: var(--cream, #ede6dc);
}

.shipping-details-panel .shipping-details-sheet__body {
    padding: 34px 28px 22px;
}

.shipping-details-panel .shipping-details-sheet__intro {
    max-width: 34ch;
    margin-bottom: 26px;
    color: rgba(30, 30, 30, 0.78);
    font-size: 17px;
    line-height: 1.5;
}

.shipping-details-panel .shipping-details-field {
    margin-bottom: 18px;
}

.shipping-details-panel .shipping-details-field__label {
    margin-bottom: 8px;
    color: rgba(86, 16, 35, 0.5);
    font-size: 11px;
}

.shipping-details-panel .shipping-details-field__input {
    height: 56px;
    border-width: 2px;
    font-size: 15px;
}

.shipping-details-panel .shipping-details-form__row {
    gap: 14px;
}

.shipping-details-panel .shipping-details-sheet__footer {
    padding: 18px 28px calc(18px + env(safe-area-inset-bottom, 0px));
}

.shipping-details-panel .shipping-details-form__submit {
    margin-top: 0;
    background: var(--forest, #194234);
}

.shipping-details-panel .shipping-details-form__submit:hover:not(:disabled) {
    background: var(--maroon, #561023);
}

.shipping-details-panel .shipping-details-form__submit:disabled {
    background: color-mix(in oklab, var(--forest, #194234) 35%, transparent);
}

/* Payments is the second child panel in the shared Manage flow. */
.payments-details-panel {
    background: var(--cream, #ede6dc);
}

.payments-details-header {
    min-height: 124px;
}

.manage-payments-body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 28px 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.manage-payment-methods {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 30px;
}

.manage-payment-method {
    display: flex;
    min-width: 0;
    min-height: 108px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 15px;
    border: 1.5px solid rgba(86, 16, 35, 0.24);
    border-radius: 0;
    color: var(--maroon, #561023);
    background: rgba(255, 255, 255, 0.34);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.manage-payment-method:hover,
.manage-payment-method:focus-visible {
    border-color: var(--maroon, #561023);
    outline: none;
}

.manage-payment-method.is-selected {
    border-color: var(--maroon, #561023);
    background: var(--hzl-blue, #b4ceed);
    box-shadow: inset 0 0 0 1px var(--maroon, #561023);
}

.manage-payment-method__icon {
    display: grid;
    width: 42px;
    height: 34px;
    align-items: center;
}

.manage-payment-method__icon--bank svg {
    width: 30px;
    height: 30px;
}

.manage-payment-method__icon--upi {
    width: 70px;
}

.manage-payment-method__icon--upi img {
    display: block;
    width: 68px;
    height: auto;
}

.manage-payment-method-copy,
.manage-payment-rail,
.manage-payment-summary {
    width: 100%;
}

.manage-payment-method-copy[hidden],
.manage-payment-rail[hidden] {
    display: none;
}

.manage-payments-intro-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    color: var(--maroon, #561023);
    background: var(--hzl-blue, #b4ceed);
    place-items: center;
}

.manage-payments-intro-icon svg {
    width: 32px;
    height: 32px;
}

.manage-payments-intro {
    max-width: 35ch;
    margin: 0 0 24px;
    color: rgba(30, 30, 30, 0.8);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.52;
}

.manage-payments-points {
    display: flex;
    width: 100%;
    flex-direction: column;
    margin-bottom: 28px;
    border-top: 1px solid rgba(86, 16, 35, 0.12);
}

.manage-payments-point {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(86, 16, 35, 0.12);
    color: rgba(30, 30, 30, 0.72);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.manage-payments-point i {
    display: grid;
    width: 22px;
    height: 22px;
    color: var(--cream, #ede6dc);
    background: var(--forest, #194234);
    font-size: 10px;
    place-items: center;
}

.manage-payments-point--negative i {
    background: var(--maroon, #561023);
}

.manage-payments-discount {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    align-items: center;
    margin: 0 0 26px;
    padding: 18px;
    box-sizing: border-box;
    border: 1px solid rgba(86, 16, 35, 0.2);
    background: rgba(180, 206, 237, 0.34);
}

.manage-payments-discount > p:first-child {
    margin: 0;
    color: rgba(30, 30, 30, 0.78);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.manage-payments-discount__button {
    min-height: 38px;
    padding: 8px 15px;
    border: 1.5px solid var(--maroon, #561023);
    border-radius: 0;
    color: var(--cream, #ede6dc);
    background: var(--maroon, #561023);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    cursor: pointer;
}

.manage-payments-discount__button:disabled {
    cursor: default;
    opacity: 0.64;
}

.manage-payments-discount__button[hidden] {
    display: none;
}

.manage-payments-discount__button.is-sent {
    border-color: var(--forest, #194234);
    background: var(--forest, #194234);
    opacity: 1;
}

.manage-payments-discount__form {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 12px;
}

.manage-payments-discount__form[hidden] {
    display: none;
}

.manage-payments-discount__label {
    grid-column: 1 / -1;
    color: var(--maroon, #561023);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.manage-payments-discount__label span {
    color: rgba(86, 16, 35, 0.52);
    font-size: 11px;
    font-weight: 400;
}

.manage-payments-discount__textarea {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 96px;
    padding: 11px 12px;
    box-sizing: border-box;
    resize: vertical;
    border: 1px solid rgba(86, 16, 35, 0.28);
    border-radius: 0;
    outline: none;
    color: var(--black, #1e1e1e);
    background: rgba(255, 255, 255, 0.62);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.manage-payments-discount__textarea:focus {
    border-color: var(--maroon, #561023);
    box-shadow: inset 0 0 0 1px var(--maroon, #561023);
}

.manage-payments-discount__count {
    align-self: center;
    color: rgba(86, 16, 35, 0.52);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
}

.manage-payments-discount__send {
    min-height: 40px;
    padding: 9px 15px;
    border: 1.5px solid var(--forest, #194234);
    border-radius: 0;
    color: #ffffff;
    background: var(--forest, #194234);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
}

.manage-payments-discount__send:disabled {
    cursor: wait;
    opacity: 0.64;
}

.manage-payments-discount__status {
    grid-column: 1 / -1;
    min-height: 0;
    margin: -2px 0 0;
    color: var(--forest, #194234);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.manage-payments-discount__status:empty {
    display: none;
}

.manage-payments-provider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    color: rgba(86, 16, 35, 0.45);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.manage-payments-provider img {
    width: auto;
    height: 22px;
    filter: grayscale(100%);
    opacity: 0.68;
}

.manage-payments-active-badge {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    margin: -10px 0 24px;
    padding: 0 11px;
    color: var(--forest, #194234);
    background: rgba(25, 66, 52, 0.08);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.manage-payments-active-badge i {
    color: #3a9668;
    font-size: 7px;
}

.manage-payments-active-heading {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.manage-payments-active-heading .manage-payments-intro {
    margin-bottom: 24px;
}

.manage-payments-active-heading .manage-payments-active-badge {
    flex: 0 0 auto;
    margin-top: 0;
}

.manage-payments-total {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 28px;
    padding: 22px;
    box-sizing: border-box;
    color: #ffffff;
    background: var(--maroon, #561023);
}

.manage-payments-total__label,
.manage-payments-section-label {
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.manage-payments-total__label {
    color: #ffffff;
    opacity: 0.72;
}

.manage-payments-total__amount {
    color: var(--coral, #e45558);
    font-family: 'Nanum Myeongjo', Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
}

.manage-payments-section-label {
    width: 100%;
    margin: 0;
    padding-bottom: 8px;
    color: rgba(86, 16, 35, 0.5);
    border-bottom: 1px solid rgba(86, 16, 35, 0.13);
}

.manage-payments-list {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.manage-payments-row {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 4px;
    border-bottom: 1px solid rgba(86, 16, 35, 0.12);
}

.manage-payments-row__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.manage-payments-row__copy strong {
    overflow: hidden;
    color: var(--black, #1e1e1e);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manage-payments-row__copy small {
    color: rgba(86, 16, 35, 0.48);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
}

.manage-payments-row__amount {
    flex: 0 0 auto;
    color: var(--forest, #194234);
    font-family: 'Nanum Myeongjo', Georgia, serif;
    font-size: 17px;
}

.manage-payments-empty {
    margin: 22px 0 0;
    color: rgba(86, 16, 35, 0.52);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 12px;
}

.manage-payments-footer {
    display: flex;
    flex: 0 0 auto;
    padding: 18px 28px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(86, 16, 35, 0.12);
    background: var(--cream, #ede6dc);
}

.manage-payments-footer--setup {
    gap: 12px;
}

.manage-payments-footer--setup .manage-payments-primary {
    width: auto;
    min-width: 0;
    flex: 1 1 0;
    text-decoration: none;
}

.manage-payments-primary {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1.5px solid var(--forest, #194234);
    border-radius: 0;
    color: #ffffff;
    background: var(--forest, #194234);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
}

.manage-payments-primary--outline {
    color: var(--maroon, #561023);
    border-color: var(--maroon, #561023);
    background: transparent;
}

/* Co-hosts uses the same square-edged child-sheet language as Payments and Shipping. */
.cohost-details-panel {
    background: var(--cream, #ede6dc);
}

.cohost-details-header {
    min-height: 124px;
}

.manage-cohost-body {
    min-height: 0;
    flex: 1 1 auto;
    padding: 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.manage-cohost-intro {
    margin: 0 0 28px;
    color: rgba(30, 30, 30, 0.82);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.manage-cohost-label {
    display: block;
    margin: 0 0 9px;
    color: rgba(86, 16, 35, 0.52);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.manage-cohost-label--list {
    margin-top: 30px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(86, 16, 35, 0.13);
}

.manage-cohost-primary {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    box-sizing: border-box;
    color: #ffffff;
    background: var(--maroon, #561023);
}

.manage-cohost-primary__icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    color: var(--maroon, #561023);
    background: var(--coral, #e45558);
    font-size: 15px;
}

.manage-cohost-primary__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.manage-cohost-primary__copy strong {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
}

.manage-cohost-primary__copy small {
    overflow: hidden;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manage-cohost-add {
    margin-top: 26px;
}

.manage-cohost-input {
    width: 100%;
    height: 54px;
    padding: 0 15px;
    box-sizing: border-box;
    border: 1.5px solid rgba(86, 16, 35, 0.18);
    border-radius: 0;
    outline: none;
    color: var(--black, #1e1e1e);
    background: #ffffff;
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
}

.manage-cohost-input:focus {
    border-color: var(--forest, #194234);
    box-shadow: 0 0 0 1px var(--forest, #194234);
}

.manage-cohost-input:disabled {
    opacity: 0.55;
}

.manage-cohost-add > small {
    display: block;
    margin-top: 8px;
    color: rgba(30, 30, 30, 0.5);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 9px;
    line-height: 1.5;
}

.cohost-details-panel .sheet-cohost-item {
    min-height: 60px;
    padding: 10px 4px;
    box-sizing: border-box;
}

.cohost-details-panel .sheet-cohost-item__email {
    font-size: 11px;
}

.cohost-details-panel .sheet-cohost-pending {
    color: var(--coral, #e45558);
    font-size: 9px;
}

.cohost-details-panel .sheet-cohost-remove {
    width: 32px;
    height: 32px;
    margin-left: 12px;
}

.manage-cohost-limit {
    margin: 18px 0 0;
    padding: 12px;
    color: var(--maroon, #561023);
    background: rgba(228, 85, 88, 0.08);
}

.manage-cohost-footer {
    display: flex;
    flex: 0 0 auto;
    padding: 18px 28px calc(18px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(86, 16, 35, 0.12);
    background: var(--cream, #ede6dc);
}

.manage-cohost-footer .manage-payments-primary:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

/* Activity is the third child panel in the shared Manage flow. */
.activity-details-panel {
    position: relative;
    background: var(--cream, #ede6dc);
}

.activity-details-header {
    min-height: 124px;
}

.manage-activity-body {
    min-height: 0;
    flex: 1 1 auto;
    padding: 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.manage-activity-stats {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.8fr);
    gap: 10px;
    margin-bottom: 28px;
}

.manage-activity-stat {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 18px;
    box-sizing: border-box;
}

.manage-activity-stat > span,
.manage-activity-stat > small {
    font-family: 'DM Mono', ui-monospace, monospace;
    text-transform: uppercase;
}

.manage-activity-stat > span {
    margin-bottom: auto;
    font-size: 9px;
    letter-spacing: 0.13em;
    opacity: 0.64;
}

.manage-activity-stat > strong {
    margin-top: 14px;
    font-family: 'Nanum Myeongjo', Georgia, serif;
    font-size: clamp(25px, 7vw, 34px);
    font-weight: 400;
    line-height: 1;
}

.manage-activity-stat > small {
    margin-top: 7px;
    font-size: 8px;
    letter-spacing: 0.08em;
    opacity: 0.56;
}

.manage-activity-pending {
    margin-top: 6px;
    font-size: 8.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--hzl-chartreuse, #d8cd00);
}

.manage-activity-pending[hidden] {
    display: none;
}

.manage-activity-stat--received {
    color: #ffffff;
    background: var(--maroon, #561023);
}

.manage-activity-stat--received > strong {
    color: var(--coral, #e45558);
}

.manage-activity-stat--reserved {
    color: var(--maroon, #561023);
    border: 1.5px solid rgba(86, 16, 35, 0.22);
    background: rgba(255, 255, 255, 0.28);
}

.manage-activity-status {
    margin: 18px 0 0;
    color: rgba(86, 16, 35, 0.58);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 17px;
    font-style: italic;
    line-height: 1.4;
}

.manage-activity-status:empty {
    display: none;
}

.manage-activity-status[data-tone="error"] {
    color: var(--coral, #e45558);
}

.manage-activity-list {
    display: flex;
    flex-direction: column;
}

.manage-activity-item {
    position: relative;
    display: grid;
    width: 100%;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 15px 4px;
    border: 0;
    border-bottom: 1px solid rgba(86, 16, 35, 0.13);
    border-radius: 0;
    color: var(--black, #1e1e1e);
    background: transparent;
    text-align: left;
    cursor: pointer;
}

.manage-activity-item:first-child {
    border-top: 1px solid rgba(86, 16, 35, 0.13);
}

.manage-activity-item:hover,
.manage-activity-item:focus-visible {
    background: rgba(180, 206, 237, 0.24);
    outline: none;
}

.manage-activity-item--highlight {
    animation: hzl-manage-activity-flash 2s ease-out;
}

@keyframes hzl-manage-activity-flash {
    0%, 30% { background: rgba(86, 16, 35, 0.06); }
    100% { background: transparent; }
}

.manage-activity-item--unread::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--coral, #e45558);
}

.manage-activity-avatar {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--coral, #e45558);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.manage-activity-item__copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.manage-activity-item__primary {
    display: flex;
    min-width: 0;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.manage-activity-item__primary strong {
    overflow: hidden;
    color: var(--maroon, #561023);
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manage-activity-item__primary > span {
    flex: 0 0 auto;
    color: var(--maroon, #561023);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 12px;
    font-weight: 600;
}

.manage-activity-item__primary > span.is-reserved {
    padding: 3px 6px;
    color: var(--maroon, #561023);
    background: var(--hzl-chartreuse, #d8cd00);
    font-size: 8px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.manage-activity-item__copy > small {
    overflow: hidden;
    color: rgba(30, 30, 30, 0.58);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.manage-activity-item__meta {
    display: flex;
    min-height: 16px;
    align-items: center;
    gap: 9px;
    color: rgba(86, 16, 35, 0.48);
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 9px;
}

.manage-activity-item__note {
    color: var(--coral, #e45558);
}

.manage-activity-item__new {
    padding: 2px 5px;
    color: var(--maroon, #561023);
    background: var(--hzl-chartreuse, #d8cd00);
    font-size: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.manage-activity-item__to-verify {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 5px;
    color: #ffffff;
    background: var(--coral, #e45558);
    font-size: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Badge alone links to account-details; the row keeps its expand-note click. */
.manage-activity-item__to-verify--link {
    cursor: pointer;
}

.manage-activity-item__to-verify--link:hover,
.manage-activity-item__to-verify--link:focus-visible {
    background: var(--maroon, #561023);
}

.manage-activity-item.is-expanded {
    padding-top: 18px;
    padding-bottom: 20px;
    background: rgba(180, 206, 237, 0.32);
    box-shadow: inset 4px 0 0 var(--coral, #e45558);
}

.manage-activity-item__expanded {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: calc(100% - 55px);
    margin: 5px 0 0 55px;
    padding: 18px 18px 20px;
    overflow: hidden;
    color: var(--maroon, #561023);
    background: var(--hzl-blue, #b4ceed);
    box-shadow: 0 10px 22px rgba(86, 16, 35, 0.1);
}

.manage-activity-item__expanded[hidden] {
    display: none;
}

.manage-activity-item__expanded-label,
.manage-activity-item__expanded-note {
    display: block;
}

.manage-activity-item__expanded-label {
    margin-bottom: 11px;
    font-family: 'DM Mono', ui-monospace, monospace;
    font-size: 9px;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

.manage-activity-item__expanded-note {
    width: 100%;
    max-height: 12rem;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(20px, 5.6vw, 25px);
    font-style: italic;
    font-weight: 500;
    line-height: 1.3;
    overflow-wrap: anywhere;
    overscroll-behavior: contain;
    white-space: pre-wrap;
    word-break: break-word;
}

.manage-activity-item__expanded-note.is-empty {
    color: rgba(86, 16, 35, 0.58);
    font-size: 18px;
}

/* Keep Manage utility copy aligned with the website's readable type scale.
   Body copy and controls remain 14–17px; metadata and uppercase labels never
   drop below 12px. Icon-only glyphs retain their independent sizing. */
.bottom-menu-options-panel--manage :is(
    .manage-list-section__label,
    .shipping-details-header__eyebrow,
    .manage-publish-helper,
    .manage-list-row__copy small,
    .manage-row-status,
    .wishlist-details-field__label,
    .wishlist-details-char-count,
    .wishlist-details-field__hint,
    .wishlist-details-url-prefix,
    .wishlist-details-status,
    .shipping-details-field__label,
    .manage-payments-provider,
    .manage-payments-active-badge,
    .manage-payments-total__label,
    .manage-payments-section-label,
    .manage-payments-row__copy small,
    .manage-cohost-label,
    .manage-cohost-primary__copy small,
    .manage-cohost-add > small,
    .sheet-cohost-item__email,
    .sheet-cohost-pending,
    .manage-activity-stat > span,
    .manage-activity-stat > small,
    .manage-activity-item__primary > span.is-reserved,
    .manage-activity-item__copy > small,
    .manage-activity-item__meta,
    .manage-activity-item__new,
    .manage-activity-item__to-verify,
    .manage-activity-item__expanded-label
) {
    font-size: 12px;
}

@media screen and (max-width: 480px) {
    .bottom-menu-options-panel--manage {
        height: calc(100dvh - 72px);
        max-height: calc(100dvh - 72px);
    }

    .manage-hero {
        padding-left: 20px;
    }

    .manage-menu-body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .shipping-details-panel .shipping-details-sheet__body {
        padding: 28px 20px 18px;
    }

    .shipping-details-header {
        padding-right: 20px;
        padding-left: 20px;
    }

    .shipping-details-panel .shipping-details-sheet__footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .manage-payments-body {
        padding: 28px 20px 20px;
    }

    .manage-payment-method {
        min-height: 102px;
        padding: 13px;
        font-size: 13px;
    }

    .manage-payments-discount {
        grid-template-columns: 1fr;
    }

    .manage-payments-discount__button {
        width: 100%;
    }

    .manage-payments-footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .manage-payments-footer--setup {
        gap: 8px;
    }

    .manage-cohost-body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .wishlist-details-body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .wishlist-details-footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .manage-cohost-footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .manage-activity-body {
        padding-right: 20px;
        padding-left: 20px;
    }

    .manage-activity-item__expanded {
        max-width: 100%;
        margin-left: 0;
    }
}

@media screen and (min-width: 1025px) {
    body.host-registry-page .bottom-menu-options-panel--manage {
        height: 100dvh;
        max-height: none;
        border-radius: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bottom-menu-options-panel--manage,
    .manage-flow-panel--menu,
    .manage-flow-panel:not(.manage-flow-panel--menu) {
        transition: none;
    }
}

/* Maroon bottom bar — host wishlist home, host registry editor, public guest registry (overrides default forest + admin cream) */
@media screen and (max-width: 1024px) {
    body.admin-page.host-home-page .bottom-menu,
    body.host-registry-page .bottom-menu,
    body.registry-page .bottom-menu {
        background: var(--maroon);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    }

    body.admin-page.host-home-page .bottom-menu-item,
    body.host-registry-page .bottom-menu-item,
    body.registry-page .bottom-menu-item {
        color: rgba(255, 255, 255, 0.92);
    }

    body.admin-page.host-home-page .bottom-menu-item i,
    body.admin-page.host-home-page .bottom-menu-item span,
    body.host-registry-page .bottom-menu-item i,
    body.host-registry-page .bottom-menu-item span,
    body.registry-page .bottom-menu-item i,
    body.registry-page .bottom-menu-item span {
        color: rgba(255, 255, 255, 0.92);
    }

    body.admin-page.host-home-page .bottom-menu-item.active,
    body.admin-page.host-home-page .bottom-menu-item.active i,
    body.admin-page.host-home-page .bottom-menu-item.active span,
    body.host-registry-page .bottom-menu-item.active,
    body.host-registry-page .bottom-menu-item.active i,
    body.host-registry-page .bottom-menu-item.active span,
    body.registry-page .bottom-menu-item.active,
    body.registry-page .bottom-menu-item.active i,
    body.registry-page .bottom-menu-item.active span {
        color: var(--cream);
    }

    body.admin-page.host-home-page .bottom-menu-item.active i.fa-ellipsis-h,
    body.host-registry-page .bottom-menu-item.active i.fa-ellipsis-h,
    body.registry-page .bottom-menu-item.active i.fa-ellipsis-h {
        color: var(--cream);
    }
}

/* ======================================================================
   GLOBAL SCROLLBAR REMOVAL — Manage Sidepane & All Sub-Panels
   ====================================================================== */
.manage-menu-body,
.manage-flow-panel,
.manage-flow-viewport,
.manage-flow-track,
.bottom-menu-options-panel,
.shipping-details-body,
.payments-details-body,
.cohost-details-body,
.activity-details-body,
.wishlist-details-body,
.wishlist-details-panel,
.shipping-details-panel,
.payments-details-panel,
.cohost-details-panel,
.activity-details-panel {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.manage-menu-body::-webkit-scrollbar,
.manage-flow-panel::-webkit-scrollbar,
.manage-flow-viewport::-webkit-scrollbar,
.manage-flow-track::-webkit-scrollbar,
.bottom-menu-options-panel::-webkit-scrollbar,
.shipping-details-body::-webkit-scrollbar,
.payments-details-body::-webkit-scrollbar,
.cohost-details-body::-webkit-scrollbar,
.activity-details-body::-webkit-scrollbar,
.wishlist-details-body::-webkit-scrollbar,
.wishlist-details-panel::-webkit-scrollbar,
.shipping-details-panel::-webkit-scrollbar,
.payments-details-panel::-webkit-scrollbar,
.cohost-details-panel::-webkit-scrollbar,
.activity-details-panel::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Wishlist roles and membership remain readable on narrow sheets. */
.manage-role-note,
.manage-payment-owner {
    font-family: 'DM Sans', system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.manage-role-note { margin: 10px 0 0; }
.manage-payment-owner { margin: 0 0 18px; }
.manage-cohost-access {
    margin: 4px 0 18px;
    color: var(--black, #1e1e1e);
    font-family: "DM Sans", system-ui, sans-serif;
}
.manage-cohost-access__heading {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
}
.manage-cohost-access__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.manage-cohost-access__list li,
.manage-cohost-access__restricted {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    line-height: 1.5;
}
.manage-cohost-access__icon {
    display: inline-flex;
    width: 18px;
    min-width: 18px;
    height: 22px;
    align-items: center;
    justify-content: center;
    color: var(--forest, #194234);
}
.manage-cohost-access__restricted {
    margin-top: 18px;
    padding: 14px;
    color: var(--maroon, #561023);
    background: rgba(86, 16, 35, 0.07);
}
.manage-cohost-access__restricted .manage-cohost-access__icon {
    color: var(--maroon, #561023);
}
.manage-cohost-access__restricted strong {
    display: block;
    margin-bottom: 2px;
}
#manageCohostSummary { overflow-wrap: anywhere; white-space: normal; }
.cohost-details-panel .sheet-cohost-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.sheet-cohost-item__copy { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.bottom-menu-options-panel--manage .cohost-details-panel .sheet-cohost-item__email { font-size: 14px; overflow-wrap: anywhere; }
.sheet-cohost-status { font-family: 'DM Sans', system-ui, sans-serif; font-size: 12px; line-height: 1.5; color: var(--forest, #194234); }
.cohost-details-panel .sheet-cohost-remove { width: auto; min-height: 44px; flex-shrink: 0; padding: 8px; color: var(--maroon, #561023); }
.manage-cohost-primary__copy small { white-space: normal; overflow-wrap: anywhere; font-size: 12px; }
#cohostAddSection[hidden], #cohostAddFooter[hidden], #cohostLimitMessage[hidden] { display: none; }
