/* Meetings hub, creation form, lists, and scheduled rows. */

body.user-body-meetings .meeting-layout {
    flex: 1;
    min-height: 0;
    max-width: 1600px;
    width: calc(100% - 8px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 410px) minmax(0, 1fr);
    gap: 14px;
}

body.user-body-meetings .meeting-left-panel,
body.user-body-meetings .meeting-main {
    min-height: 0;
}

body.user-body-meetings .meeting-hub {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 14px 12px 14px 14px;
}

body.user-body-meetings .meeting-home-header {
    flex: 0 0 auto;
    padding: 6px 6px 14px 4px;
}

body.user-body-meetings .meeting-brand-row {
    grid-template-columns: 46px minmax(0, 1fr) auto 42px;
}

body.user-body-meetings .meeting-brand-row h1 {
    margin: 0;
    font-weight: 650;
    letter-spacing: 0;
}

body.user-body-meetings .meeting-home-header .surface-switcher-user {
    width: 100%;
    max-width: none;
    justify-content: stretch;
    gap: 8px;
}

body.user-body-meetings .meeting-home-header .surface-switcher-user .surface-switcher-link {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 46px;
    border-radius: 14px;
    border-color: var(
        --zn-surface-switcher-border,
        color-mix(in srgb, var(--zn-member-border) 62%, transparent)
    );
    box-shadow: none;
}

body.user-body-meetings .meeting-home-header .surface-switcher-user .surface-switcher-link.is-active {
    border-color: var(--zn-surface-switcher-active-border, var(--zn-member-accent-border));
}

body.user-body-meetings .meeting-home-header .surface-switcher-user .surface-switcher-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
}

body.user-body-meetings .meeting-hub-actions {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 6px 4px 0;
}

body.user-body-meetings .meeting-hub-create-action,
body.user-body-meetings .meeting-hub-calendar-action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-radius: 14px;
}

body.user-body-meetings .meeting-hub-create-action {
    font-weight: 700;
    text-align: center;
}

body.user-body-meetings .meeting-hub-create-action svg,
body.user-body-meetings .meeting-hub-calendar-action svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.user-body-meetings .meeting-hub-create-action.is-active {
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--zn-member-primary-text) 32%, transparent);
}

body.user-body-meetings .meeting-hub-create-action:disabled {
    cursor: not-allowed;
    opacity: 0.52;
    transform: none;
    box-shadow: none;
}

body.user-body-meetings .meeting-hub-calendar-action {
    width: auto;
    min-width: 148px;
    height: 58px;
    gap: 9px;
    padding: 0 16px;
}

body.user-body-meetings .meeting-hub-calendar-label {
    display: inline;
    font-weight: 700;
}

body.user-body-meetings .meeting-desktop-agenda {
    display: none;
}

body.user-body-meetings .meeting-hub-quick-actions {
    display: none;
}

body.user-body-meetings .meeting-desktop-calendar {
    display: none;
}

body.user-body-meetings .meeting-desktop-calendar-feed {
    display: none;
}

body.user-body-meetings .meeting-scheduling-receipt-layer {
    display: contents;
}

body.user-body-meetings .meeting-scheduling-receipt-layer[hidden] {
    display: none;
}

@keyframes meeting-live-join-pulse {
    0% {
        opacity: 0.92;
        transform: scale(1);
    }

    55% {
        opacity: 0.48;
        transform: scale(1.16);
    }

    100% {
        opacity: 0;
        transform: scale(1.34);
    }
}

@media (min-width: 981px) {
    body.user-body-meetings .meeting-layout > .meeting-scheduling-receipt-layer {
        position: fixed;
        inset: 0;
        z-index: 120;
        display: grid;
        place-items: center;
        overflow: auto;
        padding: 24px;
        background: color-mix(in srgb, var(--zn-member-bg-shell) 72%, transparent);
        backdrop-filter: blur(2px);
    }

    body.user-body-meetings .meeting-layout > .meeting-scheduling-receipt-layer[hidden] {
        display: none;
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer > .meeting-scheduling-receipt {
        position: relative;
        width: min(480px, calc(100vw - 48px));
        max-height: calc(100vh - 48px);
        display: grid;
        align-items: stretch;
        gap: 20px;
        overflow: auto;
        margin: 0;
        padding: 22px;
        border-radius: 12px;
        background: var(--zn-member-bg-card);
        box-shadow: var(--zn-member-shadow);
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-copy {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
        gap: 14px;
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-icon {
        width: 44px;
        height: 44px;
        color: var(--zn-member-primary-text);
        background: var(--zn-success);
        font-size: 1.1rem;
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-copy > div {
        gap: 5px;
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-copy > div > span {
        color: var(--zn-member-success-text);
        font-size: 0.72rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-copy strong {
        color: var(--zn-member-text-primary);
        font-size: 1.22rem;
        line-height: 1.2;
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-copy p {
        color: var(--zn-member-text-secondary);
        font-size: 0.84rem;
        line-height: 1.4;
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-copy small {
        color: var(--zn-member-text-muted);
        font-size: 0.78rem;
        line-height: 1.45;
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-actions {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
        gap: 8px;
        padding-top: 16px;
        border-top: 1px solid var(--zn-member-border-muted);
    }

    body.user-body-meetings .meeting-scheduling-receipt-layer .meeting-scheduling-receipt-actions > button {
        width: 100%;
        min-height: 40px;
        border-radius: 8px;
    }

    body.user-body-meetings .meeting-hub-actions {
        display: none;
    }

    body.user-body-meetings .meeting-hub-quick-actions {
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 6px 4px 0;
    }

    body.user-body-meetings .meeting-hub-quick-action {
        min-width: 0;
        min-height: 78px;
        display: grid;
        grid-template-rows: 48px 30px;
        overflow: hidden;
        padding: 0;
        border: 1px solid color-mix(in srgb, var(--zn-member-border) 72%, transparent);
        border-radius: 8px;
        color: var(--zn-member-text-primary);
        background: var(--zn-member-bg-card);
        box-shadow: 0 6px 16px color-mix(in srgb, var(--zn-member-text-primary) 8%, transparent);
        cursor: pointer;
        text-align: center;
        transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
    }

    body.user-body-meetings .meeting-hub-quick-action:hover,
    body.user-body-meetings .meeting-hub-quick-action:focus-visible {
        transform: translateY(-1px);
        border-color: color-mix(in srgb, var(--zn-member-accent-border-strong) 58%, var(--zn-member-border));
        box-shadow: 0 9px 20px color-mix(in srgb, var(--zn-member-text-primary) 11%, transparent);
    }

    body.user-body-meetings .meeting-hub-quick-action:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--zn-member-accent) 72%, transparent);
        outline-offset: 2px;
    }

    body.user-body-meetings .meeting-hub-quick-action:disabled {
        cursor: not-allowed;
        opacity: 0.52;
        transform: none;
        box-shadow: none;
    }

    body.user-body-meetings .meeting-hub-quick-action-visual {
        display: grid;
        place-items: center;
        color: var(--zn-member-primary-text);
    }

    body.user-body-meetings .meeting-hub-quick-action.is-instant .meeting-hub-quick-action-visual {
        background: color-mix(in srgb, var(--zn-success) 76%, var(--zn-member-bg-card));
    }

    body.user-body-meetings .meeting-hub-quick-action.is-scheduled .meeting-hub-quick-action-visual {
        background: color-mix(in srgb, var(--zn-member-accent) 74%, var(--zn-member-bg-card));
    }

    body.user-body-meetings .meeting-hub-quick-action-visual svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.user-body-meetings .meeting-hub-quick-action > strong {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        padding: 0 7px;
        color: var(--zn-member-text-primary);
        background: var(--zn-member-bg-card);
        font-size: 0.73rem;
        font-weight: 720;
        line-height: 1.1;
        white-space: nowrap;
    }

    body.user-body-meetings .meeting-cockpit .meeting-history-chevron {
        display: none;
    }

    body.user-body-meetings .meeting-desktop-agenda {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        overflow-y: auto;
        overscroll-behavior: contain;
        margin-top: 16px;
        padding: 18px 6px 6px 4px;
        border-top: 1px solid color-mix(in srgb, var(--zn-member-border) 72%, transparent);
        scrollbar-width: thin;
        scrollbar-color: var(--zn-member-border) transparent;
    }

    body.user-body-meetings .meeting-desktop-agenda > * {
        flex: 0 0 auto;
    }

    body.user-body-meetings .meeting-desktop-agenda-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 0 6px;
    }

    body.user-body-meetings .meeting-desktop-agenda-header > div {
        min-width: 0;
    }

    body.user-body-meetings .meeting-desktop-agenda-header .pane-kicker {
        margin: 0 0 3px;
        color: var(--zn-member-text-muted);
        font-size: 0.7rem;
    }

    body.user-body-meetings .meeting-desktop-agenda-header h2 {
        margin: 0;
        color: var(--zn-member-text-primary);
        font-size: 1.08rem;
        font-weight: 720;
        line-height: 1.2;
    }

    body.user-body-meetings .meeting-desktop-agenda-total,
    body.user-body-meetings .meeting-desktop-agenda-section-header > span:last-of-type {
        min-width: 26px;
        height: 26px;
        display: grid;
        place-items: center;
        border: 1px solid color-mix(in srgb, var(--zn-member-border) 72%, transparent);
        border-radius: 999px;
        color: var(--zn-member-text-secondary);
        background: color-mix(in srgb, var(--zn-member-bg-surface-hover) 72%, transparent);
        font-size: 0.76rem;
        font-weight: 700;
    }

    body.user-body-meetings .meeting-desktop-agenda-section {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        border: 1px solid color-mix(in srgb, var(--zn-member-border) 72%, transparent);
        border-radius: 8px;
        background: color-mix(in srgb, var(--zn-member-bg-card) 90%, transparent);
        box-shadow: inset 0 1px 0 color-mix(in srgb, var(--zn-member-primary-text) 5%, transparent);
    }

    body.user-body-meetings .meeting-desktop-agenda-section-header {
        min-height: 42px;
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        padding: 6px 10px;
        border-bottom: 1px solid color-mix(in srgb, var(--zn-member-border) 54%, transparent);
        color: var(--zn-member-text-secondary);
        background: color-mix(in srgb, var(--zn-member-bg-surface-hover) 58%, transparent);
    }

    body.user-body-meetings .meeting-desktop-agenda-section-header h3 {
        margin: 0;
        color: var(--zn-member-text-primary);
        font-size: 0.88rem;
        font-weight: 690;
        line-height: 1.2;
    }

    body.user-body-meetings .meeting-desktop-agenda-section.is-active .meeting-desktop-agenda-section-header {
        background: color-mix(in srgb, var(--zn-success) 10%, var(--zn-member-bg-card));
    }

    body.user-body-meetings .meeting-desktop-agenda-section.is-upcoming .meeting-desktop-agenda-section-header {
        background: color-mix(in srgb, var(--zn-member-accent) 9%, var(--zn-member-bg-card));
    }

    body.user-body-meetings .meeting-desktop-agenda-past > .meeting-desktop-agenda-section-header {
        background: color-mix(in srgb, var(--zn-member-text-muted) 8%, var(--zn-member-bg-card));
    }

    body.user-body-meetings .meeting-desktop-agenda-dot {
        width: 9px;
        height: 9px;
        justify-self: center;
        border-radius: 50%;
        background: var(--zn-success);
        box-shadow: 0 0 0 4px color-mix(in srgb, var(--zn-success) 12%, transparent);
    }

    body.user-body-meetings .meeting-desktop-agenda-dot.is-muted {
        background: var(--zn-member-text-muted);
        box-shadow: none;
    }

    body.user-body-meetings .meeting-desktop-agenda-calendar {
        width: 17px;
        height: 17px;
        color: var(--zn-member-text-secondary);
    }

    body.user-body-meetings .meeting-desktop-agenda-calendar svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.user-body-meetings .meeting-desktop-agenda-list {
        display: flex;
        flex-direction: column;
        gap: 7px;
        overflow: visible;
        padding: 8px;
    }

    body.user-body-meetings .meeting-desktop-agenda-row {
        min-width: 0;
        min-height: 52px;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 9px;
        border: 1px solid color-mix(in srgb, var(--zn-member-border) 62%, transparent);
        border-radius: 7px;
        background: color-mix(in srgb, var(--zn-member-bg-card) 88%, transparent);
        box-shadow: 0 3px 10px color-mix(in srgb, var(--zn-member-text-primary) 8%, transparent);
    }

    body.user-body-meetings .meeting-desktop-agenda-section.is-active .meeting-desktop-agenda-row {
        border-left: 3px solid color-mix(in srgb, var(--zn-success) 72%, var(--zn-member-border));
    }

    body.user-body-meetings .meeting-desktop-agenda-section.is-upcoming .meeting-desktop-agenda-row {
        border-left: 3px solid color-mix(in srgb, var(--zn-member-accent) 72%, var(--zn-member-border));
    }

    body.user-body-meetings .meeting-desktop-agenda-section.is-upcoming .meeting-desktop-agenda-row.is-recurring {
        min-height: 68px;
        background: color-mix(in srgb, var(--zn-member-accent) 4%, var(--zn-member-bg-card));
    }

    body.user-body-meetings .meeting-desktop-agenda-past .meeting-desktop-agenda-row {
        border-left: 3px solid color-mix(in srgb, var(--zn-member-text-muted) 48%, var(--zn-member-border));
    }

    body.user-body-meetings .meeting-desktop-agenda-row-copy {
        min-width: 0;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    body.user-body-meetings .meeting-desktop-agenda-row-copy strong,
    body.user-body-meetings .meeting-desktop-agenda-row-copy span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.user-body-meetings .meeting-desktop-agenda-row-copy strong {
        color: var(--zn-member-text-primary);
        font-size: 0.84rem;
        font-weight: 680;
    }

    body.user-body-meetings .meeting-desktop-agenda-title-line {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    body.user-body-meetings .meeting-desktop-agenda-title-line > strong {
        min-width: 0;
        flex: 0 1 auto;
    }

    body.user-body-meetings .meeting-series-badge {
        min-height: 18px;
        flex: 0 0 auto;
        display: inline-grid;
        place-items: center;
        padding: 1px 6px;
        border: 1px solid color-mix(in srgb, var(--zn-member-accent-border) 72%, transparent);
        border-radius: 999px;
        color: var(--zn-member-accent-text);
        background: var(--zn-member-accent-surface);
        font-size: 0.61rem;
        font-weight: 720;
        line-height: 1;
    }

    body.user-body-meetings .meeting-desktop-agenda-row-copy .meeting-series-summary {
        display: flex;
        align-items: center;
        gap: 4px;
        color: var(--zn-member-text-secondary);
        font-size: 0.68rem;
        font-weight: 620;
    }

    body.user-body-meetings .meeting-series-summary svg {
        width: 13px;
        height: 13px;
        flex: 0 0 13px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.user-body-meetings .meeting-desktop-agenda-row-copy .meeting-series-summary svg {
        color: var(--zn-member-accent);
    }

    body.user-body-meetings .meeting-desktop-agenda-row-copy span,
    body.user-body-meetings .meeting-desktop-agenda-status,
    body.user-body-meetings .meeting-desktop-agenda-empty {
        color: var(--zn-member-text-muted);
        font-size: 0.72rem;
        line-height: 1.35;
    }

    body.user-body-meetings .meeting-desktop-agenda-empty {
        margin: 0;
        padding: 9px 12px 10px 36px;
        background: color-mix(in srgb, var(--zn-member-bg-card) 54%, transparent);
    }

    body.user-body-meetings .meeting-desktop-agenda-section:has(.meeting-desktop-agenda-empty) .meeting-desktop-agenda-section-header {
        min-height: 38px;
    }

    body.user-body-meetings .meeting-desktop-agenda-action {
        min-width: 54px;
        min-height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 11px;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 700;
        line-height: 1;
        text-align: center;
    }

    body.user-body-meetings .meeting-desktop-agenda-row-actions {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
    }

    body.user-body-meetings .meeting-desktop-agenda-row-actions .meeting-action-menu,
    body.user-body-meetings .meeting-desktop-agenda-row-actions .meeting-action-menu summary {
        width: 32px;
        min-width: 32px;
        height: 32px;
    }

    body.user-body-meetings .meeting-desktop-agenda-row-actions .meeting-action-menu summary {
        padding: 0;
        border-radius: 8px;
        font-size: 1rem;
        line-height: 1;
    }

    body.user-body-meetings .meeting-desktop-agenda-section.is-active .meeting-desktop-agenda-action {
        position: relative;
        isolation: isolate;
    }

    body.user-body-meetings .meeting-desktop-agenda-section.is-active .meeting-desktop-agenda-action::after {
        content: "";
        position: absolute;
        inset: -3px;
        z-index: 0;
        border: 3px solid color-mix(in srgb, var(--zn-member-primary) 88%, transparent);
        border-radius: inherit;
        box-shadow: 0 0 14px color-mix(in srgb, var(--zn-member-primary) 58%, transparent);
        pointer-events: none;
        animation: meeting-live-join-pulse 1.35s ease-out infinite;
    }

    body.user-body-meetings .meeting-desktop-agenda-date {
        width: 48px;
        flex: 0 0 48px;
        display: flex;
        flex-direction: column;
        gap: 2px;
        color: var(--zn-member-text-secondary);
        font-size: 0.66rem;
        line-height: 1.15;
    }

    body.user-body-meetings .meeting-desktop-agenda-date strong {
        color: var(--zn-member-text-primary);
        font-size: 0.76rem;
    }

    body.user-body-meetings .meeting-desktop-agenda-collapsible > summary {
        grid-template-columns: 18px minmax(0, 1fr) auto;
        cursor: pointer;
        list-style: none;
        user-select: none;
    }

    body.user-body-meetings .meeting-desktop-agenda-collapsible:not([open]) > summary {
        border-bottom-color: transparent;
    }

    body.user-body-meetings .meeting-desktop-agenda-collapsible > summary::-webkit-details-marker {
        display: none;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed {
        flex: 0 0 auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 7px 10px;
        margin: 12px 6px 0 4px;
        padding: 10px;
        border: 1px solid color-mix(in srgb, var(--zn-member-border) 72%, transparent);
        border-radius: 8px;
        background: color-mix(in srgb, var(--zn-member-bg-card) 90%, transparent);
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-heading {
        position: relative;
        display: flex;
        align-items: center;
        gap: 9px;
        color: var(--zn-member-text-primary);
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-heading > span {
        width: 26px;
        height: 26px;
        display: grid;
        place-items: center;
        border-radius: 7px;
        color: var(--zn-member-accent-text);
        background: var(--zn-member-accent-surface);
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-heading svg {
        width: 16px;
        height: 16px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-heading strong {
        font-size: 0.88rem;
        font-weight: 700;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-help {
        position: relative;
        flex: 0 0 auto;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-help > summary {
        width: 20px;
        height: 20px;
        display: grid;
        place-items: center;
        border: 1px solid color-mix(in srgb, var(--zn-member-border) 78%, transparent);
        border-radius: 50%;
        color: var(--zn-member-text-secondary);
        background: var(--zn-member-bg-surface-hover);
        cursor: pointer;
        font-size: 0.7rem;
        font-weight: 760;
        line-height: 1;
        list-style: none;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-help > summary::-webkit-details-marker {
        display: none;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-help > summary:hover,
    body.user-body-meetings .meeting-desktop-calendar-feed-help > summary:focus-visible {
        color: var(--zn-member-text-primary);
        border-color: var(--zn-member-accent-border-strong);
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-help > summary:focus-visible {
        outline: 2px solid color-mix(in srgb, var(--zn-member-accent) 70%, transparent);
        outline-offset: 2px;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-help-bubble {
        position: absolute;
        left: -42px;
        bottom: calc(100% + 9px);
        z-index: 5;
        width: 250px;
        padding: 10px 11px;
        border: 1px solid var(--zn-member-border);
        border-radius: 8px;
        color: var(--zn-member-text-secondary);
        background: var(--zn-member-bg-card);
        box-shadow: var(--zn-member-shadow);
        font-size: 0.72rem;
        line-height: 1.4;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-copy {
        width: auto;
        min-height: 32px;
        justify-content: center;
        border-radius: 8px;
        font-size: 0.76rem;
        font-weight: 680;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-status {
        grid-column: 1 / -1;
        min-height: 0;
        margin: 0;
        color: var(--zn-member-success-text);
        font-size: 0.72rem;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-status:empty {
        display: none;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-meta {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: var(--zn-member-text-muted);
        font-size: 0.72rem;
    }

    body.user-body-meetings .meeting-desktop-calendar-feed-meta strong {
        color: var(--zn-member-text-secondary);
        font-weight: 680;
    }

    body.user-body-meetings .meeting-cockpit {
        overflow: hidden;
        padding: 18px;
    }

    body.user-body-meetings .meeting-cockpit > .meeting-create-guidance,
    body.user-body-meetings .meeting-cockpit > .meeting-primary-sections,
    body.user-body-meetings .meeting-cockpit > .meeting-recent-section {
        display: none;
    }

    body.user-body-meetings .meeting-desktop-calendar {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 0;
        display: flex;
        overflow: hidden;
    }

    body.user-body-meetings .meeting-desktop-calendar > .workspace-calendar-layout,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-main {
        width: 100%;
        min-width: 0;
        min-height: 0;
    }

    body.user-body-meetings .meeting-desktop-calendar > .workspace-calendar-layout {
        flex: 1 1 auto;
        display: flex;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-main {
        flex: 1 1 auto;
        height: 100%;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-scroll {
        flex: 1 1 auto;
        min-height: 0;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-toolbar {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        gap: 14px;
        padding: 9px 11px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-title {
        gap: 9px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-title h2 {
        font-size: 0.88rem;
        white-space: nowrap;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-controls {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr) auto;
        align-items: center;
        justify-content: stretch;
        gap: 8px;
        flex-wrap: nowrap;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-date-controls,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-navigation,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-view-switch {
        display: inline-flex;
        align-items: center;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-date-controls {
        gap: 7px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-navigation {
        gap: 2px;
        padding: 2px;
        border: 1px solid var(--zn-member-border-muted);
        border-radius: 8px;
        background: var(--zn-member-bg-surface-faint);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-control,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-arrow,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-fullscreen-toggle {
        min-height: 30px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-arrow,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-fullscreen-toggle {
        width: 30px;
        min-width: 30px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-control {
        height: 26px;
        min-height: 26px;
        padding: 0 9px;
        border: 0;
        border-radius: 6px;
        color: var(--zn-member-text-primary);
        background: transparent;
        box-shadow: none;
        font-size: 0.72rem;
        font-weight: 700;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-arrow {
        width: 26px;
        min-width: 26px;
        height: 26px;
        min-height: 26px;
        flex: 0 0 26px;
        padding: 0;
        border: 0;
        border-radius: 6px;
        color: var(--zn-member-text-secondary);
        background: transparent;
        box-shadow: none;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-control:hover,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-control:focus-visible,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-arrow:hover,
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-arrow:focus-visible {
        color: var(--zn-member-accent-text);
        background: var(--zn-member-accent-surface);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-navigation-icon {
        width: 13px;
        height: 13px;
        display: block;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-range {
        min-width: 104px;
        padding-inline: 4px;
        color: var(--zn-member-text-primary);
        text-align: center;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-view-switch {
        gap: 2px;
        padding: 3px;
        border: 1px solid var(--zn-member-border-muted);
        border-radius: 8px;
        background: var(--zn-member-bg-surface-faint);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-view-pill {
        padding: 5px 8px;
        border: 0;
        border-radius: 6px;
        color: var(--zn-member-text-secondary);
        background: transparent;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-view-pill.is-active {
        color: var(--zn-member-accent-text);
        background: var(--zn-member-accent-surface);
        box-shadow: inset 0 0 0 1px var(--zn-member-accent-border-muted);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-timezone {
        min-width: 0;
        justify-self: end;
        overflow: hidden;
        gap: 5px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-timezone-label {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-week-day-heading.is-today {
        color: var(--zn-member-text-primary);
        background: color-mix(in srgb, var(--zn-member-accent-surface) 38%, var(--zn-member-bg-card));
        box-shadow: inset 0 3px 0 var(--zn-member-accent);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-today-badge {
        margin-left: 5px;
        padding: 1px 4px;
        border-radius: 4px;
        color: var(--zn-member-accent-text);
        background: var(--zn-member-accent-surface);
        font-size: 0.52rem;
        font-style: normal;
        font-weight: 800;
        text-transform: none;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-week-day {
        position: relative;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-week-day.is-today {
        background: color-mix(in srgb, var(--zn-member-accent-surface) 12%, transparent);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-week-slot {
        border-bottom-color: color-mix(in srgb, var(--zn-member-border-muted) 54%, transparent);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-week-slot:nth-child(2n) {
        border-bottom-color: var(--zn-member-border-muted);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-now-line {
        position: absolute;
        top: var(--calendar-now-position, 0);
        right: 0;
        left: 0;
        z-index: 8;
        height: 2px;
        background: var(--zn-member-accent);
        box-shadow: 0 0 0 1px color-mix(in srgb, var(--zn-member-accent) 18%, transparent);
        pointer-events: none;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-now-line::before {
        content: "";
        position: absolute;
        top: 50%;
        left: -4px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--zn-member-accent);
        transform: translateY(-50%);
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-footer {
        min-height: 38px;
        padding: 6px 11px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-availability {
        gap: 7px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-event-count {
        color: var(--zn-member-text-muted);
        font-size: 0.72rem;
    }

    body.user-body-meetings .meeting-layout.meeting-room-active .meeting-desktop-calendar {
        display: none;
    }

}

@media (min-width: 981px) and (max-width: 1320px) {
    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-toolbar {
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-title {
        display: none;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-controls {
        grid-template-columns: auto auto minmax(0, 1fr) auto;
    }

    body.user-body-meetings .meeting-desktop-calendar .workspace-calendar-timezone-label {
        max-width: 90px;
    }
}

@media (max-width: 760px) {
    body.user-body-meetings .meeting-hub-actions {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        padding: 8px 0 0;
    }

    body.user-body-meetings .meeting-hub-create-action,
    body.user-body-meetings .meeting-hub-calendar-action {
        width: 90%;
        min-width: 0;
        min-height: 52px;
        height: 52px;
        border-radius: 14px;
        justify-self: center;
    }

    body.user-body-meetings .meeting-hub-create-action {
        padding: 0 16px;
        font-size: 1rem;
        white-space: nowrap;
    }

    body.user-body-meetings .meeting-hub-calendar-action {
        padding: 0 16px;
        gap: 10px;
    }

    body.user-body-meetings .meeting-hub-calendar-label {
        display: inline;
        font-weight: 700;
    }
}

body.user-body-meetings .meeting-cockpit {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    overflow: auto;
    padding: 28px;
    border-radius: var(--user-radius-lg);
    border-color: color-mix(in srgb, var(--zn-member-border) 56%, transparent);
    background: color-mix(in srgb, var(--zn-member-bg-card) 88%, transparent);
    box-shadow: var(--zn-member-shadow);
}

body.user-body-meetings .meeting-create-form {
    gap: 12px;
}

body.user-body-meetings .meeting-title-field span {
    color: var(--zn-member-text-secondary);
    font-size: 0.86rem;
    font-weight: 600;
}


body.user-body-meetings .meeting-copy-status {
    position: fixed;
    top: var(--meeting-copy-feedback-top, 50%);
    left: var(--meeting-copy-feedback-left, 50%);
    bottom: auto;
    z-index: var(--z-layer-drawer, 1300);
    width: min(calc(100vw - 28px), 460px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body.user-body-meetings .meeting-copy-status:is([data-tone="success"], [data-tone="error"]):not(:empty) {
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: transparent;
    background: transparent;
    box-shadow: none;
    font-size: 0;
}

body.user-body-meetings .meeting-copy-status[data-tone="success"]:not(:empty) {
    padding: 8px 14px;
    border: 1px solid color-mix(in srgb, var(--zn-success) 60%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--zn-success) 24%, var(--zn-member-bg-card));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--zn-success) 18%, transparent);
}

body.user-body-meetings .meeting-copy-status[data-tone="success"]:not(:empty)::before {
    content: "Copied";
    color: var(--zn-member-success-text);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 760;
    letter-spacing: 0.01em;
    line-height: 1;
}

body.user-body-meetings .meeting-copy-status[data-tone="error"]:not(:empty)::before {
    content: "Failed";
    color: var(--zn-member-danger-text);
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 760;
    letter-spacing: 0.01em;
    line-height: 1;
}

body.user-body-meetings .meeting-copy-status[data-tone="error"]:not(:empty) {
    padding: 8px 14px;
    border: 1px solid color-mix(in srgb, var(--zn-danger-border) 72%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--zn-danger-bg) 34%, var(--zn-member-bg-card));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--zn-danger-border) 18%, transparent);
}

body.user-body-meetings .meeting-list-section {
    gap: 12px;
}

body.user-body-meetings .meeting-row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;


}

body.user-body-meetings .meeting-row-actions {
    padding-top: 8px;
}

body.user-body-meetings .meeting-join-button {
    min-height: 48px;
    border-radius: 12px;
    font-size: 0.98rem;
    font-weight: 740;
}

body.user-body-meetings .meeting-section-title {
    gap: 10px;
}

body.user-body-meetings .meeting-section-title h3 {
    font-size: 1.08rem;
    font-weight: 650;
    letter-spacing: 0;
}

body.user-body-meetings .meeting-count {
    min-width: 28px;
    height: 28px;
    font-size: 0.84rem;
    border: 1px solid color-mix(in srgb, var(--zn-member-border) 44%, transparent);
    background: color-mix(in srgb, var(--zn-member-bg-surface-hover) 70%, transparent);
    font-weight: 650;
}

body.user-body-meetings .meeting-history-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.user-body-meetings .meeting-history-summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

body.user-body-meetings .meeting-history-summary::-webkit-details-marker {
    display: none;
}

body.user-body-meetings .meeting-history-summary:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--zn-member-accent-border-strong) 78%, transparent);
    outline-offset: 4px;
    border-radius: 12px;
}

body.user-body-meetings .meeting-history-chevron {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--zn-member-border) 48%, transparent);
    border-radius: 999px;
    color: var(--zn-member-text-secondary);
    background: color-mix(in srgb, var(--zn-member-bg-surface) 62%, transparent);
    transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease;
}

body.user-body-meetings .meeting-history-chevron svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.user-body-meetings .meeting-history-details[open] .meeting-history-chevron {
    transform: rotate(180deg);
    border-color: color-mix(in srgb, var(--zn-member-accent-border-strong) 50%, transparent);
    color: var(--zn-member-accent-text);
    background: color-mix(in srgb, var(--zn-member-accent-surface) 72%, transparent);
}

body.user-body-meetings .meeting-list {
    gap: 10px;
}

body.user-body-meetings .meeting-row {
    min-height: 112px;
    padding: 18px;
    gap: 14px;
    border-radius: var(--user-radius-sm);
    border-color: color-mix(in srgb, var(--zn-member-border) 52%, transparent);
    background: color-mix(in srgb, var(--zn-member-bg-surface) 78%, transparent);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--zn-member-border) 20%, transparent);
}

body.user-body-meetings .meeting-row-main {
    gap: 18px;
}

body.user-body-meetings .meeting-row-icon {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border-radius: 12px;
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--zn-member-primary-text) 13%, transparent),
        0 12px 22px color-mix(in srgb, var(--zn-member-accent) 14%, transparent);
}

body.user-body-meetings .meeting-row-icon svg {
    width: 30px;
    height: 30px;
}

body.user-body-meetings .meeting-row-copy h3 {
    font-size: 1.06rem;
    font-weight: 650;
    letter-spacing: 0;
}

body.user-body-meetings .meeting-row-actions {
    gap: 10px;
}

body.user-body-meetings .meeting-join-button {
    width: auto;
    min-width: 84px;
    padding-inline: 20px;
}

body.user-body-meetings .meeting-action-menu summary {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border-color: color-mix(in srgb, var(--zn-member-border) 54%, transparent);
    background: color-mix(in srgb, var(--zn-member-bg-surface) 68%, transparent);
    font-size: 1.35rem;
    line-height: 1;
}









body.user-body-meetings .meeting-scheduled-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
}

body.user-body-meetings .meeting-date-card {
    width: 76px;
    height: 70px;
    border-radius: var(--user-radius-sm);
}

body.user-body-meetings .meeting-date-card strong {
    font-size: 1.06rem;
}

body.user-body-meetings .meeting-empty-state {
    min-height: 112px;
    padding: 18px;
    border: 1px solid color-mix(in srgb, var(--zn-member-border) 48%, transparent);
    border-radius: var(--user-radius-sm);
    background: color-mix(in srgb, var(--zn-member-bg-surface) 72%, transparent);
}

@media (prefers-reduced-motion: reduce) {
    body.user-body-meetings .meeting-desktop-agenda-section.is-active .meeting-desktop-agenda-action::after {
        animation: none;
        opacity: 0;
    }
}
