@layer legacy {
/*
 * Leftover (Client #693 C6): the Dagbok scheduler frame lives in the unlayered TriolinkScheduler.razor.css. These
 * rules restyle the legacy GCard (t-gcard-*, t-card-base-container), whose own legacy !important declarations
 * would beat a migrated rule, so they stay in this legacy-layer file until GCard is migrated.
 */

.t-scheduler__side-panel.activity .t-gcard-button-container {
    top: 6px;
    right: 42px;
    height: 32px;
    margin-top: 0;
    margin-right: 0;
    align-items: flex-end;
}

.t-scheduler__side-panel.activity .t-gcard-button-container > button,
.t-scheduler__inline-draft .t-gcard-button-container > button {
    width: 32px;
    height: 32px;
    padding: 4px !important;
    margin-top: 0 !important;
}

.t-scheduler__side-panel.activity .t-card-base-container,
.t-scheduler__inline-draft .t-card-base-container {
    position: relative;
    overflow: hidden;
}

.t-scheduler__side-panel.activity .t-gcard-header,
.t-scheduler__inline-draft .t-gcard-header {
    background-color: transparent !important;
    pointer-events: none;
}

.t-scheduler__side-panel.activity .t-gcard-button-container,
.t-scheduler__inline-draft .t-gcard-button-container {
    pointer-events: all;
    z-index: 111;
}

.t-scheduler__inline-draft .t-gcard-button-container {
    top: 6px;
    right: 42px;
    height: 32px;
    margin-top: 0;
    margin-right: 0;
    align-items: flex-end;
}

.t-scheduler__side-panel.activity .t-gcard-date-container,
.t-scheduler__inline-draft .t-gcard-date-container {
    display: none;
}
}
