﻿.attendant-workforce-planner { min-width: 0; }
.attendant-planner-heading { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:12px; }
.attendant-planner-heading h1 { margin-bottom:4px; }
.attendant-planner-heading p { margin:0; color:#64748b; }
.attendant-planner-commandbar { position:sticky; top:0; z-index:20; display:flex; gap:10px; align-items:end; flex-wrap:wrap; padding:10px 12px; border:1px solid #dbe4ef; border-radius:12px; background:rgba(255,255,255,.96); box-shadow:0 8px 22px rgba(15,23,42,.06); backdrop-filter:blur(8px); }
.attendant-planner-field { min-width:145px; }
.attendant-planner-field.site { min-width:220px; flex:1 1 240px; max-width:340px; }
.attendant-planner-field.compact { min-width:105px; }
.attendant-planner-field label { display:block; margin:0 0 4px; color:#64748b; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.04em; }
.attendant-planner-view-toggle { display:inline-flex; border:1px solid #cbd5e1; border-radius:9px; overflow:hidden; margin-left:auto; }
.attendant-planner-view-toggle button { border:0; background:#fff; padding:8px 13px; color:#475569; font-weight:800; }
.attendant-planner-view-toggle button.active { background:#0f4c81; color:#fff; }
.attendant-planner-status-strip { display:grid; grid-template-columns:repeat(6,minmax(110px,1fr)); gap:8px; margin-top:10px; }
.status-item { display:flex; align-items:center; justify-content:space-between; gap:8px; border:1px solid #dbe4ef; border-radius:10px; background:#fff; padding:8px 10px; text-align:left; }
.status-item span { color:#64748b; font-size:12px; font-weight:700; }
.status-item strong { font-size:18px; }
.status-item.ok strong { color:#166534; }
.status-item.danger { border-color:#fecaca; background:#fff7f7; }
.status-item.danger strong { color:#b91c1c; }
.attendant-planner-blocking { margin-top:10px; }
.attendant-planner-workspace { display:grid; grid-template-columns:260px minmax(0,1fr); gap:12px; margin-top:10px; min-height:620px; height:calc(100vh - 290px); }
.attendant-planner-sidebar { min-width:0; border:1px solid #dbe4ef; border-radius:12px; background:#fff; overflow:hidden; display:flex; flex-direction:column; }
.attendant-planner-sidebar.collapsed { width:44px; }
.attendant-planner-sidebar-head { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:10px; border-bottom:1px solid #e2e8f0; }
.attendant-planner-sidebar-head div { display:flex; flex-direction:column; min-width:0; }
.attendant-planner-sidebar-head span { color:#64748b; font-size:11px; }
.attendant-planner-sidebar-head button { border:0; background:#eef3f8; border-radius:7px; width:28px; height:28px; font-size:20px; }
.attendant-planner-sidebar-body { display:flex; flex-direction:column; gap:8px; padding:10px; min-height:0; flex:1; }
.attendant-planner-resource-list { overflow:auto; min-height:0; display:flex; flex-direction:column; gap:6px; }
.attendant-planner-resource { border:1px solid #dbe4ef; border-radius:9px; background:#fff; padding:8px 9px; text-align:left; display:flex; flex-direction:column; }
.attendant-planner-resource:hover { background:#f8fafc; }
.attendant-planner-resource.active { border-color:#0f4c81; background:#eaf3fb; }
.employee-name { font-weight:800; color:#1e293b; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.employee-meta { color:#64748b; font-size:11px; }
.attendant-planner-focus-chip { display:flex; justify-content:space-between; align-items:center; gap:6px; background:#dbeafe; color:#1e3a8a; border-radius:8px; padding:7px 8px; font-size:11px; }
.attendant-planner-focus-chip button { border:0; background:transparent; font-size:18px; color:inherit; }
.attendant-planner-surface-card { min-width:0; overflow:hidden; display:flex; flex-direction:column; }
.attendant-planner-surface-head { display:flex; justify-content:space-between; gap:12px; padding:10px 14px; border-bottom:1px solid #e2e8f0; }
.attendant-planner-surface-head div { display:flex; flex-direction:column; }
.attendant-planner-surface-head span { color:#64748b; font-size:12px; }
.attendant-planner-surface-body { padding:0 !important; min-height:0; flex:1; }
.attendant-planner-host { width:100%; height:100%; min-height:580px; background:#fff; }
.attendant-planner-loading { color:#0f4c81 !important; font-weight:800; }
.attendant-planner-details { margin-top:12px; }
.attendant-planner-detail-tabs { display:flex; gap:4px; padding:8px 10px 0; border-bottom:1px solid #e2e8f0; }
.attendant-planner-detail-tabs button { border:0; background:transparent; padding:9px 12px; color:#64748b; font-weight:800; border-bottom:3px solid transparent; }
.attendant-planner-detail-tabs button.active { color:#0f4c81; border-bottom-color:#0f4c81; }
.attendant-planner-detail-body { padding-top:12px; }
.attendant-planner-inline-actions { display:flex; gap:6px; align-items:center; flex-wrap:wrap; }
.attendant-planner-lock-toolbar { display:flex; justify-content:space-between; align-items:end; gap:12px; flex-wrap:wrap; }
.attendant-planner-lock-toolbar h2, .attendant-planner-lock-toolbar p { margin:0; }
.attendant-planner-subheading { margin-top:20px; }
.homyn-gantt-task { height:100%; border-radius:4px; padding:2px 6px; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.homyn-gantt-task-warning { background:#fee2e2!important; border:2px solid #ef4444!important; color:#7f1d1d!important; }
.homyn-gantt-task-conflict { background:repeating-linear-gradient(135deg,#fecaca,#fecaca 8px,#fee2e2 8px,#fee2e2 16px)!important; border:2px solid #b91c1c!important; color:#7f1d1d!important; }
.homyn-gantt-task-locked { outline:2px solid #475569!important; background-image:repeating-linear-gradient(135deg,rgba(71,85,105,.18),rgba(71,85,105,.18) 6px,rgba(255,255,255,.15) 6px,rgba(255,255,255,.15) 12px)!important; }
.homyn-gantt-task-locked::before { content:"🔒 "; }
@media(max-width:1200px){.attendant-planner-status-strip{grid-template-columns:repeat(3,minmax(0,1fr));}.attendant-planner-workspace{grid-template-columns:220px minmax(0,1fr);}}
@media(max-width:800px){.attendant-planner-workspace{grid-template-columns:1fr;height:auto;}.attendant-planner-sidebar{max-height:260px}.attendant-planner-status-strip{grid-template-columns:repeat(2,minmax(0,1fr));}.attendant-planner-host{min-height:620px}.attendant-planner-commandbar{position:static}.attendant-planner-view-toggle{margin-left:0}}

/* Phase 4.1 compact planner control deck */
.attendant-planner-control-deck {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 14px;
    align-items: stretch;
    padding: 12px;
    border: 1px solid #dbe4ef;
    background: #fff;
}

.attendant-planner-filter-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.35fr) repeat(2, minmax(135px, .75fr)) minmax(115px, .55fr) minmax(115px, .55fr);
    gap: 8px 10px;
    align-items: end;
    min-width: 0;
}

.attendant-planner-filter-grid .attendant-planner-field {
    min-width: 0;
}

.attendant-planner-filter-grid .attendant-planner-field.site {
    min-width: 0;
    max-width: none;
}

.attendant-planner-filter-grid .attendant-planner-field label {
    margin-bottom: 3px;
}

.attendant-planner-action-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding-top: 2px;
}

.attendant-view-button.active.dxbl-btn,
.attendant-view-button.active .dxbl-btn {
    background: #0f4c81 !important;
    border-color: #0f4c81 !important;
    color: #fff !important;
}

.attendant-planner-metric-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(105px, 1fr));
    grid-template-rows: repeat(2, minmax(48px, 1fr));
    gap: 8px;
    align-self: stretch;
}

.attendant-metric-button.dxbl-btn,
.attendant-metric-button .dxbl-btn {
    width: 100%;
    height: 100%;
    min-height: 48px;
    justify-content: flex-start;
    text-align: left;
    font-weight: 800;
    border-radius: 9px;
}

.attendant-metric-button.neutral.dxbl-btn,
.attendant-metric-button.neutral .dxbl-btn {
    background: #eef5fb !important;
    border-color: #bfd4e6 !important;
    color: #163b5c !important;
}

.attendant-metric-button.ok.dxbl-btn,
.attendant-metric-button.ok .dxbl-btn {
    background: #edf8f0 !important;
    border-color: #b7dfc1 !important;
    color: #166534 !important;
}

.attendant-metric-button.danger.dxbl-btn,
.attendant-metric-button.danger .dxbl-btn {
    background: #fff1f1 !important;
    border-color: #f4b9b9 !important;
    color: #a61b1b !important;
}

.attendant-planner-workspace {
    height: calc(100vh - 245px);
    min-height: 650px;
}

@media (max-width: 1280px) {
    .attendant-planner-control-deck {
        grid-template-columns: 1fr;
    }

    .attendant-planner-metric-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .attendant-planner-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .attendant-planner-filter-grid .attendant-planner-field.site {
        grid-column: 1 / -1;
    }
}

/* Phase 4.2 task-driven workforce planner */
.attendant-schedule-command-center {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 14px;
    padding: 12px;
    border: 1px solid #dbe4ef;
    background: #fff;
}

.attendant-schedule-workflow {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.attendant-schedule-instruction {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.attendant-schedule-instruction > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.attendant-schedule-instruction strong {
    color: #123b5d;
    font-size: 15px;
}

.attendant-schedule-instruction span:not(.attendant-step-number) {
    color: #64748b;
    font-size: 12px;
}

.attendant-step-number {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0f4c81;
    color: #fff;
    font-weight: 900;
}

.attendant-schedule-controls {
    display: grid;
    grid-template-columns:
        minmax(210px, .9fr)
        minmax(240px, 1.15fr)
        minmax(210px, .85fr);
    grid-template-areas:
        "site week period"
        "pool employee employee";
    gap: 12px 12px;
    align-items: end;
}

.attendant-site-context,
.attendant-week-context {
    min-height: 58px;
    padding: 7px 10px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #f8fbfe;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attendant-site-context label,
.attendant-week-context label {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.attendant-site-context strong,
.attendant-week-context strong {
    color: #163b5c;
    line-height: 1.2;
}

.attendant-site-context span,
.attendant-week-context span {
    color: #64748b;
    font-size: 10px;
}

.attendant-schedule-controls .attendant-planner-field.site,
.attendant-schedule-controls .attendant-site-context {
    grid-area: site;
}

.attendant-schedule-controls .attendant-planner-field.week {
    grid-area: week;
}

.attendant-schedule-controls .attendant-week-context {
    grid-area: period;
}

.attendant-schedule-controls .attendant-planner-field.pool {
    grid-area: pool;
}

.attendant-schedule-controls .attendant-planner-field.employee {
    grid-area: employee;
}

.attendant-schedule-controls .attendant-planner-field,
.attendant-schedule-controls .attendant-site-context,
.attendant-schedule-controls .attendant-week-context {
    min-width: 0;
    margin: 0;
}

.attendant-schedule-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 2px;
}

.attendant-scale-selector {
    width: 112px;
}

.attendant-schedule-status {
    min-width: 0;
    padding: 10px;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #f8fbfe;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.attendant-schedule-status-head,
.attendant-schedule-next-action {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
}

.attendant-schedule-status-head strong,
.attendant-schedule-next-action strong {
    color: #163b5c;
}

.attendant-schedule-status-head span,
.attendant-schedule-next-action span {
    color: #64748b;
    font-size: 11px;
}

.attendant-schedule-next-action {
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #dbe4ef;
}

.attendant-schedule-status .attendant-planner-metric-grid {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    grid-template-rows: repeat(2, 46px);
}

.attendant-schedule-status .attendant-metric-button.dxbl-btn,
.attendant-schedule-status .attendant-metric-button .dxbl-btn {
    min-height: 46px;
    padding-inline: 8px;
    font-size: 12px;
}

.attendant-planner-workspace.task-driven {
    display: block;
    height: calc(100vh - 265px);
    min-height: 650px;
    margin-top: 10px;
}

.attendant-planner-surface-guidance {
    align-items: flex-end;
    text-align: right;
}

.attendant-planner-surface-guidance > span:first-child {
    max-width: 440px;
}

@media (max-width: 1180px) {
    .attendant-schedule-command-center {
        grid-template-columns: 1fr;
    }

    .attendant-schedule-controls {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .attendant-schedule-controls {
        grid-template-columns: 1fr;
    }

    .attendant-schedule-controls > * {
        grid-column: 1 !important;
        grid-row: auto !important;
    }

    .attendant-schedule-status .attendant-planner-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .attendant-planner-workspace.task-driven {
        height: auto;
    }
}

.attendant-planner-detail-tabs .attendant-detail-button.dxbl-btn,
.attendant-planner-detail-tabs .attendant-detail-button .dxbl-btn {
    border-radius: 7px 7px 0 0;
    border-bottom-width: 3px;
}

.attendant-planner-detail-tabs .attendant-detail-button.active.dxbl-btn,
.attendant-planner-detail-tabs .attendant-detail-button.active .dxbl-btn {
    background: #eaf3fb !important;
    border-color: #a9c8df !important;
    border-bottom-color: #0f4c81 !important;
    color: #0f4c81 !important;
}


.attendant-shift-modal {
    width: min(92vw, 760px);
}

.attendant-shift-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.attendant-shift-form .attendant-planner-inline-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
}

@media (max-width: 760px) {
    .attendant-shift-form {
        grid-template-columns: 1fr;
    }
}

.attendant-planner-surface-body{position:relative}.attendant-planner-empty-overlay{position:absolute;inset:58px 18px 18px;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #a9c8df;border-radius:12px;background:rgba(248,251,254,.97);text-align:center;color:#64748b}.attendant-planner-empty-overlay>span{font-size:40px;color:#0f4c81}.attendant-planner-empty-overlay strong{color:#123b5d;font-size:18px}.attendant-planner-empty-overlay p{margin:0}.attendant-planner-host.empty{opacity:.16}
.homyn-dx-gantt,.homyn-dx-scheduler{font-family:inherit;color:#163b5c}.homyn-dx-scheduler .dx-scheduler-header-panel,.homyn-dx-scheduler .dx-scheduler-navigator,.homyn-dx-scheduler .dx-scheduler-view-switcher{background:#f8fbfe;color:#163b5c}.homyn-dx-scheduler .dx-scheduler-header-panel-cell,.homyn-dx-scheduler .dx-scheduler-time-panel-cell,.homyn-dx-scheduler .dx-scheduler-date-table-cell{border-color:#dbe4ef}.homyn-dx-scheduler .dx-scheduler-header-panel-cell{font-weight:800;color:#123b5d}.homyn-dx-scheduler .dx-scheduler-date-table-current-date{background:rgba(15,76,129,.06)}
.homyn-scheduler-appointment{display:flex;flex-direction:column;height:100%;padding:4px 6px;border-radius:5px;overflow:hidden;background:#0f4c81;color:#fff}.homyn-scheduler-appointment.leave{background:#7b4d91}.homyn-scheduler-appointment strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.homyn-scheduler-appointment span{opacity:.82;font-size:9px}


/* DevExpress editors hosted from the Add Shift modal */
body > .dx-overlay-wrapper,
body > .dxbl-popup,
body > .dxbl-popup-root,
body > .dxbl-dropdown-list,
body > [class*="dxbl-popup"],
body > [class*="dxbl-dropdown"] {
    z-index: 1300 !important;
}


/* Phase 5.2 — Serilog / Email compact operational language */
.attendant-workforce-planner,
.attendant-workforce-admin-page,
.attendant-my-workforce-page {
    --attendant-control-height: 32px;
    --attendant-compact-gap: 8px;
}

.attendant-workforce-planner .dxbl-input-editor,
.attendant-workforce-planner .dxbl-text-edit,
.attendant-workforce-planner .dxbl-combobox,
.attendant-workforce-planner .dxbl-date-edit,
.attendant-workforce-admin-page .dxbl-input-editor,
.attendant-workforce-admin-page .dxbl-text-edit,
.attendant-workforce-admin-page .dxbl-combobox,
.attendant-workforce-admin-page .dxbl-date-edit,
.attendant-workforce-admin-page .dxbl-spin-edit,
.attendant-my-workforce-page .dxbl-input-editor,
.attendant-my-workforce-page .dxbl-text-edit,
.attendant-my-workforce-page .dxbl-combobox,
.attendant-my-workforce-page .dxbl-date-edit,
.attendant-my-workforce-page .dxbl-spin-edit {
    min-height: var(--attendant-control-height) !important;
    height: var(--attendant-control-height) !important;
    font-size: 12px !important;
}

.attendant-workforce-planner .dxbl-btn,
.attendant-workforce-admin-page .dxbl-btn,
.attendant-my-workforce-page .dxbl-btn {
    min-height: 30px;
    padding: 4px 10px;
    font-size: 11px;
    line-height: 1.1;
}

.attendant-workforce-planner label,
.attendant-workforce-admin-page .form-label,
.attendant-my-workforce-page .form-label {
    margin-bottom: 3px;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #5f7184;
}

.attendant-dense-grid.dxbl-grid,
.attendant-dense-grid .dxbl-grid {
    font-size: 11px;
}
.attendant-dense-grid .dxbl-grid-table > thead > tr > th,
.attendant-dense-grid .dxbl-grid-table > tbody > tr > td {
    padding: 5px 8px !important;
    line-height: 1.15;
    vertical-align: middle;
}
.attendant-dense-grid .dxbl-grid-table > thead > tr > th {
    height: 30px;
    background: #f3f6f9;
    color: #42566a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}
.attendant-dense-grid .dxbl-grid-table > tbody > tr:nth-child(even) > td { background: #fbfcfd; }
.attendant-dense-grid .dxbl-grid-table > tbody > tr:hover > td { background: #edf5fb; }

.attendant-workflow-progress {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    margin-bottom: 8px;
}
.attendant-workflow-step {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    background: #fff;
}
.attendant-workflow-step > span {
    flex: 0 0 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8eef5;
    color: #244463;
    font-weight: 800;
    font-size: 11px;
}
.attendant-workflow-step.active { border-color: #9fc3df; background: #f4f9ff; }
.attendant-workflow-step.active > span { background: #0f6cbd; color: #fff; }
.attendant-workflow-step div { min-width:0;display:flex;flex-direction:column; }
.attendant-workflow-step strong { color:#14324d;font-size:11px;line-height:1.1; }
.attendant-workflow-step small { color:#6c7f92;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis; }

.attendant-ops-metrics-strip,
.attendant-admin-metrics-strip {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}
.attendant-ops-metric,
.attendant-admin-metric {
    position:relative;
    min-width:0;
    min-height:66px;
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-rows:auto auto;
    column-gap:8px;
    padding:9px 10px 8px 14px;
    border:1px solid #d7e0ea;
    border-radius:10px;
    background:#fff;
    box-shadow:0 4px 12px rgba(15,30,58,.05);
    overflow:hidden;
    cursor:pointer;
}
.attendant-ops-metric::before,
.attendant-admin-metric::before { content:"";position:absolute;inset:0 auto 0 0;width:5px;background:#7d8ea3; }
.attendant-ops-metric.warning::before,.attendant-admin-metric.warning::before{background:#f0a23b}
.attendant-ops-metric.danger::before,.attendant-admin-metric.danger::before{background:#dc2828}
.attendant-ops-metric.info::before,.attendant-admin-metric.info::before{background:#5486ff}
.attendant-ops-metric.ok::before,.attendant-admin-metric.ok::before{background:#19914b}
.attendant-ops-metric.attention.warning,.attendant-admin-metric.warning{background:linear-gradient(180deg,#fffaf0 0%,#fff 100%)}
.attendant-ops-metric.attention.danger,.attendant-admin-metric.danger{background:linear-gradient(180deg,#fff5f5 0%,#fff 100%)}
.attendant-ops-metric-label,
.attendant-admin-metric > span { align-self:end;color:#5f7184;font-size:9px;line-height:1.05;font-weight:800;letter-spacing:.07em;text-transform:uppercase; }
.attendant-ops-metric-value,
.attendant-admin-metric > strong { grid-row:1 / span 2;grid-column:2;align-self:center;color:#14324d;font-size:1.35rem;line-height:1;font-weight:800; }
.attendant-ops-metric small,
.attendant-admin-metric small { color:#718399;font-size:9px;line-height:1.05; }

.attendant-schedule-command-center { padding: 10px 12px; }
.attendant-schedule-controls { gap: 8px 10px; }
.attendant-schedule-actions { gap: 6px; margin-top: 8px; }
.attendant-schedule-status { padding: 9px; }
.attendant-schedule-status-head { margin-bottom: 7px; }
.attendant-planner-surface-head,
.attendant-employee-panel-head { padding: 8px 10px !important; min-height: 44px; }
.attendant-planner-detail-body,
.attops-modal-body { padding: 12px !important; }
.attops-modal-head { padding: 10px 12px !important; }
.attops-modal-head h3 { font-size: 17px; }
.attendant-leave-balance-card { padding: 10px !important; }

@media(max-width:900px){
 .attendant-workflow-progress{grid-template-columns:1fr}
 .attendant-ops-metrics-strip,.attendant-admin-metrics-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* Phase 6.1 pool-lane and timezone-safe planner */
.homyn-gantt-pool-summary {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 8px;
    border-radius: 5px;
    background: #dceaf5;
    color: #123b5d;
    font-weight: 900;
    letter-spacing: .01em;
}

.homyn-dx-gantt .dx-gantt-task-list-row:has(.homyn-gantt-pool-summary) {
    background: #f3f8fc;
    font-weight: 900;
}

.homyn-dx-scheduler .dx-scheduler-group-header {
    background: #eef6fc;
    color: #123b5d;
    font-weight: 900;
    border-color: #cbdbe8;
}

.homyn-dx-scheduler .dx-scheduler-group-header-content {
    padding: 7px 9px;
}

.attendant-schedule-controls .dxbl-text-edit,
.attendant-schedule-controls .dxbl-combobox {
    width: 100%;
}

@media (max-width: 1050px) {
    .attendant-schedule-controls {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "site week"
            "period period"
            "pool employee";
    }
}

@media (max-width: 700px) {
    .attendant-schedule-controls {
        grid-template-columns: 1fr;
        grid-template-areas:
            "site"
            "week"
            "period"
            "pool"
            "employee";
    }
}
