/* === Structure renderer === */
.my_conf-structure {
    --my-conf-structure-font: inherit;
    --my-conf-block-bg: var(--color-content-primary, #356c3c);
    --my-conf-block-text: #fff;
    box-sizing: border-box;
    width: 100%;
    color: var(--my-conf-structure-text);
    background: var(--my-conf-structure-bg);
    font-family: var(--my-conf-structure-font);
    font-size: var(--my-conf-structure-font-size);
}
.my_conf-structure *, .my_conf-structure *::before, .my_conf-structure *::after { box-sizing: border-box; }
.my_conf-structure__days { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 1.25rem; align-items: start; max-width: 100%; padding-bottom: 4px; overflow-x: auto; }
.my_conf-structure--single-day .my_conf-structure__days { justify-content: center; }
.my_conf-structure-day { flex: 0 1 var(--my-conf-day-width, 300px); width: min(100%, var(--my-conf-day-width, 300px)); max-width: 100%; }
.my_conf-structure-day h2 { margin: 0 0 .75rem; text-align: center; color: inherit; font: inherit; font-size: 1.55em; font-weight: 700; }
.my_conf-structure-day__body { display: grid; grid-template-columns: 42px minmax(0, 1fr); min-height: 480px; }
.my_conf-structure-sun-axis { --my-conf-sunrise-row: 42px; --my-conf-sunset-row: 42px; display: grid; align-self: stretch; grid-template-rows: var(--my-conf-sunrise-row) minmax(0, 1fr) var(--my-conf-sunset-row); justify-items: center; align-items: center; min-height: 100%; height: 100%; padding: 0 5px; }
.my_conf-structure-sun-axis > span:nth-child(2) { position: relative; grid-row: 2; align-self: stretch; width: 100%; min-height: 1px; height: auto; }
.my_conf-structure-sun-axis > span:nth-child(2)::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 1px); width: 2px; background: var(--my-conf-structure-line); }
.my_conf-structure-sun-axis > span:nth-child(2)::after { content: ""; position: absolute; bottom: -1px; left: calc(50% - 5px); border: 5px solid transparent; border-top-color: var(--my-conf-structure-line); }
.my_conf-structure-sun-axis svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: square; stroke-linejoin: miter; }
.my_conf-structure-sun-axis__sunrise { grid-row: 1; color: var(--my-conf-structure-sunrise); }
.my_conf-structure-sun-axis__sunset { grid-row: 3; color: var(--my-conf-structure-sunset); }
.my_conf-structure-sun-axis.is-sunrise-hidden { --my-conf-sunrise-row: 0px; }
.my_conf-structure-sun-axis.is-sunset-hidden { --my-conf-sunset-row: 0px; }
.my_conf-structure-sun-axis.is-sunrise-hidden .my_conf-structure-sun-axis__sunrise,
.my_conf-structure-sun-axis.is-sunset-hidden .my_conf-structure-sun-axis__sunset { display: none; }
.my_conf-structure-sun-axis__sunrise[hidden],
.my_conf-structure-sun-axis__sunset[hidden] { display: none; }
.my_conf-structure-day__grid {
    position: relative;
    display: grid;
    grid-template-columns: var(--my-conf-lane-template, minmax(0, 1fr));
    min-width: 0;
    min-height: 480px;
    height: var(--my-conf-day-height, 620px);
    background: var(--my-conf-day-bg, transparent);
}
.my_conf-structure-block {
    position: absolute;
    z-index: calc(1 + var(--my-conf-block-layer, 0));
    top: var(--my-conf-block-top);
    right: auto;
    left: 0;
    grid-column: var(--my-conf-block-lane-start, 1) / span var(--my-conf-block-width, 1);
    width: 100%;
    min-height: 34px;
    height: var(--my-conf-block-height);
    display: block;
    color: var(--my-conf-block-text);
    background: var(--my-conf-block-bg);
    border: 2px solid var(--my-conf-structure-bg);
    overflow: hidden;
    container-type: size;
    box-sizing: border-box;
    text-decoration: none;
}
.my_conf-structure-block.is-overlap-pair {
    clip-path: var(--my-conf-overlap-clip-desktop, none);
}
.my_conf-structure--desktop-grid .my_conf-structure-day__grid::after {
    position: absolute;
    z-index: 1003;
    inset: 0;
    opacity: .28;
    background-image:
        repeating-linear-gradient(
            to bottom,
            transparent 0,
            transparent calc(var(--my-conf-grid-row-desktop, 22px) - 1px),
            var(--my-conf-structure-line)
                calc(var(--my-conf-grid-row-desktop, 22px) - 1px),
            var(--my-conf-structure-line)
                var(--my-conf-grid-row-desktop, 22px)
        );
    content: "";
    pointer-events: none;
}
.my_conf-structure-lane-grid-line {
    position: absolute;
    z-index: 1003;
    top: 0;
    bottom: 0;
    left: var(--my-conf-lane-grid-left);
    display: none;
    width: 1px;
    background: var(--my-conf-structure-line);
    opacity: .28;
    pointer-events: none;
}
.my_conf-structure--desktop-grid .my_conf-structure-lane-grid-line {
    display: block;
}
.my_conf-structure-block-connection {
    position: absolute;
    z-index: 1005;
    top: var(--my-conf-connection-top-desktop);
    left: var(--my-conf-connection-left);
    display: grid;
    width: 0;
    height: 0;
    place-items: center;
    pointer-events: none;
}
.my_conf-structure-block-connection > span {
    display: inline-grid;
    min-width: 24px;
    min-height: 24px;
    padding: 2px 5px;
    place-items: center;
    border: 2px solid var(
        --my-conf-day-marker-bg,
        var(--my-conf-structure-bg, #fff)
    );
    color: var(--my-conf-structure-text, #234f2b);
    background: var(
        --my-conf-day-marker-bg,
        var(--my-conf-structure-bg, #fff)
    );
    font-size: max(11px, .72em);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transform: translate(-50%, -50%);
}
.my_conf-structure-timeline-axis {
    position: relative;
    align-self: start;
    min-height: 100%;
    height: var(--my-conf-timeline-axis-height, 100%);
    color: var(--my-conf-structure-text);
}
.my_conf-structure-timeline-axis__line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 1px);
    width: 2px;
    background: var(--my-conf-structure-line);
}
.my_conf-structure-timeline-axis__line::after {
    position: absolute;
    bottom: -1px;
    left: -4px;
    border: 5px solid transparent;
    border-top-color: var(--my-conf-structure-line);
    content: "";
}
.my_conf-structure-timeline-axis time {
    position: absolute;
    z-index: 2;
    top: var(--my-conf-timeline-top);
    right: 4px;
    padding: 1px 2px;
    background: var(--my-conf-structure-bg);
    font-size: max(8px, .52em);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    transform: translateY(-50%);
}
.my_conf-structure-timeline-axis time.is-responsive { display: none; }
.my_conf-structure-block[href] { cursor: pointer; }
.my_conf-structure-block[href]:focus-visible { outline: 3px solid currentColor; outline-offset: -4px; }
.my_conf-structure-block__time { position: absolute; z-index: 3; left: clamp(2px, 3cqw, .42rem); font-size: var(--my-conf-structure-time-size, 11px); line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; }
.my_conf-structure-block__time--start { top: clamp(2px, 3cqh, .38rem); }
.my_conf-structure-block__time--end { bottom: clamp(2px, 3cqh, .38rem); }
.my_conf-structure-block__icon {
    position: absolute;
    z-index: 4;
    top: clamp(2px, 3cqh, .38rem);
    right: clamp(2px, 3cqw, .42rem);
    width: 1em;
    height: 1em;
    font-size: clamp(12px, 11cqw, 19px);
    line-height: 1;
}
.my_conf-structure-block__icon[data-icon-index="2"] { right: calc(clamp(2px, 3cqw, .42rem) + 1.15em); }
.my_conf-structure-block__icon[data-icon-index="3"] { right: calc(clamp(2px, 3cqw, .42rem) + 2.3em); }
.my_conf-structure--time-right .my_conf-structure-block__time { right: clamp(2px, 3cqw, .42rem); left: auto; text-align: right; }
.my_conf-structure--time-right .my_conf-structure-block__icon { right: auto; left: clamp(2px, 3cqw, .42rem); }
.my_conf-structure--time-right .my_conf-structure-block__icon[data-icon-index="2"] { left: calc(clamp(2px, 3cqw, .42rem) + 1.15em); }
.my_conf-structure--time-right .my_conf-structure-block__icon[data-icon-index="3"] { left: calc(clamp(2px, 3cqw, .42rem) + 2.3em); }
.my_conf-structure-block.is-overlap-start-side-1 .my_conf-structure-block__time--start,
.my_conf-structure-block.is-overlap-end-side-1 .my_conf-structure-block__time--end {
    left: calc(50% + clamp(2px, 3cqw, .42rem));
}
.my_conf-structure--time-right .my_conf-structure-block.is-overlap-start-side-0 .my_conf-structure-block__time--start,
.my_conf-structure--time-right .my_conf-structure-block.is-overlap-end-side-0 .my_conf-structure-block__time--end {
    right: calc(50% + clamp(2px, 3cqw, .42rem));
    left: auto;
}
.my_conf-structure:not(.my_conf-structure--time-right) .my_conf-structure-block.is-overlap-start-side-0 .my_conf-structure-block__icon {
    right: calc(50% + clamp(2px, 3cqw, .42rem));
}
.my_conf-structure:not(.my_conf-structure--time-right) .my_conf-structure-block.is-overlap-start-side-0 .my_conf-structure-block__icon[data-icon-index="2"] {
    right: calc(50% + clamp(2px, 3cqw, .42rem) + 1.15em);
}
.my_conf-structure:not(.my_conf-structure--time-right) .my_conf-structure-block.is-overlap-start-side-0 .my_conf-structure-block__icon[data-icon-index="3"] {
    right: calc(50% + clamp(2px, 3cqw, .42rem) + 2.3em);
}
.my_conf-structure--time-right .my_conf-structure-block.is-overlap-start-side-1 .my_conf-structure-block__icon {
    left: calc(50% + clamp(2px, 3cqw, .42rem));
}
.my_conf-structure--time-right .my_conf-structure-block.is-overlap-start-side-1 .my_conf-structure-block__icon[data-icon-index="2"] {
    left: calc(50% + clamp(2px, 3cqw, .42rem) + 1.15em);
}
.my_conf-structure--time-right .my_conf-structure-block.is-overlap-start-side-1 .my_conf-structure-block__icon[data-icon-index="3"] {
    left: calc(50% + clamp(2px, 3cqw, .42rem) + 2.3em);
}
.my_conf-structure-block > div {
    position: absolute;
    top: var(--my-conf-content-top, 0%);
    left: var(--my-conf-content-left, 0%);
    display: flex;
    min-width: 0;
    width: var(--my-conf-content-width, 100%);
    height: var(--my-conf-content-height, 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(0px, 2cqh, .35rem);
    padding: clamp(0px, min(5cqh, 2cqw), .4rem);
    text-align: center;
    container-type: size;
}
.my_conf-structure-block > div.is-position-top,
.my_conf-structure-block > div.is-position-bottom { justify-content: center; }
.my_conf-structure-block strong {
    max-width: 100%;
    font: inherit;
    font-size: var(--my-conf-structure-title-size, 16px);
    font-weight: 500;
    line-height: 1.08;
    overflow-wrap: anywhere;
}
.my_conf-structure-block small, .my_conf-structure-block em {
    max-width: 100%;
    font-size: var(--my-conf-structure-details-size, 12px);
    line-height: 1.05;
    overflow-wrap: anywhere;
}
.my_conf-structure-block em { align-self: flex-end; }
.my_conf-structure-time-break {
    position: absolute;
    z-index: 8;
    top: var(--my-conf-break-top-desktop, -1000%);
    right: 0;
    left: 0;
    display: block;
    height: 9px;
    color: currentColor;
    transform: translateY(-50%);
    pointer-events: none;
}
.my_conf-structure-time-break::before,
.my_conf-structure-time-break::after {
    position: absolute;
    right: 0;
    left: 0;
    height: 5px;
    background:
        linear-gradient(
            135deg,
            transparent 0 39%,
            currentColor 40% 53%,
            transparent 54% 100%
        ) 0 0 / 12px 5px repeat-x;
    content: "";
}
.my_conf-structure-time-break::before { top: 0; }
.my_conf-structure-time-break::after {
    bottom: 0;
    background-position: 6px 0;
}
.my_conf-structure-time-break--grid {
    z-index: 1004;
    right: auto;
    left: var(--my-conf-break-left, 0%);
    width: var(--my-conf-break-width, 100%);
    color: var(--my-conf-structure-line);
}
.my_conf-structure-time-break--grid.is-break-before {
    transform: translateY(calc(-100% - 2px));
}
.my_conf-structure-time-break--grid.is-break-after {
    transform: translateY(2px);
}
.my_conf-structure-time-break--grid::before,
.my_conf-structure-time-break--grid::after {
    filter: drop-shadow(0 0 1px var(--my-conf-structure-bg));
}
.my_conf-structure-time-break.has-responsive-break:not(.has-desktop-break) {
    display: none;
}
.my_conf-structure-block--compact { opacity: .94; }
.my_conf-structure-block--service { opacity: .86; }
.my_conf-structure--times-hidden .my_conf-structure-block__time { display: none; }
.my_conf-structure--times-hidden .my_conf-structure-block > div { padding-block: .45rem; }
.my_conf-structure__legend {
    display: grid;
    gap: .55rem;
    margin-top: 1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--my-conf-structure-line);
}
.my_conf-structure__legend h2 {
    margin: 0;
    color: inherit;
    font: inherit;
    font-size: .82em;
    font-weight: 700;
}
.my_conf-structure__legend ul {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.my_conf-structure__legend li {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    min-width: 0;
    font-size: .78em;
}
.my_conf-structure__legend li i {
    flex: 0 0 18px;
    width: 18px;
    height: 9px;
    background: var(--my-conf-legend-colour, #64748b);
}
.my_conf-structure__downloads { display: flex; justify-content: flex-end; align-items: end; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.my_conf-structure__downloads label { display: grid; gap: .25rem; font-size: .72em; }
.my_conf-structure__downloads select, .my_conf-structure__download { min-height: 38px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; padding: .45rem .75rem; text-decoration: none; }
.my_conf-structure__version { margin-top: .75rem; text-align: right; font-size: .72em; }
.my_conf-structure-responsive-group { display: none; min-width: 0; }
.my_conf-structure-responsive-group > .my_conf-structure-day {
    width: 100%;
    max-width: none;
}
@container (max-width: 150px) {
    .my_conf-structure-block > div { gap: 0; padding: 1px; }
    .my_conf-structure-block strong { line-height: 1.02; overflow-wrap: anywhere; }
    .my_conf-structure-block small { display: block; line-height: 1.02; overflow-wrap: anywhere; }
}
@container (max-width: 95px) {
    .my_conf-structure-block > div { padding: 0 1px; }
    .my_conf-structure-block strong { line-height: 1; }
    .my_conf-structure-block small, .my_conf-structure-block em { display: block; line-height: 1; }
    .my_conf-structure-block__time { left: 1px; font-size: .5em; }
}
@media (min-width: 1200px) {
    .my_conf-structure-sun-axis.is-sunrise-hidden-desktop { --my-conf-sunrise-row: 0px; }
    .my_conf-structure-sun-axis.is-sunset-hidden-desktop { --my-conf-sunset-row: 0px; }
    .my_conf-structure-sun-axis.is-sunrise-hidden-desktop .my_conf-structure-sun-axis__sunrise,
    .my_conf-structure-sun-axis.is-sunset-hidden-desktop .my_conf-structure-sun-axis__sunset {
        display: none;
    }
    .my_conf-structure-day.has-desktop-sun-axis .my_conf-structure-sun-axis {
        align-self: start;
        height: var(--my-conf-sun-axis-height, 100%);
    }
    .my_conf-structure-day:not(.has-desktop-sun-axis) .my_conf-structure-day__body {
        grid-template-columns: 0 minmax(0, 1fr);
    }
    .my_conf-structure-day:not(.has-desktop-sun-axis) .my_conf-structure-sun-axis {
        visibility: hidden;
        width: 0;
        padding: 0;
        overflow: hidden;
    }
    .my_conf-structure-day:not(.has-desktop-sun-axis) .my_conf-structure-timeline-axis {
        visibility: hidden;
        width: 0;
        overflow: hidden;
    }
}
@media (max-width: 1199.98px) {
    .my_conf-structure-time-break {
        top: var(--my-conf-break-top-responsive, -1000%);
    }
    .my_conf-structure-time-break.has-desktop-break:not(.has-responsive-break) {
        display: none;
    }
    .my_conf-structure-time-break.has-responsive-break {
        display: block;
    }
    .my_conf-structure-sun-axis.is-sunrise-hidden-responsive { --my-conf-sunrise-row: 0px; }
    .my_conf-structure-sun-axis.is-sunset-hidden-responsive { --my-conf-sunset-row: 0px; }
    .my_conf-structure-sun-axis.is-sunrise-hidden-responsive .my_conf-structure-sun-axis__sunrise,
    .my_conf-structure-sun-axis.is-sunset-hidden-responsive .my_conf-structure-sun-axis__sunset {
        display: none;
    }
    .my_conf-structure__days { display: block; }
    .my_conf-structure-day {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(140px, 210px) minmax(0, 1fr);
        align-items: start;
        gap: 1rem;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px dashed var(--my-conf-structure-line);
    }
    .my_conf-structure-day:last-child { border-bottom: 0; }
    .my_conf-structure-day h2 { margin: .25rem 0 0; text-align: left; }
    .my_conf-structure-day__body, .my_conf-structure-day__grid { min-height: 480px; height: var(--my-conf-day-height-responsive, var(--my-conf-day-height, 620px)); }
    .my_conf-structure-block {
        top: var(--my-conf-block-top-responsive, var(--my-conf-block-top));
        height: var(--my-conf-block-height-responsive, var(--my-conf-block-height));
    }
    .my_conf-structure-block.is-overlap-pair {
        clip-path: var(
            --my-conf-overlap-clip-responsive,
            var(--my-conf-overlap-clip-desktop, none)
        );
    }
    .my_conf-structure--desktop-grid .my_conf-structure-day__grid::after,
.my_conf-structure--desktop-grid .my_conf-structure-lane-grid-line {
        display: none;
    }
    .my_conf-structure-block-connection {
        top: var(--my-conf-connection-top-responsive);
    }
    .my_conf-structure-timeline-axis {
        visibility: visible;
        width: auto;
        height: 100%;
        overflow: visible;
    }
    .my_conf-structure-timeline-axis time.is-desktop { display: none; }
    .my_conf-structure-timeline-axis time.is-responsive { display: block; }
    .my_conf-structure__days > .my_conf-structure-day.is-tablet-group-source { display: none; }
    .my_conf-structure__days > .my_conf-structure-responsive-group.is-responsive-group--tablet { display: block; margin-bottom: 2rem; }
    .my_conf-structure-responsive-group > .my_conf-structure-day { margin-bottom: 0; }
    .my_conf-structure-day .my_conf-structure-sun-axis { visibility: visible; width: auto; height: 100%; overflow: visible; }
}
@media (max-width: 782px) {
    .my_conf-structure__days { display: block; }
    .my_conf-structure-day { display: block; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px dashed var(--my-conf-structure-line); }
    .my_conf-structure-day:last-child { border-bottom: 0; }
    .my_conf-structure-day h2 { margin: 0 0 .75rem; text-align: center; }
    .my_conf-structure__days > .my_conf-structure-day.is-tablet-group-source { display: block; }
    .my_conf-structure__days > .my_conf-structure-responsive-group.is-responsive-group--tablet,
.my_conf-structure__days > .my_conf-structure-day.is-mobile-group-source { display: none; }
    .my_conf-structure__days > .my_conf-structure-responsive-group.is-responsive-group--mobile { display: block; margin-bottom: 2rem; }
    .my_conf-structure-day__body { grid-template-columns: 38px minmax(0, 1fr); min-height: 440px; }
    .my_conf-structure-day__grid { min-height: 440px; height: var(--my-conf-day-height-responsive, var(--my-conf-day-height, 620px)); }
    .my_conf-structure-day .my_conf-structure-sun-axis { visibility: visible; width: auto; height: 100%; overflow: visible; }
    .my_conf-structure__legend ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* === Structure builder === */
[data-structure-admin],
[data-structure-admin] *,
[data-structure-editor-overlay],
[data-structure-editor-overlay] * {
    box-sizing: border-box;
}

.my_conf-structure-overview > .my_conf-config-card__body {
    padding: 14px;
}

.my_conf-structure-overview-toolbar {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
}

.my_conf-structure-overview-toolbar .my_conf-config-search {
    width: min(420px, 100%);
    background: #fff;
}

.my_conf-structure-table {
    overflow-x: visible;
    overflow-y: visible;
}

.my_conf-structure-table table {
    min-width: 880px;
}

.my_conf-structure-table [data-table-cell-role="fit"] {
    width: 1%;
    white-space: nowrap;
}

.my_conf-structure-table [data-table-cell-role="actions"] {
    width: 112px;
    white-space: nowrap;
}

.my_conf-structure-table .my_conf-table-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: var(--my-conf-accent-dark, #0b6570);
    text-decoration: none;
}

.my_conf-structure-table .my_conf-table-link small {
    color: var(--my-conf-muted, #687681);
    font-size: 10px;
    font-weight: 400;
}

.my_conf-structure-shortcode {
    width: min(100%, 330px);
    border: 1px solid var(--my-conf-border, #cbd3d9);
    background: #fff;
}

.my_conf-structure-shortcode code {
    padding: 5px 8px;
    color: #33414c;
    background: #f6f8f9;
    font-size: 10px;
    line-height: 1.3;
}

.my_conf-structure-row-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.my_conf-structure-editor-window {
    background: #f0f2f4;
}

.my_conf-structure-editor-window > form {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.my_conf-structure-editor-header {
    position: relative;
    z-index: 30;
    display: flex;
    flex: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
    min-height: 62px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--my-conf-border, #cbd3d9);
    background: #fff;
}

.my_conf-structure-editor-header > div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.my_conf-structure-editor-header > div:first-child > .dashicons {
    width: 26px;
    height: 26px;
    color: var(--my-conf-accent, #168c97);
    font-size: 26px;
}

.my_conf-structure-editor-header .my_conf-template-editor-window__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.my_conf-structure-editor-header strong,
.my_conf-structure-editor-header small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my_conf-structure-editor-locale {
    display: grid;
    grid-template-columns: auto minmax(190px, 280px);
    align-items: center;
    gap: 7px;
}

.my_conf-structure-editor-locale > span {
    color: #52606b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.my_conf-structure-editor-locale select {
    width: 100%;
    min-height: 36px;
}

.my_conf-structure-editor-locale .my_conf-select2 {
    width: 100%;
    min-width: 190px;
    max-width: 280px;
}

.my_conf-structure-editor-locale .my_conf-select2__selection {
    min-height: 36px;
}

.my_conf-structure-editor-body {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
    overflow: hidden;
    background: #e9eef2;
}

.my_conf-structure-meta {
    margin: 0;
}

.my_conf-structure-meta > .my_conf-config-card__body {
    padding: 8px 10px;
}


.my_conf-structure-meta-grid > .my_conf-field:first-child {
    grid-column: 1 / -1;
}

.my_conf-structure-meta-half {
    grid-column: auto;
}

.my_conf-structure-meta .my_conf-field {
    margin: 0;
}

.my_conf-structure-meta :where(input, select) {
    min-height: 36px;
}

.my_conf-structure-meta .my_conf-structure-shortcode {
    width: 100%;
}

.my_conf-structure-builder {
    display: grid;
    grid-template-columns: minmax(220px, 265px) minmax(320px, 1fr) minmax(240px, 290px);
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #aeb8c0;
    background: #fff;
}

.my_conf-structure-library,
.my_conf-structure-inspector {
    min-width: 0;
    min-height: 0;
    overflow: auto;
    background: #f7f9fa;
    scrollbar-gutter: stable;
}

.my_conf-structure-inspector {
    padding: 10px;
    border-left: 1px solid #aeb8c0;
}

.my_conf-structure-library > .my_conf-structure-panel-heading {
    position: sticky;
    z-index: 5;
    top: -9px;
    margin: -9px -9px 9px;
    padding: 9px;
    border-bottom: 1px solid #cbd3d9;
    background: #fff;
}

.my_conf-structure-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 9px;
}

.my_conf-structure-panel-heading h2,
.my_conf-structure-panel-heading p,
.my_conf-structure-inspector > h2 {
    margin: 0;
}

.my_conf-structure-panel-heading h2,
.my_conf-structure-inspector > h2 {
    color: #2d3b46;
    font-size: 14px;
}

.my_conf-structure-panel-heading p {
    margin-top: 2px;
    color: #687681;
    font-size: 10px;
    line-height: 1.35;
}

.my_conf-structure-block-group {
    margin: 0 0 10px;
}

.my_conf-structure-block-group > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 26px;
    padding: 3px 6px;
    color: #596671;
    border-bottom: 2px solid var(--my-conf-group-colour, #64748b);
    font-size: 9px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.my_conf-structure-block-group > header span {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    color: #36525a;
    background: #e8f3f4;
}

.my_conf-structure-block-card {
    display: grid;
    grid-template-columns: 7px minmax(0, 1fr) auto 62px;
    align-items: stretch;
    gap: 8px;
    min-height: 52px;
    margin-top: 6px;
    padding: 6px;
    border: 1px solid #c5ced5;
    background: #fff;
    cursor: grab;
    box-shadow: 0 1px 2px rgba(16, 31, 42, .05);
}

.my_conf-structure-block-card:active {
    cursor: grabbing;
}

.my_conf-structure-block-card:hover {
    border-color: var(--my-conf-accent, #168c97);
    box-shadow: inset 3px 0 0 var(--my-conf-accent, #168c97);
}

.my_conf-structure-block-card.is-selected {
    border-color: var(--my-conf-accent-dark, #0b6570);
    box-shadow: inset 4px 0 0 var(--my-conf-accent, #168c97);
}

.my_conf-structure-block-card > i {
    width: 7px;
    background: var(--block-colour, #356c3c);
}

.my_conf-structure-block-card > div {
    align-self: center;
    min-width: 0;
}

.my_conf-structure-block-card strong,
.my_conf-structure-block-card small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my_conf-structure-block-card strong {
    color: #2f3c47;
    font-size: 11px;
}

.my_conf-structure-block-card small {
    margin-top: 2px;
    color: #71808b;
    font-size: 9px;
}

.my_conf-structure-block-card__actions {
    grid-column: 4;
    display: flex;
    align-self: center;
    gap: 2px;
}

.my_conf-structure-block-card__icons {
    grid-column: 3;
    display: inline-flex;
    align-self: center;
    gap: 2px;
}

.my_conf-structure-block-card__icon {
    width: 16px;
    height: 16px;
    color: #526873;
    font-size: 16px;
}

.my_conf-structure-panel-empty,
.my_conf-structure-grid-empty {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 7px;
    min-height: 180px;
    padding: 20px;
    color: #687681;
    border: 1px dashed #aeb8c0;
    background: #fbfcfc;
    text-align: center;
}

.my_conf-structure-panel-empty .dashicons,
.my_conf-structure-grid-empty .dashicons {
    width: 32px;
    height: 32px;
    color: #789099;
    font-size: 30px;
}

.my_conf-structure-panel-empty p,
.my_conf-structure-grid-empty p {
    margin: 0;
}

.my_conf-structure-canvas {
    position: relative;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #e9eef2;
    container-type: inline-size;
    container-name: structure-canvas;
}

.my_conf-structure-device-bar {
    position: relative;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
    min-height: 42px;
    padding: 4px 6px;
    border-bottom: 1px solid #aeb8c0;
    background: #fff;
}

.my_conf-structure-device-bar > span {
    margin-right: auto;
    color: #64727d;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.my_conf-structure-device-bar .my_conf-structure-view-switch {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    margin-left: 0;
}

.my_conf-structure-toolbar {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 48px;
    padding: 6px;
    border-bottom: 1px solid #aeb8c0;
    background: #fff;
}

.my_conf-structure-view-switch {
    display: flex;
    flex: 0 0 auto;
    align-items: stretch;
    width: auto;
    margin-left: auto;
}

.my_conf-structure-zoom {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.my_conf-structure-zoom > label {
    display: grid;
    grid-template-columns: 16px minmax(72px, 110px) 38px;
    align-items: center;
    gap: 4px;
    min-height: 34px;
    padding: 3px 6px;
    border: 1px solid #aeb8c0;
    background: #fff;
}

.my_conf-structure-zoom input[type="range"] {
    width: 100%;
    min-width: 72px;
    margin: 0;
}

.my_conf-structure-zoom output {
    color: #52606b;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.my_conf-structure-view-switch button {
    display: inline-flex;
    flex: 0 0 var(--my-conf-button-icon-size, 36px);
    align-items: center;
    justify-content: center;
    width: var(--my-conf-button-icon-size, 36px);
    min-width: var(--my-conf-button-icon-size, 36px);
    max-width: var(--my-conf-button-icon-size, 36px);
    height: var(--my-conf-button-icon-size, 36px);
    min-height: var(--my-conf-button-icon-size, 36px);
    margin: 0;
    padding: 0;
    border: 1px solid #aeb8c0;
    border-left: 0;
    color: #40505c;
    background: #fff;
    cursor: pointer;
}

.my_conf-structure-view-switch button:first-child {
    border-left: 1px solid #aeb8c0;
}

.my_conf-structure-view-switch button.is-active {
    color: #fff;
    border-color: var(--my-conf-accent-dark, #0b6570);
    background: var(--my-conf-accent-dark, #0b6570);
}

.my_conf-structure-view-switch .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.my_conf-structure-day-tabs {
    display: flex;
    min-width: 0;
    overflow-x: auto;
    border-bottom: 1px solid #aeb8c0;
    background: #f7f9fa;
    scrollbar-width: thin;
}

.my_conf-structure-day-tab.is-dragging {
    opacity: .45;
}

.my_conf-structure-day-tab[data-drop-zone="before"]::before,
.my_conf-structure-day-tab[data-drop-zone="after"]::after {
    position: absolute;
    z-index: 12;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--my-conf-accent, #168c97);
    content: "";
}

.my_conf-structure-day-tab[data-drop-zone="before"]::before {
    left: -2px;
}

.my_conf-structure-day-tab[data-drop-zone="after"]::after {
    right: -2px;
}

.my_conf-structure-day-tab[data-drop-zone="replace"] {
    outline: 3px solid var(--my-conf-accent-dark, #0b6570);
    outline-offset: -3px;
    background: color-mix(in srgb, var(--my-conf-accent, #168c97) 14%, #fff);
}

.my_conf-structure-day-tab > [data-day] small,
.my_conf-structure-day-tab > [data-day] strong {
    display: block;
}

.my_conf-structure-day-tab > [data-day] small {
    color: #7a8791;
    font-size: var(--editor-time-size, 11px);
    letter-spacing: .05em;
    text-transform: uppercase;
}

.my_conf-structure-day-tab > [data-day] strong {
    margin-top: 1px;
    font-size: 11px;
}

.my_conf-structure-day-tab.is-active {
    color: #0b6570;
    background: #fff;
    box-shadow: inset 0 -3px var(--my-conf-accent, #168c97);
}

.my_conf-structure-day-connections {
    position: absolute;
    top: 4px;
    right: 25px;
    display: flex;
    gap: 2px;
}

.my_conf-structure-day-connection,
.my_conf-structure-day-remove {
    display: grid;
    place-items: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    min-height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.my_conf-structure-day-connection {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    min-width: 0;
    height: 19px;
    min-height: 19px;
    justify-content: flex-start;
    gap: 3px;
    padding: 0 4px;
    border: 1px solid currentColor;
    color: var(--connection-colour, #168c97);
    background: #fff;
    line-height: 17px;
}

.my_conf-structure-day-connection .dashicons {
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    font-size: 12px;
}

.my_conf-structure-day-remove {
    position: absolute;
    top: 4px;
    right: 3px;
    color: #9b2c2e;
    font-size: 18px;
    line-height: 1;
}

.my_conf-structure-day-connection:hover,
.my_conf-structure-day-remove:hover {
    background: #e7ecef;
}

.my_conf-structure-grid-wrap {
    min-width: 0;
    min-height: 0;
    padding: 20px 26px 36px 80px;
    overflow: auto;
    scrollbar-gutter: auto;
}

.my_conf-structure-preview-mobile .my_conf-structure-grid-wrap::-webkit-scrollbar {
    width: 0;
    height: 8px;
}

.my_conf-structure-grid-stage {
    position: relative;
    width: var(--stage-width);
    min-width: var(--stage-width);
    height: var(--stage-height);
    min-height: var(--stage-height);
    margin-inline: auto;
}

.my_conf-structure-grid {
    position: relative;
    display: grid;
    grid-template-columns: var(--lane-template, minmax(0, 1fr));
    width: var(--canvas-width, 520px);
    min-width: 320px;
    height: var(--grid-height, 720px);
    transform: scale(var(--canvas-scale, 1));
    transform-origin: 0 0;
    border: 1px solid #aeb8c0;
    background-color: #fff;
    background-image: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--grid-row, 24px) - 1px), #e1e6ea calc(var(--grid-row, 24px) - 1px), #e1e6ea var(--grid-row, 24px));
    background-size: 100% var(--grid-row, 24px);
    box-shadow: 0 2px 8px rgba(16, 31, 42, .08);
}

.my_conf-structure-grid-time {
    position: absolute;
    right: calc(100% + 9px);
    width: 58px;
    transform: translateY(-50%);
    color: #596671;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.my_conf-structure-time-right .my_conf-structure-grid-time {
    right: auto;
    left: calc(100% + 9px);
    text-align: left;
}

.my_conf-structure-grid-item {
    position: absolute;
    z-index: calc(2 + var(--item-layer, 0));
    right: auto;
    left: 0;
    grid-column: var(--lane-start, 1) / span var(--width, 1);
    top: var(--top);
    width: 100%;
    height: var(--height);
    min-height: 24px;
    padding: 0;
    overflow: hidden;
    border: 2px solid #fff;
    color: var(--item-text, #fff);
    background: var(--item-bg, #356c3c);
    cursor: move;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
    container-type: size;
}

.my_conf-structure-grid-item:hover {
    filter: brightness(1.04);
}

.my_conf-structure-grid-item.is-selected {
    z-index: 1002;
    outline: 3px solid var(--my-conf-accent, #168c97);
    outline-offset: 1px;
}

.my_conf-structure-selection-marquee {
    position: absolute;
    z-index: 2000;
    border: 1px solid var(--my-conf-accent-dark, #0b6570);
    background: rgb(22 140 151 / 16%);
    pointer-events: none;
}

.my_conf-structure-grid-item--compact {
    opacity: .94;
}

.my_conf-structure-grid-item--service {
    opacity: .86;
}

.my_conf-structure-grid-item__time {
    position: absolute;
    z-index: 3;
    left: clamp(2px, 3cqw, 7px);
    font-size: 8px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    pointer-events: none;
}

.my_conf-structure-grid-item__time--start {
    top: clamp(2px, 3cqh, 6px);
}

.my_conf-structure-grid-item__time--end {
    bottom: clamp(2px, 3cqh, 6px);
}

.my_conf-structure-grid-item__content {
    position: absolute;
    top: var(--content-top, 0%);
    left: var(--content-left, 0%);
    display: flex;
    width: var(--content-width, 100%);
    height: var(--content-height, 100%);
    min-height: 0;
    flex-direction: column;
    justify-content: center;
    gap: clamp(0px, 2cqh, 2px);
    padding: clamp(0px, min(5cqh, 2cqw), 6px);
    container-type: size;
    pointer-events: none;
}

.my_conf-structure-grid-item__icon {
    position: absolute;
    z-index: 4;
    top: clamp(2px, 3cqh, 6px);
    right: clamp(2px, 3cqw, 7px);
    width: 16px;
    height: 16px;
    font-size: clamp(12px, 10cqw, 18px);
    line-height: 1;
}

.my_conf-structure-grid-item__icon--2 {
    right: calc(clamp(2px, 3cqw, 7px) + 18px);
}

.my_conf-structure-grid-item__icon--3 {
    right: calc(clamp(2px, 3cqw, 7px) + 36px);
}

.my_conf-structure-time-right .my_conf-structure-grid-item__time {
    right: clamp(2px, 3cqw, 7px);
    left: auto;
    text-align: right;
}

.my_conf-structure-time-right .my_conf-structure-grid-item__icon {
    right: auto;
    left: clamp(2px, 3cqw, 7px);
}

.my_conf-structure-time-right .my_conf-structure-grid-item__icon--2 {
    left: calc(clamp(2px, 3cqw, 7px) + 18px);
}

.my_conf-structure-time-right .my_conf-structure-grid-item__icon--3 {
    left: calc(clamp(2px, 3cqw, 7px) + 36px);
}

.my_conf-structure-grid-item.is-overlap-start-side-1 .my_conf-structure-grid-item__time--start,
.my_conf-structure-grid-item.is-overlap-end-side-1 .my_conf-structure-grid-item__time--end {
    left: calc(50% + clamp(2px, 3cqw, 7px));
}

.my_conf-structure-time-right .my_conf-structure-grid-item.is-overlap-start-side-0 .my_conf-structure-grid-item__time--start,
.my_conf-structure-time-right .my_conf-structure-grid-item.is-overlap-end-side-0 .my_conf-structure-grid-item__time--end {
    right: calc(50% + clamp(2px, 3cqw, 7px));
    left: auto;
}

.my_conf-structure-builder:not(.my_conf-structure-time-right) .my_conf-structure-grid-item.is-overlap-start-side-0 .my_conf-structure-grid-item__icon {
    right: calc(50% + clamp(2px, 3cqw, 7px));
}

.my_conf-structure-builder:not(.my_conf-structure-time-right) .my_conf-structure-grid-item.is-overlap-start-side-0 .my_conf-structure-grid-item__icon--2 {
    right: calc(50% + clamp(2px, 3cqw, 7px) + 18px);
}

.my_conf-structure-builder:not(.my_conf-structure-time-right) .my_conf-structure-grid-item.is-overlap-start-side-0 .my_conf-structure-grid-item__icon--3 {
    right: calc(50% + clamp(2px, 3cqw, 7px) + 36px);
}

.my_conf-structure-time-right .my_conf-structure-grid-item.is-overlap-start-side-1 .my_conf-structure-grid-item__icon {
    left: calc(50% + clamp(2px, 3cqw, 7px));
}

.my_conf-structure-time-right .my_conf-structure-grid-item.is-overlap-start-side-1 .my_conf-structure-grid-item__icon--2 {
    left: calc(50% + clamp(2px, 3cqw, 7px) + 18px);
}

.my_conf-structure-time-right .my_conf-structure-grid-item.is-overlap-start-side-1 .my_conf-structure-grid-item__icon--3 {
    left: calc(50% + clamp(2px, 3cqw, 7px) + 36px);
}

.my_conf-structure-icon-slots {
    display: grid;
    gap: 6px;
}

.my_conf-structure-icon-slot {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 5px;
    border: 1px solid #d5dce1;
    background: #fff;
}

.my_conf-structure-icon-slot > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.my_conf-structure-icon-slot > header strong {
    color: #52606b;
    font-size: 9px;
    text-transform: uppercase;
}

.my_conf-structure-icon-slots > [data-add-block-icon] {
    width: 100%;
    justify-content: center;
}

.my_conf-structure-grid-item__content strong,
.my_conf-structure-grid-item__content small {
    display: block;
    overflow-wrap: anywhere;
}

@container (max-width: 145px) {
    .my_conf-structure-grid-item__content {
        gap: 0;
        padding: 1px;
    }
    .my_conf-structure-grid-item__content strong {
        line-height: 1.02;
        overflow-wrap: anywhere;
    }
    .my_conf-structure-grid-item__content small {
        display: block;
        line-height: 1;
    }
}

.my_conf-structure-grid-item__content strong {
    font-size: clamp(6px, min(var(--editor-title-size, 16px), 24cqh, 14cqw), var(--editor-title-size, 16px));
    line-height: clamp(1, 1.08, 1.12);
    text-align: center;
}

.my_conf-structure-grid-item__content strong[data-inline-block-title] {
    position: relative;
    z-index: 8;
    display: inline-block;
    align-self: center;
    width: fit-content;
    min-width: 12px;
    max-width: 100%;
    box-sizing: border-box;
    cursor: text;
    user-select: text;
    pointer-events: auto;
}

.my_conf-structure-grid-item__content strong[data-inline-block-title][contenteditable="true"] {
    padding: 1px 3px;
    color: #18232c;
    outline: 2px solid #f8b400;
    background: #fff;
}

.my_conf-structure-grid-item__content small {
    margin-top: 0;
    font-size: clamp(5px, min(var(--editor-details-size, 12px), 18cqh, 10cqw), var(--editor-details-size, 12px));
    line-height: 1.05;
    text-align: center;
}

.my_conf-structure-grid-item__warning {
    position: absolute;
    z-index: 18;
    right: 2px;
    bottom: 2px;
    width: 15px;
    height: 15px;
    color: #f8b400;
    font-size: 15px;
    filter: drop-shadow(0 1px 1px rgb(0 0 0 / 45%));
}

.my_conf-structure-resize-handle {
    position: absolute;
    z-index: 20;
    display: block;
    background: rgba(255, 255, 255, .9);
    opacity: 0;
    transition: opacity .12s ease;
    touch-action: none;
}

.my_conf-structure-grid-item:hover .my_conf-structure-resize-handle,
.my_conf-structure-grid-item.is-selected .my_conf-structure-resize-handle {
    opacity: 1;
}

.my_conf-structure-resize-handle--left,
.my_conf-structure-resize-handle--right {
    top: 22%;
    width: 7px;
    height: 56%;
    cursor: ew-resize;
}

.my_conf-structure-resize-handle--left {
    left: 0;
}

.my_conf-structure-resize-handle--right {
    right: 0;
}

.my_conf-structure-resize-handle--top,
.my_conf-structure-resize-handle--bottom {
    left: 22%;
    width: 56%;
    height: 7px;
    cursor: ns-resize;
}

.my_conf-structure-resize-handle--top {
    top: 0;
}

.my_conf-structure-resize-handle--bottom {
    bottom: 0;
}

.my_conf-structure-lane-resize {
    position: absolute;
    z-index: 18;
    top: 0;
    bottom: 0;
    width: 10px;
    margin: 0 0 0 -5px;
    padding: 0;
    border: 0;
    border-left: 1px solid rgb(98 119 132 / 38%);
    background: transparent;
    cursor: col-resize;
    touch-action: none;
}

.my_conf-structure-lane-resize:hover,
.my_conf-structure-lane-resize:focus-visible {
    border-left: 3px solid var(--my-conf-accent, #168c97);
}

.my_conf-structure-lane-resize > span {
    position: absolute;
    top: 8px;
    left: -5px;
    width: 9px;
    height: 28px;
    border: 1px solid #8f9da7;
    background: #fff;
}

.my_conf-structure-inspector > h2 {
    position: sticky;
    z-index: 5;
    top: -10px;
    margin: -10px -10px 10px;
    padding: 12px 10px;
    border-bottom: 1px solid #cbd3d9;
    background: #fff;
}

.my_conf-structure-inspector-heading {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 8px;
    border-left: 3px solid var(--my-conf-accent, #168c97);
    background: #edf7f8;
}

.my_conf-structure-inspector-heading > .dashicons {
    color: var(--my-conf-accent-dark, #0b6570);
}

.my_conf-structure-inspector-heading small,
.my_conf-structure-inspector-heading h3 {
    display: block;
    margin: 0;
}

.my_conf-structure-inspector-heading small {
    color: #65747f;
    font-size: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.my_conf-structure-inspector-heading h3 {
    overflow: hidden;
    color: #2f3c47;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my_conf-structure-field {
    display: grid;
    gap: 4px;
    min-width: 0;
    margin: 0 0 9px;
}

.my_conf-structure-field > span:first-child {
    color: #42505c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.my_conf-structure-field :where(input:not([type="checkbox"]), select, textarea) {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    margin: 0;
}

.my_conf-structure-field textarea {
    min-height: 72px;
    resize: vertical;
}

.my_conf-structure-cut-summary {
    display: block;
    margin-top: 3px;
    padding: 5px 6px;
    border-left: 3px solid var(--my-conf-accent, #168c97);
    color: #34434f;
    background: #edf7f8;
    line-height: 1.35;
}

.my_conf-structure-character-count {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
    margin-top: -2px;
    color: #687681;
    font-size: 8px;
    line-height: 1.25;
    text-align: right;
}

.my_conf-structure-field--limited.is-over-recommended .my_conf-structure-character-count {
    color: #9a6700;
    font-weight: 700;
}

.my_conf-structure-field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.my_conf-structure-lane-widths > p {
    margin: -3px 0 8px;
    color: #687681;
    font-size: 9px;
    line-height: 1.35;
}

.my_conf-structure-lane-width-row {
    display: grid;
    grid-template-columns: 58px minmax(60px, 1fr) 62px;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;
}

.my_conf-structure-lane-width-row > strong {
    color: #52606b;
    font-size: 9px;
}

.my_conf-structure-lane-width-row :where(input, select) {
    width: 100%;
    min-width: 0;
    min-height: 32px;
}

.my_conf-structure-custom-size[hidden] {
    display: none;
}

.my_conf-structure-inspector-section {
    margin: 12px -10px 0;
    padding: 12px 10px 3px;
    border-top: 1px solid #cbd3d9;
    background: #fff;
}

.my_conf-structure-inspector-section > h3 {
    margin: 0 0 9px;
    color: #33414c;
    font-size: 11px;
}

.my_conf-structure-block-connection-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 7px;
}

.my_conf-structure-block-connection-controls > :where(h3, p) {
    grid-column: 1 / -1;
}

.my_conf-structure-block-connection-controls [data-toggle-block-connection] {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
}

.my_conf-structure-day-settings [data-remove-day],
.my_conf-structure-inspector-action--wide {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
}

.my_conf-structure-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
}

.my_conf-structure-check-grid .my_conf-check,
.my_conf-structure-field > .my_conf-check {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    margin: 0;
    padding: 4px 6px;
    border: 1px solid #d5dce1;
    background: #fff;
    font-size: 10px;
}

.my_conf-structure-editor-footer {
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 8px 12px;
    border-top: 1px solid #aeb8c0;
    background: #fff;
}

.my_conf-structure-editor-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #65737e;
    font-size: 10px;
    justify-self: center;
    text-align: center;
}

.my_conf-structure-editor-footer__cancel,
.my_conf-structure-editor-footer__actions {
    display: flex;
    align-items: center;
    gap: 7px;
}

.my_conf-structure-editor-footer__actions {
    justify-content: flex-end;
}

[data-dialog-feature="structure"] .my_conf-dialog__body,
.my_conf-structure-template-list {
    min-height: 0;
    padding: 12px;
    overflow: auto;
}

.my_conf-structure-template-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.my_conf-structure-template-list article {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 92px;
    padding: 10px 10px 10px 42px;
    border: 1px solid #c5ced5;
    background: #fff;
}

.my_conf-structure-template-number {
    position: absolute;
    inset: 0 auto 0 0;
    display: grid;
    place-items: center;
    width: 32px;
    color: #fff;
    background: #526873;
    font-size: 10px;
    font-weight: 800;
    writing-mode: vertical-rl;
}

.my_conf-structure-template-list article > .dashicons {
    width: 30px;
    height: 30px;
    color: var(--my-conf-accent-dark, #0b6570);
    font-size: 28px;
}

.my_conf-structure-template-list article strong,
.my_conf-structure-template-list article p {
    display: block;
    margin: 0;
}

.my_conf-structure-template-list article strong {
    color: #2f3c47;
    font-size: 12px;
}

.my_conf-structure-template-list article p {
    margin-top: 3px;
    color: #6a7781;
    font-size: 9px;
    line-height: 1.35;
}

.my_conf-structure-group-existing {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.my_conf-structure-group-existing button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 4px 8px;
    border: 1px solid #c5ced5;
    background: #fff;
    cursor: pointer;
}

.my_conf-structure-group-existing button.is-active {
    border-color: var(--connection-colour, #168c97);
    box-shadow: inset 0 -2px var(--connection-colour, #168c97);
}

.my_conf-structure-group-existing button i {
    width: 9px;
    height: 9px;
    background: var(--connection-colour, #168c97);
}

.my_conf-structure-group-existing button small {
    color: #687681;
}

.my_conf-structure-linked-days-tag {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    color: inherit;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my_conf-structure-group-existing .my_conf-structure-linked-days-tag {
    padding: 2px 5px;
    border: 1px solid var(--connection-colour, #168c97);
    color: var(--connection-colour, #168c97);
    background: #f5fbfc;
}

.my_conf-structure-day-picker {
    display: grid;
    grid-template-columns: repeat(var(--my-conf-group-columns, 2), minmax(160px, 180px));
    gap: 6px;
    margin: 10px 0;
}

.my_conf-structure-day-picker label {
    position: relative;
    display: block;
    min-height: 58px;
    padding: 8px 8px 8px 32px;
    border: 1px solid #c5ced5;
    background: #fff;
    cursor: pointer;
}

.my_conf-structure-day-picker label.is-selected {
    border-color: var(--my-conf-accent, #168c97);
    background: #edf7f8;
    box-shadow: inset 3px 0 var(--my-conf-accent, #168c97);
}

.my_conf-structure-day-picker input {
    position: absolute;
    top: 18px;
    left: 9px;
}

.my_conf-structure-day-picker small,
.my_conf-structure-day-picker strong,
.my_conf-structure-day-picker em {
    display: block;
}

.my_conf-structure-day-picker small {
    color: #71808b;
    font-size: 8px;
    text-transform: uppercase;
}

.my_conf-structure-day-picker strong {
    margin-top: 2px;
    color: #33414c;
    font-size: 11px;
}

.my_conf-structure-day-picker em {
    width: max-content;
    margin-top: 5px;
    padding: 2px 5px;
    border: 1px solid var(--my-conf-accent, #168c97);
    color: var(--my-conf-accent-dark, #0b6570);
    background: #fff;
    font-size: 9px;
}

.my_conf-structure-day-picker em[hidden] {
    display: none;
}

.my_conf-structure-breakpoint-picker {
    display: flex;
    gap: 6px;
}

.my_conf-structure-breakpoint-picker .my_conf-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 5px 8px;
    border: 1px solid #c5ced5;
    background: #fff;
}

.my_conf-structure-dialog-error {
    margin: 8px 0 0;
    padding: 7px;
    color: #8f1d20;
    border-left: 3px solid #d63638;
    background: #fff0f0;
}

.my_conf-structure-output-preview-wrap {
    min-height: 0;
    padding: 18px;
    overflow: auto;
    background: #dfe5e9;
}

.my_conf-structure-output-preview-wrap > div {
    width: 100%;
    min-height: 100%;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 12px rgb(16 31 42 / 12%);
}

[data-output-preview-dialog][data-preview-size="tablet"] .my_conf-structure-output-preview-wrap > div {
    width: min(760px, 100%);
}

[data-output-preview-dialog][data-preview-size="mobile"] .my_conf-structure-output-preview-wrap > div {
    width: min(420px, 100%);
}

[data-output-preview-dialog][data-preview-size="mobile"] .my_conf-structure__days,
[data-output-preview-dialog][data-preview-size="tablet"] .my_conf-structure__days {
    display: block;
}

[data-output-preview-dialog][data-preview-size="desktop"] .my_conf-structure-day:not(.has-desktop-sun-axis) .my_conf-structure-day__body {
    grid-template-columns: 0 minmax(0, 1fr);
}

[data-output-preview-dialog][data-preview-size="desktop"] .my_conf-structure-day:not(.has-desktop-sun-axis) .my_conf-structure-sun-axis {
    visibility: hidden;
    width: 0;
    padding: 0;
    overflow: hidden;
}

[data-output-preview-dialog][data-preview-size="desktop"] .my_conf-structure-day.has-desktop-sun-axis .my_conf-structure-sun-axis {
    align-self: start;
    height: var(--my-conf-sun-axis-height, 100%);
}

[data-output-preview-dialog][data-preview-size="tablet"] .my_conf-structure-day {
    display: grid;
    width: 100%;
    grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    margin-bottom: 24px;
}

[data-output-preview-dialog][data-preview-size="tablet"] .my_conf-structure-day h2 {
    margin-top: 4px;
    text-align: left;
}

[data-output-preview-dialog][data-preview-size="mobile"] .my_conf-structure-day {
    display: block;
    width: 100%;
    margin-bottom: 24px;
}

[data-output-preview-dialog][data-preview-size="mobile"] .my_conf-structure-day h2 {
    text-align: center;
}

[data-output-preview-dialog]:is([data-preview-size="tablet"], [data-preview-size="mobile"]) .my_conf-structure-day__body {
    grid-template-columns: 42px minmax(0, 1fr);
}

[data-output-preview-dialog]:is([data-preview-size="tablet"], [data-preview-size="mobile"]) .my_conf-structure-sun-axis {
    visibility: visible;
    width: auto;
    height: 100%;
    padding: 0 5px;
    overflow: visible;
}

.my_conf-structure-preview-tablet .my_conf-structure-grid-wrap {
    width: 760px;
    max-width: 100%;
    margin-inline: auto;
}

.my_conf-structure-preview-mobile .my_conf-structure-grid-wrap {
    width: 420px;
    min-width: 420px;
    max-width: 100%;
    margin-inline: auto;
    padding-left: 72px;
}

.my_conf-structure-library {
    padding: 9px;
    border-right: 1px solid #aeb8c0;
    padding-top: 0;
}

.my_conf-structure-library-tabs {
    position: sticky;
    z-index: 8;
    top: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 -9px 8px;
    border-bottom: 1px solid #aeb8c0;
    background: #fff;
}

.my_conf-structure-library-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 38px;
    padding: 5px 8px;
    border: 0;
    border-right: 1px solid #cbd3d9;
    color: #52606b;
    background: #fff;
    cursor: pointer;
}

.my_conf-structure-library-tabs button:last-child {
    border-right: 0;
}

.my_conf-structure-library-tabs button.is-active {
    color: #0b6570;
    box-shadow: inset 0 -3px var(--my-conf-accent, #168c97);
}

.my_conf-structure-library [data-library-panel][hidden] {
    display: none;
}

.my_conf-structure-library [data-layer-list] {
    display: grid;
    gap: 5px;
}

.my_conf-structure-library [data-layer-list] article {
    display: grid;
    grid-template-columns: 18px 6px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 6px;
    border: 1px solid #c5ced5;
    background: #fff;
    cursor: grab;
}

.my_conf-structure-library [data-layer-list] article.is-selected {
    border-color: var(--my-conf-accent, #168c97);
    box-shadow: inset 3px 0 var(--my-conf-accent, #168c97);
}

.my_conf-structure-library [data-layer-list] article.is-drop-target {
    border-top: 3px solid var(--my-conf-accent, #168c97);
}

.my_conf-structure-library [data-layer-list] article > i {
    align-self: stretch;
    background: var(--layer-colour, #356c3c);
}

.my_conf-structure-library [data-layer-list] :is(strong, small) {
    display: block;
}

.my_conf-structure-library [data-layer-list] strong {
    color: #33414c;
    font-size: 10px;
}

.my_conf-structure-library [data-layer-list] small {
    color: #6d7a84;
    font-size: 8px;
}

.my_conf-structure-day-tab {
    position: relative;
    flex: 0 0 var(--my-conf-day-tab-width, 120px);
    width: var(--my-conf-day-tab-width, 120px);
    min-width: 120px;
    border-right: 1px solid #cbd3d9;
    color: #46545f;
    background: transparent;
    cursor: grab;
    display: grid;
    grid-template-columns: 42px minmax(76px, 1fr);
    grid-template-rows: minmax(24px, auto) 22px;
    align-items: center;
    min-height: 56px;
    padding-right: 25px;
}

.my_conf-structure-day-tab > .my_conf-structure-day-drag {
    position: absolute;
    z-index: 2;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.my_conf-structure-day-tab > [data-day] {
    display: block;
    margin: 0;
    border: 0;
    color: inherit;
    background: transparent;
    cursor: pointer;
    grid-column: 1;
    grid-row: 1 / 3;
    width: 42px;
    min-height: 54px;
    padding: 18px 4px 4px;
    text-align: center;
}

.my_conf-structure-day-tab > [data-day-tab-label] {
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: fit-content;
    min-width: 28px;
    max-width: 220px;
    min-height: 28px;
    padding: 3px 5px;
    border: 1px solid transparent;
    color: inherit;
    background: transparent;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: text;
}

.my_conf-structure-day-tab > [data-day-tab-label][contenteditable="true"] {
    width: min(220px, 100%);
    white-space: normal;
}

.my_conf-structure-day-tab > [data-day-tab-label]:focus {
    border-color: var(--my-conf-accent, #168c97);
    background: #fff;
    box-shadow: none;
}

.my_conf-structure-day-tab > .my_conf-structure-day-connections {
    position: static;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    min-width: 0;
    padding: 0 5px 3px;
    overflow: hidden;
}

.my_conf-structure-day-tab .my_conf-structure-day-connection .my_conf-structure-linked-days-tag {
    min-width: 0;
    font-size: 9px;
}

.my_conf-structure-toolbar-icon {
    width: 36px;
    min-width: 36px;
    padding-inline: 6px;
    justify-content: center;
}

.my_conf-structure-toolbar-icon .dashicons {
    margin-right: 0;
}

.my_conf-structure-history-controls {
    display: inline-flex;
}

.my_conf-structure-version-picker {
    display: flex;
    gap: 5px;
}

.my_conf-structure-version-picker select {
    min-width: 150px;
    max-width: 220px;
}

.my_conf-structure-multi-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.my_conf-structure-multi-actions [data-remove-multi] {
    grid-column: 1 / -1;
}

.my_conf-structure-preview-overview .my_conf-structure-day-tabs {
    opacity: .72;
}

.my_conf-structure-total-view {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: var(--overview-natural-width, max-content);
    min-width: var(--overview-natural-width, 100%);
    padding: 8px;
    transform: scale(var(--overview-scale, 1));
    transform-origin: 0 0;
}

.my_conf-structure-overview-stage {
    margin-inline: auto;
}

.my_conf-structure-total-day {
    flex: 0 0 var(--overview-day-width, 310px);
    width: var(--overview-day-width, 310px);
    min-width: 270px;
    border: 1px solid #aeb8c0;
    background: #fff;
}

.my_conf-structure-total-day > header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 5px 7px;
    border-bottom: 1px solid #cbd3d9;
}

.my_conf-structure-total-day > header small,
.my_conf-structure-total-day > header span {
    color: #687681;
    font-size: 8px;
}

.my_conf-structure-total-day > header strong {
    overflow: hidden;
    color: #2f3c47;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.my_conf-structure-total-day__body {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
}

.my_conf-structure-time-right .my_conf-structure-total-day__body {
    grid-template-columns: minmax(0, 1fr) 38px;
}

.my_conf-structure-time-right .my_conf-structure-total-grid {
    grid-column: 1;
    grid-row: 1;
}

.my_conf-structure-total-time-axis {
    position: relative;
    z-index: 4;
    height: var(--overview-grid-height, 620px);
    border-right: 1px solid #cbd3d9;
    background: #fff;
}

.my_conf-structure-time-right .my_conf-structure-total-time-axis {
    grid-column: 2;
    grid-row: 1;
    border-right: 0;
    border-left: 1px solid #cbd3d9;
}

.my_conf-structure-total-time-axis > span {
    position: absolute;
    right: 5px;
    transform: translateY(-50%);
    color: #687681;
    font-size: 7px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.my_conf-structure-time-right .my_conf-structure-total-time-axis > span {
    right: auto;
    left: 5px;
}

.my_conf-structure-total-grid {
    position: relative;
    height: var(--overview-grid-height, 620px);
    background: repeating-linear-gradient(
        to bottom,
        #f7f9fa 0,
        #f7f9fa calc(var(--overview-hour-height, 31px) - 1px),
        #e2e7eb var(--overview-hour-height, 31px)
    );
}

.my_conf-structure-total-day-window {
    position: absolute;
    z-index: 0;
    top: var(--day-window-top, 0);
    right: 0;
    left: 0;
    height: var(--day-window-height, 100%);
    box-shadow: inset 0 0 0 1px rgb(22 140 151 / 16%);
    pointer-events: none;
}

.my_conf-structure-total-lanes {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
}

.my_conf-structure-total-lanes > i {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #d6dde2;
}

.my_conf-structure-total-item {
    position: absolute;
    z-index: calc(1 + var(--overview-layer, 0));
    top: var(--overview-top);
    left: var(--overview-left);
    display: flex;
    width: var(--overview-width);
    min-height: 20px;
    height: var(--overview-height);
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1px;
    padding: 2px;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 0;
    color: var(--overview-text);
    background: var(--overview-bg);
    cursor: pointer;
}

.my_conf-structure-total-item strong {
    max-width: 100%;
    overflow: hidden;
    font-size: 9px;
    line-height: 1.05;
    text-align: center;
    text-overflow: ellipsis;
}

.my_conf-structure-total-item strong[data-inline-block-title] {
    position: relative;
    z-index: 8;
    display: inline-block;
    align-self: center;
    width: fit-content;
    min-width: 12px;
    max-width: 100%;
    box-sizing: border-box;
    cursor: text;
    user-select: text;
    pointer-events: auto;
}

.my_conf-structure-total-item strong[data-inline-block-title][contenteditable="true"] {
    padding: 1px 3px;
    overflow: visible;
    color: #18232c;
    outline: 2px solid #f8b400;
    background: #fff;
    text-overflow: clip;
}

.my_conf-structure-total-item time {
    align-self: flex-start;
    font-size: 7px;
    line-height: 1;
    white-space: nowrap;
    pointer-events: none;
}

.my_conf-structure-total-item.is-overlap-content-side-0 > strong {
    width: 50%;
    align-self: flex-start;
}

.my_conf-structure-total-item.is-overlap-content-side-1 > strong {
    width: 50%;
    align-self: flex-end;
}

.my_conf-structure-total-item.is-overlap-start-side-1 time:first-of-type,
.my_conf-structure-total-item.is-overlap-end-side-1 time:last-of-type {
    margin-left: 50%;
}

.my_conf-structure-time-right .my_conf-structure-total-item.is-overlap-start-side-0 time:first-of-type,
.my_conf-structure-time-right .my_conf-structure-total-item.is-overlap-end-side-0 time:last-of-type {
    margin-right: 50%;
    margin-left: 0;
}

.my_conf-structure-container-link {
    grid-column: 1 / -1;
}

.my_conf-structure-container-link > p {
    margin: -2px 0 5px;
    color: #64727d;
    font-size: 11px;
    line-height: 1.35;
}

.my_conf-structure-time-right .my_conf-structure-total-item time {
    align-self: flex-end;
}

.my_conf-structure-total-item.is-selected {
    z-index: 100;
    outline: 3px solid #f8b400;
    outline-offset: -3px;
}

.my_conf-structure-total-item:hover .my_conf-structure-resize-handle,
.my_conf-structure-total-item.is-selected .my_conf-structure-resize-handle {
    opacity: 1;
}

@container structure-canvas (max-width: 920px) {
    .my_conf-structure-toolbar {
        align-items: center;
        overflow: visible;
    }

    .my_conf-structure-toolbar .my_conf-structure-view-switch {
        order: -1;
        flex: 1 0 100%;
        justify-content: flex-end;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .my_conf-structure-toolbar .my_conf-structure-view-switch button {
        flex: 0 0 38px;
    }
}

@media (min-width: 1501px) and (max-height: 1100px) {
    .my_conf-structure-editor-header {
        min-height: 50px;
        padding-block: 6px;
    }

    .my_conf-structure-editor-body {
        gap: 5px;
        padding: 5px;
    }

    .my_conf-structure-meta > .my_conf-config-card__body {
        padding: 5px 8px;
    }

    .my_conf-structure-meta :where(input,
select) {
        min-height: 30px;
    }

    .my_conf-structure-builder {
        grid-template-columns: minmax(210px, 245px) minmax(460px, 1fr) minmax(230px, 270px);
    }

    .my_conf-structure-toolbar {
        min-height: 42px;
        padding: 4px;
    }

    .my_conf-structure-day-tab,
    .my_conf-structure-day-tab > [data-day] {
        min-height: 40px;
    }

    .my_conf-structure-editor-footer {
        min-height: 46px;
        padding-block: 5px;
    }
}

@media (max-width: 1500px) {
    .my_conf-structure-builder {
        grid-template-columns: 245px minmax(500px, 1fr);
        grid-template-rows: minmax(520px, 1fr) minmax(250px, .45fr);
    }

    .my_conf-structure-inspector {
        grid-column: 1 / -1;
        border-top: 1px solid #aeb8c0;
        border-left: 0;
    }

    .my_conf-structure-inspector > div {
        display: grid;
        grid-template-columns: repeat(3, minmax(180px, 1fr));
        align-items: start;
        gap: 9px;
    }

    .my_conf-structure-inspector > div > .my_conf-structure-inspector-heading {
        grid-column: 1 / -1;
    }

    .my_conf-structure-inspector-section {
        margin: 0;
        border: 1px solid #cbd3d9;
    }
}

@media (max-width: 1200px) {
    .my_conf-structure-editor-body {
        overflow: auto;
    }

    .my_conf-structure-builder {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(560px, 1fr) auto;
        height: auto;
        overflow: visible;
    }

    .my_conf-structure-library {
        max-height: 270px;
        border-right: 0;
        border-bottom: 1px solid #aeb8c0;
    }

    .my_conf-structure-block-group > div {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
        gap: 6px;
    }

    .my_conf-structure-block-card {
        margin: 0;
    }

    .my_conf-structure-inspector > div {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 782px) {
    .my_conf-structure-overview > .my_conf-config-card__body {
        padding: 9px;
    }

    .my_conf-structure-overview-toolbar,
    .my_conf-structure-overview-toolbar > div,
    .my_conf-structure-overview-toolbar .my_conf-config-search,
    .my_conf-structure-overview-toolbar .button {
        width: 100%;
    }

    .my_conf-structure-editor-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .my_conf-structure-editor-header .my_conf-template-editor-window__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 36px;
        width: 100%;
    }

    .my_conf-structure-editor-locale {
        grid-template-columns: minmax(0, 1fr);
    }

    .my_conf-structure-editor-locale > span {
        display: none;
    }

    .my_conf-structure-editor-body {
        display: block;
        padding: 5px;
    }

    .my_conf-structure-meta {
        margin-bottom: 5px;
    }

    .my_conf-structure-inspector > div {
        grid-template-columns: minmax(0, 1fr);
    }

    .my_conf-structure-toolbar {
        align-items: stretch;
    }

    .my_conf-structure-toolbar > .button {
        flex: 1 1 calc(50% - 5px);
        justify-content: center;
    }

    .my_conf-structure-toolbar .my_conf-structure-view-switch {
        order: -1;
        flex: 1 0 100%;
        justify-content: flex-end;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .my_conf-structure-toolbar .my_conf-structure-view-switch button {
        flex: 0 0 38px;
    }

    .my_conf-structure-canvas {
        grid-template-rows: auto auto auto auto;
        overflow: visible;
    }

    .my_conf-structure-grid-wrap {
        overflow-x: auto;
        overflow-y: visible;
        scrollbar-gutter: auto;
    }

    .my_conf-structure-template-list {
        grid-template-columns: minmax(0, 1fr);
        padding: 7px;
    }

    .my_conf-structure-template-list article {
        grid-template-columns: 28px minmax(0, 1fr);
    }

    .my_conf-structure-template-list article .button {
        grid-column: 1 / -1;
        width: 100%;
    }

    .my_conf-structure-output-preview-wrap {
        padding: 7px;
    }

    .my_conf-structure-output-preview-wrap > div {
        padding: 10px;
    }

    .my_conf-structure-editor-footer {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: minmax(0, 1fr);
    }

    .my_conf-structure-editor-footer > span {
        display: none;
    }

    .my_conf-structure-editor-footer__cancel,
    .my_conf-structure-editor-footer__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .my_conf-structure-editor-footer__actions {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }
}

@media (max-width: 480px) {
    .my_conf-structure-field-row,
    .my_conf-structure-check-grid,
    .my_conf-structure-block-connection-controls {
        grid-template-columns: minmax(0, 1fr);
    }

    .my_conf-structure-grid-wrap {
        padding-left: 68px;
    }

    .my_conf-structure-day-picker {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Structure-specific content inside the canonical administration dialog shell. */
[data-dialog-feature="structure"] .my_conf-dialog__surface > header > div:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

[data-dialog-feature="structure"] .my_conf-dialog__surface > header > div:first-child > .dashicons {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--my-conf-accent, #168c97);
    font-size: 24px;
}

[data-dialog-feature="structure"] .my_conf-dialog__surface > header :is(strong, small) {
    display: block;
}

[data-dialog-feature="structure"] .my_conf-dialog__surface > header small {
    margin-top: 2px;
    color: #687681;
    font-size: 9px;
}

[data-group-dialog] .my_conf-dialog__surface > footer > span {
    flex: 1;
}

[data-output-preview-dialog] .my_conf-dialog__surface > header {
    flex-wrap: wrap;
}

@media (max-width: 782px) {
    [data-output-preview-dialog] .my_conf-structure-view-switch {
        order: 3;
        width: 100%;
    }
}
