:root {
    --sidebar: #ffffff;
    --sidebar-dark: #eef5ff;
    --sidebar-text: #344256;
    --sidebar-muted: #7a8aa0;
    --sidebar-active: #5ab0dd;
    --page: #f3f6fa;
    --border: #d7dee8;
    --text: #132033;
    --muted: #718096;
    --blue: #78b4df;
    --cyan: #13b3c7;
    --action-blue: #1667d9;
    --action-blue-dark: #0f55bb;
    --action-blue-soft: #eef5ff;
    --amber: #d69a35;
    --slate: #65758b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: "Segoe UI", Arial, sans-serif;
}

.topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 240px;
    z-index: 10;
    display: flex;
    align-items: center;
    height: 78px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 256px;
    padding-left: 34px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #6eb8df;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-name {
    color: #5a4385;
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}

.brand-subtitle {
    margin-top: 4px;
    color: #58aee0;
    font-size: 12px;
    font-weight: 600;
}

.topbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding-right: 28px;
}

.notification-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #5ab0dd;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .16);
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.notification-icon {
    display: block;
    width: 25px;
    height: 25px;
    fill: #5ab0dd;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.notification-button.has-unread .notification-icon {
    color: var(--action-blue);
}

.notification-button.has-unread::after {
    content: "";
    position: absolute;
    right: 7px;
    top: 7px;
    width: 7px;
    height: 7px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #d92d20;
}

.notification-button:hover {
    background: #f8fbff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .18);
    transform: translateY(-1px);
}

.profile-menu {
    position: relative;
}

.profile-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 12px;
}

.profile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 132px;
    min-height: 48px;
    border: 0;
    background: #ffffff;
    padding: 5px 16px 5px 16px;
    cursor: pointer;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .16);
    transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.profile-trigger:hover {
    background: #f8fbff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .18);
    transform: translateY(-1px);
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--action-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.profile-trigger .profile-avatar {
    width: 32px;
    height: 32px;
    background: #5ab0dd;
    font-size: 12px;
}

.profile-avatar.large {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    background: #5ab0dd;
    font-size: 16px;
}

.profile-arrow {
    position: relative;
    width: 32px;
    height: 30px;
    margin-left: 0;
    border-left: 2px solid #b9dff1;
    border-radius: 0;
    background: transparent;
}

.profile-arrow::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 7px;
    width: 24px;
    height: 3px;
    border: 0;
    border-radius: 999px;
    background: #5ab0dd;
    box-shadow: 0 7px 0 #5ab0dd, 0 14px 0 #5ab0dd;
    transform: none;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: none;
    width: min(320px, calc(100vw - 32px));
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .14);
    padding: 14px 14px 10px;
}

.profile-menu:hover .profile-dropdown,
.profile-menu:focus-within .profile-dropdown,
.profile-menu.open .profile-dropdown {
    display: block;
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 0 12px;
}

.profile-summary-details {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.profile-summary strong {
    display: block;
    color: #07142a;
    font-size: 15px;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-summary span:not(.profile-avatar) {
    display: block;
    color: #66738a;
    font-size: 12px;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-links {
    display: grid;
    gap: 1px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
}

.profile-links a,
.profile-dropdown form button {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #485873;
    padding: 6px 6px;
    text-align: left;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
}

.profile-links a:hover,
.profile-dropdown form button:hover {
    background: #f3f6fa;
}

.profile-dropdown form {
    margin: 8px 0 0;
}

.profile-dropdown form button {
    cursor: pointer;
    font-size: 14px;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    width: 240px;
    border-right: 1px solid #dfe7f2;
    background: var(--sidebar);
    box-shadow: 2px 0 10px rgba(15, 23, 42, .035);
    padding: 38px 0 28px;
}

.sidebar-logo {
    display: flex;
    justify-content: center;
    padding: 0 22px;
}

.sidebar-logo img {
    display: block;
    width: 128px;
    height: auto;
}

.side-nav {
    display: grid;
    gap: 10px;
    margin-top: 82px;
    padding: 0 38px;
}

.nav-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    border: 1px solid #eef1f5;
    border-radius: 999px;
    background: #ffffff;
    padding: 0 18px;
    color: var(--sidebar-active);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .12);
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.nav-item.active {
    border-color: var(--sidebar-active);
    background: var(--sidebar-active);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(90, 176, 221, .36);
}

.nav-item:hover {
    border-color: #d7ecf8;
    background: #f8fcff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .14);
    transform: translateY(-1px);
}

.nav-item.active:hover {
    background: var(--sidebar-active);
    color: #ffffff;
}

.nav-icon {
    display: inline-block;
    position: relative;
    width: 16px;
    height: 16px;
    color: currentColor;
}

.sidebar-logout {
    margin: auto 38px 16px;
}

.sidebar-logout button {
    display: grid;
    grid-template-columns: 26px 1fr;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    border: 1px solid #eef1f5;
    border-radius: 999px;
    background: #ffffff;
    color: var(--sidebar-active);
    cursor: pointer;
    padding: 0 18px;
    text-align: left;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .12);
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.sidebar-logout button:hover {
    border-color: #d7ecf8;
    background: #f8fcff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .14);
    transform: translateY(-1px);
}

.dashboard-icon,
.devices-icon,
.installers-icon,
.software-icon,
.software-in-use-icon,
.view-machines-icon,
.number-serial-icon,
.reports-icon,
.clients-icon,
.users-icon,
.audit-icon,
.computer-icon,
.process-icon,
.user-login-autodesk-icon,
.online-icon,
.late-icon,
.stale-icon,
.offline-icon,
.disconnected-icon,
.edit-icon,
.lock-icon,
.unlock-icon,
.delete-icon,
.invitation-link-icon,
.password-reset-icon,
.credentials-icon,
.settings-icon,
.logout-icon {
    display: inline-block;
    position: relative;
    background-color: currentColor;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.dashboard-icon {
    -webkit-mask-image: url("../icons/dashboard.svg");
    mask-image: url("../icons/dashboard.svg");
}

.devices-icon {
    -webkit-mask-image: url("../icons/devices.svg");
    mask-image: url("../icons/devices.svg");
}

.installers-icon {
    -webkit-mask-image: url("../icons/installers.svg");
    mask-image: url("../icons/installers.svg");
}

.software-icon {
    -webkit-mask-image: url("../icons/software.svg");
    mask-image: url("../icons/software.svg");
}

.software-in-use-icon {
    -webkit-mask-image: url("../icons/software_in_use.svg");
    mask-image: url("../icons/software_in_use.svg");
}

.view-machines-icon {
    -webkit-mask-image: url("../icons/view_machines.svg?v=20260615");
    mask-image: url("../icons/view_machines.svg?v=20260615");
}

.installers-icon,
.view-machines-icon {
    -webkit-mask-size: 112%;
    mask-size: 112%;
}

.software-in-use-icon {
    -webkit-mask-size: 126%;
    mask-size: 126%;
}

.reports-icon {
    -webkit-mask-image: url("../icons/reports.svg");
    mask-image: url("../icons/reports.svg");
}

.number-serial-icon {
    -webkit-mask-image: url("../icons/number-serial.svg?v=20260615");
    mask-image: url("../icons/number-serial.svg?v=20260615");
}

.clients-icon {
    -webkit-mask-image: url("../icons/clients.svg");
    mask-image: url("../icons/clients.svg");
}

.users-icon {
    -webkit-mask-image: url("../icons/users.svg");
    mask-image: url("../icons/users.svg");
}

.audit-icon {
    -webkit-mask-image: url("../icons/audit.svg");
    mask-image: url("../icons/audit.svg");
}

.computer-icon,
.online-icon,
.offline-icon {
    -webkit-mask-image: url("../icons/computer.svg");
    mask-image: url("../icons/computer.svg");
}

.late-icon {
    -webkit-mask-image: url("../icons/late.svg");
    mask-image: url("../icons/late.svg");
}

.disconnected-icon {
    -webkit-mask-image: url("../icons/disconnected.svg");
    mask-image: url("../icons/disconnected.svg");
}

.process-icon {
    -webkit-mask-image: url("../icons/process.svg");
    mask-image: url("../icons/process.svg");
}

.user-login-autodesk-icon {
    -webkit-mask-image: url("../icons/user_login_autodesk.svg");
    mask-image: url("../icons/user_login_autodesk.svg");
}

.stale-icon {
    -webkit-mask-image: url("../icons/late.svg");
    mask-image: url("../icons/late.svg");
}

.edit-icon {
    -webkit-mask-image: url("../icons/edit.svg");
    mask-image: url("../icons/edit.svg");
}

.lock-icon {
    -webkit-mask-image: url("../icons/lock.svg");
    mask-image: url("../icons/lock.svg");
}

.unlock-icon {
    -webkit-mask-image: url("../icons/unlock.svg");
    mask-image: url("../icons/unlock.svg");
}

.delete-icon {
    -webkit-mask-image: url("../icons/delete.svg");
    mask-image: url("../icons/delete.svg");
}

.invitation-link-icon {
    -webkit-mask-image: url("../icons/send_email.svg");
    mask-image: url("../icons/send_email.svg");
}

.password-reset-icon {
    -webkit-mask-image: url("../icons/send_password.svg");
    mask-image: url("../icons/send_password.svg");
}

.credentials-icon {
    -webkit-mask-image: url("../icons/credentials.svg");
    mask-image: url("../icons/credentials.svg");
}

.settings-icon {
    -webkit-mask-image: url("../icons/settings.svg");
    mask-image: url("../icons/settings.svg");
}

.logout-icon {
    -webkit-mask-image: url("../icons/logout.svg");
    mask-image: url("../icons/logout.svg");
}

.page-shell {
    min-height: 100vh;
    margin-left: 240px;
    padding: 118px 26px 40px;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #c4ccd8;
    padding-bottom: 20px;
}

.content-header h1 {
    margin: 0;
    color: #111827;
    font-size: 30px;
}

.content-header p {
    margin: 8px 0 0;
    color: var(--muted);
}

.title-icon {
    display: inline-block;
    position: relative;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    color: #111827;
    vertical-align: -2px;
}

.ghost-button {
    min-width: 92px;
    height: 38px;
    border: 1px solid #b9d4fb;
    border-radius: 6px;
    background: #ffffff;
    color: var(--action-blue);
    font-weight: 600;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.primary-button,
.table-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid #b9d4fb;
    border-radius: 6px;
    background: #ffffff;
    color: var(--action-blue);
    padding: 0 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.primary-button {
    min-width: 132px;
    height: 40px;
    border: 0;
    background: var(--action-blue);
    color: #ffffff;
}

.table-button {
    cursor: pointer;
}

.ghost-button:hover,
.table-button:hover {
    background: var(--action-blue-soft);
    border-color: #8dbbfa;
    box-shadow: 0 1px 4px rgba(22, 103, 217, .12);
    transform: translateY(-1px);
}

.primary-button:hover,
.login-form button:hover,
.admin-form button:hover {
    background: var(--action-blue-dark);
    box-shadow: 0 2px 8px rgba(22, 103, 217, .24);
    transform: translateY(-1px);
}

.action-button {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    min-height: 2.5rem;
    border-radius: 4px;
    padding: 0;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.action-button:hover {
    background: var(--action-blue-soft);
    border-color: #8dbbfa;
    box-shadow: 0 1px 4px rgba(22, 103, 217, .12);
    transform: translateY(-1px);
}

.action-button.danger:hover {
    background: #eaf3ff;
    border-color: #8dbbfa;
}

.action-button.success:hover {
    background: #eaf3ff;
    border-color: #8dbbfa;
}

.action-button.access-disable {
    border-color: #f4b8b5;
    background: #fff7f6;
    color: #c23b33;
}

.action-button.access-disable:hover {
    border-color: #e58f89;
    background: #fdecea;
    box-shadow: 0 1px 4px rgba(194, 59, 51, .14);
}

.action-button.access-enable {
    border-color: #a9d8be;
    background: #f3fbf6;
    color: #1f8a4c;
}

.action-button.access-enable:hover {
    border-color: #7fc89f;
    background: #e8f7ee;
    box-shadow: 0 1px 4px rgba(31, 138, 76, .14);
}

.table-button.danger {
    border-color: #b9d4fb;
    color: var(--action-blue);
}

.table-button.success {
    border-color: #b9d4fb;
    color: var(--action-blue);
}

.button-icon {
    position: relative;
    display: inline-block;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    color: currentColor;
}

.button-icon.process-icon,
.button-icon.devices-icon,
.button-icon.installers-icon,
.button-icon.users-icon,
.button-icon.software-icon,
.button-icon.software-in-use-icon,
.button-icon.view-machines-icon,
.button-icon.user-login-autodesk-icon,
.button-icon.edit-icon,
.button-icon.stale-icon,
.button-icon.lock-icon,
.button-icon.unlock-icon,
.button-icon.delete-icon,
.button-icon.invitation-link-icon,
.button-icon.password-reset-icon,
.button-icon.credentials-icon {
    background-color: currentColor;
}

.add-icon::before,
.add-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
}

.add-icon::before {
    left: 7px;
    top: 2px;
    width: 2px;
    height: 12px;
}

.add-icon::after {
    left: 2px;
    top: 7px;
    width: 12px;
    height: 2px;
}

.muted-note {
    align-self: center;
    color: var(--muted);
    font-size: 13px;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 224px));
    justify-content: center;
    gap: 28px;
    margin-top: 20px;
}

.metric-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 132px;
    border: 0;
    border-radius: 6px;
    padding: 24px 28px;
    color: #ffffff;
    text-align: left;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.metric-filter {
    cursor: pointer;
    transition: box-shadow .16s ease, transform .16s ease, opacity .16s ease;
}

.metric-filter:hover {
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .44), 0 10px 22px rgba(15, 23, 42, .16);
    filter: brightness(1.04);
    transform: translateY(-3px);
}

.metric-filter.active {
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .76), 0 10px 22px rgba(15, 23, 42, .16);
}

.metric-filter:not(.active) {
    opacity: .92;
}

.metric-card strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.metric-card span {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.35;
}

.metric-card.blue { background: var(--blue); }
.metric-card.cyan { background: var(--cyan); }
.metric-card.amber { background: var(--amber); }
.metric-card.slate { background: var(--slate); }

.metric-icon {
    display: inline-block;
    position: relative;
    width: 38px;
    height: 38px;
    opacity: .95;
    color: #ffffff;
}

.table-panel {
    margin-top: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
}

.filter-panel {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 18px 20px;
}

.filter-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    align-items: end;
}

.filter-form label {
    display: grid;
    gap: 6px;
    color: #485873;
    font-size: 13px;
    font-weight: 700;
}

.filter-form input,
.filter-form select {
    min-width: 0;
    width: 100%;
    height: 38px;
    border: 1px solid #c9d2df;
    border-radius: 6px;
    background: #ffffff;
    color: #172033;
    padding: 0 10px;
    font: inherit;
}

.filter-form .primary-button {
    width: 100%;
    min-width: 0;
    align-self: end;
}

.filter-form .filter-clear-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    align-self: end;
    text-decoration: none;
}

.client-device-search {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

.client-device-search-form {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 520px;
}

.client-device-search-field {
    position: relative;
    flex: 1 1 auto;
    min-width: 220px;
}

.client-device-search-field .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    border: 2px solid #8aa2c4;
    border-radius: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.client-device-search-field .search-icon::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -5px;
    width: 7px;
    height: 2px;
    border-radius: 999px;
    background: #8aa2c4;
    transform: rotate(45deg);
}

.client-device-search-field input {
    width: 100%;
    height: 36px;
    border: 1px solid #d4deeb;
    border-radius: 999px;
    background: #ffffff;
    color: #172033;
    padding: 0 14px 0 38px;
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.client-device-search-field input:focus {
    border-color: #7da7e8;
    box-shadow: 0 0 0 3px rgba(31, 111, 214, 0.11);
}

.client-device-search-button,
.client-device-search-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.client-device-search-button {
    border: 1px solid #1f6fd6;
    background: #1f6fd6;
    color: #ffffff;
    cursor: pointer;
}

.client-device-search-button:hover {
    background: #185fba;
}

.client-device-search-clear {
    color: #54657f;
    border: 1px solid #d4deeb;
    background: #ffffff;
}

.client-device-search-clear:hover {
    color: #1f6fd6;
    border-color: #adc4e8;
    background: #f6f9fe;
}

.client-software-header {
    align-items: flex-start;
    border-bottom: 0;
    padding-bottom: 0;
}

.client-software-header h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444444;
    font-size: clamp(35px, 4vw, 45px);
    font-weight: 700;
    line-height: 1;
}

.client-software-header .title-icon {
    width: 42px;
    height: 34px;
    color: #444444;
    margin-right: 0;
}

.client-software-header p {
    margin-top: 10px;
    color: #444444;
    font-size: 16px;
}

.client-software-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.client-software-metric {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 56px;
    align-items: center;
    min-height: 72px;
    border-radius: 14px;
    color: #ffffff;
    padding: 12px 24px;
}

.client-software-metric.purple {
    background: #6b4180;
}

.client-software-metric.cyan {
    background: #5ab0dd;
}

.client-software-metric.gray {
    background: #999999;
}

.client-software-metric.black {
    background: #000000;
}

.client-software-metric strong {
    display: inline-block;
    margin-right: 8px;
    font-size: 35px;
    line-height: .95;
    vertical-align: middle;
}

.client-software-metric span {
    display: inline-block;
    max-width: 132px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    vertical-align: middle;
}

.client-software-metric .metric-icon {
    justify-self: end;
    width: 44px;
    height: 44px;
    color: #ffffff;
}

.client-software-filter-panel {
    border-color: #c9c9c9;
    border-radius: 18px;
    padding: 10px 24px 14px;
}

.client-software-filter-panel .software-category-control {
    margin-bottom: 10px;
}

.client-software-filter-panel .segmented-control {
    gap: 8px;
    border: 0;
    background: transparent;
    padding: 0;
}

.client-software-filter-panel .segmented-control a {
    min-width: 44px;
    border: 1px solid #8fd0f4;
    border-radius: 999px;
    background: #ffffff;
    color: #5ab0dd;
    padding: 3px 11px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 3px 8px rgba(15, 23, 42, .08);
}

.client-software-filter-panel .segmented-control a:hover,
.client-software-filter-panel .segmented-control a.active {
    background: #d9f2ff;
    color: #444444;
    box-shadow: 0 4px 10px rgba(15, 23, 42, .10);
}

.client-software-filter-form {
    grid-template-columns: 1.1fr 1.1fr .95fr .95fr .95fr 112px;
    gap: 8px;
}

.client-software-filter-form label {
    color: #444444;
    font-size: 11px;
    font-weight: 500;
}

.client-software-filter-form input,
.client-software-filter-form select {
    height: 22px;
    border-color: #999999;
    border-radius: 6px;
    padding: 0 8px;
    color: #444444;
    font-size: 11px;
}

.client-software-filter-button,
.client-software-clear-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    border: 1px solid #75c0ec;
    border-radius: 7px;
    background: #cdeefe;
    color: #444444;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
}

.client-software-clear-button {
    grid-column: 1 / span 1;
    width: 96px;
    margin-top: -2px;
}

.client-software-filter-button:hover,
.client-software-clear-button:hover {
    background: #bce6fb;
}

.client-software-table-panel {
    border-color: #c9c9c9;
    border-radius: 18px;
    padding: 20px 26px 16px;
}

.client-software-table-title {
    border-bottom: 1px solid #999999;
    padding: 0 10px 6px;
}

.client-software-table-title h2 {
    color: #444444;
    font-size: 18px;
    font-weight: 400;
}

.client-software-table-title span {
    color: #777777;
    font-size: 16px;
    font-weight: 600;
}

.client-software-table table {
    border-collapse: collapse;
}

.client-software-table th,
.client-software-table td {
    border-bottom: 1px solid #e2e2e2;
    color: #555555;
    font-size: 13px;
    padding-bottom: 8px;
    padding-top: 8px;
    text-transform: none;
}

.client-software-table th {
    color: #999999;
    font-weight: 600;
}

.client-software-table tbody tr:last-child td {
    border-bottom: 0;
}

.client-software-table .action-button .button-icon {
    width: 22px;
    height: 22px;
}

.client-reports-header {
    align-items: flex-start;
    border-bottom: 0;
    padding-bottom: 0;
}

.client-reports-header h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444444;
    font-size: clamp(35px, 4vw, 45px);
    font-weight: 700;
    line-height: 1;
}

.client-reports-header .title-icon {
    width: 42px;
    height: 34px;
    color: #444444;
    margin-right: 0;
}

.client-reports-header p {
    margin-top: 10px;
    color: #444444;
    font-size: 16px;
}

.client-reports-header .primary-button {
    display: none;
}

.client-report-type-grid {
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 6px;
    margin-top: 16px;
}

.client-report-type-grid .report-type-card {
    min-height: 58px;
    border-color: #999999;
    border-radius: 12px;
    padding: 15px 24px;
    box-shadow: none;
}

.client-report-type-grid .report-type-card:hover,
.client-report-type-grid .report-type-card.active {
    border-color: #5ab0dd;
    background: #cdeefe;
    box-shadow: none;
    transform: none;
}

.client-report-type-grid .report-type-card strong {
    color: #444444;
    font-size: 13px;
    font-weight: 600;
}

.client-report-type-grid .report-type-card span {
    color: #999999;
    font-size: 11px;
}

.client-reports-filter-panel {
    border-color: #c9c9c9;
    border-radius: 18px;
    padding: 20px 24px;
}

.client-reports-filter-form {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 154px 140px;
    gap: 8px;
}

.client-reports-filter-form label {
    color: #444444;
    font-size: 11px;
    font-weight: 600;
}

.client-reports-filter-form input {
    height: 22px;
    border-color: #999999;
    border-radius: 6px;
    padding: 0 8px;
    color: #444444;
    font-size: 11px;
}

.client-reports-filter-button,
.client-reports-clear-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    border: 1px solid #75c0ec;
    border-radius: 7px;
    background: #5ab0dd;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
}

.client-reports-clear-button {
    background: #cdeefe;
    color: #444444;
}

.client-reports-filter-button:hover {
    background: #4a9fca;
}

.client-reports-clear-button:hover {
    background: #bce6fb;
}

.client-reports-table-panel {
    border-color: #c9c9c9;
    border-radius: 18px;
    padding: 20px 26px 16px;
}

.client-reports-table-title {
    border-bottom: 1px solid #999999;
    padding: 0 10px 6px;
}

.client-reports-table-title h2 {
    color: #444444;
    font-size: 18px;
    font-weight: 400;
}

.client-reports-table th,
.client-reports-table td {
    border-bottom: 1px solid #e2e2e2;
    color: #555555;
    font-size: 13px;
    padding-bottom: 8px;
    padding-top: 8px;
    text-transform: none;
}

.client-reports-table th {
    color: #999999;
    font-weight: 600;
}

.client-reports-table tbody tr:last-child td {
    border-bottom: 0;
}

.client-reports-table .action-button .button-icon {
    width: 24px;
    height: 24px;
}

.client-reports-table .action-button {
    width: 38px;
    height: 38px;
    min-height: 38px;
    padding: 0;
}

.client-reports-table .emphasis-column {
    font-weight: 700;
}

.client-devices-header {
    align-items: flex-start;
    border-bottom: 0;
    padding-bottom: 0;
}

.client-devices-header h1 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #424242;
    font-size: clamp(34px, 4vw, 44px);
    line-height: 1;
}

.client-devices-header p {
    margin-top: 10px;
    color: #555555;
    font-size: 15px;
}

.devices-title-icon {
    width: 42px;
    height: 34px;
    color: #424242;
    margin-right: 0;
}

.client-device-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(190px, 1fr));
    gap: 26px;
    margin-top: 16px;
}

.client-device-summary-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    align-items: center;
    min-height: 80px;
    border-radius: 16px;
    color: #ffffff;
    padding: 14px 22px 14px 46px;
    text-decoration: none;
    transition: box-shadow .16s ease, transform .16s ease, filter .16s ease;
}

.client-device-summary-card.online {
    background: #7eb973;
}

.client-device-summary-card.stale {
    background: #e8c75a;
}

.client-device-summary-card.offline {
    background: #999999;
}

.client-device-summary-card:hover,
.client-device-summary-card.active {
    box-shadow: 0 8px 18px rgba(15, 23, 42, .15);
    filter: saturate(1.04);
    transform: translateY(-1px);
}

.client-device-summary-card strong,
.client-device-summary-card span {
    display: block;
}

.client-device-summary-card strong {
    font-size: 28px;
    line-height: .9;
}

.client-device-summary-card div span {
    margin-top: 4px;
    font-size: 18px;
    font-weight: 700;
}

.client-device-summary-icon {
    justify-self: end;
    width: 58px;
    height: 58px;
    color: rgba(255, 255, 255, .9);
}

.client-devices-section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 46%);
    gap: 18px;
    align-items: center;
    border-bottom: 0;
    padding: 0;
}

.client-devices-section-title h2 {
    color: #444444;
    font-size: 26px;
    font-weight: 400;
}

.client-devices-section-title .client-device-search-form {
    max-width: none;
    justify-self: end;
    width: min(100%, 482px);
}

.client-devices-section-title .client-device-search-field {
    min-width: 0;
}

.client-devices-section-title .client-device-search-field input {
    height: 36px;
    border-color: #bcbcbc;
    border-radius: 10px;
    background: #ededed;
    font-size: 11px;
}

.client-devices-section-title .client-device-search-button {
    min-width: 126px;
    height: 36px;
    border-color: #75c0ec;
    border-radius: 10px;
    background: #cdeefe;
    color: #444444;
    font-size: 13px;
}

.client-devices-section-title .client-device-search-button:hover {
    background: #bce6fb;
}

.client-devices-section-title .client-device-search-clear {
    height: 36px;
    border-radius: 10px;
}

.report-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.report-type-card {
    display: grid;
    gap: 8px;
    min-height: 118px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    padding: 16px;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.report-type-card:hover,
.report-type-card.active {
    border-color: #8fb7dc;
    background: #f8fbff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.report-type-card strong {
    font-size: 16px;
}

.report-type-card span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.dashboard-chart-panel {
    margin-top: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.content-panel {
    margin-top: 22px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.content-panel h2 {
    margin: 0 0 10px;
    color: #172033;
    font-size: 18px;
}

.client-device-card-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 232px));
    justify-content: space-between;
    gap: 20px;
}

.client-device-card {
    display: grid;
    align-content: start;
    min-height: 218px;
    border: 1px solid #c9c9c9;
    border-radius: 16px;
    background: #ffffff;
    padding: 22px 28px;
    box-shadow: none;
}

.client-device-card-header {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.client-device-card-header .device-card-icon {
    width: 64px;
    height: 53px;
    color: #424242;
}

.client-device-card-header strong {
    display: block;
    color: #444444;
    font-size: 16px;
    line-height: 1.1;
    overflow-wrap: anywhere;
}

.client-device-card .status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 18px;
    margin-top: 3px;
    border-radius: 999px;
    padding: 0 12px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 500;
}

.client-device-card .status.online {
    background: #7eb973;
}

.client-device-card .status.stale {
    background: #e8c75a;
}

.client-device-card .status.offline {
    background: #999999;
}

.client-device-card .device-card-body {
    min-width: 0;
}

.client-device-card .device-card-meta {
    gap: 8px;
    margin-top: 16px;
}

.client-device-card .device-card-meta > span:not(.status) {
    color: #777777;
    font-size: 11px;
    line-height: 1.25;
}

.client-device-card .inactivity-note {
    border-left: 0;
    padding-left: 0;
    color: #999999;
}

.client-device-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.client-device-actions .action-button {
    width: 50px;
    height: 42px;
    min-height: 42px;
    border-color: #75c0ec;
    border-radius: 6px;
    color: #5ab0dd;
    background: #ffffff;
    padding: 0;
}

.client-device-actions .button-icon {
    width: 22px;
    height: 22px;
}

.client-device-actions .action-button:hover {
    background: #f1fbff;
    border-color: #5ab0dd;
    box-shadow: 0 2px 8px rgba(90, 176, 221, .18);
}

.tenant-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
    gap: 16px;
    margin-top: 22px;
}

.tenant-selection-card {
    display: grid;
    gap: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.tenant-selection-card strong {
    display: block;
    color: #172033;
    font-size: 17px;
}

.tenant-selection-card span,
.tenant-selection-card small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.tenant-selection-card .primary-button {
    justify-self: start;
}

.tenant-selection-alert {
    margin-top: 18px;
}

.chart-range-form {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    color: #172033;
    font-size: 14px;
}

.dashboard-range-strip {
    display: flex;
    justify-content: flex-end;
    margin: 16px 0 18px;
}

.dashboard-range-strip .chart-range-form {
    margin-left: 0;
}

.client-dashboard-header {
    align-items: flex-start;
    border-bottom: 0;
    padding-bottom: 0;
}

.client-dashboard-header h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444444;
    font-size: clamp(35px, 4vw, 45px);
    font-weight: 700;
    line-height: 1;
}

.client-dashboard-header .title-icon {
    width: 42px;
    height: 34px;
    color: #444444;
    margin-right: 0;
}

.client-dashboard-header p {
    margin-top: 10px;
    color: #444444;
    font-size: 16px;
}

.client-dashboard-overview {
    display: grid;
    grid-template-columns: minmax(230px, 284px) minmax(0, 1fr);
    gap: 46px;
    align-items: stretch;
}

.client-dashboard-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 0;
}

.client-dashboard-metrics .metric-card {
    min-height: 92px;
    border-radius: 14px;
    padding: 18px 36px;
}

.client-dashboard-metrics .metric-card strong {
    font-size: 28px;
}

.client-dashboard-metrics .metric-card span {
    margin-top: 2px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.05;
}

.client-dashboard-metrics .metric-icon {
    width: 56px;
    height: 56px;
}

.client-dashboard-metrics .metric-card.purple {
    background: #6b4180;
}

.client-dashboard-metrics .metric-card.cyan {
    background: #5ab0dd;
}

.client-dashboard-metrics .metric-card.gray {
    background: #999999;
}

.client-dashboard-metrics .metric-card.black {
    background: #000000;
}

.dashboard-donut-panel {
    min-height: 372px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .03);
}

.dashboard-donut-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding: 18px 20px;
}

.dashboard-donut-title h2 {
    margin: 0;
    color: #444444;
    font-size: 20px;
    font-weight: 700;
}

.dashboard-donut-title span {
    color: #444444;
    font-size: 13px;
    font-weight: 600;
}

.dashboard-donut-content {
    display: grid;
    grid-template-columns: minmax(190px, 260px) minmax(0, 260px);
    justify-content: center;
    gap: 42px;
    align-items: center;
    min-height: 286px;
    padding: 26px 30px;
}

.dashboard-donut {
    position: relative;
    display: grid;
    place-items: center;
    justify-self: center;
    width: min(100%, 236px);
    aspect-ratio: 1;
    border-radius: 50%;
}

.dashboard-donut-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(-90deg);
}

.dashboard-donut-track,
.dashboard-donut-segment {
    fill: none;
    stroke-width: 22;
}

.dashboard-donut-track {
    stroke: #e5e7eb;
}

.dashboard-donut-segment {
    cursor: help;
    transition: opacity .16s ease, stroke-width .16s ease;
}

.dashboard-donut-segment:hover {
    opacity: .86;
    stroke-width: 24;
}

.dashboard-donut-center {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    gap: 4px;
    text-align: center;
}

.dashboard-donut span {
    color: #444444;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.dashboard-donut small {
    color: #777777;
    font-size: 12px;
    font-weight: 600;
}

.dashboard-donut-legend {
    display: grid;
    gap: 10px;
}

.dashboard-donut-legend-item {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 8px 10px;
    align-items: center;
    color: #444444;
}

.dashboard-donut-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dashboard-donut-legend-item strong {
    font-size: 13px;
    overflow-wrap: anywhere;
}

.dashboard-donut-legend-item small {
    grid-column: 2;
    color: #777777;
    font-size: 12px;
}

.dashboard-chart-panel .panel-title h2 {
    color: #444444;
    font-weight: 700;
}

.chart-range-form label {
    color: #485873;
    font-weight: 600;
}

.chart-range-form select {
    min-width: 164px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: #ffffff;
    color: #172033;
    padding: 0 10px;
    font: inherit;
    cursor: pointer;
}

.chart-range-form select:hover,
.chart-range-form select:focus {
    border-color: #c7d8ee;
    outline: none;
    box-shadow: 0 1px 4px rgba(15, 23, 42, .08);
}

.chart-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    padding: 14px 20px;
}

.chart-filter-form span {
    margin-right: 4px;
    color: #485873;
    font-size: 13px;
    font-weight: 800;
}

.chart-period-button {
    height: 34px;
    border: 1px solid #b9d4fb;
    border-radius: 6px;
    background: #ffffff;
    color: var(--action-blue);
    padding: 0 13px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.chart-period-button:hover,
.chart-period-button.active {
    border-color: #8dbbfa;
    background: var(--action-blue-soft);
    box-shadow: 0 1px 4px rgba(22, 103, 217, .12);
    transform: translateY(-1px);
}

.chart-period-button.active {
    background: var(--action-blue);
    color: #ffffff;
}

.lollipop-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    align-items: end;
    gap: 16px;
    min-height: 250px;
    padding: 28px 20px 18px;
    overflow-x: auto;
}

.lollipop-item {
    position: relative;
    display: grid;
    grid-template-rows: 190px auto;
    justify-items: center;
    min-width: 72px;
}

.lollipop-plot {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    width: 100%;
    height: 190px;
}

.lollipop-line {
    width: 2px;
    height: var(--lollipop-height);
    min-height: 14px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1f6fd6 0%, rgba(31, 111, 214, .18) 100%);
}

.lollipop-dot {
    position: absolute;
    bottom: calc(var(--lollipop-height) - 3px);
    width: 7px;
    height: 7px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #1f6fd6;
    box-shadow: 0 1px 4px rgba(31, 111, 214, .26);
}

.lollipop-value {
    position: absolute;
    bottom: calc(var(--lollipop-height) + 8px);
    color: #172033;
    font-size: 12px;
    font-weight: 800;
}

.lollipop-label {
    display: block;
    overflow: hidden;
    max-width: 100%;
    margin-top: 10px;
    color: #485873;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lollipop-item.chart-tooltip .chart-tooltip-content,
.lollipop-item.chart-tooltip::after {
    left: 50%;
    transform: translateX(-50%);
}

.lollipop-item.chart-tooltip .chart-tooltip-content {
    top: 8px;
    bottom: auto;
    max-width: min(260px, calc(100vw - 56px));
    white-space: normal;
}

.lollipop-item.chart-tooltip::after {
    display: none;
}

.horizontal-chart {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.horizontal-chart.compact {
    gap: 10px;
    padding: 0;
}

.chart-row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(160px, 240px) minmax(180px, 1fr);
    gap: 16px;
    align-items: center;
}

.chart-row.compact {
    grid-template-columns: minmax(140px, 220px) minmax(150px, 1fr);
    gap: 12px;
}

.chart-label {
    min-width: 0;
}

.chart-label strong {
    display: block;
    overflow: hidden;
    color: #172033;
    font-size: 14px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-label span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.2;
}

.chart-label .chart-user-email {
    overflow: hidden;
    color: #8794a8;
    font-size: 11px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chart-track {
    position: relative;
    height: 30px;
    overflow: hidden;
    border-radius: 6px;
    background: #eef4fb;
}

.chart-track::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(123, 143, 166, .12) 1px, transparent 1px);
    background-size: 20% 100%;
}

.chart-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: var(--bar-width);
    min-width: 34px;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #1667d9 0%, #12a8c4 100%);
    color: #ffffff;
    box-shadow: 0 6px 14px rgba(22, 103, 217, .18);
}

.chart-bar span {
    padding: 0 9px;
    font-size: 12px;
    font-weight: 800;
}

.chart-value {
    color: #172033;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
}

.chart-tooltip {
    cursor: default;
}

.chart-tooltip::after,
.chart-tooltip .chart-tooltip-content {
    position: absolute;
    left: min(260px, 44%);
    z-index: 25;
    display: none;
    pointer-events: none;
}

.chart-tooltip .chart-tooltip-content {
    bottom: calc(100% + 10px);
    width: max-content;
    max-width: min(360px, 70vw);
    max-height: 230px;
    overflow: hidden;
    min-width: 180px;
    border: 1px solid #d7e2ef;
    border-radius: 8px;
    background: #ffffff;
    color: #334155;
    padding: 11px 12px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .18);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    transform: translateX(-12%);
}

.chart-tooltip .chart-tooltip-content strong {
    display: block;
    margin-bottom: 5px;
    color: #172033;
    font-size: 12px;
    font-weight: 800;
}

.chart-tooltip .chart-tooltip-content span {
    display: block;
    max-height: 190px;
    overflow: hidden;
    white-space: pre-line;
}

.chart-tooltip::after {
    content: "";
    bottom: calc(100% + 4px);
    width: 12px;
    height: 12px;
    border-right: 1px solid #d7e2ef;
    border-bottom: 1px solid #d7e2ef;
    background: #ffffff;
    transform: translateX(18px) rotate(45deg);
}

.chart-tooltip:hover::after,
.chart-tooltip:hover .chart-tooltip-content,
.chart-tooltip:focus-within::after,
.chart-tooltip:focus-within .chart-tooltip-content {
    display: block;
}

.lollipop-item.chart-tooltip:hover::after,
.lollipop-item.chart-tooltip:focus-within::after {
    display: none !important;
}

.autodesk-user-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: 12px;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
}

.autodesk-user-metrics article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    border: 1px solid #dce7f5;
    border-radius: 8px;
    background: #f8fbff;
    padding: 12px 14px;
}

.autodesk-user-metrics span {
    color: #536174;
    font-size: 13px;
    font-weight: 800;
}

.autodesk-user-metrics strong {
    color: var(--action-blue);
    font-size: 24px;
    line-height: 1;
}

.dual-chart-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding: 20px;
}

.compact-chart-panel {
    min-width: 0;
}

.compact-chart-panel h3 {
    margin: 0 0 14px;
    color: #172033;
    font-size: 15px;
}

.empty-state.compact {
    margin: 0;
    padding: 18px;
}

.dashboard-device-section {
    margin-top: 28px;
}

.panel-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.panel-title h2 {
    margin: 0;
    font-size: 20px;
}

.panel-title span {
    color: var(--muted);
}

.device-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    justify-content: center;
    gap: 16px;
    margin-top: 16px;
}

.device-status-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    min-height: 148px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.device-card-icon {
    width: 34px;
    height: 28px;
    color: #40516b;
}

.device-card-body strong {
    display: block;
    color: #172033;
    font-size: 16px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.device-card-meta {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.device-card-meta > span:not(.status),
.pending-actions span:not(.button-icon) {
    color: var(--muted);
    font-size: 13px;
}

.inactivity-note {
    border-left: 2px solid #d8e3f2;
    padding-left: 8px;
    line-height: 1.35;
}

.process-path {
    max-width: 360px;
    overflow-wrap: anywhere;
}

.empty-state {
    margin: 0;
    color: var(--muted);
}

.dashboard-filter-empty {
    margin-top: 16px;
}

.subtle-tag {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    margin-left: 8px;
    border-radius: 999px;
    background: #e8f6f2;
    color: #047857;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

td .subtle-tag {
    display: inline-flex;
    margin-top: 0;
}

.responsive-table {
    overflow-x: auto;
}

.segmented-control {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
    border: 1px solid #d7e3f3;
    border-radius: 6px;
    background: #f6f9fd;
    padding: 3px;
}

.segmented-control a {
    border-radius: 4px;
    color: #52647b;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.segmented-control a:hover {
    background: #e7f0fd;
    color: #1955a5;
}

.segmented-control a.active {
    background: #ddebff;
    color: #1558b0;
    box-shadow: 0 1px 2px rgba(22, 103, 217, .12);
}

.software-category-control {
    margin-bottom: 16px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px 18px;
    border-bottom: 1px solid #edf1f6;
    text-align: left;
    vertical-align: middle;
}

th {
    color: #5c687a;
    font-size: 13px;
    text-transform: uppercase;
}

td span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.action-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 152px;
}

.action-cell form {
    margin: 0;
}

.status {
    display: inline-block;
    min-width: 78px;
    border-radius: 999px;
    padding: 5px 10px;
    color: #ffffff;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
}

.status.online { background: #159f72; }
.status.stale { background: #b87920; }
.status.offline { background: #64748b; }

.login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    background: #edf2f7;
}

.client-login-page {
    display: block;
    min-height: 100vh;
    background: #ffffff;
}

.client-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.95fr) minmax(360px, .95fr);
    min-height: 100vh;
    background: #ffffff;
}

.client-login-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .86)),
        url("../images/login/login-background.jpg") center / 100% 100% no-repeat;
}

.client-login-hero-title {
    position: absolute;
    left: clamp(42px, 7vw, 72px);
    bottom: clamp(42px, 7vw, 70px);
    max-width: min(620px, 72%);
    line-height: .98;
}

.client-login-hero-title span {
    display: block;
    margin-bottom: 4px;
    color: #55b6e7;
    font-size: clamp(34px, 4.1vw, 52px);
    font-weight: 800;
}

.client-login-hero-title strong {
    display: block;
    color: #70418b;
    font-size: clamp(52px, 6vw, 76px);
    font-weight: 900;
    text-transform: uppercase;
}

.client-login-content {
    display: grid;
    align-items: center;
    min-height: 100vh;
    border-left: 1px solid #d9dde5;
    padding: 48px 34px;
}

.client-login-card {
    width: min(100%, 365px);
    margin: 0 auto;
    text-align: center;
}

.client-login-logo {
    display: block;
    width: min(148px, 46vw);
    height: auto;
    margin: 0 auto 36px;
}

.client-login-form {
    gap: 14px;
}

.client-login-form h1 {
    margin: 0 0 10px;
    color: #55aee0;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.03;
}

.client-login-form .login-hint {
    margin: 4px 0 0;
    color: #7c8492;
    font-size: 12px;
}

.client-local-login-flow {
    display: grid;
    gap: 14px;
    margin-top: 4px;
    text-align: left;
}

.client-login-step {
    display: none;
    gap: 14px;
}

.client-login-step.is-active {
    display: grid;
}

.client-login-field {
    display: grid;
    gap: 6px;
    color: #4f4f4f;
    font-size: 13px;
    font-weight: 700;
}

.client-login-field input {
    width: 100%;
    height: 42px;
    border: 1px solid #a9a9a9;
    border-radius: 8px;
    background: #ffffff;
    color: #3f3f3f;
    padding: 0 12px;
    font-size: 14px;
    outline: none;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.client-login-field input:focus {
    border-color: #5ab0dd;
    box-shadow: 0 0 0 3px rgba(90, 176, 221, .18);
}

.client-login-primary {
    width: 100%;
    height: 44px;
    border: 0;
    border-radius: 9px;
    background: #5ab0dd;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.client-login-primary:hover {
    background: #4ba3d1;
    box-shadow: 0 8px 18px rgba(90, 176, 221, .26);
    transform: translateY(-1px);
}

.client-login-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8a94a6;
    font-size: 12px;
}

.client-login-separator::before,
.client-login-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d8dee8;
}

.client-login-password-heading {
    display: grid;
    gap: 3px;
    margin-bottom: 12px;
}

.client-login-welcome {
    margin: 0;
    color: #111111;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.05;
}

.client-login-identity {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.25;
}

.login-form .client-login-identity button {
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    margin: 0;
    background: transparent;
    color: #3f3f3f;
    padding: 0;
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    box-shadow: none;
    transform: none;
}

.login-form .client-login-identity button:hover {
    background: transparent;
    color: #5ab0dd;
    box-shadow: none;
    transform: none;
}

.client-login-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4f4f4f;
    font-size: 12px;
}

.client-login-check input {
    width: 16px;
    height: 16px;
    accent-color: #5ab0dd;
}

.client-login-link {
    color: #5ab0dd;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
}

.client-microsoft-login-button {
    min-height: 50px;
    border-color: #c7c7c7;
    border-radius: 8px;
    color: #383838;
    font-size: clamp(15px, 1.7vw, 18px);
    box-shadow: 0 2px 5px rgba(16, 24, 40, .16);
}

.client-microsoft-login-button .microsoft-mark {
    width: 23px;
    height: 23px;
    background:
        linear-gradient(#f25022 0 0) left top / 10px 10px no-repeat,
        linear-gradient(#7fba00 0 0) right top / 10px 10px no-repeat,
        linear-gradient(#00a4ef 0 0) left bottom / 10px 10px no-repeat,
        linear-gradient(#ffb900 0 0) right bottom / 10px 10px no-repeat;
}

.login-panel {
    width: min(440px, calc(100vw - 32px));
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 34px;
}

.consent-result-panel {
    width: min(560px, calc(100vw - 32px));
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.login-form {
    display: grid;
    gap: 10px;
}

.login-form h1 {
    margin: 0 0 14px;
    font-size: 26px;
}

.login-hint {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
}

.login-form label {
    color: #344054;
    font-weight: 600;
}

.login-form input {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 15px;
}

.login-form select,
.admin-form select {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    padding: 0 12px;
    font-size: 15px;
}

.admin-form textarea {
    width: 100%;
    min-height: 104px;
    resize: vertical;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px 12px;
    font: inherit;
}

.login-form button {
    height: 44px;
    border: 0;
    border-radius: 6px;
    margin-top: 12px;
    background: var(--action-blue);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.client-login-form .client-login-primary {
    border-radius: 9px;
    margin-top: 0;
    background: #5ab0dd;
}

.client-login-form .client-login-primary:hover {
    background: #4ba3d1;
}

.mfa-email-form {
    margin-top: 12px;
}

.mfa-email-form button {
    width: 100%;
    height: 40px;
    border: 1px solid #b9d4fb;
    border-radius: 6px;
    background: #ffffff;
    color: var(--action-blue);
    cursor: pointer;
    font-weight: 700;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.mfa-email-form button:hover {
    background: var(--action-blue-soft);
    border-color: #8dbbfa;
    box-shadow: 0 1px 4px rgba(22, 103, 217, .12);
    transform: translateY(-1px);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
    color: var(--muted);
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.microsoft-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #172033;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.microsoft-login-button:hover {
    background: #f8fafc;
    border-color: #9bb7dc;
    box-shadow: 0 1px 4px rgba(22, 103, 217, .12);
    transform: translateY(-1px);
}

.microsoft-mark {
    width: 18px;
    height: 18px;
    background:
        linear-gradient(#f25022 0 0) left top / 8px 8px no-repeat,
        linear-gradient(#7fba00 0 0) right top / 8px 8px no-repeat,
        linear-gradient(#00a4ef 0 0) left bottom / 8px 8px no-repeat,
        linear-gradient(#ffb900 0 0) right bottom / 8px 8px no-repeat;
}

.alert {
    border-radius: 6px;
    background: #fff1f2;
    color: #b42318;
    padding: 10px 12px;
}

.success-alert {
    background: #ecfdf3;
    color: #027a48;
}

.consent-result-details {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.consent-result-details div {
    border-bottom: 1px solid #edf1f6;
    padding-bottom: 10px;
}

.consent-result-details dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.consent-result-details dd {
    margin: 4px 0 0;
    overflow-wrap: anywhere;
}

.dev-token {
    overflow-wrap: anywhere;
    border-radius: 6px;
    background: #eef5ff;
    color: #164c96;
    padding: 10px 12px;
    font-size: 13px;
}

.credential-field {
    display: grid;
    gap: 7px;
    margin-top: 14px;
}

.credential-field label {
    color: #485873;
    font-size: 13px;
    font-weight: 700;
}

.credential-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.credential-actions .dev-token {
    flex: 1;
}

.copy-credential-button {
    min-height: 38px;
    border: 1px solid #b9d4fb;
    border-radius: 6px;
    background: #ffffff;
    color: var(--action-blue);
    padding: 0 12px;
    font-weight: 700;
    cursor: pointer;
}

.copy-credential-button:hover {
    background: var(--action-blue-soft);
    border-color: #8dbbfa;
}

.form-link {
    color: #215ea8;
    font-size: 14px;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease;
}

.form-link:hover,
.modal-dialog header a:hover {
    color: #164c96;
    text-decoration: underline;
}

.form-panel {
    max-width: 880px;
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
}

.settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 880px);
    gap: 24px;
    align-items: start;
}

.settings-layout .form-panel {
    margin-top: 24px;
}

.client-settings-shell {
    display: grid;
    gap: 14px;
    margin-top: 16px;
    max-width: 100%;
}

.settings-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 10px 2px 12px;
    border-bottom: 0;
}

.settings-section-header h2 {
    margin: 0;
    color: #3f3f3f;
    font-size: 16px;
    font-weight: 700;
}

.settings-section-header span {
    color: var(--muted);
    font-size: 13px;
}

.notification-settings-grid {
    display: grid;
    gap: 10px;
}

.notification-setting-card {
    display: grid;
    gap: 18px;
    min-height: 132px;
    border: 1px solid #bfbfbf;
    border-radius: 18px;
    background: #ffffff;
    padding: 24px 26px 24px 26px;
    box-shadow: none;
}

.notification-setting-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.notification-setting-card h3 {
    margin: 0 0 4px;
    color: #3f3f3f;
    font-size: 14px;
    font-weight: 700;
}

.notification-setting-card p {
    margin: 0;
    color: #9a9a9a;
    font-size: 12px;
    line-height: 1.4;
}

.notification-setting-fields {
    display: grid;
    grid-template-columns: minmax(160px, 180px) minmax(320px, 1fr);
    gap: 18px;
}

.notification-setting-fields.three-columns {
    grid-template-columns: minmax(160px, 180px) minmax(80px, 102px) minmax(320px, 1fr);
}

.notification-setting-fields label {
    display: grid;
    gap: 5px;
    color: #3f3f3f;
    font-size: 13px;
    font-weight: 700;
}

.notification-setting-fields input,
.notification-setting-fields select,
.notification-setting-fields textarea {
    min-width: 0;
    border: 1px solid #9e9e9e;
    border-radius: 9px;
    background: #ffffff;
    color: #4f4f4f;
    font: inherit;
    font-size: 13px;
}

.notification-setting-fields input,
.notification-setting-fields select {
    height: 28px;
    padding: 0 12px;
}

.notification-setting-fields textarea {
    min-height: 28px;
    resize: vertical;
    padding: 7px 12px;
    line-height: 1.35;
}

.notification-setting-fields input::placeholder,
.notification-setting-fields textarea::placeholder {
    color: #c9c9c9;
}

.notification-setting-fields input:disabled,
.notification-setting-fields select:disabled,
.notification-setting-fields textarea:disabled {
    background: #ffffff;
    color: #c9c9c9;
    opacity: 1;
}

.notification-setting-fields input:not(:disabled),
.notification-setting-fields select:not(:disabled),
.notification-setting-fields textarea:not(:disabled) {
    background: #ffffff;
    color: #3f3f3f;
}

.notification-last-sent {
    display: inline-block;
    margin-top: 5px;
    color: #9a9a9a;
    font-size: 12px;
}

.primary-button.compact {
    width: 120px;
    min-width: 0;
    height: 24px;
    padding: 0 12px;
    border-radius: 7px;
    background: #5ab0dd;
    font-size: 11px;
    line-height: 1;
}

.switch-control {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    width: 62px;
    height: 30px;
}

.switch-control input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.switch-control span {
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #dedede;
    transition: background-color .16s ease;
}

.switch-control span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 7px rgba(15, 23, 42, .22);
    transition: transform .16s ease;
}

.switch-control input:checked + span {
    background: #5ab0dd;
}

.switch-control input:checked + span::after {
    transform: translateX(32px);
}

.readonly-input {
    background: #eef2f7;
    color: #667085;
}

.security-panel,
.mfa-panel {
    margin-top: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    padding: 22px;
}

.security-panel h2,
.mfa-panel h2 {
    margin: 0;
    font-size: 20px;
}

.security-panel > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.security-panel p {
    margin: 16px 0 18px;
    color: var(--muted);
    line-height: 1.45;
}

.mfa-panel {
    width: min(620px, 100%);
    margin-right: auto;
    margin-left: auto;
    display: grid;
    gap: 22px;
}

.mfa-instructions {
    display: grid;
    gap: 12px;
}

.mfa-instructions p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}

.mfa-qr {
    display: grid;
    place-items: center;
    margin: 4px auto 2px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
}

.mfa-qr img {
    display: block;
    width: min(260px, 100%);
    height: auto;
}

.mfa-instructions label {
    color: #344054;
    font-weight: 700;
}

.mfa-instructions code {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #1f2a44;
    padding: 12px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 14px;
}

.mfa-instructions code {
    display: block;
    overflow-wrap: anywhere;
}

.mfa-confirm {
    align-self: start;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.mfa-alert {
    margin-top: 18px;
}

.mfa-code-grid {
    display: grid;
    grid-template-columns: repeat(6, 44px);
    gap: 10px;
}

.mfa-code-grid input {
    width: 44px;
    height: 50px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.page-message {
    margin-top: 18px;
    border-radius: 6px;
    background: #ecfdf3;
    color: #027a48;
    padding: 10px 12px;
}

.profile-edit-header {
    margin-bottom: 30px;
}

.profile-edit-header h1 {
    color: #3f3f3f;
    font-size: 46px;
    line-height: 1.05;
}

.profile-edit-header .title-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: -6px;
}

.client-configuration-header h1 {
    color: #3f3f3f;
    font-size: 46px;
    line-height: 1.05;
}

.client-configuration-header .title-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    vertical-align: -6px;
}

.client-configuration-header p {
    color: #4f4f4f;
    font-size: 14px;
}

.profile-edit-header p {
    color: #4f4f4f;
    font-size: 14px;
}

.profile-edit-panel {
    min-height: 436px;
    border: 1px solid #c9c9c9;
    border-radius: 18px;
    background: #ffffff;
    padding: 36px 40px;
}

.profile-edit-form {
    width: min(520px, 100%);
    display: grid;
    gap: 20px;
}

.profile-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 18px 44px;
}

.profile-edit-grid label {
    display: grid;
    gap: 6px;
}

.profile-edit-grid span {
    color: #9a9a9a;
    font-size: 13px;
}

.profile-edit-grid input {
    width: 100%;
    height: 29px;
    border: 1px solid #9d9d9d;
    border-radius: 8px;
    background: #ffffff;
    color: #3f3f3f;
    padding: 0 10px;
    font-size: 13px;
}

.profile-edit-grid .readonly-input {
    background: #f6f7f9;
    color: #6b7280;
}

.profile-edit-validation {
    min-height: 16px;
}

.profile-edit-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-edit-actions button,
.profile-edit-actions a {
    width: 86px;
    height: 21px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.profile-edit-actions button {
    border: 0;
    background: #5ab0dd;
    color: #ffffff;
    cursor: pointer;
}

.profile-edit-actions a {
    border: 1px solid #7fc4ea;
    background: #d7eefb;
    color: #3f3f3f;
}

.profile-edit-actions button:hover,
.profile-edit-actions a:hover {
    box-shadow: 0 5px 12px rgba(90, 176, 221, .2);
    transform: translateY(-1px);
}

.inline-message {
    margin-top: 18px;
    border-radius: 6px;
    background: #ecfdf3;
    color: #027a48;
    padding: 10px 12px;
}

.admin-form {
    display: grid;
    gap: 10px;
}

.admin-form.two-columns {
    grid-template-columns: 160px minmax(0, 1fr) 160px minmax(0, 1fr);
    align-items: center;
}

.admin-form label {
    color: #344054;
    font-weight: 600;
}

.admin-form input {
    width: 100%;
    height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0 12px;
    font-size: 15px;
}

.admin-form button {
    width: fit-content;
    min-width: 150px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: var(--action-blue);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.admin-form .danger-action {
    background: #c2413a;
}

.admin-form .danger-action:hover {
    background: #a8322c;
}

.modal-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.full-row {
    grid-column: 1 / -1;
}

.modal {
    display: none;
}

.modal:target,
.modal.visible {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: grid;
    place-items: center;
    padding: 24px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .54);
}

.modal-dialog {
    position: relative;
    z-index: 31;
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 64px rgba(15, 23, 42, .25);
    padding: 22px;
}

.modal-dialog.wide {
    width: min(980px, calc(100vw - 32px));
}

.modal-dialog.compact {
    width: min(460px, calc(100vw - 32px));
}

.service-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin: 12px 0 18px;
}

.service-status-card {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #f8fbff;
    padding: 14px;
}

.service-status-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-status-card strong {
    display: block;
    color: var(--text);
    font-size: 17px;
    line-height: 1.25;
}

.service-status-card .status {
    display: inline-block;
    color: #ffffff;
    font-size: 12px;
}

.service-status-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 18px;
    margin: 0;
}

.service-status-details div {
    border-bottom: 1px solid #edf1f6;
    padding-bottom: 10px;
}

.service-status-details dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.service-status-details dd {
    margin: 4px 0 0;
    color: var(--text);
    overflow-wrap: anywhere;
}

.warning-note {
    border: 1px solid #f2c078;
    background: #fff8eb;
    color: #79520e;
}

.modal-form {
    gap: 14px;
}

.modal-form .primary-button {
    width: 100%;
}

.modal-dialog header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    margin-bottom: 18px;
    padding-bottom: 12px;
}

.modal-dialog h2 {
    margin: 0;
    font-size: 20px;
}

.modal-dialog header a {
    color: #215ea8;
    font-weight: 700;
    text-decoration: none;
    transition: color .16s ease;
}

.field-error {
    min-height: 18px;
    color: #b42318;
    font-size: 12px;
}

@media (max-width: 900px) {
    .client-login-shell {
        grid-template-columns: 1fr;
    }

    .client-login-hero {
        min-height: 42vh;
    }

    .client-login-content {
        min-height: auto;
        border-left: 0;
        padding: 38px 24px 46px;
    }

    .client-login-card {
        width: min(100%, 420px);
    }

    .brand,
    .sidebar {
        width: 200px;
    }

    .topbar {
        left: 200px;
    }

    .side-nav {
        padding: 0 24px;
    }

    .sidebar-logout {
        margin-left: 24px;
        margin-right: 24px;
    }

    .page-shell {
        margin-left: 200px;
    }

    .metric-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .client-dashboard-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .client-dashboard-metrics {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .dashboard-donut-content {
        grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
    }

    .client-device-summary {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .client-software-metrics {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .client-report-type-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .client-software-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-reports-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .client-software-clear-button {
        grid-column: auto;
        width: 100%;
    }

    .client-devices-section-title {
        grid-template-columns: 1fr;
    }

    .client-devices-section-title .client-device-search-form {
        justify-self: stretch;
    }

    .client-device-card-grid {
        justify-content: center;
    }

    .admin-form.two-columns {
        grid-template-columns: 1fr;
    }

    .profile-edit-panel {
        padding: 28px 24px;
    }

    .profile-edit-form {
        width: 100%;
    }

    .profile-edit-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .settings-layout,
    .mfa-panel {
        grid-template-columns: 1fr;
    }

    .mfa-confirm {
        border-left: 0;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 20px;
    }
}

@media (max-width: 720px) {
    .client-login-page {
        background: #ffffff;
    }

    .client-login-hero {
        min-height: 34vh;
        background-position: center top;
    }

    .client-login-hero-title {
        left: 28px;
        bottom: 28px;
        max-width: calc(100% - 56px);
    }

    .client-login-hero-title span {
        font-size: 30px;
    }

    .client-login-hero-title strong {
        font-size: 44px;
    }

    .client-login-logo {
        margin-bottom: 24px;
    }

    .client-login-form h1 {
        font-size: 30px;
    }

    .client-microsoft-login-button {
        font-size: 18px;
    }

    .sidebar {
        width: 84px;
        padding-top: 30px;
        overflow: visible;
    }

    .topbar {
        left: 84px;
    }

    .sidebar-logo {
        padding: 0 12px;
    }

    .sidebar-logo img {
        width: 54px;
    }

    .side-nav {
        gap: 12px;
        margin-top: 54px;
        padding: 0 16px;
    }

    .nav-item {
        position: relative;
        z-index: 1;
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0;
        min-height: 42px;
        width: 52px;
    }

    .nav-item span:last-child {
        display: none;
    }

    .nav-item:hover,
    .nav-item:focus-visible {
        z-index: 40;
        grid-template-columns: 26px 1fr;
        justify-items: start;
        width: 176px;
        padding: 0 18px;
    }

    .nav-item:hover span:last-child,
    .nav-item:focus-visible span:last-child {
        display: inline;
        white-space: nowrap;
    }

    .sidebar-logout {
        margin: auto 16px 12px;
    }

    .sidebar-logout button {
        position: relative;
        z-index: 1;
        grid-template-columns: 1fr;
        justify-items: center;
        min-height: 42px;
        padding: 0;
        width: 52px;
    }

    .sidebar-logout button span:last-child {
        display: none;
    }

    .sidebar-logout button:hover,
    .sidebar-logout button:focus-visible {
        z-index: 40;
        grid-template-columns: 26px 1fr;
        justify-items: start;
        width: 176px;
        padding: 0 18px;
    }

    .sidebar-logout button:hover span:last-child,
    .sidebar-logout button:focus-visible span:last-child {
        display: inline;
        white-space: nowrap;
    }

    .page-shell {
        margin-left: 84px;
        padding: 104px 16px 28px;
    }

    .brand {
        width: auto;
        padding-left: 18px;
    }

    .brand-name {
        font-size: 20px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .client-dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .dashboard-donut-panel {
        padding: 22px 18px;
    }

    .dashboard-donut-title {
        flex-direction: column;
    }

    .dashboard-donut-content {
        grid-template-columns: 1fr;
    }

    .client-devices-header h1 {
        font-size: 34px;
    }

    .client-device-summary-card {
        grid-template-columns: minmax(0, 1fr) 64px;
        padding-left: 28px;
    }

    .client-software-metrics {
        grid-template-columns: 1fr;
    }

    .client-report-type-grid {
        grid-template-columns: 1fr;
    }

    .client-software-filter-form {
        grid-template-columns: 1fr;
    }

    .client-reports-filter-form {
        grid-template-columns: 1fr;
    }

    .client-software-filter-button {
        width: 100%;
    }

    .client-reports-filter-button,
    .client-reports-clear-button {
        width: 100%;
    }

    .client-software-table-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .client-device-summary-icon {
        width: 48px;
        height: 48px;
    }

    .content-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .chart-range-form {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    .dashboard-range-strip {
        justify-content: stretch;
    }

    .device-card-grid {
        grid-template-columns: 1fr;
    }

    .filter-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .client-device-search-form {
        max-width: none;
        flex-wrap: wrap;
        width: 100%;
    }

    .client-device-search-field {
        flex-basis: 100%;
        min-width: 0;
    }

    .chart-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .chart-value {
        display: none;
    }

    .autodesk-user-metrics,
    .dual-chart-grid {
        grid-template-columns: 1fr;
    }

    .settings-section-header,
    .notification-setting-card-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .settings-section-header .primary-button.compact {
        width: 100%;
        height: 30px;
        font-size: 11px;
    }

    .notification-setting-card {
        padding: 22px 20px;
    }

    .notification-setting-card-header {
        gap: 12px;
    }

    .notification-setting-card-header .switch-control {
        align-self: flex-end;
    }

    .notification-setting-fields,
    .notification-setting-fields.three-columns {
        grid-template-columns: 1fr;
    }
}
