* {
    box-sizing: border-box;
}

:root {
    --wc-page-zoom: 0.80;
    --wc-auth-card-max: 560px;
    --wc-auth-card-narrow-max: 470px;
    --wc-page-shell-max: 1180px;
    --wc-dashboard-shell-max: 1200px;
    --wc-dashboard-refined-max: 1220px;
    --wc-gallery-shell-max: 1200px;
    --wc-budget-page-max: 1240px;
    --wc-budget-sheet-max: 1080px;
    --wc-gifting-shell-max: 1440px;
    --wc-vendor-dashboard-card-max: 1200px;
    --wc-admin-content-max: 1360px;
    --wc-theme-gold: #c7a155;
    --wc-theme-red: #a61e3a;
    --wc-theme-wine: #8d1b34;
    --wc-theme-deep: #78182d;
    --wc-theme-plum: #7c2946;
    --wc-theme-lavender: #cbaacb;
    --wc-theme-cream: #f2e7ce;
    --rose: var(--wc-theme-red);
    --rose-deep: var(--wc-theme-deep);
    --gold: var(--wc-theme-gold);
    --ink: #351522;
    --muted: #74505e;
    --shadow: 0 22px 46px rgba(120, 24, 45, 0.14);
    /* Django admin theme */
    --wc-navy: #123b45;
    --wc-blue: #2c7a78;
    --wc-sky: #dcefee;
    --wc-cream: #f7f2e8;
    --wc-gold: #c98d3a;
    --wc-ink: #172a2e;
    --wc-success: #2f7159;
    --wc-border: #c8d8d7;
}


html {
    zoom: var(--wc-page-zoom);
    scroll-behavior: smooth;
}

html.customer-landing-page {
    zoom: 1;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(201, 141, 58, 0.16), transparent 24%),
        radial-gradient(circle at top right, rgba(44, 122, 120, 0.18), transparent 22%),
        linear-gradient(180deg, #fbfaf6 0%, #edf5f3 100%);
}

@supports not (zoom: 1) {
    body {
        width: calc(100% / var(--wc-page-zoom));
        min-height: calc(100vh / var(--wc-page-zoom));
        transform: scale(var(--wc-page-zoom));
        transform-origin: top left;
    }

    body.customer-home-body {
        width: 100%;
        min-height: 100vh;
        transform: none;
    }
}

body.body-modal-open {
    overflow: hidden;
}

a {
    color: inherit;
}

.login-body {
    min-height: 100vh;
}

.auth-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.auth-card {
    width: 100%;
    max-width: var(--wc-auth-card-max);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(201, 141, 58, 0.24);
    border-radius: 28px;
    padding: 36px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.auth-card.auth-card--narrow {
    max-width: var(--wc-auth-card-narrow-max);
}

.auth-title {
    margin: 0 0 24px;
    text-align: center;
    font-size: 34px;
    line-height: 1.1;
    color: var(--rose-deep);
}

.form-group {
    margin-bottom: 18px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--ink);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(87, 111, 113, 0.2);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--rose);
    box-shadow: 0 0 0 4px rgba(44, 122, 120, 0.14);
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 13px 18px;
    border: none;
    border-radius: 999px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(22, 64, 67, 0.16);
}

.btn-inline {
    width: auto;
}

.btn-primary {
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    color: #fff;
}

.btn-success {
    background: linear-gradient(135deg, #3f8d72, #2f6d59);
    color: #fff;
}

.btn-warning {
    background: linear-gradient(135deg, #d1a24a, #b97828);
    color: #fff;
}

.btn-secondary {
    background: linear-gradient(135deg, #ff1900, #ff5745);
    border: 1px solid rgba(158, 101, 33, 0.38);
    color: #fff;
}

.btn-light {
    background: rgba(149, 249, 168, 0.92);
    color: var(--rose-deep);
}

.btn-danger {
    background: linear-gradient(135deg, #b15b45, #8a3926);
    color: #fff;
}

.btn-small {
    min-height: 38px;
    padding: 10px 14px;
    font-size: 13px;
}

.divider {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid rgba(87, 111, 113, 0.16);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links p {
    margin: 0 0 14px;
    color: var(--muted);
}

.button-row {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.button-row .btn {
    width: auto;
    min-width: 160px;
}

.back-link {
    margin-top: 18px;
    text-align: center;
}

.back-link a {
    color: var(--rose-deep);
    font-weight: 700;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}

.form-error,
.form-success {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
}

.form-error {
    background: #fff1f2;
    color: #a73a45;
    border: 1px solid rgba(167, 58, 69, 0.14);
}

.form-success {
    background: #eef8f1;
    color: #2e6a4d;
    border: 1px solid rgba(46, 106, 77, 0.14);
}

.success-panel {
    margin-bottom: 20px;
    text-align: center;
}

.success-text {
    margin: 0 0 12px;
    color: var(--ink);
}

.success-note {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.license-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 12px 18px;
    border-radius: 16px;
    background: rgba(44, 122, 120, 0.1);
    color: var(--rose-deep);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.welcome-panel {
    text-align: center;
}

.welcome-name {
    margin: 0 0 12px;
    font-size: 34px;
    font-weight: 800;
    color: var(--rose-deep);
}

.vendor-dashboard-card {
    max-width: var(--wc-vendor-dashboard-card-max);
}

.vendor-dashboard-body {
    background:
        radial-gradient(circle at 8% 6%, rgba(44, 122, 120, 0.28), transparent 28%),
        radial-gradient(circle at 92% 12%, rgba(201, 141, 58, 0.3), transparent 24%),
        linear-gradient(145deg, #eef8f5 0%, #fdf7ea 48%, #e5f2f0 100%);
}

.vendor-dashboard-body .vendor-dashboard-card {
    border-color: rgba(44, 122, 120, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 249, 246, 0.94)),
        radial-gradient(circle at top left, rgba(201, 141, 58, 0.2), transparent 30%);
    box-shadow: 0 28px 56px rgba(22, 64, 67, 0.16);
}

.vendor-dashboard-body .auth-title,
.vendor-dashboard-body .welcome-name {
    color: #0f766e;
}

.vendor-dashboard-body .success-note,
.vendor-dashboard-body .vendor-calendar-copy {
    color: #52686c;
}

.vendor-dashboard-section {
    margin-top: 28px;
    padding: 14px;
    border: 1px solid rgba(201, 141, 58, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.vendor-dashboard-body .vendor-dashboard-section {
    border-color: rgba(44, 122, 120, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 248, 245, 0.84));
    box-shadow: inset 4px 0 0 rgba(44, 122, 120, 0.55);
}

.vendor-dashboard-section__header {
    margin-bottom: 18px;
}

.vendor-dashboard-section__header--split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.vendor-dashboard-section__header h4 {
    margin: 6px 0 0;
    font-size: 26px;
    color: var(--rose-deep);
}

.vendor-calendar-copy {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.vendor-business-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(44, 122, 120, 0.12), rgba(201, 141, 58, 0.18));
}

.vendor-dashboard-body .vendor-business-card {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.16), rgba(245, 158, 11, 0.22));
    border: 1px solid rgba(15, 118, 110, 0.16);
}

.vendor-dashboard-body .vendor-upload-dropzone {
    border-color: rgba(15, 118, 110, 0.42);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(236, 253, 245, 0.82));
}

.vendor-dashboard-body .vendor-upload-icon {
    background: linear-gradient(135deg, #0f766e, #f59e0b);
    color: #fff;
}

.vendor-business-card strong {
    font-size: 24px;
    color: var(--ink);
}

.vendor-business-card span {
    color: var(--muted);
    font-weight: 600;
}

.vendor-upload-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.vendor-upload-dropzone {
    width: 100%;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    border: 2px dashed rgba(44, 122, 120, 0.34);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.66);
    text-align: center;
    cursor: pointer;
}

.vendor-upload-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(44, 122, 120, 0.14);
    color: var(--rose-deep);
    font-size: 34px;
    font-weight: 500;
}

.vendor-upload-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
}

.vendor-upload-copy {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.7;
}

.vendor-upload-input {
    width: 100%;
}

.vendor-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.vendor-photo-card {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 28px rgba(22, 64, 67, 0.1);
}

.vendor-photo-image {
    width: 100%;
    height: 200px;
    display: block;
    object-fit: cover;
}

.vendor-photo-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 16px;
    color: var(--muted);
    font-size: 13px;
}

.vendor-calendar-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: start;
}

.vendor-calendar-panel,
.vendor-calendar-sidebar {
    border-radius: 24px;
    border: 1px solid rgba(44, 122, 120, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 32px rgba(22, 64, 67, 0.08);
}

.vendor-calendar-panel {
    padding: 22px;
}

.vendor-calendar-sidebar {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vendor-calendar-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.vendor-calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.vendor-calendar-month {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
}

.vendor-calendar-filters {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.vendor-calendar-summary {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.vendor-calendar-selection-card {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(47, 109, 89, 0.16);
    background: linear-gradient(180deg, rgba(63, 141, 114, 0.08), rgba(255, 255, 255, 0.96));
}

.vendor-calendar-selection-card__label {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vendor-calendar-selection-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vendor-calendar-selection-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(47, 109, 89, 0.12);
    color: #2f6d59;
    font-size: 12px;
    font-weight: 700;
}

.vendor-calendar-selection-chip--empty {
    background: rgba(87, 111, 113, 0.08);
    color: var(--muted);
}

.vendor-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.vendor-calendar-grid__weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 4px;
}

.vendor-calendar-day {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 18px;
    border: 1px solid rgba(44, 122, 120, 0.1);
    background: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vendor-calendar-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 22px rgba(22, 64, 67, 0.08);
    border-color: rgba(44, 122, 120, 0.26);
}

.vendor-calendar-day--outside {
    background: rgba(87, 111, 113, 0.06);
    color: rgba(87, 111, 113, 0.55);
    pointer-events: none;
}

.vendor-calendar-day--eventful {
    background: linear-gradient(180deg, rgba(44, 122, 120, 0.08), rgba(201, 141, 58, 0.08));
    border-color: rgba(201, 141, 58, 0.2);
}

.vendor-calendar-day--available {
    border-color: rgba(47, 109, 89, 0.3);
    background: linear-gradient(180deg, rgba(2, 155, 48, 0.12), rgba(105, 240, 128, 0.92));
}

.vendor-calendar-day--holiday {
    border-color: rgba(201, 141, 58, 0.28);
    background: linear-gradient(180deg, rgba(201, 141, 58, 0.12), rgba(255, 187, 42, 0.94));
}

.vendor-calendar-day--selected {
    border-color: rgba(47, 109, 89, 0.42);
    background: linear-gradient(180deg, rgba(63, 141, 114, 0.24), rgba(232, 248, 239, 0.96));
    box-shadow: 0 16px 28px rgba(47, 109, 89, 0.16);
}

.vendor-calendar-day--active {
    outline: 2px solid rgba(47, 109, 89, 0.32);
    outline-offset: 1px;
}

.vendor-calendar-day--today {
    outline: 2px solid rgba(44, 122, 120, 0.22);
    outline-offset: 1px;
}

.vendor-calendar-day__number {
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
}

.vendor-calendar-day__preview {
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
}

.vendor-calendar-day__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.vendor-calendar-day__tags .festival-tag {
    padding: 4px 8px;
    font-size: 10px;
}

.vendor-calendar-day__count {
    margin-top: auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rose-deep);
}

.vendor-calendar-sidebar__intro h5 {
    margin: 6px 0 0;
    font-size: 22px;
    color: var(--ink);
}

.vendor-calendar-sidebar__intro p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.7;
}

.vendor-availability-card {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(63, 141, 114, 0.2);
    background: linear-gradient(180deg, rgba(63, 141, 114, 0.1), rgba(255, 255, 255, 0.96));
}

.vendor-availability-card h5 {
    margin: 6px 0 10px;
    font-size: 22px;
    color: var(--ink);
}

.vendor-availability-card p:last-child {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.6;
}

.vendor-availability-form {
    margin-top: 18px;
}

.vendor-calendar-holiday-card {
    margin-top: 0;
}

.vendor-empty-state {
    margin-top: 24px;
}

.page-shell {
    width: min(var(--wc-page-shell-max), calc(100% - 40px));
    margin: 0 auto;
}

.wedding-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 10% 0%, rgba(201, 141, 58, 0.18), transparent 26%),
        radial-gradient(circle at 90% 10%, rgba(44, 122, 120, 0.18), transparent 28%),
        linear-gradient(180deg, #fbfaf6 0%, #eef6f3 100%);
}

.wedding-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: rgba(255, 250, 245, 0.76);
    border-bottom: 1px solid rgba(87, 111, 113, 0.12);
}

.plan-success-topbar {
    position: static;
    top: auto;
    z-index: auto;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--rose-deep);
    text-decoration: none;
    letter-spacing: 0.04em;
}

.brand-mark img {
    display: block;
    height: 120px;
    width: auto;
    object-fit: contain;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.topbar-user {
    color: var(--muted);
    font-weight: 700;
}

.dashboard-hero h1 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.hero-text {
    margin: 18px 0 0;
    max-width: 700px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    font-weight: 800;
}

.planner-card,
.story-card,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
    box-shadow: var(--shadow);
}

.planner-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.section-copy {
    max-width: 420px;
    color: var(--muted);
    line-height: 1.7;
}

.story-card {
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.story-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(44, 122, 120, 0.94), rgba(201, 141, 58, 0.88));
    color: #fff;
    font-size: 80px;
    font-weight: 800;
}

.story-content {
    padding: 24px;
}

.story-category {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(44, 122, 120, 0.12);
    color: var(--rose-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.story-content h3 {
    margin: 16px 0 10px;
    font-size: 24px;
}

.story-content p,
.empty-state p,
.planner-copy p,
.planner-points li {
    color: var(--muted);
    line-height: 1.7;
}

.story-author {
    margin-top: 16px;
    color: var(--rose-deep);
    font-weight: 800;
}

.festival-card {
    display: grid;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.14), transparent 20%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(239, 247, 244, 0.94));
    box-shadow: var(--shadow);
}

.festival-card--planner {
    padding: 24px;
    border-radius: 26px;
    box-shadow: none;
    overflow: hidden;
}

.planner-section-block .festival-card {
    margin-top: 18px;
}

.festival-card--planner .festival-card__intro {
    gap: 14px;
}

.festival-card--planner .festival-card__intro h3 {
    font-size: 24px;
}

.festival-card--planner .festival-card__controls {
    gap: 12px;
}

.festival-card--planner .festival-filter {
    min-width: 0;
}

.festival-card--planner .festival-card__content {
    grid-template-columns: 1fr;
    gap: 18px;
}

.festival-card--planner .festival-calendar__header {
    flex-direction: column;
    align-items: flex-start;
}

.festival-card--planner .festival-calendar__legend {
    gap: 10px;
}

.festival-card--planner .festival-calendar,
.festival-card--planner .festival-details {
    padding: 18px;
    border-radius: 22px;
}

.festival-card--planner .festival-calendar__status {
    margin: 14px 0 12px;
}

.festival-card--planner .festival-calendar__weekdays,
.festival-card--planner .festival-calendar__grid {
    gap: 6px;
}

.festival-card--planner .festival-calendar__weekdays span {
    font-size: 10px;
    letter-spacing: 0.04em;
}

.festival-card--planner .festival-calendar__blank,
.festival-card--planner .festival-calendar__day {
    min-height: 88px;
    padding: 10px 8px;
    border-radius: 16px;
}

.festival-card--planner .festival-calendar__day-number {
    font-size: 17px;
}

.festival-card--planner .festival-calendar__day-tags {
    gap: 6px;
}

.festival-card--planner .festival-tag {
    padding: 4px 7px;
    font-size: 9px;
}

.festival-card--planner .festival-entry h4 {
    font-size: 18px;
}

.festival-card__intro {
    display: grid;
    gap: 18px;
}

.festival-card__intro h3,
.festival-calendar__header h3,
.festival-details h3 {
    margin: 0;
    font-size: 30px;
    color: var(--rose-deep);
}

.festival-card__intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.festival-card__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.festival-filter {
    min-width: 180px;
    flex: 1 1 180px;
}

.festival-filter span {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.festival-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.festival-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgb(255 232 204), rgb(228 241 114));
    font-size: 13px;
    font-weight: 800;
}

.festival-pill--soft {
    background: rgb(243 161 124 / 83%);
    border: 1px solid rgba(87, 111, 113, 0.14);
    color: var(--muted);
}

.festival-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
    gap: 22px;
    align-items: start;
}

.festival-calendar,
.festival-details {
    padding: 24px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
}

.festival-calendar__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.festival-calendar__legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.festival-calendar__legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.festival-dot {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
}

.festival-dot--holiday {
    background: linear-gradient(135deg, var(--gold), var(--rose));
}

.festival-dot--selected {
    background: #f28c28;
}

.festival-calendar__status {
    min-height: 24px;
    margin: 18px 0 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.festival-calendar__status--success {
    color: #2f6d55;
}

.festival-calendar__status--error {
    color: #a73a45;
}

.festival-calendar__status--loading {
    color: var(--rose-deep);
}

.festival-calendar__status--muted {
    color: var(--muted);
}

.festival-calendar__weekdays,
.festival-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.festival-calendar__weekdays {
    margin-bottom: 10px;
}

.festival-calendar__weekdays span {
    text-align: center;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.festival-calendar__blank {
    min-height: 118px;
    border-radius: 20px;
    background: rgba(18, 59, 69, 0.03);
}

.festival-calendar__day {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.festival-calendar__day:hover {
    transform: translateY(-2px);
    border-color: rgba(44, 122, 120, 0.28);
    box-shadow: 0 16px 28px rgba(18, 59, 69, 0.08);
}

.festival-calendar__day--holiday {
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 250, 238, 0.98), rgba(255, 255, 255, 0.96));
    border-color: rgba(201, 141, 58, 0.34);
}

.festival-calendar__day--selected {
    border-color: transparent;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(135deg, #d96b11, #f7a646);
    box-shadow: 0 20px 34px rgba(217, 107, 17, 0.28);
}

.festival-calendar__day--selected,
.festival-calendar__day--selected .festival-calendar__day-number,
.festival-calendar__day--selected .festival-tag {
    color: #fff;
}

.festival-calendar__day--selected .festival-tag {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.18);
}

.festival-calendar__day-number {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
}

.festival-calendar__day-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.festival-tag {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 10px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 999px;
    background: rgba(44, 122, 120, 0.08);
    color: var(--rose-deep);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.festival-tag--count {
    background: rgba(201, 141, 58, 0.14);
}

.festival-details__meta {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.festival-details__list {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.festival-entry,
.festival-details__empty {
    padding: 18px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 20px;
    background: rgba(244, 249, 247, 0.9);
}

.festival-entry__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.festival-entry__category,
.festival-entry__type {
    display: inline-flex;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.festival-entry__category {
    background: rgba(201, 141, 58, 0.16);
    color: #88571c;
}

.festival-entry__type {
    background: rgba(44, 122, 120, 0.12);
    color: var(--rose-deep);
}

.festival-entry h4 {
    margin: 14px 0 8px;
    font-size: 22px;
    color: var(--ink);
}

.festival-entry p,
.festival-details__empty {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.festival-entry__range {
    margin-top: 12px;
    color: var(--rose-deep);
    font-size: 13px;
    font-weight: 800;
}

.planner-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 32px;
    align-items: start;
}

.planner-grid--modal {
    padding: 0;
}

.planner-points {
    margin: 24px 0 0;
    padding-left: 18px;
}

.planner-points li+li {
    margin-top: 14px;
}

.planner-card {
    padding: 30px;
}

.planner-section-block+.planner-section-block {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(87, 111, 113, 0.14);
}

.planner-section-block__header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: var(--rose-deep);
}

.planner-section-block__header p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.planner-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
}

.planner-modal--visible {
    display: flex;
}

.planner-modal__backdrop,
.dashboard-modal__backdrop,
.entity-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(16, 46, 51, 0.58);
    backdrop-filter: blur(8px);
}

.planner-modal__dialog {
    position: relative;
    width: min(1100px, 100%);
    max-height: calc(100dvh - 48px);
    overflow: auto;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.16), transparent 22%),
        linear-gradient(180deg, rgba(252, 251, 247, 0.98), rgba(237, 246, 243, 0.98));
    box-shadow: 0 34px 70px rgba(22, 64, 67, 0.24);
    color: var(--ink);
}

.planner-modal__close {
    position: sticky;
    float: right;
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: rgba(44, 122, 120, 0.12);
    color: var(--rose-deep);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.planner-modal__close:hover {
    background: rgba(44, 122, 120, 0.2);
}

.planner-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.customer-home-body .planner-modal__backdrop {
    background: rgba(18, 13, 20, 0.74);
    backdrop-filter: blur(10px);
}

.customer-home-body .planner-modal__dialog,
.customer-home-body .planner-modal__dialog p,
.customer-home-body .planner-modal__dialog li,
.customer-home-body .planner-modal__dialog label,
.customer-home-body .planner-modal__dialog strong {
    color: var(--ink);
}

.customer-home-body .planner-copy,
.customer-home-body .planner-card {
    color: var(--ink);
}

.customer-home-body .planner-copy h2,
.customer-home-body .planner-section-block__header h3,
.customer-home-body .festival-card__intro h3,
.customer-home-body .festival-calendar__header h3,
.customer-home-body .festival-details h3 {
    color: #3a1623;
}

.customer-home-body .planner-copy p,
.customer-home-body .planner-points li,
.customer-home-body .planner-section-block__header p,
.customer-home-body .wedding-date-picker-card__hint,
.customer-home-body .festival-card__intro p,
.customer-home-body .festival-details__meta,
.customer-home-body .festival-details__empty {
    color: #526468;
}

.customer-home-body .planner-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 249, 247, 0.96));
    border: 1px solid rgba(87, 111, 113, 0.14);
    box-shadow: 0 20px 36px rgba(22, 64, 67, 0.1);
}

.customer-home-body .form-label,
.customer-home-body .festival-filter span,
.customer-home-body .festival-calendar__weekdays span {
    color: #26373b;
}

.customer-home-body .form-control,
.customer-home-body .wedding-date-picker-card,
.customer-home-body .check-tile,
.customer-home-body .festival-card,
.customer-home-body .festival-calendar,
.customer-home-body .festival-details {
    background-color: rgb(61 2 103 / 17%);
    color: var(--ink);
}

.customer-home-body select.form-control {
    color: #24363a;
    -webkit-text-fill-color: #24363a;
}

.customer-home-body select.form-control:required:invalid {
    color: #6d7b80;
    -webkit-text-fill-color: #6d7b80;
}

.customer-home-body .check-tile span {
    color: #24363a;
}

.customer-home-body .form-control::placeholder,
.customer-home-body textarea.form-control::placeholder {
    color: #6d7b80;
    opacity: 1;
}

.customer-home-body .form-control option {
    color: #1f2f33;
}

.form-grid--compact {
    margin-top: 18px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-control--textarea {
    min-height: 120px;
    resize: vertical;
}

.wedding-date-picker-card {
    padding: 18px 20px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.12), #1b77a9d4 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 246, 0.92));
}

.wedding-date-picker-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.wedding-date-picker-card__label {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.wedding-date-picker-card__value {
    display: block;
    color: var(--rose-deep);
    font-size: 24px;
    line-height: 1.2;
}

.wedding-date-picker-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(167, 58, 69, 0.08);
    color: #a73a45;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.wedding-date-picker-card__badge--selected {
    background: rgba(44, 122, 120, 0.12);
    color: #2f6d55;
}

.wedding-date-picker-card__hint {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.wedding-date-picker-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.wedding-date-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(44, 122, 120, 0.1);
    color: var(--rose-deep);
    font-size: 12px;
    font-weight: 800;
}

.wedding-date-chip--empty {
    background: rgba(87, 111, 113, 0.08);
    color: var(--muted);
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.check-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 14px 16px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.check-tile:hover {
    transform: translateY(-1px);
    border-color: rgba(44, 122, 120, 0.36);
    box-shadow: 0 12px 20px rgba(22, 64, 67, 0.08);
}

.check-tile input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--rose);
}

.dashboard-shell {
    width: min(var(--wc-dashboard-shell-max), calc(100% - 40px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.24), transparent 24%),
        linear-gradient(135deg, #10353c, #216a6d);
    color: #fff;
    box-shadow: var(--shadow);
}

.dashboard-hero .hero-text,
.dashboard-hero .eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.dashboard-table-wrap {
    overflow-x: auto;
}

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

.dashboard-table th,
.dashboard-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(87, 111, 113, 0.12);
    text-align: left;
}

.dashboard-table th {
    color: var(--rose-deep);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-help {
    margin: 16px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.dashboard-shell--refined {
    padding-top: 36px;
}

@media (min-width: 900px) {
    .dashboard-shell--refined {
        width: min(var(--wc-dashboard-refined-max), calc(100% - 40px));
        padding-top: 36px;
        padding-bottom: 68px;
    }

    .dashboard-hero {
        gap: 28px;
        padding: 34px;
        border-radius: 32px;
    }

    .dashboard-overview {
        gap: 18px;
        margin: 26px 0;
    }

    .overview-card {
        padding: 24px;
        border-radius: 26px;
    }

    .overview-card strong {
        font-size: 2.35rem;
    }

    .dashboard-split {
        gap: 24px;
    }

    .dashboard-surface {
        padding: 26px;
        border-radius: 30px;
    }

    .dashboard-plan-section {
        margin-top: 26px;
    }
}

.dashboard-hero--refined {
    align-items: end;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.22), transparent 24%),
        linear-gradient(135deg, #0f3137, #1b6668 58%, #1f7f75);
}

.super-admin-body {
    background:
        linear-gradient(135deg, #f7fbff 0%, #edf7f6 38%, #fff7ed 72%, #fff1f2 100%);
}

.super-admin-body .dashboard-hero--refined {
    border-color: rgba(255, 255, 255, 0.28);
    background:
        radial-gradient(circle at 12% 8%, rgba(250, 204, 21, 0.26), transparent 26%),
        radial-gradient(circle at 90% 0%, rgba(56, 189, 248, 0.34), transparent 26%),
        linear-gradient(135deg, #312e81 0%, #0f766e 58%, #0369a1 100%);
    box-shadow: 0 30px 64px rgba(49, 46, 129, 0.22);
}

.super-admin-body .dashboard-surface,
.super-admin-body .dashboard-support-board {
    border-color: rgba(37, 99, 235, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.92));
}

.super-admin-body .dashboard-section-dropdown__count,
.super-admin-body .surface-pill {
    background: linear-gradient(135deg, #e0e7ff, #dbeafe);
    color: #312e81;
}

.super-admin-body .surface-pill--pending {
    background: linear-gradient(135deg, #fef3c7, #ffedd5);
    color: #92400e;
}

.super-admin-body .overview-card {
    border-color: rgba(79, 70, 229, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
}

.super-admin-body .overview-card strong {
    color: #312e81;
}

.dashboard-hero__copy {
    max-width: 760px;
}

.dashboard-hero__actions {
    min-width: min(100%, 360px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}

.dashboard-inline-auth-form {
    margin: 0;
}

.dashboard-quicknav {
    margin-top: 20px;
}

.dashboard-dropdown {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.dashboard-dropdown__summary,
.dashboard-section-dropdown__summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.dashboard-dropdown__summary::-webkit-details-marker,
.dashboard-section-dropdown__summary::-webkit-details-marker {
    display: none;
}

.dashboard-dropdown__summary {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(37, 99, 235, 0.14);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(236, 253, 245, 0.96));
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-dropdown__summary:hover,
.dashboard-dropdown[open] > .dashboard-dropdown__summary {
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12);
}

.dashboard-control-dropdown .dashboard-dropdown__summary {
    min-height: 44px;
    border-color: rgba(79, 70, 229, 0.18);
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    color: #312e81;
}

.dashboard-dropdown__chevron {
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.dashboard-dropdown[open] .dashboard-dropdown__chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.dashboard-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 30;
    display: grid;
    gap: 8px;
    min-width: 220px;
    max-width: min(88vw, 360px);
    padding: 12px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(239, 246, 255, 0.98));
    box-shadow: 0 20px 42px rgba(37, 99, 235, 0.16);
    animation: dashboardDropdownReveal 0.18s ease;
}

.dashboard-dropdown__menu--right {
    right: 0;
    left: auto;
}

.dashboard-dropdown__label {
    display: block;
    padding: 8px 10px 10px;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-nav-dropdown {
    width: min(100%, 300px);
}

.dashboard-nav-dropdown .dashboard-dropdown__summary,
.dashboard-account-dropdown .dashboard-dropdown__summary {
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.34), rgba(15, 118, 110, 0.3));
    color: #fff;
}

.dashboard-nav-dropdown .dashboard-dropdown__summary:hover,
.dashboard-nav-dropdown[open] > .dashboard-dropdown__summary,
.dashboard-account-dropdown .dashboard-dropdown__summary:hover,
.dashboard-account-dropdown[open] > .dashboard-dropdown__summary {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.52), rgba(15, 118, 110, 0.46));
    border-color: rgba(255, 255, 255, 0.32);
}

.dashboard-nav-dropdown .dashboard-dropdown__menu {
    grid-template-columns: 1fr;
}

.dashboard-nav-dropdown .wc-admin-navlink {
    color: #1f2937;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    border-color: rgba(79, 70, 229, 0.12);
}

.dashboard-nav-dropdown .wc-admin-navlink:hover {
    background: linear-gradient(135deg, #dbeafe, #ccfbf1);
    border-color: rgba(37, 99, 235, 0.24);
}

.dashboard-account-dropdown {
    align-self: flex-end;
    width: min(100%, 240px);
}

.dashboard-notifications {
    align-self: flex-end;
    width: min(100%, 320px);
}

.dashboard-notifications--support {
    width: min(100%, 300px);
    margin-top: 16px;
    align-self: auto;
}

.dashboard-notification-dropdown {
    width: 100%;
}

.dashboard-notification-bell {
    position: relative;
    width: 100%;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(190, 24, 93, 0.42), rgba(217, 119, 6, 0.34));
    color: #fff;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-notification-bell::-webkit-details-marker {
    display: none;
}

.dashboard-notification-bell:hover,
.dashboard-notification-dropdown[open] > .dashboard-notification-bell {
    background: linear-gradient(135deg, rgba(190, 24, 93, 0.58), rgba(217, 119, 6, 0.48));
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 10px 22px rgba(22, 64, 67, 0.08);
}

.dashboard-notification-bell__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    flex: 0 0 auto;
}

.dashboard-notification-bell__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dashboard-notification-bell__label {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

.dashboard-notification-bell__badge {
    min-width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff0f0;
    color: #a73a45;
    font-size: 12px;
    font-weight: 900;
}

.dashboard-notification-bell__badge.is-hidden {
    display: none;
}

.dashboard-notification-menu {
    width: min(92vw, 380px);
    max-width: min(92vw, 380px);
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #fff7ed, #fff1f2);
}

.dashboard-notification-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(79, 70, 229, 0.12);
    color: #312e81;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-notification-menu__header button {
    border: 0;
    background: transparent;
    color: #0f766e;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.dashboard-notification-list {
    max-height: min(62vh, 430px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.dashboard-notification-empty {
    padding: 28px 18px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.dashboard-notification-empty.is-loading {
    background:
        linear-gradient(90deg, rgba(79, 70, 229, 0.04), rgba(14, 165, 233, 0.14), rgba(79, 70, 229, 0.04));
    background-size: 220% 100%;
    animation: support-loading-wave 1.35s linear infinite;
}

.dashboard-notification-item {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid rgba(79, 70, 229, 0.1);
    background: #fff;
    color: #1f2937;
    text-align: left;
    cursor: pointer;
}

.dashboard-notification-item:hover,
.dashboard-notification-item.is-unread {
    background: rgba(239, 246, 255, 0.98);
}

.dashboard-notification-item__dot {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 50%;
    background: rgba(107, 114, 128, 0.28);
}

.dashboard-notification-item.is-unread .dashboard-notification-item__dot {
    background: #0f766e;
    box-shadow: 0 0 0 5px rgba(15, 118, 110, 0.1);
}

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

.dashboard-notification-item__copy strong {
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-notification-item__copy span {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.4;
}

.dashboard-notification-item__copy small,
.dashboard-notification-item__action {
    color: #6b7280;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-notification-item__action {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(107, 114, 128, 0.1);
}

.dashboard-notification-item.is-unread .dashboard-notification-item__action {
    color: #0f766e;
    background: rgba(15, 118, 110, 0.1);
}

.dashboard-section-dropdown {
    display: block;
}

.dashboard-section-dropdown__summary {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    min-height: 0;
    padding: 2px 0 18px;
    border-bottom: 1px solid rgba(87, 111, 113, 0.1);
}

.dashboard-section-dropdown__summary > div {
    min-width: 0;
}

.dashboard-section-dropdown__summary .eyebrow {
    margin-bottom: 14px;
}

.dashboard-section-dropdown__summary h2 {
    margin: 0;
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    line-height: 1.1;
}

.dashboard-section-dropdown__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e0e7ff, #dbeafe);
    color: #312e81;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-section-dropdown__summary::after {
    content: "";
    align-self: center;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--rose-deep);
    border-bottom: 2px solid var(--rose-deep);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.dashboard-section-dropdown[open] > .dashboard-section-dropdown__summary::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.dashboard-section-dropdown:not([open]) > .dashboard-section-dropdown__summary {
    padding-bottom: 0;
    border-bottom: 0;
}

.dashboard-section-dropdown:not([open]) > .dashboard-section-dropdown__summary h2 {
    font-size: clamp(1.5rem, 1.8vw, 1.95rem);
}

.dashboard-section-dropdown__body {
    padding-top: 22px;
    animation: dashboardDropdownReveal 0.22s ease;
}

.dashboard-control-dropdown {
    display: block;
    width: min(100%, 220px);
    margin: 0 0 18px auto;
}

.dashboard-control-dropdown .dashboard-dropdown__menu .btn,
.dashboard-action-dropdown .dashboard-dropdown__menu .btn,
.dashboard-account-dropdown .dashboard-dropdown__menu .btn {
    width: 100%;
    justify-content: center;
}

.dashboard-control-dropdown .dashboard-dropdown__menu .btn,
.dashboard-account-dropdown .dashboard-dropdown__menu .btn {
    min-height: 42px;
}

.dashboard-action-dropdown {
    width: 120px;
}

.dashboard-action-dropdown .dashboard-dropdown__summary {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 12px;
    border-color: rgba(14, 116, 144, 0.16);
    background: linear-gradient(135deg, #ecfeff, #f0fdfa);
    color: #155e75;
    font-size: 12px;
}

.dashboard-action-dropdown .dashboard-dropdown__menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(180deg, #f0fdfa, #ecfeff);
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(87, 111, 113, 0.04);
}

@keyframes dashboardDropdownReveal {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0;
}

.dashboard-flash-stack {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.overview-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 30px rgba(22, 64, 67, 0.08);
}

.overview-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: rgba(141, 51, 72, 0.65);
}

.overview-card strong {
    display: block;
    margin-top: 10px;
    font-size: 2.4rem;
    color: var(--rose-deep);
}

.overview-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.overview-card__label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.overview-card--customers::before {
    background: #8d3348;
}

.overview-card--vendors::before {
    background: #1f7f75;
}

.overview-card--stories::before {
    background: #c98d3a;
}

.overview-card--plans::before {
    background: #4f46e5;
}

.overview-card--catalog::before {
    background: #11738a;
}

.overview-card--support::before {
    background: #7a4fd6;
}

.dashboard-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.dashboard-split > .dashboard-surface {
    height: 100%;
    min-height: 170px;
}

.dashboard-split > .dashboard-surface + .dashboard-surface {
    margin-top: 0;
}

.dashboard-surface {
    padding: 28px 30px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 248, 246, 0.92));
    box-shadow: 0 22px 44px rgba(22, 64, 67, 0.08);
}

.dashboard-surface + .dashboard-surface,
.dashboard-support-board + .dashboard-surface,
.dashboard-surface + .dashboard-support-board,
.dashboard-split + .dashboard-surface {
    margin-top: 26px;
}

.dashboard-surface--compact {
    min-height: 100%;
}

.surface-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.surface-header h2 {
    margin: 0;
    font-size: 2rem;
}

.surface-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.surface-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(44, 122, 120, 0.08);
    color: var(--rose-deep);
    font-size: 13px;
    font-weight: 800;
}

.surface-pill--pending {
    background: rgba(201, 141, 58, 0.18);
    color: #8e5a17;
}

.dashboard-module-search {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 16px;
    overflow-anchor: none;
}

.dashboard-module-search__field {
    position: relative;
    display: block;
    min-width: 0;
}

.dashboard-module-search__field input[type="search"] {
    width: 100%;
    min-height: 48px;
    padding: 13px 46px 13px 16px;
    border: 1px solid rgba(87, 111, 113, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    font-size: 0.95rem;
}

.dashboard-module-search__field input[type="search"]:focus {
    outline: none;
    border-color: rgba(44, 122, 120, 0.42);
    box-shadow: 0 0 0 4px rgba(44, 122, 120, 0.1);
}

.dashboard-module-search__clear {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(87, 111, 113, 0.08);
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.dashboard-module-search__clear:hover {
    background: rgba(87, 111, 113, 0.14);
}

.dashboard-module-search__clear.is-hidden {
    display: none;
}

.dashboard-module-search.is-loading input[type="search"] {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.94), rgba(220, 239, 238, 0.34), rgba(255, 255, 255, 0.94));
    background-size: 220% 100%;
    animation: support-loading-wave 1.2s linear infinite;
}

.dashboard-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 16px 0 4px;
}

.dashboard-pagination__link,
.dashboard-pagination__gap {
    min-width: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--rose-deep);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-pagination__link {
    border: 1px solid rgba(87, 111, 113, 0.14);
    background: rgba(255, 255, 255, 0.82);
}

.dashboard-pagination__link:hover,
.dashboard-pagination__link.is-current {
    border-color: transparent;
    background: linear-gradient(135deg, var(--rose-deep), #2c7a78);
    color: #fff;
}

.dashboard-pagination__gap {
    color: var(--muted);
}

.dashboard-search-empty {
    margin-top: 16px;
}

.dashboard-story-preview-list {
    display: grid;
    gap: 16px;
    overflow-anchor: none;
}

.dashboard-story-preview {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border-radius: 22px;
    border: 1px solid rgba(87, 111, 113, 0.08);
    background: rgba(255, 255, 255, 0.84);
}

.dashboard-story-preview__media {
    width: 104px;
    height: 104px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(44, 122, 120, 0.08);
}

.dashboard-story-preview__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-story-preview__placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8d3348, #c98d3a);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}

.dashboard-story-preview__body {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.dashboard-story-preview__category {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(141, 51, 72, 0.1);
    color: var(--rose-deep);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-story-preview__body h3 {
    margin: 0;
    color: var(--ink);
    font-size: 1.1rem;
    line-height: 1.25;
}

.dashboard-story-preview__body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.dashboard-story-preview__meta {
    color: #607176;
    font-size: 0.88rem;
    font-weight: 700;
}

.dashboard-story-preview__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.dashboard-table-wrap--refined {
    border: 1px solid rgba(87, 111, 113, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    overflow-x: auto;
    overflow-y: hidden;
    overflow-anchor: none;
}

.dashboard-table--refined thead th {
    background: rgba(44, 122, 120, 0.06);
    color: var(--rose-deep);
}

.dashboard-table--refined {
    width: max-content;
    min-width: 100%;
}

.dashboard-table--refined th:last-child,
.dashboard-table--refined td:last-child {
    width: 1%;
    white-space: nowrap;
}

.dashboard-table--refined tbody tr:hover {
    background: rgba(44, 122, 120, 0.06);
}

.dashboard-row-action {
    cursor: pointer;
}

.dashboard-row-action td {
    transition: background 0.2s ease;
}

.dashboard-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 132px;
}

.dashboard-plan-section {
    margin-top: 26px;
}

.dashboard-table--plans {
    table-layout: fixed;
}

.dashboard-table--plans th,
.dashboard-table--plans td {
    vertical-align: top;
}

.dashboard-table--plans th:nth-child(1),
.dashboard-table--plans td:nth-child(1) {
    min-width: 170px;
}

.dashboard-table--plans th:nth-child(2),
.dashboard-table--plans td:nth-child(2) {
    min-width: 190px;
}

.dashboard-table--plans th:nth-child(3),
.dashboard-table--plans td:nth-child(3) {
    min-width: 260px;
}

.dashboard-table--plans th:nth-child(4),
.dashboard-table--plans td:nth-child(4),
.dashboard-table--plans th:nth-child(5),
.dashboard-table--plans td:nth-child(5),
.dashboard-table--plans th:nth-child(6),
.dashboard-table--plans td:nth-child(6) {
    min-width: 220px;
}

.dashboard-table--plans th:nth-child(7),
.dashboard-table--plans td:nth-child(7) {
    min-width: 240px;
}

.dashboard-table--plans th:nth-child(8),
.dashboard-table--plans td:nth-child(8) {
    min-width: 120px;
}

.dashboard-table--plans tbody tr {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 249, 0.92));
}

.dashboard-table--plans tbody tr+tr td {
    border-top: 1px solid rgba(87, 111, 113, 0.08);
}

.plan-cell-stack {
    display: grid;
    gap: 10px;
    line-height: 1.65;
    font-size: 1.08rem;
    color: var(--ink);
}

.plan-cell-stack span {
    display: block;
    overflow-wrap: anywhere;
    color: var(--ink);
}

.plan-cell-stack strong {
    color: var(--rose-deep);
    font-weight: 800;
}

.plan-success-profile {
    position: relative;
}

.plan-success-profile__trigger {
    width: 80px;
    height: 80px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    font-size: 2.1rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.24);
}

.plan-success-profile__panel {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    width: min(320px, calc(100vw - 32px));
    padding: 18px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 248, 246, 0.98));
    box-shadow: 0 20px 36px rgba(22, 64, 67, 0.16);
    z-index: 100;
    text-align: left;
}

.plan-success-profile__header {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(87, 111, 113, 0.16);
}

.plan-success-profile__name {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--ink);
    font-weight: 800;
}

.plan-success-profile__meta {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: #4b5f63;
}

.plan-success-profile__license {
    margin: 0;
    font-size: 0.82rem;
    color: #5f6f73;
    font-family: Consolas, "Courier New", monospace;
    overflow-wrap: anywhere;
}

.plan-success-profile__form {
    margin: 0;
}

.plan-success-profile__logout {
    width: 100%;
    justify-content: center;
}

.plan-notes-cell {
    max-width: 320px;
    color: var(--muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.plan-success-shell {
    padding: 56px 0 88px;
}

.plan-success-card {
    padding: 40px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 244, 0.95));
    box-shadow: 0 28px 54px rgba(22, 64, 67, 0.12);
}

.plan-success-card .hero-text {
    max-width: 760px;
}

.plan-success-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.plan-success-hero__copy {
    display: grid;
    gap: 14px;
}

.plan-success-card h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.plan-success-status {
    padding: 24px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 248, 0.92)),
        rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 32px rgba(22, 64, 67, 0.08);
}

.plan-success-status__eyebrow {
    margin-bottom: 16px;
    color: var(--rose-deep);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plan-success-status__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.plan-success-stat {
    display: grid;
    gap: 8px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(244, 248, 247, 0.88);
    border: 1px solid rgba(87, 111, 113, 0.08);
}

.plan-success-stat__label {
    color: #5c6c71;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-success-stat__value {
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.35;
}

.plan-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.plan-section {
    margin-top: 36px;
}

.plan-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.plan-section-heading h2 {
    margin: 6px 0 0;
    color: var(--ink);
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    line-height: 1.12;
}

.plan-section-heading p:last-child {
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.vendor-match-panel {
    margin-top: 0;
}

.vendor-match-panel__intro {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.vendor-match-panel__intro h3 {
    margin: 6px 0 0;
    color: var(--ink);
    font-size: 1.7rem;
}

.vendor-match-form {
    margin-top: 4px;
}

.vendor-match-form__grid {
    align-items: end;
    margin-bottom: 0;
}

.vendor-match-form__actions {
    display: flex;
    align-items: end;
}

.vendor-match-form__actions .btn {
    margin-top: 30px;
}

.vendor-match-results-meta {
    margin: 26px 0 22px;
    color: var(--muted);
    line-height: 1.7;
}

.plan-tools-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.plan-tools-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 22px;
}

.plan-tool-card {
    display: grid;
    align-content: space-between;
    height: 100%;
    margin-top: 0;
}

.plan-tool-card--tile {
    min-height: 100%;
    padding: 24px;
}

.plan-tool-card__body {
    display: grid;
    gap: 18px;
    width: 100%;
}

.plan-tool-card__header {
    display: grid;
    gap: 8px;
}

.plan-tool-card__header h3 {
    margin: 0;
}

.plan-tool-card__header p:last-child {
    margin: 0;
}

.plan-tool-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.plan-tool-points {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan-tool-points li {
    position: relative;
    padding-left: 18px;
    color: var(--ink);
    line-height: 1.6;
}

.plan-tool-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(141, 51, 72, 0.78);
}

.venue-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    width: 100%;
    margin-top: 22px;
}

.venue-album-card {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 28px rgba(22, 64, 67, 0.08);
}

.venue-album-card__image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.venue-gallery-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top, rgba(201, 141, 58, 0.18), transparent 24%),
        linear-gradient(180deg, #112d34 0%, #0c1d22 100%);
}

.venue-gallery-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.venue-gallery-shell {
    width: min(var(--wc-gallery-shell-max), calc(100% - 32px));
    margin: 0 auto;
    padding: 72px 0 32px;
}

.venue-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.venue-gallery-image {
    display: block;
    width: 100%;
    height: min(32vw, 320px);
    min-height: 220px;
    border-radius: 24px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.gifting-tool-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-top: 28px;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgb(255 255 255);
    background: linear-gradient(135deg, rgb(255 255 255), rgb(255 255 255)), rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 32px rgba(22, 64, 67, 0.08);
}

.gifting-tool-card > div {
    max-width: 640px;
}

.plan-tool-card--tile .plan-tool-card__footer {
    align-items: flex-start;
    flex-direction: column;
}

.plan-tool-card--tile .btn {
    width: 100%;
    justify-content: center;
}

.gifting-tool-card h3,
.budget-calculator-card__intro h3,
.checklist-card__intro h3,
.countdown-dashboard-card__copy h3 {
    margin: 0 0 8px;
    color: var(--rose-deep);
    font-size: 1.45rem;
}

.gifting-tool-card p:last-child,
.budget-calculator-card__copy p:last-child,
.checklist-card__copy p:last-child,
.countdown-dashboard-card__copy p:last-child {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.budget-calculator-card {
    display: grid;
    gap: 24px;
    margin-top: 24px;
    padding: 28px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 244, 0.92)),
        rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 32px rgba(22, 64, 67, 0.08);
}

.budget-calculator-card__intro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.budget-calculator-card__copy {
    max-width: 760px;
}

.checklist-card {
    display: grid;
    gap: 24px;
    margin-top: 24px;
    padding: 28px;
    border: 1px solid rgba(141, 51, 72, 0.14);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(255, 255, 255, 0.94)),
        rgba(255, 255, 255, 0.88);
    box-shadow: 0 18px 32px rgba(22, 64, 67, 0.08);
}

.checklist-card__copy {
    max-width: 720px;
}

.checklist-card .btn {
    justify-self: start;
}

.countdown-dashboard-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    margin-top: 24px;
    padding: 28px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(201, 141, 58, 0.14), transparent 28%),
        linear-gradient(140deg, rgba(245, 239, 231, 0.96), rgba(255, 255, 255, 0.94));
    box-shadow: 0 18px 32px rgba(22, 64, 67, 0.08);
}

.countdown-dashboard-card__copy {
    max-width: 620px;
}

.countdown-widget {
    display: block;
    text-decoration: none;
    color: inherit;
    justify-self: end;
    -webkit-tap-highlight-color: transparent;
}

.countdown-widget__shell {
    display: grid;
    gap: 14px;
    width: min(100%, 214px);
    min-width: 190px;
    padding: 16px;
    border-radius: 30px;
    border: 1px solid rgba(72, 78, 81, 0.16);
    background: linear-gradient(180deg, rgb(255, 0, 0), rgb(250 239 0 / 94%));
    box-shadow:
        0 24px 44px rgba(22, 64, 67, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.countdown-widget:hover .countdown-widget__shell,
.countdown-widget:focus-visible .countdown-widget__shell {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(141, 51, 72, 0.24);
    box-shadow:
        0 30px 52px rgba(22, 64, 67, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.countdown-widget:active .countdown-widget__shell {
    transform: translateY(-1px) scale(0.985);
}

.countdown-widget__screen {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 148px;
    padding: 20px;
    overflow: hidden;
    border-radius: 22px;
    border: 2px solid rgba(176, 139, 84, 0.72);
    background:
        linear-gradient(180deg, rgba(164, 87, 109, 0.96), rgba(112, 40, 60, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 240, 226, 0.28),
        0 10px 18px rgba(87, 24, 43, 0.18);
}

.countdown-widget__screen::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 240, 226, 0.18);
    pointer-events: none;
}

.countdown-widget__value,
.countdown-widget__empty {
    position: relative;
    z-index: 1;
}

.countdown-widget__value {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 1;
    color: #fff9f3;
    letter-spacing: -0.06em;
}

.countdown-widget__empty {
    display: none;
    max-width: 118px;
    font-size: 0.92rem;
    line-height: 1.45;
    text-align: center;
    color: rgba(255, 249, 243, 0.8);
}

.countdown-widget__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.countdown-widget__label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #223739;
}

.countdown-widget__meta {
    max-width: 84px;
    font-size: 0.72rem;
    line-height: 1.35;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5f6f73;
}

.countdown-widget[data-countdown-state="empty"] .countdown-widget__value {
    display: none;
}

.countdown-widget[data-countdown-state="empty"] .countdown-widget__empty {
    display: block;
}

.countdown-page,
.checklist-page {
    width: min(100%, 1120px);
    margin: 0 auto;
    padding: 28px 18px 72px;
}

.countdown-page__frame,
.checklist-page__frame {
    padding: 32px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 244, 0.95));
    box-shadow: 0 28px 54px rgba(22, 64, 67, 0.12);
}

.countdown-page__header,
.checklist-page__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.countdown-page__header h1,
.checklist-page__header h1 {
    margin: 0 0 10px;
    max-width: 760px;
    color: var(--rose-deep);
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.countdown-page__header p:last-child {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.countdown-stage {
    display: grid;
    gap: 28px;
    justify-items: center;
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    background:
        radial-gradient(circle at top left, rgba(141, 51, 72, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(252, 248, 243, 0.98), rgba(245, 248, 247, 0.96));
}

.countdown-stage--empty {
    background:
        radial-gradient(circle at top left, rgba(87, 111, 113, 0.08), transparent 28%),
        linear-gradient(180deg, rgba(250, 250, 250, 0.98), rgba(243, 246, 245, 0.96));
}

.countdown-stage__hero {
    width: min(100%, 760px);
    max-width: 720px;
    text-align: center;
}

.countdown-stage__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(34, 55, 57, 0.08);
    color: #223739;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.countdown-stage__hero h2 {
    margin: 0 0 10px;
    color: #223739;
    font-size: clamp(1.9rem, 4vw, 2.9rem);
    line-height: 1.08;
}

.countdown-stage__hero p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.countdown-board {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(228, 228, 228, 0.64), rgba(247, 247, 247, 0.9));
    border: 1px solid rgba(87, 111, 113, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.84),
        0 18px 30px rgba(22, 64, 67, 0.08);
}

.countdown-board--stacked {
    width: min(100%, 720px);
    gap: 24px;
    padding: 28px 22px 24px;
}

.countdown-stack {
    display: grid;
    gap: 14px;
    justify-items: center;
}

.countdown-stack__group {
    width: min(100%, 620px);
    display: grid;
    gap: 10px;
    justify-items: center;
}

.countdown-stack__digits {
    display: grid;
    grid-template-columns: repeat(2, minmax(110px, 1fr));
    gap: 10px;
    width: min(100%, 380px);
}

.countdown-stack__digits--days {
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    width: min(100%, 540px);
}

.countdown-stack__digit {
    display: grid;
    place-items: center;
    min-height: 122px;
    padding: 14px 18px;
    border-radius: 6px;
    border: 2px solid rgba(176, 139, 84, 0.72);
    background:
        linear-gradient(180deg, rgba(164, 87, 109, 0.96), rgba(112, 40, 60, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 240, 226, 0.28),
        0 10px 18px rgba(87, 24, 43, 0.18);
    font-family: "Playfair Display", serif;
    font-size: clamp(2.6rem, 7vw, 4rem);
    line-height: 1;
    color: #fff9f3;
}

.countdown-stack__digit--placeholder {
    color: rgba(255, 249, 243, 0.72);
}

.countdown-stack__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 236px);
    min-height: 14px;
    padding: 2px 14px 3px;
    border-radius: 3px;
    background: #222727;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.1;
}

.countdown-stage__message {
    width: min(100%, 760px);
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(87, 111, 113, 0.12);
    color: #43585d;
    line-height: 1.65;
    text-align: center;
}

.checklist-page__header p {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    line-height: 1.7;
}

.checklist-page__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.checklist-page__meta span {
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(17, 17, 17, 0.06);
    color: #222;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.task-planner {
    margin-top: 28px;
    padding: 26px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.98)),
        #fff;
    box-shadow: 0 24px 42px rgba(22, 64, 67, 0.09);
}

.task-planner__heading h2 {
    margin: 0 0 8px;
    color: #111;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.08;
}

.task-planner__heading p:last-child {
    margin: 0;
    color: #5c5c5c;
    line-height: 1.7;
}

.task-planner__tabs {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.task-planner__tab {
    min-width: 126px;
    padding: 14px 18px;
    border: 1px solid #989898;
    border-radius: 12px;
    background: #8c8c8c;
    color: #fff;
    font-size: 0.96rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.task-planner__tab:hover,
.task-planner__tab:focus-visible {
    background: #5f5f5f;
    border-color: #4b4b4b;
    transform: translateY(-1px);
    outline: none;
}

.task-planner__tab.is-active {
    background: #121212;
    border-color: #121212;
    box-shadow: 0 12px 22px rgba(17, 17, 17, 0.18);
}

.task-planner__panel {
    margin-top: 22px;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.task-planner__panel.is-switching {
    opacity: 0.38;
    transform: translateY(10px);
}

.task-planner__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    color: #555;
    font-size: 0.95rem;
}

.task-planner__panel-head strong {
    color: #111;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
}

.task-planner__list {
    display: grid;
    gap: 14px;
}

.task-planner__empty {
    padding: 24px 20px;
    border: 2px dashed #c5c5c5;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.92);
    color: #666;
    text-align: center;
    line-height: 1.65;
}

.task-planner__task {
    display: grid;
    gap: 10px;
}

.task-planner__task-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 14px;
    align-items: stretch;
    padding: 12px;
    border: 2px solid #d0d0d0;
    border-radius: 18px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.task-planner__task-row:hover {
    border-color: #9f9f9f;
}

.task-planner__task.is-expanded .task-planner__task-row {
    border-color: #111;
    box-shadow: 0 16px 26px rgba(17, 17, 17, 0.09);
}

.task-planner__task.is-complete .task-planner__task-row {
    opacity: 0.82;
}

.task-planner__title-wrap {
    display: flex;
}

.task-planner__title {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid #111;
    border-radius: 12px;
    background: #111;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.task-planner__title::placeholder {
    color: rgba(255, 255, 255, 0.56);
}

.task-planner__title:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.12);
}

.task-planner__task.is-complete .task-planner__title {
    color: rgba(255, 255, 255, 0.64);
    text-decoration: line-through;
}

.task-planner__check {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-left: 2px solid #d0d0d0;
    cursor: pointer;
}

.task-planner__check input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.task-planner__checkmark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #111;
    border-radius: 50%;
    background: #fff;
    transition: background 0.2s ease, transform 0.2s ease;
}

.task-planner__checkmark::after {
    content: "";
    width: 10px;
    height: 18px;
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform 0.18s ease;
    margin-top: -2px;
}

.task-planner__check input:checked + .task-planner__checkmark {
    background: #07f127;
    transform: scale(1.02);
}

.task-planner__check input:checked + .task-planner__checkmark::after {
    transform: rotate(45deg) scale(1);
}

.task-planner__details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease, visibility 0.2s step-end;
}

.task-planner__task.is-expanded .task-planner__details {
    max-height: 420px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: max-height 0.3s ease, opacity 0.24s ease, transform 0.24s ease, visibility 0s;
}

.task-planner__details-inner {
    padding: 16px 18px 18px;
    border: 2px solid #d0d0d0;
    border-radius: 18px;
    background: #fcfcfc;
}

.task-planner__description-label {
    display: block;
    margin-bottom: 10px;
    color: #222;
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.task-planner__description {
    width: 100%;
    min-height: 118px;
    resize: vertical;
    padding: 14px 16px;
    border: 1px solid #b9b9b9;
    border-radius: 14px;
    background: #fff;
    color: #111;
    line-height: 1.6;
    font-family: inherit;
    font-size: 0.96rem;
}

.task-planner__description:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.task-planner__task-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.task-planner__delete {
    padding: 10px 14px;
    border: 1px solid #111;
    border-radius: 999px;
    background: transparent;
    color: #111;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.task-planner__delete:hover,
.task-planner__delete:focus-visible {
    background: #111;
    color: #fff;
    outline: none;
}

.task-planner__footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 18px;
}

.task-planner__footer-copy {
    color: #5c5c5c;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.task-planner__add {
    width: 72px;
    height: 72px;
    border: none;
    border-radius: 14px;
    background: #111;
    color: #fff;
    font-size: 2.15rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 18px 28px rgba(17, 17, 17, 0.18);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.task-planner__add:hover,
.task-planner__add:focus-visible {
    background: #000;
    transform: translateY(-2px);
    outline: none;
}

.checklist-page__footer-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.budget-calc-page {
    width: min(100%, var(--wc-budget-page-max));
    margin: 0 auto;
    padding: 28px 18px 72px;
}

.budget-calc-sheet {
    width: min(100%, var(--wc-budget-sheet-max));
    margin: 0 auto;
}

.budget-calc-sheet__frame {
    width: 100%;
    min-width: 0;
}

.budget-calc-sheet__title-wrap {
    display: flex;
    justify-content: center;
    margin: 22px 0 14px;
}

.budget-calc-sheet__title {
    min-width: 220px;
    padding: 10px 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, #123b45, #2c7a78);
    color: #ffffff;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(18, 59, 69, 0.2);
}

.budget-calc-block {
    margin-top: 18px;
    padding: 16px 16px 18px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 251, 0.96));
    box-shadow:
        0 12px 24px rgba(22, 64, 67, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.budget-calc-block__title {
    margin: -16px -16px 14px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #123b45, #205e63);
    color: #ffffff;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px 8px 0 0;
    letter-spacing: 0.02em;
}

.budget-calc-section-items {
    display: grid;
    gap: 12px;
}

.budget-calc-item {
    display: grid;
    gap: 7px;
}

.budget-calc-item__label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-width: min(100%, 188px);
    padding: 4px 8px;
    background: rgba(141, 51, 72, 0.1);
    color: var(--rose-deep);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    border-radius: 4px;
}

.budget-calc-entry {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(180px, 240px) 58px;
    gap: 10px;
    align-items: stretch;
}

.budget-calc-entry--single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
}

.budget-calc-entry__text,
.budget-calc-entry__amount,
.budget-calc-entry__single-input {
    min-width: 0;
    height: 46px;
    border: 1px solid rgba(87, 111, 113, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
    color: #161616;
    font-size: 1rem;
    padding: 10px 14px;
    outline: none;
    transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.budget-calc-entry__text:focus,
.budget-calc-entry__amount:focus,
.budget-calc-entry__single-input:focus,
.budget-calc-label-input:focus {
    border-color: rgba(44, 122, 120, 0.55);
    box-shadow: 0 0 0 3px rgba(44, 122, 120, 0.1);
    background: #ffffff;
}

.budget-calc-entry__amount {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.budget-calc-entry__currency {
    display: grid;
    place-items: center;
    min-width: 0;
    height: 46px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 6px;
    background: rgba(44, 122, 120, 0.09);
    color: #123b45;
    font-size: 0.78rem;
    font-weight: 800;
}

.budget-calc-add {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    padding: 11px 14px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, #123b45, #2c7a78);
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.budget-calc-add:hover {
    background: linear-gradient(135deg, #0f3137, #246a68);
    box-shadow: 0 10px 20px rgba(18, 59, 69, 0.16);
}

.budget-calc-add:active,
.budget-calc-remove:active {
    transform: translateY(1px);
}

.budget-calc-add span {
    font-size: 1.2rem;
    line-height: 1;
}

.budget-calc-item--summary {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(87, 111, 113, 0.2);
}

.budget-calc-entry__amount--readonly {
    background: rgba(244, 248, 247, 0.92);
    font-weight: 800;
}

.budget-calc-grand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.budget-calc-item--grand {
    gap: 12px;
    min-height: 148px;
    padding: 20px 18px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 14px;
    background:
        radial-gradient(circle at top right, rgba(201, 141, 58, 0.12), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 248, 0.98));
    box-shadow: 0 12px 24px rgba(22, 64, 67, 0.08);
}

.budget-calc-item--grand .budget-calc-item__label {
    width: 100%;
    min-width: 0;
    padding: 0;
    background: transparent;
    color: #4f666b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.5;
}

.budget-calc-entry--grand {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.budget-calc-entry__amount--grand {
    width: 100%;
    min-width: 0;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--rose-deep);
    font-size: clamp(1.3rem, 1.8vw, 1.85rem);
    font-weight: 900;
    text-align: left;
    line-height: 1.18;
    font-variant-numeric: tabular-nums;
    box-shadow: none;
}

.budget-calc-entry__amount--grand:focus {
    box-shadow: none;
}

.budget-calc-entry--grand .budget-calc-entry__currency {
    height: auto;
    padding: 8px 10px;
    border: 0;
    border-radius: 999px;
    background: #123b45;
    color: #ffffff;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.budget-calc-item--custom .budget-calc-item__label {
    background: transparent;
    padding: 0;
    width: 100%;
    min-width: 0;
}

.budget-calc-item__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.budget-calc-item__head .budget-calc-item__label {
    flex: 1 1 220px;
}

.budget-calc-remove {
    border: 0;
    border-radius: 999px;
    background: #96292b;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 9px 14px;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.budget-calc-remove:hover {
    background: #7e2022;
    box-shadow: 0 10px 18px rgba(150, 41, 43, 0.18);
}

.budget-calc-label-input {
    width: 100%;
    height: 34px;
    border: 1px solid rgba(87, 111, 113, 0.18);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    font-size: 0.8rem;
    padding: 6px 10px;
}

.budget-calc-label-input::placeholder {
    color: #7d8c90;
}

.budget-calc-block--grand-total {
    padding-bottom: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 247, 244, 0.96));
}

.gifting-shell,
.gifting-customizer-shell {
    width: min(var(--wc-gifting-shell-max), calc(100% - 24px));
    margin: 0 auto;
    padding: 18px 0 82px;
}

.gifting-hero {
    max-width: 740px;
    margin-bottom: 30px;
}

.gifting-hero h1 {
    margin: 0;
    color: var(--rose-deep);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.04;
}

.gifting-hero p:last-child {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
}

.gifting-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
}

.gifting-product-card {
    display: grid;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    background: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    color: var(--ink);
    box-shadow: 0 18px 32px rgba(22, 64, 67, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gifting-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 38px rgba(22, 64, 67, 0.13);
}

.gifting-product-card__image-wrap {
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, rgba(239, 247, 244, 0.86), rgba(255, 255, 255, 0.96));
}

.gifting-product-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 18px;
}

.gifting-product-card__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--rose-deep);
    font-size: 3rem;
    font-weight: 900;
}

.gifting-product-card__body {
    display: grid;
    gap: 6px;
    padding: 18px;
}

.gifting-product-card__body strong {
    color: var(--rose-deep);
    font-size: 1.08rem;
}

.gifting-product-card__body span {
    font-weight: 800;
}

.gifting-product-card__body small {
    color: var(--muted);
    font-weight: 700;
}

.gifting-customizer {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) minmax(320px, 0.42fr);
    gap: 10px 22px;
    align-items: start;
}

.gifting-image-rail {
    position: sticky;
    top: 84px;
    display: grid;
    gap: 12px;
    align-content: start;
    padding-top: 48px;
}

.gifting-image-rail .eyebrow {
    display: none;
}

.gifting-gallery-thumb {
    display: block;
    width: 60px;
    height: 78px;
    padding: 2px;
    overflow: hidden;
    border: 1px solid rgba(16, 46, 51, 0.28);
    border-radius: 16px;
    background: #fff;
    color: transparent;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.gifting-gallery-thumb--active {
    border-color: #0a66c2;
    box-shadow: 0 0 0 1px #0a66c2;
}

.gifting-gallery-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 13px;
    object-fit: contain;
    background: #f7f7f7;
}

.gifting-gallery-thumb span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.gifting-control-panel {
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 26px rgba(22, 64, 67, 0.08);
}

.gifting-preview-panel {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.gifting-preview-panel > .eyebrow,
.gifting-preview-panel > h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.gifting-preview-panel h1 {
    margin: 0 0 22px;
    color: var(--rose-deep);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
}

.gifting-preview-stage {
    position: relative;
    display: grid;
    place-items: center;
    min-height: min(820px, calc(100vh - 96px));
    overflow: hidden;
    border-radius: 0;
    background: #f5f5f5;
    touch-action: none;
}

.gifting-share-button {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: #111;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.gifting-share-button:hover {
    transform: translateY(-1px);
    background: #fff;
}

.gifting-share-button--copied {
    background: #e8f7ef;
    color: #1f7a4d;
}

.gifting-share-button svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gifting-preview-canvas {
    position: relative;
    display: grid;
    place-items: center;
    width: min(76%, 720px);
    max-height: min(760px, calc(100vh - 132px));
}

.gifting-preview-canvas--catalog-only .gifting-preview-print-area {
    display: none;
}

.gifting-preview-surface {
    position: relative;
    width: 100%;
    max-height: min(760px, calc(100vh - 132px));
    isolation: isolate;
    filter: drop-shadow(0 18px 24px rgba(20, 24, 26, 0.12));
}

.gifting-preview-product {
    width: 100%;
    max-height: min(760px, calc(100vh - 132px));
    display: block;
    object-fit: contain;
}

.gifting-preview-print-area {
    position: absolute;
    inset: 3%;
    overflow: hidden;
    border-radius: 18px;
    z-index: 2;
    pointer-events: none;
    -webkit-mask-image: var(--gifting-product-mask);
    mask-image: var(--gifting-product-mask);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    contain: paint;
}

.gifting-preview-logo,
.gifting-preview-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: grab;
    user-select: none;
    touch-action: none;
    pointer-events: auto;
}

.gifting-preview-logo {
    width: 28%;
    height: auto;
    max-width: 78%;
    max-height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.16));
}

.gifting-preview-text {
    display: block;
    box-sizing: border-box;
    max-width: 58%;
    max-height: 88%;
    padding: 2px 4px;
    overflow: hidden;
    color: #000000;
    font-family: "Montserrat";
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    writing-mode: vertical-rl;
    transform: translate(-50%, -50%) rotate(180deg);
    text-align: center;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
    hyphens: auto;
    text-overflow: clip;
    contain: layout paint;
}

.gifting-preview-text--horizontal {
    writing-mode: horizontal-tb;
    transform: translate(-50%, -50%);
    line-height: 1.16;
    text-wrap: balance;
}

.gifting-preview-text--vertical {
    writing-mode: vertical-rl;
    transform: translate(-50%, -50%) rotate(180deg);
    line-height: 1.08;
}

.gifting-preview-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.gifting-preview-meta span {
    padding: 8px 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    font-weight: 800;
}

.gifting-control-panel {
    position: sticky;
    top: 84px;
    padding: 26px;
}

.gifting-control-panel h2 {
    margin: 0 0 10px;
    color: var(--rose-deep);
    font-size: 1.8rem;
}

.gifting-control-copy {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.65;
}

.gifting-orientation-control ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gifting-orientation-control li {
    margin: 0;
}

.gifting-orientation-control label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid rgba(87, 111, 113, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    font-weight: 800;
    cursor: pointer;
}

.gifting-orientation-control input {
    accent-color: var(--rose-deep);
}

.gifting-orientation-control label:has(input:checked) {
    border-color: rgba(141, 51, 72, 0.52);
    background: rgba(141, 51, 72, 0.08);
    color: var(--rose-deep);
}

.gifting-control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 18px 0;
}

.gifting-range-control {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

.gifting-range-control span {
    font-size: 0.85rem;
}

.gifting-range-control input {
    width: 100%;
    accent-color: var(--rose-deep);
}

.dashboard-product-cell {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dashboard-product-thumb {
    width: 62px;
    height: 62px;
    border-radius: 14px;
    object-fit: cover;
    background: rgba(87, 111, 113, 0.08);
}

.product-gallery-manager {
    display: grid;
    gap: 14px;
}

.product-gallery-manager__grid,
.product-gallery-manager__new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
    gap: 14px;
}

.product-gallery-manager__item {
    position: relative;
    display: grid;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
}

.product-gallery-manager__item--removed {
    opacity: 0.48;
}

.product-gallery-manager__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(87, 111, 113, 0.08);
}

.product-gallery-manager__choice,
.product-gallery-manager__remove {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
}

.product-gallery-manager__choice input,
.product-gallery-manager__remove input {
    accent-color: var(--rose-deep);
}

.product-gallery-manager__remove {
    color: var(--muted);
    font-weight: 700;
}

.product-gallery-manager__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(141, 51, 72, 0.88);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
}

.dashboard-checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dashboard-checkbox-row .form-label {
    margin: 0;
}

.dashboard-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--rose-deep);
}

@media (max-width: 900px) {

    .gifting-tool-card,
.gifting-customizer {
        grid-template-columns: 1fr;
    }

    .plan-success-hero,
    .plan-tools-tile-grid,
    .plan-tools-grid {
        grid-template-columns: 1fr;
    }

    .gifting-image-rail {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(60px, 60px));
        padding-top: 0;
        overflow-x: auto;
    }

    .gifting-tool-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .plan-success-status__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .plan-detail-list {
        grid-template-columns: 1fr;
    }

    .plan-tool-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .budget-calculator-card__intro {
        flex-direction: column;
        align-items: flex-start;
    }

    .plan-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .countdown-dashboard-card {
        grid-template-columns: 1fr;
    }

    .countdown-widget {
        justify-self: start;
    }

    .countdown-page__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .countdown-board--stacked {
        width: 100%;
    }

    .checklist-page__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .task-planner__panel-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .task-planner__task-row {
        grid-template-columns: minmax(0, 1fr) 78px;
    }

    .budget-calc-page {
        padding-bottom: 56px;
    }

    .gifting-preview-stage {
        min-height: 520px;
    }

    .gifting-preview-product {
        width: 100%;
    }

    .gifting-preview-canvas {
        width: min(82%, 560px);
    }
}

@media (max-width: 620px) {

    .gifting-shell,
    .gifting-customizer-shell {
        width: min(100% - 24px, 1180px);
        padding: 34px 0 58px;
    }

    .gifting-control-grid {
        grid-template-columns: 1fr;
    }

    .budget-calculator-card,
    .plan-success-status,
    .countdown-dashboard-card,
    .countdown-stage,
    .checklist-card,
    .task-planner {
        padding: 20px;
        border-radius: 22px;
    }

    .plan-detail-item {
        min-height: auto;
    }

    .countdown-widget__shell {
        min-width: 0;
        width: min(100%, 100%);
    }

    .countdown-page {
        padding-bottom: 56px;
    }

    .countdown-page__frame,
    .checklist-page__frame {
        padding: 22px;
        border-radius: 24px;
    }

    .plan-success-status__grid {
        grid-template-columns: 1fr;
    }

    .countdown-board {
        padding: 16px;
        border-radius: 22px;
    }

    .countdown-stack__digits {
        width: min(100%, 280px);
        gap: 8px;
    }

    .countdown-stack__digits--days {
        width: min(100%, 100%);
    }

    .countdown-stack__digit {
        min-height: 88px;
        min-width: 0;
        padding: 10px 12px;
        font-size: clamp(2.1rem, 11vw, 3.1rem);
    }

    .countdown-stack__label {
        width: min(100%, 200px);
        font-size: 0.85rem;
    }

    .task-planner__tab {
        min-width: 120px;
        padding: 13px 16px;
    }

    .task-planner__title {
        min-height: 52px;
    }

    .task-planner__check {
        min-height: 52px;
    }

    .task-planner__add {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }

    .budget-calc-grand-grid {
        grid-template-columns: 1fr;
    }

    .budget-calc-sheet__frame {
        padding: 12px;
    }

    .budget-calc-block {
        padding: 12px 10px 14px;
    }

    .budget-calc-block__title {
        margin: -12px -10px 10px;
    }

    .budget-calc-entry,
    .budget-calc-entry--grand {
        grid-template-columns: minmax(0, 1fr) minmax(126px, 150px) 46px;
    }

    .budget-calc-entry--grand {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
    }

    .budget-calc-item--grand {
        min-height: auto;
        padding: 16px 14px;
    }

    .budget-calc-entry__amount--grand {
        font-size: 1.2rem;
    }

    .checklist-page__meta {
        gap: 8px;
    }

    .checklist-page__meta span {
        width: 100%;
    }

    .task-planner__tabs {
        gap: 10px;
    }

    .task-planner__task-row {
        grid-template-columns: minmax(0, 1fr) 68px;
        padding: 10px;
    }

    .task-planner__checkmark {
        width: 36px;
        height: 36px;
    }

    .task-planner__footer {
        justify-content: space-between;
    }

    .checklist-page__footer-actions .btn {
        width: 100%;
    }

    .budget-calc-entry__text,
    .budget-calc-entry__amount,
    .budget-calc-entry__single-input {
        height: 40px;
        font-size: 0.92rem;
        padding: 8px 10px;
    }

    .budget-calc-entry__currency {
        height: 40px;
        font-size: 0.72rem;
    }

    .budget-calc-remove {
        width: 100%;
        justify-content: center;
    }

    .budget-calc-sheet__title {
        min-width: 180px;
    }

    .gifting-preview-panel,
    .gifting-control-panel {
        padding: 18px;
        border-radius: 22px;
    }

    .gifting-preview-stage {
        min-height: 340px;
        border-radius: 20px;
    }

    .gifting-preview-canvas {
        width: min(90%, 380px);
    }

    .gifting-preview-print-area {
        inset: 4%;
        border-radius: 14px;
    }
}

.plan-success-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
}

.plan-summary-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid rgba(87, 111, 113, 0.12);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 16px 26px rgba(22, 64, 67, 0.06);
}

.plan-summary-dropdown {
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.plan-summary-dropdown:hover,
.plan-summary-dropdown[open] {
    border-color: rgba(154, 93, 104, 0.24);
    box-shadow: 0 20px 34px rgba(22, 64, 67, 0.1);
}

.plan-summary-dropdown__summary {
    position: relative;
    padding-right: 52px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.plan-summary-dropdown__summary::-webkit-details-marker {
    display: none;
}

.plan-summary-dropdown__summary::marker {
    content: "";
}

.plan-summary-dropdown__summary:focus-visible {
    outline: 3px solid rgba(154, 93, 104, 0.22);
    outline-offset: 6px;
    border-radius: 18px;
}

.plan-summary-dropdown:not([open]) .plan-summary-dropdown__summary {
    padding-bottom: 0;
    border-bottom: 0;
}

.plan-summary-dropdown__chevron {
    position: absolute;
    top: 2px;
    right: 0;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 14px;
    color: var(--rose-deep);
    background: rgba(154, 93, 104, 0.09);
    border: 1px solid rgba(154, 93, 104, 0.14);
    transition: transform 0.2s ease, background 0.2s ease;
}

.plan-summary-dropdown__chevron::before {
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
}

.plan-summary-dropdown[open] .plan-summary-dropdown__chevron {
    transform: rotate(180deg);
    background: rgba(154, 93, 104, 0.14);
}

.plan-summary-dropdown__content {
    display: grid;
    gap: 14px;
}

.plan-summary-card h3,
.plan-summary-card__title {
    display: block;
    margin: 0;
    color: var(--rose-deep);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
}

.plan-summary-card__header {
    display: grid;
    gap: 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(87, 111, 113, 0.1);
}

.plan-summary-card__eyebrow {
    margin: 0;
    color: #5a6a6f;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.plan-summary-card__intro {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

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

.plan-detail-item {
    display: grid;
    gap: 8px;
    min-height: 92px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(246, 249, 248, 0.98), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(87, 111, 113, 0.08);
}

.plan-detail-item--full {
    grid-column: 1 / -1;
    min-height: auto;
}

.plan-detail-item__label {
    color: #607176;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.plan-detail-item__value {
    color: var(--ink);
    font-size: 1.02rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.dashboard-inline-form {
    margin: 0;
}

.surface-header--form {
    margin-bottom: 22px;
}

.dashboard-crud-form .form-grid {
    margin-bottom: 0;
}

.dashboard-form-note {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.dashboard-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.field-error {
    margin-top: 8px;
    color: #a73a45;
    font-size: 13px;
    line-height: 1.5;
}

.dashboard-modal {
    position: fixed;
    inset: 0;
    z-index: 65;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.dashboard-modal--visible {
    display: flex;
}

.dashboard-modal__dialog {
    position: relative;
    width: min(980px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 244, 0.96));
    box-shadow: 0 28px 60px rgba(16, 46, 51, 0.24);
}

.dashboard-modal__close,
.entity-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(44, 122, 120, 0.12);
    color: var(--rose-deep);
    font-size: 26px;
    cursor: pointer;
}

.entity-main {
    font-weight: 800;
    color: var(--ink);
}

.entity-sub {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.entity-code {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(21, 77, 81, 0.06);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.entity-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.entity-modal--visible {
    display: flex;
}

.entity-modal__dialog {
    position: relative;
    width: min(520px, 100%);
    padding: 30px;
    border-radius: 28px;
    border: 1px solid rgba(87, 111, 113, 0.14);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 247, 244, 0.96));
    box-shadow: 0 28px 60px rgba(16, 46, 51, 0.24);
}

.entity-modal__subtitle {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

.entity-modal__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.entity-modal__card {
    padding: 18px;
    border-radius: 20px;
    background: rgba(44, 122, 120, 0.06);
    border: 1px solid rgba(87, 111, 113, 0.1);
}

.entity-modal__label {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.entity-modal__meta {
    margin-top: 18px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(21, 77, 81, 0.04);
    color: var(--ink);
    line-height: 1.7;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.status-pill--active {
    background: rgba(79, 138, 109, 0.14);
    color: #2f6d55;
}

.status-pill--pending {
    background: rgba(211, 165, 79, 0.18);
    color: #8e5a17;
}

.status-pill--disabled {
    background: rgba(167, 58, 69, 0.12);
    color: #a73a45;
}

.status-pill--restricted {
    background: rgba(99, 102, 241, 0.14);
    color: #544cc9;
}

.empty-state {
    padding: 28px;
}

.empty-state h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

@media (max-width: 1024px) {

    .planner-grid,
.festival-card__content,
.dashboard-overview,
.dashboard-split,
.plan-success-grid,
.vendor-calendar-shell {
        grid-template-columns: 1fr;
    }

.dashboard-hero,
.surface-header,
.dashboard-section-dropdown__summary,
.vendor-dashboard-section__header--split,
.vendor-calendar-toolbar {
        align-items: start;
        flex-direction: column;
    }

    .dashboard-hero__actions {
        min-width: 0;
        justify-content: flex-start;
        width: 100%;
    }

    .dashboard-account-dropdown,
    .dashboard-nav-dropdown,
    .dashboard-notifications,
    .dashboard-control-dropdown {
        width: 100%;
    }

    .dashboard-dropdown__menu,
    .dashboard-dropdown__menu--right {
        right: auto;
        left: 0;
        width: min(100%, 420px);
        max-width: 100%;
    }

    .entity-modal__grid {
        grid-template-columns: 1fr;
    }

    .plan-success-card {
        padding: 30px;
    }
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 18px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 24px;
    }

    .auth-title {
        font-size: 28px;
    }

    .button-row .btn,
.topbar-actions {
        width: 100%;
    }

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

    .vendor-dashboard-section {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .vendor-calendar-panel,
    .vendor-calendar-sidebar {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .vendor-calendar-grid {
        gap: 6px;
    }

    .vendor-calendar-grid__weekday {
        font-size: 10px;
    }

    .vendor-calendar-day {
        min-height: 88px;
        padding: 10px 8px;
        border-radius: 14px;
    }

    .vendor-calendar-day__number {
        font-size: 16px;
    }

    .vendor-calendar-day__preview,
    .vendor-calendar-day__count {
        font-size: 10px;
    }

    .vendor-photo-card__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .planner-form .form-grid {
        grid-template-columns: 1fr;
    }

    .wedding-date-picker-card {
        padding: 16px;
    }

    .wedding-date-picker-card__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .wedding-date-picker-card__value {
        font-size: 20px;
    }

    .option-grid {
        grid-template-columns: 1fr;
    }

    .festival-card {
        padding: 22px 18px;
    }

    .festival-card--planner {
        padding: 20px 16px;
    }

    .festival-card__controls,
    .festival-calendar__header,
    .festival-calendar__legend {
        flex-direction: column;
        align-items: flex-start;
    }

    .festival-calendar__weekdays,
    .festival-calendar__grid {
        gap: 8px;
    }

    .festival-calendar__blank,
    .festival-calendar__day {
        min-height: 96px;
        padding: 12px 10px;
        border-radius: 18px;
    }

    .festival-calendar__day-number {
        font-size: 18px;
    }

    .festival-tag {
        font-size: 10px;
        padding: 5px 8px;
    }

    .page-shell,
    .dashboard-shell {
        width: min(100% - 24px, var(--wc-dashboard-shell-max));
    }

    .dashboard-story-preview {
        grid-template-columns: 1fr;
    }

    .dashboard-section-dropdown__summary {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 14px;
    }

    .dashboard-section-dropdown__summary::after {
        align-self: start;
        margin-top: 18px;
        grid-column: 2;
        grid-row: 1;
    }

    .dashboard-section-dropdown__count {
        grid-column: 1 / -1;
        justify-self: start;
        white-space: normal;
    }

    .dashboard-section-dropdown--support .dashboard-support-board__status {
        grid-column: 1 / -1;
        justify-self: start;
    }

    .dashboard-action-dropdown {
        width: 100%;
    }

    .dashboard-story-preview__media {
        width: 100%;
        height: 180px;
    }

    .planner-modal {
        padding: 12px;
    }

    .planner-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 22px 16px;
        border-radius: 24px;
    }

    .dashboard-modal {
        padding: 12px;
    }

    .dashboard-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 22px 16px;
        border-radius: 24px;
    }

    .dashboard-table--plans th,
    .dashboard-table--plans td {
        padding: 12px 10px;
    }

    .plan-success-shell {
        padding: 32px 0 56px;
    }

    .plan-success-card {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .plan-summary-card {
        padding: 18px;
        border-radius: 20px;
    }
}

body.super-admin-body,
body.vendor-dashboard-body,
body.plan-success-body {
    --rose: var(--wc-theme-red);
    --rose-deep: var(--wc-theme-deep);
    --gold: var(--wc-theme-gold);
    --ink: #351522;
    --muted: #765361;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 34%, #ffffff 100%);
}

body.super-admin-body .dashboard-hero--refined,
body.vendor-dashboard-body .vendor-dashboard-card,
body.plan-success-body .plan-success-card {
    border-color: rgba(199, 161, 85, 0.42);
    background:
        linear-gradient(145deg, rgba(242, 231, 206, 0.98), rgba(203, 170, 203, 0.42)),
        linear-gradient(135deg, rgba(166, 30, 58, 0.08), rgba(120, 24, 45, 0.08));
    box-shadow: 0 30px 64px rgba(120, 24, 45, 0.2);
}

body.super-admin-body .dashboard-hero--refined {
    background:
        linear-gradient(135deg, var(--wc-theme-deep), var(--wc-theme-wine) 46%, var(--wc-theme-plum));
}

body.super-admin-body .dashboard-hero--refined .eyebrow,
body.super-admin-body .dashboard-hero--refined h1 {
    color: var(--wc-theme-cream);
}

body.super-admin-body .dashboard-surface,
body.super-admin-body .dashboard-support-board,
body.vendor-dashboard-body .vendor-dashboard-section,
body.vendor-dashboard-body .vendor-calendar-panel,
body.vendor-dashboard-body .vendor-calendar-sidebar,
body.plan-success-body .plan-success-status,
body.plan-success-body .plan-summary-card,
body.plan-success-body .plan-tool-card,
body.plan-success-body .vendor-match-results {
    border-color: rgba(124, 41, 70, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 250, 240, 0.96), rgba(242, 231, 206, 0.9));
    box-shadow: 0 18px 36px rgba(120, 24, 45, 0.12);
}

body.vendor-dashboard-body .vendor-dashboard-section {
    box-shadow:
        inset 4px 0 0 var(--wc-theme-gold),
        0 18px 36px rgba(120, 24, 45, 0.1);
}

body.super-admin-body .overview-card,
body.plan-success-body .plan-success-stat,
body.vendor-dashboard-body .vendor-business-card,
body.vendor-dashboard-body .vendor-availability-card,
body.vendor-dashboard-body .vendor-calendar-selection-card {
    border-color: rgba(199, 161, 85, 0.28);
    background: linear-gradient(135deg, rgba(242, 231, 206, 0.92), rgba(203, 170, 203, 0.32));
}

body.super-admin-body .overview-card strong,
body.super-admin-body .dashboard-section-dropdown__summary h2,
body.vendor-dashboard-body .auth-title,
body.vendor-dashboard-body .welcome-name,
body.vendor-dashboard-body .vendor-dashboard-section__header h4,
body.vendor-dashboard-body .vendor-calendar-month,
body.vendor-dashboard-body .vendor-calendar-sidebar__intro h5,
body.plan-success-body .plan-success-card h1,
body.plan-success-body .plan-section-heading h2,
body.plan-success-body .plan-summary-card__title,
body.plan-success-body .plan-success-status__eyebrow {
    color: var(--wc-theme-deep);
}

body.super-admin-body .dashboard-section-dropdown__count,
body.super-admin-body .surface-pill,
body.vendor-dashboard-body .festival-pill,
body.vendor-dashboard-body .vendor-calendar-selection-chip,
body.plan-success-body .plan-summary-card__eyebrow {
    background: linear-gradient(135deg, rgba(199, 161, 85, 0.28), rgba(203, 170, 203, 0.46));
    color: var(--wc-theme-deep);
}

body.super-admin-body .surface-pill--pending,
body.vendor-dashboard-body .festival-pill--soft {
    background: linear-gradient(135deg, rgba(166, 30, 58, 0.14), rgba(199, 161, 85, 0.28));
    color: var(--wc-theme-wine);
}

body.super-admin-body .dashboard-dropdown__summary,
body.super-admin-body .dashboard-control-dropdown .dashboard-dropdown__summary,
body.vendor-dashboard-body .dashboard-dropdown__summary,
body.plan-success-body .plan-summary-dropdown__chevron {
    border-color: rgba(199, 161, 85, 0.34);
    background: linear-gradient(135deg, var(--wc-theme-cream), rgba(203, 170, 203, 0.62));
    color: var(--wc-theme-deep);
}

body.super-admin-body .dashboard-nav-dropdown .dashboard-dropdown__summary,
body.super-admin-body .dashboard-account-dropdown .dashboard-dropdown__summary,
body.super-admin-body .dashboard-notification-bell {
    border-color: rgba(242, 231, 206, 0.3);
    background: linear-gradient(135deg, var(--wc-theme-red), var(--wc-theme-deep));
    color: var(--wc-theme-cream);
}

body.super-admin-body .dashboard-dropdown__summary:hover,
body.super-admin-body .dashboard-dropdown[open] > .dashboard-dropdown__summary,
body.vendor-dashboard-body .dashboard-dropdown__summary:hover,
body.vendor-dashboard-body .dashboard-dropdown[open] > .dashboard-dropdown__summary {
    background: linear-gradient(135deg, var(--wc-theme-gold), var(--wc-theme-red));
    border-color: rgba(120, 24, 45, 0.32);
    color: #fff;
}

body.super-admin-body .dashboard-dropdown__menu,
body.super-admin-body .dashboard-notification-menu {
    border-color: rgba(124, 41, 70, 0.2);
    background: linear-gradient(180deg, var(--wc-theme-cream), #f8eedd);
    box-shadow: 0 22px 44px rgba(120, 24, 45, 0.18);
}

body.super-admin-body .dashboard-nav-dropdown .wc-admin-navlink,
body.super-admin-body .dashboard-action-dropdown .dashboard-dropdown__menu,
body.plan-success-body .plan-success-profile__panel {
    border-color: rgba(124, 41, 70, 0.16);
    background: linear-gradient(135deg, rgba(242, 231, 206, 0.96), rgba(203, 170, 203, 0.46));
    color: var(--wc-theme-deep);
}

body.super-admin-body .dashboard-table--refined thead th,
body.super-admin-body .dashboard-table--plans thead th {
    background: linear-gradient(135deg, var(--wc-theme-deep), var(--wc-theme-plum));
    color: var(--wc-theme-cream);
}

body.super-admin-body .dashboard-table--refined tbody tr:hover {
    background: rgba(203, 170, 203, 0.24);
}

body.super-admin-body .dashboard-module-search__field input[type="search"],
body.vendor-dashboard-body .form-control,
body.vendor-dashboard-body .vendor-calendar-filters select,
body.plan-success-body .form-control {
    border-color: rgba(124, 41, 70, 0.22);
    background: rgba(255, 250, 240, 0.92);
    color: var(--wc-theme-deep);
}

body.super-admin-body .dashboard-module-search__field input[type="search"]:focus,
body.vendor-dashboard-body .form-control:focus,
body.plan-success-body .form-control:focus {
    border-color: var(--wc-theme-red);
    box-shadow: 0 0 0 4px rgba(166, 30, 58, 0.12);
}

body.super-admin-body .btn-primary,
body.vendor-dashboard-body .btn-primary,
body.plan-success-body .btn-primary,
body.plan-success-body .plan-success-profile__trigger {
    background: linear-gradient(135deg, var(--wc-theme-red), var(--wc-theme-deep));
    color: #fff;
}

body.super-admin-body .btn-light,
body.vendor-dashboard-body .btn-light,
body.plan-success-body .btn-light {
    border: 1px solid rgba(199, 161, 85, 0.38);
    background: linear-gradient(135deg, var(--wc-theme-cream), rgba(203, 170, 203, 0.42));
    color: var(--wc-theme-deep);
}

body.super-admin-body .btn-secondary,
body.vendor-dashboard-body .btn-secondary,
body.plan-success-body .btn-secondary {
    background: linear-gradient(135deg, var(--wc-theme-plum), var(--wc-theme-deep));
    color: #fff;
}

body.super-admin-body .status-pill--active,
body.vendor-dashboard-body .vendor-calendar-day--available {
    background: linear-gradient(135deg, rgba(199, 161, 85, 0.34), rgba(242, 231, 206, 0.94));
    color: var(--wc-theme-deep);
    border-color: rgba(199, 161, 85, 0.42);
}

body.vendor-dashboard-body .vendor-calendar-day--selected,
body.vendor-dashboard-body .vendor-calendar-day--selected.vendor-calendar-day--available,
body.vendor-dashboard-body .vendor-calendar-day--selected.vendor-calendar-day--holiday,
body.vendor-dashboard-body .vendor-calendar-day--selected.vendor-calendar-day--eventful {
    background: linear-gradient(135deg, rgba(166, 30, 58, 0.94), rgba(120, 24, 45, 0.96));
    border-color: rgba(199, 161, 85, 0.74);
    color: #fff;
    box-shadow: 0 18px 30px rgba(120, 24, 45, 0.24);
}

body.vendor-dashboard-body .vendor-calendar-day--selected .vendor-calendar-day__number,
body.vendor-dashboard-body .vendor-calendar-day--selected .vendor-calendar-day__preview,
body.vendor-dashboard-body .vendor-calendar-day--selected .vendor-calendar-day__count {
    color: #fff;
}

body.vendor-dashboard-body .vendor-calendar-day--selected .festival-tag {
    background: rgba(242, 231, 206, 0.2);
    border-color: rgba(242, 231, 206, 0.34);
    color: var(--wc-theme-cream);
}

body.vendor-dashboard-body .vendor-calendar-day--active {
    outline: 3px solid rgba(199, 161, 85, 0.72);
    outline-offset: 2px;
}

body.super-admin-body .status-pill--pending,
body.super-admin-body .status-pill--restricted,
body.super-admin-body .status-pill--disabled {
    background: linear-gradient(135deg, rgba(166, 30, 58, 0.12), rgba(203, 170, 203, 0.38));
    color: var(--wc-theme-wine);
}

body.plan-success-body .plan-summary-dropdown:hover,
body.plan-success-body .plan-summary-dropdown[open] {
    border-color: rgba(166, 30, 58, 0.28);
    box-shadow: 0 22px 38px rgba(120, 24, 45, 0.16);
}

body.vendor-dashboard-body .vendor-upload-icon {
    background: linear-gradient(135deg, var(--wc-theme-red), var(--wc-theme-gold));
}

body.vendor-dashboard-body .vendor-upload-dropzone,
body.vendor-dashboard-body .vendor-photo-card {
    border-color: rgba(124, 41, 70, 0.16);
    background: rgba(242, 231, 206, 0.72);
}

/* Dashboard quick navigation */

.wc-admin-navlink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.wc-admin-navlink:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn.btn-primary {
    background: linear-gradient(135deg, #ff0000, #4ca2eb);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn.btn-primary:hover {
    filter: brightness(1.04);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(44, 122, 120, 0.18);
    color: #fff;
}

input,
textarea,
select {
    border-radius: 12px;
    border: 1px solid var(--wc-border);
    padding: 10px 12px;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--wc-blue);
    box-shadow: 0 0 0 3px rgba(44, 122, 120, 0.16);
}

/* =====================================================
   CUSTOMER HOME PAGE — FULL DESIGN SYSTEM
   Deep Burgundy theme, no clouds, matching reference
   ===================================================== */
/* Override the wedding-body background for the customer home page only */
.customer-home-body {
    min-height: 100vh;
    background-color: #6B1F3A;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(255, 211, 128, 0.18), transparent 22%),
        radial-gradient(circle at 88% 12%, rgba(244, 114, 182, 0.16), transparent 24%),
        linear-gradient(180deg, #6b1f3a 0%, #8d3348 48%, #4f162b 100%);
    color: #fff;
    font-family: 'Georgia', serif;
    overflow-x: hidden;
}

.customer-home-body .ch-topbar-inner {
    background:
        linear-gradient(135deg, rgba(255, 247, 237, 0.94), rgba(253, 230, 138, 0.88));
    border: 1px solid rgba(255, 255, 255, 0.38);
}

.customer-home-body .ch-profile-trigger {
    background: rgba(107, 31, 58, 0.08);
    color: #4f162b;
}

.customer-home-body .ch-avatar {
    background: linear-gradient(135deg, #f59e0b, #db2777);
    color: #fff;
}

.customer-home-body .ch-hero-text,
.customer-home-body .ch-member-text {
    color: #fff7ed;
    text-shadow: 0 12px 28px rgba(42, 10, 24, 0.36);
}

.customer-home-body .ch-vision-box,
.customer-home-body .story-card {
    border: 1px solid rgba(253, 230, 138, 0.26);
    box-shadow: 0 24px 58px rgba(42, 10, 24, 0.28);
}

.customer-home-body .story-category {
    background: rgba(245, 158, 11, 0.18);
    color: #92400e;
}

.customer-home-body .ch-tile {
    background: linear-gradient(135deg, rgba(253, 230, 138, 0.92), rgba(251, 207, 232, 0.9));
    border-color: rgba(255, 255, 255, 0.36);
}

@media (min-width: 900px) {
    .customer-home-body .ch-topbar {
        padding-top: 27px;
    }

    .customer-home-body .ch-topbar-inner {
        max-width: 550px;
        padding: 10px 20px 10px 18px;
    }

    .customer-home-body .ch-brand-logo img {
        height: 41px;
    }

    .customer-home-body .ch-hero-section {
        padding: 50px 20px 34px;
    }

    .customer-home-body .ch-hero-text {
        font-size: clamp(26px, 3.4vw, 43px);
    }

    .customer-home-body .ch-story-track {
        grid-auto-columns: clamp(200px, 23.5vw, 318px);
        gap: clamp(11px, 1.45vw, 18px);
        min-height: calc(clamp(270px, 31vw, 410px) + 160px);
        padding: 30px 48px 54px;
    }

    .customer-home-body .story-card {
        transform: scale(0.89);
        border-radius: 24px;
    }

    .customer-home-body .story-card--center {
        transform: scale(1.06);
    }

    .customer-home-body .story-card--near-center {
        transform: scale(0.97);
    }

    .customer-home-body .story-image,
    .customer-home-body .story-image--placeholder {
        height: clamp(178px, 21.5vw, 272px);
    }

    .customer-home-body .story-content {
        padding: 16px 18px 20px;
    }

    .customer-home-body .ch-vision-section {
        padding: 12px 20px 24px;
    }

    .customer-home-body .ch-vision-box {
        max-width: 520px;
        padding: 28px 36px 36px;
        border-radius: 24px;
    }

    .customer-home-body .ch-tiles-section {
        padding: 24px 20px 40px;
    }

    .customer-home-body .ch-tiles-row {
        margin-bottom: 27px;
    }

    .customer-home-body .ch-tile {
        width: clamp(47px, 6.8vw, 70px);
        height: clamp(47px, 6.8vw, 70px);
    }

    .customer-home-body .ch-member-text {
        font-size: clamp(20px, 2.9vw, 33px);
    }

    .customer-home-body .ch-membership-grid {
        gap: 26px;
        margin-top: 34px;
    }
}

/* Cloud scene styles consolidated below (see "CLOUD SCENE" section) */

/* ---- FLOATING PILL NAVBAR ---- */
.ch-topbar {
    display: flex;
    justify-content: center;
    padding: 28px 20px 0;
    position: relative;
    z-index: 100;
}

.ch-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 560px;
    background: rgba(217, 210, 200, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 60px;
    padding: 10px 20px 10px 18px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.ch-brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.ch-brand-logo img {
    height: 42px;
    width: auto;
    display: block;
}

/* ---- GOLD HERO TEXT ---- */
.ch-hero-section {
    text-align: center;
    padding: 52px 20px 36px;
}

.ch-hero-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 400;
    font-style: bold;
    color: #CDA047;
    line-height: 1.35;
    letter-spacing: 0.02em;
    margin: 0;
}

/* ---- STORY SECTION & CAROUSEL ---- */
.ch-story-section {
    padding: 0 0 0;
    position: relative;
    overflow: hidden;
}

.ch-story-shell {
    width: 100%;
}

.ch-story-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(200px, 24vw, 320px);
    gap: clamp(10px, 1.5vw, 18px);
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 32px 48px 56px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-height: calc(clamp(280px, 32vw, 420px) + 180px);
    align-items: center;
}

.ch-story-track::-webkit-scrollbar {
    display: none;
}

/* Story card: gray rounded card, each card on carousel */
.customer-home-body .story-card {
    background: #c8c4be;
    border-radius: 24px;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    transform: scale(0.88);
    flex-shrink: 0;
    cursor: pointer;
    outline: none;
}

.customer-home-body .story-card:focus-visible {
    box-shadow:
        0 0 0 4px rgba(253, 230, 138, 0.86),
        0 16px 48px rgba(0, 0, 0, 0.38);
}

.customer-home-body .story-card--center {
    transform: scale(1.08);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.38);
    z-index: 2;
}

.customer-home-body .story-card--near-center {
    transform: scale(0.96);
    z-index: 1;
}

.customer-home-body .story-image {
    width: 100%;
    height: clamp(180px, 22vw, 280px);
    object-fit: contain;
    background: #4a0957;
    display: block;
    border-radius: 24px 24px 0 0;
}

.customer-home-body .story-image--placeholder {
    width: 100%;
    height: clamp(180px, 22vw, 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B2B4A, #CDA047);
    color: #fff;
    font-size: 60px;
    font-weight: 800;
    border-radius: 24px 24px 0 0;
}

.customer-home-body .story-content {
    display: block;
    padding: 16px 18px 20px;
    background: #c8c4be;
    border-radius: 0 0 24px 24px;
}

.customer-home-body .story-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(107, 31, 58, 0.18);
    color: #6B1F3A;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 8px;
}

.customer-home-body .story-content h3 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(14px, 1.6vw, 17px);
    font-weight: 700;
    color: #1a0a10;
    margin: 0 0 6px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-home-body .story-content p {
    font-family: 'Georgia', serif;
    font-size: clamp(11px, 1.1vw, 13px);
    color: #3d1f2b;
    line-height: 1.55;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.customer-home-body .story-author {
    font-size: 11px;
    font-weight: 700;
    color: #6B1F3A;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 8px;
}

.story-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.story-modal--visible {
    display: flex;
}

.story-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 13, 20, 0.76);
    backdrop-filter: blur(10px);
}

.story-modal__dialog {
    position: relative;
    width: min(1180px, calc(100vw - 32px));
    height: min(720px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    background: #f8f1e7;
    border: 1px solid rgba(253, 230, 138, 0.4);
    border-radius: 24px;
    box-shadow: 0 32px 72px rgba(18, 13, 20, 0.42);
    color: #1a0a10;
}

.story-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(107, 31, 58, 0.14);
    color: #6B1F3A;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.story-modal__close:hover,
.story-modal__close:focus-visible {
    background: rgba(107, 31, 58, 0.22);
}

.story-modal__media {
    height: 100%;
    max-height: none;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f2eee8;
}

.story-modal__media .story-image,
.story-modal__media .story-image--placeholder {
    width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    object-fit: contain;
    border-radius: 24px 0 0 24px;
}

.story-modal__media .story-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 78px;
    font-weight: 800;
}

.story-modal__body {
    padding: 42px 38px 36px;
    min-height: 0;
    overflow-y: auto;
}

.story-modal__body .story-category {
    margin-bottom: 16px;
}

.story-modal__body h2 {
    margin: 0 0 18px;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    color: #3a1623;
}

.story-modal__body p {
    margin: 0;
    color: #3d1f2b;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.75;
    white-space: pre-line;
}

.story-modal__body .story-author {
    margin-top: 24px;
    font-size: 12px;
}

/* ---- VISION BOX ---- */
.ch-vision-section {
    display: flex;
    justify-content: center;
    padding: 12px 20px 24px;
}

.ch-vision-box {
    background: rgba(217, 210, 200, 0.22);
    border: 1px solid rgba(217, 210, 200, 0.35);
    border-radius: 24px;
    padding: 28px 36px 36px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.ch-vision-text {
    font-family: 'Georgia', serif;
    font-size: clamp(13px, 1.4vw, 15px);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin: 0 0 24px;
    font-style: italic;
}

.ch-btn-journey {
    display: inline-block;
    background: linear-gradient(135deg, #CDA047, #B8872E);
    color: #2a1a06;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 700;
    font-style: italic;
    padding: 14px 44px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(205, 160, 71, 0.36);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    letter-spacing: 0.01em;
}

.ch-btn-journey:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(205, 160, 71, 0.5);
    color: #1a0f00;
}

/* ---- 7 TILES ROW ---- */
.ch-tiles-section {
    text-align: center;
    padding: 24px 20px 40px;
}

.ch-tiles-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 1.5vw, 16px);
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.ch-tile {
    width: clamp(48px, 7vw, 72px);
    height: clamp(48px, 7vw, 72px);
    background: rgba(209, 185, 215, 0.6);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

/* ---- MEMBER CTA TEXT ---- */
.ch-member-text {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(20px, 3vw, 34px);
    font-style: bold;
    color: #CDA047;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.01em;
    margin: 0;
}

/* ---- EMPTY STATE ---- */
.ch-empty-stories {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .ch-topbar {
        padding: 18px 14px 0;
    }

    .ch-topbar-inner {
        max-width: 100%;
    }

    .ch-hero-section {
        padding: 36px 16px 24px;
    }

    .ch-story-track {
        padding: 20px 20px 36px;
        grid-auto-columns: clamp(180px, 72vw, 280px);
    }

    .story-modal {
        padding: 14px;
    }

    .story-modal__dialog {
        grid-template-columns: 1fr;
        grid-template-rows: auto minmax(0, 1fr);
        height: calc(100dvh - 28px);
        width: min(100%, calc(100vw - 28px));
        max-height: calc(100dvh - 28px);
        border-radius: 20px;
    }

    .story-modal__media {
        height: auto;
        max-height: none;
        position: static;
    }

    .story-modal__media .story-image,
    .story-modal__media .story-image--placeholder {
        height: 260px;
        min-height: 260px;
        border-radius: 20px 20px 0 0;
    }

    .story-modal__body {
        padding: 28px 22px 26px;
    }

    .ch-vision-box {
        padding: 22px 20px 28px;
    }

    .ch-tiles-section {
        padding: 16px 14px 36px;
    }

    .ch-tile {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
}

/* ---- PROFILE ZONE (Navbar right side) ---- */
.ch-profile-zone {
    position: relative;
    display: flex;
    align-items: center;
}

/* Logged-out login link */
.ch-login-link {
    display: flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    color: #1a1a1a;
    font-family: 'Georgia', serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 4px;
    border-radius: 8px;
    transition: color 0.2s ease;
}

.ch-login-link:hover {
    color: #6B1F3A;
}

.ch-login-link svg {
    flex-shrink: 0;
    stroke: currentColor;
}

/* Profile trigger button (logged-in) */
.ch-profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 50px;
    transition: background 0.2s ease;
}

.ch-profile-trigger:hover {
    background: rgba(107, 31, 58, 0.10);
}

/* Avatar circle */
.ch-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6B1F3A, #9B2D52);
    color: #fff;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(107, 31, 58, 0.35);
}

.ch-avatar--lg {
    width: 52px;
    height: 52px;
    font-size: 22px;
    flex-shrink: 0;
}

/* Name label next to avatar */
.ch-profile-name {
    font-family: 'Georgia', serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Caret arrow */
.ch-caret {
    stroke: #555;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.ch-profile-dropdown.is-open .ch-caret {
    transform: rotate(180deg);
}

/* ---- DROPDOWN PANEL ---- */
.ch-profile-dropdown {
    position: relative;
}

.ch-profile-panel {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22), 0 4px 16px rgba(107, 31, 58, 0.12);
    border: 1px solid rgba(107, 31, 58, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    z-index: 200;
}

.ch-profile-dropdown.is-open .ch-profile-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Panel header: big avatar + name + email */
.ch-profile-panel-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 4px;
}

.ch-profile-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ch-profile-fullname {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 15px;
    font-weight: 700;
    color: #1a0a10;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ch-profile-email {
    font-size: 12px;
    color: #777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Divider */
.ch-divider {
    border: 0;
    border-top: 1px solid rgba(107, 31, 58, 0.10);
    margin: 14px 0;
}

.ch-profile-panel form {
    margin: 0;
}

/* Logout button */
.ch-logout-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    width: 100%;
    padding: 11px 14px;
    border: none;
    background: linear-gradient(135deg, #6B1F3A, #8B2B4A);
    color: #fff;
    font-family: 'Georgia', serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(107, 31, 58, 0.3);
}

.ch-logout-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    color: #fff;
}

.ch-logout-btn svg {
    stroke: rgba(255, 255, 255, 0.85);
    flex-shrink: 0;
}

/* Responsive: hide name on small screens */
@media (max-width: 480px) {
    .ch-profile-name {
        display: none;
    }

    .ch-profile-panel {
        right: -10px;
        width: 230px;
    }
}

/* ---- MEMBERSHIP GRID ---- */
.ch-membership-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Force all cards to be equal height */
    gap: 0;
    /* Clean, consistent spacing */
    max-width: 1100px;
    margin: 80px auto 80px;
    /* Strict spacing from heading text */
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.ch-membership-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 310px;
    /* Fixed equal width */
    position: relative;
    /* No padding-bottom so the container hugs the image */
    background: transparent;
    /* No outer background container */
    z-index: 1;
}

.ch-membership-card--gold {
    margin: 0 -76px;
    z-index: 2;
}

.ch-membership-img {
    width: 100%;
    height: 100%;
    /* Force image to stretch to the container height so all images are perfectly equal */
    object-fit: fill;
    /* Minor 14px stretch to perfectly align both top and bottom baselines */
    display: block;
    /* Clean image rendering without extra background boxes */
}

/* Price Button */
.ch-price-btn {
    position: absolute;
    bottom: -24px;
    /* Connected tightly to the bottom of the plan edge */
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #dfbc77, #b8872e);
    color: #2a1a06;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 16px;
    font-weight: 500;
    font-style: italic;
    white-space: nowrap;
    /* Ensure text stays on a single line */
    padding: 12px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: filter 0.2s ease, transform 0.2s ease;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ch-price-btn:hover {
    filter: brightness(1.1);
    transform: translate(-50%, -2px);
}

/* Footer Tagline */
.ch-footer-tagline {
    text-align: center;
    font-family: 'Georgia', serif;
    font-size: clamp(12px, 1.2vw, 14px);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-top: 40px;
    font-style: italic;
}

.ch-footer-tagline strong {
    display: block;
    margin-top: 12px;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
}

.ch-footer-card {
    width: min(420px, calc(100vw - 40px));
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 14px 14px 12px 12px;
    background: #6B1F3A;
    box-shadow: 0 14px 28px rgba(21, 6, 13, 0.34);
}

.ch-footer-card__top {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(118px, 0.9fr) minmax(120px, 1fr);
    align-items: center;
    gap: 20px;
    padding: 16px 28px;
    background: #d8d8d6;
}

.ch-footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
}

.ch-footer-logo img {
    display: block;
    width: min(112px, 100%);
    height: auto;
}

.ch-footer-links {
    display: grid;
    gap: 3px;
    justify-items: start;
}

.ch-footer-links a {
    color: #5c2639;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 10px;
    line-height: 1.15;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.ch-footer-links a:hover {
    color: #1a0a10;
    transform: translateX(2px);
}

.ch-footer-card__base {
    min-height: 92px;
    background: #6B1F3A;
}

/* Responsive Stacking */
@media (max-width: 900px) {
    .ch-membership-grid {
        flex-direction: column;
        gap: 60px;
        margin-top: 60px;
    }

    .ch-membership-card {
        width: 100%;
        max-width: 360px;
    }

    .ch-membership-card--gold {
        margin: 0;
    }
}

@media (max-width: 520px) {
    .ch-footer-card {
        width: min(320px, calc(100vw - 32px));
        margin-top: 34px;
    }

    .ch-footer-card__top {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
        padding: 18px 20px;
    }

    .ch-footer-logo {
        justify-content: center;
    }

    .ch-footer-links {
        justify-items: center;
        text-align: center;
    }

    .ch-footer-card__base {
        min-height: 72px;
    }
}


/* ==========================================================================
   SCROLL-DRIVEN CLOUD SCENE
   -------------------------------------------------------------------------
   .cloud-scroll-scene   tall outer wrapper — creates the scroll runway
   .cloud-scroll-pin     position:sticky — locks to viewport top for 100vh
   .cloud-canvas         absolute fill — all 144 frames stacked here
   .cloud-frame          each webp, hidden by default (opacity:0, no transition)
   .cloud-frame--active  the single visible frame (toggled instantly by JS)
   ========================================================================== */

/* Outer runway — 300 vh gives ~3 full-screen scrolls across 144 frames */
.cloud-scroll-scene {
    position: relative;
    height: 300vh;
    z-index: 0;
    background: transparent;
}

/* Sticky pin — stays locked at top:0 while the runway scrolls past */
.cloud-scroll-pin {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #090c18;
    /* dark sky fallback while first frame loads */
}

/* Frame container */
.cloud-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/*
 * CRITICAL — NO CSS transition on opacity.
 * A transition decouples the frame swap from the scroll position,
 * creating lag and breaking the scrub/reverse feel entirely.
 * JS swaps the class instantly via classList toggle.
 */
.cloud-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    will-change: opacity;
    backface-visibility: hidden;
    /* transition: none; — intentionally omitted */
}

.cloud-frame--active {
    opacity: 1;
}

/* Scroll hint — JS fades this out as the user begins scrolling */
.cloud-scroll-hint {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 20;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

.cloud-scroll-hint svg {
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
    animation: cloud-hint-bounce 1.5s ease-in-out infinite;
}

@keyframes cloud-hint-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(7px);
    }
}

/* Customer page content flows naturally below the cloud scene */
.customer-page-content {
    position: relative;
    z-index: 1;
}

/* Skip the animation for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .cloud-scroll-scene {
        display: none;
    }

    .cloud-scroll-hint {
        display: none;
    }
}


/* Scroll-scrubbed cloud transition for the customer page. */
.customer-home-body .cloud-scroll-scene {
    --cloud-progress: 0;
    --cloud-wash: 0;
    position: relative;
    height: 520vh;
    min-height: 3000px;
    z-index: 6;
    isolation: isolate;
    background: #6B1F3A;
}

.customer-home-body .cloud-scroll-pin {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    pointer-events: none;
    z-index: 7;
    background:
        linear-gradient(180deg, rgba(255, 248, 232, 0.26), rgba(255, 255, 255, 0) 44%),
        linear-gradient(180deg, #edf7fb 0%, #f9f2df 50%, #dcc8ad 100%);
}

.customer-home-body .cloud-canvas {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    background: #8d5a69;
    contain: paint;
    transform: translate3d(0, 0, 0);
}

.customer-home-body .cloud-canvas::before,
.customer-home-body .cloud-canvas::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.customer-home-body .cloud-canvas::before {
    z-index: 0;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.72), transparent 32%),
        radial-gradient(circle at 74% 8%, rgba(253, 232, 177, 0.38), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(107, 31, 58, 0));
}

.customer-home-body .cloud-canvas::after {
    z-index: 12;
    opacity: var(--cloud-wash);
    background:
        linear-gradient(180deg, rgba(107, 31, 58, 0) 0%, rgba(107, 31, 58, 0.42) 54%, #6B1F3A 100%),
        radial-gradient(circle at 50% 96%, rgba(205, 160, 71, 0.2), transparent 36%);
}

.customer-home-body .cloud-frame {
    display: block;
    position: absolute;
    top: -7vh;
    left: -10vw;
    width: 120vw;
    height: 114vh;
    max-width: none;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transform: translate3d(0, 0, 0);
    transition: none;
    animation: none;
    will-change: transform, opacity;
    pointer-events: none;
    user-select: none;
    backface-visibility: hidden;
    contain: paint;
    background: #8d5a69;
}

.customer-home-body .cloud-frame--active {
    opacity: 1;
}

.customer-home-body .cloud-scroll-hint {
    display: none;
    animation: none;
}

.customer-home-body .customer-page-content {
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: none;
    background: #6B1F3A;
}

@media (max-width: 768px) {
    .customer-home-body .cloud-scroll-scene {
        height: 460vh;
        min-height: 2400px;
    }

    .customer-home-body .cloud-frame {
        top: -5vh;
        left: -18vw;
        width: 136vw;
        height: 112vh;
    }

}

@media (prefers-reduced-motion: reduce) {
    .customer-home-body .cloud-scroll-scene {
        display: none;
    }

    .customer-home-body .customer-page-content {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .customer-home-body .cloud-frame {
        transition: none;
    }
}

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

.wc-support-chat {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 240;
}

.wc-support-chat__launcher {
    width: 72px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 234, 205, 0.92), transparent 34%),
        linear-gradient(145deg, #6b1f3a 0%, #a13b5b 58%, #d3a349 100%);
    box-shadow: 0 22px 40px rgba(47, 16, 28, 0.34);
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.wc-support-chat__launcher:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 28px 44px rgba(47, 16, 28, 0.4);
}

.wc-support-chat__launcher-icon {
    width: 32px;
    height: 32px;
    color: #fff7f2;
}

.wc-support-chat__launcher-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wc-support-chat__launcher-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: #fff0f0;
    color: #a73a45;
    border: 2px solid #fff;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(167, 58, 69, 0.2);
}

.wc-support-chat__launcher-badge.is-hidden {
    display: none;
}

.wc-support-chat__panel {
    position: absolute;
    right: 0;
    bottom: 92px;
    width: min(390px, calc(100vw - 28px));
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(107, 31, 58, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 239, 0.96));
    box-shadow: 0 30px 60px rgba(25, 18, 24, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
    pointer-events: none;
}

.wc-support-chat.is-open .wc-support-chat__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wc-support-chat__panel-header,
.dashboard-support-board__thread-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.wc-support-chat__title {
    min-width: 0;
    flex: 1 1 auto;
}

.wc-support-chat__eyebrow {
    margin: 0 0 8px;
    color: #b8872e;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 18px;
    font-weight: 800;
}

.wc-support-chat__panel-header h3 {
    margin: 0;
    font-family: "Playfair Display", "Georgia", serif;
    font-size: 26px;
    line-height: 1.05;
    color: #31131e;
}

.wc-support-chat__panel-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.wc-support-chat__stamp {
    display: block;
    width: clamp(54px, 13vw, 82px);
    height: clamp(54px, 13vw, 82px);
    object-fit: contain;
    flex: 0 0 auto;
    pointer-events: none;
    user-select: none;
}

.wc-support-chat__presence,
.dashboard-support-board__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fef3c7, #fce7f3);
    color: #7c2d12;
    font-size: 12px;
    font-weight: 700;
}

.wc-support-chat__presence.is-online,
.dashboard-support-board__status.is-online {
    background: linear-gradient(135deg, #dcfce7, #ccfbf1);
    color: #166534;
}

.dashboard-support-board__status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #bc7d3e;
    box-shadow: 0 0 0 6px rgba(188, 125, 62, 0.08);
}

.dashboard-support-board__status.is-online .dashboard-support-board__status-dot {
    background: #2f6d59;
    box-shadow: 0 0 0 6px rgba(47, 109, 89, 0.08);
}

.wc-support-chat__close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(107, 31, 58, 0.08);
    color: #4a2130;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.wc-support-chat__messages,
.dashboard-support-board__messages {
    min-height: 280px;
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

.wc-support-chat__messages {
    margin-right: -4px;
}

.wc-support-chat__state,
.dashboard-support-board__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 24px;
    border-radius: 22px;
    text-align: center;
    color: #6f6671;
    background: rgba(107, 31, 58, 0.05);
    line-height: 1.6;
}

.wc-support-chat__state.is-loading,
.dashboard-support-board__empty.is-loading {
    background:
        linear-gradient(90deg, rgba(107, 31, 58, 0.04), rgba(216, 186, 138, 0.18), rgba(107, 31, 58, 0.04));
    background-size: 220% 100%;
    animation: support-loading-wave 1.35s linear infinite;
}

@keyframes support-loading-wave {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

.support-message-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.support-message {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.support-message--customer,
.support-message--vendor {
    align-items: flex-end;
}

.support-message--superadmin {
    align-items: flex-start;
}

.support-message__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #776f79;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.support-message__bubble {
    max-width: min(82%, 560px);
    padding: 14px 16px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 14px 26px rgba(27, 18, 25, 0.08);
    white-space: pre-wrap;
    word-break: break-word;
}

.support-message__body + .support-message__attachments {
    margin-top: 10px;
}

.support-message__attachments {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-message__attachment {
    width: min(260px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
    padding: 9px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.14);
}

.support-message--superadmin .support-message__attachment {
    border-color: rgba(107, 31, 58, 0.12);
    background: rgba(107, 31, 58, 0.05);
}

.support-message__attachment img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.28);
}

.support-message__attachment-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.support-message--customer .support-message__bubble,
.support-message--vendor .support-message__bubble {
    border-bottom-right-radius: 8px;
    background: linear-gradient(135deg, #6b1f3a, #9c3b58);
    color: #fff6f8;
}

.support-message--superadmin .support-message__bubble {
    border-bottom-left-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 237, 230, 0.95));
    border: 1px solid rgba(107, 31, 58, 0.1);
    color: #2d2028;
}

.wc-support-chat__composer,
.dashboard-support-board__composer {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}

.wc-support-chat__composer.is-dragover,
.dashboard-support-board__composer.is-dragover {
    outline: 2px dashed rgba(184, 135, 46, 0.6);
    outline-offset: 6px;
    border-radius: 18px;
}

.support-attachment-tray,
.support-upload-status {
    grid-column: 1 / -1;
}

.support-attachment-tray {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.support-attachment-tray.is-empty {
    display: none;
}

.support-attachment-chip {
    min-width: 0;
    max-width: 100%;
    display: inline-grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(107, 31, 58, 0.12);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 18px rgba(27, 18, 25, 0.06);
}

.support-attachment-chip__icon {
    min-width: 38px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border-radius: 9px;
    background: rgba(107, 31, 58, 0.1);
    color: #5c2136;
    font-size: 10px;
    font-weight: 800;
}

.support-attachment-chip__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.support-attachment-chip__copy strong,
.support-message__attachment-details strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    font-size: 12px;
    line-height: 1.25;
}

.support-attachment-chip__copy span,
.support-message__attachment-details span {
    color: #786d77;
    font-size: 11px;
    font-weight: 700;
}

.support-attachment-chip__remove {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: rgba(107, 31, 58, 0.08);
    color: #5c2136;
    cursor: pointer;
}

.support-upload-status {
    min-height: 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #6f6671;
    font-size: 12px;
    font-weight: 700;
}

.support-upload-status.is-error {
    color: #a73a45;
}

.support-upload-status.is-success {
    color: #2f6d59;
}

.support-upload-status__bar {
    width: 100%;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(107, 31, 58, 0.09);
}

.support-upload-status__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #b8872e, #2f6d59);
    transition: width 0.18s ease;
}

.support-attachment-button {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(107, 31, 58, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    color: #5c2136;
    cursor: pointer;
}

.support-attachment-button input {
    display: none;
}

.support-attachment-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.wc-support-chat__input-wrap,
.dashboard-support-board__input-wrap {
    display: block;
}

.wc-support-chat__input,
.dashboard-support-board__input {
    width: 100%;
    min-height: 52px;
    padding: 14px 16px;
    border: 1px solid rgba(107, 31, 58, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    color: #23161d;
}

.wc-support-chat__input:focus,
.dashboard-support-board__input:focus,
.dashboard-support-board__search-input:focus {
    outline: none;
    border-color: rgba(107, 31, 58, 0.38);
    box-shadow: 0 0 0 4px rgba(107, 31, 58, 0.08);
}

.wc-support-chat__send {
    min-width: 96px;
    min-height: 52px;
    padding: 0 18px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(135deg, #cda047, #b8872e);
    color: #2b1908;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.wc-support-chat__send:disabled,
.dashboard-support-board__composer .btn:disabled {
    opacity: 0.56;
    cursor: wait;
}

.dashboard-support-board {
    margin: 0 auto 32px;
    padding: 28px 30px;
    border-radius: 28px;
    border: 1px solid rgba(107, 31, 58, 0.12);
    background:
        radial-gradient(circle at top left, rgba(216, 186, 138, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 240, 0.95));
    box-shadow: 0 22px 44px rgba(23, 18, 21, 0.08);
}

.dashboard-section-dropdown--support > .dashboard-section-dropdown__summary {
    align-items: end;
}

.dashboard-section-dropdown--support .dashboard-support-board__status {
    align-self: center;
}

.dashboard-support-board__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.55fr);
    gap: 22px;
    align-items: stretch;
}

.dashboard-support-board__sidebar,
.dashboard-support-board__thread {
    border-radius: 24px;
    border: 1px solid rgba(107, 31, 58, 0.1);
    background: rgba(255, 255, 255, 0.88);
    min-height: 620px;
}

.dashboard-support-board__sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 20px;
}

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

.dashboard-support-board__metric {
    padding: 16px;
    border-radius: 20px;
    background: rgba(107, 31, 58, 0.05);
}

.dashboard-support-board__metric span {
    display: block;
    color: #716872;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.dashboard-support-board__metric strong {
    display: block;
    margin-top: 8px;
    font-size: 30px;
    line-height: 1;
    color: #341321;
}

.dashboard-support-board__search {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-anchor: none;
}

.dashboard-support-board__search-wrap {
    position: relative;
    display: block;
}

.dashboard-support-board__search-input {
    width: 100%;
    min-height: 48px;
    padding: 13px 46px 13px 16px;
    border: 1px solid rgba(107, 31, 58, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    color: #23161d;
    font-size: 14px;
}

.dashboard-support-board__search-clear {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(107, 31, 58, 0.08);
    color: #5a4050;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.dashboard-support-board__search-clear:hover {
    background: rgba(107, 31, 58, 0.14);
}

.dashboard-support-board__search-clear.is-hidden {
    display: none;
}

.dashboard-support-board__search-meta {
    min-height: 18px;
    margin: 0;
    color: #716872;
    font-size: 12px;
    font-weight: 700;
}

.dashboard-support-board__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    overflow-anchor: none;
    padding-right: 4px;
}

.dashboard-support-board__conversation {
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
    padding: 16px;
    border: 1px solid rgba(107, 31, 58, 0.08);
    border-radius: 20px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.dashboard-support-board__conversation:hover,
.dashboard-support-board__conversation.is-active {
    transform: translateY(-2px);
    border-color: rgba(107, 31, 58, 0.22);
    box-shadow: 0 16px 24px rgba(37, 22, 29, 0.08);
}

.dashboard-support-board__conversation.is-active {
    background: linear-gradient(180deg, rgba(107, 31, 58, 0.06), rgba(255, 255, 255, 0.98));
}

.dashboard-support-board__avatar {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #6b1f3a, #b8872e);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 14px 26px rgba(107, 31, 58, 0.18);
}

.dashboard-support-board__conversation-copy strong,
.dashboard-support-board__customer-card h3 {
    display: block;
    margin: 0;
    color: #32141e;
    font-size: 16px;
}

.dashboard-support-board__conversation-copy span,
.dashboard-support-board__customer-card p,
.dashboard-support-board__customer-meta span {
    display: block;
    color: #706874;
    font-size: 13px;
    line-height: 1.5;
}

.dashboard-support-board__conversation-preview {
    margin-top: 6px;
    color: #4f4550;
    font-size: 13px;
    line-height: 1.55;
}

.dashboard-support-board__conversation-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.dashboard-support-board__time {
    color: #847a86;
    font-size: 11px;
    font-weight: 700;
}

.dashboard-support-board__unread,
.dashboard-support-board__conversation-side .is-hidden {
    min-width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(167, 58, 69, 0.1);
    color: #a73a45;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-support-board__unread.is-hidden {
    display: none;
}

.dashboard-support-board__thread {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 18px;
    padding: 22px;
}

.dashboard-support-board__customer-card {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dashboard-support-board__customer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    max-width: 360px;
}

.dashboard-support-board__customer-meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(107, 31, 58, 0.06);
}

.dashboard-support-board__messages {
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(250, 247, 244, 0.96), rgba(255, 255, 255, 0.98));
}

@media (max-width: 1100px) {
    .dashboard-support-board__layout {
        grid-template-columns: 1fr;
    }

    .dashboard-support-board__sidebar,
    .dashboard-support-board__thread {
        min-height: 0;
    }

    .dashboard-support-board__list {
        max-height: 360px;
    }
}

@media (max-width: 720px) {
    .wc-support-chat {
        right: 14px;
        bottom: 14px;
    }

    .wc-support-chat__launcher {
        width: 64px;
        height: 64px;
    }

    .wc-support-chat__panel {
        right: -4px;
        bottom: 80px;
        width: min(100vw - 20px, 390px);
        padding: 16px;
        border-radius: 24px;
    }

    .dashboard-support-board {
        padding: 18px;
    }

    .dashboard-module-search {
        grid-template-columns: 1fr;
    }

    .dashboard-module-search .btn {
        width: 100%;
    }

    .dashboard-support-board__summary {
        grid-template-columns: 1fr;
    }

    .dashboard-support-board__thread-head {
        flex-direction: column;
    }

    .dashboard-support-board__customer-meta {
        justify-content: flex-start;
    }

    .wc-support-chat__composer,
    .dashboard-support-board__composer {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .wc-support-chat__send,
    .dashboard-support-board__composer .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wc-support-chat__panel-header h3 {
        font-size: 22px;
    }

    .support-message__bubble {
        max-width: 90%;
    }

    .dashboard-support-board__conversation {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .dashboard-support-board__conversation-side {
        grid-column: 2;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
