:root {
    --bg: #f4f7fb;
    --surface: #ffffff;
    --text: #18212f;
    --muted: #697386;
    --line: #dbe3ef;
    --primary: #1769aa;
    --accent: #18875f;
}

body {
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    overflow-x: hidden;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1055;
    display: flex;
    flex-direction: column;
    width: min(300px, 88vw);
    max-width: 100%;
    background: #111827;
    color: #fff;
    padding: 18px 14px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .22s ease;
}

.sidebar.is-open {
    transform: translateX(0);
}

.sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, .54);
}

body.sidebar-open {
    overflow: hidden;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-weight: 700;
    font-size: 18px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1769aa, #19a974);
    color: #fff;
}

.brand-title {
    min-width: 0;
    max-width: 190px;
    color: inherit;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.22;
    overflow-wrap: anywhere;
}

.login-panel .brand-title {
    max-width: 280px;
    text-align: left;
}

.sidebar-close {
    margin-left: auto;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
}

.sidebar nav {
    margin-top: 24px;
    display: grid;
    gap: 8px;
}

.sidebar-account {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding: 14px 2px 4px;
}

.sidebar-account-profile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.sidebar-account-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: rgba(25, 169, 116, .18);
    color: #f8fbff;
    font-size: 14px;
    font-weight: 900;
}

.sidebar-account-profile strong,
.sidebar-account-profile small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-account-profile strong {
    color: #fff;
    font-size: 13px;
}

.sidebar-account-profile small,
.sidebar-account-office {
    color: #b8c4d6;
    font-size: 12px;
}

.sidebar-account-office {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .11);
    overflow-wrap: anywhere;
}

.sidebar-account form {
    margin: 0;
}

.sidebar-logout {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(248, 113, 113, .27);
    color: #ffe4e6;
    background: rgba(185, 28, 28, .16);
    font-weight: 800;
}

.sidebar-logout:hover,
.sidebar-logout:focus {
    border-color: rgba(248, 113, 113, .48);
    color: #fff;
    background: rgba(220, 38, 38, .28);
}

.sidebar a {
    color: #d8dee9;
    text-decoration: none;
    min-height: 44px;
    padding: 11px 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.sidebar a.is-active {
    border: 1px solid rgba(64, 171, 255, .2);
    background: linear-gradient(180deg, #176dbc, #1260ab);
    color: #fff;
    box-shadow: 0 12px 24px rgba(3, 25, 48, .3);
}

.sidebar-assignment-link span:first-of-type {
    min-width: 0;
}

.sidebar-assignment-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    margin-left: auto;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 8px;
    background: rgba(25, 169, 116, .24);
    color: #f8fbff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.sidebar-assignment-link.has-attention .sidebar-assignment-count {
    border-color: rgba(255, 214, 102, .56);
    background: #ffd666;
    color: #17202a;
    animation: assignmentCountBlink 1s ease-in-out infinite;
}

@keyframes assignmentCountBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .34;
        transform: scale(.92);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar-assignment-link.has-attention .sidebar-assignment-count {
        animation: none;
    }
}

.content {
    min-width: 0;
    padding: 14px;
}

.topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.topbar h1 {
    font-size: 20px;
    margin: 0;
    overflow-wrap: anywhere;
}

.topbar-title {
    min-width: 0;
}

.sidebar-toggle {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.topbar small,
.text-secondary {
    color: var(--muted) !important;
}

.panel,
.stat-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px;
    box-shadow: 0 10px 28px rgba(30, 41, 59, .06);
    min-width: 0;
}

.panel-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.stat-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3px 10px;
    align-items: center;
}

.stat-card i {
    color: var(--primary);
    font-size: 22px;
}

.stat-card span {
    color: var(--muted);
    overflow-wrap: anywhere;
}

.stat-card strong {
    grid-column: 2;
    font-size: 24px;
    line-height: 1.1;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

.dashboard-overview {
    display: grid;
    gap: 20px;
}

.dashboard-filter-panel {
    padding: 20px 22px;
    border-color: #e1e8f1;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 35, 58, .065);
}

.dashboard-filter-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    gap: 14px;
}

.dashboard-filter-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.dashboard-filter-heading strong,
.dashboard-filter-heading small,
.dashboard-filter-field span {
    display: block;
}

.dashboard-filter-heading strong {
    color: #081a33;
    font-size: 16px;
    font-weight: 900;
}

.dashboard-filter-heading small {
    color: #58718e;
    font-size: 12px;
    line-height: 1.35;
}

.dashboard-filter-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.dashboard-filter-field span {
    color: #35506f;
    font-size: 12px;
    font-weight: 850;
}

.dashboard-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.dashboard-stat {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    gap: 18px;
    min-height: 142px;
    padding: 24px 22px 18px;
    overflow: hidden;
    border-color: #e1e8f1;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 35, 58, .065);
}

.dashboard-stat::after {
    position: absolute;
    inset: auto 4px 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: #1687d4;
    content: "";
}

.dashboard-stat-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.dashboard-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
    color: var(--primary);
}

.dashboard-stat-icon i {
    color: inherit;
    font-size: 25px;
}

.dashboard-stat-main > div {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.dashboard-stat-main > div span {
    color: #3a526f;
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: normal;
    white-space: nowrap;
}

.dashboard-stat-main > div strong {
    grid-column: auto;
    color: #06162e;
    font-size: 33px;
    font-weight: 900;
    line-height: 1;
}

.dashboard-stat > small {
    color: #617895;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-stat.is-online .dashboard-stat-icon {
    border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
    color: var(--accent);
    background: color-mix(in srgb, var(--accent) 11%, var(--surface));
}

.dashboard-stat.is-online::after {
    background: #16a34a;
}

.dashboard-stat.is-offline .dashboard-stat-icon {
    border-color: color-mix(in srgb, #64748b 26%, var(--line));
    color: #64748b;
    background: color-mix(in srgb, #64748b 10%, var(--surface));
}

.dashboard-stat.is-offline::after {
    background: #50779a;
}

.dashboard-stat.is-software .dashboard-stat-icon {
    border-color: color-mix(in srgb, #d97706 26%, var(--line));
    color: #b45309;
    background: color-mix(in srgb, #d97706 11%, var(--surface));
}

.dashboard-stat.is-software::after {
    background: #f97316;
}

.dashboard-stat.is-not-connected .dashboard-stat-icon {
    border-color: color-mix(in srgb, #be123c 25%, var(--line));
    color: #be123c;
    background: color-mix(in srgb, #e11d48 10%, var(--surface));
}

.dashboard-stat.is-not-connected::after {
    background: #e11d48;
}

.dashboard-stat.is-employee .dashboard-stat-icon {
    border-color: color-mix(in srgb, #0f766e 25%, var(--line));
    color: #0f766e;
    background: color-mix(in srgb, #14b8a6 12%, var(--surface));
}

.dashboard-stat.is-employee::after {
    background: #0f766e;
}

.dashboard-stat.is-office .dashboard-stat-icon {
    border-color: color-mix(in srgb, #0891b2 28%, var(--line));
    color: #0e7490;
    background: color-mix(in srgb, #0891b2 11%, var(--surface));
}

.dashboard-stat.is-office::after {
    background: #0e9db8;
}

.dashboard-stat.is-user .dashboard-stat-icon {
    border-color: color-mix(in srgb, #7c3aed 25%, var(--line));
    color: #6d28d9;
    background: color-mix(in srgb, #7c3aed 10%, var(--surface));
}

.dashboard-stat.is-user::after {
    background: #7c3aed;
}

.dashboard-analytics {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 0;
}

.dashboard-chart-panel {
    display: grid;
    grid-template-rows: auto minmax(290px, 1fr) auto;
    min-height: 510px;
    padding: 24px;
    border-color: #e1e8f1;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 35, 58, .065);
}

.dashboard-chart-panel:last-child {
    grid-template-rows: auto minmax(360px, 1fr);
}

.dashboard-chart-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 16px;
}

.dashboard-chart-header .module-icon {
    width: 54px;
    height: 54px;
    border: 0;
    background: #e7f2fb;
    font-size: 24px;
}

.dashboard-chart-header .panel-title {
    color: #081a33;
    font-size: 18px;
    font-weight: 900;
}

.dashboard-chart-header small {
    display: block;
    color: #58718e !important;
    font-size: 13px;
    line-height: 1.35;
}

.dashboard-period {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 0 0 auto;
    min-height: 43px;
    padding: 0 16px;
    border: 1px solid #d7e1ec;
    border-radius: 8px;
    background: var(--surface);
    color: #47617e;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-period-menu .dropdown-menu {
    min-width: 150px;
    padding: 7px;
    border-color: #d7e1ec;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(15, 35, 58, .14);
}

.dashboard-period-menu .dropdown-item {
    min-height: 36px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    color: #35506f;
    font-size: 13px;
    font-weight: 700;
}

.dashboard-period-menu .dropdown-item.active,
.dashboard-period-menu .dropdown-item:active {
    background: color-mix(in srgb, var(--primary) 13%, var(--surface));
    color: var(--primary);
}

.dashboard-chart-body {
    position: relative;
    min-height: 0;
    padding-top: 26px;
}

.dashboard-office-chart-body {
    min-height: max(360px, calc(var(--office-chart-rows, 1) * 64px));
}

.dashboard-chart-body canvas {
    width: 100% !important;
    height: 100% !important;
}

.dashboard-activity-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 80px;
    margin-top: 20px;
    border-radius: 8px;
    background: #f8fbfd;
}

.dashboard-activity-item {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    padding: 18px 22px;
    border-left: 4px solid var(--primary);
    color: var(--primary);
}

.dashboard-activity-item + .dashboard-activity-item {
    border-top: 1px solid #e6edf4;
}

.dashboard-activity-item.is-success {
    border-left-color: #12b76a;
    color: #0fa958;
}

.dashboard-activity-item i {
    font-size: 14px;
}

.dashboard-activity-item strong {
    color: #071830;
    font-size: 16px;
    font-weight: 900;
}

.dashboard-activity-item span,
.dashboard-activity-item small {
    display: block;
}

.dashboard-activity-item span {
    color: #35506f;
    font-size: 13px;
}

.dashboard-activity-item small {
    color: #68809d;
    font-size: 12px;
}

.dashboard-quick-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 25px 30px;
    border-color: #e1e8f1;
    border-radius: 8px;
}

.dashboard-quick-heading {
    display: grid;
    gap: 6px;
}

.dashboard-quick-heading strong {
    color: #081a33;
    font-size: 20px;
    font-weight: 900;
}

.dashboard-quick-heading small {
    color: #5c7492;
    font-size: 13px;
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.dashboard-action {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 76px;
    padding: 15px 18px;
    border-radius: 8px;
    background: #f4f8fd;
    color: inherit;
    text-decoration: none;
}

.dashboard-action:hover,
.dashboard-action:focus {
    background: color-mix(in srgb, var(--primary) 9%, var(--surface));
}

.dashboard-action > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #e1edff;
    color: #1769db;
    font-size: 22px;
}

.dashboard-action span,
.dashboard-action small {
    display: block;
}

.dashboard-action strong {
    color: #0a1b34;
    font-size: 14px;
    font-weight: 900;
}

.dashboard-action small {
    margin-top: 3px;
    color: #5d7591;
    font-size: 12px;
}

.dashboard-action.is-assets {
    background: #f1fbf7;
}

.dashboard-action.is-assets > i {
    background: #dbf6e8;
    color: #0f9f54;
}

.dashboard-action.is-software > i {
    background: #fff0e1;
    color: #f97316;
}

.dashboard-action.is-report > i {
    background: #ede8ff;
    color: #7c3aed;
}

.dashboard-update-assignments {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-color: #e1e8f1;
}

.assignment-module {
    display: grid;
    gap: 18px;
}

.assignment-module .dashboard-update-assignments {
    padding: 0;
}

.assignment-module-body {
    display: grid;
    gap: 18px;
}

.assignment-header-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.settings-body {
    display: grid;
    gap: 16px;
}

.settings-secret-form,
.settings-timing-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 14px;
}

.settings-timing-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-secret-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.settings-secret-field span {
    color: #35506f;
    font-size: 12px;
    font-weight: 850;
}

.settings-secret-actions {
    grid-column: 1 / -1;
}

.assignment-modal-dialog {
    width: min(1120px, calc(100vw - 32px));
    max-width: none;
}

.assignment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.assignment-picker {
    display: grid;
    align-content: start;
    gap: 8px;
    min-width: 0;
}

.assignment-picker .form-label {
    margin: 0;
}

.assignment-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
}

.assignment-search-dropdown {
    min-width: 0;
}

.assignment-search-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    gap: 10px;
    text-align: left;
}

.assignment-search-toggle span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.assignment-search-menu {
    width: min(560px, calc(100vw - 44px));
    min-width: 100%;
    padding: 8px;
}

.assignment-search-menu .form-control {
    min-height: 38px;
    margin-bottom: 7px;
}

.assignment-search-options {
    display: grid;
    max-height: 250px;
    overflow-y: auto;
}

.assignment-search-option {
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #263548;
    padding: 8px 9px;
    text-align: left;
}

.assignment-search-option:hover,
.assignment-search-option:focus,
.assignment-search-option.is-selected {
    background: color-mix(in srgb, var(--primary) 11%, var(--surface));
    color: var(--primary);
}

.assignment-search-empty {
    padding: 9px;
    color: var(--muted);
}

.assignment-note-picker,
.assignment-software-picker {
    grid-column: 1 / -1;
}

.assignment-software-picker .assignment-search-menu {
    width: min(760px, calc(100vw - 44px));
}

.assignment-completion-grid {
    grid-template-columns: minmax(0, 1fr);
}

.dashboard-assignment-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.dashboard-assignment-heading .panel-title {
    color: #081a33;
    font-size: 18px;
    font-weight: 900;
}

.dashboard-assignment-table-wrap {
    border-radius: 8px;
}

.dashboard-assignment-table {
    min-width: 820px;
}

.dashboard-assignment-table form {
    display: inline-flex;
}

.assignment-device-link {
    color: var(--primary);
    text-decoration: none;
}

.assignment-device-link:hover,
.assignment-device-link:focus {
    text-decoration: underline;
}

.assignment-row-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.assignment-row-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dashboard-assignment-empty {
    min-height: 160px;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #f8fbfd;
}

.update-task-choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 14px;
    padding: 0;
    border: 0;
}

.update-task-choices .form-label {
    grid-column: 1 / -1;
    float: none;
    width: auto;
    margin-bottom: 0;
    font-size: inherit;
}

.update-task-choices label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: #263548;
    font-weight: 650;
}

.dashboard-assignment-completed {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.dashboard-assignment-subtitle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #35506f;
    font-weight: 850;
}

.dashboard-completion-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
}

.dashboard-completion-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 11px 14px;
    border: 1px solid #d9eadf;
    border-radius: 8px;
    background: #f2fbf5;
}

.dashboard-completion-item.has-selection {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
}

.dashboard-completion-item > i {
    color: #0f9f54;
    font-size: 22px;
}

.dashboard-completion-item span,
.dashboard-completion-item small {
    display: block;
}

.dashboard-completion-item form {
    display: inline-flex;
}

.bulk-delete-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 10px;
}

.bulk-select-all-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #4d647f;
    font-size: 13px;
    font-weight: 800;
}

.selection-cell {
    width: 52px !important;
    text-align: center;
    vertical-align: middle;
}

.dashboard-completion-item small,
.dashboard-completion-item time {
    color: #58718e;
    font-size: 12px;
}

.grid-two,
.profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.grid-three {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.compact-form {
    display: grid;
    gap: 10px;
}

.empty-state {
    min-height: 220px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    color: var(--muted);
    text-align: center;
}

.empty-state i {
    color: var(--accent);
    font-size: 32px;
}

.empty-state strong {
    color: var(--text);
    font-size: 16px;
}

.details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px 14px;
}

.details dt {
    color: var(--muted);
    font-weight: 600;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 48px);
    background:
        linear-gradient(135deg, rgba(23, 105, 170, .1), transparent 38%),
        linear-gradient(315deg, rgba(24, 135, 95, .09), transparent 42%),
        var(--bg);
}

.login-shell {
    display: grid;
    grid-template-columns: minmax(340px, 1.05fr) minmax(360px, .95fr);
    width: min(1040px, 100%);
    min-height: min(680px, calc(100vh - 48px));
    border: 1px solid rgba(219, 227, 239, .92);
    border-radius: 8px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 28px 84px rgba(15, 23, 42, .16);
    overflow: hidden;
}

.login-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 38px;
    padding: clamp(30px, 5vw, 62px);
    background:
        linear-gradient(145deg, rgba(7, 24, 45, .94), rgba(15, 53, 80, .96)),
        repeating-linear-gradient(90deg, transparent 0 64px, rgba(255, 255, 255, .06) 64px 65px),
        repeating-linear-gradient(0deg, transparent 0 64px, rgba(255, 255, 255, .06) 64px 65px);
    color: #f8fbff;
}

.login-intro::after {
    position: absolute;
    right: clamp(24px, 4vw, 58px);
    bottom: clamp(126px, 18vw, 210px);
    width: min(220px, 44%);
    aspect-ratio: 1;
    border: 1px solid rgba(125, 211, 252, .2);
    background:
        linear-gradient(90deg, transparent 49%, rgba(125, 211, 252, .16) 49% 51%, transparent 51%),
        linear-gradient(0deg, transparent 49%, rgba(25, 169, 116, .18) 49% 51%, transparent 51%),
        rgba(255, 255, 255, .035);
    content: "";
    transform: rotate(45deg);
}

.login-brand {
    position: relative;
    z-index: 1;
    align-items: flex-start;
    color: #fff;
}

.login-brand .brand-mark {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    font-size: 18px;
    box-shadow: 0 14px 28px rgba(2, 8, 23, .28);
}

.login-brand .brand-title {
    max-width: 320px;
    font-size: 18px;
    line-height: 1.25;
}

.login-kicker {
    margin: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.login-intro-copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    max-width: 470px;
}

.login-intro-copy .login-kicker {
    color: #88e1c2;
}

.login-intro h1 {
    margin: 0;
    color: #fff;
    font-size: 52px;
    font-weight: 850;
    line-height: 1.04;
}

.login-intro-copy p:last-child {
    max-width: 410px;
    margin: 0;
    color: #cfe1ef;
    font-size: 16px;
    line-height: 1.6;
}

.login-signal-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.login-signal-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .085);
    color: #eef7ff;
    font-weight: 700;
}

.login-signal-grid i {
    display: inline-grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 8px;
    background: rgba(136, 225, 194, .14);
    color: #88e1c2;
}

.login-panel {
    display: grid;
    align-content: center;
    gap: 18px;
    padding: clamp(30px, 5vw, 64px);
    background: rgba(255, 255, 255, .96);
}

.login-panel-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-lock {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(23, 105, 170, .16);
    border-radius: 8px;
    background: rgba(23, 105, 170, .1);
    color: var(--primary);
    font-size: 23px;
}

.login-panel .login-kicker {
    margin-bottom: 5px;
    color: var(--accent);
}

.login-panel h2 {
    margin: 0;
    font-size: 34px;
    font-weight: 850;
    line-height: 1.05;
}

.login-panel-copy {
    max-width: 380px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.login-panel .alert {
    margin: 2px 0 0;
}

.login-flash {
    transition: opacity .24s ease, transform .24s ease;
}

.login-flash.is-hiding {
    opacity: 0;
    transform: translateY(-4px);
}

.login-form {
    display: grid;
    gap: 18px;
    margin-top: 6px;
}

.login-form .form-label {
    margin-bottom: 8px;
    color: #263548;
    font-weight: 750;
}

.login-field {
    position: relative;
}

.login-field > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    color: #607087;
    font-size: 17px;
    transform: translateY(-50%);
    pointer-events: none;
}

.login-field .form-control {
    min-height: 56px;
    padding-left: 46px;
    border-color: #cbd7e7;
    background: #f8fbff;
    font-size: 16px;
}

.login-field .form-control:focus {
    background: #fff;
}

.login-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    margin-top: 4px;
    padding-inline: 20px;
    border-color: #105d9c;
    background: linear-gradient(135deg, #1769aa, #0f7b8c);
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 15px 30px rgba(23, 105, 170, .22);
}

.login-submit:hover,
.login-submit:focus {
    border-color: #0c527f;
    background: linear-gradient(135deg, #125b95, #0b6778);
}

.table > thead > tr > th,
.table.dataTable > thead > tr > th,
table.dataTable thead th,
table.dataTable thead td {
    text-align: left !important;
    vertical-align: middle;
}

table.dataTable thead .dt-column-title {
    display: block;
    width: 100%;
    text-align: left !important;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
}

.panel > table.table {
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .045);
    overflow: hidden;
}

.table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: color-mix(in srgb, var(--primary) 3.5%, transparent);
    --bs-table-hover-bg: color-mix(in srgb, var(--primary) 7%, transparent);
    --bs-table-color: var(--text);
    --bs-table-border-color: color-mix(in srgb, var(--line) 78%, transparent);
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 0;
}

.table th,
.table td {
    vertical-align: middle;
    overflow-wrap: anywhere;
}

.table > :not(caption) > * > * {
    border-bottom-color: color-mix(in srgb, var(--line) 78%, transparent);
    padding: 13px 14px;
}

.table thead th,
.table.dataTable thead th,
table.dataTable thead th,
table.dataTable thead td {
    background: color-mix(in srgb, var(--bg) 70%, var(--surface));
    border-bottom: 1px solid var(--line);
    color: #4b5870;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    padding: 13px 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.table tbody tr {
    transition: background-color .16s ease, box-shadow .16s ease;
}

.table tbody tr:hover > * {
    background-color: color-mix(in srgb, var(--primary) 6%, transparent);
}

.table tbody td {
    color: var(--text);
    line-height: 1.4;
}

.table tbody td:first-child strong {
    color: var(--text);
    font-weight: 800;
}

.table small {
    color: var(--muted);
    line-height: 1.35;
}

.table .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 26px;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: .01em;
    padding: 5px 9px;
}

.user-table {
    min-width: 820px;
}

.user-table tbody tr > * {
    background: var(--surface);
}

.offices-table:has(.selection-cell) thead th:nth-child(3),
.offices-table:has(.selection-cell) thead th:nth-child(4),
.offices-table:has(.selection-cell) thead th:nth-child(3) .dt-column-title,
.offices-table:has(.selection-cell) thead th:nth-child(4) .dt-column-title,
.offices-table:not(:has(.selection-cell)) thead th:nth-child(2),
.offices-table:not(:has(.selection-cell)) thead th:nth-child(3),
.offices-table:not(:has(.selection-cell)) thead th:nth-child(2) .dt-column-title,
.offices-table:not(:has(.selection-cell)) thead th:nth-child(3) .dt-column-title {
    text-align: center !important;
}

.employee-table thead th:nth-child(6),
.employee-table thead th:nth-child(6) .dt-column-title {
    text-align: center !important;
}

.user-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.user-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 12%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
    font-size: 13px;
    font-weight: 900;
}

.user-email {
    color: var(--muted);
    font-weight: 650;
}

.soft-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.table-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}

.table .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 7px;
}

.table > :last-child > tr:last-child > * {
    border-bottom: 0;
}

.data-table {
    min-width: 720px;
}

.office-summary-table thead th:nth-child(2),
.office-summary-table thead th:nth-child(3),
.office-summary-table thead th:nth-child(4),
.office-summary-table thead th:nth-child(2) .dt-column-title,
.office-summary-table thead th:nth-child(3) .dt-column-title,
.office-summary-table thead th:nth-child(4) .dt-column-title {
    text-align: center !important;
}

.dt-container {
    width: 100%;
}

.dt-container .row {
    row-gap: 10px;
    align-items: center;
}

.dt-container .dt-length,
.dt-container .dt-search,
.dt-container .dt-info,
.dt-container .dt-paging {
    width: 100%;
}

.dt-container .dt-search {
    text-align: left !important;
}

.dt-container.has-external-search .dt-search {
    display: none;
}

.dt-container.has-external-search .dt-info,
.dt-container.has-external-search .dt-paging,
.dt-container.has-external-search .dt-length {
    display: none !important;
}

.dt-container .dt-search input {
    min-height: 38px;
    width: 100% !important;
    max-width: 100%;
    margin-left: 0 !important;
    border-color: var(--line);
    border-radius: 8px;
    background-color: var(--surface);
    box-shadow: 0 7px 18px rgba(15, 23, 42, .045);
}

.dt-container .dt-length select {
    min-height: 38px;
    min-width: 76px;
    border-color: var(--line);
    border-radius: 8px;
    background-color: var(--surface);
}

.dt-container .dt-length label,
.dt-container .dt-search label,
.dt-container .dt-info {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.dt-container .pagination {
    flex-wrap: wrap;
    gap: 4px;
}

.dt-container .page-link {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-color: var(--line);
    border-radius: 7px !important;
    color: var(--primary);
    font-weight: 700;
}

.dt-container .page-item.active .page-link {
    border-color: var(--primary);
    background: var(--primary);
}

.dt-container .page-item.disabled .page-link {
    color: var(--muted);
    background: color-mix(in srgb, var(--bg) 76%, var(--surface));
}

.btn,
.form-control,
.form-select {
    min-height: 42px;
}

.btn-sm {
    min-height: 36px;
}

.panel > .d-flex.justify-content-between {
    gap: 12px;
    flex-wrap: wrap;
}

.table-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(460px, 100%);
}

.employee-table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.table-search > i {
    position: absolute;
    left: 14px;
    z-index: 2;
    color: var(--muted);
    font-size: 15px;
}

.table-search .form-control {
    min-height: 44px;
    padding-left: 40px;
    padding-right: 48px;
    border-color: color-mix(in srgb, var(--line) 84%, var(--primary));
    border-radius: 8px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 94%, #fff), var(--surface));
    box-shadow: none;
    font-weight: 600;
}

.table-search-lg {
    width: min(560px, 100%);
}

.table-search-lg .form-control {
    min-height: 48px;
    padding-left: 44px;
    border-color: color-mix(in srgb, var(--line) 70%, var(--primary));
    box-shadow: 0 14px 30px rgba(15, 23, 42, .07);
}

.table-search-lg > i {
    left: 16px;
}

.table-search .form-control:focus {
    border-color: color-mix(in srgb, var(--primary) 72%, var(--line));
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 13%, transparent);
}

.table-search .btn {
    position: absolute;
    right: 7px;
    z-index: 3;
    width: 31px;
    height: 31px;
    min-height: 31px;
    padding: 0;
    border-radius: 7px;
}

.employee-count-badge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: color-mix(in srgb, var(--surface) 86%, var(--bg));
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.modal-content {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
}

.modal-header,
.modal-footer {
    border-color: var(--line);
}

.modal-header {
    gap: 12px;
}

.modal-title {
    overflow-wrap: anywhere;
}

.modal-header > div:first-child {
    min-width: 0;
}

.app-message-modal .modal-dialog {
    max-width: min(460px, calc(100vw - 24px));
}

.app-message-modal .modal-content {
    position: relative;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--primary) 18%, var(--line));
}

.app-message-modal .modal-content::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--app-message-tone, var(--primary));
    content: '';
}

.app-message-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
}

.app-message-body {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-height: 124px;
    padding: 28px 54px 20px 24px;
}

.app-message-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid color-mix(in srgb, var(--app-message-tone, var(--primary)) 22%, var(--line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--app-message-tone, var(--primary)) 12%, var(--surface));
    color: var(--app-message-tone, var(--primary));
    font-size: 26px;
}

.app-message-copy {
    min-width: 0;
    padding-top: 2px;
}

.app-message-copy .modal-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.app-message-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.app-message-footer {
    justify-content: flex-end;
    padding: 14px 24px 20px;
    border-top: 0;
    background: color-mix(in srgb, var(--bg) 56%, var(--surface));
}

.app-message-footer .btn {
    min-width: 96px;
}

.app-message-modal[data-message-type="success"] {
    --app-message-tone: var(--accent);
}

.app-message-modal[data-message-type="warning"] {
    --app-message-tone: #b45309;
}

.app-message-modal[data-message-type="danger"] {
    --app-message-tone: #c2414b;
}

.row .col-12.d-flex {
    flex-wrap: wrap;
}

.row .col-12.d-flex .btn {
    min-width: 120px;
}

td .btn-sm,
td form.d-inline {
    margin: 2px;
}

.table-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.table-actions form {
    margin: 0;
}

.office-devices-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin: 0;
}

.office-devices-modal .modal-content {
    min-height: 100vh;
    border-radius: 0;
    overflow: hidden;
}

.office-devices-modal .modal-header {
    background: linear-gradient(180deg, rgba(23, 105, 170, .07), rgba(23, 105, 170, 0));
    padding: 14px;
    align-items: flex-start;
    gap: 12px;
}

.office-devices-modal .modal-body {
    background: color-mix(in srgb, var(--bg) 54%, var(--surface));
    padding: 12px;
}

.device-status-tabs {
    margin-bottom: 12px;
}

.device-status-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.device-status-content .device-status-empty {
    min-height: 280px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.unassigned-workbench {
    padding: 0;
    overflow: hidden;
}

.module-workbench {
    padding: 0;
    overflow: hidden;
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, var(--surface)), var(--surface));
}

.module-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.module-heading .panel-title {
    margin-bottom: 0;
}

.module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary) 11%, var(--surface));
    color: var(--primary);
    font-size: 19px;
}

.module-body,
.module-form-body {
    padding: 18px;
}

.module-body > :last-child,
.module-form-body > :last-child {
    margin-bottom: 0;
}

.module-body .employee-table-toolbar:last-child {
    margin-bottom: 0;
}

.module-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.module-toolbar .btn {
    flex: 0 0 auto;
}

.module-toolbar .table-search {
    flex: 1 1 300px;
}

.module-chart-body {
    min-height: 320px;
}

.module-chart-body canvas {
    max-height: 320px;
}

.report-workbench .module-body {
    padding-top: 14px;
}

.report-workbench .table-responsive,
.module-body > .table-responsive {
    box-shadow: none;
}

.unassigned-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 7%, var(--surface)), var(--surface));
}

.unassigned-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.unassigned-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid color-mix(in srgb, var(--primary) 24%, var(--line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary) 11%, var(--surface));
    color: var(--primary);
    font-size: 19px;
}

.unassigned-counts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.unassigned-counts span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.unassigned-counts strong {
    color: var(--text);
    font-size: 15px;
}

.unassigned-counts .is-online strong {
    color: #16794c;
}

.unassigned-counts .is-offline strong {
    color: #5f6d81;
}

.unassigned-workbench > .alert,
.unassigned-workbench > .empty-state,
.unassigned-workbench > .device-status-tabs,
.unassigned-workbench > .device-status-content {
    margin-left: 18px;
    margin-right: 18px;
}

.unassigned-workbench > .alert,
.unassigned-workbench > .empty-state {
    margin-top: 18px;
    margin-bottom: 18px;
}

.unassigned-status-tabs {
    gap: 6px;
    margin-top: 16px;
    border-bottom-color: color-mix(in srgb, var(--line) 88%, var(--primary));
}

.unassigned-status-tabs .nav-link {
    min-height: 42px;
    border-radius: 8px 8px 0 0;
    border-color: transparent;
    color: var(--muted);
    font-weight: 800;
}

.unassigned-status-tabs .nav-link.active {
    border-color: var(--line) var(--line) var(--surface);
    background: var(--surface);
    color: var(--text);
}

.unassigned-status-tabs .badge {
    min-width: 24px;
}

.unassigned-workbench .device-status-content {
    padding-bottom: 18px;
}

.unassigned-table-wrap {
    max-height: none;
    box-shadow: none;
}

.unassigned-online-table tbody td:first-child,
.unassigned-offline-table tbody td:first-child {
    font-weight: 800;
}

.unassigned-actions {
    align-items: center;
    flex-wrap: nowrap;
}

.unassigned-actions .btn-primary {
    box-shadow: 0 7px 14px rgba(23, 105, 170, .16);
}

.unassigned-delete {
    width: 36px;
    padding-left: 0;
    padding-right: 0;
}

.device-table-wrap {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    max-height: calc(100vh - 178px);
}

.device-detail-table,
.offline-device-table {
    min-width: 1570px;
    table-layout: fixed;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.offline-device-table {
    min-width: 1180px;
}

.device-detail-table thead th,
.offline-device-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: left !important;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    color: #4b5870;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    padding: 12px 10px;
    text-transform: uppercase;
    white-space: normal;
}

.device-detail-table tbody td,
.offline-device-table tbody td {
    border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    padding: 13px 10px;
    vertical-align: middle;
    white-space: normal;
    overflow-wrap: anywhere;
}

.device-detail-table tbody tr:last-child td,
.offline-device-table tbody tr:last-child td {
    border-bottom: 0;
}

.device-detail-table tbody tr:hover td,
.offline-device-table tbody tr:hover td {
    background: rgba(23, 105, 170, .055);
}

.device-detail-table tbody td:first-child {
    font-weight: 700;
}

.device-detail-table small {
    display: inline-block;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.3;
}

.device-os-line {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.3;
}

.device-detail-table .badge {
    min-width: 78px;
    justify-content: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 9px;
}

.device-detail-table .device-actions-toggle {
    border-color: var(--line);
    background: var(--surface);
    box-shadow: 0 4px 12px rgba(15, 23, 42, .08);
}

.device-detail-table .device-actions-toggle:hover,
.device-detail-table .device-actions-toggle:focus {
    border-color: color-mix(in srgb, var(--primary) 65%, var(--line));
    color: var(--primary);
}

.maintenance-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
}

.maintenance-link:hover,
.maintenance-link:focus {
    color: color-mix(in srgb, var(--primary) 72%, var(--accent));
    text-decoration: underline;
}

.maintenance-link.is-alert {
    color: #dc2626;
    animation: maintenanceBlink 1s ease-in-out infinite;
}

.device-detail-table tr.is-open-device > *,
.offline-device-table tr.is-open-device > * {
    background: #fff5cf;
    box-shadow: inset 0 1px 0 #f2c94c, inset 0 -1px 0 #f2c94c;
}

@keyframes maintenanceBlink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .28;
    }
}

.device-detail-table th:nth-child(1),
.device-detail-table td:nth-child(1) { width: 150px; }
.device-detail-table th:nth-child(2),
.device-detail-table td:nth-child(2) { width: 110px; }
.device-detail-table th:nth-child(3),
.device-detail-table td:nth-child(3) { width: 145px; }
.device-detail-table th:nth-child(4),
.device-detail-table td:nth-child(4) { width: 86px; }
.device-detail-table th:nth-child(5),
.device-detail-table td:nth-child(5) { width: 92px; }
.device-detail-table th:nth-child(6),
.device-detail-table td:nth-child(6) {
    width: 112px;
    white-space: normal;
    overflow-wrap: anywhere;
}
.device-detail-table th:nth-child(7),
.device-detail-table td:nth-child(7) { width: 250px; }
.device-detail-table th:nth-child(8),
.device-detail-table td:nth-child(8) {
    width: 132px;
    text-align: center !important;
    white-space: nowrap;
    overflow-wrap: normal;
}
.device-detail-table th:nth-child(9),
.device-detail-table td:nth-child(9) { width: 250px; }
.device-detail-table th:nth-child(10),
.device-detail-table td:nth-child(10) { width: 160px; }
.device-detail-table th:nth-child(11),
.device-detail-table td:nth-child(11) { width: 190px; }
.device-detail-table th:nth-child(12),
.device-detail-table td:nth-child(12) { width: 96px; }
.device-detail-table th:nth-child(13),
.device-detail-table td:nth-child(13) { width: 120px; }
.device-detail-table th:nth-child(14),
.device-detail-table td:nth-child(14) {
    position: sticky;
    right: 0;
    width: 76px;
    background: var(--surface);
}

.device-detail-table th:nth-child(14) {
    z-index: 3;
    background: #f8fafc;
}

.device-detail-table tbody tr:hover td:nth-child(14) {
    background: color-mix(in srgb, var(--surface) 92%, var(--primary));
}

.offline-device-table th:nth-child(1),
.offline-device-table td:nth-child(1) { width: 130px; }
.offline-device-table th:nth-child(2),
.offline-device-table td:nth-child(2) { width: 150px; }
.offline-device-table th:nth-child(3),
.offline-device-table td:nth-child(3) { width: 180px; }
.offline-device-table th:nth-child(4),
.offline-device-table td:nth-child(4) { width: 170px; }
.offline-device-table th:nth-child(5),
.offline-device-table td:nth-child(5) { width: 150px; }
.offline-device-table th:nth-child(6),
.offline-device-table td:nth-child(6) { width: 190px; }
.offline-device-table th:nth-child(7),
.offline-device-table td:nth-child(7) { width: 180px; }
.offline-device-table th:nth-child(8),
.offline-device-table td:nth-child(8) { width: 150px; }
.offline-device-table th:nth-child(9),
.offline-device-table td:nth-child(9) { width: 130px; }
.offline-device-table th:nth-child(10),
.offline-device-table td:nth-child(10) {
    position: sticky;
    right: 0;
    width: 76px;
    background: var(--surface);
}

.offline-device-table th:nth-child(10) {
    z-index: 3;
    background: #f8fafc;
}

.offline-device-table tbody tr:hover td:nth-child(10) {
    background: color-mix(in srgb, var(--surface) 92%, var(--primary));
}

.unassigned-online-table th:nth-child(13),
.unassigned-online-table td:nth-child(13),
.unassigned-offline-table th:nth-child(7),
.unassigned-offline-table td:nth-child(7) {
    position: sticky;
    right: 0;
    width: 132px;
    background: var(--surface);
}

.unassigned-online-table th:nth-child(13),
.unassigned-offline-table th:nth-child(7) {
    z-index: 3;
    background: #f8fafc;
}

.unassigned-online-table tbody tr:hover td:nth-child(13),
.unassigned-offline-table tbody tr:hover td:nth-child(7) {
    background: color-mix(in srgb, var(--surface) 92%, var(--primary));
}

.maintenance-modal {
    width: min(1080px, calc(100vw - 24px));
    max-width: min(1080px, calc(100vw - 24px));
}

.maintenance-modal .modal-content {
    overflow: hidden;
}

.maintenance-modal-header {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(23, 105, 170, .08), rgba(23, 105, 170, 0)),
        var(--surface);
    padding: 18px 20px;
}

.maintenance-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.maintenance-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--primary) 10%, var(--surface));
    color: var(--primary);
    font-size: 18px;
}

.maintenance-count-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 8%, var(--surface));
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.maintenance-modal .modal-body {
    background: color-mix(in srgb, var(--bg) 48%, var(--surface));
    padding: 18px 20px 20px;
}

.maintenance-table-wrap {
    max-height: min(650px, calc(100vh - 220px));
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.maintenance-table {
    table-layout: fixed;
    min-width: 900px;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.maintenance-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    color: #4b5870;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    padding: 13px 14px;
    text-transform: uppercase;
}

.maintenance-table th,
.maintenance-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    vertical-align: top;
}

.maintenance-table tbody td {
    border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    font-size: 13px;
    line-height: 1.42;
    padding: 14px;
}

.maintenance-table tbody tr:last-child td {
    border-bottom: 0;
}

.maintenance-table tbody tr:hover td {
    background: rgba(23, 105, 170, .05);
}

.maintenance-table th:nth-child(1),
.maintenance-table td:nth-child(1) {
    width: 18%;
}

.maintenance-table th:nth-child(2),
.maintenance-table td:nth-child(2),
.maintenance-table th:nth-child(3),
.maintenance-table td:nth-child(3) {
    width: 29%;
}

.maintenance-table th:nth-child(4),
.maintenance-table td:nth-child(4) {
    width: 16%;
}

.maintenance-table th:nth-child(5),
.maintenance-table td:nth-child(5) {
    width: 8%;
}

.maintenance-delete-btn {
    width: 36px;
    padding-inline: 0;
}

.software-modal {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    margin: 0;
}

.software-modal .modal-content {
    min-height: 100vh;
    border-radius: 0;
}

.software-modal .modal-body {
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.software-modal .modal-header > .d-flex {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.software-owner-meta {
    display: inline-block;
    margin-top: 3px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.software-update-trigger {
    white-space: nowrap;
}

.software-update-trigger.is-alert {
    border-color: color-mix(in srgb, #dc2626 48%, var(--line));
    background: color-mix(in srgb, #dc2626 8%, var(--surface));
    color: #dc2626;
    animation: maintenanceBlink 1s ease-in-out infinite;
}

.software-update-trigger.is-alert:hover,
.software-update-trigger.is-alert:focus {
    border-color: #dc2626;
    color: #b91c1c;
}

.software-update-modal {
    width: min(1240px, calc(100vw - 24px));
    max-width: min(1240px, calc(100vw - 24px));
}

.software-update-modal .modal-content {
    min-height: min(760px, calc(100vh - 32px));
    overflow: hidden;
}

.software-update-modal-header {
    align-items: center;
    padding: 20px 24px;
    background:
        linear-gradient(180deg, rgba(23, 105, 170, .1), rgba(23, 105, 170, 0)),
        var(--surface);
}

.software-update-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.software-update-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent) 11%, var(--surface));
    color: var(--accent);
    font-size: 20px;
}

.software-update-modal .modal-body {
    display: flex;
    flex-direction: column;
    padding: 22px 24px 24px;
    background: color-mix(in srgb, var(--bg) 44%, var(--surface));
}

.software-update-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.software-update-table-wrap {
    flex: 1;
    max-height: min(660px, calc(100vh - 220px));
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .09);
}

.software-update-table {
    table-layout: fixed;
    min-width: 940px;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.software-update-table th,
.software-update-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    vertical-align: top;
}

.software-update-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    background: #f8fafc;
    color: #4b5870;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.software-update-table tbody td {
    padding: 18px 16px;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
    font-size: 13px;
    line-height: 1.45;
}

.software-update-table tbody tr:last-child td {
    border-bottom: 0;
}

.software-update-table tbody tr:hover td {
    background: rgba(23, 105, 170, .05);
}

.software-update-table th:nth-child(1),
.software-update-table td:nth-child(1) {
    width: 38%;
}

.software-update-table th:nth-child(2),
.software-update-table td:nth-child(2),
.software-update-table th:nth-child(3),
.software-update-table td:nth-child(3) {
    width: 18%;
}

.software-update-table th:nth-child(4),
.software-update-table td:nth-child(4) {
    width: 16%;
}

.software-update-table th:nth-child(5),
.software-update-table td:nth-child(5) {
    width: 10%;
}

.software-update-table:has(.selection-cell) th:nth-child(2),
.software-update-table:has(.selection-cell) td:nth-child(2) {
    width: 34%;
}

.software-update-table:has(.selection-cell) th:nth-child(3),
.software-update-table:has(.selection-cell) td:nth-child(3),
.software-update-table:has(.selection-cell) th:nth-child(4),
.software-update-table:has(.selection-cell) td:nth-child(4) {
    width: 17%;
}

.software-update-table:has(.selection-cell) th:nth-child(5),
.software-update-table:has(.selection-cell) td:nth-child(5) {
    width: 16%;
}

.software-update-table:has(.selection-cell) th:nth-child(6),
.software-update-table:has(.selection-cell) td:nth-child(6) {
    width: 10%;
}

.software-update-delete-btn {
    width: 36px;
    padding-inline: 0;
}

.software-panel {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 0;
}

.software-modal .software-panel {
    flex: 1;
}

.software-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.software-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(520px, 100%);
}

.software-search > i {
    position: absolute;
    left: 13px;
    color: var(--muted);
    z-index: 2;
}

.software-search .form-control {
    min-height: 42px;
    padding-left: 38px;
    padding-right: 46px;
    border-color: var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 8px 22px rgba(30, 41, 59, .06);
}

.software-search .btn {
    position: absolute;
    right: 6px;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 6px;
    z-index: 3;
}

.software-count {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(23, 105, 170, .06);
    font-size: 12px;
    font-weight: 700;
}

.software-table-wrap {
    flex: 1;
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.software-modal .software-table-wrap {
    max-height: calc(100vh - 230px);
}

.software-table {
    table-layout: fixed;
    min-width: 660px;
    margin-bottom: 0;
}

.software-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    text-align: left !important;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.software-table thead .dt-column-title {
    text-align: left !important;
}

.software-table tbody tr {
    border-color: var(--line);
}

.software-table tbody tr:hover {
    background: rgba(23, 105, 170, .06);
}

.software-empty-search {
    padding: 28px 12px;
    text-align: center;
}

.software-table th,
.software-table td {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    vertical-align: top;
    padding: 12px 14px;
}

.software-table th:nth-child(1),
.software-table td:nth-child(1) {
    width: 34%;
}

.software-table th:nth-child(2),
.software-table td:nth-child(2) {
    width: 18%;
}

.software-table th:nth-child(3),
.software-table td:nth-child(3) {
    width: 26%;
}

.software-table th:nth-child(4),
.software-table td:nth-child(4),
.software-table th:nth-child(5),
.software-table td:nth-child(5) {
    width: 11%;
}

.software-modal .driver-panel,
.software-modal .driver-table-wrap {
    flex: 0 1 auto;
}

.driver-table-wrap {
    align-self: stretch;
}

.driver-table {
    min-width: 860px;
}

.driver-table th,
.driver-table td {
    padding-block: 9px;
    line-height: 1.25;
}

.driver-table th:nth-child(1),
.driver-table td:nth-child(1) {
    width: 29%;
}

.driver-table th:nth-child(2),
.driver-table td:nth-child(2) {
    width: 17%;
}

.driver-table th:nth-child(3),
.driver-table td:nth-child(3) {
    width: 18%;
}

.driver-table th:nth-child(4),
.driver-table td:nth-child(4) {
    width: 10%;
}

.driver-table th:nth-child(5),
.driver-table td:nth-child(5) {
    width: 13%;
}

.driver-table th:nth-child(6),
.driver-table td:nth-child(6) {
    width: 13%;
}

.driver-table th:nth-child(5),
.driver-table td:nth-child(5),
.driver-table th:nth-child(6),
.driver-table td:nth-child(6) {
    white-space: nowrap;
}

.device-actions-toggle {
    width: 32px;
    height: 32px;
    padding: 0;
}

.device-actions-menu {
    min-width: 132px;
    padding: 4px;
    font-size: .875rem;
}

.device-actions-menu-floating {
    position: fixed !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 2060;
}

.device-actions-menu .dropdown-item {
    border-radius: 4px;
    padding: 5px 9px;
}

.sync-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, .54);
    backdrop-filter: blur(4px);
}

.sync-overlay.d-none {
    display: none !important;
}

.sync-dialog {
    width: min(460px, 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
}

.sync-spinner {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--primary);
    background: rgba(23, 105, 170, .09);
}

.sync-spinner > i {
    display: none;
    font-size: 25px;
}

.sync-dialog.is-success .sync-spinner {
    color: var(--accent);
    background: rgba(24, 135, 95, .1);
}

.sync-dialog.is-error .sync-spinner {
    color: #dc2626;
    background: rgba(220, 38, 38, .1);
}

.sync-dialog.is-success .spinner-border,
.sync-dialog.is-error .spinner-border {
    display: none;
}

.sync-dialog.is-success .bi-check2-circle,
.sync-dialog.is-error .bi-exclamation-triangle {
    display: block;
}

.sync-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
}

.sync-message {
    margin: 0;
    color: var(--muted);
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .content {
        padding: 12px;
    }

    .app-message-body {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 24px 42px 18px 20px;
    }

    .app-message-icon {
        width: 46px;
        height: 46px;
        font-size: 23px;
    }

    .app-message-footer {
        padding: 12px 20px 18px;
    }

    .panel > .d-flex.justify-content-between {
        flex-direction: column;
        align-items: stretch !important;
    }

    .panel > .d-flex.justify-content-between .btn {
        width: 100%;
    }

    .unassigned-header {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .module-header {
        align-items: stretch;
        flex-direction: column;
        padding: 14px;
    }

    .module-body,
    .module-form-body {
        padding: 14px;
    }

    .module-toolbar {
        align-items: stretch;
    }

    .module-toolbar .table-search,
    .module-toolbar .btn {
        width: 100%;
    }

    .unassigned-counts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
    }

    .unassigned-counts span {
        justify-content: center;
        min-width: 0;
        padding-left: 7px;
        padding-right: 7px;
    }

    .unassigned-workbench > .alert,
    .unassigned-workbench > .empty-state,
    .unassigned-workbench > .device-status-tabs,
    .unassigned-workbench > .device-status-content {
        margin-left: 12px;
        margin-right: 12px;
    }

    .unassigned-status-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .unassigned-status-tabs .nav-item,
    .unassigned-status-tabs .nav-link {
        width: 100%;
    }

    .unassigned-actions {
        flex-wrap: wrap;
    }

    .table-search {
        width: 100%;
    }

    .update-task-choices {
        grid-template-columns: minmax(0, 1fr);
    }

    .assignment-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .settings-secret-form,
    .settings-timing-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-completion-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .dashboard-completion-item.has-selection {
        grid-template-columns: auto auto minmax(0, 1fr);
    }

    .dashboard-completion-item time {
        grid-column: 2 / -1;
    }

    .dashboard-completion-item form {
        grid-column: 2 / -1;
        justify-self: start;
    }

    .login-page {
        padding: 12px;
    }

    .login-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .login-intro {
        gap: 24px;
        min-height: 370px;
        padding: 28px 22px;
    }

    .login-intro::after {
        right: 30px;
        bottom: 128px;
        width: 124px;
    }

    .login-intro h1 {
        font-size: 36px;
    }

    .login-intro-copy p:last-child {
        font-size: 15px;
    }

    .login-signal-grid {
        grid-template-columns: 1fr;
    }

    .login-panel {
        padding: 30px 22px;
    }

    .login-panel h2 {
        font-size: 30px;
    }

    .modal-dialog {
        margin: 8px;
    }

    .modal-header,
    .modal-footer {
        padding: 12px;
    }

    .modal-footer {
        align-items: stretch;
    }

    .modal-footer .btn,
    .modal-footer a.btn {
        flex: 1 1 100%;
    }

    .sync-dialog {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sync-spinner {
        margin: 0 auto;
    }

    .device-table-wrap,
    .software-table-wrap {
        max-height: none;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .data-table,
    .device-detail-table,
    .offline-device-table,
    .software-table,
    .maintenance-table {
        display: block;
        min-width: 0;
        width: 100% !important;
        max-width: 100%;
        table-layout: auto;
    }

    .data-table thead,
    .device-detail-table thead,
    .offline-device-table thead,
    .software-table thead,
    .maintenance-table thead {
        display: none;
    }

    .data-table tbody,
    .device-detail-table tbody,
    .offline-device-table tbody,
    .software-table tbody,
    .maintenance-table tbody,
    .data-table tr,
    .device-detail-table tr,
    .offline-device-table tr,
    .software-table tr,
    .maintenance-table tr {
        display: block;
    }

    .data-table tbody tr,
    .device-detail-table tbody tr,
    .offline-device-table tbody tr,
    .software-table tbody tr,
    .maintenance-table tbody tr {
        position: relative;
        margin-bottom: 12px;
        padding: 14px 12px 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
        overflow: hidden;
    }

    .data-table tbody tr::before,
    .device-detail-table tbody tr::before,
    .offline-device-table tbody tr::before,
    .software-table tbody tr::before,
    .maintenance-table tbody tr::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
    }

    .data-table tbody td,
    .device-detail-table tbody td,
    .offline-device-table tbody td,
    .software-table tbody td,
    .maintenance-table tbody td {
        display: block;
        min-width: 0;
        padding: 8px 0;
        border-bottom: 1px solid color-mix(in srgb, var(--line) 58%, transparent);
        text-align: left !important;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .device-detail-table th:nth-child(14),
    .device-detail-table td:nth-child(14),
    .offline-device-table th:nth-child(10),
    .offline-device-table td:nth-child(10),
    .unassigned-online-table th:nth-child(13),
    .unassigned-online-table td:nth-child(13),
    .unassigned-offline-table th:nth-child(7),
    .unassigned-offline-table td:nth-child(7) {
        position: static;
        box-shadow: none;
    }

    .data-table tbody td:last-child,
    .device-detail-table tbody td:last-child,
    .offline-device-table tbody td:last-child,
    .software-table tbody td:last-child,
    .maintenance-table tbody td:last-child {
        border-bottom: 0;
    }

    .data-table tbody td::before,
    .device-detail-table tbody td::before,
    .offline-device-table tbody td::before,
    .software-table tbody td::before,
    .maintenance-table tbody td::before {
        display: block;
        content: attr(data-label);
        margin-bottom: 4px;
        color: var(--muted);
        font-size: 11px;
        line-height: 1.25;
        font-weight: 800;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .data-table tbody td:first-child,
    .device-detail-table tbody td:first-child {
        font-weight: 600;
    }

    .data-table tbody td.text-end,
    .data-table tbody td.text-center,
    .data-table tbody td .text-end,
    .data-table tbody td .text-center {
        text-align: left !important;
    }

    .table-actions {
        justify-content: flex-start;
    }

    .device-detail-table .device-actions {
        justify-self: start;
    }

    .maintenance-table-wrap {
        max-height: none;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .software-toolbar {
        align-items: stretch;
    }

    .software-search,
    .software-count {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }

    .content {
        padding: 10px;
    }

    .topbar {
        gap: 10px;
        align-items: start;
        margin-bottom: 12px;
    }

    .topbar h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .topbar small {
        display: block;
        margin-top: 3px;
        font-size: 14px;
        line-height: 1.35;
    }

    .sidebar {
        width: min(320px, 92vw);
        padding: 16px 12px;
    }

    .sidebar a,
    .sidebar-logout,
    .btn,
    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 15px;
    }

    .btn-sm {
        min-height: 40px;
        padding: 7px 10px;
        font-size: 14px;
    }

    .panel,
    .stat-card {
        padding: 14px;
        border-radius: 8px;
    }

    .panel-title {
        font-size: 17px;
        line-height: 1.25;
        margin-bottom: 10px;
    }

    .module-header,
    .unassigned-header,
    .employee-table-toolbar,
    .dashboard-filter-panel {
        gap: 12px;
    }

    .dashboard-stats,
    .stats-grid,
    .dashboard-analytics,
    .dashboard-activity-summary,
    .dashboard-action-grid,
    .grid-two,
    .grid-three,
    .profile-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .dashboard-chart-panel {
        grid-template-rows: auto minmax(220px, auto) auto;
        min-height: 0;
    }

    .dashboard-chart-panel:last-child {
        grid-template-rows: auto minmax(260px, auto);
    }

    .dashboard-chart-header {
        grid-template-columns: minmax(0, 1fr);
    }

    .dashboard-chart-header .panel-title {
        font-size: 17px;
    }

    .dashboard-stat-main,
    .dashboard-activity-item,
    .dashboard-completion-item,
    .stat-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .dashboard-stat-main > div strong,
    .stat-card strong {
        font-size: 28px;
    }

    .table-responsive {
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .data-table tbody tr,
    .device-detail-table tbody tr,
    .offline-device-table tbody tr,
    .software-table tbody tr,
    .maintenance-table tbody tr,
    .dashboard-assignment-table tbody tr,
    .unassigned-online-table tbody tr,
    .unassigned-offline-table tbody tr,
    .report-workbench .table tbody tr {
        padding: 14px;
        box-shadow: 0 8px 18px rgba(15, 23, 42, .06);
    }

    .dashboard-assignment-table,
    .unassigned-online-table,
    .unassigned-offline-table,
    .report-workbench .table,
    .dashboard-assignment-table tbody,
    .unassigned-online-table tbody,
    .unassigned-offline-table tbody,
    .report-workbench .table tbody,
    .dashboard-assignment-table tr,
    .unassigned-online-table tr,
    .unassigned-offline-table tr,
    .report-workbench .table tr {
        display: block;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .dashboard-assignment-table thead,
    .unassigned-online-table thead,
    .unassigned-offline-table thead,
    .report-workbench .table thead {
        display: none;
    }

    .dashboard-assignment-table tbody tr,
    .unassigned-online-table tbody tr,
    .unassigned-offline-table tbody tr,
    .report-workbench .table tbody tr {
        position: relative;
        margin-bottom: 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        overflow: hidden;
    }

    .dashboard-assignment-table tbody tr::before,
    .unassigned-online-table tbody tr::before,
    .unassigned-offline-table tbody tr::before,
    .report-workbench .table tbody tr::before {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--accent));
    }

    .data-table tbody td,
    .device-detail-table tbody td,
    .offline-device-table tbody td,
    .software-table tbody td,
    .maintenance-table tbody td,
    .dashboard-assignment-table tbody td,
    .unassigned-online-table tbody td,
    .unassigned-offline-table tbody td,
    .report-workbench .table tbody td {
        display: block;
        min-width: 0;
        padding: 10px 0;
        font-size: 15px;
        line-height: 1.45;
    }

    .data-table tbody td::before,
    .device-detail-table tbody td::before,
    .offline-device-table tbody td::before,
    .software-table tbody td::before,
    .maintenance-table tbody td::before,
    .dashboard-assignment-table tbody td::before,
    .unassigned-online-table tbody td::before,
    .unassigned-offline-table tbody td::before,
    .report-workbench .table tbody td::before {
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        line-height: 1.25;
        letter-spacing: 0;
    }

    .dashboard-assignment-table tbody td,
    .unassigned-online-table tbody td,
    .unassigned-offline-table tbody td,
    .report-workbench .table tbody td {
        border-bottom: 1px solid color-mix(in srgb, var(--line) 58%, transparent);
        text-align: left !important;
    }

    .dashboard-assignment-table tbody td::before,
    .unassigned-online-table tbody td::before,
    .unassigned-offline-table tbody td::before,
    .report-workbench .table tbody td::before {
        content: attr(data-label);
        color: var(--muted);
        font-weight: 800;
        text-transform: uppercase;
    }

    .dashboard-assignment-table tbody td:last-child,
    .unassigned-online-table tbody td:last-child,
    .unassigned-offline-table tbody td:last-child,
    .report-workbench .table tbody td:last-child {
        border-bottom: 0;
    }

    .device-detail-table .device-actions,
    .offline-device-table .device-actions,
    .table-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .device-actions-toggle {
        width: 42px;
        height: 42px;
    }

    .device-actions-menu {
        min-width: min(220px, calc(100vw - 24px));
        font-size: 15px;
    }

    .device-actions-menu .dropdown-item {
        min-height: 42px;
        padding: 9px 12px;
        white-space: normal;
    }

    .nav-tabs {
        gap: 6px;
        border-bottom: 0;
    }

    .nav-tabs .nav-item,
    .nav-tabs .nav-link {
        width: 100%;
    }

    .nav-tabs .nav-link {
        min-height: 44px;
        border: 1px solid var(--line);
        border-radius: 8px;
        text-align: center;
        font-size: 15px;
    }

    .modal-dialog,
    .office-devices-modal,
    .software-modal {
        width: calc(100vw - 12px);
        max-width: calc(100vw - 12px);
        margin: 6px auto;
    }

    .modal-content {
        max-height: calc(100vh - 12px);
        border-radius: 8px;
    }

    .modal-header,
    .modal-body,
    .modal-footer,
    .office-devices-modal .modal-header,
    .office-devices-modal .modal-body,
    .software-modal .modal-body {
        padding: 12px;
    }

    .modal-title {
        font-size: 18px !important;
        line-height: 1.25;
    }

    .modal-body {
        overflow-x: hidden;
    }

    .employee-table-toolbar,
    .module-toolbar,
    .toolbar,
    .dashboard-filter-actions,
    .unassigned-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .employee-table-toolbar > *,
    .module-toolbar > *,
    .toolbar > *,
    .dashboard-filter-actions > *,
    .unassigned-actions > *,
    .table-search,
    .table-search .form-control,
    .table-search-lg {
        width: 100%;
        min-width: 0;
    }

    .table-search .form-control {
        padding-right: 42px;
    }

    .empty-state {
        padding: 22px 14px;
        font-size: 15px;
        text-align: center;
    }

    .login-page {
        padding: 8px;
    }

    .login-intro {
        min-height: 0;
        padding: 24px 18px;
    }

    .login-intro h1 {
        font-size: 30px;
        line-height: 1.15;
    }

    .login-panel {
        padding: 24px 18px;
    }

    .login-panel h2 {
        font-size: 26px;
    }
}

@media (max-width: 767.98px) {
    .table-responsive,
    .device-table-wrap,
    .software-table-wrap,
    .maintenance-table-wrap,
    .dashboard-assignment-table-wrap {
        width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
    }

    .data-table,
    .device-detail-table,
    .offline-device-table,
    .software-table,
    .maintenance-table,
    .dashboard-assignment-table,
    .unassigned-online-table,
    .unassigned-offline-table,
    .report-workbench .table {
        display: table;
        width: 100%;
        max-width: none;
        table-layout: fixed;
        margin-bottom: 0;
    }

    .data-table,
    .report-workbench .table {
        min-width: 720px;
    }

    .user-table {
        min-width: 820px;
    }

    .device-detail-table,
    .unassigned-online-table {
        min-width: 1570px;
    }

    .offline-device-table,
    .unassigned-offline-table {
        min-width: 1180px;
    }

    .dashboard-assignment-table {
        min-width: 820px;
    }

    .software-table {
        min-width: 660px;
    }

    .maintenance-table {
        min-width: 900px;
    }

    .data-table thead,
    .device-detail-table thead,
    .offline-device-table thead,
    .software-table thead,
    .maintenance-table thead,
    .dashboard-assignment-table thead,
    .unassigned-online-table thead,
    .unassigned-offline-table thead,
    .report-workbench .table thead {
        display: table-header-group;
    }

    .data-table tbody,
    .device-detail-table tbody,
    .offline-device-table tbody,
    .software-table tbody,
    .maintenance-table tbody,
    .dashboard-assignment-table tbody,
    .unassigned-online-table tbody,
    .unassigned-offline-table tbody,
    .report-workbench .table tbody {
        display: table-row-group;
    }

    .data-table tr,
    .device-detail-table tr,
    .offline-device-table tr,
    .software-table tr,
    .maintenance-table tr,
    .dashboard-assignment-table tr,
    .unassigned-online-table tr,
    .unassigned-offline-table tr,
    .report-workbench .table tr {
        display: table-row;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .data-table tbody tr::before,
    .device-detail-table tbody tr::before,
    .offline-device-table tbody tr::before,
    .software-table tbody tr::before,
    .maintenance-table tbody tr::before,
    .dashboard-assignment-table tbody tr::before,
    .unassigned-online-table tbody tr::before,
    .unassigned-offline-table tbody tr::before,
    .report-workbench .table tbody tr::before {
        content: none;
        display: none;
    }

    .data-table th,
    .data-table td,
    .device-detail-table th,
    .device-detail-table td,
    .offline-device-table th,
    .offline-device-table td,
    .software-table th,
    .software-table td,
    .maintenance-table th,
    .maintenance-table td,
    .dashboard-assignment-table th,
    .dashboard-assignment-table td,
    .unassigned-online-table th,
    .unassigned-online-table td,
    .unassigned-offline-table th,
    .unassigned-offline-table td,
    .report-workbench .table th,
    .report-workbench .table td {
        display: table-cell;
        width: auto;
        max-width: none;
        padding: .75rem .85rem;
        border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
        font-size: 13px;
        line-height: 1.35;
        vertical-align: middle;
        text-align: inherit;
        white-space: normal;
        overflow-wrap: normal;
        word-break: normal;
    }

    .data-table td::before,
    .device-detail-table td::before,
    .offline-device-table td::before,
    .software-table td::before,
    .maintenance-table td::before,
    .dashboard-assignment-table td::before,
    .unassigned-online-table td::before,
    .unassigned-offline-table td::before,
    .report-workbench .table td::before {
        content: none;
        display: none;
    }

    .device-detail-table th:nth-child(14),
    .device-detail-table td:nth-child(14),
    .offline-device-table th:nth-child(10),
    .offline-device-table td:nth-child(10),
    .unassigned-online-table th:nth-child(13),
    .unassigned-online-table td:nth-child(13),
    .unassigned-offline-table th:nth-child(7),
    .unassigned-offline-table td:nth-child(7) {
        position: sticky;
        right: 0;
        box-shadow: -10px 0 18px rgba(15, 23, 42, .08);
    }

    .device-detail-table .device-actions,
    .offline-device-table .device-actions,
    .table-actions {
        width: auto;
        justify-content: flex-end;
    }
}

@media (min-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .content {
        padding: 20px;
    }

    .topbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
        margin-bottom: 20px;
    }

    .topbar h1 {
        font-size: 23px;
    }

    .panel,
    .stat-card {
        padding: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .dashboard-stats,
    .dashboard-analytics {
        gap: 18px;
    }

    .dashboard-filter-form {
        grid-template-columns: minmax(0, 1fr) minmax(190px, 1fr);
    }

    .dashboard-filter-heading,
    .dashboard-filter-actions {
        grid-column: 1 / -1;
    }

    .dashboard-overview .dashboard-stats,
    .dashboard-overview .dashboard-analytics {
        margin-top: 0;
    }

    .dashboard-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-activity-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dashboard-activity-item + .dashboard-activity-item {
        border-top: 0;
    }

    .grid-two,
    .profile-grid,
    .grid-three {
        gap: 18px;
    }

    .details {
        grid-template-columns: 160px minmax(0, 1fr);
    }

    .dt-container .dt-length,
    .dt-container .dt-search,
    .dt-container .dt-info,
    .dt-container .dt-paging {
        width: auto;
    }

    .dt-container .dt-search {
        text-align: right !important;
    }

    .dt-container .dt-search input {
        width: auto !important;
        min-width: 220px;
        margin-left: .5rem !important;
    }

    .office-devices-modal,
    .software-modal {
        width: min(100vw - 32px, 1440px);
        max-width: min(100vw - 32px, 1440px);
        height: auto;
        margin: 1.75rem auto;
    }

    .office-devices-modal .modal-content,
    .software-modal .modal-content {
        min-height: min(860px, calc(100vh - 48px));
        border-radius: 8px;
    }

    .office-devices-modal .modal-header,
    .office-devices-modal .modal-body,
    .software-modal .modal-body {
        padding: 18px;
    }

    .device-table-wrap {
        max-height: min(680px, calc(100vh - 220px));
    }

    .software-table {
        width: 100%;
    }
}

@media (min-width: 1024px) {
    .app-shell {
        grid-template-columns: 272px minmax(0, 1fr);
    }

    .sidebar {
        position: sticky;
        top: 0;
        z-index: auto;
        width: auto;
        height: 100vh;
        transform: none;
        padding: 22px 16px;
    }

    .sidebar-close,
    .sidebar-toggle,
    .sidebar-backdrop {
        display: none !important;
    }

    .content {
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .grid-two,
    .profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-analytics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-filter-form {
        grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(180px, 1fr)) auto;
    }

    .dashboard-filter-heading,
    .dashboard-filter-actions {
        grid-column: auto;
    }

    .dashboard-quick-actions {
        grid-template-columns: 290px minmax(0, 1fr);
    }

    .dashboard-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .toolbar {
        grid-template-columns: minmax(0, 1fr) 180px auto auto auto auto auto;
    }

    .office-devices-modal {
        width: min(1560px, calc(100vw - 48px));
        max-width: min(1560px, calc(100vw - 48px));
    }
}

@media (min-width: 1440px) {
    .stats-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .dashboard-stats {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .stat-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
    }

    .stat-card strong {
        grid-column: auto;
        font-size: 28px;
    }

    .dashboard-stat {
        align-items: stretch;
    }

    .dashboard-stat-main {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 14px;
    }

    .content {
        padding: 34px 38px;
    }

    .topbar h1 {
        font-size: 29px;
        font-weight: 900;
    }

    .dashboard-action-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1023.98px) {
    .table-responsive,
    .device-table-wrap,
    .software-table-wrap,
    .maintenance-table-wrap,
    .dashboard-assignment-table-wrap {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        -webkit-overflow-scrolling: touch;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--surface);
        box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
    }

    .data-table,
    .user-table,
    .device-detail-table,
    .offline-device-table,
    .software-table,
    .maintenance-table,
    .dashboard-assignment-table,
    .unassigned-online-table,
    .unassigned-offline-table,
    .report-workbench .table {
        display: table !important;
        width: 100% !important;
        max-width: none !important;
        margin-bottom: 0 !important;
        border-collapse: separate;
    }

    .data-table,
    .report-workbench .table {
        min-width: 720px !important;
    }

    .user-table {
        min-width: 820px !important;
    }

    .device-detail-table,
    .unassigned-online-table {
        min-width: 1570px !important;
        table-layout: fixed !important;
    }

    .offline-device-table,
    .unassigned-offline-table {
        min-width: 1180px !important;
        table-layout: fixed !important;
    }

    .dashboard-assignment-table {
        min-width: 820px !important;
    }

    .software-table {
        min-width: 660px !important;
    }

    .maintenance-table {
        min-width: 900px !important;
        table-layout: fixed !important;
    }

    .data-table thead,
    .user-table thead,
    .device-detail-table thead,
    .offline-device-table thead,
    .software-table thead,
    .maintenance-table thead,
    .dashboard-assignment-table thead,
    .unassigned-online-table thead,
    .unassigned-offline-table thead,
    .report-workbench .table thead {
        display: table-header-group !important;
    }

    .data-table tbody,
    .user-table tbody,
    .device-detail-table tbody,
    .offline-device-table tbody,
    .software-table tbody,
    .maintenance-table tbody,
    .dashboard-assignment-table tbody,
    .unassigned-online-table tbody,
    .unassigned-offline-table tbody,
    .report-workbench .table tbody {
        display: table-row-group !important;
    }

    .data-table tr,
    .user-table tr,
    .device-detail-table tr,
    .offline-device-table tr,
    .software-table tr,
    .maintenance-table tr,
    .dashboard-assignment-table tr,
    .unassigned-online-table tr,
    .unassigned-offline-table tr,
    .report-workbench .table tr {
        display: table-row !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .data-table tbody tr::before,
    .user-table tbody tr::before,
    .device-detail-table tbody tr::before,
    .offline-device-table tbody tr::before,
    .software-table tbody tr::before,
    .maintenance-table tbody tr::before,
    .dashboard-assignment-table tbody tr::before,
    .unassigned-online-table tbody tr::before,
    .unassigned-offline-table tbody tr::before,
    .report-workbench .table tbody tr::before {
        content: none !important;
        display: none !important;
    }

    .data-table th,
    .data-table td,
    .user-table th,
    .user-table td,
    .device-detail-table th,
    .device-detail-table td,
    .offline-device-table th,
    .offline-device-table td,
    .software-table th,
    .software-table td,
    .maintenance-table th,
    .maintenance-table td,
    .dashboard-assignment-table th,
    .dashboard-assignment-table td,
    .unassigned-online-table th,
    .unassigned-online-table td,
    .unassigned-offline-table th,
    .unassigned-offline-table td,
    .report-workbench .table th,
    .report-workbench .table td {
        display: table-cell !important;
        width: auto;
        max-width: none !important;
        padding: .75rem .85rem !important;
        border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent) !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        vertical-align: middle !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    .data-table td::before,
    .user-table td::before,
    .device-detail-table td::before,
    .offline-device-table td::before,
    .software-table td::before,
    .maintenance-table td::before,
    .dashboard-assignment-table td::before,
    .unassigned-online-table td::before,
    .unassigned-offline-table td::before,
    .report-workbench .table td::before {
        content: none !important;
        display: none !important;
    }

    .device-detail-table th:nth-child(14),
    .device-detail-table td:nth-child(14),
    .offline-device-table th:nth-child(10),
    .offline-device-table td:nth-child(10),
    .unassigned-online-table th:nth-child(13),
    .unassigned-online-table td:nth-child(13),
    .unassigned-offline-table th:nth-child(7),
    .unassigned-offline-table td:nth-child(7) {
        position: sticky !important;
        right: 0 !important;
        box-shadow: -10px 0 18px rgba(15, 23, 42, .08) !important;
    }
}
