body.page-dialup {
    position: static;
    width: auto;
    height: auto;
    overflow: auto;
    min-height: 100vh;
    font-family: "Aptos", "Segoe UI", sans-serif;
    color: #17315f;
    background: #edf1f6;
}

@media (min-width: 1024px) {
    body.page-dialup .dialup-data-row.is-import-warning td {
        background-color: #fffdf7;
    }

    body.page-dialup .dialup-data-row.is-import-synthetic td {
        color: #6f5a32;
    }

    body.page-dialup .dialup-inline-shift--static {
        cursor: default;
    }

    body.page-dialup .dialup-view-import {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
    }
}

body.page-dialup .dialup-shift-result-cell {
    min-width: 150px;
}

body.page-dialup .dialup-shift-result-select,
body.page-dialup .dialup-mobile-shift-result-select {
    width: 100%;
    min-height: 34px;
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--waker-status-neutral-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--waker-status-neutral-text);
    font: inherit;
    font-weight: 700;
}

body.page-dialup .dialup-shift-result-select--showed-up,
body.page-dialup .dialup-mobile-shift-result-select--showed-up {
    border-color: var(--waker-status-success-border);
    background: var(--waker-status-success-bg);
    color: var(--waker-status-success-text);
}

body.page-dialup .dialup-shift-result-select--valid,
body.page-dialup .dialup-mobile-shift-result-select--valid {
    border-color: var(--waker-status-warning-border);
    background: var(--waker-status-warning-bg);
    color: var(--waker-status-warning-text);
}

body.page-dialup .dialup-shift-result-select--no-reason,
body.page-dialup .dialup-mobile-shift-result-select--no-reason {
    border-color: var(--waker-status-danger-border);
    background: var(--waker-status-danger-bg);
    color: var(--waker-status-danger-text);
}

body.page-dialup .dialup-shift-result-select:disabled,
body.page-dialup .dialup-mobile-shift-result-select:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

body.page-dialup .dialup-shift-result-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid var(--waker-status-neutral-border);
    border-radius: 999px;
    background: var(--waker-status-neutral-bg);
    color: var(--waker-status-neutral-text);
    font-size: 12px;
    font-weight: 800;
}

body.page-dialup .dialup-mobile-action-row--shift-result {
    gap: 12px;
}

body.page-dialup .dialup-mobile-action-row--shift-result > .wk-status-selector {
    flex: 0 1 50%;
    max-width: 60%;
}

/* Desktop selector styling must not override the shared mobile editor contract. */
@media (min-width: 1024px) {
body.page-dialup .trips-editor-field > .sa-mobile-selector {
    position: relative;
    width: 100%;
    min-width: 0;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector.is-enhanced .sa-mobile-selector__control {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector > .sa-mobile-selector__chevron {
    display: none;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 12px 0 14px;
    box-sizing: border-box;
    border: 1px solid #b8c8dc;
    border-radius: 8px;
    background-color: #ffffff;
    color: #0c2757;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    cursor: pointer;
    transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__button:hover {
    border-color: #8fa8c8;
    background-color: #fbfdff;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__button:focus,
body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__button:focus-visible {
    outline: none;
    border-color: #2f6df6;
    box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.16);
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__button-chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: #5f7aa3;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__button-chevron svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__menu {
    position: absolute;
    z-index: 2605;
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    max-height: 220px;
    overflow: auto;
    padding: 6px;
    border: 1px solid #c8d6e7;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(17, 38, 74, 0.18);
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__menu[hidden] {
    display: none;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__option {
    width: 100%;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border: 0;
    border-radius: 7px;
    background: #ffffff;
    color: #143262;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
}

body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__option:hover,
body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__option:focus-visible,
body.page-dialup .trips-editor-field > .sa-mobile-selector .sa-mobile-selector__option.is-active {
    outline: none;
    background: #eef5ff;
    color: #0b46bd;
}
}

body.page-dialup #header1 {
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 0;
    background: #173867;
    box-shadow: none;
}

body.page-dialup #logo {
    padding: 0;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
    color: #f3f7ff;
    text-shadow: none;
}

body.page-dialup .nav-main {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: 8px;
}

body.page-dialup .nav-main-punkt,
body.page-dialup .butt {
    margin: 0;
    border: 1px solid rgba(160, 182, 219, 0.24);
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.page-dialup .nav-main-punkt a,
body.page-dialup .hdr-logout-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

body.page-dialup .nav-main-punkt a {
    padding: 9px 14px;
    color: #dfe9ff;
    text-decoration: none;
}

body.page-dialup .nav-main-punkt:hover,
body.page-dialup .butt:hover,
body.page-dialup .butt_ico:hover,
body.page-dialup .hdr-logout-button:hover,
body.page-dialup .hdr-logout-button:focus-visible {
    background: rgba(62, 101, 173, 0.32);
}

body.page-dialup .nav-main-sel {
    background: linear-gradient(180deg, #2f63eb 0%, #3b6cff 100%);
    border-color: rgba(255, 255, 255, 0.16);
}

body.page-dialup .nav-main-icon,
body.page-dialup .hdr-logout-icon,
body.page-dialup .dialup-title-icon,
body.page-dialup .dialup-stat-icon,
body.page-dialup .dialup-chip-icon,
body.page-dialup .dialup-input-icon,
body.page-dialup .dialup-input-tail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

body.page-dialup .nav-main-icon,
body.page-dialup .hdr-logout-icon {
    width: 17px;
    height: 17px;
}

body.page-dialup .nav-main-icon svg,
body.page-dialup .hdr-logout-icon svg,
body.page-dialup .dialup-title-icon svg,
body.page-dialup .dialup-stat-icon svg,
body.page-dialup .dialup-chip-icon svg,
body.page-dialup .dialup-input-icon svg,
body.page-dialup .dialup-input-tail svg,
body.page-dialup .dialup-add-shift svg,
body.page-dialup .dialup-mobile-add-shift svg,
body.page-dialup .dialup-mobile-header__menu svg,
body.page-dialup .dialup-mobile-header__user-chevron svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-dialup #hdr_logout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(160, 182, 219, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #eaf0ff;
    padding: 5px 8px;
    margin-right: 0;
}

body.page-dialup .hdr-logout-button {
    border: 1px solid rgba(175, 198, 255, 0.22);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    padding: 7px 12px;
    cursor: pointer;
    transition: background 0.14s ease, border-color 0.14s ease;
}

body.page-dialup #user_name {
    margin-right: 4px;
    font-weight: 600;
}

body.page-dialup #main-content {
    padding: 18px;
}

body.page-dialup th,
body.page-dialup td {
    border: 0;
    padding: 0;
}

body.page-dialup input,
body.page-dialup select,
body.page-dialup button:not(.dialup-mobile-add-shift) {
    font: inherit;
}

body.page-dialup .dialup-shell {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

body.page-dialup .dialup-hero,
body.page-dialup .dialup-toolbar-card,
body.page-dialup .dialup-table-card,
body.page-dialup .dialup-notes-card {
    border: 1px solid #c9d4df;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(18, 38, 68, 0.05);
}

body.page-dialup .dialup-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 18px;
}

body.page-dialup .dialup-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.page-dialup .dialup-title-icon {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: linear-gradient(180deg, #2d63ea 0%, #426fff 100%);
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(32, 77, 176, 0.18);
}

body.page-dialup .dialup-title-icon svg {
    width: 19px;
    height: 19px;
}

body.page-dialup .dialup-title {
    margin: 0;
    font-size: 32px;
    line-height: 1;
    color: #10254d;
}

body.page-dialup .dialup-subtitle {
    max-width: 700px;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.45;
    color: #657c9f;
}

body.page-dialup .dialup-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 10px;
    min-width: 390px;
}

body.page-dialup .dialup-stat-card {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 6px;
    background: #f6f8fb;
    border: 1px solid #d6dee8;
}

body.page-dialup .dialup-stat-icon {
    width: 28px;
    height: 28px;
    color: #5f7ea8;
}

body.page-dialup .dialup-stat-icon svg {
    width: 22px;
    height: 22px;
}

body.page-dialup .dialup-stat-card--queue .dialup-stat-icon {
    color: #4b73da;
}

body.page-dialup .dialup-stat-card--critical .dialup-stat-icon {
    color: #d87272;
}

body.page-dialup .dialup-stat-card--confirmed .dialup-stat-icon {
    color: #3e9560;
}

body.page-dialup .dialup-stat-label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7085a6;
}

body.page-dialup .dialup-stat-value {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    color: #10254d;
}

body.page-dialup .dialup-toolbar-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 14px 16px;
}

body.page-dialup .dialup-toolbar-left,
body.page-dialup .dialup-toolbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

body.page-dialup .dialup-field,
body.page-dialup .dialup-current-firm {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}

body.page-dialup .dialup-field--firm,
body.page-dialup .dialup-field--date {
    width: 220px;
    min-width: 220px;
}

body.page-dialup .dialup-field > span,
body.page-dialup .dialup-field-label,
body.page-dialup .dialup-rows-per-page span,
body.page-dialup .dialup-current-firm-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6d82a6;
}

body.page-dialup .dialup-field select,
body.page-dialup .dialup-field input,
body.page-dialup .dialup-rows-per-page select {
    min-height: 40px;
    height: 40px;
    border: 1px solid #bfcbda;
    border-radius: 6px;
    padding: 0 12px;
    background: #ffffff;
    color: #15315f;
    box-sizing: border-box;
}

body.page-dialup .dialup-field--filters {
    flex: 1 1 420px;
    min-width: 360px;
}

body.page-dialup .dialup-filter-selects {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--waker-space-3);
    width: 100%;
    min-width: 0;
}

body.page-dialup .dialup-filter-select {
    display: grid;
    gap: var(--waker-space-1);
    min-width: 0;
}

body.page-dialup .dialup-filter-select__label {
    color: var(--waker-color-ink-muted);
    font: var(--waker-weight-bold) var(--waker-font-size-xs)/var(--waker-line-default) var(--waker-font-desktop);
}

body.page-dialup .dialup-filter-select__control {
    width: 100%;
    height: var(--waker-desktop-control-height);
    min-width: 0;
    border-radius: var(--waker-radius-sm);
}

body.page-dialup .dialup-filter-select__control > select {
    width: 100%;
    height: 100%;
}

body.page-dialup .dialup-filter-select__control .sa-mobile-selector__button {
    border-radius: var(--waker-radius-sm);
    font-size: var(--waker-font-size-sm);
}

body.page-dialup .dialup-filter-select__control .sa-mobile-selector__menu {
    min-width: min(280px, calc(100vw - (2 * var(--waker-space-5))));
}

body.page-dialup .dialup-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 40px;
}

body.page-dialup .dialup-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e4c89a;
    border-radius: 6px;
    background: #ffffff;
    color: #bf7c18;
    padding: 9px 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

body.page-dialup .dialup-filter-chip[data-filter="critical"] {
    border-color: #e7b8b8;
    background: #ffffff;
    color: #d15a5a;
}

body.page-dialup .dialup-filter-chip:hover {
    background: #fffaf2;
    border-color: #d8b57a;
}

body.page-dialup .dialup-filter-chip[data-filter="critical"]:hover {
    background: #fff7f7;
    border-color: #dca1a1;
}

body.page-dialup .dialup-filter-chip.is-active {
    background: #f6e3bc;
    border-color: #cd9841;
    color: #975f12;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.34), inset 0 0 0 1px rgba(171, 108, 21, 0.12);
    transform: translateY(1px);
}

body.page-dialup .dialup-filter-chip.is-active[data-filter="critical"] {
    background: #f4dbde;
    border-color: #cf7777;
    color: #af4444;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.34), inset 0 0 0 1px rgba(173, 70, 70, 0.1);
}

body.page-dialup .dialup-add-shift {
    height: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
    border: 1px solid #1d56dc;
    border-radius: 6px;
    background: #1462ff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
}

body.page-dialup .dialup-add-shift svg,
body.page-dialup .dialup-mobile-add-shift svg {
    width: 18px;
    height: 18px;
}

body.page-dialup .dialup-col-actions,
body.page-dialup .dialup-cell-actions {
    width: 82px;
    text-align: center;
}

body.page-dialup .dialup-edit-shift {
    min-height: 30px;
    padding: 0 12px;
    border: 1px solid #bfd0e5;
    border-radius: 6px;
    background: #f8fbff;
    color: #143262;
    font-weight: 800;
    cursor: pointer;
}

body.page-dialup .dialup-edit-shift:disabled {
    opacity: 0.52;
    cursor: not-allowed;
}

body.page-dialup .dialup-col-shift {
    width: 170px;
    min-width: 170px;
}

body.page-dialup .dialup-col-source,
body.page-dialup .dialup-source-cell {
    width: 112px;
    white-space: nowrap;
}

body.page-dialup .dialup-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    max-width: 100%;
    padding: 0 11px 0 8px;
    border: 1px solid #bfd0e5;
    border-radius: 999px;
    background: #f8fbff;
    color: #143262;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-dialup .dialup-source-badge__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    border-radius: 999px;
    background: #e8f0ff;
    color: #245bd9;
}

body.page-dialup .dialup-source-badge__icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-dialup .dialup-source-badge__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-dialup .dialup-source-badge--daily {
    border-color: #b9d9fb;
    background: #f0f7ff;
    color: #15549f;
}

body.page-dialup .dialup-source-badge--daily .dialup-source-badge__icon {
    background: #d9ebff;
    color: #1d6ecb;
}

body.page-dialup .dialup-source-badge--weekdays,
body.page-dialup .dialup-source-badge--weekly,
body.page-dialup .dialup-source-badge--weekly-days {
    border-color: #bdddc9;
    background: #eef8f1;
    color: #1b7040;
}

body.page-dialup .dialup-source-badge--weekdays .dialup-source-badge__icon,
body.page-dialup .dialup-source-badge--weekly .dialup-source-badge__icon,
body.page-dialup .dialup-source-badge--weekly-days .dialup-source-badge__icon {
    background: #d9f0e2;
    color: #22834d;
}

body.page-dialup .dialup-source-badge--month-days,
body.page-dialup .dialup-source-badge--monthly {
    border-color: var(--waker-label-purple-border);
    background: var(--waker-label-purple-bg);
    color: var(--waker-label-purple-text);
}

body.page-dialup .dialup-source-badge--month-days .dialup-source-badge__icon,
body.page-dialup .dialup-source-badge--monthly .dialup-source-badge__icon {
    background: var(--waker-label-purple-icon-bg);
    color: var(--waker-label-purple-icon-color);
}

body.page-dialup .dialup-source-badge--single {
    border-color: #d1dbe7;
    background: #f5f7fa;
    color: #536a8d;
}

body.page-dialup .dialup-source-badge--single .dialup-source-badge__icon {
    background: #e8eef6;
    color: #6b7f9f;
}

body.page-dialup .dialup-source-badge--api {
    border-color: #b7cdf9;
    background: #edf4ff;
    color: #174ea6;
}

body.page-dialup .dialup-source-badge--api .dialup-source-badge__icon {
    background: #dbe8ff;
    color: #245bd9;
}

body.page-dialup .dialup-chip-icon {
    width: 16px;
    height: 16px;
}

body.page-dialup .dialup-current-firm strong {
    font-size: 16px;
    color: #10254d;
}

body.page-dialup .dialup-field--date {
    min-width: 220px;
}

body.page-dialup .dialup-field--firm select {
    width: 100%;
    padding-right: 38px;
}

body.page-dialup .dialup-date-trigger {
    position: relative;
    width: 100%;
    min-height: 40px;
    height: 40px;
    border: 1px solid #bfcbda;
    border-radius: 6px;
    background: #ffffff;
    color: #15315f;
    overflow: hidden;
    box-sizing: border-box;
}

body.page-dialup .dialup-date-trigger:hover {
    border-color: #aebed2;
    background: #fafcfe;
}

body.page-dialup .dialup-date-trigger:focus-within {
    border-color: #7ea0cd;
    box-shadow: inset 0 0 0 1px rgba(76, 112, 174, 0.12);
}

body.page-dialup .dialup-input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 22px;
    height: 22px;
    color: #5e7ca6;
    transform: translateY(-50%);
    pointer-events: none;
}

body.page-dialup .dialup-input-tail {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 14px;
    height: 14px;
    color: #6780a8;
    transform: translateY(-50%);
    pointer-events: none;
}

body.page-dialup .dialup-date-trigger input {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 38px;
    border: 0;
    padding: 0 38px 0 44px;
    background: transparent;
    color: #15315f;
    cursor: pointer;
}

body.page-dialup .dialup-date-trigger input:focus {
    outline: none;
}

body.page-dialup .dialup-date-trigger input::-webkit-calendar-picker-indicator {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}
/* dialupdepartmentselector1: align desktop department select arrow with date selector. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-field--department {
        position: relative;
    }

    body.page-dialup .dialup-field--department select {
        padding-right: 38px;
        appearance: none;
        -webkit-appearance: none;
        background-color: #ffffff;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236780a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
        background-position: right 12px center;
        background-repeat: no-repeat;
        background-size: 14px 14px;
        color: #15315f;
    }

    body.page-dialup .dialup-field--department select::-ms-expand {
        display: none;
    }
}

body.page-dialup .dialup-manager-switch,
body.page-dialup .dialup-checkbox-cell input {
    accent-color: #2b63ff;
}

body.page-dialup .dialup-table-card {
    overflow: hidden;
}

body.page-dialup .dialup-table-wrap {
    overflow-x: auto;
}

body.page-dialup .dialup-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

body.page-dialup .dialup-table > thead > tr > th {
    padding: 12px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111111;
    background: #e9eef5;
    border-bottom: 1px solid #cdd7e3;
    white-space: nowrap;
    text-align: left;
}

body.page-dialup .dialup-table > thead > tr > th + th {
    border-left: 1px solid #d7e0ea;
}

body.page-dialup .dialup-col-expand {
    width: 42px;
}

body.page-dialup .dialup-data-row td {
    padding: 10px 14px;
    border-bottom: 1px solid #dce4ee;
    vertical-align: middle;
    color: #17315f;
    background: #ffffff;
}

body.page-dialup .dialup-data-row td + td {
    border-left: 1px solid #edf2f7;
}

body.page-dialup .dialup-data-row:hover td {
    background: #f8fafc;
}

body.page-dialup .dialup-data-row.is-critical td {
    background: #fff8f6;
}

body.page-dialup .dialup-data-row.is-resolved td {
    background: #fbfcfd;
}

body.page-dialup .dialup-cell-expand,
body.page-dialup .dialup-checkbox-cell {
    text-align: center;
}

body.page-dialup .dialup-expand,
body.page-dialup .dialup-inline-id,
body.page-dialup .dialup-inline-shift,
body.page-dialup .dialup-pager button {
    border: 1px solid #cad6e3;
    border-radius: 6px;
    background: #ffffff;
    color: #17315f;
}

body.page-dialup .dialup-expand {
    width: 30px;
    height: 30px;
    font-size: 15px;
}

body.page-dialup .dialup-inline-id,
body.page-dialup .dialup-inline-shift {
    min-width: 42px;
    padding: 6px 10px;
    color: #2b63e4;
    font-weight: 700;
    cursor: pointer;
}

body.page-dialup .dialup-inline-shift {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.page-dialup .dialup-inline-shift-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #1f55c8;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    transform: translateY(-1px);
}

body.page-dialup .dialup-col-crew-member,
body.page-dialup .dialup-driver-cell {
    width: 180px;
    min-width: 180px;
    max-width: 180px;
}

body.page-dialup .dialup-col-time,
body.page-dialup .dialup-time-cell {
    width: 72px;
    min-width: 72px;
    max-width: 72px;
}

body.page-dialup .dialup-col-department,
body.page-dialup .dialup-department-cell {
    width: 128px;
    min-width: 128px;
    max-width: 128px;
}

body.page-dialup .dialup-col-manager,
body.page-dialup .dialup-manager-cell {
    width: 150px;
    min-width: 150px;
    max-width: 150px;
}

body.page-dialup .dialup-col-cancel,
body.page-dialup .dialup-cancel-cell,
body.page-dialup .dialup-col-call-manager,
body.page-dialup .dialup-call-manager-cell,
body.page-dialup .dialup-col-resolved,
body.page-dialup .dialup-resolved-cell {
    width: 76px;
    min-width: 76px;
    max-width: 76px;
    padding-right: 8px;
    padding-left: 8px;
    text-align: center;
}

body.page-dialup .dialup-driver-cell {
    white-space: normal;
}

body.page-dialup .dialup-meta-pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid #d3dfef;
    border-radius: 999px;
    background: #f8fbff;
    color: #17315f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.page-dialup .dialup-meta-pill--department {
    background: #f7fbff;
    color: #143262;
}


body.page-dialup .dialup-driver-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

body.page-dialup .dialup-driver-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border: 1px solid #d7e4f4;
    border-radius: 999px;
    background: #eff6ff;
    color: #0d2d61;
    line-height: 1;
}

body.page-dialup .dialup-driver-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.page-dialup .dialup-manager-icon {
    background: #f0f7ff;
    color: #245bd9;
}

body.page-dialup .dialup-manager-comment {
    max-width: 132px;
}

body.page-dialup .dialup-driver-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
    text-align: left;
}

body.page-dialup .dialup-driver-name,
body.page-dialup .dialup-driver-comment {
    display: block;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-dialup .dialup-driver-name {
    color: #102a55;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

body.page-dialup .dialup-driver-name-link {
    color: #2b63e4;
    text-decoration: none;
}

body.page-dialup .dialup-driver-name-link:hover,
body.page-dialup .dialup-driver-name-link:focus-visible {
    color: #1f55c8;
    text-decoration: underline;
}

body.page-dialup .dialup-driver-comment {
    color: #61728a;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

body.page-dialup .dialup-driver-comment--muted {
    color: #91a0b5;
}

body.page-dialup .dialup-phone-link {
    color: #2b63e4;
    font-weight: 700;
    text-decoration: none;
}

body.page-dialup .dialup-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 200px;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 700;
    line-height: 1.25;
    white-space: normal;
}

body.page-dialup .dialup-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    flex: 0 0 auto;
}

body.page-dialup .dialup-status--success {
    border-color: #c7dbc9;
    background: #eef6ef;
    color: #1c8242;
}

body.page-dialup .dialup-status--warning {
    border-color: #e4cea9;
    background: #fff6e9;
    color: #c97c13;
}

body.page-dialup .dialup-status--danger {
    border-color: #e5c0c0;
    background: #fff1ef;
    color: #d15252;
}

body.page-dialup .dialup-status--neutral {
    border-color: #d2dce7;
    background: #f4f7fa;
    color: #7285a3;
}

body.page-dialup .dialup-details-row > td {
    padding: 0;
    border-bottom: 1px solid #dce4ee;
    background: #f8fafc;
}

body.page-dialup .dialup-details-card {
    margin: 0 12px 12px;
    border: 1px solid #d4dde8;
    border-radius: 6px;
    background: #fbfcfe;
    padding: 8px 10px;
    box-shadow: none;
}

body.page-dialup .dialup-details-loading,
body.page-dialup .dialup-details-empty,
body.page-dialup .dialup-empty-row,
body.page-dialup .dialup-loading-row {
    padding: 20px;
    text-align: center;
    color: #6f84a7;
}

body.page-dialup .dialup-log-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

body.page-dialup .dialup-log-table th,
body.page-dialup .dialup-log-table td {
    padding: 10px 10px;
    border-bottom: 1px solid #dfe6f0;
    text-align: left;
}

body.page-dialup .dialup-log-table th + th,
body.page-dialup .dialup-log-table td + td {
    border-left: 1px solid #ecf1f6;
}

body.page-dialup .dialup-log-table th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #647c9f;
    background: #eef2f7;
}

body.page-dialup .dialup-inline-status {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 5px 9px;
    font-weight: 700;
}

body.page-dialup .dialup-inline-status--success {
    background: #eef6ef;
    color: #1c8242;
}

body.page-dialup .dialup-inline-status--warning {
    background: #fff6ea;
    color: #c57b16;
}

body.page-dialup .dialup-inline-status--danger {
    background: #fff0ee;
    color: #d05252;
}

body.page-dialup .dialup-inline-status--neutral {
    background: #f2f5f8;
    color: #6f84a7;
}

body.page-dialup .dialup-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #d5dee9;
    color: #6b81a6;
}

body.page-dialup .dialup-footer-left,
body.page-dialup .dialup-footer-right,
body.page-dialup .dialup-pager,
body.page-dialup .dialup-rows-per-page {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.page-dialup .dialup-footer-sep {
    opacity: 0.55;
}

body.page-dialup .dialup-pager button {
    width: 32px;
    height: 32px;
    font-size: 18px;
    line-height: 1;
}

body.page-dialup .dialup-pager button:disabled {
    opacity: 0.45;
}

body.page-dialup .dialup-notes-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
}

body.page-dialup .dialup-note-block {
    padding: 14px 16px;
}

body.page-dialup .dialup-note-block + .dialup-note-block {
    border-left: 1px solid #dce4ee;
}

body.page-dialup .dialup-note-block h2 {
    margin: 0 0 8px;
    font-size: 14px;
    color: #10254d;
}

body.page-dialup .dialup-note-block p {
    margin: 0;
    line-height: 1.55;
    color: #61799f;
}

body.page-dialup .dialup-shell.is-loading {
    opacity: 0.94;
}

@media (max-width: 1220px) {
    body.page-dialup .dialup-hero,
    body.page-dialup .dialup-toolbar-card,
    body.page-dialup .dialup-footer {
        flex-direction: column;
        align-items: stretch;
    }

    body.page-dialup .dialup-stats-grid {
        min-width: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-dialup .dialup-footer-right {
        justify-content: space-between;
    }
}

@media (max-width: 860px) {
    body.page-dialup #main-content {
        padding: 12px;
    }

    body.page-dialup .dialup-hero,
    body.page-dialup .dialup-toolbar-card,
    body.page-dialup .dialup-footer,
    body.page-dialup .dialup-note-block {
        padding: 14px;
    }

    body.page-dialup .dialup-title {
        font-size: 28px;
    }

    body.page-dialup .dialup-stats-grid,
    body.page-dialup .dialup-notes-card {
        grid-template-columns: 1fr;
    }

    body.page-dialup .dialup-note-block + .dialup-note-block {
        border-left: 0;
        border-top: 1px solid #dce4ee;
    }

    body.page-dialup .dialup-footer-right {
        flex-direction: column;
        align-items: stretch;
    }
}
/* Unified top control panel */
body.page-dialup .dialup-shell {
    gap: 12px;
}

body.page-dialup .dialup-top-panel {
    border: 1px solid #c9d4df;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(18, 38, 68, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 16px 12px;
}

body.page-dialup .dialup-top-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

body.page-dialup .dialup-top-title {
    flex: 1 1 auto;
    min-width: 0;
}

body.page-dialup .dialup-top-panel .dialup-title {
    font-size: 30px;
}

body.page-dialup .dialup-top-panel .dialup-title-icon {
    width: 32px;
    height: 32px;
}

body.page-dialup .dialup-top-panel .dialup-title-icon svg {
    width: 18px;
    height: 18px;
}

body.page-dialup .dialup-top-panel .dialup-stats-grid {
    min-width: 372px;
    gap: 8px;
}

body.page-dialup .dialup-top-panel .dialup-stat-card {
    padding: 8px 10px;
}

body.page-dialup .dialup-top-controls {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #d9e2ec;
}

body.page-dialup .dialup-top-panel .dialup-toolbar-left,
body.page-dialup .dialup-top-panel .dialup-toolbar-right {
    align-items: flex-end;
}

body.page-dialup .dialup-top-panel .dialup-toolbar-right {
    margin-left: auto;
    justify-content: flex-end;
}

body.page-dialup .dialup-top-panel .dialup-current-firm {
    min-width: 150px;
}

@media (max-width: 1220px) {
    body.page-dialup .dialup-top-main,
    body.page-dialup .dialup-top-controls {
        flex-direction: column;
        align-items: stretch;
    }

    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        min-width: 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.page-dialup .dialup-top-controls {
        margin-top: 10px;
        padding-top: 10px;
    }
}

@media (max-width: 860px) {
    body.page-dialup .dialup-top-panel {
        padding: 12px 14px;
    }

    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        grid-template-columns: 1fr;
    }

    body.page-dialup .dialup-top-controls,
    body.page-dialup .dialup-top-panel .dialup-toolbar-left,
    body.page-dialup .dialup-top-panel .dialup-toolbar-right {
        gap: 12px;
    }

    body.page-dialup .dialup-top-panel .dialup-toolbar-left {
        align-items: stretch;
    }
}

/* In progress counter */
body.page-dialup .dialup-stat-card--total .dialup-stat-icon {
    color: #5d789f;
}

body.page-dialup .dialup-stat-card--progress .dialup-stat-icon {
    color: #4c7edd;
}

body.page-dialup .dialup-top-panel .dialup-stats-grid {
    grid-template-columns: repeat(4, minmax(124px, 1fr));
    min-width: 520px;
}

@media (max-width: 1220px) {
    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }
}

/* Needs attention counter */
body.page-dialup .dialup-stat-card--attention .dialup-stat-icon {
    color: #c98718;
}

body.page-dialup .dialup-top-panel .dialup-stats-grid {
    grid-template-columns: repeat(5, minmax(112px, 1fr));
    min-width: 660px;
}

@media (max-width: 1480px) {
    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }
}

@media (max-width: 1100px) {
    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* Resolved counter */
body.page-dialup .dialup-stat-card--resolved .dialup-stat-icon {
    color: #3f9562;
}

body.page-dialup .dialup-top-panel .dialup-stats-grid {
    grid-template-columns: repeat(6, minmax(104px, 1fr));
    min-width: 780px;
}

@media (max-width: 1620px) {
    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        min-width: 0;
    }
}

@media (max-width: 1100px) {
    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* Final Alerts counters layout */
body.page-dialup .dialup-top-panel .dialup-stats-grid {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    min-width: 820px;
    gap: 12px;
}

body.page-dialup .dialup-stat-card--import .dialup-stat-icon {
    color: #b77900;
}

body.page-dialup .dialup-top-panel .dialup-stat-card {
    min-height: 72px;
    padding: 12px 14px;
}

@media (max-width: 1520px) {
    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        min-width: 0;
    }
}

@media (max-width: 860px) {
    body.page-dialup .dialup-top-panel .dialup-stats-grid {
        grid-template-columns: 1fr;
    }
}
/* Desktop Alerts toolbar height alignment */
@media (min-width: 1024px) {
    body.page-dialup .dialup-top-controls .dialup-field select,
    body.page-dialup .dialup-top-controls .dialup-field input,
    body.page-dialup .dialup-top-controls .dialup-date-trigger,
    body.page-dialup .dialup-top-controls .dialup-date-shortcut,
    body.page-dialup .dialup-top-controls .dialup-add-shift {
        height: 44px;
        min-height: 44px;
        box-sizing: border-box;
    }

    body.page-dialup .dialup-top-controls .dialup-date-shortcut {
        padding: 0 14px;
    }
}
/* Quick date shortcuts */
body.page-dialup .dialup-date-shortcuts {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

body.page-dialup .dialup-date-shortcut {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #bfcbda;
    border-radius: 6px;
    background: #ffffff;
    color: #4f6d96;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

body.page-dialup .dialup-date-shortcut:hover {
    background: #f7faff;
    border-color: #aebed2;
    color: #3f5d88;
}

@media (max-width: 860px) {
    body.page-dialup .dialup-date-shortcuts {
        width: 100%;
    }

    body.page-dialup .dialup-date-shortcut {
        flex: 1 1 0;
    }
}
body.page-dialup .dialup-date-shortcut:focus,
body.page-dialup .dialup-date-shortcut:focus-visible,
body.page-dialup .dialup-date-shortcut:active {
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    background: #ffffff;
    border-color: #bfcbda;
    color: #4f6d96;
    transform: none;
}
/* Final desktop toolbar control sizing */
@media (min-width: 1024px) {
    body.page-dialup .dialup-top-controls,
    body.page-dialup .dialup-top-panel .dialup-toolbar-left,
    body.page-dialup .dialup-top-panel .dialup-toolbar-right,
    body.page-dialup .dialup-date-shortcuts {
        align-items: center;
    }

    body.page-dialup .dialup-top-controls .dialup-field select,
    body.page-dialup .dialup-top-controls .dialup-date-trigger,
    body.page-dialup .dialup-top-controls .dialup-date-shortcut,
    body.page-dialup .dialup-top-controls .dialup-add-shift {
        height: 44px;
        min-height: 44px;
        box-sizing: border-box;
    }

    body.page-dialup .dialup-top-controls .dialup-date-trigger input {
        height: 100%;
        min-height: 0;
        line-height: 44px;
    }

    body.page-dialup .dialup-top-controls .dialup-date-shortcut {
        padding-top: 0;
        padding-bottom: 0;
    }
}
/* Final desktop Alerts toolbar visual parity */
@media (min-width: 1024px) {
    body.page-dialup .dialup-top-controls {
        justify-content: flex-start;
        align-items: center;
        gap: 14px;
    }

    body.page-dialup .dialup-top-panel .dialup-toolbar-right {
        margin-left: 0;
        justify-content: flex-start;
        align-items: center;
    }

    body.page-dialup .dialup-filter-group {
        min-height: 44px;
        gap: 8px;
    }

    body.page-dialup .dialup-filter-chip {
        height: 44px;
        min-height: 44px;
        padding: 0 13px;
        border-radius: 7px;
        font-size: 14px;
        font-weight: 400;
        box-sizing: border-box;
        box-shadow: none;
        transform: none;
    }

    body.page-dialup .dialup-filter-chip,
    body.page-dialup .dialup-filter-chip:hover,
    body.page-dialup .dialup-filter-chip:focus-visible,
    body.page-dialup .dialup-filter-chip.is-active {
        border-color: #edc98d;
        background: #fff7e8;
        color: #8a5515;
    }

    body.page-dialup .dialup-filter-chip[data-filter="critical"],
    body.page-dialup .dialup-filter-chip[data-filter="critical"]:hover,
    body.page-dialup .dialup-filter-chip[data-filter="critical"]:focus-visible,
    body.page-dialup .dialup-filter-chip.is-active[data-filter="critical"] {
        border-color: #e7b8b8;
        background: #fff7f7;
        color: #c94b4b;
    }

    body.page-dialup .dialup-filter-chip.is-active {
        box-shadow: inset 0 0 0 1px rgba(171, 108, 21, 0.12);
    }

    body.page-dialup .dialup-filter-chip.is-active[data-filter="critical"] {
        box-shadow: inset 0 0 0 1px rgba(173, 70, 70, 0.1);
    }
}
/* Expanded trip log timeline */
@media (min-width: 1024px) {
    body.page-dialup .dialup-details-row > td {
        padding: 0;
        border-bottom: 1px solid #d8e2ee;
        background: #ffffff;
    }

    body.page-dialup .dialup-details-card {
        margin: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    body.page-dialup .dialup-details-loading,
    body.page-dialup .dialup-details-empty {
        padding: 14px 18px;
        background: #ffffff;
        color: #617999;
        text-align: left;
    }

    body.page-dialup .dialup-log-table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        table-layout: auto;
        background: #ffffff;
    }

    body.page-dialup .dialup-log-table th,
    body.page-dialup .dialup-log-table td {
        padding: 10px 12px;
        border-bottom: 1px solid #d9e4f0;
        border-left: 0;
        background: transparent;
        text-align: left;
        vertical-align: middle;
    }

    body.page-dialup .dialup-log-table thead th {
        padding-top: 12px;
        padding-bottom: 10px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #223652;
        background: transparent;
    }

    body.page-dialup .dialup-log-table tbody tr:last-child td {
        border-bottom: 0;
    }

    body.page-dialup .dialup-log-entry:hover td {
        background: rgba(255, 255, 255, 0.34);
    }

    body.page-dialup .dialup-log-timeline-head,
    body.page-dialup .dialup-log-timeline-cell {
        width: 52px;
        min-width: 52px;
        padding-left: 18px;
        padding-right: 8px;
        text-align: center;
    }

    body.page-dialup .dialup-log-timeline-head {
        border-bottom-color: #d4deea;
    }

    body.page-dialup .dialup-log-timeline-cell {
        position: relative;
    }

    body.page-dialup .dialup-log-timeline-cell::before {
        content: '';
        position: absolute;
        left: 31px;
        top: 0;
        bottom: 0;
        width: 1px;
        background: #d3deeb;
    }

    body.page-dialup .dialup-log-timeline-cell.is-first::before {
        top: 50%;
    }

    body.page-dialup .dialup-log-timeline-cell.is-last::before {
        bottom: 50%;
    }

    body.page-dialup .dialup-log-timeline-cell.is-first.is-last::before {
        display: none;
    }

    body.page-dialup .dialup-log-step {
        position: relative;
        z-index: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        border: 1px solid #d4dfea;
        background: #ffffff;
        color: #29466f;
        font-size: 12px;
        font-weight: 700;
        line-height: 1;
    }

    body.page-dialup .dialup-log-col-logid {
        width: 108px;
        white-space: nowrap;
    }

    body.page-dialup .dialup-log-col-timestamp {
        width: 210px;
        white-space: nowrap;
    }

    body.page-dialup .dialup-log-col-stage {
        width: 220px;
    }

    body.page-dialup .dialup-log-col-event {
        width: 120px;
        white-space: nowrap;
    }

    body.page-dialup .dialup-log-col-result {
        width: 150px;
    }

    body.page-dialup .dialup-log-col-author {
        width: 140px;
        white-space: nowrap;
    }

    body.page-dialup .dialup-log-col-details {
        min-width: 160px;
    }

    body.page-dialup .dialup-inline-status {
        border-radius: 6px;
        padding: 4px 11px;
        border: 1px solid transparent;
        font-weight: 700;
        box-shadow: none;
    }

    body.page-dialup .dialup-inline-status--success {
        background: #edf7ef;
        border-color: #d6ead9;
        color: #24834b;
    }

    body.page-dialup .dialup-inline-status--warning {
        background: #fff5e9;
        border-color: #f0d4ad;
        color: #c87c18;
    }

    body.page-dialup .dialup-inline-status--danger {
        background: #fff0ed;
        border-color: #efc7c2;
        color: #d25555;
    }
}

@media (max-width: 1023px) {
    body.page-dialup .dialup-log-timeline-head,
    body.page-dialup .dialup-log-timeline-cell {
        display: none;
    }
}
/* Timeline center alignment fix */
@media (min-width: 1024px) {
    body.page-dialup .dialup-log-timeline-head,
    body.page-dialup .dialup-log-timeline-cell {
        width: 64px;
        min-width: 64px;
        max-width: 64px;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    body.page-dialup .dialup-log-timeline-cell::before {
        left: 50%;
        transform: translateX(-50%);
    }

    body.page-dialup .dialup-log-step {
        margin: 0 auto;
    }
}
/* Try column alignment fix */
@media (min-width: 1024px) {
    body.page-dialup .dialup-log-timeline-head,
    body.page-dialup .dialup-log-timeline-cell {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }

    body.page-dialup .dialup-log-timeline-head {
        color: #223652;
    }

    body.page-dialup .dialup-log-timeline-cell::before {
        left: 50%;
        transform: translateX(-50%);
    }

    body.page-dialup .dialup-log-step {
        width: 24px;
        height: 24px;
        margin: 0 auto;
        font-size: 11px;
    }
}
/* Expanded log step column final alignment */
@media (min-width: 1024px) {
    body.page-dialup .dialup-log-table {
        table-layout: fixed;
    }

    body.page-dialup .dialup-log-timeline-head,
    body.page-dialup .dialup-log-timeline-cell {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        box-sizing: border-box;
        padding: 10px 0 !important;
        text-align: center !important;
    }

    body.page-dialup .dialup-log-timeline-head {
        color: #223652 !important;
        font-size: 10px !important;
        letter-spacing: 0.02em !important;
        white-space: nowrap;
    }

    body.page-dialup .dialup-log-timeline-cell {
        position: relative;
    }

    body.page-dialup .dialup-log-timeline-cell::before {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    body.page-dialup .dialup-log-step {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px !important;
        height: 24px !important;
        margin: 0 auto !important;
        font-size: 11px !important;
    }
}


body.page-dialup .dialup-mobile-shell {
    display: none;
}

body.page-dialup .dialup-mobile-only[hidden] {
    display: none !important;
}

@media (max-width: 1023px) {
    body.page-dialup #header1,
    body.page-dialup .dialup-desktop-only {
        display: none !important;
    }

    body.page-dialup #main-content {
        padding: 0;
    }

    body.page-dialup {
        background: #f4f7fb;
    }

    body.page-dialup .dialup-mobile-shell {
        display: block;
        min-height: 100vh;
        background: #f4f7fb;
    }

    body.page-dialup .dialup-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 18px 16px 20px;
        background: linear-gradient(180deg, #0d2150 0%, #132e69 100%);
        color: #ffffff;
    }

    body.page-dialup .dialup-mobile-header__title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.05;
    }

    body.page-dialup .dialup-mobile-header__subtitle {
        margin-top: 4px;
        font-size: 14px;
        color: rgba(233, 240, 255, 0.92);
    }

    body.page-dialup .dialup-mobile-header__actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    body.page-dialup .dialup-mobile-header__user,
    body.page-dialup .dialup-mobile-header__menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        border: 0;
        background: transparent;
        color: #ffffff;
        padding: 0;
    }

    body.page-dialup .dialup-mobile-header__user {
        font-size: 16px;
        font-weight: 600;
    }

    body.page-dialup .dialup-mobile-header__user-chevron,
    body.page-dialup .dialup-mobile-header__menu span {
        width: 18px;
        height: 18px;
        display: inline-flex;
    }

    body.page-dialup .dialup-mobile-header__menu {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    body.page-dialup .dialup-mobile-list-view,
    body.page-dialup .dialup-mobile-log-view {
        padding: 14px 14px 24px;
    }

    body.page-dialup .dialup-mobile-filterbar {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    body.page-dialup .dialup-mobile-filterbar__controls {
        display: grid;
        gap: 12px;
    }

    body.page-dialup .dialup-mobile-add-shift {
        min-height: var(--waker-mobile-action-height);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    body.page-dialup .dialup-mobile-field {
        position: relative;
        display: block;
        width: 100%;
    }

    body.page-dialup .dialup-mobile-field select {
        width: 100%;
        min-height: 50px;
        border: 1px solid #d4deea;
        border-radius: 16px;
        background: #ffffff;
        color: #17315f;
        box-sizing: border-box;
    }

    body.page-dialup .dialup-mobile-field select {
        padding: 0 46px 0 16px;
        font-size: 16px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        cursor: pointer;
    }

    body.page-dialup .dialup-mobile-field__chevron {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        color: #5e79a6;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        pointer-events: none;
    }

    body.page-dialup .dialup-mobile-filterbar__chips {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        width: 100%;
    }

    body.page-dialup .dialup-mobile-quickdate,
    body.page-dialup .dialup-mobile-filter-chip {
        min-height: 48px;
        width: 100%;
        border-radius: 14px;
        font-weight: 700;
        font-size: 14px;
        box-sizing: border-box;
        line-height: 1;
        white-space: nowrap;
    }

    body.page-dialup .dialup-mobile-quickdate {
        min-width: 0;
        border: 1px solid #d1dbe8;
        background: #ffffff;
        color: #315382;
        padding: 0 10px;
    }

    body.page-dialup .dialup-mobile-quickdate:hover {
        background: #f8fbff;
    }

    body.page-dialup .dialup-mobile-filter-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 0;
        border: 1px solid #e4c89a;
        background: #ffffff;
        color: #bf7c18;
        padding: 0 10px;
    }

    body.page-dialup .dialup-mobile-filter-chip[data-filter="critical"] {
        border-color: #e7b8b8;
        color: #d15a5a;
    }

    body.page-dialup .dialup-mobile-filter-chip.is-active {
        background: #f6e3bc;
        border-color: #cd9841;
        color: #975f12;
    }

    body.page-dialup .dialup-mobile-filter-chip.is-active[data-filter="critical"] {
        background: #f4dbde;
        border-color: #cf7777;
        color: #af4444;
    }

    body.page-dialup .dialup-mobile-filter-chip__icon {
        width: 16px;
        height: 16px;
        display: inline-flex;
    }

    body.page-dialup .dialup-mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 0;
    }

    body.page-dialup .dialup-mobile-empty,
    body.page-dialup .dialup-mobile-log-empty {
        border: 1px solid #d7e0ea;
        border-radius: 18px;
        background: #ffffff;
        padding: 18px;
        color: #5b7498;
        text-align: center;
    }

    body.page-dialup .dialup-mobile-card {
        border: 1px solid #dbe3ee;
        border-left: 4px solid #bed0e8;
        border-radius: 24px;
        background: #ffffff;
        padding: 16px;
        box-shadow: 0 10px 22px rgba(25, 50, 93, 0.06);
    }

    body.page-dialup .dialup-mobile-card--critical {
        border-left-color: #ff4545;
        background: linear-gradient(180deg, rgba(255, 251, 251, 0.98) 0%, #ffffff 100%);
    }

    body.page-dialup .dialup-mobile-card--attention {
        border-left-color: #ff8c1a;
        background: linear-gradient(180deg, rgba(255, 252, 247, 0.98) 0%, #ffffff 100%);
    }

    body.page-dialup .dialup-mobile-card--warning {
        border-left-color: #d99a13;
        background: linear-gradient(180deg, #fffaf0 0%, #ffffff 100%);
    }

    body.page-dialup .dialup-mobile-card__number--static {
        cursor: default;
    }

    body.page-dialup .dialup-mobile-import-warning {
        display: grid;
        gap: 3px;
        margin-top: 10px;
        padding: 10px 12px;
        border: 1px solid #f4c95d;
        border-radius: 14px;
        background: #fff4c7;
        color: #7a4800;
        text-decoration: none;
    }

    body.page-dialup .dialup-mobile-import-warning span {
        font-size: 12px;
        line-height: 1.35;
    }

    body.page-dialup .dialup-mobile-view-import {
        text-decoration: none;
    }

    body.page-dialup .dialup-mobile-card--resolved {
        border-left-color: #44b463;
    }

    body.page-dialup .dialup-mobile-card__top {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 14px;
    }

    body.page-dialup .dialup-mobile-card__shiftblock {
        display: grid;
        gap: var(--waker-space-4);
        min-width: 0;
    }

    body.page-dialup .dialup-mobile-card__meta-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-width: 0;
    }

    body.page-dialup .dialup-mobile-card__timeblock {
        display: flex;
        align-items: center;
        gap: var(--waker-space-9);
        min-width: 0;
        flex: 0 0 auto;
    }

    body.page-dialup .dialup-mobile-card__timeicon {
        width: 58px;
        height: 58px;
        flex: 0 0 58px;
        border-radius: 50%;
        border: 0;
        color: var(--waker-color-primary);
        background: var(--waker-color-primary-soft);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.page-dialup .dialup-mobile-card--attention .dialup-mobile-card__timeicon {
        border: 0;
        color: var(--waker-color-primary);
        background: var(--waker-color-primary-soft);
    }

    body.page-dialup .dialup-mobile-card--resolved .dialup-mobile-card__timeicon,
    body.page-dialup .dialup-mobile-card--neutral .dialup-mobile-card__timeicon {
        border: 0;
        color: var(--waker-color-primary);
        background: var(--waker-color-primary-soft);
    }

    body.page-dialup .dialup-mobile-card__time {
        font-size: 38px;
        font-weight: 900;
        line-height: 1;
        letter-spacing: 0;
        color: var(--waker-color-ink);
    }

    body.page-dialup .dialup-mobile-log-trigger {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        border: 1px solid #d7dfeb;
        border-radius: 14px;
        background: var(--waker-color-primary-soft);
        padding: 12px 14px;
        color: #17315f;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;
        flex: 0 0 auto;
    }

    body.page-dialup .dialup-mobile-log-trigger__chevron {
        width: 18px;
        height: 18px;
        display: inline-flex;
        color: #36598a;
    }

    body.page-dialup .dialup-mobile-card__source {
        display: flex;
        justify-content: flex-end;
        min-width: 0;
        max-width: 48%;
        margin-left: auto;
        flex: 0 1 auto;
    }

    body.page-dialup .dialup-mobile-card__source .dialup-source-badge {
        min-height: 32px;
        font-size: 13px;
    }

    body.page-dialup .dialup-mobile-card__personrow {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        margin-top: 14px;
    }

    body.page-dialup .dialup-mobile-card__personcell {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 54px;
        min-width: 0;
        border: 1px solid #e1e8f1;
        border-radius: 16px;
        background: #ffffff;
        padding: 0 14px;
        color: #17315f;
        text-decoration: none;
        font-size: 20px;
        line-height: 1.2;
    }
    body.page-dialup .dialup-mobile-card__personicon {
        width: 22px;
        height: 22px;
        display: inline-flex;
        color: #ff4f4f;
        flex: 0 0 auto;
    }

    body.page-dialup .dialup-mobile-card__phone {
        border-color: #d7e4f5;
        background: var(--waker-color-primary-soft);
        color: var(--waker-color-ink);
        text-decoration: none;
        cursor: pointer;
        transition: border-color 140ms ease, background-color 140ms ease, transform 120ms ease;
    }

    @media (hover: hover) {
        body.page-dialup .dialup-mobile-card__phone:hover {
            border-color: #b8cbed;
            background: #eef5ff;
        }
    }

    body.page-dialup .dialup-mobile-card__phone:active {
        transform: translateY(1px);
    }

    body.page-dialup .dialup-mobile-card__contactcall--empty {
        color: var(--waker-color-ink-muted);
        cursor: default;
    }

    body.page-dialup .dialup-mobile-card__contactbody {
        display: grid;
        min-width: 0;
        gap: 2px;
        overflow: visible;
        white-space: normal;
    }

    body.page-dialup .dialup-mobile-card__driver,
    body.page-dialup .dialup-mobile-card__contactname {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.page-dialup .dialup-mobile-card__contactname {
        color: var(--waker-color-ink);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.15;
    }

    body.page-dialup .dialup-mobile-card__stages {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
        margin-top: 14px;
    }

    body.page-dialup .dialup-mobile-stage {
        min-width: 0;
        border: 1px solid #e1e8f1;
        border-radius: 18px;
        background: #ffffff;
        padding: 14px;
    }

    body.page-dialup .dialup-mobile-stage__title {
        margin-bottom: 10px;
        font-size: 16px;
        font-weight: 600;
        color: #17315f;
    }

    body.page-dialup .dialup-mobile-stage__status {
        display: grid;
        grid-template-columns: 40px 1fr;
        gap: 12px;
        align-items: center;
        min-width: 0;
        padding: 12px 14px;
        border-radius: 16px;
    }

    body.page-dialup .dialup-mobile-stage__status--success {
        background: #edf9e9;
        color: #159226;
    }

    body.page-dialup .dialup-mobile-stage__status--warning {
        background: #fff3e4;
        color: #f07b00;
    }

    body.page-dialup .dialup-mobile-stage__status--danger {
        background: #ffe8e7;
        color: #f03030;
    }

    body.page-dialup .dialup-mobile-stage__status--neutral {
        background: #eff4fb;
        color: #5a7597;
    }

    body.page-dialup .dialup-mobile-stage__icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.8);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.page-dialup .dialup-mobile-stage__icon svg,
    body.page-dialup .dialup-mobile-card__personicon svg,
    body.page-dialup .dialup-mobile-card__number-chevron svg,
    body.page-dialup .dialup-mobile-log-trigger__chevron svg,
    body.page-dialup .dialup-mobile-log-back__icon svg,
    body.page-dialup .dialup-mobile-log-item__eventicon svg,
    body.page-dialup .dialup-mobile-log-item__timestamp svg,
    body.page-dialup .dialup-mobile-log-item__details svg,
    body.page-dialup .dialup-mobile-log-item__author svg,
    body.page-dialup .dialup-mobile-action-row__icon svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.page-dialup .dialup-mobile-card__timeicon svg {
        width: 32px;
        height: 32px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.page-dialup .dialup-mobile-stage__text strong,
    body.page-dialup .dialup-mobile-stage__text span {
        display: block;
        line-height: 1.2;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    body.page-dialup .dialup-mobile-stage__text strong {
        font-size: 14px;
        font-weight: 700;
    }

    body.page-dialup .dialup-mobile-stage__text span {
        margin-top: 4px;
        font-size: 14px;
    }

    body.page-dialup .dialup-mobile-card__actions {
        margin-top: 14px;
        border: 1px solid #e1e8f1;
        border-radius: 18px;
        background: #ffffff;
        padding: 12px 14px 6px;
    }

    body.page-dialup .dialup-mobile-card__actions-title {
        margin-bottom: 8px;
        font-size: 16px;
        font-weight: 600;
        color: #17315f;
    }

    body.page-dialup .dialup-mobile-action-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
        border-top: 1px solid #ebf0f5;
    }

    body.page-dialup .dialup-mobile-edit-shift {
        width: 100%;
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border: 1px solid #cdd9ea;
        border-radius: 12px;
        background: #f8fbff;
        color: #17315f;
        font-weight: 800;
        cursor: pointer;
    }

    body.page-dialup .dialup-mobile-edit-shift svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.page-dialup .dialup-mobile-edit-shift:disabled {
        opacity: 0.58;
        cursor: not-allowed;
    }

    body.page-dialup .dialup-mobile-action-row__meta {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    body.page-dialup .dialup-mobile-action-row__icon {
        width: 24px;
        height: 24px;
        color: #17315f;
        display: inline-flex;
        flex: 0 0 auto;
    }

    body.page-dialup .dialup-mobile-action-row__label {
        font-size: 16px;
        color: #17315f;
    }

    body.page-dialup .dialup-mobile-switch {
        position: relative;
        width: 56px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
    }

    body.page-dialup .dialup-mobile-action-toggle {
        position: absolute;
        inset: 0;
        opacity: 0;
        cursor: pointer;
        z-index: 2;
    }

    body.page-dialup .dialup-mobile-switch__track {
        position: relative;
        width: 56px;
        height: 32px;
        border-radius: 999px;
        background: #e7ebf1;
        transition: background-color 0.15s ease;
    }

    body.page-dialup .dialup-mobile-switch__track::after {
        content: '';
        position: absolute;
        top: 3px;
        left: 3px;
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: #ffffff;
        box-shadow: 0 1px 2px rgba(15, 34, 66, 0.18);
        transition: transform 0.15s ease;
    }

    body.page-dialup .dialup-mobile-action-toggle:checked + .dialup-mobile-switch__track {
        background: #48c05c;
    }

    body.page-dialup .dialup-mobile-action-toggle--cancel_call:checked + .dialup-mobile-switch__track {
        background: #1462ff;
    }

    body.page-dialup .dialup-mobile-action-toggle--call_manager:checked + .dialup-mobile-switch__track {
        background: var(--waker-color-brand-orange);
    }

    body.page-dialup .dialup-mobile-action-toggle:checked + .dialup-mobile-switch__track::after {
        transform: translateX(24px);
    }

    body.page-dialup .dialup-mobile-action-toggle:disabled + .dialup-mobile-switch__track {
        opacity: 0.58;
    }

    body.page-dialup .dialup-mobile-log-top {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
        color: #10254d;
    }

    body.page-dialup .dialup-mobile-log-bottom {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-top: 12px;
    }

    body.page-dialup .dialup-mobile-log-back {
        min-height: 44px;
        border: 1px solid #d7dfeb;
        border-radius: 14px;
        background: var(--waker-color-primary-soft);
        color: #17315f;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0 14px;
        font-family: var(--waker-font-sans);
        font-size: 16px;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }

    body.page-dialup .dialup-mobile-log-back__icon {
        width: 18px;
        height: 18px;
        display: inline-flex;
        color: #36598a;
    }

    body.page-dialup .dialup-mobile-log-top__title {
        font-size: 18px;
        font-weight: 700;
    }

    body.page-dialup .dialup-mobile-log-panel {
        border: 1px solid #dbe3ee;
        border-radius: 24px;
        background: #ffffff;
        padding: 16px;
        box-shadow: 0 10px 22px rgba(25, 50, 93, 0.06);
    }

    body.page-dialup .dialup-mobile-log-panel__title {
        margin-bottom: 18px;
        font-size: 16px;
        font-weight: 700;
        color: #17315f;
    }

    body.page-dialup .dialup-mobile-log-timeline {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    body.page-dialup .dialup-mobile-log-item {
        display: grid;
        grid-template-columns: 34px 1fr;
        gap: 12px;
    }

    body.page-dialup .dialup-mobile-log-item__rail {
        position: relative;
        display: flex;
        justify-content: center;
        padding-top: 4px;
    }

    body.page-dialup .dialup-mobile-log-item__rail::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: -12px;
        left: 50%;
        width: 1px;
        transform: translateX(-50%);
        background: #d8e1ec;
    }

    body.page-dialup .dialup-mobile-log-item:last-child .dialup-mobile-log-item__rail::before {
        bottom: 16px;
    }

    body.page-dialup .dialup-mobile-log-item__step {
        position: relative;
        z-index: 1;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: 1px solid #dde5f0;
        background: #f9fbff;
        color: #203a67;
        font-size: 16px;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    body.page-dialup .dialup-mobile-log-item__card {
        border: 1px solid #e1e8f1;
        border-radius: 18px;
        background: #ffffff;
        padding: 18px 18px 16px;
        box-shadow: 0 6px 16px rgba(29, 53, 92, 0.05);
    }

    body.page-dialup .dialup-mobile-log-item__head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
    }

    body.page-dialup .dialup-mobile-log-item__id {
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
        color: #17315f;
        flex: 0 0 auto;
        align-self: flex-end;
        text-align: right;
    }

    body.page-dialup .dialup-mobile-log-item__meta {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 14px;
    }

    body.page-dialup .dialup-mobile-log-item__timestamp,
    body.page-dialup .dialup-mobile-log-item__details,
    body.page-dialup .dialup-mobile-log-item__author {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #17315f;
        font-size: 15px;
        line-height: 1.2;
    }

    body.page-dialup .dialup-mobile-log-item__timestamp {
        flex-wrap: wrap;
        column-gap: 16px;
        row-gap: 8px;
    }

    body.page-dialup .dialup-mobile-log-item__timestamp-part {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
    }

    body.page-dialup .dialup-mobile-log-item__stage {
        display: inline-flex;
        align-items: center;
        min-height: 38px;
        width: fit-content;
        padding: 0 18px;
        border-radius: 16px;
        background: #edf3ff;
        color: #244c8f;
        font-size: 16px;
        font-weight: 700;
    }

    body.page-dialup .dialup-mobile-log-item__foot {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 14px;
        margin-top: 18px;
    }

    body.page-dialup .dialup-mobile-log-item__eventrow {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-top: 0;
        color: #17315f;
        flex: 1 1 auto;
        min-width: 0;
    }

    body.page-dialup .dialup-mobile-log-item__eventicon {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        border: 1px solid #dfe6ef;
        background: #f9fbff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #183364;
        flex: 0 0 auto;
    }

    body.page-dialup .dialup-mobile-log-item__eventlabel {
        font-size: 18px;
        font-weight: 700;
    }

    body.page-dialup .dialup-mobile-log-item__details {
        margin-top: 0;
    }

    body.page-dialup .dialup-mobile-menu {
        position: fixed;
        inset: 0;
        background: rgba(12, 24, 51, 0.5);
        z-index: 90;
    }

    body.page-dialup .dialup-mobile-menu__panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(320px, 86vw);
        height: 100%;
        background: #ffffff;
        padding: 20px 18px;
        box-shadow: -10px 0 30px rgba(18, 34, 66, 0.16);
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    body.page-dialup .dialup-mobile-menu__user {
        margin-bottom: 8px;
        font-size: 18px;
        font-weight: 700;
        color: #17315f;
    }

    body.page-dialup .dialup-mobile-menu__link {
        display: block;
        width: 100%;
        border: 1px solid #dce5ef;
        border-radius: 14px;
        background: #ffffff;
        color: #17315f;
        text-decoration: none;
        text-align: left;
        padding: 14px 16px;
        font-weight: 600;
        box-sizing: border-box;
    }

    body.page-dialup .dialup-mobile-menu__link.is-active {
        border-color: #9eb7dd;
        background: #f3f7ff;
        color: #244f95;
    }

    body.page-dialup .dialup-mobile-menu__button {
        cursor: pointer;
    }
}

@media (max-width: 560px) {
    body.page-dialup .dialup-mobile-quickdate,
    body.page-dialup .dialup-mobile-filter-chip {
        min-height: 44px;
        padding: 0 6px;
        font-size: 12px;
    }

    body.page-dialup .dialup-mobile-filter-chip {
        gap: 4px;
    }

    body.page-dialup .dialup-mobile-filter-chip__icon {
        width: 14px;
        height: 14px;
    }

    body.page-dialup .dialup-mobile-card__personrow {
        gap: 8px;
    }

    body.page-dialup .dialup-mobile-card__personcell {
        gap: 9px;
        min-height: 50px;
        padding: 0 10px;
        font-size: 16px;
    }

    body.page-dialup .dialup-mobile-card__personicon {
        width: 20px;
        height: 20px;
    }

    body.page-dialup .dialup-mobile-card__contactname {
        font-size: 16px;
    }

    body.page-dialup .dialup-mobile-card__stages {
        gap: 8px;
    }

    body.page-dialup .dialup-mobile-stage {
        padding: 10px;
        border-radius: 16px;
    }

    body.page-dialup .dialup-mobile-stage__title {
        margin-bottom: 7px;
        font-size: 13px;
    }

    body.page-dialup .dialup-mobile-stage__status {
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 6px;
        padding: 8px;
        border-radius: 14px;
    }

    body.page-dialup .dialup-mobile-stage__icon {
        width: 26px;
        height: 26px;
    }

    body.page-dialup .dialup-mobile-stage__text strong,
    body.page-dialup .dialup-mobile-stage__text span {
        font-size: 12px;
    }
}
.dialup-lock-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    margin-left: var(--waker-space-3);
    padding: 0 var(--waker-space-4);
    border: 1px solid var(--waker-status-warning-border);
    border-radius: var(--waker-radius-pill);
    background: var(--waker-status-warning-bg);
    color: var(--waker-status-warning-text);
    font-size: var(--waker-font-size-xs);
    font-weight: var(--waker-weight-bold);
    white-space: nowrap;
}
/* Final Alerts control sizing parity with Recurring */
@media (min-width: 1024px) {
    body.page-dialup .dialup-top-controls {
        align-items: center;
        gap: 14px;
        font-family: "Nunito Sans", "Segoe UI", sans-serif;
    }

    body.page-dialup .dialup-top-panel .dialup-toolbar-left,
    body.page-dialup .dialup-top-panel .dialup-toolbar-right {
        align-items: center;
        gap: 14px;
    }

    body.page-dialup .dialup-date-shortcuts,
    body.page-dialup .dialup-filter-group {
        align-items: center;
        gap: 8px;
        min-height: 44px;
    }

    body.page-dialup .dialup-top-controls .dialup-field select,
    body.page-dialup .dialup-top-controls .dialup-date-trigger,
    body.page-dialup .dialup-top-controls .dialup-date-shortcut,
    body.page-dialup .dialup-top-controls .dialup-add-shift,
    body.page-dialup .dialup-top-controls .dialup-filter-chip {
        height: 44px;
        min-height: 44px;
        box-sizing: border-box;
        line-height: 1;
    }

    body.page-dialup .dialup-top-controls .dialup-field select,
    body.page-dialup .dialup-top-controls .dialup-date-trigger {
        font-size: 16px;
    }

    body.page-dialup .dialup-top-controls .dialup-date-trigger input {
        height: 100%;
        min-height: 0;
        line-height: 44px;
        font-size: 16px;
    }

    body.page-dialup .dialup-top-controls .dialup-date-shortcut {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 14px;
        font-size: 14px;
        font-weight: 400;
    }

    body.page-dialup .dialup-top-controls .dialup-add-shift {
        min-width: 150px;
        padding: 0 16px;
        gap: 9px;
        font-size: 16px;
        line-height: 1;
    }

    body.page-dialup .dialup-top-controls .dialup-add-shift svg {
        width: 18px;
        height: 18px;
    }

    body.page-dialup .dialup-top-controls .dialup-filter-chip {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 0 13px;
        font-size: 14px;
        font-weight: 400;
        border-radius: 7px;
    }

    body.page-dialup .dialup-top-controls .dialup-chip-icon {
        width: 18px;
        height: 18px;
    }

    body.page-dialup .dialup-top-controls .dialup-chip-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* dialupphonecrewsize1 */
body.page-dialup .dialup-phone-link {
    font-size: 12px;
    line-height: 1.2;
}

/* 20260804syncall1: company-wide manual integration sync on Alerts. */
body.page-dialup .dialup-sync-integrations,
body.page-dialup .dialup-mobile-sync-integrations {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #8db0f8;
    background: #f5f8ff;
    color: #1459e6;
    font-family: "Nunito Sans", "Segoe UI", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

body.page-dialup .dialup-sync-integrations {
    min-width: 110px;
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 7px;
    font-size: 14px;
}

body.page-dialup .dialup-sync-integrations:hover,
body.page-dialup .dialup-mobile-sync-integrations:hover {
    border-color: #4c82ed;
    background: #eaf1ff;
}

body.page-dialup .dialup-sync-integrations:focus-visible,
body.page-dialup .dialup-mobile-sync-integrations:focus-visible {
    outline: 3px solid rgba(20, 98, 255, 0.2);
    outline-offset: 2px;
}

body.page-dialup .dialup-sync-integrations:disabled,
body.page-dialup .dialup-mobile-sync-integrations:disabled {
    cursor: wait;
    opacity: 0.72;
}

body.page-dialup .dialup-sync-icon,
body.page-dialup .dialup-sync-icon svg {
    display: inline-flex;
    width: 17px;
    height: 17px;
}

body.page-dialup .dialup-sync-icon svg {
    fill: currentColor;
    stroke: none;
}

body.page-dialup .is-syncing .dialup-sync-icon {
    animation: dialup-sync-spin 850ms linear infinite;
}

@keyframes dialup-sync-spin {
    to { transform: rotate(360deg); }
}

body.page-dialup .dialup-sync-feedback,
body.page-dialup .dialup-mobile-sync-feedback {
    margin-top: 9px;
    color: #567096;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

body.page-dialup .dialup-sync-feedback {
    text-align: right;
}

body.page-dialup .dialup-sync-feedback.is-success,
body.page-dialup .dialup-mobile-sync-feedback.is-success { color: #157347; }
body.page-dialup .dialup-sync-feedback.is-warning,
body.page-dialup .dialup-mobile-sync-feedback.is-warning { color: #9a6200; }
body.page-dialup .dialup-sync-feedback.is-error,
body.page-dialup .dialup-mobile-sync-feedback.is-error { color: #b42318; }

@media (min-width: 1024px) {
    body.page-dialup .dialup-top-panel .dialup-toolbar-right {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.page-dialup .dialup-sync-integrations {
        margin-left: auto;
    }
}

@media (min-width: 1024px) and (max-width: 1220px) {
    body.page-dialup .dialup-top-panel .dialup-toolbar-right {
        width: 100%;
    }
}

@media (max-width: 1023px) {
    body.page-dialup .dialup-filter-selects--mobile {
        grid-template-columns: 1fr;
        gap: var(--waker-space-4);
        padding: var(--waker-space-5);
        border: 1px solid var(--waker-border-soft);
        border-radius: var(--waker-radius-2xl);
        background: var(--waker-color-surface-soft);
    }

    body.page-dialup .dialup-filter-select__label {
        font-family: var(--waker-font-sans);
        font-size: var(--waker-mobile-field-label-font-size);
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    body.page-dialup .dialup-filter-select__control {
        height: 50px;
        border-radius: var(--waker-radius-xl);
    }

    body.page-dialup .dialup-filter-select__control .sa-mobile-selector__button {
        min-height: 50px;
        border-radius: var(--waker-radius-xl);
    }

    body.page-dialup .dialup-mobile-filterbar__chips {
        grid-template-columns: 1fr;
    }

    body.page-dialup .dialup-mobile-filterbar__chips.has-integration-sync {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.page-dialup .dialup-mobile-sync-integrations {
        width: 100%;
        min-height: 48px;
        padding: 0 10px;
        border-radius: 14px;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 1;
        white-space: nowrap;
    }
}
/* dialupmodalfooter1 */
@media (min-width: 1024px) {
    body.page-dialup .dialup-shift-editor-overlay .trips-editor-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 4px -20px -20px;
        padding: 16px 20px 20px;
        border-top: 1px solid #e1e9f3;
        background: #ffffff;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-actions button {
        min-width: 86px;
        min-height: var(--waker-modal-button-height);
        padding: 0 var(--waker-modal-button-padding-x);
        font-size: var(--waker-modal-button-font-size);
        font-weight: var(--waker-modal-button-font-weight);
        line-height: var(--waker-modal-button-line-height);
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-delete {
        order: 1;
        min-width: 126px;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-cancel {
        order: 2;
        margin-left: auto;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-save {
        order: 3;
        min-width: 132px;
    }
}
/* dialupattemptbadge2: compact two-row desktop attempt labels for First/Second Alert columns. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table > thead > tr > th:nth-child(7),
    body.page-dialup .dialup-table > thead > tr > th:nth-child(8),
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(7),
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(8) {
        min-width: 104px;
        width: 104px;
        vertical-align: middle;
    }

    body.page-dialup .dialup-attempt-status {
        display: inline-grid;
        grid-template-columns: 15px minmax(0, 1fr);
        column-gap: 4px;
        row-gap: 3px;
        align-items: center;
        min-width: 88px;
        max-width: 98px;
        padding: 6px 7px;
        border: 1px solid #d4deea;
        border-radius: 11px;
        background: #f8fafc;
        color: #334155;
        font-family: var(--sa-font, "Aptos", "Segoe UI", sans-serif);
        line-height: 1.1;
        box-shadow: 0 4px 10px rgba(15, 35, 70, 0.05);
    }

    body.page-dialup .dialup-attempt-status__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 999px;
        color: #8a95a5;
        line-height: 1;
    }

    body.page-dialup .dialup-attempt-status__icon svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    body.page-dialup .dialup-attempt-status__attempt {
        min-width: 0;
        overflow: hidden;
        color: #364152;
        font-size: 12px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.page-dialup .dialup-attempt-status__result {
        min-width: 0;
        overflow: hidden;
        font-size: 13px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.page-dialup .dialup-attempt-status--success {
        border-color: #b9dfc2;
        background: #fbfffc;
    }

    body.page-dialup .dialup-attempt-status--success .dialup-attempt-status__result {
        color: #118044;
    }

    body.page-dialup .dialup-attempt-status--success .dialup-attempt-status__icon--result {
        background: #16a34a;
        color: #ffffff;
    }

    body.page-dialup .dialup-attempt-status--warning {
        border-color: #f1d7a8;
        background: #fffaf0;
    }

    body.page-dialup .dialup-attempt-status--warning .dialup-attempt-status__result {
        color: #b56a05;
    }

    body.page-dialup .dialup-attempt-status--warning .dialup-attempt-status__icon--result {
        background: #fff3d6;
        color: #c9780c;
    }

    body.page-dialup .dialup-attempt-status--danger {
        border-color: #f1b9b9;
        background: #fff7f6;
    }

    body.page-dialup .dialup-attempt-status--danger .dialup-attempt-status__result {
        color: #c93434;
    }

    body.page-dialup .dialup-attempt-status--danger .dialup-attempt-status__icon--result {
        background: #ef4444;
        color: #ffffff;
    }

    body.page-dialup .dialup-attempt-status--neutral .dialup-attempt-status__result {
        color: #64748b;
    }

    body.page-dialup .dialup-attempt-status--neutral .dialup-attempt-status__icon--result {
        background: #eef2f7;
        color: #64748b;
    }
}
/* dialupmanagercols1: keep Alerts desktop columns balanced after Department and Manager were added. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table {
        table-layout: fixed;
    }

    body.page-dialup .dialup-col-shift { width: 10%; min-width: 0; }
    body.page-dialup .dialup-col-time,
    body.page-dialup .dialup-time-cell { width: 5%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-source,
    body.page-dialup .dialup-source-cell { width: 7%; min-width: 0; }
    body.page-dialup .dialup-col-crew-member,
    body.page-dialup .dialup-driver-cell { width: 10%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-department,
    body.page-dialup .dialup-department-cell { width: 7%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-manager,
    body.page-dialup .dialup-manager-cell { width: 8%; min-width: 0; max-width: none; }
    body.page-dialup #dialup_stage_one_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(7) { width: 11%; min-width: 0; max-width: none; }
    body.page-dialup #dialup_stage_two_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(8) { width: 12%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-cancel,
    body.page-dialup .dialup-cancel-cell,
    body.page-dialup .dialup-col-call-manager,
    body.page-dialup .dialup-call-manager-cell { width: 6%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-resolved,
    body.page-dialup .dialup-resolved-cell { width: 5%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-shift-result,
    body.page-dialup .dialup-shift-result-cell { width: 8%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-actions,
    body.page-dialup .dialup-cell-actions { width: 5%; min-width: 0; max-width: none; }
}
/* dialupattemptnarrow1: make desktop alert stage columns compact enough to avoid horizontal scroll. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table {
        table-layout: fixed;
        width: 100%;
    }

    body.page-dialup .dialup-col-shift { width: 10%; min-width: 0; }
    body.page-dialup .dialup-col-time,
    body.page-dialup .dialup-time-cell { width: 5%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-source,
    body.page-dialup .dialup-source-cell { width: 7%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-crew-member,
    body.page-dialup .dialup-driver-cell { width: 11%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-department,
    body.page-dialup .dialup-department-cell { width: 7%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-manager,
    body.page-dialup .dialup-manager-cell { width: 10%; min-width: 0; max-width: none; }
    body.page-dialup #dialup_stage_one_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(7),
    body.page-dialup #dialup_stage_two_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(8) {
        width: 8%;
        min-width: 0;
        max-width: none;
        padding-right: 8px;
        padding-left: 8px;
    }
    body.page-dialup .dialup-col-cancel,
    body.page-dialup .dialup-cancel-cell,
    body.page-dialup .dialup-col-call-manager,
    body.page-dialup .dialup-call-manager-cell { width: 6%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-resolved,
    body.page-dialup .dialup-resolved-cell { width: 5%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-shift-result,
    body.page-dialup .dialup-shift-result-cell { width: 10%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-actions,
    body.page-dialup .dialup-cell-actions { width: 7%; min-width: 0; max-width: none; }

    body.page-dialup .dialup-attempt-status {
        grid-template-columns: 14px minmax(0, 1fr);
        column-gap: 4px;
        row-gap: 3px;
        min-width: 0;
        max-width: 94px;
        padding: 5px 6px;
        border-radius: 9px;
    }

    body.page-dialup .dialup-attempt-status__icon {
        width: 14px;
        height: 14px;
    }

    body.page-dialup .dialup-attempt-status__icon svg {
        width: 12px;
        height: 12px;
    }

    body.page-dialup .dialup-attempt-status__attempt {
        font-size: 11px;
    }

    body.page-dialup .dialup-attempt-status__result {
        font-size: 12px;
    }
}
/* dialupattemptnarrow3: final desktop fit for alert stage columns after Department/Manager were added. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table {
        table-layout: fixed;
        width: 100%;
    }

    body.page-dialup #dialup_stage_one_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(7),
    body.page-dialup #dialup_stage_two_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(8) {
        width: 7.5%;
        min-width: 0;
        max-width: none;
        padding-right: 6px;
        padding-left: 6px;
    }

    body.page-dialup .dialup-col-cancel,
    body.page-dialup .dialup-cancel-cell,
    body.page-dialup .dialup-col-call-manager,
    body.page-dialup .dialup-call-manager-cell {
        width: 5.5%;
        min-width: 0;
        max-width: none;
    }

    body.page-dialup .dialup-attempt-status {
        box-sizing: border-box;
        width: 90px;
        min-width: 0;
        max-width: 90px;
        padding: 4px 5px;
    }

    body.page-dialup .dialup-attempt-status__attempt {
        font-size: 10.5px;
    }

    body.page-dialup .dialup-attempt-status__result {
        font-size: 11.5px;
    }
}
/* dialupnodept1: desktop Alerts layout after removing Department column. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table {
        table-layout: fixed;
        width: 100%;
    }

    body.page-dialup .dialup-col-shift { width: 10%; min-width: 0; }
    body.page-dialup .dialup-col-time,
    body.page-dialup .dialup-time-cell { width: 5%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-source,
    body.page-dialup .dialup-source-cell { width: 7%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-crew-member,
    body.page-dialup .dialup-driver-cell { width: 13%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-manager,
    body.page-dialup .dialup-manager-cell { width: 11%; min-width: 0; max-width: none; }

    body.page-dialup #dialup_stage_one_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(6),
    body.page-dialup #dialup_stage_two_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(7) {
        width: 9.5%;
        min-width: 0;
        max-width: none;
        padding-right: 8px;
        padding-left: 8px;
    }

    body.page-dialup .dialup-col-cancel,
    body.page-dialup .dialup-cancel-cell,
    body.page-dialup .dialup-col-call-manager,
    body.page-dialup .dialup-call-manager-cell {
        width: 5.5%;
        min-width: 0;
        max-width: none;
    }

    body.page-dialup .dialup-col-resolved,
    body.page-dialup .dialup-resolved-cell { width: 5%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-shift-result,
    body.page-dialup .dialup-shift-result-cell { width: 11%; min-width: 0; max-width: none; }
    body.page-dialup .dialup-col-actions,
    body.page-dialup .dialup-cell-actions { width: 7%; min-width: 0; max-width: none; }

    body.page-dialup .dialup-attempt-status {
        width: 104px;
        max-width: 104px;
        padding: 5px 7px;
    }
}
/* dialupnodept2: override old nth-child widths after Department removal. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table #dialup_stage_one_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(6),
    body.page-dialup .dialup-table #dialup_stage_two_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(7) {
        width: 9.5%;
        min-width: 0;
        max-width: none;
    }

    body.page-dialup .dialup-table > thead > tr > th.dialup-col-cancel,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(8).dialup-cancel-cell,
    body.page-dialup .dialup-table > thead > tr > th.dialup-col-call-manager,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(9).dialup-call-manager-cell {
        width: 5.5%;
        min-width: 0;
        max-width: none;
    }

    body.page-dialup .dialup-table > thead > tr > th.dialup-col-resolved,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(10).dialup-resolved-cell {
        width: 5%;
        min-width: 0;
        max-width: none;
    }
}
/* dialupstageheader2line1: put alert minutes on a second header line. */
body.page-dialup .dialup-stage-header {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    line-height: 1.08;
    white-space: nowrap;
}

body.page-dialup .dialup-stage-header__name,
body.page-dialup .dialup-stage-header__minutes {
    display: block;
}
/* dialupstageheadercase1: keep two-line alert headers in requested casing. */
body.page-dialup .dialup-table > thead > tr > th .dialup-stage-header {
    text-transform: none;
}
/* dialupellipsis1: keep long row values inside their columns with ellipsis. */
body.page-dialup .dialup-data-row td {
    min-width: 0;
    overflow: hidden;
}

body.page-dialup .dialup-inline-shift {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

body.page-dialup .dialup-inline-shift-arrow {
    flex: 0 0 auto;
}

body.page-dialup .dialup-inline-shift > span:last-child {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.page-dialup .dialup-source-badge,
body.page-dialup .dialup-meta-pill,
body.page-dialup .dialup-shift-result-select,
body.page-dialup .dialup-shift-result-pill,
body.page-dialup .dialup-edit-shift {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
}

body.page-dialup .dialup-driver-main,
body.page-dialup .dialup-driver-copy,
body.page-dialup .dialup-manager-main,
body.page-dialup .dialup-manager-copy {
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

body.page-dialup .dialup-driver-copy,
body.page-dialup .dialup-manager-copy {
    flex: 1 1 auto;
}

body.page-dialup .dialup-driver-name,
body.page-dialup .dialup-driver-comment,
body.page-dialup .dialup-manager-name,
body.page-dialup .dialup-manager-name-link {
    max-width: 100%;
}

body.page-dialup .dialup-shift-result-select {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/* dialupheaderright1: right-align Alerts table column names. */
body.page-dialup .dialup-table > thead > tr > th {
    text-align: right;
}

body.page-dialup .dialup-table > thead > tr > th .dialup-stage-header {
    align-items: flex-end;
}
/* dialuptooltip1: icon-only Source badges on desktop and full-value hover labels. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table .dialup-source-cell .dialup-source-badge {
        width: 36px;
        max-width: 36px;
        min-width: 36px;
        justify-content: center;
        gap: 0;
        padding: 0;
    }

    body.page-dialup .dialup-table .dialup-source-cell .dialup-source-badge__label {
        display: none;
    }
}

.dialup-hover-tooltip {
    position: fixed;
    z-index: 10050;
    max-width: min(320px, calc(100vw - 16px));
    padding: 8px 10px;
    border: 1px solid rgba(15, 36, 77, 0.16);
    border-radius: 8px;
    background: #0f244d;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 36, 77, 0.2);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    pointer-events: none;
    white-space: normal;
}
/* dialupsourceiconcenter1: larger centered Source icons in Alerts table. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table .dialup-source-cell {
        text-align: center;
    }

    body.page-dialup .dialup-table .dialup-source-cell .dialup-source-badge {
        width: 42px;
        max-width: 42px;
        min-width: 42px;
        min-height: 36px;
        margin-right: auto;
        margin-left: auto;
    }

    body.page-dialup .dialup-table .dialup-source-cell .dialup-source-badge__icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    body.page-dialup .dialup-table .dialup-source-cell .dialup-source-badge__icon svg {
        width: 17px;
        height: 17px;
    }
}

/* dialupnexusdesktop1: Nexus-inspired desktop Alerts table, drawer editor, status pills, and flat log expansion. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table {
        table-layout: fixed;
    }

    body.page-dialup .dialup-col-status,
    body.page-dialup .dialup-status-cell {
        width: 6.5%;
        min-width: 0;
        max-width: none;
        text-align: left;
    }

    body.page-dialup .dialup-col-shift { width: 9%; }
    body.page-dialup .dialup-col-time,
    body.page-dialup .dialup-time-cell { width: 5%; }
    body.page-dialup .dialup-col-source,
    body.page-dialup .dialup-source-cell { width: 5.5%; }
    body.page-dialup .dialup-col-crew-member,
    body.page-dialup .dialup-driver-cell { width: 12%; }
    body.page-dialup .dialup-col-manager,
    body.page-dialup .dialup-manager-cell { width: 10%; }

    body.page-dialup .dialup-table #dialup_stage_one_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(7),
    body.page-dialup .dialup-table #dialup_stage_two_header,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(8) {
        width: 8%;
        padding-right: 6px;
        padding-left: 6px;
    }

    body.page-dialup .dialup-table > thead > tr > th.dialup-col-cancel,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(9).dialup-cancel-cell,
    body.page-dialup .dialup-table > thead > tr > th.dialup-col-call-manager,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(10).dialup-call-manager-cell,
    body.page-dialup .dialup-table > thead > tr > th.dialup-col-resolved,
    body.page-dialup .dialup-table > tbody > tr > td:nth-child(11).dialup-resolved-cell {
        width: 5.2%;
        min-width: 0;
        max-width: none;
    }

    body.page-dialup .dialup-col-shift-result,
    body.page-dialup .dialup-shift-result-cell { width: 10.2%; }
    body.page-dialup .dialup-col-actions,
    body.page-dialup .dialup-cell-actions { width: 6%; }

    body.page-dialup .dialup-row-status {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        min-height: 24px;
        padding: 0 12px;
        border: 1px solid transparent;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 500;
        line-height: 1;
        white-space: nowrap;
    }

    body.page-dialup .dialup-row-status--resolved {
        border-color: #cbeed9;
        background: #eaf8f0;
        color: #00a75a;
    }

    body.page-dialup .dialup-row-status--critical {
        border-color: #ffd1dc;
        background: #ffe9ef;
        color: #ff0053;
    }

    body.page-dialup .dialup-row-status--attention {
        border-color: #fde68a;
        background: #fff7d6;
        color: #d98300;
    }

    body.page-dialup .dialup-row-status--pending {
        border-color: #dbe5f0;
        background: #f4f7fb;
        color: #64748b;
    }

    body.page-dialup .dialup-row-status--warning {
        border-color: #f4c95d;
        background: #fff4c7;
        color: #9a5b00;
        text-decoration: none;
        cursor: pointer;
    }

    body.page-dialup .dialup-row-status--warning:hover,
    body.page-dialup .dialup-row-status--warning:focus-visible {
        border-color: #d99a13;
        background: #ffedaa;
        outline: none;
    }

    body.page-dialup .dialup-driver-main,
    body.page-dialup .dialup-manager-main {
        gap: 8px;
    }

    body.page-dialup .dialup-driver-icon,
    body.page-dialup .dialup-manager-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    body.page-dialup .dialup-driver-icon svg,
    body.page-dialup .dialup-manager-icon svg {
        width: 18px;
        height: 18px;
    }

    body.page-dialup .dialup-driver-name {
        font-size: 13px;
        font-weight: 700;
    }

    body.page-dialup .dialup-driver-comment {
        font-size: 11.5px;
        font-weight: 600;
    }

    body.page-dialup .dialup-attempt-status {
        width: 82px;
        max-width: 82px;
        min-height: 50px;
        grid-template-columns: 13px minmax(0, 1fr);
        column-gap: 4px;
        row-gap: 2px;
        padding: 4px 5px;
        border-radius: 12px;
        box-shadow: none;
    }

    body.page-dialup .dialup-attempt-status__icon {
        width: 13px;
        height: 13px;
    }

    body.page-dialup .dialup-attempt-status__icon svg {
        width: 11px;
        height: 11px;
        stroke-width: 3;
    }

    body.page-dialup .dialup-attempt-status__attempt {
        font-size: 10px;
        font-weight: 600;
    }

    body.page-dialup .dialup-attempt-status__result {
        font-size: 10.5px;
        font-weight: 700;
    }

    body.page-dialup .dialup-shift-result-select,
    body.page-dialup .dialup-shift-result-pill {
        min-height: 28px;
        height: 28px;
        width: auto;
        max-width: 100%;
        padding: 0 30px 0 12px !important;
        border-radius: 999px;
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 28px !important;
    }

    body.page-dialup .dialup-shift-result-pill {
        padding-right: 12px !important;
    }

    body.page-dialup .dialup-shift-result-select:focus,
    body.page-dialup .dialup-shift-result-select:focus-visible {
        border-color: #b8c7db !important;
        outline: none !important;
        box-shadow: none !important;
    }

    body.page-dialup .dialup-details-row > td {
        padding: 0 !important;
        border-top: 1px solid #d5e0ee;
        border-bottom: 1px solid #d5e0ee;
        background: #f4f7ff !important;
    }

    body.page-dialup .dialup-details-card {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #f4f7ff !important;
        box-shadow: none !important;
    }

    body.page-dialup .dialup-log-table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        table-layout: fixed;
        background: #f4f7ff !important;
    }

    body.page-dialup .dialup-log-table thead th {
        background: #edf3ff !important;
        color: #536783 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
    }

    body.page-dialup .dialup-log-table th,
    body.page-dialup .dialup-log-table td {
        border-bottom: 1px solid #dce7f6 !important;
        background: transparent !important;
    }

    body.page-dialup .dialup-log-entry:hover td {
        background: #eef5ff !important;
    }

    body.page-dialup .dialup-log-step {
        border-color: #d7e9ff !important;
        background: #e8f3ff !important;
        color: #1570ef !important;
    }

    body.page-dialup .dialup-shift-editor-overlay {
        align-items: stretch !important;
        justify-content: flex-end !important;
        padding: 0 !important;
        background: rgba(4, 16, 44, 0.42) !important;
        backdrop-filter: blur(2px);
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-panel {
        width: min(520px, 100vw) !important;
        max-width: min(520px, 100vw) !important;
        height: 100vh !important;
        max-height: 100vh !important;
        display: flex;
        flex-direction: column;
        border-width: 0 0 0 1px !important;
        border-color: #d7e2f0 !important;
        border-radius: 24px 0 0 24px !important;
        background: #ffffff;
        box-shadow: -28px 0 70px rgba(8, 28, 70, 0.24) !important;
        animation: dialupDrawerIn 180ms ease-out;
        overflow: hidden;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-head {
        flex: 0 0 auto;
        padding: 28px 28px 22px;
        background: #ffffff;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-head h2 {
        font-size: 30px;
        line-height: 1.05;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-form {
        grid-template-columns: 1fr !important;
        flex: 1 1 auto;
        gap: 18px;
        padding: 24px 28px 0;
        overflow-y: auto;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-field input,
    body.page-dialup .dialup-shift-editor-overlay .trips-editor-field select,
    body.page-dialup .dialup-shift-editor-overlay .sa-mobile-selector__button {
        min-height: 52px;
        border-radius: 14px;
        font-size: 18px;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-actions {
        position: sticky;
        bottom: 0;
        margin: 8px -28px 0 !important;
        padding: 18px 28px 24px !important;
        background: linear-gradient(180deg, rgba(255,255,255,0.86), #ffffff 28%);
    }
}

@keyframes dialupDrawerIn {
    from { transform: translateX(28px); opacity: 0.82; }
    to { transform: translateX(0); opacity: 1; }
}
/* dialupdesktoptypography1: smaller uppercase old Alerts desktop table headers and lighter core cell text. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table > thead > tr > th,
    body.page-dialup .dialup-table > thead > tr > th .dialup-stage-header,
    body.page-dialup .dialup-table > thead > tr > th .dialup-stage-header__name,
    body.page-dialup .dialup-table > thead > tr > th .dialup-stage-header__minutes {
        font-size: 10.67px;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    body.page-dialup .dialup-table > tbody > tr > td.dialup-col-shift,
    body.page-dialup .dialup-table > tbody > tr > td.dialup-time-cell,
    body.page-dialup .dialup-table > tbody > tr > td.dialup-source-cell,
    body.page-dialup .dialup-table > tbody > tr > td.dialup-driver-cell,
    body.page-dialup .dialup-table > tbody > tr > td.dialup-manager-cell,
    body.page-dialup .dialup-table > tbody > tr > td.dialup-shift-result-cell {
        font-size: 11.67px;
    }

    body.page-dialup .dialup-table tbody .dialup-inline-shift,
    body.page-dialup .dialup-table tbody .dialup-source-badge,
    body.page-dialup .dialup-table tbody .dialup-source-badge__label,
    body.page-dialup .dialup-table tbody .dialup-time-cell {
        font-size: 11.67px;
    }

    body.page-dialup .dialup-table tbody .dialup-driver-name,
    body.page-dialup .dialup-table tbody .dialup-driver-name-link,
    body.page-dialup .dialup-table tbody .dialup-manager-name,
    body.page-dialup .dialup-table tbody .dialup-manager-name-link,
    body.page-dialup .dialup-table tbody .dialup-driver-comment,
    body.page-dialup .dialup-table tbody .dialup-shift-result-select,
    body.page-dialup .dialup-table tbody .dialup-shift-result-pill {
        font-size: 11.67px;
        font-weight: 400;
    }

    body.page-dialup .dialup-table tbody .dialup-shift-result-select,
    body.page-dialup .dialup-table tbody .dialup-shift-result-pill {
        line-height: 28px;
    }
}
/* dialupdesktopheaderfontfix1: force old Alerts desktop table column labels 1pt smaller. */
@media (min-width: 1024px) {
    body.page-dialup table.dialup-table > thead > tr > th,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-shift,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-time,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-source,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-crew-member,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-manager,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-cancel,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-call-manager,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-resolved,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-shift-result,
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-actions,
    body.page-dialup table.dialup-table > thead > tr > th#dialup_stage_one_header,
    body.page-dialup table.dialup-table > thead > tr > th#dialup_stage_two_header {
        font-size: 10.67px;
        text-transform: uppercase;
    }
}
/* dialupdesktopcolumnalign1: old Alerts desktop header alignment and alert attempt readability. */
@media (min-width: 1024px) {
    body.page-dialup table.dialup-table > thead > tr > th.dialup-col-source {
        text-align: center;
    }

    body.page-dialup table.dialup-table > thead > tr > th#dialup_stage_one_header,
    body.page-dialup table.dialup-table > thead > tr > th#dialup_stage_two_header,
    body.page-dialup table.dialup-table > thead > tr > th#dialup_stage_one_header .dialup-stage-header,
    body.page-dialup table.dialup-table > thead > tr > th#dialup_stage_two_header .dialup-stage-header {
        text-align: left;
        align-items: flex-start;
    }

    body.page-dialup .dialup-table tbody .dialup-attempt-chip,
    body.page-dialup .dialup-table tbody .dialup-attempt-chip__label,
    body.page-dialup .dialup-table tbody .dialup-attempt-chip__result,
    body.page-dialup .dialup-table tbody .dialup-status-card,
    body.page-dialup .dialup-table tbody .dialup-status-card__label,
    body.page-dialup .dialup-table tbody .dialup-status-card__result {
        font-size: 13px;
    }
}

/* dialupdesktopattemptfont1: old Alerts desktop alert attempt text 1pt larger. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-table tbody .dialup-attempt-status__attempt {
        font-size: 11.33px;
    }

    body.page-dialup .dialup-table tbody .dialup-attempt-status__result {
        font-size: 11.83px;
    }
}

/* dialupcenteredmodal1: restore Old Alerts edit modal to centered dialog instead of side drawer. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-shift-editor-overlay {
        align-items: center !important;
        justify-content: center !important;
        padding: 28px !important;
        background: rgba(4, 16, 44, 0.42) !important;
        backdrop-filter: blur(2px);
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-panel {
        width: min(720px, calc(100vw - 56px)) !important;
        max-width: min(720px, calc(100vw - 56px)) !important;
        height: auto !important;
        max-height: calc(100vh - 56px) !important;
        display: flex !important;
        flex-direction: column !important;
        border: 1px solid #c8d6e7 !important;
        border-radius: 18px !important;
        background: #ffffff !important;
        box-shadow: 0 24px 72px rgba(17, 38, 74, 0.24) !important;
        animation: none !important;
        overflow: hidden !important;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-head {
        flex: 0 0 auto !important;
        padding: 24px 28px 20px !important;
        background: #ffffff !important;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-head h2 {
        font-size: 30px !important;
        line-height: 1.05 !important;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        flex: 0 1 auto !important;
        gap: 18px !important;
        padding: 22px 28px 0 !important;
        overflow-y: auto !important;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-actions {
        position: static !important;
        bottom: auto !important;
        margin: 4px -28px 0 !important;
        padding: 18px 28px 24px !important;
        background: #ffffff !important;
    }
}

/* dialupalertcomment1: show Alert comments in old Alerts shift cells and editor. */
body.page-dialup .dialup-inline-shift {
    align-items: flex-start;
}

body.page-dialup .dialup-inline-shift-text {
    display: grid;
    min-width: 0;
    gap: 2px;
}

body.page-dialup .dialup-inline-shift-number {
    color: #2b63e4;
    font-weight: 700;
    line-height: 1.15;
}

body.page-dialup .dialup-inline-shift-comment {
    display: -webkit-box;
    max-width: 126px;
    overflow: hidden;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.page-dialup .dialup-editor-field--comment {
    grid-column: 1 / -1;
}

body.page-dialup .dialup-shift-editor-overlay .dialup-editor-field--comment textarea {
    min-height: 92px;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 14px;
    line-height: 1.4;
    resize: vertical;
}

@media (max-width: 1023px) {
    body.page-dialup .dialup-shift-editor-overlay .dialup-editor-field--comment textarea.sa-mobile-editor-control {
        min-height: 120px !important;
        height: auto !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        line-height: 1.35;
    }
}

/* dialupmobilemodalscroll1: keep the Add/Edit Shift header visible and scroll the form inside the viewport. */
@media (min-width: 1024px) {
    body.page-dialup .dialup-shift-date-mobile {
        display: none !important;
    }
}

@media (max-width: 1023px) {
    body.page-dialup .dialup-shift-editor-overlay {
        align-items: stretch !important;
        justify-content: stretch !important;
        padding: 0 !important;
        overflow: hidden !important;
        overscroll-behavior: contain;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-panel {
        width: 100% !important;
        max-width: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: var(--waker-color-surface) !important;
        box-shadow: none !important;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-head {
        position: relative;
        z-index: 3;
        flex: 0 0 auto !important;
        min-height: 76px;
        padding: max(18px, env(safe-area-inset-top)) 18px 16px !important;
        border-bottom: 1px solid var(--waker-border-mobile) !important;
        background: var(--waker-color-surface) !important;
        box-sizing: border-box;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-head h2 {
        font-size: 26px !important;
        line-height: 1.1 !important;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-close {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        border-radius: 12px;
    }

    body.page-dialup .dialup-shift-date-native {
        display: none !important;
    }

    body.page-dialup .dialup-shift-date-mobile {
        display: grid !important;
        gap: 6px;
    }

    body.page-dialup .dialup-shift-date-calendar .sa-mobile-date-control {
        height: var(--waker-mobile-selector-height);
        min-height: var(--waker-mobile-selector-height);
        border-radius: var(--waker-mobile-selector-radius);
    }

    body.page-dialup .dialup-shift-date-calendar .sa-mobile-calendar {
        position: relative;
        inset: auto;
        width: 100%;
        max-width: none;
        margin-top: 10px;
    }

    body.page-dialup .dialup-shift-date-calendar.is-disabled .sa-mobile-date-control {
        background: var(--waker-color-surface-soft);
        color: var(--waker-color-ink-muted);
        cursor: not-allowed;
        opacity: 0.72;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-form {
        min-height: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-content: start !important;
        flex: 1 1 auto !important;
        gap: 18px !important;
        padding: 18px 16px 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scroll-padding-top: 18px;
        scroll-padding-bottom: 164px;
        box-sizing: border-box;
        touch-action: pan-y;
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-actions {
        position: sticky !important;
        bottom: 0 !important;
        z-index: 4;
        grid-column: 1 / -1;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        margin: 4px -16px 0 !important;
        padding: 14px 16px max(16px, env(safe-area-inset-bottom)) !important;
        border-top: 1px solid var(--waker-border-mobile);
        background: var(--waker-color-surface) !important;
        box-shadow: 0 -10px 24px rgba(16, 37, 77, 0.08);
    }

    body.page-dialup .dialup-shift-editor-overlay .trips-editor-actions button {
        width: 100%;
        min-width: 0;
        min-height: var(--waker-mobile-action-height);
    }
}

/* 20260804alerttablepolish1: align alert headers and shift-number content consistently. */
body.page-dialup .dialup-sync-icon,
body.page-dialup .dialup-sync-icon svg {
    width: 15px;
    height: 15px;
}

body.page-dialup .dialup-sync-icon svg {
    opacity: 0.82;
}

body.page-dialup .dialup-inline-shift,
body.page-dialup .dialup-inline-shift-text,
body.page-dialup .dialup-inline-shift-number {
    text-align: left;
}

body.page-dialup .dialup-inline-shift-text,
body.page-dialup .dialup-inline-shift-number {
    width: 100%;
}

body.page-dialup .dialup-inline-shift-text {
    justify-items: start;
}

@media (min-width: 1024px) {
    body.page-dialup table.dialup-table > thead > tr > th#dialup_stage_one_header,
    body.page-dialup table.dialup-table > thead > tr > th#dialup_stage_two_header {
        padding-right: 14px;
        padding-left: 14px;
    }
}
body.page-dialup .dialup-row-status--paused {
    color: var(--waker-status-paused-text);
    cursor: help;
}

body.page-dialup .dialup-row-status--paused:focus-visible {
    outline: 2px solid var(--waker-border-control-focus);
    outline-offset: 2px;
}

/* V1.3.2 desktop filter refinement: keep the complete Alerts toolbar in one
   stable row and let long selected values truncate inside fixed flex tracks. */
@media (min-width: 1024px) {
    html:has(> body.page-dialup) {
        scrollbar-gutter: stable;
    }

    body.page-dialup .dialup-top-panel .dialup-top-controls {
        display: flex !important;
        flex-flow: row nowrap !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        gap: clamp(4px, 0.5vw, 10px) !important;
        min-width: 0;
    }

    body.page-dialup .dialup-top-panel .dialup-toolbar-left,
    body.page-dialup .dialup-top-panel .dialup-toolbar-right,
    body.page-dialup .dialup-top-panel .dialup-date-shortcuts,
    body.page-dialup .dialup-top-panel .dialup-field--filters,
    body.page-dialup .dialup-top-panel .dialup-filter-selects--desktop {
        display: contents !important;
    }

    body.page-dialup .dialup-top-panel .dialup-field--firm {
        flex: 1.2 1 184px;
        width: auto !important;
        min-width: 96px !important;
    }

    body.page-dialup .dialup-top-panel .dialup-field--department {
        flex: 1.15 1 172px;
        width: auto !important;
        min-width: 96px !important;
    }

    body.page-dialup .dialup-top-panel .dialup-field--date {
        flex: 1.15 1 176px;
        width: auto !important;
        min-width: 124px !important;
    }

    body.page-dialup .dialup-top-panel .dialup-date-shortcut {
        flex: 0.52 1 78px;
        width: auto;
        min-width: 56px;
    }

    body.page-dialup .dialup-top-panel .dialup-date-shortcut[data-date-offset="1"] {
        flex-basis: 92px;
        min-width: 68px;
    }

    body.page-dialup .dialup-top-panel .dialup-top-controls .dialup-add-shift {
        flex: 0.8 1 126px;
        width: auto;
        min-width: 104px !important;
        padding-inline: 10px !important;
    }

    body.page-dialup .dialup-top-panel .dialup-filter-select {
        flex: 0.95 1 144px;
        align-self: flex-end;
        width: auto;
        min-width: 82px;
    }

    body.page-dialup .dialup-top-panel .dialup-sync-integrations {
        flex: 0.64 1 94px;
        width: auto;
        min-width: 70px;
        margin-left: 0;
    }

    body.page-dialup .dialup-top-panel .dialup-field,
    body.page-dialup .dialup-top-panel .dialup-date-shortcut,
    body.page-dialup .dialup-top-panel .dialup-add-shift,
    body.page-dialup .dialup-top-panel .dialup-sync-integrations,
    body.page-dialup .dialup-top-panel .dialup-filter-select,
    body.page-dialup .dialup-top-panel .dialup-filter-select__control,
    body.page-dialup .dialup-top-panel .dialup-filter-select__control .sa-mobile-selector__button {
        min-inline-size: 0;
        box-sizing: border-box;
    }

    body.page-dialup .dialup-top-panel .dialup-field select,
    body.page-dialup .dialup-top-panel .dialup-date-trigger,
    body.page-dialup .dialup-top-panel .dialup-date-shortcut,
    body.page-dialup .dialup-top-panel .dialup-add-shift,
    body.page-dialup .dialup-top-panel .dialup-sync-integrations,
    body.page-dialup .dialup-top-panel .dialup-filter-select__control {
        height: var(--waker-desktop-control-height) !important;
        min-height: var(--waker-desktop-control-height) !important;
    }

    body.page-dialup .dialup-top-panel .dialup-field select,
    body.page-dialup .dialup-top-panel .dialup-date-trigger,
    body.page-dialup .dialup-top-panel .dialup-date-trigger input,
    body.page-dialup .dialup-top-panel .dialup-date-shortcut,
    body.page-dialup .dialup-top-panel .dialup-add-shift,
    body.page-dialup .dialup-top-panel .dialup-sync-integrations,
    body.page-dialup .dialup-top-panel .dialup-filter-select__control .sa-mobile-selector__button {
        font-size: var(--waker-font-size-md) !important;
        line-height: var(--waker-line-default);
    }

    body.page-dialup .dialup-top-panel .dialup-date-trigger input {
        line-height: var(--waker-desktop-control-height) !important;
    }

    body.page-dialup .dialup-top-panel .dialup-filter-select__label {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    body.page-dialup .dialup-top-panel .dialup-filter-select__control .sa-mobile-selector__button {
        gap: 6px;
        padding-inline: clamp(6px, 0.55vw, 12px);
    }

    body.page-dialup .dialup-top-panel .dialup-filter-select__control .sa-mobile-selector__button-chevron {
        width: 18px;
        height: 18px;
    }

    body.page-dialup .dialup-top-panel .dialup-date-shortcut,
    body.page-dialup .dialup-top-panel .dialup-add-shift,
    body.page-dialup .dialup-top-panel .dialup-sync-integrations {
        padding-inline: clamp(8px, 0.75vw, 14px);
        white-space: nowrap;
    }

    body.page-dialup .dialup-top-panel .dialup-add-shift > span:last-child,
    body.page-dialup .dialup-top-panel .dialup-sync-label {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Retained identity is readable evidence, separate from assignable manager controls. */
body.page-dialup .dialup-manager-history {
    min-width: 0;
    text-transform: none;
    letter-spacing: normal;
    font-size: var(--waker-font-size-sm);
    font-weight: var(--waker-weight-normal);
    line-height: var(--waker-line-default);
    overflow-wrap: anywhere;
}
body.page-dialup .dialup-manager-history__contact {
    display: block;
    color: var(--waker-color-ink-muted);
}
