html, body {
    min-height: 100%;
    font-family: "Plus Jakarta Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background-color: #f5f7fb;
}

body {
    margin: 0;
    color: #1f2937;
}

:root {
    --bos-safe-top: env(safe-area-inset-top, 0px);
    --bos-mobile-header-bottom: 4rem;
}

#app {
    min-height: 100vh;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.page-title {
    letter-spacing: 0.01em;
}

.shift-toolbar-split-button-wrap {
    display: inline-flex;
}

.shift-toolbar-split-button-wrap .k-split-button {
    display: inline-flex;
    align-items: stretch;
}

.shift-toolbar-split-button-wrap .k-button {
    min-height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    border: 1px solid var(--bs-primary) !important;
    background-color: transparent !important;
    color: var(--bs-primary) !important;
    box-shadow: none !important;
    font: inherit;
    line-height: 1.5;
}

.shift-toolbar-split-button-wrap .k-button:hover,
.shift-toolbar-split-button-wrap .k-button:focus,
.shift-toolbar-split-button-wrap .k-button.k-hover,
.shift-toolbar-split-button-wrap .k-button.k-focus {
    background-color: rgba(var(--bs-primary-rgb), 0.08) !important;
    color: var(--bs-primary) !important;
    box-shadow: none !important;
}

.shift-toolbar-split-button-wrap .k-button + .k-button {
    border-left-width: 0 !important;
}

.shift-toolbar-split-button-wrap .k-button.k-disabled,
.shift-toolbar-split-button-wrap .k-button:disabled {
    opacity: 0.65;
    background-color: transparent !important;
    color: var(--bs-primary) !important;
}

.bos-window-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
}

.bos-window-title-help {
    flex: 0 0 auto;
    white-space: nowrap;
}

.bos-user-menu-button,
.bos-logo-button {
    border: 0;
    background: transparent;
    padding: 0;
}

.bos-side-menu__angle-placeholder {
    flex: 0 0 1rem;
    width: 1rem;
    visibility: hidden;
}

.card.custom-card {
    border-radius: 1rem;
}

.card.custom-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-content.app-content .k-chart,
.main-content.app-content .k-grid {
    font-family: inherit;
}

.main-content.app-content .table {
    --bs-table-bg: #fff;
    --bs-table-color: var(--default-text-color, #1f2937);
    --bs-table-border-color: rgba(23, 32, 54, 0.08);
    --bs-table-hover-bg: rgba(64, 81, 136, 0.035);
    margin-block-end: 0;
    color: var(--default-text-color, #1f2937);
    border-color: rgba(23, 32, 54, 0.08);
    font-size: 0.813rem;
}

.main-content.app-content .table th,
.main-content.app-content .table td {
    padding: 0.75rem 1.15rem;
    vertical-align: middle;
    line-height: 1.462;
    font-size: 0.813rem;
    font-weight: 500;
    border-color: rgba(23, 32, 54, 0.08);
}

.main-content.app-content .table thead th {
    color: #61748f;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
    background: #fff;
    border-bottom-color: rgba(23, 32, 54, 0.08);
}

.main-content.app-content .k-grid {
    border: 1px solid rgba(23, 32, 54, 0.08);
    border-radius: 0.65rem;
    background: #fff;
    color: var(--default-text-color, #1f2937);
    box-shadow: none;
    overflow: hidden;
}

.main-content.app-content .k-grid-header,
.main-content.app-content .k-grid-header-wrap,
.main-content.app-content .k-grid .k-table-thead,
.main-content.app-content .k-grid .k-table-th,
.main-content.app-content .k-grid .k-header {
    background: #fff;
    color: #61748f;
    border-color: rgba(23, 32, 54, 0.08);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0;
}

.main-content.app-content .k-grid .k-table-th,
.main-content.app-content .k-grid .k-table-td,
.main-content.app-content .k-grid td,
.main-content.app-content .k-grid th {
    padding: 0.75rem 1.15rem;
    border-color: rgba(23, 32, 54, 0.08);
    font-size: 0.813rem;
    font-weight: 500;
    line-height: 1.462;
    vertical-align: middle;
}

.main-content.app-content .k-grid .k-table-row,
.main-content.app-content .k-grid tr {
    background: #fff;
}

.main-content.app-content .k-grid .k-table-row:hover,
.main-content.app-content .k-grid tr:hover {
    background: rgba(64, 81, 136, 0.035);
}

.main-content.app-content .k-grid .k-pager,
.main-content.app-content .k-grid .k-grid-pager {
    border-color: rgba(23, 32, 54, 0.08);
    background: #fff;
    color: #61748f;
    font-size: 0.813rem;
}

.bos-grid-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.bos-grid-action-button,
.bos-grid-action-button.k-button,
.bos-grid-action-button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    padding: 0;
    border-radius: 0.25rem;
    line-height: 1;
}

.bos-grid-action-button.k-button {
    min-width: 1.85rem;
}

.bos-grid-action-button i {
    font-size: 0.95rem;
    line-height: 1;
}

.bos-grid-action-button.bos-grid-action-primary,
.bos-grid-action-button.bos-grid-action-primary.k-button {
    background: #745af2;
    border-color: #745af2;
    color: #fff;
}

.bos-grid-action-button.bos-grid-action-primary:hover,
.bos-grid-action-button.bos-grid-action-primary:focus,
.bos-grid-action-button.bos-grid-action-primary.k-hover,
.bos-grid-action-button.bos-grid-action-primary.k-focus {
    background: #5f46dc;
    border-color: #5f46dc;
    color: #fff;
}

.bos-grid-action-button.bos-grid-action-danger,
.bos-grid-action-button.bos-grid-action-danger.k-button {
    background: #ff4d6d;
    border-color: #ff4d6d;
    color: #fff;
}

.bos-grid-action-button.bos-grid-action-danger:hover,
.bos-grid-action-button.bos-grid-action-danger:focus,
.bos-grid-action-button.bos-grid-action-danger.k-hover,
.bos-grid-action-button.bos-grid-action-danger.k-focus {
    background: #e63c5b;
    border-color: #e63c5b;
    color: #fff;
}

.bos-shell .app-header {
    padding-inline-start: 0 !important;
}

.bos-shell.sidebar-collapsed .app-sidebar .main-sidebar-header,
.bos-shell.sidebar-collapsed .app-sidebar .main-sidebar,
.bos-shell.sidebar-collapsed .app-sidebar .main-menu {
    width: 5rem !important;
}

.bos-shell.sidebar-open .app-sidebar .bos-sidebar-icon-image,
.bos-shell.sidebar-collapsed .app-sidebar .bos-sidebar-logo-image {
    display: none !important;
}

.bos-shell.sidebar-open .app-sidebar .bos-sidebar-logo-image,
.bos-shell.sidebar-collapsed .app-sidebar .bos-sidebar-icon-image {
    display: block !important;
}

@media (max-width: 767.98px) {
    .app-header.sticky {
        padding-top: max(var(--bos-safe-top), 0.25rem);
    }

    .main-content.app-content {
        padding-top: 0.35rem;
    }
    .bos-shell.sidebar-open .app-sidebar {
        z-index: 11250 !important;
        background: #405188 !important;
        isolation: isolate;
    }

    .bos-shell.sidebar-open .app-sidebar .main-sidebar-header,
    .bos-shell.sidebar-open .app-sidebar .main-sidebar,
    .bos-shell.sidebar-open .app-sidebar .main-menu {
        background: #405188 !important;
    }

    .bos-shell.sidebar-open .bos-sidebar-backdrop {
        z-index: 11240 !important;
    }

    .bos-shell.sidebar-open .bos-guided-tour-highlight {
        z-index: auto !important;
    }

}

@media (max-width: 767.98px) {
    .bos-mobile-editor-window.k-window {
        position: fixed !important;
        top: calc(var(--bos-safe-top) + 0.5rem) !important;
        left: 0.5rem !important;
        width: calc(100vw - 1rem) !important;
        max-width: calc(100vw - 1rem) !important;
        height: calc(100dvh - var(--bos-safe-top) - 1rem) !important;
        max-height: calc(100dvh - var(--bos-safe-top) - 1rem) !important;
        transform: none !important;
        margin: 0 !important;
        display: flex;
        flex-direction: column;
    }

    .bos-mobile-editor-window .k-window-content {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1rem;
    }

    .bos-mobile-editor-window .k-window-actions,
    .bos-mobile-editor-window .k-actions {
        flex: 0 0 auto;
        position: sticky;
        bottom: 0;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 0.5rem);
    }

    .bos-mobile-editor-window .k-window-titlebar {
        flex: 0 0 auto;
    }

    .bos-mobile-editor-window .btn {
        white-space: normal;
    }
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred.";
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.broadcast-employee-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.75rem;
}

.broadcast-assignment-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
}

.broadcast-review-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.calendar-conflict-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-window-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(100%, 1000px);
}

.review-window-help {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
}

.calendar-conflict-action-card {
    background: #fff;
}

.calendar-conflict-action-title {
    color: var(--default-text-color);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.calendar-conflict-action-count {
    color: var(--default-text-color);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.1;
}

.calendar-conflict-recommendation {
    padding: 0.85rem;
    border: 1px solid rgba(116, 90, 242, 0.16);
    border-radius: 0.5rem;
    background: rgba(116, 90, 242, 0.06);
}

.calendar-conflict-affected-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.calendar-conflict-affected-item {
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.5rem;
    background: rgba(248, 250, 252, 0.78);
}

.calendar-conflict-details summary {
    width: fit-content;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 600;
}

.calendar-conflict-details-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.65rem;
}

.calendar-conflict-detail-item {
    padding: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.5rem;
    background: #fff;
}

.service-area-map-shell {
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.75rem;
    background: #fff;
    padding: 1rem;
}

.service-area-map {
    position: relative;
    min-height: 260px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 0.6rem;
    background:
        linear-gradient(rgba(148, 163, 184, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.14) 1px, transparent 1px),
        #f8fafc;
    background-size: 48px 48px;
}

.service-area-map-empty {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(148, 163, 184, 0.42);
    border-radius: 0.6rem;
    background: rgba(248, 250, 252, 0.74);
}

.service-area-map-area {
    position: absolute;
    left: var(--area-x);
    top: var(--area-y);
    width: var(--area-size);
    aspect-ratio: 1;
    min-width: 2.75rem;
    max-width: 14rem;
    border: 2px solid var(--area-color);
    border-radius: 999px;
    background: var(--area-fill);
    transform: translate(-50%, -50%);
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10);
}

.service-area-map-area:hover,
.service-area-map-area:focus-visible,
.service-area-map-area.is-selected {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.20), 0 14px 28px rgba(15, 23, 42, 0.16);
}

.service-area-map-pin {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0.9rem;
    height: 0.9rem;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--area-color);
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.service-area-color-dot {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.service-area-map-legend {
    display: flex;
    flex: 1 1 24rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem 0.9rem;
    max-height: 3.2rem;
    overflow: hidden;
    min-width: min(100%, 18rem);
}

.service-area-map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 13rem;
    min-width: 0;
    line-height: 1.2;
}

.setup-checklist-card .card-header {
    align-items: flex-start;
}

.setup-checklist-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 0.75rem;
}

.setup-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-height: 5rem;
    padding: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.5rem;
    color: inherit;
    text-decoration: none;
    background: #fff;
}

.setup-checklist-item:hover {
    border-color: rgba(116, 90, 242, 0.45);
    color: inherit;
}

.setup-checklist-item.is-complete {
    background: rgba(25, 135, 84, 0.04);
}

.setup-checklist-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: rgba(116, 90, 242, 0.12);
    color: #745af2;
}

.setup-checklist-item.is-complete .setup-checklist-status {
    background: rgba(25, 135, 84, 0.12);
    color: #198754;
}

.setup-checklist-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.dashboard-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.dashboard-section-heading h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.dashboard-section-eyebrow {
    margin-bottom: 0.15rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: 0.75rem;
}

.dashboard-metric {
    min-width: 0;
    min-height: 6.5rem;
    padding: 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.5rem;
    background: #fff;
}

.dashboard-metric-link {
    cursor: pointer;
}

.dashboard-metric-link:hover {
    border-color: rgba(116, 90, 242, 0.45);
}

.dashboard-metric-link:focus-visible {
    outline: 2px solid rgba(116, 90, 242, 0.55);
    outline-offset: 2px;
}

.dashboard-metric-value {
    margin-top: 0.25rem;
    color: var(--default-text-color);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.dashboard-metric-value-sm {
    font-size: 1.05rem;
}

.dashboard-route-status {
    color: var(--default-text-color);
    font-weight: 600;
    line-height: 1.35;
}

.dashboard-route-capacity-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--default-border);
}

.dashboard-route-capacity-settings {
    display: grid;
    justify-items: end;
    gap: 0.45rem;
    max-width: min(100%, 34rem);
    text-align: right;
}
.dashboard-route-protection-card {
    border-left: 0.25rem solid rgba(220, 53, 69, 0.75);
}

.dashboard-route-protection-card.is-active {
    border-left-color: rgba(25, 135, 84, 0.85);
}

.dashboard-route-protection-card.is-disabled {
    border-left-color: rgba(220, 53, 69, 0.85);
}

.dashboard-route-protection-status {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    max-width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(220, 53, 69, 0.28);
    border-radius: 0.5rem;
    background: rgba(220, 53, 69, 0.08);
    color: #b02a37;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-route-protection-card.is-active .dashboard-route-protection-status {
    border-color: rgba(25, 135, 84, 0.28);
    background: rgba(25, 135, 84, 0.1);
    color: #146c43;
}

.dashboard-route-protection-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
}

.dashboard-route-protection-label {
    overflow-wrap: anywhere;
}

.dashboard-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .dashboard-overview-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


.dashboard-overview-value-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-top: 0.15rem;
}

.dashboard-overview-value-row > span {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
}

.dashboard-overview-value-label {
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.dashboard-appointment-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 0.75rem;
}

.dashboard-appointment-tile {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
    padding: 0.9rem;
    border: 1px solid var(--default-border);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.05);
}

.dashboard-appointment-tile-main {
    min-width: 0;
}

.dashboard-appointment-service {
    color: var(--default-text-color);
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-appointment-details {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.dashboard-appointment-time {
    flex: 0 0 auto;
    max-width: 8rem;
    color: var(--default-text-color);
    font-weight: 700;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .dashboard-route-capacity-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-route-capacity-settings {
        justify-items: start;
        text-align: left;
    }

    .dashboard-appointment-tile {
        flex-direction: column;
    }

    .dashboard-appointment-time {
        max-width: none;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .dashboard-overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    }
}

.dashboard-overview-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    gap: 0.75rem;
    align-items: start;
    width: 100%;
    min-height: 9.25rem;
    padding: 0.85rem;
    border: 0;
    border-radius: 0.75rem;
    background: #fff;
    box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.06);
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.dashboard-overview-tile.is-attention {
    border: 1px solid rgba(245, 158, 11, 0.45);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.92), #fff);
    box-shadow: 0 0.35rem 1rem rgba(245, 158, 11, 0.12);
}

.dashboard-overview-tile:focus-visible {
    outline: 2px solid rgba(116, 90, 242, 0.55);
    outline-offset: 2px;
}

.dashboard-overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.35rem;
    font-size: 1.25rem;
}

.dashboard-overview-copy {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dashboard-overview-title {
    color: var(--default-text-color);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.dashboard-overview-value {
    color: var(--default-text-color);
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
}

.dashboard-overview-subtitle {
    margin-top: 0.35rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.dashboard-overview-attention {
    width: fit-content;
    max-width: 100%;
    margin-top: 0.25rem;
    padding: 0.16rem 0.45rem;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.14);
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.dashboard-overview-mine {
    width: fit-content;
    max-width: 100%;
    margin-top: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dashboard-overview-arrow {
    align-self: center;
    color: var(--text-muted);
    font-size: 1.35rem;
}

@media (min-width: 768px) {
    .dashboard-overview-tile {
        grid-template-rows: none;
        align-items: start;
        min-height: 7.25rem;
        padding: 1rem;
    }

    .dashboard-overview-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .dashboard-overview-copy {
        grid-column: auto;
        align-self: stretch;
        height: 100%;
    }

    .dashboard-overview-title {
        font-size: inherit;
    }

    .dashboard-overview-value {
        font-size: 1.4rem;
    }

    .dashboard-overview-subtitle {
        font-size: 0.78rem;
    }

    .dashboard-overview-subtitle {
        margin-top: auto;
    }
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
    gap: 0.75rem;
}

@media (min-width: 1200px) {
    .dashboard-action-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.dashboard-action-item {
    min-width: 0;
    min-height: 8rem;
    padding: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.5rem;
    background: #fff;
}

.dashboard-action-subtitle {
    display: -webkit-box;
    margin-top: 0.35rem;
    min-height: 2.4rem;
    overflow: hidden;
    color: var(--text-muted);
    font-size: 0.8125rem;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.dashboard-action-time {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.75rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.dashboard-action-time span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.dashboard-compact-summary .card-body {
    padding: 1rem;
}

.dashboard-compact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.dashboard-compact-counts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.dashboard-compact-counts span {
    display: inline-flex;
    align-items: center;
    min-height: 1.6rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 600;
}

.rebooking-opportunities-grid,
.follow-up-opportunities-grid {
    max-width: 100%;
}

.rebooking-opportunities-grid .k-grid-container,
.rebooking-opportunities-grid .k-grid-content,
.follow-up-opportunities-grid .k-grid-container,
.follow-up-opportunities-grid .k-grid-content {
    max-width: 100%;
    overflow-x: hidden;
}

.rebooking-opportunities-grid .k-grid-table,
.follow-up-opportunities-grid .k-grid-table {
    max-width: 100%;
    table-layout: fixed;
    width: 100% !important;
}

.rebooking-opportunities-grid th,
.rebooking-opportunities-grid td,
.follow-up-opportunities-grid th,
.follow-up-opportunities-grid td {
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.opportunity-reason-cell {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.opportunity-reason-text {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    width: 100%;
}

.opportunity-reason-text.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.opportunity-reason-text.is-expanded {
    display: block;
}

.opportunity-reason-toggle {
    flex: 0 0 auto;
    margin-top: 0.05rem;
}

.opportunity-grid-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
}

.opportunity-grid-actions .btn {
    max-width: 100%;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
    white-space: nowrap;
}

.opportunity-grid-compact .opportunity-grid-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
}

.opportunity-grid-compact .opportunity-grid-actions .btn {
    width: fit-content;
}

.guided-tour-shell {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    max-width: min(24rem, calc(100vw - 2rem));
}

.bos-mobile-editor-window .k-window-content {
    position: relative;
    z-index: 1;
}

.bos-mobile-editor-window.k-window {
    overflow: visible !important;
}

.bos-mobile-editor-window .k-window,
.bos-mobile-editor-window .k-window-wrapper,
.bos-mobile-editor-window .k-window-footer {
    overflow: visible !important;
}

.bos-mobile-editor-window .k-window-actions,
.bos-mobile-editor-window .k-actions {
    background: #fff;
    overflow: visible;
    position: relative;
    z-index: 11080;
}

.bos-admin-window.k-window {
    z-index: 11040 !important;
}

.guided-tour-menu-button {
    align-items: center;
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.16);
    display: inline-flex;
    gap: 0.4rem;
}

.guided-tour-menu,
.guided-tour-panel {
    width: min(24rem, calc(100vw - 2rem));
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.18);
}

.guided-tour-backdrop {
    position: fixed;
    inset: 0;
    z-index: 11000;
    background: rgba(15, 23, 42, 0.22);
    pointer-events: none;
}

/* Layout and stacking only. The tour's visual identity (surface, radius,
   spacing, buttons, progress, target treatment) lives in one place:
   css/gc-components.css, "Guided tour" sections. Do not re-add chrome here —
   two competing definitions is how the tour regressed to a half-styled
   tooltip once before. */
.guided-tour-popover {
    position: fixed;
    isolation: isolate;
    z-index: 11120;
    width: min(25rem, calc(100vw - 1.5rem));
    background: #fff !important;
    color: #1f2937;
    opacity: 1 !important;
}

.guided-tour-popover-header,
.guided-tour-popover-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem;
}

.guided-tour-popover-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1;
}

.guided-tour-popover-header {
    padding-right: 2.75rem;
}

.guided-tour-popover .guided-tour-copy {
    margin: 0;
    padding: 0.85rem 0.75rem;
}

.guided-tour-completion-backdrop {
    position: fixed;
    inset: 0;
    z-index: 11140;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.34);
}

.guided-tour-completion-modal {
    position: relative;
    width: min(34rem, calc(100vw - 2rem));
    padding: 1.25rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 0.5rem;
    background: #fff;
    box-shadow: 0 1.5rem 3.5rem rgba(15, 23, 42, 0.24);
}

.guided-tour-completion-kicker {
    margin-bottom: 0.4rem;
    color: #0bbf6a;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.guided-tour-completion-modal h2 {
    max-width: calc(100% - 2rem);
    margin: 0 0 0.75rem;
    font-size: 1.35rem;
    line-height: 1.25;
}

.guided-tour-completion-modal p {
    margin: 0 0 1rem;
    color: #475569;
}

.guided-tour-completion-modal ul {
    margin: 0 0 1.15rem;
    padding-left: 1.2rem;
    color: #334155;
}

.guided-tour-completion-modal li + li {
    margin-top: 0.35rem;
}

.guided-tour-completion-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bos-help-chat-panel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow: hidden;
}

.bos-help-chat-thread {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    gap: 0.5rem;
    padding-right: 0.15rem;
    -webkit-overflow-scrolling: touch;
}

.bos-help-chat-message {
    max-width: 88%;
    padding: 0.55rem 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    word-break: break-word;
}

.bos-help-chat-message.is-assistant {
    align-self: flex-start;
    background: #f8fafc;
}

.bos-help-chat-message.is-user {
    align-self: flex-end;
    background: #e7f1ff;
}

.bos-help-chat-message-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.bos-help-chat-composer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bos-help-chat-actions {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 0.5rem;
}

.bos-help-chat-actions .btn-primary {
    width: 100%;
}

.bos-help-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bos-help-status {
    width: min(24rem, calc(100vw - 2rem));
    box-shadow: 0 0.5rem 1.25rem rgba(15, 23, 42, 0.12);
}

.guided-tour-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guided-tour-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.5rem;
    background: #fff;
    color: inherit;
    text-align: left;
}

.guided-tour-list-item:hover,
.guided-tour-list-item:focus {
    border-color: rgba(116, 90, 242, 0.45);
}

.guided-tour-copy {
    margin: 0.75rem 0 1rem;
    color: #475569;
}

/* Stacking only: the target must paint above the tour backdrop. The visual
   treatment (hairline edge, elevation, glow) lives in css/gc-components.css. */
.bos-guided-tour-highlight {
    position: relative;
    z-index: 11010;
}

@media (max-width: 575.98px) {
    .guided-tour-shell {
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: calc(100vw - 1.5rem);
    }

    .guided-tour-menu,
    .guided-tour-panel {
        width: calc(100vw - 1.5rem);
    }

    .guided-tour-popover {
        max-width: calc(100vw - 1.5rem);
    }
}

.how-this-works {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(116, 90, 242, 0.24);
    border-radius: 0.5rem;
    background: rgba(116, 90, 242, 0.08);
    color: #1f2937;
}

.how-this-works__content {
    min-width: 0;
}

.how-this-works__title {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.how-this-works__body {
    color: #64748b;
    font-size: 0.85rem;
}

.how-this-works__body p {
    margin-bottom: 0;
}

.how-this-works__dismiss {
    flex-shrink: 0;
}

.how-this-works-reopen {
    color: #745af2;
    text-decoration: none;
}

.how-this-works-reopen:hover {
    color: #5b45d6;
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .how-this-works {
        flex-direction: column;
        gap: 0.75rem;
    }

    .how-this-works__dismiss {
        width: 100%;
    }
}

.location-map-picker-window .k-window-content {
    overflow: auto;
}

.location-associations-window .k-window-content {
    overflow: auto;
}

.location-window-actions {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding-top: 0.75rem;
    padding-bottom: 0.25rem;
}

.location-map-picker-map {
    min-height: 520px;
    width: 100%;
    border: 1px solid var(--default-border);
    border-radius: 0.5rem;
    overflow: hidden;
}

.location-map-suggestions {
    max-height: 16rem;
    overflow: auto;
    position: relative;
    z-index: 3;
}

@media (max-width: 849.98px) {
    .bos-admin-window.k-window {
        max-width: 100vw !important;
        max-height: 100vh !important;
    }

    .bos-admin-window .k-window-title {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .location-associations-window .k-window-content,
    .location-map-picker-window .k-window-content {
        padding: 0.75rem;
    }

    .location-window-actions {
        flex-direction: column-reverse;
    }

    .location-window-actions .btn {
        width: 100%;
    }

    .location-map-picker-map {
        min-height: 420px;
    }
}

.broadcast-assignment-mode-option {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    text-align: left;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.broadcast-assignment-mode-option:hover,
.broadcast-assignment-mode-option:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.broadcast-assignment-mode-option.is-selected {
    border-color: rgba(var(--bs-primary-rgb), 0.5);
    background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.09), rgba(255, 255, 255, 0.98));
}

.broadcast-employee-card-button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
}

.broadcast-employee-card-button:focus-visible {
    outline: 0;
}

.broadcast-employee-card {
    height: 100%;
    border-radius: 0.9rem;
    transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.broadcast-employee-card-button:hover .broadcast-employee-card,
.broadcast-employee-card-button:focus-visible .broadcast-employee-card {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

.broadcast-employee-card.is-selected {
    border-color: rgba(var(--bs-success-rgb), 0.55);
    background: linear-gradient(180deg, rgba(var(--bs-success-rgb), 0.10), rgba(255, 255, 255, 0.98));
}

.broadcast-employee-card.is-unselected {
    border-color: rgba(148, 163, 184, 0.40);
    background: rgba(248, 250, 252, 0.95);
    opacity: 0.8;
}

.broadcast-review-queue-card {
    border-color: rgba(148, 163, 184, 0.35) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.broadcast-review-claim-card {
    border-color: rgba(148, 163, 184, 0.35) !important;
    background: rgba(255, 255, 255, 0.92);
}

.broadcast-recommendation-summary {
    padding: 0.65rem 0.75rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(var(--bs-primary-rgb), 0.18);
    background: linear-gradient(180deg, rgba(var(--bs-primary-rgb), 0.08), rgba(255, 255, 255, 0.98));
}

.bos-toast-stack {
    position: fixed;
    inset-block-start: 1rem;
    inset-inline-end: 1rem;
    z-index: 1080;
    width: min(26rem, calc(100vw - 2rem));
    pointer-events: none;
}

.bos-toast {
    pointer-events: auto;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.98);
    padding: 0.9rem 1rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(10px);
}

.bos-toast-success {
    border-color: rgba(var(--bs-success-rgb), 0.22);
}

.bos-toast-info {
    border-color: rgba(var(--bs-info-rgb), 0.22);
}

.bos-toast-warning {
    border-color: rgba(var(--bs-warning-rgb), 0.24);
}

.bos-toast-error {
    border-color: rgba(var(--bs-danger-rgb), 0.24);
}

.bos-toast-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.35rem 0.55rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1;
}

.bos-toast-dismiss {
    margin-top: 0.05rem;
}

@media (max-width: 991.98px) {
    .bos-toast-stack {
        inset-block-start: var(--bos-mobile-header-bottom);
        inset-inline-start: 1rem;
        inset-inline-end: 1rem;
        width: auto;
    }
}

.bos-offline-banner {
    margin: 0 1.5rem 1rem 1.5rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.bos-offline-banner.is-offline {
    color: #fff;
    border-color: rgba(30, 41, 59, 0.16);
    background: linear-gradient(135deg, #1f3b77, #234f9c);
}

.bos-offline-banner.is-warning {
    color: #6b3e00;
    border-color: rgba(var(--bs-warning-rgb), 0.28);
    background: linear-gradient(180deg, rgba(255, 243, 205, 0.96), rgba(255, 247, 224, 0.98));
}

.bos-offline-banner.is-syncing {
    color: #0f5132;
    border-color: rgba(var(--bs-success-rgb), 0.2);
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.96), rgba(240, 253, 244, 0.98));
}

.bos-offline-banner-action {
    white-space: nowrap;
}

.bos-offline-banner.is-warning .bos-offline-banner-action,
.bos-offline-banner.is-syncing .bos-offline-banner-action {
    color: inherit;
    border-color: currentColor;
}

.bos-offline-banner.is-warning .bos-offline-banner-action:hover,
.bos-offline-banner.is-warning .bos-offline-banner-action:focus,
.bos-offline-banner.is-syncing .bos-offline-banner-action:hover,
.bos-offline-banner.is-syncing .bos-offline-banner-action:focus {
    color: inherit;
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.2);
}

.bos-offline-snapshot-notice {
    border-radius: 0.95rem;
    border: 1px solid rgba(var(--bs-info-rgb), 0.18);
    background: linear-gradient(180deg, rgba(224, 242, 254, 0.92), rgba(255, 255, 255, 0.98));
}

.bos-scheduler-guard {
    position: relative;
    isolation: isolate;
}

.bos-scheduler-guard.is-busy .k-scheduler {
    pointer-events: none;
}

.bos-scheduler-guard__overlay {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    background: rgba(248, 250, 252, 0.56);
    cursor: wait;
    pointer-events: auto;
}

.template-scheduler-shell .bos-scheduler-guard__overlay {
    min-width: 60rem;
}

.k-scheduler-layout .bos-scheduler-slot.bos-scheduler-slot-busy {
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 193, 7, 0.18) 0 12px,
        rgba(255, 193, 7, 0.06) 12px 24px
    );
}

.k-scheduler-layout .bos-scheduler-slot.bos-scheduler-slot-busy-tentative {
    background-image: repeating-linear-gradient(
        135deg,
        rgba(13, 110, 253, 0.12) 0 12px,
        rgba(13, 110, 253, 0.04) 12px 24px
    );
}

.k-scheduler-layout .bos-scheduler-busy-item {
    pointer-events: auto;
    border-radius: 10px;
    box-shadow: none;
}

.bos-scheduler-drag-disabled .k-event {
    cursor: pointer !important;
    touch-action: manipulation;
}

.bos-scheduler-drag-disabled .k-resize-handle,
.bos-scheduler-drag-disabled .k-event-resize-handle {
    display: none !important;
}

.k-scheduler-layout .bos-scheduler-busy-item .k-event-template,
.k-scheduler-layout .bos-scheduler-busy-item .k-event-content,
.k-scheduler-layout .bos-scheduler-busy-item .k-event-inner {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.k-scheduler-layout .bos-scheduler-busy-item.bos-scheduler-busy-item-busy {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.28), rgba(255, 193, 7, 0.18));
    border: 1px solid rgba(255, 193, 7, 0.55);
    color: #6b5000;
}

.k-scheduler-layout .bos-scheduler-busy-item.bos-scheduler-busy-item-tentative {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.18), rgba(13, 110, 253, 0.1));
    border: 1px solid rgba(13, 110, 253, 0.35);
    color: #0b3d91;
}

.k-scheduler-layout .bos-scheduler-busy-item.bos-scheduler-busy-item-pending-review {
    background: linear-gradient(135deg, rgba(255, 159, 67, 0.24), rgba(255, 193, 7, 0.14));
    border: 1px solid rgba(255, 159, 67, 0.45);
    color: #8a5300;
}

.k-scheduler-layout .bos-scheduler-conflict-item {
    position: relative;
    box-shadow: inset 0 0 0 2px rgba(255, 159, 67, 0.9);
}

.k-scheduler-layout .bos-scheduler-conflict-item.bos-scheduler-conflict-item-urgent {
    box-shadow: inset 0 0 0 2px rgba(220, 53, 69, 0.95);
}

.k-scheduler-layout .bos-scheduler-conflict-item::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 159, 67, 0.95);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.92);
    pointer-events: none;
}

.k-scheduler-layout .bos-scheduler-conflict-item.bos-scheduler-conflict-item-urgent::after {
    background: rgba(220, 53, 69, 0.95);
}

.template-week-calendar {
    display: grid;
    grid-template-columns: repeat(7, minmax(11rem, 1fr));
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.template-week-day {
    min-width: 11rem;
    border: 1px solid var(--default-border);
    border-radius: 0.5rem;
    background: var(--custom-white);
}

.template-week-day-header {
    padding: 0.75rem;
    border-bottom: 1px solid var(--default-border);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(var(--primary-rgb), 0.04);
}

.template-week-day-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 14rem;
    padding: 0.75rem;
}

.template-week-empty {
    display: flex;
    min-height: 4rem;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--default-border);
    border-radius: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.template-slot-card {
    border: 1px solid rgba(var(--primary-rgb), 0.18);
    border-radius: 0.5rem;
    background: rgba(var(--primary-rgb), 0.05);
    padding: 0.75rem;
}

.template-slot-actions {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

@media (max-width: 1199.98px) {
    .template-week-calendar {
        grid-template-columns: repeat(7, minmax(10rem, 1fr));
    }
}

.template-scheduler-shell {
    overflow-x: auto;
}

.template-scheduler-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(8rem, 1fr));
    min-width: 56rem;
    margin-left: 4rem;
    border: 1px solid var(--default-border);
    border-bottom: 0;
    border-radius: 0.5rem 0.5rem 0 0;
    background: rgba(var(--primary-rgb), 0.04);
}

.template-scheduler-days > div {
    padding: 0.65rem 0.75rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    border-inline-end: 1px solid var(--default-border);
}

.template-scheduler-days > div:last-child {
    border-inline-end: 0;
}

.bos-template-scheduler {
    min-width: 60rem;
}

.bos-template-scheduler .k-scheduler-toolbar,
.bos-template-scheduler .k-scheduler-header,
.bos-template-scheduler .k-scheduler-head,
.bos-template-scheduler .k-scheduler-header-wrap {
    display: none;
}
.mobile-assistant-shell {
    width: min(calc(100% - 2rem), 720px);
    max-width: 720px;
    margin: 0 auto;
    padding: calc(env(safe-area-inset-top, 0px) + 1rem) 0 calc(env(safe-area-inset-bottom, 0px) + 1rem);
}

.mobile-assistant-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mobile-assistant-card-header h2 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin: .15rem 0 0;
}

.mobile-assistant-details {
    display: grid;
    gap: .75rem;
    margin: 0 0 1.25rem;
}

.mobile-assistant-details div {
    display: grid;
    grid-template-columns: minmax(7.5rem, 10rem) 1fr;
    gap: .75rem;
    align-items: baseline;
}

.mobile-assistant-details dt {
    color: var(--text-muted, #6c757d);
    font-size: .85rem;
    font-weight: 600;
}

.mobile-assistant-details dd {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.mobile-assistant-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
}

.mobile-assistant-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 2.5rem;
    white-space: normal;
}

.mobile-assistant-actions-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mobile-assistant-empty {
    display: grid;
    justify-items: center;
    gap: .5rem;
    padding: 2rem 1rem;
    text-align: center;
}

.mobile-assistant-empty i {
    color: var(--primary-color, #405188);
    font-size: 2.25rem;
}

.mobile-assistant-empty h2 {
    font-size: 1.25rem;
    margin: 0;
}

@media (max-width: 575.98px) {
    .mobile-assistant-card-header {
        display: grid;
    }

    .mobile-assistant-details div {
        grid-template-columns: 1fr;
        gap: .15rem;
    }

    .mobile-assistant-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile-assistant-actions-two {
        grid-template-columns: 1fr;
    }
}
.follow-up-draft-summary {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.follow-up-draft-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.85rem 1.5rem;
}

.follow-up-draft-row-primary .follow-up-draft-field {
    flex: 1 1 8.5rem;
}

.follow-up-draft-row-secondary .follow-up-draft-field {
    flex: 1 1 12rem;
}

.follow-up-draft-field {
    min-width: 0;
}

.follow-up-draft-field > :last-child {
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .main-content.app-content .bos-mobile-card-grid.k-grid {
        border: 0;
        border-radius: 0;
        background: transparent;
        overflow: visible;
    }

    .main-content.app-content .bos-mobile-card-grid .k-grid-toolbar {
        border: 1px solid rgba(23, 32, 54, 0.08);
        border-radius: 0.75rem;
        background: #fff;
        margin-bottom: 0.85rem;
        padding: 0.75rem;
    }

    .main-content.app-content .bos-mobile-card-grid .k-grid-toolbar .d-flex {
        width: 100%;
    }

    .main-content.app-content .bos-mobile-card-grid .k-grid-toolbar button,
    .main-content.app-content .bos-mobile-card-grid .k-grid-toolbar .k-button,
    .main-content.app-content .bos-mobile-card-grid .k-grid-toolbar [data-tour] {
        flex: 1 1 100%;
        min-width: 0;
    }

    .main-content.app-content .bos-mobile-card-grid .k-grid-header,
    .main-content.app-content .bos-mobile-card-grid colgroup {
        display: none;
    }

    .main-content.app-content .bos-mobile-card-grid .k-grid-container,
    .main-content.app-content .bos-mobile-card-grid .k-grid-content,
    .main-content.app-content .bos-mobile-card-grid .k-table,
    .main-content.app-content .bos-mobile-card-grid .k-grid-table,
    .main-content.app-content .bos-mobile-card-grid .k-table-tbody {
        display: block;
        width: 100% !important;
        overflow: visible !important;
    }

    .main-content.app-content .bos-mobile-card-grid .k-table-row {
        display: block;
        width: 100%;
        margin-bottom: 0.85rem;
        padding: 0.85rem;
        border: 1px solid rgba(23, 32, 54, 0.08);
        border-radius: 0.85rem;
        background: #fff;
        box-shadow: 0 0.45rem 1.2rem rgba(15, 23, 42, 0.06);
    }

    .main-content.app-content .bos-mobile-card-grid .k-table-row:hover {
        background: #fff;
    }

    .main-content.app-content .bos-mobile-card-grid .k-table-td {
        display: grid;
        grid-template-columns: minmax(6.75rem, 38%) minmax(0, 1fr);
        gap: 0.75rem;
        width: 100%;
        min-height: 0;
        padding: 0.45rem 0;
        border: 0;
        color: #172036;
        text-align: right;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .main-content.app-content .bos-mobile-card-grid .k-table-td::before {
        color: #61748f;
        content: "";
        font-weight: 600;
        text-align: left;
    }

    .main-content.app-content .bos-mobile-card-grid .k-table-td:first-child {
        display: block;
        padding-top: 0;
        padding-bottom: 0.7rem;
        border-bottom: 1px solid rgba(23, 32, 54, 0.08);
        color: #172036;
        font-size: 1rem;
        font-weight: 700;
        text-align: left;
    }

    .main-content.app-content .bos-mobile-card-grid .k-table-td:first-child::before {
        display: none;
    }

    .main-content.app-content .bos-mobile-card-grid .k-command-cell::before {
        content: "Actions" !important;
    }

    .main-content.app-content .bos-mobile-card-grid .bos-grid-actions {
        justify-content: flex-end;
    }

    .main-content.app-content .bos-services-grid .k-table-td:nth-child(2)::before { content: "Short name"; }
    .main-content.app-content .bos-services-grid .k-table-td:nth-child(3)::before { content: "Price"; }
    .main-content.app-content .bos-services-grid .k-table-td:nth-child(4)::before { content: "Description"; }
    .main-content.app-content .bos-services-grid .k-table-td:nth-child(5)::before { content: "Duration"; }
    .main-content.app-content .bos-services-grid .k-table-td:nth-child(6)::before { content: "Color"; }
    .main-content.app-content .bos-services-grid .k-table-td:nth-child(7)::before { content: "Active"; }
    .main-content.app-content .bos-services-grid .k-table-td:nth-child(8)::before { content: "Public booking"; }

    .main-content.app-content .bos-locations-grid .k-table-td:nth-child(2)::before { content: "Short name"; }
    .main-content.app-content .bos-locations-grid .k-table-td:nth-child(3)::before { content: "Color"; }
    .main-content.app-content .bos-locations-grid .k-table-td:nth-child(4)::before { content: "Details"; }
    .main-content.app-content .bos-locations-grid .k-table-td:nth-child(5)::before { content: "Active"; }
    .main-content.app-content .bos-locations-grid .k-table-td:nth-child(6)::before { content: "Service area"; }

    .main-content.app-content .bos-employees-grid .k-table-td:nth-child(2)::before { content: "Last name"; }
    .main-content.app-content .bos-employees-grid .k-table-td:nth-child(3)::before { content: "User name"; }
    .main-content.app-content .bos-employees-grid .k-table-td:nth-child(4)::before { content: "Active"; }

    .main-content.app-content .bos-mobile-card-grid .k-table-td:last-child::before {
        content: "Actions";
    }
}
.portal-currency {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
    .main-content.app-content .bos-mobile-card-grid .k-table-td:not(:first-child):not(:last-child) {
        display: none !important;
    }

    .main-content.app-content .bos-mobile-card-grid .k-table-td:first-child {
        font-size: 1rem;
        font-weight: 700;
        color: #111827;
    }

    .main-content.app-content .bos-mobile-card-grid .k-table-td:last-child {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid rgba(148, 163, 184, 0.22);
        margin-top: 0.25rem;
        padding-top: 0.35rem;
    }
}

#components-reconnect-modal {
    display: none !important;
}
.booking-request-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.booking-request-icon-action {
    align-items: center;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.booking-request-propose-action {
    min-height: 2.25rem;
}
.booking-request-actions-menu {
    display: none;
    position: relative;
}

.booking-request-actions-dropdown {
    min-width: 12rem;
}

@media (max-width: 1099.98px) and (min-width: 850px) {
    .booking-requests-grid-shell .booking-request-actions-full {
        display: none;
    }

    .booking-requests-grid-shell .booking-request-actions-menu {
        display: inline-block;
    }
}

.proposal-calendar-preview {
    border: 1px solid var(--default-border);
    border-radius: 0.75rem;
    padding: 1rem;
}

.proposal-calendar-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.proposal-calendar-track {
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 12.5%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.75rem;
    height: 22rem;
    overflow: hidden;
    position: relative;
}

.proposal-calendar-hour {
    color: var(--text-muted);
    font-size: 0.75rem;
    left: 0.75rem;
    position: absolute;
    z-index: 2;
}

.proposal-calendar-hour-start {
    top: 0.5rem;
}

.proposal-calendar-hour-mid {
    top: 50%;
    transform: translateY(-50%);
}

.proposal-calendar-hour-end {
    bottom: 0.5rem;
}

.proposal-calendar-block {
    background: var(--block-color, #6d5dfc);
    border-radius: 0.5rem;
    left: 4rem;
    min-height: 1.5rem;
    overflow: hidden;
    position: absolute;
    right: 0.75rem;
    top: var(--block-top, 0%);
    height: var(--block-height, 8%);
}

.proposal-calendar-block-existing {
    filter: grayscale(1);
    opacity: 0.24;
}

.proposal-calendar-block-proposed {
    box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.18);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    z-index: 3;
}
.proposal-calendar-preview-mobile {
    display: none;
}

.proposal-week-calendar {
    display: grid;
    grid-template-columns: 3.5rem repeat(7, minmax(0, 1fr));
    grid-template-rows: auto 26rem;
    position: relative;
}

.proposal-week-time-axis {
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    grid-column: 1;
    grid-row: 2;
    justify-content: space-between;
    padding: 0.4rem 0.35rem;
}

.proposal-week-day-header {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    grid-column: calc(var(--proposal-day-index) + 1);
    grid-row: 1;
    padding: 0 0.35rem 0.4rem;
    text-align: center;
}

.proposal-week-body {
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 12.5%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.75rem;
    display: grid;
    grid-column: 2 / -1;
    grid-row: 2;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
    position: relative;
}

.proposal-week-body::before {
    background: repeating-linear-gradient(to right, transparent 0, transparent calc((100% / 7) - 1px), rgba(148, 163, 184, 0.22) calc((100% / 7) - 1px), rgba(148, 163, 184, 0.22) calc(100% / 7));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.proposal-week-body .proposal-calendar-block {
    grid-column: var(--proposal-day-index);
    left: 0.25rem;
    right: 0.25rem;
}

@media (max-width: 849.98px) {
    .main-content.app-content .bos-booking-requests-grid.k-grid {
        border: 0;
        background: transparent;
    }

    .main-content.app-content .bos-booking-requests-grid .k-grid-header,
    .main-content.app-content .bos-booking-requests-grid colgroup {
        display: none;
    }

    .main-content.app-content .bos-booking-requests-grid .k-grid-container,
    .main-content.app-content .bos-booking-requests-grid .k-grid-content,
    .main-content.app-content .bos-booking-requests-grid .k-table,
    .main-content.app-content .bos-booking-requests-grid .k-grid-table,
    .main-content.app-content .bos-booking-requests-grid .k-table-tbody {
        background: transparent;
        display: block;
        height: auto !important;
        overflow: visible;
        width: 100%;
    }

    .main-content.app-content .bos-booking-requests-grid .k-table-row {
        background: #fff;
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 0.85rem;
        box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.08);
        display: grid;
        gap: 0.4rem 0.75rem;
        grid-template-columns: auto minmax(0, 1fr);
        margin-bottom: 0.9rem;
        padding: 0.9rem;
    }

    .main-content.app-content .bos-booking-requests-grid .k-table-td {
        border: 0;
        display: block;
        padding: 0;
        white-space: normal;
        width: auto;
    }

    .main-content.app-content .bos-booking-requests-grid .k-table-td:nth-child(1) {
        align-self: start;
        grid-column: 1;
        grid-row: 1 / span 2;
        padding-top: 0.15rem;
    }

    .main-content.app-content .bos-booking-requests-grid .k-table-td:nth-child(2) {
        grid-column: 2;
    }

    .main-content.app-content .bos-booking-requests-grid .k-table-td:nth-child(3),
    .main-content.app-content .bos-booking-requests-grid .k-table-td:nth-child(4) {
        grid-column: 1 / -1;
    }

    .main-content.app-content .bos-booking-requests-grid .k-table-td:nth-child(3)::before {
        color: var(--text-muted);
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        margin-bottom: 0.2rem;
    }

    .main-content.app-content .bos-booking-requests-grid .k-table-td:nth-child(3)::before {
        content: "Requested";
    }

    .main-content.app-content .bos-booking-requests-grid .booking-request-actions {
        border-top: 1px solid rgba(148, 163, 184, 0.18);
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 0.75rem;
        width: 100%;
    }

    .main-content.app-content .bos-booking-requests-grid .booking-request-icon-action {
        height: 2.5rem;
        width: 2.5rem;
    }

    .main-content.app-content .bos-booking-requests-grid .booking-request-propose-action {
        width: 100%;
    }

    .proposal-calendar-preview {
        padding: 0.75rem;
    }

    .proposal-calendar-preview-desktop {
        display: none;
    }

    .proposal-calendar-preview-mobile {
        display: block;
    }

    .proposal-calendar-track {
        height: 18rem;
    }

    .proposal-calendar-block {
        left: 3.25rem;
        right: 0.5rem;
    }
}

@media (max-width: 849.98px) {
    .booking-requests-grid-shell .k-grid {
        background: transparent !important;
        border: 0 !important;
        overflow: visible !important;
    }

    .booking-requests-grid-shell .k-grid-header,
    .booking-requests-grid-shell colgroup {
        display: none !important;
    }

    .booking-requests-grid-shell .k-grid-container,
    .booking-requests-grid-shell .k-grid-content,
    .booking-requests-grid-shell .k-grid-table-wrap,
    .booking-requests-grid-shell .k-table,
    .booking-requests-grid-shell .k-grid-table,
    .booking-requests-grid-shell tbody,
    .booking-requests-grid-shell .k-table-tbody {
        background: transparent !important;
        display: block !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        width: 100% !important;
    }

    .booking-requests-grid-shell tr.k-table-row,
    .booking-requests-grid-shell .k-table-row {
        background: #fff !important;
        border: 1px solid rgba(148, 163, 184, 0.2) !important;
        border-radius: 0.85rem !important;
        box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.08) !important;
        display: grid !important;
        gap: 0.45rem 0.75rem !important;
        grid-template-columns: auto minmax(0, 1fr) !important;
        margin-bottom: 0.9rem !important;
        padding: 0.9rem !important;
        width: 100% !important;
    }

    .booking-requests-grid-shell td.k-table-td,
    .booking-requests-grid-shell .k-table-td,
    .booking-requests-grid-shell td[role="gridcell"] {
        border: 0 !important;
        display: block !important;
        min-width: 0 !important;
        padding: 0 !important;
        white-space: normal !important;
        width: auto !important;
    }

    .booking-requests-grid-shell .k-table-td:nth-child(1),
    .booking-requests-grid-shell td[role="gridcell"]:nth-child(1) {
        align-self: start !important;
        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;
        padding-top: 0.15rem !important;
    }

    .booking-requests-grid-shell .k-table-td:nth-child(2),
    .booking-requests-grid-shell td[role="gridcell"]:nth-child(2) {
        display: block !important;
        grid-column: 2 !important;
        font-weight: 700 !important;
    }

    .booking-requests-grid-shell .k-table-td:nth-child(3),
    .booking-requests-grid-shell .k-table-td:nth-child(4),
    .booking-requests-grid-shell td[role="gridcell"]:nth-child(3),
    .booking-requests-grid-shell td[role="gridcell"]:nth-child(4) {
        display: block !important;
        grid-column: 1 / -1 !important;
    }

    .booking-requests-grid-shell .k-table-td:nth-child(3)::before,
    .booking-requests-grid-shell td[role="gridcell"]:nth-child(3)::before {
        color: var(--text-muted) !important;
        display: block !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        margin-bottom: 0.2rem !important;
        text-align: left !important;
    }

    .booking-requests-grid-shell .k-table-td:nth-child(3)::before,
    .booking-requests-grid-shell td[role="gridcell"]:nth-child(3)::before {
        content: "Requested" !important;
    }

    .booking-requests-grid-shell .booking-request-actions {
        border-top: 1px solid rgba(148, 163, 184, 0.18) !important;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        padding-top: 0.75rem !important;
        width: 100% !important;
    }
    .booking-requests-grid-shell .booking-request-actions-full {
        display: grid !important;
    }

    .booking-requests-grid-shell .booking-request-actions-menu {
        display: none !important;
    }
}
@media (max-width: 849.98px) {
    .booking-request-bulk-toolbar {
        display: none !important;
    }

    .booking-requests-grid-shell tr.k-table-row,
    .booking-requests-grid-shell .k-table-row {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .booking-requests-grid-shell .k-table-td:nth-child(1),
    .booking-requests-grid-shell td[role="gridcell"]:nth-child(1) {
        display: none !important;
    }

    .booking-requests-grid-shell .k-table-td:nth-child(2),
    .booking-requests-grid-shell td[role="gridcell"]:nth-child(2) {
        grid-column: 1 / -1 !important;
    }

    .booking-requests-grid-shell .booking-request-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 575.98px) {
    .booking-request-decision-window.k-window {
        left: 50% !important;
        max-height: 88vh !important;
        max-width: 94vw !important;
        right: auto !important;
        top: 6vh !important;
        transform: translateX(-50%) !important;
        width: 94vw !important;
    }

    .booking-request-decision-window .k-window-content {
        max-height: calc(88vh - 8.5rem) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 0.85rem !important;
    }

    .booking-request-decision-window .k-window-titlebar,
    .booking-request-decision-window .k-window-footer {
        padding: 0.75rem 0.85rem !important;
    }

    .booking-request-decision-window label.border,
    .booking-request-decision-window label.border span {
        min-width: 0 !important;
        overflow-wrap: anywhere !important;
    }

    .booking-request-decision-window label.border {
        padding: 0.65rem !important;
    }
}
.proposal-month-grid {
    display: grid;
    gap: 0.35rem;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.proposal-month-weekday {
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
}

.proposal-month-day {
    align-items: center;
    aspect-ratio: 1;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 0.5rem;
    color: var(--default-text-color);
    display: inline-flex;
    font-size: 0.85rem;
    justify-content: center;
    min-width: 0;
    padding: 0;
    position: relative;
}

.proposal-month-day.has-slots::after {
    background: var(--primary-color);
    border-radius: 999px;
    bottom: 0.22rem;
    content: "";
    height: 0.28rem;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 0.28rem;
}

.proposal-month-day.is-muted {
    color: var(--text-muted);
    opacity: 0.58;
}

.proposal-month-day.is-selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.proposal-month-day.is-selected::after {
    background: #fff;
}

.proposal-month-day:disabled {
    background: rgba(248, 250, 252, 0.75);
    color: rgba(100, 116, 139, 0.55);
    cursor: not-allowed;
}

.proposal-mobile-slots .btn {
    justify-content: center;
}
@media (max-width: 575.98px) {
    .booking-request-confirm-window.k-window {
        left: 50% !important;
        max-height: 82vh !important;
        max-width: 92vw !important;
        right: auto !important;
        top: 9vh !important;
        transform: translateX(-50%) !important;
        width: 92vw !important;
    }

    .booking-request-confirm-window .k-window-content {
        max-height: calc(82vh - 8rem) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 0.85rem !important;
    }

    .booking-request-confirm-window .k-window-titlebar,
    .booking-request-confirm-window .k-window-footer {
        padding: 0.75rem 0.85rem !important;
    }

    .booking-request-confirm-window .border {
        overflow-wrap: anywhere !important;
    }
}
@media (max-width: 767.98px) {
    .booking-request-approve-window.k-window {
        left: 50% !important;
        max-height: 88vh !important;
        max-width: 94vw !important;
        right: auto !important;
        top: 6vh !important;
        transform: translateX(-50%) !important;
        width: 94vw !important;
    }

    .booking-request-approve-window .k-window-titlebar,
    .booking-request-approve-window .k-window-footer {
        padding: 0.65rem 0.85rem !important;
    }

    .booking-request-approve-window .k-window-content {
        max-height: calc(88vh - 8rem) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 0.85rem !important;
    }

    .booking-request-approve-window .review-window-title {
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 0.25rem !important;
        min-width: 0 !important;
    }

    .booking-request-approve-window .review-window-title span,
    .booking-request-approve-window .alert,
    .booking-request-approve-window .border,
    .booking-request-approve-window .text-muted,
    .booking-request-approve-window li {
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    .booking-request-approve-window .k-window-footer .d-flex {
        align-items: stretch !important;
        flex-direction: column-reverse !important;
    }

    .booking-request-approve-window .k-window-footer .btn {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

@media (max-height: 520px) and (orientation: landscape) {
    .booking-request-approve-window.k-window {
        max-height: 84vh !important;
        top: 8vh !important;
    }

    .booking-request-approve-window .k-window-content {
        max-height: calc(84vh - 7rem) !important;
    }
}
@media (max-width: 767.98px) {
    .schedule-action-toolbar {
        align-items: stretch !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .schedule-action-toolbar .btn {
        width: 100% !important;
    }

    .bos-scheduler-settings-window.k-window {
        left: 50% !important;
        max-height: 86vh !important;
        max-width: 94vw !important;
        right: auto !important;
        top: 7vh !important;
        transform: translateX(-50%) !important;
        width: 94vw !important;
    }

    .bos-scheduler-settings-window .k-window-content {
        max-height: calc(86vh - 8rem) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        padding: 0.85rem !important;
    }

    .bos-scheduler-settings-window .k-window-titlebar,
    .bos-scheduler-settings-window .k-window-footer {
        padding: 0.75rem 0.85rem !important;
    }

    .bos-scheduler-settings-window .k-window-footer .d-flex {
        align-items: stretch !important;
        flex-direction: column-reverse !important;
    }

    .bos-scheduler-settings-window .k-window-footer .btn {
        width: 100% !important;
    }
}

@media (max-height: 520px) and (orientation: landscape) {
    .bos-scheduler-settings-window.k-window {
        max-height: 84vh !important;
        top: 8vh !important;
    }

    .bos-scheduler-settings-window .k-window-content {
        max-height: calc(84vh - 7rem) !important;
    }
}
.proposal-calendar-slot {
    background: rgba(16, 185, 129, 0.08);
    border: 1px dashed rgba(16, 185, 129, 0.55);
    border-radius: 0.45rem;
    color: transparent;
    cursor: pointer;
    height: var(--block-height, 8%);
    min-height: 1.75rem;
    overflow: hidden;
    padding: 0;
    position: absolute;
    top: var(--block-top, 0%);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    z-index: 2;
}

.proposal-calendar-slot:hover,
.proposal-calendar-slot:focus-visible {
    background: rgba(16, 185, 129, 0.16);
    border-color: rgba(16, 185, 129, 0.9);
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
    outline: none;
}

.proposal-calendar-slot.is-selected {
    opacity: 0;
    pointer-events: none;
}

.proposal-week-body .proposal-calendar-slot {
    grid-column: var(--proposal-day-index);
    left: 0.25rem;
    right: 0.25rem;
}

.proposal-day-calendar {
    display: grid;
    grid-template-columns: 3.5rem minmax(0, 1fr);
    min-height: 26rem;
}

.proposal-day-time-axis {
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    font-size: 0.75rem;
    justify-content: space-between;
    padding: 0.4rem 0.35rem;
}

.proposal-day-body {
    background: linear-gradient(to bottom, rgba(148, 163, 184, 0.12) 0 1px, transparent 1px 12.5%);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
}

.proposal-day-body .proposal-calendar-block,
.proposal-day-body .proposal-calendar-slot {
    left: 0.5rem;
    right: 0.5rem;
}

.proposal-day-body .proposal-calendar-block-proposed {
    font-size: 0.85rem;
    line-height: 1.25;
}

.proposal-calendar-header-mobile {
    align-items: center;
    text-align: center;
}

.proposal-calendar-block-proposed {
    pointer-events: none;
}

.proposal-calendar-block-proposed {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.proposal-calendar-preview {
    position: relative;
}

.proposal-calendar-loading-overlay {
    align-items: center;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 0.75rem;
    color: var(--default-text-color);
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    position: absolute;
    z-index: 10;
}

.proposal-calendar-header-with-nav {
    align-items: center;
}
