:root {
    --bg: #08111f;
    --surface: #0f1b2d;
    --surface-2: #142338;
    --surface-3: #182b44;
    --sidebar-bg: #050c18;
    --topbar-bg: rgba(5, 12, 24, 0.96);
    --border-soft: rgba(255, 255, 255, 0.08);
    --surface-soft: rgba(255, 255, 255, 0.035);
    --surface-card: rgba(255, 255, 255, 0.055);
    --border: var(--border-soft);
    --line: rgba(255, 255, 255, 0.08);
    --text: #eef4ff;
    --muted: rgba(216, 228, 245, 0.64);
    --primary: #4f8dfd;
    --primary-hover: #77a5ff;
    --success: #3ddc97;
    --warning: #f9b86b;
    --danger: #ff8b9a;
    --shadow-strong: 0 32px 90px rgba(2, 6, 23, 0.48);
    --ambient-red: rgba(188, 28, 45, 0.2);
    --ambient-red-strong: rgba(188, 28, 45, 0.32);
    --ambient-red-soft: rgba(122, 18, 32, 0.14);
    --shadow-soft: 0 18px 48px rgba(2, 6, 23, 0.26);
    --sidebar-collapsed: 72px;
    --sidebar-expanded: 240px;
    --sidebar-width: var(--sidebar-collapsed);
    --topbar-height: 72px;
    --page-max-width: 1440px;
    --content-max: var(--page-max-width);
    --content-padding: clamp(20px, 2vw, 32px);
    --font-sans: "Manrope", "Aptos", "Segoe UI Variable", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(164, 185, 219, 0.26) rgba(8, 17, 31, 0.08);
}

[hidden] {
    display: none !important;
}

html {
    font-size: 16px;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: var(--font-sans);
    background:
        radial-gradient(circle at 86% 10%, var(--ambient-red) 0%, transparent 26%),
        radial-gradient(circle at 14% 88%, var(--ambient-red-soft) 0%, transparent 24%),
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.02), transparent 30%),
        linear-gradient(180deg, #020817 0%, #041225 48%, #06152d 100%);
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.9;
    z-index: 0;
}

body::before {
    top: -120px;
    right: -110px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, var(--ambient-red-strong) 0%, transparent 68%);
}

body::after {
    left: -140px;
    bottom: -150px;
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, rgba(165, 20, 35, 0.2) 0%, transparent 70%);
}

body::selection {
    background: rgba(79, 141, 253, 0.34);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(8, 17, 31, 0.12);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(126, 154, 205, 0.42), rgba(74, 101, 146, 0.38));
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(151, 180, 232, 0.56), rgba(84, 116, 171, 0.52));
    background-clip: padding-box;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

select {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        color 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.auth-body {
    display: grid;
    place-items: center;
    padding: 2rem;
}

.auth-shell {
    width: min(100%, 420px);
}

.auth-panel {
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(20, 35, 56, 0.9), rgba(9, 17, 31, 0.94)),
        var(--surface);
    box-shadow: var(--shadow-strong);
    backdrop-filter: blur(16px);
}

.auth-logo,
.sidebar-logo,
.topbar-logo {
    display: block;
    width: auto;
    max-width: 100%;
}

.auth-logo {
    height: auto;
    margin: 0 auto 1.9rem;
}

.sidebar-logo {
    height: 42px;
    margin: 0;
}

.topbar-logo {
    height: 34px;
    margin: 0;
}

.auth-form {
    display: grid;
    gap: 1.1rem;
}

.field {
    display: grid;
    gap: 0.6rem;
}

.field span {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.field-checkbox-control {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 54px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(7, 14, 26, 0.88);
    color: var(--text);
}

.field-checkbox-control input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: rgba(79, 141, 253, 0.92);
}

.field-checkbox-control span {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text);
}

.field-help {
    margin: 0;
    color: rgba(248, 250, 252, 0.64);
    font-size: 0.9rem;
}

.field-label.required::after {
    content: " *";
    color: #ef4444;
    font-weight: 600;
}

.driver-mailing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    justify-self: start;
    width: fit-content;
    margin: 0;
    color: var(--text);
    cursor: pointer;
}

.driver-mailing-toggle input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: rgba(79, 141, 253, 0.92);
}

.driver-mailing-toggle span {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--text);
}

[data-driver-mailing-fields][hidden] {
    display: none !important;
}

.field.is-invalid input,
.field.is-invalid textarea,
.field.is-invalid .field-select,
.field.is-invalid .driver-sensitive-field {
    border-color: rgba(248, 113, 113, 0.76);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.field-error {
    margin: 0;
    color: #fca5a5;
    font-size: 0.84rem;
}

.driver-dob-selectors {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.driver-sensitive-field {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    align-items: center;
}

.driver-sensitive-field-toggle {
    min-width: 54px;
    min-height: 54px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(7, 14, 26, 0.88);
    color: var(--text);
}

.driver-ssn-reveal {
    padding: 0.9rem 1rem;
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.82);
    color: #bfdbfe;
    font-size: 0.95rem;
}

.field input,
.field textarea,
.field-select,
.finance-table input {
    width: 100%;
    min-height: 54px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(7, 14, 26, 0.88);
    color: var(--text);
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.field input::placeholder,
.field textarea::placeholder,
.field-select:invalid {
    color: rgba(248, 250, 252, 0.45);
}

.field input:focus,
.field textarea:focus,
.field-select:focus,
.finance-table input:focus {
    border-color: rgba(79, 141, 253, 0.68);
    box-shadow: 0 0 0 4px rgba(79, 141, 253, 0.16), 0 10px 24px rgba(20, 44, 86, 0.18);
    transform: translateY(-1px);
}

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.15rem;
    border: 1px solid rgba(121, 169, 255, 0.3);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(95, 151, 255, 0.96), rgba(59, 130, 246, 0.92));
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 12px 28px rgba(34, 94, 192, 0.28);
    cursor: pointer;
}

.primary-button:hover {
    background: linear-gradient(180deg, rgba(119, 165, 255, 1), rgba(79, 141, 253, 0.96));
    box-shadow: 0 16px 34px rgba(34, 94, 192, 0.34);
    transform: translateY(-1px);
}

.primary-button:active,
.secondary-button:active,
.icon-button:active,
.table-action:active,
.sidebar-link:active {
    transform: translateY(0);
}

.app-body {
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(circle at 84% 18%, rgba(200, 33, 55, 0.22) 0%, transparent 22%),
        radial-gradient(circle at 16% 92%, rgba(126, 18, 33, 0.18) 0%, transparent 20%),
        linear-gradient(180deg, #040816 0%, #07101f 48%, #091427 100%);
}

.app-body.panel-open {
    overflow: hidden;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-collapsed);
    height: 100vh;
    padding: 0.9rem 0.75rem;
    background:
        linear-gradient(180deg, rgba(5, 12, 24, 0.98), rgba(7, 15, 28, 0.98)),
        var(--sidebar-bg);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 18px 0 42px rgba(1, 4, 12, 0.26);
    overflow: hidden;
    z-index: 30;
    transition: width 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.sidebar-brand,
.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
}

.sidebar-brand {
    justify-content: flex-start;
    min-height: 60px;
    padding: 0.15rem 0.3rem 0.55rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    min-height: 52px;
    padding: 0 0.7rem;
    border: 0;
    border-radius: var(--radius-md);
    color: rgba(238, 244, 255, 0.82);
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: linear-gradient(180deg, rgba(79, 141, 253, 0.14), rgba(79, 141, 253, 0.08));
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.sidebar-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(133, 181, 255, 1), rgba(79, 141, 253, 1));
}

.nav-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.nav-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nav-label {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: max-width 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
    overflow: hidden;
}

.topbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-collapsed);
    right: 0;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.35rem 0 1.1rem;
    background:
        linear-gradient(180deg, rgba(7, 15, 28, 0.98), rgba(5, 12, 24, 0.98)),
        var(--topbar-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 28px rgba(1, 4, 12, 0.18);
    z-index: 20;
    transition: left 0.28s ease, padding 0.28s ease;
}

.topbar-left {
    min-height: 100%;
    gap: 1rem;
}

.topbar-right {
    margin-left: auto;
    gap: 0.9rem;
}

.topbar-logo-link {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.1rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.25rem 0.3rem 0.25rem 0.65rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: 0 10px 24px rgba(1, 4, 12, 0.16);
}

.topbar-logout {
    min-height: 42px;
    padding: 0 0.95rem;
    border-radius: 999px;
}

.topbar-logout svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.avatar {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(133, 181, 255, 0.32);
    background: linear-gradient(180deg, rgba(95, 151, 255, 0.96), rgba(59, 130, 246, 0.84));
    color: #fff;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(34, 94, 192, 0.28);
}

.content-wrap {
    position: relative;
    margin-left: var(--sidebar-collapsed);
    margin-top: var(--topbar-height);
    width: auto;
    min-height: calc(100svh - var(--topbar-height));
    background: transparent;
    transition: margin-left 0.28s ease;
}

.content-wrap,
.drawer-overlay {
    --shell-left: var(--sidebar-collapsed);
}

.sidebar:hover {
    width: var(--sidebar-expanded);
    box-shadow: 22px 0 56px rgba(1, 4, 12, 0.32);
}

.sidebar:hover .sidebar-brand {
    opacity: 1;
    transform: translateX(0);
}

.sidebar:hover .nav-label {
    max-width: 150px;
    opacity: 1;
    transform: translateX(0);
}

.sidebar:hover .sidebar-link {
    justify-content: flex-start;
    padding: 0 0.95rem;
}

.sidebar:hover ~ .topbar {
    left: var(--sidebar-expanded);
}

.sidebar:hover ~ .topbar .topbar-logo-link {
    opacity: 0;
    transform: translateY(-8px);
}

.sidebar:hover ~ .content-wrap {
    margin-left: var(--sidebar-expanded);
}

.sidebar:hover ~ .content-wrap .drawer-overlay {
    left: var(--sidebar-expanded);
}

.equipment-page {
    padding: var(--content-padding);
}

.module-shell {
    display: grid;
    gap: clamp(20px, 2vw, 32px);
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.dashboard-wrap {
    padding: var(--content-padding);
}

.dashboard-shell {
    display: grid;
    gap: 1.4rem;
    max-width: var(--content-max);
    margin: 0 auto;
}

.home-wrap {
    display: grid;
    align-items: start;
    padding: var(--content-padding);
}

.home-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: var(--page-max-width);
    min-height: clamp(360px, 42vw, 540px);
    padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem);
    overflow: hidden;
    border: 0;
    border-radius: calc(var(--radius-lg) + 2px);
    background:
        radial-gradient(circle at 18% 20%, rgba(79, 141, 253, 0.18), transparent 30%),
        radial-gradient(circle at 78% 72%, rgba(56, 189, 248, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(10, 20, 36, 0.88), rgba(6, 14, 27, 0.9));
    box-shadow: 0 24px 60px rgba(1, 4, 12, 0.22);
    isolation: isolate;
}

.home-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 34%);
    pointer-events: none;
}

.home-stage-glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.8;
    pointer-events: none;
}

.home-stage-glow-primary {
    top: -8%;
    left: 12%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(79, 141, 253, 0.26), transparent 68%);
}

.home-stage-glow-secondary {
    right: 10%;
    bottom: -10%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.14), transparent 70%);
}

.home-stage-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(133, 181, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(133, 181, 255, 0.06) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.78), transparent 78%);
    opacity: 0.18;
    pointer-events: none;
}

.home-mark-shell {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: min(420px, calc(100vw - 5rem));
    max-width: 100%;
    padding: clamp(0.6rem, 1vw, 1rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.home-mark {
    width: clamp(180px, 24vw, 300px);
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 16px 36px rgba(1, 4, 12, 0.34));
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
    gap: 1.15rem;
    padding: clamp(1.25rem, 2vw, 1.8rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-copy {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.page-kicker {
    margin: 0;
    color: #93c5fd;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.dashboard-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 3.5rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}

.dashboard-hero p {
    margin: 0;
    max-width: 64ch;
    color: var(--muted);
    line-height: 1.7;
}

.dashboard-actions,
.dashboard-shortcuts {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.dashboard-panel {
    display: grid;
    gap: 1rem;
    align-content: start;
    padding: 1.1rem;
    border: 0;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.dashboard-panel h2,
.dashboard-panel h3 {
    margin: 0;
    letter-spacing: -0.03em;
}

.dashboard-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card,
.shortcut-card {
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.12);
}

.stat-card span,
.shortcut-card span {
    color: var(--muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.stat-card strong,
.shortcut-card strong {
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.shortcut-card p {
    font-size: 0.92rem;
}

.stat-card:hover,
.shortcut-card:hover {
    border-color: rgba(133, 181, 255, 0.24);
    transform: translateY(-2px);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 1.2rem;
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.25rem 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.module-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.module-actions,
.empty-actions,
.tabs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.module-body {
    display: grid;
    gap: 1.15rem;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.secondary-button,
.tab-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.secondary-button[disabled],
.primary-button[disabled] {
    opacity: 0.56;
    cursor: not-allowed;
}

.tabs {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 0.95rem;
}

.tab-button {
    min-height: 40px;
    background: rgba(255, 255, 255, 0.01);
    color: rgba(248, 250, 252, 0.7);
}

.tab-button.active {
    background: linear-gradient(180deg, rgba(79, 141, 253, 0.18), rgba(79, 141, 253, 0.1));
    border-color: rgba(79, 141, 253, 0.26);
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(34, 94, 192, 0.14);
}

.tab-panels,
.tab-panel {
    display: grid;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.tab-panel {
    gap: 1rem;
}

.table-shell {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
}

.table-scroll {
    overflow-x: auto;
    border-bottom: 0;
}

.data-table {
    width: 100%;
    min-width: 920px;
    border-collapse: collapse;
}

.data-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(226, 235, 247, 0.5);
    white-space: nowrap;
}

.data-table td {
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: rgba(238, 244, 255, 0.92);
    vertical-align: middle;
    line-height: 1.4;
    white-space: nowrap;
}

.data-table tbody tr {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.035);
}

.data-table tbody tr:hover td:first-child {
    color: #ffffff;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: 0.9rem;
    padding: clamp(2.4rem, 4vw, 3.5rem) 1.5rem;
    text-align: center;
}

.empty-icon {
    position: relative;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
}

.empty-icon::before,
.empty-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(248, 250, 252, 0.82);
    border-radius: 999px;
}

.empty-icon::before {
    top: 15px;
    width: 24px;
    height: 3px;
}

.empty-icon::after {
    top: 25px;
    width: 18px;
    height: 3px;
}

.empty-state h2 {
    margin: 0;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.empty-state p {
    margin: 0;
    max-width: 460px;
    color: var(--muted);
    line-height: 1.6;
}

.drawer-overlay {
    position: fixed;
    top: var(--topbar-height);
    left: var(--sidebar-collapsed);
    right: 0;
    bottom: 0;
    z-index: 30;
    transition: left 0.28s ease;
}

.drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.74);
    backdrop-filter: blur(6px);
}

.truck-drawer {
    position: absolute;
    top: clamp(1rem, 1.6vw, 1.4rem);
    right: clamp(1rem, 2vw, 1.5rem);
    bottom: clamp(1rem, 1.6vw, 1.4rem);
    left: clamp(1rem, 2vw, 1.5rem);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: hidden;
}

.truck-drawer > * {
    min-width: 0;
}

.drawer-header,
.drawer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
}

.drawer-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-footer {
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: transparent;
}

.drawer-header-main {
    display: grid;
    gap: 0.25rem;
}

.form-alert {
    margin: 0;
    color: #f8fafc;
    font-size: 0.92rem;
}

.form-alert[data-tone="error"] {
    color: #fca5a5;
}

.form-alert[data-tone="success"] {
    color: #86efac;
}

.form-alert[data-tone="info"] {
    color: #93c5fd;
}

.drawer-title {
    margin: 0;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    cursor: pointer;
}

.icon-button:hover,
.secondary-button:hover,
.table-action:hover {
    border-color: rgba(133, 181, 255, 0.28);
    background: linear-gradient(180deg, rgba(31, 58, 92, 0.88), rgba(13, 24, 42, 0.88));
    color: #ffffff;
    transform: translateY(-1px);
}

.drawer-tabs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-body {
    min-height: 0;
    padding: 1.25rem 1.5rem 1.5rem;
    background: transparent;
    overflow: auto;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1040px;
}

.form-grid-wide {
    grid-column: span 2;
}

.field-select,
.finance-table input {
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(7, 14, 26, 0.8);
    color: var(--text);
    outline: none;
}

.field-select:focus,
.finance-table input:focus {
    border-color: rgba(59, 130, 246, 0.62);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.financial-grid {
    display: grid;
    gap: 1rem;
}

.driver-layout {
    display: grid;
    gap: 1rem;
}

.rto-layout {
    display: grid;
    gap: 1rem;
    max-width: 1040px;
}

.rto-subtabs {
    padding-bottom: 0.2rem;
}

.rto-mode-section {
    gap: 0.85rem;
}

.rto-mode-section p,
.rto-company-message p {
    margin: 0.35rem 0 0;
    color: rgba(248, 250, 252, 0.64);
    line-height: 1.5;
}

.rto-mode-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rto-program-shell[hidden],
.rto-company-message[hidden] {
    display: none !important;
}

.rto-subpanels {
    display: grid;
}

.rto-rate-history-preview {
    gap: 1.4rem;
}

.rto-rate-history-header p:last-child {
    margin: 0.35rem 0 0;
    color: rgba(248, 250, 252, 0.64);
    line-height: 1.5;
}

.rto-rate-history-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    gap: 0.9rem;
}

.rto-rate-history-shell {
    background: rgba(255, 255, 255, 0.025);
}

.rto-rate-history-shell .rto-rate-history-table {
    min-width: 980px;
}

.rto-filter-field {
    gap: 0.45rem;
}

.rto-rate-editor {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.rto-rate-editor[hidden] {
    display: none !important;
}

.rto-rate-editor-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.74);
    backdrop-filter: blur(8px);
}

.rto-rate-editor-card {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100vw - 2.5rem));
    display: grid;
    gap: 1.1rem;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 17, 31, 0.98));
    box-shadow: 0 34px 90px rgba(2, 6, 23, 0.48);
}

.rto-rate-editor-header,
.rto-rate-editor-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.rto-rate-editor-header h3 {
    margin: 0;
    font-size: 1.05rem;
}

.rto-rate-editor-header p {
    margin: 0.35rem 0 0;
    color: rgba(248, 250, 252, 0.64);
    line-height: 1.5;
}

.rto-rate-editor-body {
    display: grid;
    gap: 1rem;
}

.rto-rate-editor-footer {
    justify-content: flex-end;
}

.driver-section {
    display: grid;
    gap: 1rem;
    padding: 1.1rem 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    background: transparent;
}

.driver-section-header h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.driver-section-header p {
    margin: 0.35rem 0 0;
    color: rgba(248, 250, 252, 0.64);
}

.driver-grid {
    display: grid;
    gap: 1rem;
}

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

.driver-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
}

.driver-profile-layout {
    max-width: 980px;
}

.driver-profile-header {
    display: grid;
    gap: 1rem;
}

.driver-profile-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.driver-profile-meta-card {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(8, 14, 25, 0.94)),
        radial-gradient(circle at top right, rgba(79, 141, 253, 0.12), transparent 34%);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.2);
}

.driver-profile-meta-label {
    color: rgba(226, 232, 240, 0.62);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.driver-profile-meta-card strong {
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.driver-profile-settings {
    display: grid;
    gap: 0.85rem;
    max-width: 880px;
}

.driver-profile-setting-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(16, 24, 39, 0.94), rgba(8, 14, 25, 0.96)),
        radial-gradient(circle at top right, rgba(79, 141, 253, 0.08), transparent 36%);
    color: var(--text);
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.driver-profile-setting-row:hover,
.driver-profile-setting-row:focus-visible {
    border-color: rgba(125, 181, 255, 0.36);
    background:
        linear-gradient(180deg, rgba(24, 37, 60, 0.98), rgba(10, 17, 30, 0.98)),
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.14), transparent 36%);
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.26);
    outline: none;
    transform: translateY(-1px);
}

.driver-profile-setting-row:disabled {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.driver-profile-setting-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(31, 58, 92, 0.96), rgba(12, 21, 36, 0.98));
    color: #bfdbfe;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.driver-profile-setting-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.driver-profile-setting-label {
    color: rgba(226, 232, 240, 0.66);
    font-size: 0.76rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.driver-profile-setting-value {
    min-width: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.driver-profile-setting-value[data-empty="true"] {
    color: rgba(148, 163, 184, 0.86);
    font-weight: 500;
}

.driver-profile-setting-description {
    color: rgba(148, 163, 184, 0.74);
    font-size: 0.84rem;
}

.driver-profile-setting-chevron {
    color: rgba(191, 219, 254, 0.94);
    font-size: 1.2rem;
    line-height: 1;
}

.driver-profile-modal-card {
    max-width: 680px;
    width: min(680px, calc(100vw - 2rem));
}

.driver-profile-modal-alert {
    margin: 0;
}

.driver-profile-modal-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 54px;
}

.driver-profile-modal-toggle input {
    width: 18px;
    height: 18px;
}

.driver-profile-modal-toggle span {
    color: var(--text);
}

.field-pay-rate {
    display: grid;
    gap: 0.45rem;
}

.driver-contractor-search {
    position: relative;
    gap: 0.65rem;
}

.driver-company-dropdown-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
}

.driver-company-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 54px;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 14px;
    background: rgba(7, 14, 26, 0.88);
    color: rgba(248, 250, 252, 0.58);
    text-align: left;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.driver-company-dropdown-trigger::after {
    content: "▾";
    color: rgba(191, 219, 254, 0.92);
    font-size: 0.9rem;
}

.driver-company-dropdown-trigger.has-value {
    color: var(--text);
}

.driver-company-dropdown-trigger:focus,
.driver-company-dropdown-trigger:focus-visible {
    border-color: rgba(79, 141, 253, 0.68);
    box-shadow: 0 0 0 4px rgba(79, 141, 253, 0.16), 0 10px 24px rgba(20, 44, 86, 0.18);
    outline: none;
}

.driver-company-dropdown-panel {
    display: grid;
    gap: 0.75rem;
    padding: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(8, 15, 26, 0.96);
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.38);
}

.driver-company-dropdown-panel[hidden] {
    display: none;
}

.driver-company-dropdown-search {
    gap: 0;
}

.driver-contractor-search-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.driver-contractor-search-control input {
    flex: 1 1 auto;
}

.driver-contractor-results {
    display: grid;
    gap: 0.5rem;
    max-height: 240px;
    padding: 0.2rem;
    overflow-y: auto;
    border: 0;
    border-radius: 12px;
    background: transparent;
}

.driver-contractor-option {
    display: grid;
    gap: 0.2rem;
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.86);
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.driver-contractor-option span {
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.82rem;
}

.driver-contractor-option:hover,
.driver-contractor-option:focus-visible {
    border-color: rgba(59, 130, 246, 0.42);
    background: rgba(30, 41, 59, 0.96);
    outline: none;
}

.payroll-dropzone {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    padding: 1.2rem;
    border: 1px dashed rgba(59, 130, 246, 0.4);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(16, 24, 40, 0.88), rgba(12, 18, 31, 0.88));
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.payroll-dropzone span {
    color: rgba(226, 232, 240, 0.68);
}

.payroll-dropzone:hover,
.payroll-dropzone:focus-visible,
.payroll-dropzone[data-dragging="true"] {
    border-color: rgba(96, 165, 250, 0.72);
    background: linear-gradient(180deg, rgba(19, 31, 54, 0.96), rgba(12, 20, 36, 0.96));
    transform: translateY(-1px);
    outline: none;
}

.payroll-dropzone[data-disabled="true"] {
    opacity: 0.58;
    cursor: not-allowed;
    transform: none;
}

.payroll-upload-queue,
.payroll-documents-list {
    display: grid;
    gap: 0.8rem;
}

.payroll-upload-item,
.payroll-document-card {
    display: grid;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 14px;
    background: rgba(8, 15, 26, 0.7);
}

.payroll-upload-item strong,
.payroll-document-meta strong {
    display: block;
    margin: 0;
}

.payroll-upload-item span,
.payroll-document-meta span,
.payroll-document-meta small {
    color: rgba(226, 232, 240, 0.7);
}

.payroll-upload-progress {
    display: grid;
    gap: 0.4rem;
}

.payroll-upload-progress-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.payroll-upload-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.payroll-document-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.payroll-document-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.payroll-documents-empty {
    margin-top: 0;
}

.compliance-hero-section {
    padding-top: 0;
    border-top: 0;
}

.compliance-layout-shell {
    gap: 1.25rem;
    width: 100%;
    max-width: none;
}

body.app-body .driver-profile-compliance-shell {
    display: grid;
    width: 100%;
    max-width: 100%;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.compliance-layout-shell .driver-section {
    padding: 1.5rem;
    border-color: rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(12, 20, 35, 0.88), rgba(8, 15, 26, 0.78));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.compliance-layout-shell .driver-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.compliance-layout-shell .driver-section-header h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.compliance-layout-shell .driver-section-header p {
    margin: 0.32rem 0 0;
    max-width: 68ch;
    color: rgba(226, 232, 240, 0.66);
    line-height: 1.45;
}

.compliance-layout-shell .driver-grid,
.compliance-form-grid {
    gap: 0.85rem;
}

.compliance-layout-shell .field {
    gap: 0.42rem;
    margin: 0;
}

.compliance-layout-shell .field > span,
.compliance-layout-shell .field label,
.compliance-layout-shell .field .field-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.74);
}

.compliance-layout-shell input[type="text"],
.compliance-layout-shell input[type="email"],
.compliance-layout-shell input[type="number"],
.compliance-layout-shell textarea,
.compliance-layout-shell .field-select,
.compliance-layout-shell select {
    min-height: 42px;
    border-radius: 12px;
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(15, 23, 42, 0.72);
    box-shadow: none;
}

.compliance-layout-shell textarea {
    min-height: 112px;
    resize: vertical;
}

.compliance-layout-shell input::placeholder,
.compliance-layout-shell textarea::placeholder {
    color: rgba(148, 163, 184, 0.56);
}

.compliance-layout-shell .secondary-button,
.compliance-layout-shell .primary-button,
.compliance-layout-shell .danger-button,
.compliance-layout-shell .tab-button {
    min-height: 36px;
    padding: 0 0.9rem;
    border-radius: 12px;
    font-size: 0.82rem;
}

.compliance-layout-shell .table-actions .secondary-button,
.compliance-layout-shell .table-actions .danger-button,
.compliance-layout-shell .compliance-document-actions .secondary-button,
.compliance-layout-shell .compliance-document-actions .danger-button {
    min-height: 32px;
    padding: 0 0.7rem;
    font-size: 0.76rem;
}

.compliance-hero-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.compliance-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid rgba(96, 165, 250, 0.24);
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    color: #bfdbfe;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.compliance-card-grid,
.compliance-split-grid {
    display: grid;
    gap: 1rem;
}

.compliance-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.compliance-mini-card {
    display: grid;
    gap: 0.9rem;
    grid-auto-rows: min-content;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(12, 20, 35, 0.82), rgba(8, 15, 26, 0.68));
}

.compliance-mini-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.15rem;
}

.compliance-mini-card-header h4 {
    margin: 0;
    font-size: 0.96rem;
    letter-spacing: -0.02em;
}

.compliance-mini-card-header p {
    margin: 0.28rem 0 0;
    font-size: 0.84rem;
}

.compliance-split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.compliance-split-grid-wide {
    align-items: start;
}

.compliance-split-grid-triple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.compliance-layout-shell {
    gap: 1.25rem;
}

.compliance-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
}

.compliance-summary-grid,
.compliance-subpanel-stack,
.compliance-stack,
.compliance-qualification-grid,
.compliance-alert-grid,
.compliance-checklist-grid,
.compliance-skills-grid {
    display: grid;
    gap: 1rem;
}

.compliance-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.compliance-summary-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.compliance-summary-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding-left: 1.1rem;
    color: rgba(226, 232, 240, 0.82);
}

.compliance-summary-status-block {
    display: grid;
    gap: 0.5rem;
}

.compliance-empty-copy {
    margin: 0;
    color: rgba(226, 232, 240, 0.72);
    line-height: 1.5;
}

.compliance-summary-grid-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

.compliance-summary-card,
.compliance-checklist-item,
.compliance-status-tile,
.compliance-alert-pill,
.compliance-current-cdl-card,
.compliance-upload-progress-card,
.compliance-current-document,
.compliance-preview-placeholder {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    background: rgba(8, 15, 26, 0.72);
}

.compliance-summary-card {
    min-height: 132px;
    align-content: start;
}

.compliance-summary-card,
.compliance-status-tile,
.compliance-checklist-item {
    display: grid;
    gap: 0.65rem;
}

.compliance-summary-card strong,
.compliance-status-tile strong,
.compliance-checklist-item strong,
.compliance-current-cdl-grid span,
.compliance-alert-list,
.compliance-current-document p,
.compliance-preview-placeholder span,
.compliance-mini-card p {
    color: rgba(226, 232, 240, 0.72);
}

.compliance-subnav-shell {
    padding-top: 0;
    padding-bottom: 0.35rem;
}

.compliance-subtabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.7rem;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem 0.15rem 0.45rem;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.15rem;
    overscroll-behavior-x: contain;
    mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 20px), transparent 100%);
}

.compliance-subtabs::-webkit-scrollbar {
    display: none;
}

.compliance-tab-menu {
    position: relative;
    flex: 0 0 auto;
}

.compliance-more-trigger::after {
    content: '\25BE';
    margin-left: 0.45rem;
    font-size: 0.7rem;
}

.compliance-more-dropdown {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    z-index: 8;
    display: grid;
    gap: 0.45rem;
    min-width: 220px;
    padding: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 18, 31, 0.98), rgba(8, 15, 26, 0.96));
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.42);
}

.compliance-more-option {
    width: 100%;
    justify-content: flex-start;
}

.compliance-subtabs .tab-button {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: start;
    white-space: nowrap;
    border-radius: 999px;
    min-height: 44px;
    padding: 0 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.82);
    color: rgba(15, 23, 42, 0.78);
    font-weight: 600;
    letter-spacing: -0.01em;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.compliance-subtabs .tab-button.active {
    border-color: rgba(15, 23, 42, 0.96);
    background: rgba(15, 23, 42, 0.98);
    color: #f8fafc;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.compliance-subtabs .tab-button:hover {
    border-color: rgba(100, 116, 139, 0.32);
    background: rgba(255, 255, 255, 0.95);
    color: rgba(15, 23, 42, 0.92);
    transform: translateY(-1px);
}

.compliance-subtabs .tab-button.active:hover {
    background: rgba(15, 23, 42, 0.98);
    color: #f8fafc;
}

.compliance-subtabs .tab-button:focus-visible {
    outline: none;
    border-color: rgba(37, 99, 235, 0.48);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.14), 0 14px 30px rgba(15, 23, 42, 0.12);
}

.compliance-subpanel-stack {
    min-height: 0;
    gap: 1.1rem;
}

.compliance-subpanel {
    display: grid;
    gap: 1.5rem;
}

.compliance-subpanel[hidden] {
    display: none !important;
}

.compliance-inline-actions,
.compliance-document-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.compliance-cdl-shell {
    display: grid;
    gap: 1.5rem;
}

.compliance-cdl-main-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    gap: 1.5rem;
    align-items: start;
}

.compliance-cdl-toolbar {
    justify-content: flex-end;
}

.compliance-current-cdl-grid,
.compliance-qualification-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.compliance-current-cdl-grid-redesign {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.compliance-current-cdl-grid > div {
    min-height: 72px;
    padding: 0.8rem 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.46);
}

.compliance-current-cdl-grid strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1rem;
    color: #f8fafc;
}

.compliance-restriction-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.compliance-restriction-badge {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(51, 65, 85, 0.24);
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.compliance-restriction-badge.is-active {
    border-color: rgba(251, 113, 133, 0.28);
    background: rgba(127, 29, 29, 0.22);
    color: #fecdd3;
}

.compliance-restriction-notes {
    display: grid;
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.compliance-restriction-notes p {
    margin: 0;
    color: #f8fafc;
}

.compliance-toggle-row {
    margin: 0;
}

.compliance-toggle-card {
    align-content: start;
}

.compliance-toggle-card .field-select {
    max-width: 160px;
}

.compliance-card-grid-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compliance-upload-widget {
    gap: 0.8rem;
    align-content: start;
}

.compliance-upload-widget .driver-section-header {
    margin-bottom: 0.75rem;
}

.compliance-upload-widget .driver-section-header p {
    max-width: 56ch;
}

.compliance-upload-dropzone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 74px;
    padding: 0.8rem 0.9rem;
    border: 1px dashed rgba(96, 165, 250, 0.42);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(16, 26, 44, 0.9), rgba(10, 18, 31, 0.84));
    cursor: pointer;
}

.compliance-upload-dropzone-copy {
    display: grid;
    gap: 0.3rem;
}

.compliance-upload-dropzone-copy span,
.compliance-upload-progress-header span {
    color: rgba(226, 232, 240, 0.68);
}

.compliance-upload-progress-card {
    gap: 0.55rem;
    padding: 0.72rem 0.9rem;
}

.compliance-upload-progress-header,
.compliance-current-document,
.compliance-current-document-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.compliance-upload-progress-bar span.is-complete {
    width: 100%;
}

.compliance-upload-progress-bar span.is-high {
    width: 82%;
}

.compliance-upload-progress-bar span.is-medium {
    width: 64%;
}

.compliance-upload-progress-bar span.is-low {
    width: 28%;
}

.compliance-document-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.88);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.compliance-document-icon[data-tone="active"] {
    color: #4ade80;
}

.compliance-document-icon[data-tone="danger"] {
    color: #fb7185;
}

.compliance-document-icon[data-tone="warning"] {
    color: #fbbf24;
}

.compliance-table-shell {
    overflow: hidden;
}

.compliance-table-shell .table-scroll {
    overflow-x: auto;
    overflow-y: auto;
}

.compliance-upload-widget .table-scroll {
    max-height: 196px;
    overflow: auto;
}

.compliance-table {
    font-size: 0.83rem;
}

.compliance-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.78rem 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.82);
    background: rgba(15, 23, 42, 0.9);
}

.compliance-table tbody td {
    padding: 0.78rem 0.8rem;
    line-height: 1.4;
}

.compliance-table tbody tr {
    border-color: rgba(148, 163, 184, 0.08);
}

.compliance-upload-widget .compliance-table {
    font-size: 0.78rem;
}

.compliance-upload-widget .compliance-table thead th {
    padding: 0.62rem 0.72rem;
}

.compliance-upload-widget .compliance-table tbody td {
    padding: 0.62rem 0.72rem;
}

.compliance-table th,
.compliance-table td {
    vertical-align: top;
}

.compliance-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.compliance-table-empty {
    padding: 1rem 0.8rem;
    color: rgba(226, 232, 240, 0.72);
    text-align: center;
}

@media (max-width: 1180px) {
    .compliance-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .compliance-cdl-main-grid {
        grid-template-columns: 1fr;
    }
}

.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1rem;
    border: 1px solid rgba(251, 113, 133, 0.28);
    border-radius: 14px;
    background: rgba(127, 29, 29, 0.22);
    color: #fecdd3;
    font-weight: 700;
    cursor: pointer;
}

.danger-button:hover,
.danger-button:focus-visible {
    background: rgba(153, 27, 27, 0.3);
    border-color: rgba(251, 113, 133, 0.42);
    outline: none;
}

.compliance-consent-grid {
    margin-bottom: 1rem;
}

.compliance-skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
    gap: 0.75rem;
}

.compliance-skill-field {
    margin: 0;
}

.compliance-skill-field .field-select {
    min-width: 0;
}

.compliance-dq-summary-card {
    align-content: start;
}

.compliance-status-tile {
    min-height: 108px;
    align-content: start;
}

.compliance-status-tile[data-tone="warning"] {
    border-color: rgba(250, 204, 21, 0.24);
}

.compliance-status-tile[data-tone="danger"] {
    border-color: rgba(251, 113, 133, 0.24);
}

.compliance-alert-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.45rem;
}

.compliance-checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.compliance-alert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.compliance-alert-pill {
    font-weight: 700;
    min-height: 54px;
    display: flex;
    align-items: center;
}

.compliance-alert-pill[data-tone="warning"] {
    color: #fde68a;
}

.compliance-alert-pill[data-tone="danger"] {
    color: #fecdd3;
}

.compliance-alert-pill[data-tone="inactive"] {
    color: rgba(226, 232, 240, 0.7);
}

.compliance-modal-card {
    max-width: 920px;
    width: min(920px, calc(100vw - 2rem));
}

body.app-body [data-compliance-modal] {
    place-items: start center !important;
    overflow-y: auto !important;
    padding: 1rem !important;
}

body.app-body [data-compliance-modal] .compliance-modal-card {
    width: min(960px, calc(100vw - 1rem)) !important;
    max-width: 960px !important;
    max-height: calc(100vh - 1rem) !important;
    overflow: hidden !important;
    margin: auto 0 !important;
}

body.app-body [data-compliance-modal] .compliance-modal-body {
    min-height: 0 !important;
    overflow: hidden !important;
}

body.app-body [data-compliance-modal] .compliance-modal-form {
    min-height: 0 !important;
    max-height: calc(100vh - 11.5rem) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-right: 0.25rem !important;
    grid-auto-rows: min-content !important;
}

body.app-body [data-compliance-modal] [data-compliance-modal-fields] {
    align-items: start !important;
}

body.app-body [data-compliance-modal] .field-checkbox-control {
    width: auto !important;
    max-width: 100% !important;
}

body.app-body [data-compliance-modal] .field-checkbox-control-compact {
    min-height: 44px !important;
    padding: 0.55rem 0.85rem !important;
    border-radius: 14px !important;
    justify-self: start !important;
    gap: 0.6rem !important;
}

body.app-body.driver-profile-mvr-window-page {
    background: #f6f8fb !important;
}
body.app-body.driver-profile-mvr-window-page .content-wrap {
    margin-top: 0 !important;
    margin-left: 0 !important;
    min-height: 100svh !important;
    background: #f6f8fb !important;
}
body.app-body .driver-profile-mvr-window-content {
    max-width: none !important;
    padding: 28px 32px 40px !important;
}
body.app-body .driver-profile-mvr-window-shell {
    gap: 1rem !important;
}
body.app-body .driver-profile-mvr-window-toolbar {
    margin-left: auto !important;
}
body.app-body .driver-profile-mvr-window-close-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
}
body.app-body .driver-profile-mvr-window-close-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
}
body.app-body .driver-profile-mvr-window-close-icon svg {
    width: 18px !important;
    height: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
body.app-body .driver-profile-mvr-standalone-header {
    align-items: flex-start !important;
}
body.app-body .driver-profile-mvr-window-body {
    min-width: 0 !important;
    overflow: visible !important;
}
body.app-body .driver-profile-mvr-window-panel {
    gap: 1.25rem !important;
}
body.app-body .driver-profile-mvr-window-subtabs {
    display: none !important;
}
@media (max-width: 900px) {
    body.app-body.driver-profile-mvr-window-page .content-wrap {
        min-height: 100svh !important;
    }
    body.app-body .driver-profile-mvr-window-content {
        padding: 20px 1rem 1.5rem !important;
    }
}
body.app-body [data-compliance-modal] .field-checkbox-control-compact input {
    width: 16px !important;
    height: 16px !important;
}

body.app-body [data-compliance-modal] .field-checkbox-control-compact span {
    font-size: 0.92rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

@media (max-width: 900px) {
    body.app-body [data-compliance-modal] {
        padding: 0.5rem !important;
    }

    body.app-body [data-compliance-modal] .compliance-modal-card {
        width: calc(100vw - 1rem) !important;
        max-height: calc(100vh - 1rem) !important;
    }

    body.app-body [data-compliance-modal] .compliance-modal-form {
        max-height: calc(100vh - 10rem) !important;
    }
}

.compliance-modal-body,
.compliance-preview-body {
    display: grid;
    gap: 1rem;
}

.compliance-modal-form {
    display: grid;
    gap: 1rem;
}

.compliance-modal-form .driver-grid {
    gap: 0.85rem;
}

.compliance-modal-footer {
    padding: 1rem 0 0;
    border-top: 0;
    background: transparent;
}

[data-driver-ssn-actions] > button[hidden],
[data-driver-ssn-edit-shell][hidden] {
    display: none !important;
}

.compliance-preview-card {
    max-width: 680px;
}

.compliance-preview-placeholder {
    min-height: 220px;
    place-content: center;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(20, 35, 56, 0.9), rgba(9, 17, 31, 0.92)),
        radial-gradient(circle at top right, rgba(79, 141, 253, 0.12), transparent 30%);
}

@media (max-width: 900px) {
    .driver-profile-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .driver-profile-setting-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .driver-profile-setting-chevron {
        display: none;
    }
}

.compliance-preview-placeholder strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.1rem;
}

.compliance-variance-card {
    align-content: start;
}

.compliance-coverage-summary {
    gap: 0.9rem;
}

.rto-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.rto-inline-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field-span-2 {
    grid-column: span 2;
}

.field-span-3 {
    grid-column: span 3;
}

.finance-card {
    display: grid;
    gap: 1rem;
    padding: 1.15rem 0 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0;
    background: transparent;
}

.finance-card-header h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.finance-card-header p {
    margin: 0.35rem 0 0;
    color: rgba(248, 250, 252, 0.64);
    line-height: 1.5;
}

.rate-period-card {
    gap: 1.15rem;
    border-top-color: rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
        transparent;
}

.rate-period-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.rate-period-save {
    flex-shrink: 0;
}

.rate-period-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.rate-period-notes textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    background: rgba(7, 14, 26, 0.8);
    color: var(--text);
    outline: none;
    resize: vertical;
}

.rate-period-notes textarea:focus {
    border-color: rgba(59, 130, 246, 0.62);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.rate-period-meta {
    display: grid;
    gap: 0.45rem;
}

.rate-period-helper,
.rate-period-status {
    margin: 0;
    line-height: 1.5;
}

.rate-period-helper {
    color: rgba(248, 250, 252, 0.58);
}

.rate-period-status {
    color: #bfdbfe;
    font-weight: 600;
}

.finance-stack {
    display: grid;
    gap: 1rem;
}

.finance-table-shell {
    border: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.finance-table-scroll {
    overflow-x: auto;
}

.finance-table {
    min-width: 760px;
}

.finance-table td {
    padding: 0.8rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
    white-space: nowrap;
}

.finance-table tbody tr:first-child td {
    border-top: 0;
}

.section-action {
    justify-self: flex-start;
}

.table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    color: rgba(248, 250, 252, 0.88);
    cursor: pointer;
}

.table-action-group {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.45rem;
}

.users-page .module-actions a,
.users-page .drawer-footer a,
.users-page .table-action-group a {
    text-decoration: none;
}

.users-password-field {
    position: relative;
}

.users-password-field input {
    padding-right: 6rem;
}

.users-password-toggle {
    position: absolute;
    right: 0.55rem;
    top: calc(50% + 0.9rem);
    transform: translateY(-50%);
    min-height: 38px;
    padding: 0 0.85rem;
    border-radius: 10px;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rate-history-shell {
    overflow: hidden;
}

.rate-history-table {
    min-width: 720px;
}

.rate-history-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rate-history-badge[data-tone="active"] {
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.24);
}

.rate-history-badge[data-tone="scheduled"] {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.24);
}

.rate-history-badge[data-tone="expired"] {
    color: #fdba74;
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.24);
}

.rate-history-badge[data-tone="warning"] {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.26);
}

.rate-history-badge[data-tone="inactive"] {
    color: #cbd5e1;
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.22);
}

.service-status-history-table {
    min-width: 940px;
}

.service-status-history-table td:nth-child(4) {
    min-width: 220px;
    white-space: normal;
}

.equipment-row {
    cursor: pointer;
}

.fuel-grid {
    max-width: 720px;
}

.connections-shell,
.connections-section {
    display: grid;
    gap: 1rem;
}

.connections-section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.connections-section-header-compact {
    justify-content: flex-start;
}

.connections-section-header h3,
.connections-editor-header h3 {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.connections-section-header p,
.connections-editor-header p {
    margin: 0.35rem 0 0;
    color: rgba(248, 250, 252, 0.64);
    line-height: 1.5;
}

.connections-eyebrow {
    margin: 0 0 0.25rem;
    color: #93c5fd;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.connections-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.9rem;
}

.connections-card {
    display: grid;
    gap: 0.4rem;
    min-height: 118px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    background: transparent;
    box-shadow: none;
}

.connections-history-shell {
    border: 0;
    border-radius: 16px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.connections-card span {
    color: rgba(248, 250, 252, 0.58);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.connections-card strong {
    font-size: 0.96rem;
    line-height: 1.5;
}

.connections-empty-state {
    min-height: 220px;
}

.connections-history-shell {
    background: rgba(255, 255, 255, 0.02);
}

.connections-history-table {
    min-width: 1220px;
}

.connections-editor {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
    overflow-y: auto;
    z-index: 120;
}

.connections-editor[hidden] {
    display: none !important;
    pointer-events: none;
}

.connections-editor-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

.connections-editor-panel {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 0;
    width: min(960px, calc(100vw - 48px));
    max-height: calc(100vh - 2rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(26, 37, 54, 0.96), rgba(15, 23, 42, 0.97));
    box-shadow: 0 24px 72px rgba(2, 6, 23, 0.34);
    overflow: hidden;
}

.connections-editor-header,
.connections-editor-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
}

.connections-editor-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.connections-editor-footer {
    justify-content: flex-end;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(15, 23, 42, 0.72);
}

.connections-editor-body {
    display: grid;
    gap: 1rem;
    min-height: 0;
    padding: 1.5rem;
    overflow: auto;
}

.connections-period-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.connections-shell > [data-connection-root-alert] {
    margin: 0;
}

.connections-notes-field textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #111827;
    color: var(--text);
    outline: none;
    resize: vertical;
}

.connections-notes-field textarea:focus {
    border-color: rgba(59, 130, 246, 0.62);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

@media (max-width: 1024px) {
    :root {
        --sidebar-collapsed: 0px;
        --sidebar-width: 210px;
        --topbar-height: 68px;
    }

    .sidebar {
        transform: translateX(-100%);
        width: var(--sidebar-expanded);
        box-shadow: none;
        pointer-events: none;
    }

    .topbar {
        left: 0 !important;
        width: 100%;
        max-width: 100%;
        padding: 0 0.85rem;
    }

    .topbar-left,
    .topbar-right,
    .content-wrap,
    .module-shell,
    .module-body,
    .module-header,
    .module-actions,
    .empty-actions,
    .tab-panels,
    .tab-panel {
        min-width: 0;
    }

    .topbar-user {
        gap: 0.55rem;
        padding: 0.2rem;
    }

    .content-wrap {
        margin-left: 0 !important;
        width: 100%;
        max-width: 100%;
    }

    .drawer-overlay {
        left: 0 !important;
    }

    .content-wrap,
    .drawer-overlay {
        --shell-left: 0;
    }

    .sidebar:hover ~ .topbar,
    .sidebar:hover ~ .content-wrap,
    .sidebar:hover ~ .content-wrap .drawer-overlay {
        left: 0 !important;
        margin-left: 0 !important;
    }

    .auth-body {
        padding: 1rem;
    }

    .auth-panel {
        padding: 1.2rem;
    }

    .sidebar-brand {
        min-height: 60px;
        padding-bottom: 0.45rem;
    }

    .sidebar-logo {
        height: 34px;
    }

    .equipment-page {
        padding: 20px;
    }

    .dashboard-wrap {
        padding: 20px;
    }

    .home-wrap {
        padding: 20px;
    }

    .home-stage {
        min-height: clamp(320px, 56vw, 460px);
        border-radius: var(--radius-lg);
    }

    .home-mark-shell {
        width: min(360px, calc(100vw - 3rem));
    }

    .dashboard-hero,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stat-grid {
        grid-template-columns: 1fr;
    }

    .module-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.9rem;
    }

    .module-actions,
    .empty-actions {
        flex-wrap: wrap;
    }

    .tabs,
    .drawer-tabs,
    .compliance-subtabs {
        display: flex;
        flex-wrap: nowrap;
        gap: 0.5rem;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.35rem;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .tabs::-webkit-scrollbar,
    .drawer-tabs::-webkit-scrollbar,
    .compliance-subtabs::-webkit-scrollbar {
        display: none;
    }

    .tab-button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

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

    .drawer-overlay {
        left: 0;
        top: 0;
    }

    .truck-drawer {
        inset: 0;
        border-radius: 0;
    }

    .drawer-tabs {
        padding-bottom: 0.25rem;
    }

    .rate-period-header {
        flex-direction: column;
        align-items: stretch;
    }

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

    .connections-card-grid,
    .connections-period-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table-action-group {
        flex-wrap: wrap;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid-wide {
        grid-column: auto;
    }

    .driver-grid-3,
    .driver-grid-2,
    .rto-grid,
    .rto-inline-row,
    .rto-rate-history-filters {
        grid-template-columns: 1fr;
    }

    .field-span-2,
    .field-span-3 {
        grid-column: auto;
    }

    .payroll-document-card {
        grid-template-columns: 1fr;
    }

    .compliance-card-grid,
    .compliance-split-grid,
    .compliance-split-grid-triple,
    .compliance-cdl-main-grid {
        grid-template-columns: 1fr;
    }

    .compliance-summary-grid,
    .compliance-summary-grid-compact,
    .compliance-current-cdl-grid,
    .compliance-qualification-grid,
    .compliance-skills-grid,
    .compliance-checklist-grid,
    .compliance-alert-grid {
        grid-template-columns: 1fr;
    }

    .compliance-card-grid-wide {
        grid-template-columns: 1fr;
    }

    .driver-dob-selectors {
        grid-template-columns: 1fr;
    }

    .driver-company-dropdown-control {
        grid-template-columns: 1fr;
    }

    .rto-rate-editor {
        padding: 1rem;
    }

    .rto-rate-editor-card {
        width: min(100vw - 1rem, 760px);
    }

    .rate-period-grid {
        grid-template-columns: 1fr;
    }

    .driver-contractor-search-control,
    .payroll-document-actions,
    .compliance-hero-header,
    .compliance-mini-card-header,
    .compliance-upload-dropzone,
    .compliance-upload-progress-header,
    .compliance-current-document,
    .compliance-current-document-main {
        flex-direction: column;
        align-items: stretch;
    }

    .compliance-inline-actions,
    .compliance-document-actions {
        flex-direction: column;
    }

    .compliance-subtabs {
        overflow-x: auto;
        padding-bottom: 0.35rem;
    }

    .compliance-more-dropdown {
        right: auto;
        left: 0;
    }

    .compliance-layout-shell .driver-section-header {
        flex-direction: column;
        align-items: stretch;
    }

    .compliance-layout-shell .field > span,
    .compliance-layout-shell .field label,
    .compliance-layout-shell .field .field-label {
        font-size: 0.74rem;
    }

    .rto-rate-history-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .connections-card-grid,
    .connections-period-grid {
        grid-template-columns: 1fr;
    }
}

/* Safe logo sizing override after shared-shell edits. */
.topbar {
    overflow: hidden;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
}

.topbar-logo-link,
.sidebar-brand {
    flex: 0 0 auto;
}

.topbar-logo {
    display: block;
    width: auto !important;
    max-width: min(180px, 18vw) !important;
    height: 34px !important;
    max-height: 34px !important;
    object-fit: contain;
}

.sidebar-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 42px;
    object-fit: contain;
}

@media (min-width: 1025px) {
    :root {
        --sidebar-collapsed: 72px;
    }

    .sidebar {
        width: var(--sidebar-collapsed);
        transform: none;
        pointer-events: auto;
    }

    .topbar {
        left: var(--sidebar-collapsed);
    }

    .content-wrap {
        margin-left: var(--sidebar-collapsed);
    }

    .drawer-overlay {
        left: var(--sidebar-collapsed);
    }
}

/* Global MST palette override inspired by Highway structure. */
:root {
    --primary: #c82137;
    --primary-hover: #e1364d;
    --ambient-red: rgba(200, 33, 55, 0.28);
    --ambient-red-strong: rgba(200, 33, 55, 0.42);
    --ambient-red-soft: rgba(126, 18, 33, 0.2);
}

body {
    background:
        radial-gradient(circle at 84% 18%, rgba(200, 33, 55, 0.22) 0%, transparent 22%),
        radial-gradient(circle at 16% 92%, rgba(126, 18, 33, 0.18) 0%, transparent 20%),
        linear-gradient(180deg, #040816 0%, #07101f 48%, #091427 100%);
}

body::before {
    top: 10px;
    right: -40px;
    width: 720px;
    height: 720px;
    filter: blur(130px);
    background: radial-gradient(circle, rgba(182, 28, 43, 0.58) 0%, rgba(182, 28, 43, 0.28) 24%, transparent 64%);
}

body::after {
    left: -40px;
    bottom: -160px;
    width: 560px;
    height: 560px;
    filter: blur(118px);
    background: radial-gradient(circle, rgba(126, 18, 33, 0.34) 0%, rgba(126, 18, 33, 0.15) 28%, transparent 68%);
}

.content-wrap {
    isolation: auto;
    background: transparent;
}

.content-wrap::before,
.content-wrap::after {
    content: none;
}

.module-shell,
.dashboard-shell,
.home-stage {
    position: relative;
    z-index: 1;
}

.topbar {
    background:
        linear-gradient(180deg, rgba(5, 11, 24, 0.98), rgba(7, 14, 29, 0.96)),
        var(--topbar-bg);
}

.home-stage {
    background:
        radial-gradient(circle at 80% 34%, rgba(200, 33, 55, 0.16), transparent 22%),
        radial-gradient(circle at 18% 78%, rgba(126, 18, 33, 0.1), transparent 24%),
        linear-gradient(180deg, rgba(5, 11, 24, 0.94), rgba(7, 15, 29, 0.9));
    box-shadow: none;
}

.home-stage-glow-primary {
    top: 2%;
    right: 10%;
    left: auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(182, 28, 43, 0.42), transparent 68%);
}

.home-stage-glow-secondary {
    left: 6%;
    right: auto;
    bottom: -14%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(126, 18, 33, 0.2), transparent 70%);
}

.primary-button {
    border-color: rgba(200, 33, 55, 0.42);
    background: linear-gradient(180deg, rgba(216, 41, 66, 0.98), rgba(172, 24, 44, 0.94));
    box-shadow: 0 14px 32px rgba(115, 14, 28, 0.28);
}

.primary-button:hover {
    background: linear-gradient(180deg, rgba(228, 57, 82, 1), rgba(193, 29, 51, 0.96));
    box-shadow: 0 18px 38px rgba(115, 14, 28, 0.34);
}

.tab-button.active,
.sidebar-link.active,
.avatar {
    background: linear-gradient(180deg, rgba(200, 33, 55, 0.2), rgba(126, 18, 33, 0.16));
    border-color: rgba(200, 33, 55, 0.34);
    box-shadow: 0 10px 24px rgba(115, 14, 28, 0.18);
}

.field input:focus,
.field textarea:focus,
.field-select:focus,
.finance-table input:focus,
.driver-company-dropdown-trigger:focus,
.driver-company-dropdown-trigger:focus-visible {
    border-color: rgba(200, 33, 55, 0.72);
    box-shadow: 0 0 0 4px rgba(200, 33, 55, 0.14), 0 10px 24px rgba(115, 14, 28, 0.18);
}

body::selection {
    background: rgba(200, 33, 55, 0.3);
}

/* MST portal complete UI replacement: shared shell + dashboard + drivers */
:root {
    --portal-nav: #050505;
    --portal-surface: #ffffff;
    --portal-surface-soft: #f8fafc;
    --portal-border: #e5e7eb;
    --portal-text: #111111;
    --portal-muted: #6b7280;
    --portal-primary: #111111;
    --portal-danger: #dc2626;
    --portal-sidebar-expanded: 260px;
    --portal-sidebar-collapsed: 72px;
    --portal-topbar-height: 64px;
}

body.app-body {
    background: #ffffff !important;
    color: var(--portal-text) !important;
    font-family: Inter, "SF Pro Display", "Segoe UI", sans-serif !important;
}

body.app-body::before,
body.app-body::after,
body.app-body .home-stage-glow,
body.app-body .home-stage-grid,
body.app-body .content-wrap::before,
body.app-body .content-wrap::after,
body.app-body .home-stage::after {
    content: none !important;
    display: none !important;
    background: none !important;
}

body.app-body .sidebar {
    width: var(--portal-sidebar-collapsed) !important;
    padding: 0.5rem 0.75rem 1rem !important;
    background: var(--portal-nav) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

body.app-body .sidebar:hover {
    width: var(--portal-sidebar-expanded) !important;
}

body.app-body .sidebar-brand {
    min-height: 56px !important;
    padding: 0.25rem 0.25rem 0.75rem !important;
    opacity: 1 !important;
    transform: none !important;
}

body.app-body .sidebar-logo {
    display: block !important;
    width: auto !important;
    max-width: 132px !important;
    height: 24px !important;
    object-fit: contain !important;
}

body.app-body .sidebar-nav {
    gap: 0.2rem !important;
    margin-top: 0.5rem !important;
}

body.app-body .sidebar-link {
    min-height: 48px !important;
    padding: 0 0.85rem !important;
    border-radius: 12px !important;
    justify-content: center !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.98rem !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

body.app-body .sidebar:hover .sidebar-link {
    justify-content: flex-start !important;
}

body.app-body .sidebar-link:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
}

body.app-body .sidebar-link.active {
    border-left: 0 !important;
    background: rgba(14, 165, 233, 0.1) !important;
    color: #ffffff !important;
}

body.app-body .sidebar-link.active::after {
    content: none !important;
}

body.app-body .nav-icon {
    width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
}

body.app-body .nav-icon svg {
    width: 20px !important;
    height: 20px !important;
    stroke-width: 1.8 !important;
}

body.app-body .nav-label {
    font-size: 0.98rem !important;
    font-weight: 500 !important;
}

body.app-body .topbar {
    left: var(--portal-sidebar-collapsed) !important;
    height: var(--portal-topbar-height) !important;
    padding: 0 1.5rem !important;
    background: var(--portal-nav) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body.app-body .sidebar:hover ~ .topbar {
    left: var(--portal-sidebar-expanded) !important;
}

body.app-body .topbar-logo-link {
    opacity: 1 !important;
    transform: none !important;
}

body.app-body .topbar-logo {
    display: block !important;
    width: auto !important;
    max-width: 120px !important;
    height: 24px !important;
    object-fit: contain !important;
}

body.app-body .topbar-user,
body.app-body .topbar-left,
body.app-body .topbar-right {
    background: transparent !important;
    box-shadow: none !important;
}

body.app-body .avatar {
    width: 36px !important;
    height: 36px !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.app-body .topbar-logout {
    min-height: 40px !important;
    gap: 0.45rem !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    background: transparent !important;
    color: #ffffff !important;
}

body.app-body .topbar-logout:hover,
body.app-body .topbar-logout:focus-visible {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
}

body.app-body .content-wrap {
    margin-top: var(--portal-topbar-height) !important;
    margin-left: var(--portal-sidebar-collapsed) !important;
    min-height: calc(100svh - var(--portal-topbar-height)) !important;
    background: #ffffff !important;
}

body.app-body .sidebar:hover ~ .content-wrap,
body.app-body .sidebar:hover ~ .content-wrap .drawer-overlay {
    margin-left: var(--portal-sidebar-expanded) !important;
    left: var(--portal-sidebar-expanded) !important;
}

body.app-body .equipment-page,
body.app-body .dashboard-page,
body.app-body .home-wrap {
    padding: 32px !important;
}

body.app-body .module-shell,
body.app-body .portal-shell,
body.app-body .module-body,
body.app-body .table-shell,
body.app-body .empty-state,
body.app-body .workspace-panel,
body.app-body .overview-card,
body.app-body .truck-drawer,
body.app-body .drawer-header,
body.app-body .drawer-body,
body.app-body .drawer-footer,
body.app-body .drawer-tabs,
body.app-body .rto-rate-editor-card,
body.app-body .compliance-layout-shell .driver-section,
body.app-body .connections-card,
body.app-body .connections-history-shell,
body.app-body .connections-editor-panel,
body.app-body .finance-table-shell,
body.app-body .compliance-table-shell,
body.app-body .compliance-upload-widget,
body.app-body .dashboard-panel,
body.app-body .stat-card,
body.app-body .shortcut-card {
    background: var(--portal-surface) !important;
    background-image: none !important;
    color: var(--portal-text) !important;
    border: 1px solid var(--portal-border) !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 30px rgba(15, 23, 42, 0.03) !important;
    backdrop-filter: none !important;
}

body.app-body .module-shell,
body.app-body .portal-shell {
    gap: 24px !important;
}

body.app-body .module-header,
body.app-body .workspace-header,
body.app-body .drawer-header,
body.app-body .driver-profile-header,
body.app-body .workspace-panel-header,
body.app-body .driver-section-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

body.app-body .workspace-header {
    padding: 0 !important;
}

body.app-body .workspace-eyebrow,
body.app-body .page-kicker {
    margin: 0 0 0.75rem !important;
    color: var(--portal-muted) !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    text-transform: none !important;
}

body.app-body .workspace-title,
body.app-body .module-title,
body.app-body .dashboard-hero h1 {
    margin: 0 !important;
    color: var(--portal-text) !important;
    font-size: clamp(2.5rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.05 !important;
}

body.app-body .workspace-section-title,
body.app-body .workspace-panel h2,
body.app-body .workspace-panel h3,
body.app-body .driver-section-header h3,
body.app-body .drawer-title,
body.app-body .dashboard-panel h2,
body.app-body .dashboard-panel h3 {
    margin: 0 !important;
    color: var(--portal-text) !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em !important;
}

body.app-body .workspace-copy,
body.app-body .dashboard-hero p,
body.app-body .workspace-panel p,
body.app-body .driver-section-header p,
body.app-body .field-help,
body.app-body .empty-state p,
body.app-body .compliance-layout-shell .driver-section-header p,
body.app-body .connections-section-header p,
body.app-body .connections-editor-header p {
    margin: 0 !important;
    color: var(--portal-muted) !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
}

body.app-body .workspace-copy-narrow {
    max-width: 44rem !important;
}

body.app-body .workspace-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

body.app-body .overview-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

body.app-body .overview-card {
    display: grid !important;
    gap: 0.75rem !important;
    padding: 1.25rem !important;
    border-radius: 20px !important;
}

body.app-body .overview-card-primary {
    background: linear-gradient(180deg, #111111, #1f2937) !important;
    color: #ffffff !important;
    border-color: #111111 !important;
}

body.app-body .overview-card-primary p,
body.app-body .overview-card-primary .overview-label,
body.app-body .overview-card-primary .overview-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

body.app-body .overview-label {
    color: var(--portal-muted) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

body.app-body .overview-card strong,
body.app-body .action-tile strong,
body.app-body .status-list strong,
body.app-body .timeline-list strong {
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: inherit !important;
}

body.app-body .overview-card p,
body.app-body .overview-link,
body.app-body .action-tile span,
body.app-body .status-list span,
body.app-body .timeline-list span {
    color: var(--portal-muted) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

body.app-body .overview-link {
    font-weight: 600 !important;
}

body.app-body .workspace-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

body.app-body .workspace-panel {
    display: grid !important;
    gap: 1rem !important;
    padding: 1.5rem !important;
    border-radius: 24px !important;
}

body.app-body .workspace-panel-wide {
    grid-column: span 2 !important;
}

body.app-body .action-tile-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
}

body.app-body .action-tile {
    display: grid !important;
    gap: 0.4rem !important;
    padding: 1rem !important;
    border: 1px solid var(--portal-border) !important;
    border-radius: 18px !important;
    background: var(--portal-surface-soft) !important;
}

body.app-body .status-list,
body.app-body .timeline-list,
body.app-body .chip-row {
    display: grid !important;
    gap: 0.85rem !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.app-body .status-list li,
body.app-body .timeline-list li {
    display: grid !important;
    gap: 0.35rem !important;
    padding: 0.95rem 1rem !important;
    border: 1px solid var(--portal-border) !important;
    border-radius: 18px !important;
    background: var(--portal-surface-soft) !important;
}

body.app-body .chip-row {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.app-body .workspace-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px !important;
    padding: 0 1rem !important;
    border: 1px solid var(--portal-border) !important;
    border-radius: 999px !important;
    background: var(--portal-surface-soft) !important;
    color: var(--portal-text) !important;
    font-weight: 600 !important;
}

body.app-body .table-shell,
body.app-body .table-scroll {
    border-radius: 24px !important;
    overflow: hidden !important;
}

body.app-body .data-table {
    background: #ffffff !important;
}

body.app-body .data-table th {
    position: sticky !important;
    top: 0 !important;
    background: #f8fafc !important;
    color: #374151 !important;
    border-bottom: 1px solid var(--portal-border) !important;
    font-size: 0.85rem !important;
}

body.app-body .data-table td {
    color: var(--portal-text) !important;
    border-top: 1px solid var(--portal-border) !important;
    background: #ffffff !important;
}

body.app-body .data-table tbody tr:hover td {
    background: #fafafa !important;
}

body.app-body .empty-state {
    place-items: start !important;
    padding: 2rem !important;
    border-radius: 24px !important;
}

body.app-body .empty-state h2 {
    margin: 0 !important;
    color: var(--portal-text) !important;
    font-size: 1.75rem !important;
    letter-spacing: -0.03em !important;
}

body.app-body .empty-icon {
    width: 64px !important;
    height: 64px !important;
    background: var(--portal-surface-soft) !important;
    border: 1px solid var(--portal-border) !important;
}

body.app-body .empty-icon::before,
body.app-body .empty-icon::after {
    background: #9ca3af !important;
}

body.app-body .field span,
body.app-body .field .field-label,
body.app-body .compliance-layout-shell .field > span,
body.app-body .connections-card span {
    color: var(--portal-text) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

body.app-body .field input,
body.app-body .field textarea,
body.app-body .field-select,
body.app-body .finance-table input,
body.app-body .driver-company-dropdown-trigger,
body.app-body .driver-sensitive-field,
body.app-body .driver-sensitive-field-toggle,
body.app-body .driver-company-dropdown-panel,
body.app-body .driver-contractor-option,
body.app-body .payroll-dropzone,
body.app-body .payroll-upload-item,
body.app-body .payroll-document-card,
body.app-body .compliance-current-cdl-grid > div,
body.app-body .compliance-summary-card,
body.app-body .compliance-status-tile,
body.app-body .compliance-checklist-item,
body.app-body .compliance-current-document,
body.app-body .compliance-upload-progress-card,
body.app-body .compliance-mini-card,
body.app-body .compliance-preview-placeholder,
body.app-body .compliance-more-dropdown,
body.app-body .compliance-restriction-badge {
    background: #ffffff !important;
    color: var(--portal-text) !important;
    border: 1px solid var(--portal-border) !important;
    box-shadow: none !important;
}

body.app-body .field input,
body.app-body .field textarea,
body.app-body .field-select,
body.app-body .finance-table input,
body.app-body .driver-company-dropdown-trigger,
body.app-body .driver-sensitive-field-toggle {
    min-height: 48px !important;
    border-radius: 12px !important;
}

body.app-body .field input:focus,
body.app-body .field textarea:focus,
body.app-body .field-select:focus,
body.app-body .finance-table input:focus,
body.app-body .driver-company-dropdown-trigger:focus,
body.app-body .driver-company-dropdown-trigger:focus-visible,
body.app-body .driver-sensitive-field-toggle:focus,
body.app-body .driver-sensitive-field-toggle:focus-visible {
    border-color: #111111 !important;
    box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.06) !important;
    transform: none !important;
}

body.app-body .field input::placeholder,
body.app-body .field textarea::placeholder,
body.app-body .field-select:invalid {
    color: #9ca3af !important;
}

body.app-body .field-error,
body.app-body .form-alert[data-tone="error"] {
    color: #dc2626 !important;
}

body.app-body .primary-button,
body.app-body .tab-button.active {
    background: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #111111 !important;
    box-shadow: none !important;
}

body.app-body .primary-button:hover,
body.app-body .primary-button:focus-visible,
body.app-body .tab-button.active:hover,
body.app-body .tab-button.active:focus-visible {
    background: #000000 !important;
    border-color: #000000 !important;
    transform: none !important;
}

body.app-body .secondary-button,
body.app-body .icon-button,
body.app-body .tab-button,
body.app-body .table-action {
    background: #ffffff !important;
    color: var(--portal-text) !important;
    border: 1px solid #d1d5db !important;
    box-shadow: none !important;
}

body.app-body .secondary-button:hover,
body.app-body .secondary-button:focus-visible,
body.app-body .icon-button:hover,
body.app-body .icon-button:focus-visible,
body.app-body .tab-button:hover,
body.app-body .tab-button:focus-visible,
body.app-body .table-action:hover,
body.app-body .table-action:focus-visible {
    background: #f9fafb !important;
    color: var(--portal-text) !important;
    border-color: #cbd5e1 !important;
    transform: none !important;
}

body.app-body .danger-button {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1px solid #dc2626 !important;
}

body.app-body .danger-button:hover,
body.app-body .danger-button:focus-visible {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
}

body.app-body .truck-drawer {
    width: min(1280px, calc(100vw - 3rem)) !important;
    border-radius: 28px !important;
}

body.app-body .drawer-header,
body.app-body .drawer-tabs {
    border-bottom: 1px solid var(--portal-border) !important;
}

body.app-body .drawer-footer {
    border-top: 1px solid var(--portal-border) !important;
}

body.app-body .drawer-backdrop,
body.app-body .rto-rate-editor-backdrop {
    background: rgba(17, 24, 39, 0.36) !important;
    backdrop-filter: blur(6px) !important;
}

body.app-body .driver-profile-shell {
    width: min(calc(100% - 48px), 1380px) !important;
    margin: 0 auto !important;
    padding: 0 0 2rem !important;
}

body.app-body .driver-profile-panel > .driver-layout {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}

body.app-body .driver-profile-header {
    margin-bottom: 1.5rem !important;
}

body.app-body .driver-profile-page-title {
    margin: 0 !important;
    color: var(--portal-text) !important;
    font-size: clamp(2.5rem, 4vw, 3rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.05 !important;
}

body.app-body .driver-profile-page-copy {
    max-width: 44rem !important;
    margin: 0.75rem 0 0 !important;
    color: var(--portal-muted) !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
}

body.app-body .driver-profile-settings {
    display: grid !important;
    gap: 0 !important;
    border-top: 1px solid rgba(17, 24, 39, 0.26) !important;
    background: transparent !important;
}

body.app-body .driver-profile-setting-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 32px !important;
    align-items: center !important;
    gap: 1.25rem !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 1.5rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(17, 24, 39, 0.24) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111827 !important;
    text-align: left !important;
    box-shadow: none !important;
    transform: none !important;
}

body.app-body .driver-profile-setting-row:hover,
body.app-body .driver-profile-setting-row:focus-visible {
    background: rgba(255, 255, 255, 0.24) !important;
    outline: none !important;
}

body.app-body .driver-profile-setting-row:hover .driver-profile-setting-chevron svg,
body.app-body .driver-profile-setting-row:focus-visible .driver-profile-setting-chevron svg {
    transform: translateX(3px) !important;
}

body.app-body .driver-profile-setting-row:active {
    background: rgba(255, 255, 255, 0.36) !important;
}

body.app-body .driver-profile-setting-copy {
    display: grid !important;
    gap: 0.55rem !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-setting-label {
    color: #111827 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
}

body.app-body .driver-profile-setting-value-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-setting-value {
    min-width: 0 !important;
    color: #1f2937 !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.app-body .driver-profile-setting-value[data-empty="true"] {
    color: #6b7280 !important;
}

body.app-body .driver-profile-setting-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
    border-radius: 999px !important;
    background: transparent !important;
    border: 0 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
}

body.app-body .driver-profile-setting-status[data-quality-status="verified"] {
    color: #16a34a !important;
}

body.app-body .driver-profile-setting-status[data-quality-status="needs_review"] {
    color: #d97706 !important;
}

body.app-body .driver-profile-setting-status[data-quality-status="rejected"] {
    color: #dc2626 !important;
}

body.app-body .driver-profile-setting-status[data-quality-status="pending"] {
    color: #94a3b8 !important;
}

body.app-body .driver-profile-setting-status svg,
body.app-body .driver-profile-status-button-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-profile-setting-chevron {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    justify-self: end !important;
    align-self: center !important;
    color: #1f2937 !important;
    line-height: 1 !important;
}

body.app-body .driver-profile-setting-chevron svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    transition: transform 180ms ease !important;
}

body.app-body .driver-profile-modal-card {
    width: calc(100vw - 32px) !important;
    max-width: 640px !important;
    max-height: calc(100vh - 32px) !important;
    gap: 1.5rem !important;
    padding: 2rem !important;
    margin: 0 auto !important;
    grid-template-rows: auto minmax(0, 1fr) auto !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    border-radius: 30px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 252, 0.98)) !important;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.18), 0 10px 30px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden !important;
}

body.app-body .driver-profile-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(15, 23, 42, 0.26) !important;
    backdrop-filter: blur(10px) !important;
}

@media (min-width: 641px) {
    body.app-body .driver-profile-modal {
        position: fixed !important;
        inset: 0 !important;
        display: grid !important;
        place-items: center !important;
        padding: 24px !important;
        width: 100vw !important;
        height: 100vh !important;
    }

    body.app-body .driver-profile-modal[hidden] {
        display: none !important;
    }

    body.app-body .driver-profile-modal-card {
        position: fixed !important;
        left: 50vw !important;
        top: 50vh !important;
        transform: translate(-50%, -50%) !important;
        width: min(640px, calc(100vw - 48px)) !important;
        max-width: 640px !important;
        max-height: calc(100vh - 48px) !important;
        margin: 0 !important;
    }
}

body.app-body .driver-profile-modal-header {
    align-items: flex-start !important;
    gap: 1.25rem !important;
    margin-bottom: 0 !important;
}

body.app-body .driver-profile-modal-copy {
    display: grid !important;
    gap: 0.6rem !important;
}

body.app-body .driver-profile-modal-card .rto-rate-editor-header {
    margin-bottom: 0 !important;
}

body.app-body .driver-profile-modal-card .rto-rate-editor-header h3 {
    color: var(--portal-text) !important;
    font-size: clamp(1.8rem, 3.4vw, 2.35rem) !important;
    font-weight: 700 !important;
    letter-spacing: -0.04em !important;
    line-height: 1.08 !important;
}

body.app-body .driver-profile-modal-card .rto-rate-editor-header p {
    color: #4b5563 !important;
    font-size: 1rem !important;
    line-height: 1.7 !important;
}

body.app-body .driver-profile-modal-card .compliance-modal-form,
body.app-body .driver-profile-modal-card .rto-rate-editor-body {
    display: grid !important;
    gap: 1.25rem !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: visible !important;
    padding: 6px 6px 10px !important;
}

body.app-body .driver-profile-modal-card .compliance-modal-form,
body.app-body .driver-profile-modal-card .rto-rate-editor-body,
body.app-body .driver-profile-modal-card {
    scrollbar-width: thin !important;
    scrollbar-color: rgba(94, 132, 203, 0.68) rgba(226, 232, 240, 0.68) !important;
}

body.app-body .driver-profile-modal-card .compliance-modal-form::-webkit-scrollbar,
body.app-body .driver-profile-modal-card .rto-rate-editor-body::-webkit-scrollbar,
body.app-body .driver-profile-modal-card::-webkit-scrollbar {
    width: 12px !important;
    height: 12px !important;
}

body.app-body .driver-profile-modal-card .compliance-modal-form::-webkit-scrollbar-track,
body.app-body .driver-profile-modal-card .rto-rate-editor-body::-webkit-scrollbar-track,
body.app-body .driver-profile-modal-card::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(226, 232, 240, 0.92)) !important;
    border-radius: 999px !important;
    border: 2px solid rgba(255, 255, 255, 0.88) !important;
}

body.app-body .driver-profile-modal-card .compliance-modal-form::-webkit-scrollbar-thumb,
body.app-body .driver-profile-modal-card .rto-rate-editor-body::-webkit-scrollbar-thumb,
body.app-body .driver-profile-modal-card::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(96, 137, 218, 0.95), rgba(59, 104, 193, 0.92)) !important;
    border-radius: 999px !important;
    border: 2px solid rgba(241, 245, 249, 0.95) !important;
    box-shadow: 0 8px 16px rgba(59, 104, 193, 0.22) !important;
}

body.app-body .driver-profile-modal-card .compliance-modal-form::-webkit-scrollbar-thumb:hover,
body.app-body .driver-profile-modal-card .rto-rate-editor-body::-webkit-scrollbar-thumb:hover,
body.app-body .driver-profile-modal-card::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(74, 123, 221, 1), rgba(41, 89, 188, 0.98)) !important;
}

@media (min-width: 901px) {
    body.app-body .driver-profile-modal {
        padding: 36px !important;
    }

    body.app-body .driver-profile-modal-card {
        width: min(960px, calc(100vw - 72px)) !important;
        max-width: 960px !important;
        max-height: calc(100vh - 72px) !important;
    }

    body.app-body .driver-profile-modal-header {
        gap: 1.75rem !important;
    }

    body.app-body .driver-profile-modal-copy {
        gap: 0.9rem !important;
    }

    body.app-body .driver-profile-modal-card .rto-rate-editor-header h3 {
        font-size: clamp(2.7rem, 3.9vw, 3.5rem) !important;
    }

    body.app-body .driver-profile-modal-card .rto-rate-editor-header p {
        font-size: 1.5rem !important;
        line-height: 1.65 !important;
    }

    body.app-body .driver-profile-modal-card .compliance-modal-form,
    body.app-body .driver-profile-modal-card .rto-rate-editor-body {
        gap: 1.8rem !important;
    }

    body.app-body .driver-profile-modal-card .driver-grid {
        gap: 1.5rem !important;
    }

    body.app-body .driver-profile-modal-card .field,
    body.app-body .driver-profile-modal-card .field > span,
    body.app-body .driver-profile-modal-card .field .field-label {
        font-size: 1.2rem !important;
    }

    body.app-body .driver-profile-modal-card .field input,
    body.app-body .driver-profile-modal-card .field textarea,
    body.app-body .driver-profile-modal-card .field-select,
    body.app-body .driver-profile-modal-card .field-checkbox-control {
        min-height: 84px !important;
        border-radius: 24px !important;
        font-size: 1.35rem !important;
        padding: 0 1.35rem !important;
    }

    body.app-body .driver-profile-modal-card .field textarea {
        min-height: 148px !important;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    body.app-body .driver-profile-modal-close-button {
        width: 60px !important;
        height: 60px !important;
        border-radius: 20px !important;
    }

    body.app-body .driver-profile-modal-footer {
        gap: 1.2rem !important;
        padding-top: 1.4rem !important;
    }

    body.app-body .driver-profile-modal-footer .secondary-button,
    body.app-body .driver-profile-modal-footer .primary-button,
    body.app-body .driver-profile-modal-footer .danger-button {
        min-height: 64px !important;
        font-size: 1.22rem !important;
        border-radius: 22px !important;
        padding: 0 1.6rem !important;
    }
}

body.app-body .driver-profile-modal-card .driver-grid {
    gap: 1rem !important;
    padding: 2px 2px 4px !important;
}

body.app-body .driver-profile-modal-grid {
    align-items: start !important;
}

body.app-body .driver-profile-modal-card .field input,
body.app-body .driver-profile-modal-card .field textarea,
body.app-body .driver-profile-modal-card .field-select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 58px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(203, 213, 225, 0.9) !important;
    background: #f8fafc !important;
    color: #111827 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

body.app-body .driver-profile-ssn-inputs {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) auto minmax(0, 2fr) auto minmax(0, 4fr) !important;
    align-items: center !important;
    gap: 0.6rem !important;
    width: 100% !important;
}

body.app-body .driver-profile-ssn-inputs input {
    text-align: center !important;
    letter-spacing: 0.04em !important;
}

body.app-body .driver-profile-ssn-separator {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-profile-modal-card .field input:focus,
body.app-body .driver-profile-modal-card .field textarea:focus,
body.app-body .driver-profile-modal-card .field-select:focus {
    border-color: rgba(37, 99, 235, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12) !important;
    outline: none !important;
}

body.app-body .driver-profile-modal-card .field-checkbox-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-height: 58px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(203, 213, 225, 0.9) !important;
    background: #f8fafc !important;
    color: #111827 !important;
}

body.app-body .driver-profile-modal-card .field[data-driver-profile-modal-field-name="mailing_same_as_physical"] {
    grid-column: span 1 !important;
}

body.app-body .driver-profile-modal-card .field[data-driver-profile-modal-field-name="mailing_same_as_physical"] .field-checkbox-control {
    width: auto !important;
    max-width: 320px !important;
    min-height: 48px !important;
    padding: 0.7rem 1rem !important;
    border-radius: 16px !important;
    justify-self: start !important;
}

body.app-body .driver-profile-modal-card .field[data-driver-profile-modal-field-name="mailing_same_as_physical"] .field-checkbox-control input {
    width: 16px !important;
    height: 16px !important;
}

body.app-body .driver-profile-modal-card .field[data-driver-profile-modal-field-name="mailing_same_as_physical"] .field-checkbox-control span {
    font-size: 0.98rem !important;
    line-height: 1.3 !important;
}

body.app-body .driver-profile-modal-card .field-help {
    color: #6b7280 !important;
}

body.app-body .driver-profile-ssn-group {
    display: grid !important;
    gap: 0.6rem !important;
}

body.app-body .driver-profile-ssn-current {
    display: grid !important;
    gap: 0.2rem !important;
    padding: 0.85rem 1rem !important;
    border-radius: 18px !important;
    border: 1px solid rgba(203, 213, 225, 0.9) !important;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%) !important;
}

body.app-body .driver-profile-ssn-current-label {
    color: #64748b !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-ssn-current-value {
    color: #111827 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
}

body.app-body .driver-profile-ssn-reveal-controls {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.75rem !important;
    align-items: end !important;
}

body.app-body .driver-profile-ssn-password-field {
    display: grid !important;
    gap: 0.45rem !important;
}

body.app-body .driver-profile-modal-card .driver-profile-ssn-password-input {
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 18px !important;
}

body.app-body .driver-profile-ssn-reveal-button {
    min-height: 54px !important;
    white-space: nowrap !important;
}

body.app-body .driver-profile-ssn-inputs {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) auto minmax(0, 2fr) auto minmax(0, 4fr) !important;
    align-items: center !important;
    gap: 0.7rem !important;
}

body.app-body .driver-profile-modal-card .driver-profile-ssn-part {
    width: 100% !important;
    text-align: center !important;
    letter-spacing: 0.04em !important;
}

body.app-body .driver-profile-ssn-separator {
    color: #64748b !important;
    font-size: 1.2em !important;
    font-weight: 700 !important;
    line-height: 1 !important;
}

body.app-body .driver-profile-modal-close-button {
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
}

body.app-body .driver-profile-modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    gap: 0.85rem !important;
    padding: 1rem 0 0.15rem !important;
    border: 0 !important;
    background: linear-gradient(180deg, rgba(247, 250, 252, 0), rgba(247, 250, 252, 0.94) 28%, rgba(247, 250, 252, 0.98) 100%) !important;
    box-shadow: none !important;
    position: sticky !important;
    bottom: 0 !important;
    z-index: 1 !important;
}

body.app-body .driver-profile-modal-action {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    flex: 1 1 220px !important;
    justify-content: center !important;
    min-height: 52px !important;
    border-radius: 18px !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-status-modal {
    z-index: 95 !important;
    padding: 2rem !important;
}

body.app-body .driver-profile-status-modal-backdrop {
    background: rgba(15, 23, 42, 0.2) !important;
    backdrop-filter: blur(8px) !important;
}

body.app-body .driver-profile-status-modal-card {
    width: min(780px, calc(100vw - 2rem)) !important;
    max-width: 780px !important;
    gap: 2rem !important;
    padding: 2.6rem !important;
    border: 1px solid rgba(226, 232, 240, 0.96) !important;
    border-radius: 34px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 250, 252, 0.98)) !important;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16), 0 10px 28px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .driver-profile-status-modal-copy {
    display: grid !important;
    gap: 0.4rem !important;
}

body.app-body .driver-profile-status-modal-copy h3 {
    margin: 0 !important;
    color: #111827 !important;
    font-size: 2.4rem !important;
    letter-spacing: -0.03em !important;
    line-height: 1.05 !important;
}

body.app-body .driver-profile-status-modal-copy p {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

body.app-body .driver-profile-status-actions {
    display: grid !important;
    gap: 1.35rem !important;
}

body.app-body .driver-profile-status-button {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 1.5rem !important;
    width: 100% !important;
    min-height: 132px !important;
    padding: 1.7rem 1.8rem !important;
    border: 1px solid rgba(226, 232, 240, 0.96) !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 250, 251, 0.98)) !important;
    color: #111827 !important;
    text-align: left !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

body.app-body .driver-profile-status-button:hover,
body.app-body .driver-profile-status-button:focus-visible {
    border-color: rgba(59, 130, 246, 0.28) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-2px) !important;
    outline: none !important;
}

body.app-body .driver-profile-status-button-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex: 0 0 42px !important;
}

body.app-body .driver-profile-status-button-icon svg {
    width: 42px !important;
    height: 42px !important;
}

body.app-body .driver-profile-status-button-icon[data-quality-status="verified"] {
    color: #16a34a !important;
}

body.app-body .driver-profile-status-button-icon[data-quality-status="needs_review"] {
    color: #d97706 !important;
}

body.app-body .driver-profile-status-button-icon[data-quality-status="rejected"] {
    color: #dc2626 !important;
}

body.app-body .driver-profile-status-button-copy {
    display: grid !important;
    gap: 0.42rem !important;
}

body.app-body .driver-profile-status-button-copy strong {
    font-size: 1.56rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.12 !important;
}

body.app-body .driver-profile-status-button-copy span {
    color: #6b7280 !important;
    font-size: 1.4rem !important;
    line-height: 1.45 !important;
}

body.app-body .driver-profile-address-choice-alert {
    margin: 0 !important;
}

body.app-body .driver-profile-address-choice-actions {
    gap: 1rem !important;
}

body.app-body .driver-profile-address-choice-button {
    align-items: flex-start !important;
}

body.app-body .driver-profile-address-choice-button .driver-profile-status-button-copy span {
    word-break: break-word !important;
}

body.app-body .driver-profile-placeholder-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 0 0.95rem !important;
    border-radius: 999px !important;
    border: 1px solid rgba(203, 213, 225, 0.88) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #475569 !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body.app-body .drivers-page [data-driver-edit] {
    display: none !important;
}

body.app-body .drivers-page {
    background: #f7f8fb !important;
}

body.app-body .drivers-page .field-label.required::after {
    content: none !important;
}

body.app-body .drivers-page .field-required {
    --field-required-accent: transparent;
}

body.app-body .drivers-page .module-shell {
    display: grid !important;
    gap: 1rem !important;
    padding: 1.5rem 1.75rem 1.75rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.82) !important;
    background: #fbfcfe !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04), 0 2px 8px rgba(15, 23, 42, 0.03) !important;
}

body.app-body .drivers-page .module-body,
body.app-body .drivers-toolbar,
body.app-body .drivers-list-shell,
body.app-body .drivers-list-shell .table-scroll,
body.app-body .drivers-table-footer {
    box-sizing: border-box !important;
    width: 100%;
    max-width: 100% !important;
}

body.app-body .drivers-table,
body.app-body .drivers-table th,
body.app-body .drivers-table td {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

body.app-body .drivers-page .module-body {
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

body.app-body .drivers-page .tab-panels,
body.app-body .drivers-page .tab-panel {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

body.app-body .drivers-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1.5rem !important;
}

body.app-body .drivers-header-copy {
    display: grid !important;
    gap: 0.22rem !important;
}

body.app-body .drivers-header-actions {
    margin-left: auto !important;
    padding-right: 0.15rem !important;
}

body.app-body .drivers-header .module-title {
    margin: 0 !important;
    color: #111111 !important;
    font-size: clamp(2rem, 3vw, 2.65rem) !important;
    font-weight: 750 !important;
    letter-spacing: -0.045em !important;
}

body.app-body .driver-profile-mvr-window-driver-name {
    margin-left: 0.45rem !important;
    color: #7b8795 !important;
    font-size: 0.75em !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
}

body.app-body .drivers-header-description {
    margin: 0 !important;
    color: #5f6b7a !important;
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
}

body.app-body .drivers-add-button {
    min-height: 46px !important;
    padding: 0 1.15rem !important;
    border-radius: 13px !important;
    gap: 0.55rem !important;
    background: #0b0b0d !important;
    border-color: #0b0b0d !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

body.app-body .drivers-add-button-icon {
    font-size: 1.15rem !important;
    line-height: 1 !important;
}

body.app-body .drivers-toolbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 0.85rem !important;
    align-items: center !important;
    margin-top: -0.15rem !important;
    padding: 0 0.1rem !important;
    min-width: 0 !important;
}

body.app-body .drivers-search-control {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0.75rem !important;
    min-height: 48px !important;
    padding: 0 1rem !important;
    border-radius: 14px !important;
    border: 1px solid #e6ebf2 !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04) !important;
    min-width: 0 !important;
}

body.app-body .drivers-search-icon,
body.app-body .drivers-filter-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #7b8795 !important;
}

body.app-body .drivers-search-icon svg,
body.app-body .drivers-filter-icon svg {
    width: 18px !important;
    height: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .drivers-search-control input {
    width: 100% !important;
    min-width: 0 !important;
    border: 0 !important;
    outline: none !important;
    background: transparent !important;
    color: #111827 !important;
    font-size: 0.95rem !important;
    box-shadow: none !important;
    padding: 0 !important;
}

body.app-body .drivers-search-control input::placeholder {
    color: #8b97a8 !important;
}

body.app-body .drivers-filter-button {
    min-height: 48px !important;
    padding: 0 1.05rem !important;
    gap: 0.55rem !important;
    border-radius: 14px !important;
    border-color: #e5eaf1 !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    justify-self: end !important;
    max-width: 100% !important;
}

body.app-body .drivers-list-shell {
    border-radius: 16px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    min-width: 0 !important;
}

body.app-body .drivers-loading {
    position: relative !important;
    width: 100% !important;
    height: 3px !important;
    margin: 0 0 1rem !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.08) !important;
}

body.app-body .drivers-loading[hidden] {
    display: none !important;
}

body.app-body .drivers-loading-bar {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 34% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #0b0b0d 0%, #1f2937 70%, #0b0b0d 100%) !important;
    animation: drivers-loading-slide 1.2s ease-in-out infinite !important;
    will-change: transform !important;
}

@keyframes drivers-loading-slide {
    0% {
        transform: translateX(-120%);
    }

    50% {
        transform: translateX(165%);
    }

    100% {
        transform: translateX(320%);
    }
}

body.app-body .drivers-list-shell .table-scroll {
    background: transparent !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-right: 0 !important;
}

body.app-body .drivers-table {
    min-width: 100% !important;
    background: #ffffff !important;
    width: 100% !important;
    table-layout: fixed !important;
}

body.app-body .drivers-mobile-name {
    display: none !important;
}

body.app-body .drivers-table th {
    position: static !important;
    background: #ffffff !important;
    color: #111111 !important;
    padding: 13px 16px !important;
    border-bottom: 1px solid #edf1f5 !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

body.app-body .drivers-table th:first-child,
body.app-body .drivers-table td:first-child {
    padding-left: 22px !important;
}

body.app-body .drivers-table th:last-child,
body.app-body .drivers-table td:last-child {
    padding-right: 34px !important;
}

body.app-body .drivers-table td {
    padding: 26px 16px !important;
    border-top: 1px solid #eef2f6 !important;
    color: #202938 !important;
    font-size: 0.96rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    background: #ffffff !important;
    vertical-align: middle !important;
}

body.app-body .drivers-table th:nth-child(1),
body.app-body .drivers-table td:nth-child(1) {
    width: 76px !important;
}

body.app-body .drivers-table th:nth-child(2),
body.app-body .drivers-table td:nth-child(2),
body.app-body .drivers-table th:nth-child(3),
body.app-body .drivers-table td:nth-child(3),
body.app-body .drivers-table th:nth-child(4),
body.app-body .drivers-table td:nth-child(4) {
    width: 10.5% !important;
}

body.app-body .drivers-table th:nth-child(5),
body.app-body .drivers-table td:nth-child(5) {
    width: 19% !important;
}

body.app-body .drivers-table th:nth-child(6),
body.app-body .drivers-table td:nth-child(6) {
    width: 7% !important;
}

body.app-body .drivers-table th:nth-child(7),
body.app-body .drivers-table td:nth-child(7) {
    width: 13% !important;
}

body.app-body .drivers-table th:nth-child(8),
body.app-body .drivers-table td:nth-child(8) {
    width: 17% !important;
}

body.app-body .drivers-table th:nth-child(9),
body.app-body .drivers-table td:nth-child(9) {
    width: 6% !important;
}

body.app-body .drivers-table th:nth-child(10),
body.app-body .drivers-table td:nth-child(10) {
    width: 8% !important;
}

body.app-body .drivers-table th:nth-child(11),
body.app-body .drivers-table td:nth-child(11) {
    width: 56px !important;
}

body.app-body .drivers-table tbody tr {
    cursor: pointer !important;
    transition: background-color 0.16s ease, box-shadow 0.16s ease !important;
}

body.app-body .drivers-table tbody tr:hover td {
    background: #fbfcfe !important;
}

body.app-body .drivers-cell-avatar {
    width: 72px !important;
}

body.app-body .drivers-avatar {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    max-width: 100% !important;
    padding: 0 0.35rem !important;
    border-radius: 999px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.app-body .drivers-avatar-photo {
    padding: 0 !important;
    background: #eef2f7 !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .drivers-avatar-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 50% !important;
}

body.app-body .drivers-avatar-pebble {
    background: #eef2f7 !important;
    color: #5d6878 !important;
}

body.app-body .drivers-avatar-sky {
    background: #e7f2ff !important;
    color: #3478d8 !important;
}

body.app-body .drivers-avatar-mint {
    background: #e8f8ef !important;
    color: #2e9b61 !important;
}

body.app-body .drivers-avatar-violet {
    background: #efe8ff !important;
    color: #7b5ce0 !important;
}

body.app-body .drivers-avatar-amber {
    background: #fff3df !important;
    color: #cb8a11 !important;
}

body.app-body .drivers-avatar-rose {
    background: #ffe8ef !important;
    color: #d25580 !important;
}

body.app-body .drivers-cell-primary,
body.app-body .drivers-cell-company,
body.app-body .drivers-cell-email {
    color: #111827 !important;
}

body.app-body .drivers-cell-quality {
    text-align: center !important;
}

body.app-body .drivers-cell-company {
    min-width: 150px !important;
    overflow-wrap: anywhere !important;
}

body.app-body .drivers-cell-email {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

body.app-body .drivers-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    color: #1f2937 !important;
    font-size: 0.94rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
}

body.app-body .drivers-quality-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 29px !important;
    height: 29px !important;
    border-radius: 999px !important;
    border: 1px solid transparent !important;
    color: #94a3b8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

body.app-body .drivers-quality-status svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .drivers-quality-status-verified {
    color: #15803d !important;
    background: linear-gradient(180deg, #ecfdf3 0%, #dcfce7 100%) !important;
    border-color: rgba(21, 128, 61, 0.2) !important;
}

body.app-body .drivers-quality-status-needs_review {
    color: #b45309 !important;
    background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%) !important;
    border-color: rgba(180, 83, 9, 0.22) !important;
}

body.app-body .drivers-quality-status-rejected {
    color: #b91c1c !important;
    background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%) !important;
    border-color: rgba(185, 28, 28, 0.2) !important;
}

body.app-body .drivers-quality-status-placeholder {
    width: 29px !important;
    height: 29px !important;
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.7) 0%, rgba(203, 213, 225, 0.45) 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
}

body.app-body .drivers-status-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 999px !important;
    background: #20b26b !important;
}

body.app-body .drivers-status-inactive .drivers-status-dot {
    background: #a8b1bc !important;
}

body.app-body .drivers-cell-chevron {
    width: 44px !important;
    text-align: right !important;
}

body.app-body .drivers-row-chevron {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border: 1px solid #d8e1eb !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 0 !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08) !important;
    position: relative !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease !important;
}

body.app-body .drivers-row-chevron::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2px solid #0f172a !important;
    border-right: 2px solid #0f172a !important;
    transform: rotate(45deg) translate(-1px, 1px) !important;
}

body.app-body .drivers-row-chevron:hover,
body.app-body .drivers-row-chevron:focus-visible {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%) !important;
    border-color: #bfd3ea !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
    transform: translateY(-1px) !important;
    outline: none !important;
}

body.app-body .drivers-table-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 16px 20px 20px !important;
    border-top: 1px solid #edf1f5 !important;
    background: #ffffff !important;
}

@media (min-width: 1181px) {
    body.app-body .drivers-table thead th:nth-child(6) {
        text-align: center !important;
    }

    body.app-body .drivers-table tbody td {
        padding-top: 22px !important;
        padding-bottom: 22px !important;
        vertical-align: middle !important;
    }

    body.app-body .drivers-cell-avatar,
    body.app-body .drivers-cell-chevron {
        text-align: center !important;
        vertical-align: middle !important;
    }

    body.app-body .drivers-table tbody td.drivers-cell-quality {
        text-align: center !important;
        vertical-align: middle !important;
    }

    body.app-body .drivers-cell-chevron {
        text-align: right !important;
    }

    body.app-body .drivers-cell-primary,
    body.app-body .drivers-cell-middle,
    body.app-body .drivers-cell-last,
    body.app-body .drivers-cell-company,
    body.app-body .drivers-cell-phone,
    body.app-body .drivers-cell-email,
    body.app-body .drivers-cell-state {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    body.app-body .drivers-status {
        display: inline-flex !important;
        align-items: center !important;
        vertical-align: middle !important;
    }

    body.app-body .drivers-table tbody td.drivers-cell-quality .drivers-quality-status,
    body.app-body .drivers-table tbody td.drivers-cell-quality .drivers-quality-status-placeholder {
        display: inline-flex !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.app-body .drivers-quality-status,
    body.app-body .drivers-row-chevron,
    body.app-body .drivers-avatar {
        vertical-align: middle !important;
    }
}

body.app-body .drivers-results-summary {
    margin: 0 !important;
    color: #5f6b7a !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
}

body.app-body .drivers-pagination {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
}

body.app-body .drivers-page-button,
body.app-body .drivers-page-ellipsis {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 32px !important;
    height: 32px !important;
    padding: 0 0.6rem !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

body.app-body .drivers-page-button {
    border: 1px solid #dfe5ec !important;
    background: #ffffff !important;
    color: #111827 !important;
    cursor: pointer !important;
}

body.app-body .drivers-page-button:hover,
body.app-body .drivers-page-button:focus-visible {
    background: #f8fafc !important;
    outline: none !important;
}

body.app-body .drivers-page-button.is-active {
    background: #0b0b0d !important;
    border-color: #0b0b0d !important;
    color: #ffffff !important;
}

body.app-body .drivers-page-button[disabled] {
    opacity: 0.45 !important;
    cursor: default !important;
}

body.app-body .drivers-page-ellipsis {
    color: #6b7280 !important;
}

body.app-body .drivers-list-shell .empty-state {
    place-items: center !important;
    padding: 3rem 1.5rem !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

@media (max-width: 1180px) {
    body.app-body .drivers-list-shell {
        overflow: visible !important;
    }

    body.app-body .drivers-list-shell .table-scroll {
        overflow: visible !important;
        padding-right: 0 !important;
    }

    body.app-body .drivers-table {
        min-width: 0 !important;
        background: transparent !important;
        table-layout: auto !important;
    }

    body.app-body .drivers-table thead {
        display: none !important;
    }

    body.app-body .drivers-table tbody {
        display: grid !important;
        gap: 0.9rem !important;
    }

    body.app-body .drivers-table tbody tr {
        display: grid !important;
        position: relative !important;
        grid-template-columns: 80px minmax(0, 1fr) 40px !important;
        grid-template-areas:
            'avatar name chevron'
            'quality quality quality'
            'company company company'
            'phone phone phone'
            'email email email'
            'state state state'
            'status status status';
        align-items: center !important;
        column-gap: 1.25rem !important;
        row-gap: 0.5rem !important;
        padding: 1.05rem 1rem 1.05rem 1rem !important;
        border: 1px solid #e7edf4 !important;
        border-radius: 22px !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06) !important;
    }

    body.app-body .drivers-table tbody tr::after {
        content: '' !important;
        position: absolute !important;
        left: 1rem !important;
        right: 1rem !important;
        top: 5.35rem !important;
        height: 1px !important;
        border-radius: 999px !important;
        background: linear-gradient(90deg, rgba(203, 213, 225, 0.98) 0%, rgba(148, 163, 184, 0.82) 52%, rgba(203, 213, 225, 0.28) 100%) !important;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) !important;
        pointer-events: none !important;
    }

    body.app-body .drivers-table td {
        display: block !important;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        min-width: 0 !important;
        white-space: normal !important;
    }

    body.app-body .drivers-table th:first-child,
    body.app-body .drivers-table td:first-child,
    body.app-body .drivers-table th:last-child,
    body.app-body .drivers-table td:last-child,
    body.app-body .drivers-table th:nth-child(1),
    body.app-body .drivers-table td:nth-child(1),
    body.app-body .drivers-table th:nth-child(2),
    body.app-body .drivers-table td:nth-child(2),
    body.app-body .drivers-table th:nth-child(3),
    body.app-body .drivers-table td:nth-child(3),
    body.app-body .drivers-table th:nth-child(4),
    body.app-body .drivers-table td:nth-child(4),
    body.app-body .drivers-table th:nth-child(5),
    body.app-body .drivers-table td:nth-child(5),
    body.app-body .drivers-table th:nth-child(6),
    body.app-body .drivers-table td:nth-child(6),
    body.app-body .drivers-table th:nth-child(7),
    body.app-body .drivers-table td:nth-child(7),
    body.app-body .drivers-table th:nth-child(8),
    body.app-body .drivers-table td:nth-child(8),
    body.app-body .drivers-table th:nth-child(9),
    body.app-body .drivers-table td:nth-child(9),
    body.app-body .drivers-table th:nth-child(10),
    body.app-body .drivers-table td:nth-child(10),
    body.app-body .drivers-table th:nth-child(11),
    body.app-body .drivers-table td:nth-child(11) {
        width: auto !important;
    }

    body.app-body .drivers-cell-avatar {
        grid-area: avatar !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        width: 80px !important;
        overflow: visible !important;
        align-self: start !important;
        padding-top: 0.2rem !important;
        padding-left: 0 !important;
    }

    body.app-body .drivers-avatar {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        aspect-ratio: 1 / 1 !important;
        padding: 0 0.3rem !important;
        font-size: 0.72rem !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 8px 20px rgba(59, 130, 246, 0.12) !important;
    }

    body.app-body .drivers-avatar-photo {
        padding: 0 !important;
    }

    body.app-body .drivers-avatar-image {
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        min-height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    body.app-body .drivers-cell-primary {
        grid-area: name !important;
        position: relative !important;
        min-width: 0 !important;
        padding-top: 0.05rem !important;
        padding-bottom: 0.1rem !important;
        margin-bottom: 0 !important;
    }

    body.app-body .drivers-primary-desktop {
        display: none !important;
    }

    body.app-body .drivers-mobile-name {
        display: block !important;
        color: #0f172a !important;
        font-size: 1.06rem !important;
        font-weight: 700 !important;
        line-height: 1.28 !important;
        letter-spacing: -0.01em !important;
        overflow-wrap: anywhere !important;
        max-width: 100% !important;
    }

    body.app-body .drivers-cell-middle,
    body.app-body .drivers-cell-last,
    body.app-body .drivers-table td:nth-child(3),
    body.app-body .drivers-table td:nth-child(4) {
        display: none !important;
    }

    body.app-body .drivers-cell-quality,
    body.app-body .drivers-cell-company,
    body.app-body .drivers-cell-phone,
    body.app-body .drivers-cell-email,
    body.app-body .drivers-cell-state,
    body.app-body .drivers-cell-status {
        display: block !important;
        position: relative !important;
        justify-self: stretch !important;
        align-self: start !important;
        padding-left: 0 !important;
        text-align: left !important;
        color: #334155 !important;
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        min-width: 0 !important;
    }

    body.app-body .drivers-cell-quality::before,
    body.app-body .drivers-cell-company::before,
    body.app-body .drivers-cell-phone::before,
    body.app-body .drivers-cell-email::before,
    body.app-body .drivers-cell-state::before,
    body.app-body .drivers-cell-status::before {
        content: attr(data-mobile-label) ': ' !important;
        color: #64748b !important;
        font-size: 0.79rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.01em !important;
        display: inline !important;
    }

    body.app-body .drivers-cell-quality {
        grid-area: quality !important;
        padding-top: 0 !important;
        margin-top: 1.45rem !important;
    }

    body.app-body .drivers-cell-company {
        grid-area: company !important;
        min-width: 0 !important;
    }

    body.app-body .drivers-cell-phone {
        grid-area: phone !important;
    }

    body.app-body .drivers-cell-email {
        grid-area: email !important;
        min-width: 0 !important;
    }

    body.app-body .drivers-cell-state {
        grid-area: state !important;
    }

    body.app-body .drivers-cell-status {
        grid-area: status !important;
    }

    body.app-body .drivers-status {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.45rem !important;
        font-size: 0.9rem !important;
    }

    body.app-body .drivers-cell-chevron {
        grid-area: chevron !important;
        align-self: start !important;
        width: 40px !important;
        text-align: right !important;
    }

    body.app-body .drivers-row-chevron {
        width: 40px !important;
        height: 40px !important;
        border-radius: 16px !important;
    }

    body.app-body .drivers-table-footer {
        padding: 0.75rem 0.15rem 0 !important;
        border-top: 0 !important;
        background: transparent !important;
    }
}

@media (max-width: 760px) {
    body.app-body .drivers-page .module-shell {
        padding: 1.2rem 1.1rem 1.25rem !important;
        border-radius: 18px !important;
    }

    body.app-body .driver-profile-status-modal {
        display: grid !important;
        place-items: center !important;
        padding: 1rem !important;
        width: 100vw !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.app-body .driver-profile-status-modal[hidden] {
        display: none !important;
    }

    body.app-body .driver-profile-status-modal-card {
        width: min(calc(100vw - 2rem), 640px) !important;
        max-width: calc(100vw - 2rem) !important;
        margin: 0 auto !important;
        padding: 2rem !important;
        border-radius: 28px !important;
        box-sizing: border-box !important;
    }

    body.app-body .drivers-toolbar {
        grid-template-columns: minmax(0, 1fr) !important;
        justify-items: center !important;
    }

    body.app-body .drivers-add-button {
        justify-self: center !important;
    }

    body.app-body .driver-profile-shell {
        width: min(calc(100% - 32px), 100%) !important;
    }

    body.app-body .overview-grid,
    body.app-body .workspace-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.app-body .chip-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}

@media (max-width: 640px) {
    body.app-body .driver-profile-status-modal {
        padding: 0.85rem !important;
    }

    body.app-body .driver-profile-status-modal[hidden] {
        display: none !important;
    }

    body.app-body .driver-profile-status-modal-card {
        width: calc(100vw - 1.7rem) !important;
        max-width: calc(100vw - 1.7rem) !important;
        padding: 1.6rem !important;
        border-radius: 26px !important;
    }

    body.app-body .driver-profile-status-modal-copy h3 {
        font-size: 1.95rem !important;
    }

    body.app-body .driver-profile-status-button {
        min-height: 112px !important;
        padding: 1.3rem 1.2rem !important;
        gap: 1rem !important;
    }

    body.app-body .driver-profile-status-button-icon,
    body.app-body .driver-profile-status-button-icon svg {
        width: 34px !important;
        height: 34px !important;
    }

    body.app-body .driver-profile-status-button-icon {
        flex-basis: 34px !important;
    }

    body.app-body .driver-profile-status-button-copy strong {
        font-size: 1.3rem !important;
    }

    body.app-body .driver-profile-status-button-copy span {
        font-size: 1.12rem !important;
    }
}

@media (max-width: 900px) {
    body.app-body .equipment-page,
    body.app-body .dashboard-page,
    body.app-body .home-wrap {
        padding: 24px !important;
    }

    body.app-body .drivers-header,
    body.app-body .drivers-table-footer {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    body.app-body .drivers-header-actions {
        margin-left: 0 !important;
        padding-right: 0 !important;
        align-self: center !important;
    }

    body.app-body .drivers-header-actions .drivers-add-button {
        display: inline-flex !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body.app-body .drivers-filter-button {
        justify-self: start !important;
    }

    body.app-body .drivers-pagination {
        justify-content: flex-start !important;
    }

    body.app-body .overview-grid,
    body.app-body .workspace-grid,
    body.app-body .action-tile-grid,
    body.app-body .chip-row {
        grid-template-columns: 1fr !important;
    }

    body.app-body .workspace-panel-wide {
        grid-column: span 1 !important;
    }

    body.app-body .truck-drawer {
        width: calc(100vw - 1rem) !important;
        border-radius: 22px !important;
    }
}

@media (max-width: 640px) {
    body.app-body .sidebar {
        width: var(--portal-sidebar-expanded) !important;
    }

    body.app-body .topbar,
    body.app-body .content-wrap,
    body.app-body .drawer-overlay,
    body.app-body .sidebar:hover ~ .topbar,
    body.app-body .sidebar:hover ~ .content-wrap,
    body.app-body .sidebar:hover ~ .content-wrap .drawer-overlay {
        left: 0 !important;
        margin-left: 0 !important;
    }

    body.app-body .workspace-header,
    body.app-body .module-header,
    body.app-body .workspace-panel-header,
    body.app-body .driver-profile-header,
    body.app-body .driver-section-header {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.app-body .driver-profile-setting-row {
        gap: 0.75rem !important;
    }

    body.app-body .driver-profile-setting-value {
        white-space: normal !important;
    }

    body.app-body .driver-profile-modal-card {
        width: calc(100vw - 32px) !important;
        max-width: 640px !important;
        max-height: calc(100vh - 32px) !important;
        padding: 1rem !important;
        border-radius: 24px !important;
    }

    body.app-body .driver-profile-modal-card .rto-rate-editor-header {
        gap: 0.9rem !important;
    }

    body.app-body .driver-profile-modal-card .driver-grid,
    body.app-body .driver-profile-modal-grid {
        grid-template-columns: 1fr !important;
    }

    body.app-body .driver-profile-modal-footer {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-content: stretch !important;
        padding: 0.9rem 0 0 !important;
    }

    body.app-body .driver-profile-modal-action {
        width: 100% !important;
    }
}

body.app-body .sidebar-shell {
    display: grid !important;
    grid-template-rows: auto auto 1fr auto !important;
    height: 100% !important;
    gap: 0.9rem !important;
}

body.app-body .sidebar-wordmark {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-height: 44px !important;
    padding: 0.35rem 0.2rem 0.15rem !important;
    color: #ffffff !important;
}

body.app-body .sidebar-wordmark-mark,
body.app-body .sidebar-wordmark-text {
    display: inline-block !important;
    color: #ffffff !important;
    font-style: italic !important;
    font-weight: 800 !important;
    letter-spacing: -0.05em !important;
    line-height: 1 !important;
}

body.app-body .sidebar-wordmark-mark {
    font-size: 1.7rem !important;
    text-transform: lowercase !important;
}

body.app-body .sidebar-wordmark-text {
    max-width: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    transform: translateX(-8px) !important;
    font-size: 1.2rem !important;
    transition: max-width 0.22s ease, opacity 0.22s ease, transform 0.22s ease !important;
}

body.app-body .sidebar:hover .sidebar-wordmark-text {
    max-width: 120px !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

body.app-body .sidebar-search {
    display: flex !important;
    align-items: center !important;
    gap: 0.9rem !important;
    min-height: 44px !important;
    padding: 0 0.7rem !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
    justify-content: center !important;
}

body.app-body .sidebar:hover .sidebar-search {
    justify-content: flex-start !important;
}

body.app-body .sidebar-search:hover,
body.app-body .sidebar-search:focus-visible {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    outline: none !important;
}

body.app-body .sidebar-search .nav-label {
    color: inherit !important;
}

body.app-body .sidebar-nav {
    align-content: start !important;
}

body.app-body .sidebar-group {
    display: grid !important;
    gap: 0.2rem !important;
}

body.app-body .sidebar-divider {
    height: 1px !important;
    margin: 0.45rem 0 0.35rem !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

body.app-body .sidebar-footer {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 0.35rem !important;
    padding-top: 0.85rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}

body.app-body .sidebar-footer-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 40px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    cursor: pointer !important;
}

body.app-body .sidebar-footer-button svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .sidebar-footer-button:hover,
body.app-body .sidebar-footer-button:focus-visible {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #ffffff !important;
    outline: none !important;
}

body.app-body .topbar-logo-link {
    display: none !important;
}

body.app-body .topbar-menu-toggle,
body.app-body .sidebar-mobile-backdrop {
    display: none !important;
}

body.app-body .topbar-right {
    gap: 0.6rem !important;
}

body.app-body {
    --portal-sidebar-collapsed: 84px;
    --portal-sidebar-expanded: 288px;
    --portal-topbar-height: 68px;
    --portal-nav: #070b12;
    --portal-nav-surface: #0d1420;
    --portal-nav-surface-active: #10203d;
    --portal-nav-border: rgba(148, 163, 184, 0.18);
    --portal-nav-text: rgba(241, 245, 249, 0.92);
    --portal-nav-muted: rgba(148, 163, 184, 0.78);
    --portal-nav-accent: #b94b57;
    --portal-nav-accent-soft: rgba(185, 75, 87, 0.22);
    --mst-sidebar-accent: #0b0b0d;
    --mst-sidebar-accent-contrast: #ffffff;
    --mst-sidebar-chip-bg: transparent;
    --mst-sidebar-chip-border: transparent;
    background: #f6f8fb !important;
    color: var(--portal-text) !important;
    font-family: var(--font-sans) !important;
}

body.app-body .sidebar {
    width: var(--portal-sidebar-collapsed) !important;
    padding: 20px 14px 18px !important;
    background: linear-gradient(180deg, #05080d 0%, #0a111b 100%) !important;
    border-right: 1px solid var(--portal-nav-border) !important;
    box-shadow: 24px 0 48px rgba(2, 8, 23, 0.28) !important;
    overflow: hidden !important;
    transition: width 0.24s ease, box-shadow 0.24s ease !important;
}

body.app-body .sidebar:hover ~ .topbar,
body.app-body .sidebar:hover ~ .content-wrap,
body.app-body .sidebar:hover ~ .content-wrap .drawer-overlay {
    left: var(--portal-sidebar-collapsed) !important;
    margin-left: var(--portal-sidebar-collapsed) !important;
}

body.app-body.sidebar-expanded .sidebar,
body.app-body.sidebar-pinned .sidebar {
    width: var(--portal-sidebar-expanded) !important;
}

body.app-body .sidebar-shell {
    display: grid !important;
    grid-template-rows: auto 1fr auto !important;
    gap: 1.15rem !important;
    height: 100% !important;
}

body.app-body .sidebar-header {
    position: relative !important;
    display: block !important;
    min-height: 72px !important;
}

body.app-body .sidebar-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 72px !important;
    padding: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: hidden !important;
}

body.app-body.sidebar-expanded .sidebar-brand,
body.app-body.sidebar-pinned .sidebar-brand {
    justify-content: center !important;
}

body.app-body .sidebar-logo-compact {
    display: block !important;
    width: 56px !important;
    height: 56px !important;
    object-fit: cover !important;
    object-position: left center !important;
    flex: 0 0 56px !important;
    image-rendering: auto !important;
}

body.app-body .sidebar-logo-expanded {
    width: 0 !important;
    max-width: 0 !important;
    height: auto !important;
    max-height: 40px !important;
    opacity: 0 !important;
    transform: translateX(-10px) !important;
    object-fit: contain !important;
    overflow: hidden !important;
    transition: opacity 0.2s ease, transform 0.2s ease, max-width 0.2s ease !important;
    image-rendering: auto !important;
}

body.app-body.sidebar-expanded .sidebar-logo-expanded,
body.app-body.sidebar-mobile-open .sidebar-logo-expanded,
body.app-body.sidebar-pinned .sidebar-logo-expanded {
    width: auto !important;
    max-width: 188px !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

body.app-body.sidebar-expanded .sidebar-logo-compact,
body.app-body.sidebar-mobile-open .sidebar-logo-compact,
body.app-body.sidebar-pinned .sidebar-logo-compact {
    display: none !important;
}

body.app-body .sidebar-pin-button {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, 0.03) !important;
    color: var(--portal-nav-muted) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease !important;
}

body.app-body.sidebar-expanded .sidebar-pin-button,
body.app-body.sidebar-pinned .sidebar-pin-button {
    opacity: 1 !important;
    pointer-events: auto !important;
}

body.app-body .sidebar-pin-button:hover,
body.app-body .sidebar-pin-button:focus-visible,
body.app-body.sidebar-pinned .sidebar-pin-button {
    color: #f8fbff !important;
    background: rgba(124, 196, 255, 0.12) !important;
    border-color: rgba(124, 196, 255, 0.28) !important;
    outline: none !important;
}

body.app-body .sidebar-pin-button svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .sidebar-nav {
    display: grid !important;
    align-content: start !important;
    gap: 0.7rem !important;
    margin-top: 0.15rem !important;
}

body.app-body .sidebar-group {
    display: grid !important;
    gap: 0.35rem !important;
}

body.app-body .sidebar-divider {
    height: 1px !important;
    margin: 0.1rem 0 0.2rem !important;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(11, 11, 13, 0.22), rgba(255, 255, 255, 0)) !important;
}

body.app-body .sidebar-link {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    width: 56px !important;
    min-height: 56px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 18px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #ffffff !important;
    font-size: 0.96rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    box-shadow: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, width 0.2s ease, padding 0.2s ease !important;
}

body.app-body.sidebar-expanded .sidebar-link,
body.app-body.sidebar-mobile-open .sidebar-link,
body.app-body.sidebar-pinned .sidebar-link {
    justify-content: flex-start !important;
    gap: 0.95rem !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 18px 0 20px !important;
}

body.app-body .sidebar-link::before {
    content: '' !important;
    position: absolute !important;
    left: 8px !important;
    top: 11px !important;
    bottom: 11px !important;
    width: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    transition: background 0.2s ease, opacity 0.2s ease !important;
    opacity: 0 !important;
}

body.app-body.sidebar-expanded .sidebar-link::before,
body.app-body.sidebar-mobile-open .sidebar-link::before,
body.app-body.sidebar-pinned .sidebar-link::before {
    left: 10px !important;
}

body.app-body .sidebar-link:hover,
body.app-body .sidebar-link:focus-visible {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    outline: none !important;
}

body.app-body .sidebar-link.active {
    background: #0b0b0d !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: var(--mst-sidebar-accent-contrast) !important;
    box-shadow: 0 12px 26px rgba(2, 8, 23, 0.18) !important;
}

body.app-body .sidebar-link.active::before {
    opacity: 0 !important;
    background: transparent !important;
}

body.app-body .nav-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    flex: 0 0 22px !important;
}

body.app-body .nav-icon svg,
body.app-body .sidebar-footer-button svg {
    width: 22px !important;
    height: 22px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .nav-label {
    max-width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    transform: translateX(-8px) !important;
    color: inherit !important;
    transition: max-width 0.2s ease, opacity 0.2s ease, transform 0.2s ease !important;
}

body.app-body.sidebar-expanded .nav-label,
body.app-body.sidebar-mobile-open .nav-label,
body.app-body.sidebar-pinned .nav-label {
    max-width: 160px !important;
    opacity: 1 !important;
    transform: translateX(0) !important;
}

body.app-body .sidebar-footer {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.45rem !important;
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    border-top: 1px solid transparent !important;
    pointer-events: none !important;
    transition: max-height 0.2s ease, opacity 0.2s ease, padding 0.2s ease, border-color 0.2s ease !important;
}

body.app-body.sidebar-expanded .sidebar-footer,
body.app-body.sidebar-mobile-open .sidebar-footer,
body.app-body.sidebar-pinned .sidebar-footer {
    max-height: 72px !important;
    opacity: 1 !important;
    padding-top: 1rem !important;
    border-top-color: rgba(11, 11, 13, 0.18) !important;
    pointer-events: auto !important;
}

body.app-body .sidebar-footer-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    border-radius: 14px !important;
    border: 1px solid transparent !important;
    background: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

body.app-body .sidebar-footer-button:hover,
body.app-body .sidebar-footer-button:focus-visible {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    outline: none !important;
}

body.app-body .topbar {
    left: var(--portal-sidebar-collapsed) !important;
    height: var(--portal-topbar-height) !important;
    padding: 0 1.5rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07) !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04) !important;
    backdrop-filter: blur(14px) !important;
    transition: left 0.24s ease !important;
}

body.app-body .content-wrap {
    margin-top: var(--portal-topbar-height) !important;
    margin-left: var(--portal-sidebar-collapsed) !important;
    min-height: calc(100svh - var(--portal-topbar-height)) !important;
    background: #f6f8fb !important;
    transition: margin-left 0.24s ease !important;
}

body.app-body .drawer-overlay {
    left: var(--portal-sidebar-collapsed) !important;
    transition: left 0.24s ease !important;
}

body.app-body.sidebar-expanded .topbar,
body.app-body.sidebar-pinned .topbar {
    left: var(--portal-sidebar-expanded) !important;
}

body.app-body.sidebar-expanded .content-wrap,
body.app-body.sidebar-pinned .content-wrap {
    margin-left: var(--portal-sidebar-expanded) !important;
}

body.app-body.sidebar-expanded .drawer-overlay,
body.app-body.sidebar-pinned .drawer-overlay,
body.app-body.sidebar-expanded .content-wrap .drawer-overlay,
body.app-body.sidebar-pinned .content-wrap .drawer-overlay {
    left: var(--portal-sidebar-expanded) !important;
}

body.app-body .topbar-logo-link {
    display: none !important;
}

body.app-body .sidebar-search,
body.app-body .sidebar-wordmark,
body.app-body .sidebar-logo {
    display: none !important;
}

@media (max-width: 900px) {
    body.app-body {
        --portal-sidebar-expanded: 272px;
    }
}

@media (max-width: 1024px) {
    body.app-body {
        overflow-x: hidden !important;
    }

    body.app-body .sidebar {
        left: 10px !important;
        top: 10px !important;
        bottom: 10px !important;
        height: auto !important;
        width: min(82vw, 292px) !important;
        transform: translateX(calc(-100% - 28px)) !important;
        pointer-events: none !important;
        z-index: 44 !important;
        border-radius: 24px !important;
        box-shadow: 28px 0 54px rgba(2, 8, 23, 0.28) !important;
    }

    body.app-body .topbar,
    body.app-body .content-wrap,
    body.app-body .drawer-overlay,
    body.app-body .sidebar:hover ~ .topbar,
    body.app-body .sidebar:hover ~ .content-wrap,
    body.app-body .sidebar:hover ~ .content-wrap .drawer-overlay,
    body.app-body.sidebar-expanded .topbar,
    body.app-body.sidebar-expanded .content-wrap,
    body.app-body.sidebar-expanded .drawer-overlay,
    body.app-body.sidebar-expanded .content-wrap .drawer-overlay,
    body.app-body.sidebar-pinned .topbar,
    body.app-body.sidebar-pinned .content-wrap,
    body.app-body.sidebar-pinned .drawer-overlay,
    body.app-body.sidebar-pinned .content-wrap .drawer-overlay {
        left: 0 !important;
        margin-left: 0 !important;
    }

    body.app-body.sidebar-mobile-open .sidebar {
        transform: translateX(0) !important;
        pointer-events: auto !important;
        box-shadow: 28px 0 54px rgba(2, 8, 23, 0.38) !important;
    }

    body.app-body .sidebar-mobile-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(3, 10, 20, 0.56) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.22s ease !important;
        z-index: 43 !important;
    }

    body.app-body.sidebar-mobile-open .sidebar-mobile-backdrop {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    body.app-body .topbar {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 0.95rem !important;
        position: fixed !important;
        overflow: hidden !important;
    }

    body.app-body .topbar-left {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        min-width: 40px !important;
    }

    body.app-body .topbar-right {
        display: flex !important;
        align-items: center !important;
        justify-self: end !important;
        margin-left: 0 !important;
        min-width: 0 !important;
        gap: 0.45rem !important;
        position: relative !important;
        z-index: 2 !important;
    }

    body.app-body .topbar-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px !important;
        position: relative !important;
        z-index: 2 !important;
        border: 1px solid rgba(15, 23, 42, 0.12) !important;
        border-radius: 14px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        color: #000000 !important;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
        cursor: pointer !important;
    }

    body.app-body .topbar-menu-toggle:hover,
    body.app-body .topbar-menu-toggle:focus-visible {
        background: #ffffff !important;
        border-color: rgba(15, 23, 42, 0.18) !important;
        outline: none !important;
    }

    body.app-body .topbar-menu-toggle svg {
        width: 18px !important;
        height: 18px !important;
        stroke: currentColor !important;
        fill: none !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    body.app-body .topbar-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        justify-self: center !important;
        width: fit-content !important;
        min-width: 0 !important;
        max-width: calc(100% - 112px) !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;
    }

    body.app-body .topbar-logo {
        display: block !important;
        width: auto !important;
        max-width: min(160px, 42vw) !important;
        height: 26px !important;
        object-fit: contain !important;
    }

    body.app-body .topbar-user {
        gap: 0.45rem !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.app-body .topbar-logout {
        min-width: 40px !important;
        padding: 0 !important;
    }

    body.app-body .topbar-logout span {
        display: none !important;
    }

    body.app-body .sidebar-pin-button {
        display: none !important;
    }

    body.app-body .sidebar-footer {
        display: grid !important;
    }
}

@media (max-width: 640px) {
    body.app-body {
        overflow-x: hidden !important;
    }

    body.app-body .sidebar {
        left: 8px !important;
        top: 8px !important;
        bottom: 8px !important;
        height: auto !important;
        width: min(82vw, 292px) !important;
        padding: 18px 12px 14px !important;
        transform: translateX(calc(-100% - 24px)) !important;
        pointer-events: none !important;
        z-index: 44 !important;
        border-radius: 24px !important;
    }

    body.app-body .topbar,
    body.app-body .content-wrap,
    body.app-body .drawer-overlay,
    body.app-body .sidebar:hover ~ .topbar,
    body.app-body .sidebar:hover ~ .content-wrap,
    body.app-body .sidebar:hover ~ .content-wrap .drawer-overlay,
    body.app-body.sidebar-expanded .topbar,
    body.app-body.sidebar-expanded .content-wrap,
    body.app-body.sidebar-expanded .drawer-overlay,
    body.app-body.sidebar-expanded .content-wrap .drawer-overlay,
    body.app-body.sidebar-pinned .topbar,
    body.app-body.sidebar-pinned .content-wrap,
    body.app-body.sidebar-pinned .drawer-overlay,
    body.app-body.sidebar-pinned .content-wrap .drawer-overlay {
        left: 0 !important;
        margin-left: 0 !important;
    }

    body.app-body.sidebar-mobile-open .sidebar {
        transform: translateX(0) !important;
        pointer-events: auto !important;
        box-shadow: 28px 0 54px rgba(2, 8, 23, 0.38) !important;
    }

    body.app-body .sidebar-mobile-backdrop {
        display: block !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(3, 10, 20, 0.56) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.22s ease !important;
        z-index: 43 !important;
    }

    body.app-body.sidebar-mobile-open .sidebar-mobile-backdrop {
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    body.app-body .topbar {
        display: grid !important;
        grid-template-columns: 40px auto !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 0 0.95rem !important;
        position: fixed !important;
    }

    body.app-body .topbar-left {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        min-width: 40px !important;
    }

    body.app-body .topbar-right {
        display: flex !important;
        align-items: center !important;
        gap: 0.45rem !important;
    }

    body.app-body .topbar-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        flex: 0 0 40px !important;
            border: 1px solid rgba(15, 23, 42, 0.12) !important;
        border-radius: 14px !important;
            background: rgba(255, 255, 255, 0.9) !important;
            color: #000000 !important;
            box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08) !important;
        cursor: pointer !important;
    }

    body.app-body .topbar-menu-toggle:hover,
    body.app-body .topbar-menu-toggle:focus-visible {
            background: #ffffff !important;
            border-color: rgba(15, 23, 42, 0.18) !important;
        outline: none !important;
    }

    body.app-body .topbar-menu-toggle svg {
        width: 18px !important;
        height: 18px !important;
        stroke: currentColor !important;
        fill: none !important;
        stroke-width: 2 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    body.app-body .topbar-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        min-width: 0 !important;
        max-width: 100% !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        z-index: 1 !important;
    }

    body.app-body .topbar-logo {
        display: block !important;
        width: auto !important;
        max-width: 116px !important;
        height: 24px !important;
    }

    body.app-body .topbar-user {
        gap: 0.45rem !important;
        padding: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.app-body .topbar-logout {
        min-width: 40px !important;
        padding: 0 !important;
    }

    body.app-body .topbar-logout span {
        display: none !important;
    }

    body.app-body .sidebar-pin-button {
        display: none !important;
    }

    body.app-body .sidebar-footer {
        display: grid !important;
    }
}

body.app-body .driver-profile-page-content {
    max-width: none !important;
    padding: 30px 32px 40px !important;
}

body.app-body .driver-profile-page-shell {
    display: grid !important;
    gap: 0.9rem !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.app-body .driver-profile-toolbar {
    position: relative !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    min-height: 124px !important;
}

body.app-body .driver-profile-hero,
body.app-body .driver-profile-hero-surface,
body.app-body .driver-profile-hero-header,
body.app-body .driver-profile-hero-copy,
body.app-body .driver-profile-hero-tools,
body.app-body .driver-profile-hero-meta,
body.app-body .driver-profile-hero-actions,
body.app-body .driver-profile-page-actions,
body.app-body .driver-profile-hero-avatar-shell,
body.app-body .driver-profile-summary-card,
body.app-body .driver-profile-summary-primary,
body.app-body .driver-profile-summary-topline,
body.app-body .driver-profile-summary-identity,
body.app-body .driver-profile-summary-copy,
body.app-body .driver-profile-summary-stats,
body.app-body .driver-profile-summary-stat,
body.app-body .driver-profile-summary-stat-copy,
body.app-body .driver-profile-back-link,
body.app-body .driver-profile-delete-trigger,
body.app-body .driver-license-prototype,
body.app-body .driver-license-prototype-grid,
body.app-body .driver-license-prototype-card,
body.app-body .driver-license-upload-mock,
body.app-body .driver-license-thumbnail-card,
body.app-body [data-driver-license-slot] {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

body.app-body .driver-profile-hero,
body.app-body .driver-profile-hero-surface,
body.app-body .driver-profile-hero-header,
body.app-body .driver-profile-summary-card,
body.app-body .driver-profile-summary-stats,
body.app-body .driver-license-prototype {
    overflow-x: hidden !important;
}

body.app-body .driver-profile-back-link,
body.app-body .driver-profile-edit-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.7rem !important;
    min-height: 40px !important;
    padding: 0.6rem 0.95rem !important;
    border-radius: 14px !important;
}

body.app-body .driver-profile-button-icon,
body.app-body .driver-profile-chip-icon,
body.app-body .driver-profile-summary-icon,
body.app-body .driver-profile-tab-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
}

body.app-body .driver-profile-button-icon svg,
body.app-body .driver-profile-chip-icon svg,
body.app-body .driver-profile-summary-icon svg,
body.app-body .driver-profile-tab-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-profile-hero {
    display: block !important;
    margin: 0 !important;
}

body.app-body .driver-profile-page-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    width: 100% !important;
    margin: 0 0 0.85rem !important;
}

body.app-body .driver-profile-page-actions-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

body.app-body .driver-profile-hero-surface {
    display: grid !important;
    gap: 0.95rem !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.app-body .driver-profile-summary-card {
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 1.2rem !important;
    padding: 1.1rem 1.2rem !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 28px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.82)) !important;
    box-shadow: 0 20px 48px rgba(148, 163, 184, 0.14) !important;
}

body.app-body .driver-profile-summary-primary {
    display: grid !important;
    align-content: space-between !important;
    gap: 0.95rem !important;
    min-width: 0 !important;
    flex: 0 0 clamp(420px, 31vw, 520px) !important;
}

body.app-body .driver-profile-summary-topline {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
}

body.app-body .driver-profile-summary-identity {
    display: grid !important;
    grid-template-columns: 108px minmax(0, 1fr) !important;
    align-items: start !important;
    column-gap: 1.35rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-summary-copy {
    display: grid !important;
    gap: 0.25rem !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-summary-eyebrow {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-summary-name {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: clamp(1.5rem, 2.4vw, 2.25rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.04em !important;
}

body.app-body .driver-profile-summary-preferred {
    margin: 0 !important;
    color: #475569 !important;
    font-size: 0.98rem !important;
    line-height: 1.4 !important;
}

body.app-body .driver-profile-summary-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
    border-left: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-summary-stat {
    display: flex !important;
    align-items: center !important;
    gap: 0.85rem !important;
    min-width: 0 !important;
    padding: 0.95rem 1rem !important;
    border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
}

body.app-body .driver-profile-summary-stat:nth-child(3n) {
    border-right: 0 !important;
}

body.app-body .driver-profile-summary-stat:nth-last-child(-n + 3) {
    border-bottom: 0 !important;
}

body.app-body .driver-profile-summary-stat-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-summary-stat-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-profile-summary-stat-copy {
    display: grid !important;
    gap: 0.18rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-summary-stat-label {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-summary-stat-value {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
}

body.app-body .driver-profile-assignment-strip {
    display: grid !important;
    gap: 0.9rem !important;
    padding: 1rem 1.05rem !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 26px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.82)) !important;
    box-shadow: 0 18px 42px rgba(148, 163, 184, 0.12) !important;
}

body.app-body .driver-profile-assignment-strip-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.8rem !important;
}

body.app-body .driver-profile-assignment-strip-copy {
    display: grid !important;
    gap: 0.24rem !important;
}

body.app-body .driver-profile-assignment-strip-eyebrow {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-assignment-strip-title {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: clamp(1.02rem, 1.6vw, 1.28rem) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
}

body.app-body .driver-profile-assignment-strip-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
}

body.app-body .driver-profile-assignment-card {
    display: flex !important;
    align-items: center !important;
    gap: 0.9rem !important;
    min-width: 0 !important;
    padding: 0.95rem 0.95rem 0.2rem !important;
    border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
}

body.app-body .driver-profile-assignment-card:last-child {
    border-right: 0 !important;
}

body.app-body .driver-profile-assignment-card-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 15px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-assignment-card-icon.is-image {
    padding: 0.25rem !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

body.app-body .driver-profile-assignment-card-icon-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    filter: contrast(1.08) saturate(0.92) !important;
}

body.app-body .driver-profile-assignment-card-icon svg {
    width: 19px !important;
    height: 19px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-profile-assignment-card-copy {
    display: grid !important;
    gap: 0.2rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-assignment-card-label {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-assignment-card-value {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.32 !important;
    overflow-wrap: anywhere !important;
}

body.app-body .driver-profile-hero-copy {
    display: grid !important;
    gap: 0.08rem !important;
    order: 3 !important;
    width: min(100%, 660px) !important;
    justify-self: start !important;
    text-align: left !important;
    margin-top: -0.85rem !important;
}

body.app-body .driver-profile-hero-copy .workspace-title {
    margin: 0 !important;
    line-height: 1.02 !important;
    font-size: clamp(2rem, 3.4vw, 2.8rem) !important;
}

body.app-body .driver-profile-hero-copy .workspace-copy {
    margin: 0 !important;
    font-size: 0.98rem !important;
    line-height: 1.28 !important;
}

body.app-body .driver-profile-hero-tools {
    display: grid !important;
    justify-items: end !important;
    align-content: center !important;
    gap: 0.65rem !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-hero-header {
    order: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    min-height: 0 !important;
}

body.app-body .driver-profile-hero-avatar-shell {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 108px !important;
    width: 108px !important;
    justify-self: start !important;
    align-self: start !important;
}

body.app-body .driver-profile-avatar-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 92px !important;
    height: 92px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    cursor: pointer !important;
    transition: transform 0.18s ease !important;
}

body.app-body .driver-profile-avatar-button:hover,
body.app-body .driver-profile-avatar-button:focus-visible {
    transform: translateY(-2px) !important;
    outline: none !important;
}

body.app-body .driver-profile-avatar-frame {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(241, 245, 249, 0.98) 100%) !important;
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.16) !important;
}

body.app-body .driver-profile-avatar-placeholder {
    position: absolute !important;
    inset: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(226, 232, 240, 0.92)) !important;
    border-radius: 50% !important;
}

body.app-body .driver-profile-avatar-initials {
    color: #0f172a !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.05em !important;
}

body.app-body .driver-profile-avatar-image {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 50% !important;
}

body.app-body .driver-profile-avatar-image[hidden] {
    display: none !important;
}

body.app-body .driver-profile-avatar-placeholder[hidden] {
    display: none !important;
}

body.app-body .driver-profile-hero-avatar-shell.has-photo .driver-profile-avatar-placeholder {
    display: none !important;
}

body.app-body .driver-profile-hero-avatar-shell.has-photo .driver-profile-avatar-image {
    display: block !important;
}

body.app-body .driver-profile-avatar-badge {
    position: absolute !important;
    right: 2px !important;
    bottom: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    color: #0f172a !important;
    box-shadow: 0 10px 18px rgba(148, 163, 184, 0.16) !important;
}

body.app-body .driver-profile-avatar-badge svg {
    width: 14px !important;
    height: 14px !important;
}

body.app-body .driver-license-prototype {
    margin-top: 0.15rem !important;
}

body.app-body .driver-profile-hero-avatar-shell.is-dragover .driver-profile-avatar-frame {
    border-color: rgba(220, 38, 38, 0.5) !important;
    box-shadow: 0 20px 42px rgba(220, 38, 38, 0.12) !important;
}

body.app-body .driver-profile-hero-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-meta-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    min-height: 34px !important;
    padding: 0.45rem 0.8rem !important;
    border-radius: 999px !important;
    background: #f6f8fb !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    color: #334155 !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    white-space: normal !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

body.app-body .driver-profile-meta-chip > span:last-child {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

body.app-body .driver-profile-hero-meta .rate-history-badge {
    min-height: 34px !important;
    padding: 0.42rem 0.78rem !important;
    font-size: 0.82rem !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.app-body .driver-profile-hero-meta .rate-history-badge[data-tone="active"] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.42rem !important;
    color: #166534 !important;
    background: rgba(134, 239, 172, 0.28) !important;
    border-color: rgba(34, 197, 94, 0.42) !important;
}

body.app-body .driver-profile-hero-meta .rate-history-badge[data-tone="active"]::before {
    content: '' !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 999px !important;
    background: #16a34a !important;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.12) !important;
    flex: 0 0 7px !important;
}

body.app-body .driver-profile-hero-actions {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
}

body.app-body .driver-profile-delete-trigger {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.65rem !important;
    min-height: 38px !important;
    padding: 0.58rem 0.9rem !important;
    border-radius: 14px !important;
    border-color: rgba(239, 68, 68, 0.18) !important;
    color: #991b1b !important;
    background: rgba(254, 242, 242, 0.82) !important;
}

body.app-body .driver-profile-history-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    min-height: 38px !important;
    min-width: 38px !important;
    padding: 0.58rem !important;
    border-radius: 14px !important;
    border-color: rgba(15, 23, 42, 0.12) !important;
    color: #0f172a !important;
    background: rgba(255, 255, 255, 0.92) !important;
    text-decoration: none !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .driver-profile-history-link:hover,
body.app-body .driver-profile-history-link:focus-visible {
    border-color: rgba(15, 23, 42, 0.2) !important;
    background: #ffffff !important;
    color: #020617 !important;
}

body.app-body .driver-history-page {
    display: block !important;
}

body.app-body .driver-history-shell {
    display: grid !important;
    gap: 1.25rem !important;
}

body.app-body .driver-history-header,
body.app-body .driver-history-overview-card,
body.app-body .driver-history-card {
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    border-radius: 26px !important;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .driver-history-header,
body.app-body .driver-history-overview-card,
body.app-body .driver-history-card {
    padding: 1.3rem 1.35rem !important;
}

body.app-body .driver-history-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

body.app-body .driver-history-header-actions {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

body.app-body .driver-history-card-header {
    margin-bottom: 1rem !important;
}

body.app-body .driver-history-field-card {
    padding: 0 !important;
    overflow: hidden !important;
}

body.app-body .driver-history-field-summary {
    list-style: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 1rem !important;
    padding: 1rem 1.2rem !important;
    cursor: pointer !important;
}

body.app-body .driver-history-field-summary::-webkit-details-marker {
    display: none !important;
}

body.app-body .driver-history-field-primary {
    display: grid !important;
    gap: 0.28rem !important;
    min-width: 0 !important;
}

body.app-body .driver-history-field-label {
    font-size: 0.74rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: #64748b !important;
    font-weight: 700 !important;
}

body.app-body .driver-history-field-value {
    color: #0f172a !important;
    font-size: 1rem !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
}

body.app-body .driver-history-field-meta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.7rem !important;
    flex-wrap: wrap !important;
}

body.app-body .driver-history-field-change,
body.app-body .driver-history-field-history-count {
    color: #475569 !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
}

body.app-body .driver-history-field-chevron {
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
    transition: transform 160ms ease !important;
}

body.app-body .driver-history-field-chevron svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.85 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-history-field-card[open] .driver-history-field-chevron {
    transform: rotate(180deg) !important;
}

body.app-body .driver-history-field-panel {
    display: grid !important;
    gap: 1rem !important;
    padding: 0 1.2rem 1.2rem !important;
}

body.app-body .driver-history-table-shell {
    margin: 0 !important;
    border-radius: 22px !important;
    overflow: hidden !important;
}

body.app-body .driver-history-table-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1rem 1rem 0 !important;
}

body.app-body .driver-history-table-header h3 {
    margin: 0 !important;
    font-size: 0.98rem !important;
    color: #0f172a !important;
}

body.app-body .driver-history-table-shell table th,
body.app-body .driver-history-table-shell table td {
    vertical-align: top !important;
}

body.app-body .driver-history-table-shell tbody th {
    width: 170px !important;
    color: #475569 !important;
    font-weight: 700 !important;
}

body.app-body .driver-history-empty-cell {
    text-align: center !important;
    color: #64748b !important;
    padding: 1.4rem !important;
}

body.app-body .driver-profile-delete-trigger:hover,
body.app-body .driver-profile-delete-trigger:focus-visible {
    border-color: rgba(220, 38, 38, 0.28) !important;
    background: rgba(254, 226, 226, 0.92) !important;
    color: #7f1d1d !important;
}

body.app-body .driver-profile-delete-modal-card {
    max-width: 620px !important;
}

body.app-body .driver-profile-delete-actions {
    margin-top: 0.35rem !important;
}

body.app-body .driver-profile-delete-hard-button {
    border-color: rgba(220, 38, 38, 0.18) !important;
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
}

body.app-body .driver-profile-delete-footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 0.9rem !important;
}

body.app-body .driver-license-prototype {
    order: 2 !important;
    width: 100% !important;
    max-width: 660px !important;
    justify-self: center !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    margin-top: -0.4rem !important;
}

body.app-body .driver-profile-back-link {
    align-self: start !important;
    width: fit-content !important;
    max-width: max-content !important;
    margin-top: 0 !important;
}

body.app-body .driver-profile-hero-tools {
    align-self: start !important;
}

body.app-body .driver-profile-photo-actions-card {
    max-width: 520px !important;
}

body.app-body .driver-profile-photo-actions-list {
    display: grid !important;
    gap: 0.8rem !important;
}

body.app-body .driver-profile-photo-actions-list [hidden],
body.app-body .driver-profile-photo-preview-footer [hidden] {
    display: none !important;
}

body.app-body .driver-profile-photo-delete-option .driver-profile-status-button-icon {
    color: #991b1b !important;
}

body.app-body .driver-profile-photo-preview-card {
    width: min(calc(100vw - 24px), 1280px) !important;
}

body.app-body .driver-profile-photo-preview-body {
    display: flex !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

body.app-body .driver-profile-photo-preview-frame {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 520px !important;
    padding: 0.75rem !important;
    border-radius: 28px !important;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.98) 38%, rgba(226, 232, 240, 0.98) 100%) !important;
    overflow: hidden !important;
    position: relative !important;
    isolation: isolate !important;
}

body.app-body .driver-profile-photo-preview-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    border-radius: 18px !important;
    background: #ffffff !important;
}

body.app-body .driver-profile-photo-preview-footer {
    align-items: center !important;
}

body.app-body .driver-profile-photo-preview-footer a {
    text-decoration: none !important;
}

body.app-body .driver-profile-photo-editor-workspace {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) !important;
}

body.app-body .driver-profile-photo-avatar-card {
    gap: 0.85rem !important;
}

body.app-body .driver-profile-photo-avatar-preview-shell {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: min(100%, 220px) !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 auto !important;
    padding: 0.8rem !important;
    border-radius: 50% !important;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.98) 0%, rgba(226, 232, 240, 0.9) 100%) !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.72) !important;
}

body.app-body .driver-profile-photo-avatar-preview-canvas {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%) !important;
}

body.app-body .driver-profile-photo-avatar-preview-copy {
    margin: 0 !important;
    color: #475569 !important;
    font-size: 0.92rem !important;
    text-align: center !important;
}

body.app-body .driver-profile-photo-crop-guide {
    position: absolute !important;
    inset: 0.75rem !important;
    display: grid !important;
    place-items: center !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

body.app-body .driver-profile-photo-crop-guide-ring {
    width: clamp(220px, 54vmin, 430px) !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.98) !important;
    box-shadow:
        0 0 0 9999px rgba(15, 23, 42, 0.28),
        0 18px 40px rgba(15, 23, 42, 0.18),
        inset 0 0 0 1px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .driver-profile-photo-preview-card .driver-license-modal-footer-copy {
    flex: 1 1 auto !important;
}

body.app-body .driver-license-prototype-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: center !important;
    gap: 0.75rem !important;
}

body.app-body .driver-license-prototype-card {
    display: grid !important;
    gap: 0.35rem !important;
    justify-items: stretch !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.app-body .driver-license-prototype-label {
    display: block !important;
    width: 100% !important;
    justify-self: stretch !important;
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

body.app-body .driver-license-upload-mock {
    display: grid !important;
    place-items: center !important;
    gap: 0.18rem !important;
    width: 100% !important;
    min-height: 160px !important;
    padding: 1rem 0.9rem !important;
    border-radius: 22px !important;
    border: 1px dashed rgba(203, 213, 225, 0.95) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%) !important;
    color: #0f172a !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 24px rgba(148, 163, 184, 0.08) !important;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease !important;
}

body.app-body .driver-license-upload-mock:hover,
body.app-body .driver-license-upload-mock:focus-visible {
    transform: translateY(-2px) !important;
    border-color: rgba(148, 163, 184, 1) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(244, 247, 251, 1) 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86), 0 14px 30px rgba(148, 163, 184, 0.12) !important;
    outline: none !important;
}

body.app-body .driver-license-upload-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 10px 24px rgba(148, 163, 184, 0.18) !important;
}

body.app-body .driver-license-upload-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke: currentColor !important;
    stroke-width: 1.85 !important;
    fill: none !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-license-upload-title {
    color: #0f172a !important;
    margin-top: 0.3rem !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-license-upload-copy {
    display: block !important;
    color: #334155 !important;
    font-size: 0.76rem !important;
    line-height: 1.25 !important;
}

body.app-body .driver-license-upload-copy-muted {
    color: #dc2626 !important;
    font-weight: 700 !important;
}

body.app-body [data-driver-license-slot] {
    display: block !important;
}

body.app-body [data-driver-license-slot].is-dragover .driver-license-upload-mock {
    transform: translateY(-2px) !important;
    border-color: rgba(220, 38, 38, 0.52) !important;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
}

body.app-body .driver-license-upload-mock.is-uploading {
    pointer-events: none !important;
}

body.app-body .driver-license-upload-spinner {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(148, 163, 184, 0.35) !important;
    border-top-color: #111827 !important;
    border-radius: 999px !important;
    animation: driver-license-spin 0.9s linear infinite !important;
}

body.app-body .driver-license-upload-state-card {
    display: grid !important;
    gap: 0.72rem !important;
    width: 100% !important;
    min-height: 160px !important;
    padding: 0.72rem !important;
    border-radius: 22px !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.97) 100%) !important;
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.1) !important;
}

body.app-body .driver-license-upload-state-card.is-uploading {
    pointer-events: none !important;
}

body.app-body .driver-license-upload-state-card.is-failed {
    border-color: rgba(239, 68, 68, 0.32) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(254, 242, 242, 0.98) 100%) !important;
}

body.app-body .driver-license-upload-state-footer {
    gap: 0.42rem !important;
}

body.app-body .driver-license-thumbnail-status-uploading {
    background: rgba(219, 234, 254, 0.9) !important;
    color: #1d4ed8 !important;
}

body.app-body .driver-license-thumbnail-status-failed {
    background: rgba(254, 226, 226, 0.95) !important;
    color: #b91c1c !important;
}

body.app-body .driver-license-thumbnail-status-selected {
    background: rgba(241, 245, 249, 0.96) !important;
    color: #334155 !important;
}

body.app-body .driver-license-thumbnail-status-uploaded {
    background: rgba(220, 252, 231, 0.9) !important;
    color: #166534 !important;
}

body.app-body .driver-license-upload-progress-shell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.55rem !important;
    width: 100% !important;
}

body.app-body .driver-license-upload-progress-track {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: rgba(226, 232, 240, 0.95) !important;
    overflow: hidden !important;
}

body.app-body .driver-license-upload-progress-value {
    display: block !important;
    height: 100% !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #2563eb 0%, #0f172a 100%) !important;
    transition: width 0.18s ease !important;
}

body.app-body .driver-license-upload-progress-value.is-complete {
    background: linear-gradient(90deg, #16a34a 0%, #166534 100%) !important;
}

body.app-body .driver-license-upload-progress-value.is-low,
body.app-body .driver-license-upload-progress-value.is-medium,
body.app-body .driver-license-upload-progress-value.is-high {
    background: linear-gradient(90deg, #2563eb 0%, #0f172a 100%) !important;
}

body.app-body .driver-license-upload-progress-text {
    color: #334155 !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

body.app-body .driver-license-upload-state-detail {
    color: #64748b !important;
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
}

body.app-body .driver-license-upload-state-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
    margin-top: 0.2rem !important;
}

body.app-body .driver-license-upload-action-button {
    min-height: 34px !important;
    padding: 0.42rem 0.72rem !important;
    border-radius: 12px !important;
    font-size: 0.76rem !important;
}

body.app-body .driver-license-thumbnail-card {
    display: grid !important;
    gap: 0.72rem !important;
    width: 100% !important;
    min-height: 160px !important;
    padding: 0.72rem !important;
    border-radius: 22px !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 250, 252, 0.97) 100%) !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.1) !important;
}

body.app-body .driver-license-thumbnail-card:hover,
body.app-body .driver-license-thumbnail-card:focus-visible {
    transform: translateY(-2px) !important;
    border-color: rgba(148, 163, 184, 1) !important;
    box-shadow: 0 16px 34px rgba(148, 163, 184, 0.14) !important;
    outline: none !important;
}

body.app-body .driver-license-thumbnail-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 106px !important;
    padding: 0.5rem !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%) !important;
    overflow: hidden !important;
}

body.app-body .driver-license-thumbnail-media.is-file {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
}

body.app-body .driver-license-thumbnail-image {
    display: block !important;
    width: 100% !important;
    height: 106px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
}

body.app-body .driver-license-thumbnail-file {
    display: grid !important;
    justify-items: center !important;
    gap: 0.3rem !important;
    color: #0f172a !important;
    text-align: center !important;
}

body.app-body .driver-license-thumbnail-file strong {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 52px !important;
    min-height: 32px !important;
    padding: 0.2rem 0.7rem !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.08) !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.04em !important;
}

body.app-body .driver-license-thumbnail-file span {
    max-width: 100% !important;
    color: #475569 !important;
    font-size: 0.76rem !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
}

body.app-body .driver-license-thumbnail-footer {
    display: grid !important;
    gap: 0.24rem !important;
    min-width: 0 !important;
}

body.app-body .driver-license-thumbnail-status-row {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    width: fit-content !important;
}

body.app-body .driver-license-thumbnail-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 28px !important;
    padding: 0.22rem 0.58rem !important;
    border-radius: 999px !important;
    background: rgba(220, 252, 231, 0.9) !important;
    color: #166534 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-license-thumbnail-name {
    color: #475569 !important;
    font-size: 0.78rem !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
}

body.app-body .driver-license-modal-card {
    width: min(calc(100vw - 24px), 1440px) !important;
    max-width: none !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: calc(100dvh - 24px) !important;
    min-height: 0 !important;
    padding: 1.1rem !important;
    border-radius: 30px !important;
    gap: 0.95rem !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 252, 0.98) 100%) !important;
    box-shadow: 0 32px 90px rgba(15, 23, 42, 0.22) !important;
}

body.app-body .driver-license-modal-body {
    display: flex !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    overflow: hidden !important;
}

body.app-body .driver-license-modal-shell-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding: 0.2rem 0 0 !important;
}

body.app-body .driver-license-modal-shell-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
}

body.app-body .driver-license-modal-kicker,
body.app-body .driver-license-modal-control-label,
body.app-body .driver-license-modal-footer-title {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
}

body.app-body .driver-license-modal-heading-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

body.app-body .driver-license-modal-meta {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

body.app-body .driver-license-modal-pill {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 36px !important;
    padding: 0.45rem 0.8rem !important;
    border-radius: 999px !important;
    background: rgba(226, 232, 240, 0.74) !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    color: #0f172a !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-license-modal-pill-muted {
    background: rgba(255, 255, 255, 0.92) !important;
    color: #475569 !important;
}

body.app-body .driver-license-modal-top-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.65rem !important;
    flex-wrap: wrap !important;
}

body.app-body .driver-license-modal-top-actions .driver-license-modal-action-chip,
body.app-body .driver-license-modal-top-actions .driver-license-modal-close-button {
    min-height: 44px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

body.app-body .driver-license-modal-top-actions .driver-license-modal-action-chip:hover,
body.app-body .driver-license-modal-top-actions .driver-license-modal-action-chip:focus-visible,
body.app-body .driver-license-modal-top-actions .driver-license-modal-close-button:hover,
body.app-body .driver-license-modal-top-actions .driver-license-modal-close-button:focus-visible {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.app-body .driver-license-modal-close-button {
    min-width: 44px !important;
    padding: 0 !important;
    font-size: 1.35rem !important;
}

body.app-body .driver-license-modal-workspace {
    display: grid !important;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr) !important;
    gap: 0.95rem !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

body.app-body .driver-license-modal-control-rail {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    min-height: 0 !important;
}

body.app-body .driver-license-modal-control-card {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    padding: 1rem !important;
    border-radius: 22px !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
}

body.app-body .driver-license-modal-control-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.42rem !important;
}

body.app-body .driver-license-modal-zoom-controls {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

body.app-body .driver-license-modal-zoom-row,
body.app-body .driver-license-modal-preset-row {
    display: grid !important;
    align-items: center !important;
    gap: 0.65rem !important;
}

body.app-body .driver-license-modal-zoom-row {
    grid-template-columns: 48px minmax(0, 1fr) 48px !important;
}

body.app-body .driver-license-modal-preset-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.app-body .driver-license-modal-slider-wrap {
    display: flex !important;
    align-items: center !important;
    min-height: 48px !important;
    padding: 0 0.4rem !important;
    border-radius: 16px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background: #ffffff !important;
}

body.app-body .driver-license-modal-slider {
    width: 100% !important;
    accent-color: #0f172a !important;
}

body.app-body .driver-license-zoom-button {
    min-height: 48px !important;
    padding: 0.55rem 0.72rem !important;
    border-radius: 14px !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

body.app-body .driver-license-zoom-button:hover,
body.app-body .driver-license-zoom-button:focus-visible {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

body.app-body .driver-license-modal-gestures {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.55rem !important;
    color: #334155 !important;
    font-size: 0.92rem !important;
}

body.app-body .driver-license-modal-gestures p,
body.app-body .driver-license-modal-footer-copy p {
    margin: 0 !important;
}

body.app-body .driver-license-modal-stage-panel {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

body.app-body .driver-license-modal-preview {
    display: flex !important;
    flex: 1 1 auto !important;
    min-height: 420px !important;
    padding: 0.65rem !important;
    border-radius: 28px !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.96) 0%, rgba(241, 245, 249, 0.98) 38%, rgba(226, 232, 240, 0.98) 100%) !important;
    overflow: hidden !important;
    position: relative !important;
}

body.app-body .driver-license-modal-viewport {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100% !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
}

body.app-body .driver-license-modal-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 auto !important;
    overflow: hidden !important;
}

body.app-body .driver-license-modal-image,
body.app-body .driver-license-modal-frame {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
}

body.app-body .driver-license-modal-image {
    object-fit: contain !important;
    object-position: center center !important;
}

body.app-body .driver-license-modal-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.85rem !important;
    padding-top: 0.1rem !important;
}

body.app-body .driver-license-modal-footer-copy {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.3rem !important;
    color: #475569 !important;
}

body.app-body .driver-license-modal-delete,
body.app-body .driver-license-confirm-delete {
    border-color: rgba(239, 68, 68, 0.18) !important;
    color: #991b1b !important;
    background: rgba(254, 242, 242, 0.92) !important;
}

body.app-body .driver-license-delete-modal-card {
    max-width: 520px !important;
}

body.app-body .driver-license-delete-footer {
    margin-top: 0.75rem !important;
    gap: 0.7rem !important;
}

@keyframes driver-license-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

body.app-body .driver-profile-tabbar {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 0 0.35rem !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08) !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-tabbar-topbar {
    display: none !important;
}

body.app-body .driver-profile-mobile-nav {
    display: none !important;
}

body.app-body .driver-profile-mobile-nav-trigger,
body.app-body .driver-profile-mobile-nav-item {
    font: inherit !important;
}

body.app-body .driver-profile-mobile-nav-trigger-icon svg,
body.app-body .driver-profile-mobile-nav-item-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-profile-tabbar-scroll {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.65rem !important;
    overflow: visible !important;
    padding-bottom: 0.05rem !important;
    scrollbar-width: thin !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.app-body .driver-profile-tab {
    flex: 1 1 156px !important;
    max-width: 180px !important;
    min-height: 62px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.65rem !important;
    padding: 0.72rem 0.88rem !important;
    border-radius: 16px !important;
    border: 1px solid rgba(203, 213, 225, 0.9) !important;
    background: #ffffff !important;
    color: #334155 !important;
    text-align: left !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

body.app-body .driver-profile-tab-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #111827 !important;
}

body.app-body .driver-profile-tab-label {
    display: block !important;
}

body.app-body .driver-profile-tab-label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    line-height: 1.25 !important;
}

body.app-body .driver-profile-tab:hover,
body.app-body .driver-profile-tab:focus-visible {
    border-color: rgba(15, 23, 42, 0.16) !important;
    color: #0f172a !important;
    outline: none !important;
}

body.app-body .driver-profile-tab.active {
    border-color: #111111 !important;
    background: linear-gradient(180deg, #151515 0%, #050505 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 14px 28px rgba(17, 17, 17, 0.18) !important;
}

body.app-body .driver-profile-tab.active .driver-profile-tab-icon {
    background: transparent !important;
    color: #ffffff !important;
}

body.app-body .driver-profile-panels {
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 1.6rem !important;
}

body.app-body .driver-profile-tab-loading {
    margin: 0.25rem 0 0.85rem !important;
}

@media (min-width: 1201px) {
    body.app-body.driver-profile-page-view {
        --portal-topbar-height: 108px;
    }

    body.app-body .topbar {
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        align-items: center !important;
        gap: 1rem !important;
    }

    body.app-body .topbar-center {
        display: block !important;
        min-width: 0 !important;
    }

    body.app-body .driver-profile-tabbar-topbar {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    body.app-body .driver-profile-tabbar {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto 1rem !important;
        padding: 0.95rem 1rem !important;
        border: 1px solid rgba(226, 232, 240, 0.92) !important;
        border-radius: 28px !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
        box-shadow: 0 16px 36px rgba(148, 163, 184, 0.12) !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    body.app-body .driver-profile-tabbar-topbar.driver-profile-tabbar {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body.app-body .driver-profile-tabbar.driver-profile-tabbar-content {
        display: none !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tabbar-scroll {
        padding: 0.3rem 0 !important;
    }

    body.app-body .driver-profile-page-shell {
        padding-top: 0 !important;
    }

    body.app-body .driver-profile-hero {
        margin-top: 0.4rem !important;
    }

    body.app-body .driver-profile-tabbar-scroll {
        display: flex !important;
        align-items: stretch !important;
        gap: 0.7rem !important;
        overflow: visible !important;
        padding: 0 !important;
    }

    body.app-body .driver-profile-tab {
        flex: 1 1 0 !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 58px !important;
        padding: 0.68rem 0.72rem !important;
        border-radius: 16px !important;
        gap: 0.52rem !important;
        font-size: 0.78rem !important;
        line-height: 1.1 !important;
        box-shadow: none !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab {
        border: 0 !important;
        background: rgba(148, 163, 184, 0.08) !important;
        color: #475569 !important;
        box-shadow: none !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="profile"],
    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="third-party-connections"],
    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="service-status-history"] {
        flex-grow: 1.28 !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="compliance"],
    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="connections"] {
        flex-grow: 1.08 !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="contact"],
    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="address"],
    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="payroll"],
    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="safety"],
    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab[data-tab="temporary"] {
        flex-grow: 0.94 !important;
    }

    body.app-body .driver-profile-tab-icon {
        flex: 0 0 18px !important;
        width: 18px !important;
        height: 18px !important;
        color: #0f172a !important;
    }

    body.app-body .driver-profile-tab-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    body.app-body .driver-profile-tab-label {
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.01em !important;
        white-space: normal !important;
        text-wrap: balance !important;
        line-height: 1.12 !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab:hover,
    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab:focus-visible {
        background: rgba(148, 163, 184, 0.14) !important;
        color: #334155 !important;
        transform: translateY(-1px) !important;
        box-shadow: none !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab.active {
        background: linear-gradient(180deg, #171717 0%, #050505 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 14px 28px rgba(17, 17, 17, 0.22) !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab.active .driver-profile-tab-icon {
        color: #ffffff !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab .driver-profile-tab-icon {
        color: currentColor !important;
    }

    body.app-body .driver-profile-tabbar-topbar .driver-profile-tab .driver-profile-tab-icon svg {
        stroke: currentColor !important;
    }

    body.app-body .driver-profile-tab:hover,
    body.app-body .driver-profile-tab:focus-visible {
        transform: translateY(-1px) !important;
        box-shadow: 0 8px 20px rgba(148, 163, 184, 0.14) !important;
    }

    body.app-body .driver-profile-tab.active {
        border-color: #111111 !important;
        background: linear-gradient(180deg, #171717 0%, #050505 100%) !important;
        box-shadow: 0 16px 30px rgba(17, 17, 17, 0.22) !important;
    }

    body.app-body .driver-profile-panels {
        margin-top: 1.2rem !important;
    }
}

body.app-body .driver-profile-panels.is-picker-loading {
    opacity: 0.7 !important;
    pointer-events: none !important;
    transition: opacity 0.18s ease !important;
}

body.app-body .driver-profile-panel {
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-panel.active {
    display: grid !important;
    width: 100% !important;
    padding-inline: 0 !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-panel.active > .driver-layout {
    width: min(75%, 860px) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-shell {
    padding-top: 0 !important;
}

body.app-body .driver-profile-payroll-sections {
    display: grid !important;
    gap: 2rem !important;
}

body.app-body .driver-profile-payroll-section {
    display: grid !important;
    gap: 0.75rem !important;
}

body.app-body .driver-profile-header {
    margin-bottom: 0 !important;
}

body.app-body .driver-profile-header.driver-profile-header-compact {
    margin-bottom: 0.45rem !important;
}

body.app-body .driver-profile-header.driver-profile-header-compact .workspace-eyebrow {
    margin-bottom: 0.15rem !important;
}

body.app-body .driver-profile-header.driver-profile-header-compact .workspace-section-title {
    margin: 0 !important;
    line-height: 1.05 !important;
}

body.app-body .driver-profile-header.driver-profile-header-compact .workspace-copy {
    margin-top: 0.5rem !important;
    line-height: 1.35 !important;
}

body.app-body .driver-profile-panel.active .driver-profile-shell {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-compliance-section {
    display: grid !important;
    gap: 1.5rem !important;
}

body.app-body .driver-profile-compliance-mvr-records-block {
    gap: 0 !important;
    width: 100% !important;
    padding: 1.9rem 0 0 !important;
    border: 1px solid #e5edf7 !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden !important;
}

body.app-body .driver-profile-compliance-block,
body.app-body .driver-profile-compliance-history {
    display: grid !important;
    gap: 0.75rem !important;
}

body.app-body .driver-profile-compliance-subheader {
    margin-bottom: 0 !important;
}

body.app-body .driver-profile-mvr-records-card-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1.25rem !important;
    padding: 0 2rem 1.7rem !important;
}

body.app-body .driver-profile-mvr-records-card-copy {
    display: grid !important;
    gap: 0.35rem !important;
}

body.app-body .driver-profile-mvr-records-card-header h3 {
    margin: 0 !important;
    color: #111111 !important;
    font-size: clamp(1.55rem, 2.4vw, 2rem) !important;
    font-weight: 750 !important;
    letter-spacing: -0.04em !important;
}

body.app-body .driver-profile-mvr-records-card-header .workspace-copy {
    margin: 0 !important;
    color: #6a7686 !important;
    font-size: 0.97rem !important;
    line-height: 1.5 !important;
}

body.app-body .driver-profile-mvr-records-header-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
}

body.app-body .driver-profile-mvr-records-add-button {
    min-height: 46px !important;
    padding: 0 1.15rem !important;
    border-radius: 13px !important;
    gap: 0.55rem !important;
    background: #0b0b0d !important;
    border-color: #0b0b0d !important;
    color: #ffffff !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

body.app-body .driver-profile-mvr-records-add-button:hover,
body.app-body .driver-profile-mvr-records-add-button:focus-visible {
    background: #16181d !important;
    border-color: #16181d !important;
    color: #ffffff !important;
}

body.app-body .driver-profile-mvr-records-table-shell {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    width: 100% !important;
}

body.app-body .driver-profile-mvr-records-table-shell .table-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-right: 0 !important;
    background: transparent !important;
}

body.app-body .driver-profile-mvr-records-table {
    min-width: 100% !important;
    width: 100% !important;
    table-layout: fixed !important;
    background: #ffffff !important;
}

body.app-body .driver-profile-mvr-records-table thead th {
    background: #f8fbff !important;
    color: #546276 !important;
    padding: 17px 16px !important;
    border-bottom: 1px solid #e8eef6 !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-mvr-records-table thead th:first-child,
body.app-body .driver-profile-mvr-records-table tbody td:first-child {
    padding-left: 22px !important;
}

body.app-body .driver-profile-mvr-records-table thead th:last-child,
body.app-body .driver-profile-mvr-records-table tbody td:last-child {
    padding-right: 34px !important;
}

body.app-body .driver-profile-mvr-records-table tbody td {
    min-height: 72px !important;
    padding: 26px 16px !important;
    border-top: 1px solid #edf2f7 !important;
    background: #ffffff !important;
    color: #202938 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    vertical-align: middle !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(1),
body.app-body .driver-profile-mvr-records-table td:nth-child(1) {
    width: 15% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(2),
body.app-body .driver-profile-mvr-records-table td:nth-child(2) {
    width: 13% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(3),
body.app-body .driver-profile-mvr-records-table td:nth-child(3) {
    width: 14% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(4),
body.app-body .driver-profile-mvr-records-table td:nth-child(4) {
    width: 31% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(5),
body.app-body .driver-profile-mvr-records-table td:nth-child(5) {
    width: 27% !important;
}

body.app-body .driver-profile-mvr-records-empty-state {
    display: grid !important;
    place-items: center !important;
    gap: 0.75rem !important;
    padding: 3.2rem 1.6rem !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    text-align: center !important;
}

body.app-body .driver-profile-mvr-records-empty-state[hidden] {
    display: none !important;
}

body.app-body .driver-profile-mvr-records-empty-state h2 {
    font-size: 1.5rem !important;
}

body.app-body .driver-profile-mvr-records-empty-state p {
    max-width: 32rem !important;
    margin: 0 !important;
    color: #6a7686 !important;
}

body.app-body .driver-profile-mvr-records-empty-icon {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%) !important;
    border-color: #d8e3f1 !important;
}

body.app-body .driver-profile-mvr-records-empty-icon::before,
body.app-body .driver-profile-mvr-records-empty-icon::after {
    background: #90a0b6 !important;
}

body.app-body .driver-profile-settings-compliance {
    gap: 0 !important;
}

body.app-body .driver-profile-compliance-action-button {
    width: 100% !important;
    min-height: 56px !important;
    border-radius: 18px !important;
    justify-content: center !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    margin-top: 0.75rem !important;
}

body.app-body .driver-profile-compliance-action-button:hover,
body.app-body .driver-profile-compliance-action-button:focus-visible {
    transform: none !important;
}

body.app-body .driver-profile-compliance-action-note {
    display: block !important;
    margin-top: 0.2rem !important;
    color: #64748b !important;
    font-size: 0.86rem !important;
    line-height: 1.45 !important;
}

body.app-body .driver-profile-compliance-history-list {
    display: grid !important;
    gap: 1.5rem !important;
}

body.app-body .driver-profile-compliance-mvr-block {
    gap: 0.75rem !important;
}

body.app-body .driver-profile-compliance-mvr-block[hidden] {
    display: none !important;
}

body.app-body .driver-profile-compliance-mvr-actions {
    display: flex !important;
    justify-content: flex-start !important;
}

body.app-body .driver-profile-compliance-mvr-actions .primary-button {
    width: auto !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 1 !important;
    transition: none !important;
}

body.app-body .driver-profile-compliance-mvr-block .driver-profile-compliance-empty-card {
    transition: none !important;
    pointer-events: none !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block {
    gap: 1rem !important;
}

body.app-body .driver-profile-compliance-mvr-overview-block {
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-record-detail {
    display: grid !important;
    gap: 1.25rem !important;
}

body.app-body .driver-profile-mvr-record-detail[hidden] {
    display: none !important;
}

body.app-body .driver-profile-mvr-record-flow-block,
body.app-body .driver-profile-mvr-module-panel {
    display: grid !important;
    gap: 1.25rem !important;
    padding: 1.8rem !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    border-radius: 28px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.995) 0%, rgba(248, 250, 252, 0.985) 100%) !important;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08) !important;
    position: relative !important;
    overflow: hidden !important;
}

body.app-body .driver-profile-mvr-record-flow-block::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    height: 6px !important;
    background: linear-gradient(90deg, #0f172a 0%, #334155 48%, #dbe7f5 100%) !important;
    opacity: 0.9 !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-record-flow-block::before {
    display: none !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-record-flow-block {
    background: #fbfcfe !important;
}

body.app-body .driver-profile-mvr-record-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) auto minmax(320px, 430px) !important;
    align-items: start !important;
    gap: 1.25rem 1.5rem !important;
    padding-bottom: 1.4rem !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.92) !important;
}

body.app-body .driver-profile-mvr-record-hero-copy {
    display: grid !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-mvr-record-hero-copy h3 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: clamp(2rem, 3vw, 2.45rem) !important;
    font-weight: 760 !important;
    letter-spacing: -0.045em !important;
    line-height: 1.04 !important;
}

body.app-body .driver-profile-mvr-record-hero-copy .workspace-copy {
    margin: 0 !important;
    max-width: 50rem !important;
    color: #5f6c7b !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

body.app-body .driver-profile-mvr-record-flow-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    padding-top: 0.15rem !important;
}

body.app-body .driver-profile-mvr-record-flow-actions .secondary-button,
body.app-body .driver-profile-mvr-record-flow-actions .danger-button {
    min-height: 44px !important;
    padding: 0.72rem 1.15rem !important;
    border-radius: 14px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-profile-mvr-record-flow-summary {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.95rem !important;
    width: 100% !important;
    max-width: 430px !important;
    margin-left: auto !important;
}

body.app-body .driver-profile-mvr-record-flow-stat {
    display: grid !important;
    gap: 0.45rem !important;
    align-content: start !important;
    min-height: 96px !important;
    padding: 1rem 1.1rem !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    border: 1px solid rgba(220, 228, 238, 0.95) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
}

body.app-body .driver-profile-mvr-record-flow-stat > span {
    color: #607086 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-mvr-record-flow-stat > strong {
    color: #0f172a !important;
    font-size: 1.28rem !important;
    font-weight: 760 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.15 !important;
}

body.app-body .driver-profile-mvr-record-flow-stat > strong.driver-profile-mvr-record-result-badge,
body.app-body .driver-profile-mvr-record-flow-stat > strong[data-mvr-record-final-result] {
    min-height: 38px !important;
    padding: 0.45rem 0.92rem !important;
    font-size: 0.84rem !important;
    letter-spacing: 0.03em !important;
}

body.app-body .driver-profile-mvr-record-section-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 1.05rem !important;
}

body.app-body .driver-profile-mvr-record-section-card[data-mvr-record-section-card="upload"],
body.app-body .driver-profile-mvr-record-section-card[data-mvr-record-section-card="consent"] {
    grid-column: span 3 !important;
}

body.app-body .driver-profile-mvr-record-section-card[data-mvr-record-section-card="details"],
body.app-body .driver-profile-mvr-record-section-card[data-mvr-record-section-card="entries"],
body.app-body .driver-profile-mvr-record-section-card[data-mvr-record-section-card="review"] {
    grid-column: span 2 !important;
}

body.app-body .driver-profile-mvr-upload-widget {
    gap: 1rem !important;
    padding: 1.15rem !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 26px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.05) !important;
}

body.app-body .driver-profile-mvr-upload-widget .driver-section-header {
    margin-bottom: 0 !important;
}

body.app-body .driver-profile-mvr-upload-widget .driver-section-header h3 {
    font-size: 1.05rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .driver-section-header [data-compliance-upload-current-badge] {
    border-radius: 999px !important;
    padding: 0.42rem 0.8rem !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.06em !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-dropzone {
    align-items: center !important;
    min-height: 124px !important;
    padding: 1.15rem 1.2rem !important;
    border: 1px dashed rgba(203, 213, 225, 0.95) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 10px 26px rgba(148, 163, 184, 0.07) !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-dropzone-copy {
    gap: 0.42rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-dropzone-copy strong {
    color: #0f172a !important;
    font-size: 1rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-dropzone-copy span,
body.app-body .driver-profile-mvr-upload-widget .compliance-upload-progress-header span {
    color: #64748b !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-dropzone [data-compliance-upload-browse] {
    min-height: 44px !important;
    padding: 0 1.1rem !important;
    border-radius: 999px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #0f172a !important;
    box-shadow: none !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-progress-card,
body.app-body .driver-profile-mvr-upload-widget .compliance-current-document,
body.app-body .driver-profile-mvr-upload-widget .compliance-table-shell {
    border-radius: 22px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 28px rgba(148, 163, 184, 0.08) !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-progress-card {
    padding: 0.9rem 1rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-progress-header strong {
    color: #0f172a !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-upload-progress-bar {
    background: #e2e8f0 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-current-document {
    padding: 1rem 1.1rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-current-document-main {
    align-items: flex-start !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-document-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    box-shadow: none !important;
    font-size: 0.72rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-document-icon[data-tone="active"] {
    color: #047857 !important;
    background: rgba(220, 252, 231, 0.92) !important;
    border-color: rgba(134, 239, 172, 0.9) !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-document-icon[data-tone="danger"] {
    color: #b91c1c !important;
    background: rgba(254, 242, 242, 0.98) !important;
    border-color: rgba(252, 165, 165, 0.7) !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-current-document-copy {
    display: grid !important;
    gap: 0.3rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-current-document strong[data-compliance-upload-file-name] {
    color: #0f172a !important;
    font-size: 1rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-current-document p[data-compliance-upload-meta] {
    margin: 0 !important;
    color: #64748b !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-current-document-empty-copy {
    margin: 0 !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-document-icon[data-tone="inactive"] {
    color: #475569 !important;
    background: #e2e8f0 !important;
    border-color: rgba(148, 163, 184, 0.24) !important;
    font-size: 0.65rem !important;
}

body.app-body .driver-profile-mvr-upload-widget[data-empty="true"] .compliance-current-document {
    align-items: flex-start !important;
    padding: 1rem 1.1rem !important;
    border-style: dashed !important;
    border-color: rgba(203, 213, 225, 0.95) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

body.app-body .driver-profile-mvr-upload-widget[data-empty="true"] .compliance-current-document-main {
    align-items: flex-start !important;
}

body.app-body .driver-profile-mvr-upload-widget[data-empty="true"] .compliance-current-document strong[data-compliance-upload-file-name] {
    color: #0f172a !important;
    font-size: 0.98rem !important;
}

body.app-body .driver-profile-mvr-upload-widget[data-empty="true"] .compliance-upload-dropzone {
    border-color: rgba(148, 163, 184, 0.34) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 10px 24px rgba(148, 163, 184, 0.06) !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-document-actions {
    align-items: center !important;
    gap: 0.55rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-document-actions .secondary-button,
body.app-body .driver-profile-mvr-upload-widget .compliance-document-actions .danger-button {
    min-height: 42px !important;
    border-radius: 14px !important;
    padding: 0 0.95rem !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-table-shell {
    overflow: hidden !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-table thead th {
    color: #64748b !important;
    background: #f8fafc !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-mvr-upload-widget .compliance-table tbody td {
    color: #0f172a !important;
    border-color: rgba(226, 232, 240, 0.88) !important;
}

body.app-body .driver-profile-mvr-details-form-grid {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 0.95rem !important;
}

body.app-body .driver-profile-mvr-details-form-grid-review {
    margin-top: 0.25rem !important;
}

body.app-body .driver-profile-mvr-detail-field {
    display: grid !important;
    grid-column: span 4 !important;
    gap: 0.42rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-mvr-details-form-grid-review .driver-profile-mvr-detail-field {
    grid-column: span 4 !important;
}

body.app-body .driver-profile-mvr-detail-field-wide {
    grid-column: span 12 !important;
}

body.app-body .driver-profile-mvr-detail-field > span {
    color: #334155 !important;
    font-size: 0.83rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
}

body.app-body .driver-profile-mvr-detail-field input,
body.app-body .driver-profile-mvr-detail-field select,
body.app-body .driver-profile-mvr-detail-field textarea {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0.78rem 0.92rem !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.94rem !important;
    line-height: 1.4 !important;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03) !important;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease !important;
    appearance: none !important;
}

body.app-body .driver-profile-mvr-detail-field textarea {
    min-height: 132px !important;
    resize: vertical !important;
}

body.app-body .driver-profile-mvr-detail-field input::placeholder,
body.app-body .driver-profile-mvr-detail-field textarea::placeholder {
    color: #94a3b8 !important;
}

body.app-body .driver-profile-mvr-detail-field select {
    padding-right: 2.8rem !important;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%) !important;
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px) !important;
    background-size: 6px 6px, 6px 6px !important;
    background-repeat: no-repeat !important;
}

body.app-body .driver-profile-mvr-detail-field input:focus,
body.app-body .driver-profile-mvr-detail-field input:focus-visible,
body.app-body .driver-profile-mvr-detail-field select:focus,
body.app-body .driver-profile-mvr-detail-field select:focus-visible,
body.app-body .driver-profile-mvr-detail-field textarea:focus,
body.app-body .driver-profile-mvr-detail-field textarea:focus-visible {
    outline: none !important;
    border-color: #0f172a !important;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, 0.06) !important;
}

body.app-body .driver-profile-mvr-disqualification-block {
    display: grid !important;
    gap: 1rem !important;
    padding: 1.15rem !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05) !important;
}

body.app-body .driver-profile-mvr-disqualification-block .driver-section-header {
    margin-bottom: 0 !important;
}

body.app-body .driver-profile-mvr-disqualification-block .driver-section-header h3 {
    margin: 0 !important;
    color: #0f172a !important;
}

body.app-body .driver-profile-mvr-disqualification-block .driver-profile-mvr-record-panel-status {
    justify-self: end !important;
}

body.app-body .driver-profile-mvr-record-section-card {
    display: grid !important;
    gap: 1rem !important;
    align-content: space-between !important;
    min-height: 240px !important;
    padding: 1.2rem !important;
    border-radius: 24px !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05) !important;
}

body.app-body .driver-profile-mvr-record-section-card[data-status="Complete"] {
    border-color: rgba(16, 185, 129, 0.32) !important;
    box-shadow: 0 16px 34px rgba(16, 185, 129, 0.08) !important;
}

body.app-body .driver-profile-mvr-record-section-card[data-status="Incomplete"] {
    border-color: rgba(245, 158, 11, 0.3) !important;
}

body.app-body .driver-profile-mvr-record-section-card h4,
body.app-body .driver-profile-mvr-module-header h3 {
    margin: 0 !important;
    color: #0f172a !important;
}

body.app-body .driver-profile-mvr-record-section-card p,
body.app-body .driver-profile-mvr-module-header p {
    margin: 0 !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

body.app-body .driver-profile-mvr-record-section-card-meta,
body.app-body .driver-profile-mvr-module-header-status {
    display: grid !important;
    gap: 0.65rem !important;
}

body.app-body .driver-profile-mvr-record-section-card-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

body.app-body .driver-profile-mvr-record-panel-status,
body.app-body .driver-profile-mvr-record-section-card-status,
body.app-body .driver-profile-mvr-record-result-badge,
body.app-body .driver-profile-mvr-module-result,
body.app-body .driver-profile-mvr-record-result,
body.app-body .driver-profile-mvr-record-section-card-meta strong[data-status] {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 30px !important;
    padding: 0.26rem 0.7rem !important;
    border-radius: 999px !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
}

body.app-body .driver-profile-mvr-record-panel-status[data-status="Complete"],
body.app-body .driver-profile-mvr-record-section-card-status[data-status="Complete"] {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #047857 !important;
}

body.app-body .driver-profile-mvr-record-panel-status[data-status="Incomplete"],
body.app-body .driver-profile-mvr-record-section-card-status[data-status="Incomplete"] {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #b45309 !important;
}

body.app-body .driver-profile-mvr-record-result-badge[data-status="Pending"],
body.app-body .driver-profile-mvr-module-result[data-status="Pending"],
body.app-body .driver-profile-mvr-record-result[data-status="Pending"],
body.app-body .driver-profile-mvr-record-section-card-meta strong[data-status="Pending"] {
    background: rgba(148, 163, 184, 0.18) !important;
    color: #475569 !important;
}

body.app-body .driver-profile-mvr-record-result-badge[data-status="Approved"],
body.app-body .driver-profile-mvr-module-result[data-status="Approved"],
body.app-body .driver-profile-mvr-record-result[data-status="Approved"],
body.app-body .driver-profile-mvr-record-section-card-meta strong[data-status="Approved"] {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #047857 !important;
}

body.app-body .driver-profile-mvr-record-result-badge[data-status="Declined"],
body.app-body .driver-profile-mvr-module-result[data-status="Declined"],
body.app-body .driver-profile-mvr-record-result[data-status="Declined"],
body.app-body .driver-profile-mvr-record-section-card-meta strong[data-status="Declined"] {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #b91c1c !important;
}

body.app-body .driver-profile-mvr-record-result-badge[data-status="Review Required"],
body.app-body .driver-profile-mvr-module-result[data-status="Review Required"],
body.app-body .driver-profile-mvr-record-result[data-status="Review Required"],
body.app-body .driver-profile-mvr-record-section-card-meta strong[data-status="Review Required"] {
    background: rgba(245, 158, 11, 0.16) !important;
    color: #b45309 !important;
}

body.app-body .driver-profile-mvr-module-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-module-header-status {
    justify-items: end !important;
    text-align: right !important;
}

body.app-body .driver-profile-mvr-module-panel-body {
    display: grid !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-module-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    padding-top: 0.25rem !important;
}

body.app-body .driver-profile-mvr-module-footer-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.65rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-block {
    display: grid !important;
    gap: 1rem !important;
    padding: 1.25rem !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    border-radius: 26px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06) !important;
}

body.app-body .driver-profile-mvr-questionnaire-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-header-status {
    display: grid !important;
    justify-items: end !important;
    gap: 0.4rem !important;
    text-align: right !important;
}

body.app-body .driver-profile-mvr-summary-qualified {
    margin: 0 !important;
    color: #475569 !important;
    font-size: 0.84rem !important;
}

body.app-body .driver-profile-mvr-status-summary-grid,
body.app-body .driver-profile-mvr-questionnaire-status-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.7rem !important;
    width: 100% !important;
}

body.app-body .driver-profile-mvr-status-summary-card,
body.app-body .driver-profile-mvr-questionnaire-status-card {
    display: grid !important;
    gap: 0.24rem !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-mvr-status-summary-card span,
body.app-body .driver-profile-mvr-questionnaire-status-card span {
    color: #64748b !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

body.app-body .driver-profile-mvr-status-summary-card strong,
body.app-body .driver-profile-mvr-questionnaire-status-card strong {
    color: #0f172a !important;
    font-size: 0.92rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-progressbar {
    height: 10px !important;
    border-radius: 999px !important;
    background: rgba(226, 232, 240, 0.9) !important;
    overflow: hidden !important;
}

body.app-body .driver-profile-mvr-questionnaire-progressbar-fill {
    display: block !important;
    height: 100% !important;
    width: 0 !important;
    border-radius: inherit !important;
    background: linear-gradient(90deg, #0f172a 0%, #334155 100%) !important;
    transition: width 0.2s ease !important;
}

body.app-body .driver-profile-mvr-questionnaire-meta {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    color: #475569 !important;
}

body.app-body .driver-profile-mvr-questionnaire-navigator {
    display: grid !important;
    gap: 0.7rem !important;
    padding: 1rem !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
}

body.app-body .driver-profile-mvr-questionnaire-navigator-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip {
    --mvr-questionnaire-chip-badge-bg: #cbd5e1 !important;
    --mvr-questionnaire-chip-badge-color: #0f172a !important;
    display: grid !important;
    grid-template-columns: auto auto !important;
    align-items: center !important;
    gap: 0.52rem !important;
    min-height: 42px !important;
    padding: 0.55rem 0.7rem !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04) !important;
    white-space: nowrap !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip:hover,
body.app-body .driver-profile-mvr-questionnaire-nav-chip:focus-visible {
    transform: translateY(-1px) !important;
    border-color: rgba(148, 163, 184, 0.9) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    outline: none !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip.is-active {
    border-color: #0f172a !important;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12) !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip-order {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 24px !important;
    height: 24px !important;
    padding: 0 0.35rem !important;
    border-radius: 999px !important;
    background: var(--mvr-questionnaire-chip-badge-bg) !important;
    color: var(--mvr-questionnaire-chip-badge-color) !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip-icon svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 1.9 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip[data-status="Qualified"] {
    --mvr-questionnaire-chip-badge-bg: #22c55e !important;
    --mvr-questionnaire-chip-badge-color: #ffffff !important;
    border-color: rgba(34, 197, 94, 0.28) !important;
    background: rgba(240, 253, 244, 0.95) !important;
    color: #166534 !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip[data-status="Not Qualified"] {
    --mvr-questionnaire-chip-badge-bg: #ef4444 !important;
    --mvr-questionnaire-chip-badge-color: #ffffff !important;
    border-color: rgba(248, 113, 113, 0.34) !important;
    background: rgba(254, 242, 242, 0.98) !important;
    color: #991b1b !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip[data-status="Pending"] {
    --mvr-questionnaire-chip-badge-bg: #f59e0b !important;
    --mvr-questionnaire-chip-badge-color: #ffffff !important;
    border-color: rgba(251, 191, 36, 0.32) !important;
    background: rgba(255, 251, 235, 0.98) !important;
    color: #9a3412 !important;
}

body.app-body .driver-profile-mvr-questionnaire-nav-chip.is-active,
body.app-body .driver-profile-mvr-questionnaire-nav-chip.is-active[data-status="Qualified"],
body.app-body .driver-profile-mvr-questionnaire-nav-chip.is-active[data-status="Not Qualified"],
body.app-body .driver-profile-mvr-questionnaire-nav-chip.is-active[data-status="Pending"] {
    --mvr-questionnaire-chip-badge-bg: #ffffff !important;
    --mvr-questionnaire-chip-badge-color: #0f172a !important;
    border-color: #0f172a !important;
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.18), 0 14px 28px rgba(15, 23, 42, 0.2) !important;
    transform: translateY(-1px) scale(1.02) !important;
}

body.app-body .driver-profile-mvr-questionnaire-content {
    display: grid !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-page {
    display: grid !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-page + .driver-profile-mvr-questionnaire-page {
    padding-top: 1.15rem !important;
    border-top: 1px solid rgba(226, 232, 240, 0.92) !important;
}

body.app-body .driver-profile-mvr-questionnaire-page-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-page-header > div {
    display: grid !important;
    gap: 0.35rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-page-header strong {
    color: #0f172a !important;
    font-size: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-page-header p {
    margin: 0 !important;
    color: #64748b !important;
    line-height: 1.5 !important;
}

body.app-body .driver-profile-mvr-questionnaire-fields {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.9rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-field {
    display: grid !important;
    gap: 0.4rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-mvr-questionnaire-field span {
    color: #334155 !important;
    font-size: 0.83rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-profile-mvr-questionnaire-field-status {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: fit-content !important;
    min-height: 28px !important;
    padding: 0.18rem 0.6rem !important;
    border-radius: 999px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    background: #e2e8f0 !important;
    color: #334155 !important;
}

body.app-body .driver-profile-mvr-questionnaire-field-status[data-status="Clear"],
body.app-body .driver-profile-mvr-questionnaire-chip[data-status="Clear"] {
    background: rgba(220, 252, 231, 0.95) !important;
    color: #166534 !important;
}

body.app-body .driver-profile-mvr-questionnaire-field-status[data-status="Triggered"],
body.app-body .driver-profile-mvr-questionnaire-chip[data-status="Triggered"] {
    background: rgba(254, 226, 226, 0.95) !important;
    color: #991b1b !important;
}

body.app-body .driver-profile-mvr-questionnaire-field-status[data-status="Unknown"],
body.app-body .driver-profile-mvr-questionnaire-chip[data-status="Unknown"] {
    background: rgba(254, 249, 195, 0.95) !important;
    color: #854d0e !important;
}

body.app-body .driver-profile-mvr-questionnaire-field-status[data-status="Needs Review"],
body.app-body .driver-profile-mvr-questionnaire-chip[data-status="Needs Review"] {
    background: rgba(224, 231, 255, 0.95) !important;
    color: #3730a3 !important;
}

body.app-body .driver-profile-mvr-questionnaire-field-status[data-status="Incomplete"],
body.app-body .driver-profile-mvr-questionnaire-chip[data-status="Incomplete"] {
    background: rgba(255, 237, 213, 0.95) !important;
    color: #9a3412 !important;
}

body.app-body .driver-profile-mvr-questionnaire-field input,
body.app-body .driver-profile-mvr-questionnaire-field select,
body.app-body .driver-profile-mvr-questionnaire-field textarea,
body.app-body .driver-profile-mvr-questionnaire-item-controls input,
body.app-body .driver-profile-mvr-questionnaire-item-controls select,
body.app-body .driver-profile-mvr-questionnaire-item-controls textarea {
    width: 100% !important;
    min-height: 44px !important;
    padding: 0.7rem 0.82rem !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 0.9rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-field textarea,
body.app-body .driver-profile-mvr-questionnaire-item-controls textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

body.app-body .driver-profile-mvr-questionnaire-field-wide {
    grid-column: 1 / -1 !important;
}

body.app-body .driver-profile-mvr-questionnaire-items {
    display: grid !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-item {
    display: grid !important;
    gap: 1rem !important;
    padding: 1rem !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 22px !important;
    background: #ffffff !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-copy {
    display: grid !important;
    gap: 0.5rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-copy strong {
    color: #0f172a !important;
    font-size: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-copy p {
    margin: 0 !important;
    color: #64748b !important;
    line-height: 1.45 !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-chip-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 0.2rem 0.7rem !important;
    border-radius: 999px !important;
    background: #e2e8f0 !important;
    color: #334155 !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-meta {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0.65rem !important;
    margin: 0 !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-meta div {
    display: grid !important;
    gap: 0.2rem !important;
    padding: 0.65rem 0.75rem !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-meta dt {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-meta dd {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-controls {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.85rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-controls-b1 {
    grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) !important;
    align-items: start !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-controls label {
    display: grid !important;
    gap: 0.4rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-mvr-questionnaire-item-controls label span {
    color: #334155 !important;
    font-size: 0.79rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-profile-mvr-questionnaire-answer-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.65rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-answer-button {
    appearance: none !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    background: #ffffff !important;
    color: #0f172a !important;
    border-radius: 999px !important;
    min-height: 44px !important;
    padding: 0.72rem 1.1rem !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

body.app-body .driver-profile-mvr-questionnaire-answer-button:hover,
body.app-body .driver-profile-mvr-questionnaire-answer-button:focus-visible {
    border-color: rgba(203, 213, 225, 0.95) !important;
    box-shadow: none !important;
    outline: none !important;
}

body.app-body .driver-profile-mvr-questionnaire-answer-button.is-active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}

body.app-body .driver-profile-mvr-questionnaire-count-card-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-count-card {
    display: grid !important;
    gap: 0.24rem !important;
    padding: 0.8rem !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-mvr-questionnaire-count-card span {
    color: #64748b !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-mvr-questionnaire-count-card strong {
    color: #0f172a !important;
    font-size: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-summary-panel {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    padding: 0.9rem 1rem !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
}

body.app-body .driver-profile-mvr-questionnaire-summary-panel div {
    display: grid !important;
    gap: 0.18rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-summary-panel span {
    color: #64748b !important;
    font-size: 0.73rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}

body.app-body .driver-profile-mvr-questionnaire-summary-panel strong {
    color: #0f172a !important;
    font-size: 0.92rem !important;
}

body.app-body .driver-profile-mvr-final-reasons {
    display: grid !important;
    gap: 0.6rem !important;
    padding: 1rem !important;
    border-radius: 20px !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    background: #ffffff !important;
}

body.app-body .driver-profile-mvr-final-reasons header h4 {
    margin: 0 !important;
    color: #0f172a !important;
}

body.app-body .driver-profile-mvr-final-reasons ul {
    margin: 0 !important;
    padding-left: 1.1rem !important;
    color: #334155 !important;
    display: grid !important;
    gap: 0.3rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-footer {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-footer-copy {
    color: #64748b !important;
    text-align: center !important;
    font-size: 0.88rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-autoadvance {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.7rem !important;
    width: 100% !important;
    padding: 0.85rem 1rem !important;
    border-radius: 18px !important;
    border: 1px solid rgba(191, 219, 254, 0.95) !important;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%) !important;
}

body.app-body .driver-profile-mvr-questionnaire-autoadvance-inline {
    grid-column: 1 / -1 !important;
    margin-top: 0.1rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-autoadvance-copy {
    display: grid !important;
    gap: 0.2rem !important;
    text-align: left !important;
}

body.app-body .driver-profile-mvr-questionnaire-autoadvance-copy strong {
    color: #0f172a !important;
    font-size: 0.88rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-autoadvance-copy span {
    color: #475569 !important;
    font-size: 0.78rem !important;
}

body.app-body .driver-profile-mvr-questionnaire-autoadvance-cancel {
    appearance: none !important;
    border: 0 !important;
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

body.app-body .driver-profile-mvr-questionnaire-autoadvance-bar {
    grid-column: 1 / -1 !important;
    height: 8px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    background: rgba(147, 197, 253, 0.35) !important;
}

body.app-body .driver-profile-mvr-questionnaire-autoadvance-fill {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, #22c55e 0%, #3b82f6 100%) !important;
    transition-property: width !important;
    transition-timing-function: linear !important;
}

@media (max-width: 1180px) {
    body.app-body .driver-profile-mvr-questionnaire-header,
    body.app-body .driver-profile-mvr-questionnaire-meta,
    body.app-body .driver-profile-mvr-questionnaire-footer {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    body.app-body .driver-profile-mvr-questionnaire-header-status {
        justify-items: start !important;
        text-align: left !important;
    }

    body.app-body .driver-profile-mvr-questionnaire-item-controls {
        grid-template-columns: 1fr !important;
    }

    body.app-body .driver-profile-mvr-questionnaire-item-controls-b1 {
        grid-template-columns: 1fr !important;
    }

    body.app-body .driver-profile-mvr-status-summary-grid,
    body.app-body .driver-profile-mvr-questionnaire-status-grid,
    body.app-body .driver-profile-mvr-questionnaire-count-card-grid,
    body.app-body .driver-profile-mvr-questionnaire-fields,
    body.app-body .driver-profile-mvr-questionnaire-item-controls,
    body.app-body .driver-profile-mvr-questionnaire-item-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-profile-mvr-questionnaire-navigator-list {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    body.app-body .driver-profile-mvr-questionnaire-block {
        padding: 1rem !important;
    }

    body.app-body .driver-profile-mvr-status-summary-grid,
    body.app-body .driver-profile-mvr-questionnaire-status-grid,
    body.app-body .driver-profile-mvr-questionnaire-count-card-grid,
    body.app-body .driver-profile-mvr-questionnaire-fields,
    body.app-body .driver-profile-mvr-questionnaire-item-controls,
    body.app-body .driver-profile-mvr-questionnaire-item-meta {
        grid-template-columns: 1fr !important;
    }

    body.app-body .driver-profile-mvr-questionnaire-footer {
        grid-template-columns: 1fr !important;
    }

    body.app-body .driver-profile-mvr-questionnaire-navigator {
        padding: 0.85rem !important;
        overflow: hidden !important;
    }

    body.app-body .driver-profile-mvr-questionnaire-navigator-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overscroll-behavior-x: contain !important;
        padding-bottom: 0.15rem !important;
        scrollbar-width: thin !important;
    }

    body.app-body .driver-profile-mvr-questionnaire-nav-chip {
        flex: 0 0 auto !important;
    }
}

body.app-body .driver-profile-mvr-records-table {
    width: 100% !important;
    min-width: 760px !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

body.app-body .driver-profile-mvr-records-table th,
body.app-body .driver-profile-mvr-records-table td {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    vertical-align: middle !important;
}

body.app-body .driver-profile-mvr-records-table-shell {
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: none !important;
}

body.app-body .driver-profile-mvr-records-table-shell .table-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-gutter: stable both-edges !important;
}

body.app-body .driver-profile-mvr-records-table thead th {
    position: sticky !important;
    top: 0 !important;
    z-index: 1 !important;
    padding: 1rem 0.95rem !important;
    border-bottom: 1px solid rgba(203, 213, 225, 0.88) !important;
    background: rgba(248, 250, 252, 0.96) !important;
    color: #475569 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-mvr-records-table tbody td {
    padding: 1.05rem 0.95rem !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    color: #0f172a !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
}

body.app-body .driver-profile-mvr-records-table tbody tr:last-child td {
    border-bottom: 0 !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(1),
body.app-body .driver-profile-mvr-records-table td:nth-child(1) {
    width: 11% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(2),
body.app-body .driver-profile-mvr-records-table td:nth-child(2) {
    width: 10% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(3),
body.app-body .driver-profile-mvr-records-table td:nth-child(3) {
    width: 12% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(4),
body.app-body .driver-profile-mvr-records-table td:nth-child(4) {
    width: 30% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(5),
body.app-body .driver-profile-mvr-records-table td:nth-child(5) {
    width: 14% !important;
}

body.app-body .driver-profile-mvr-records-table th:nth-child(6),
body.app-body .driver-profile-mvr-records-table td:nth-child(6) {
    width: 28% !important;
}

body.app-body .driver-profile-mvr-records-table td:nth-child(4),
body.app-body .driver-profile-mvr-records-table td:nth-child(6) {
    overflow: visible !important;
}

body.app-body .driver-profile-mvr-records-table tbody tr {
    cursor: pointer !important;
    transition: background-color 0.16s ease !important;
}

body.app-body .driver-profile-mvr-records-table tbody tr td {
    transition: background-color 0.18s ease, color 0.18s ease !important;
}

body.app-body .driver-profile-mvr-record-status-pill {
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    min-height: 32px !important;
    padding: 0.34rem 0.65rem !important;
    border-radius: 999px !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
}

body.app-body .driver-profile-mvr-record-progress-cell {
    display: grid !important;
    gap: 0.55rem !important;
    justify-items: start !important;
}

body.app-body .driver-profile-mvr-record-progress-inline {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.45rem !important;
    align-items: stretch !important;
    width: 100% !important;
}

body.app-body .driver-profile-mvr-record-progress-chip {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.7rem !important;
    width: 100% !important;
    min-height: 38px !important;
    padding: 0.25rem 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #334155 !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.2 !important;
    text-align: left !important;
    white-space: normal !important;
}

body.app-body .driver-profile-mvr-record-progress-chip-status-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
    flex: 0 0 1.25rem !important;
}

body.app-body .driver-profile-mvr-record-progress-chip-status-icon svg {
    width: 1.1rem !important;
    height: 1.1rem !important;
    stroke: currentColor !important;
    fill: none !important;
    stroke-width: 2.1 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-profile-mvr-record-progress-icon-failed {
    stroke-width: 2.4 !important;
}

body.app-body .driver-profile-mvr-record-progress-icon-pending circle {
    fill: transparent !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
}

body.app-body .driver-profile-mvr-record-progress-icon-pending path {
    stroke-width: 2.2 !important;
}

body.app-body .driver-profile-mvr-record-progress-chip-label {
    display: inline-block !important;
}

body.app-body .driver-profile-mvr-record-progress-chip[data-status="Complete"] {
    color: #047857 !important;
}

body.app-body .driver-profile-mvr-record-progress-chip[data-status="Pending"] {
    color: #d97706 !important;
}

body.app-body .driver-profile-mvr-record-progress-chip[data-status="Failed"] {
    color: #dc2626 !important;
}

body.app-body .driver-profile-mvr-record-result {
    min-height: 34px !important;
    padding: 0.42rem 0.82rem !important;
    border: 1px solid transparent !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    white-space: normal !important;
}

body.app-body .driver-profile-mvr-record-result[data-status="Pending"] {
    border-color: rgba(148, 163, 184, 0.2) !important;
}

body.app-body .driver-profile-mvr-record-result[data-status="Approved"] {
    border-color: rgba(16, 185, 129, 0.2) !important;
}

body.app-body .driver-profile-mvr-record-result[data-status="Declined"] {
    border-color: rgba(239, 68, 68, 0.2) !important;
}

body.app-body .driver-profile-mvr-record-result[data-status="Review Required"] {
    border-color: rgba(245, 158, 11, 0.2) !important;
}

body.app-body .driver-profile-mvr-records-table tbody tr:hover td,
body.app-body .driver-profile-mvr-records-table tbody tr.is-active td {
    background: #fbfcfe !important;
    color: #020617 !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table-shell {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table-shell .table-scroll {
    background: transparent !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding-right: 0 !important;
    scrollbar-gutter: auto !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table {
    min-width: 100% !important;
    background: #ffffff !important;
    width: 100% !important;
    table-layout: fixed !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th,
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    vertical-align: middle !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table thead th {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    background: #ffffff !important;
    color: #111111 !important;
    padding: 13px 16px !important;
    border-bottom: 1px solid #edf1f5 !important;
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table thead th:first-child,
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table tbody td:first-child {
    padding-left: 22px !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table thead th:last-child,
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table tbody td:last-child {
    padding-right: 34px !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table tbody td {
    min-height: 72px !important;
    padding: 22px 16px !important;
    border-top: 1px solid #eef2f6 !important;
    border-bottom: 0 !important;
    background: #ffffff !important;
    color: #202938 !important;
    font-size: 0.96rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(4),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(5) {
    overflow: visible !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th:nth-child(6),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(6) {
    text-align: center !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table tbody tr {
    cursor: pointer !important;
    transition: background-color 0.16s ease, box-shadow 0.16s ease !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table tbody tr td {
    transition: background-color 0.18s ease, color 0.18s ease !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table tbody tr:hover td,
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table tbody tr.is-active td {
    background: #fbfcfe !important;
    color: #202938 !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th:nth-child(1),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(1) {
    width: 76px !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th:nth-child(2),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(2) {
    width: 12% !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th:nth-child(3),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(3) {
    width: 12% !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th:nth-child(4),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(4) {
    width: 14% !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th:nth-child(5),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(5) {
    width: 31% !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th:nth-child(6),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(6) {
    width: 18% !important;
}

body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table th:nth-child(7),
body.app-body.driver-profile-mvr-window-page .driver-profile-mvr-records-table td:nth-child(7) {
    width: 56px !important;
}

@media (max-width: 1200px) {
    body.app-body .driver-profile-mvr-records-card-header {
        flex-wrap: wrap !important;
    }

    body.app-body .driver-profile-mvr-records-header-actions {
        width: 100% !important;
        justify-content: flex-start !important;
        margin-left: 0 !important;
    }

    body.app-body .driver-profile-mvr-record-section-grid {
        grid-template-columns: 1fr !important;
    }

    body.app-body .driver-profile-mvr-record-flow-summary {
        width: 100% !important;
        margin-left: 0 !important;
    }

    body.app-body .driver-profile-mvr-module-header,
    body.app-body .driver-profile-mvr-module-footer {
        display: grid !important;
    }

    body.app-body .driver-profile-mvr-records-table {
        min-width: 760px !important;
    }


@media (max-width: 1180px) {
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-compliance-mvr-records-block {
        gap: 1rem !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-card-header {
        padding: 0 0 0.25rem !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table-shell {
        overflow: visible !important;
        background: transparent !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table-shell .table-scroll {
        overflow: visible !important;
        padding-right: 0 !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table {
        min-width: 0 !important;
        width: 100% !important;
        background: transparent !important;
        table-layout: auto !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table thead {
        display: none !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table tbody {
        display: grid !important;
        gap: 1rem !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table tbody tr {
        display: grid !important;
        position: relative !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        grid-template-areas:
            'year result'
            'state type'
            'progress progress' !important;
        align-items: start !important;
        column-gap: 1rem !important;
        row-gap: 0.75rem !important;
        padding: 1.05rem 1rem !important;
        border: 1px solid #e7edf4 !important;
        border-radius: 22px !important;
        background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
        box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06) !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table tbody tr::after {
        content: '' !important;
        position: absolute !important;
        left: 1rem !important;
        right: 1rem !important;
        top: 4.9rem !important;
        height: 1px !important;
        border-radius: 999px !important;
        background: linear-gradient(90deg, rgba(203, 213, 225, 0.98) 0%, rgba(148, 163, 184, 0.82) 52%, rgba(203, 213, 225, 0.28) 100%) !important;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) !important;
        pointer-events: none !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table th:first-child,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:first-child,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table th:last-child,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:last-child,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table th:nth-child(1),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(1),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table th:nth-child(2),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(2),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table th:nth-child(3),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(3),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table th:nth-child(4),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(4),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table th:nth-child(5),
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(5) {
        width: auto !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(1) {
        grid-area: year !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(2) {
        grid-area: state !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(3) {
        grid-area: type !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(4) {
        grid-area: progress !important;
        padding-top: 0.25rem !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(5) {
        grid-area: result !important;
        justify-self: end !important;
        text-align: right !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(1)::before,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(2)::before,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(3)::before,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(4)::before,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(5)::before {
        display: block !important;
        margin-bottom: 0.3rem !important;
        color: #64748b !important;
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.12em !important;
        text-transform: uppercase !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(1)::before {
        content: 'Year' !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(2)::before {
        content: 'State' !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(3)::before {
        content: 'Type' !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(4)::before {
        content: 'Progress' !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(5)::before {
        content: 'Result' !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-records-table td:nth-child(5)::before {
        text-align: right !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-record-progress-cell,
    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-record-progress-inline {
        width: 100% !important;
    }

    body.app-body:not(.driver-profile-mvr-window-page) .driver-profile-mvr-record-result {
        justify-self: end !important;
    }
}
    body.app-body .driver-profile-mvr-records-table thead th,
    body.app-body .driver-profile-mvr-records-table tbody td {
        padding-inline: 0.8rem !important;
    }
}

@media (max-width: 840px) {
    body.app-body .driver-profile-mvr-record-flow-block,
    body.app-body .driver-profile-mvr-module-panel {
        padding: 1rem !important;
    }

    body.app-body .driver-profile-mvr-record-flow-summary {
        grid-template-columns: 1fr !important;
    }

    body.app-body .driver-profile-mvr-records-table {
        min-width: 720px !important;
    }

    body.app-body .driver-profile-mvr-records-table thead th {
        font-size: 0.68rem !important;
        letter-spacing: 0.12em !important;
    }

    body.app-body .driver-profile-mvr-records-table tbody td {
        font-size: 0.86rem !important;
    }
}

body.app-body .driver-profile-overview-summary-block {
    display: grid !important;
    gap: 1rem !important;
    margin-bottom: 1rem !important;
}

body.app-body .driver-profile-mvr-summary-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .driver-profile-mvr-summary-item {
    display: grid !important;
    align-content: start !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
    min-height: 116px !important;
    padding: 1.15rem 1.35rem !important;
    background: transparent !important;
}

body.app-body .driver-profile-mvr-summary-item-status {
    justify-items: center !important;
    text-align: center !important;
}

body.app-body .driver-profile-mvr-summary-item-status .driver-profile-mvr-summary-label,
body.app-body .driver-profile-mvr-summary-item-status .driver-profile-mvr-summary-note {
    justify-self: center !important;
}

body.app-body .driver-profile-mvr-summary-item + .driver-profile-mvr-summary-item {
    border-left: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-mvr-summary-label {
    color: #475569 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
}

body.app-body .driver-profile-mvr-summary-value {
    color: #0f172a !important;
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
}

body.app-body .driver-profile-mvr-summary-note {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
}

body.app-body .driver-profile-mvr-summary-item .rate-history-badge {
    width: fit-content !important;
    min-height: 34px !important;
    padding-inline: 0.9rem !important;
    font-size: 0.9rem !important;
}

body.app-body .driver-profile-mvr-summary-item-status .rate-history-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    min-height: 42px !important;
    padding: 0 1.15rem !important;
    border-radius: 999px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    color: #15803d !important;
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.98) 0%, rgba(187, 247, 208, 0.9) 100%) !important;
    border-color: rgba(74, 222, 128, 0.4) !important;
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

body.app-body .driver-profile-mvr-summary-item-status .rate-history-badge::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: #22c55e !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14) !important;
    flex: 0 0 8px !important;
}

body.app-body .driver-profile-compliance-cdl-summary-block {
    display: grid !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-cdl-summary-item-status {
    justify-items: center !important;
    text-align: center !important;
}

body.app-body .driver-profile-cdl-summary-item-status .driver-profile-mvr-summary-label,
body.app-body .driver-profile-cdl-summary-item-status .driver-profile-mvr-summary-note {
    justify-self: center !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.45rem !important;
    min-height: 42px !important;
    padding: 0 1.15rem !important;
    border-radius: 999px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.12em !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    flex: 0 0 8px !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge[data-tone="active"] {
    color: #15803d !important;
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.98) 0%, rgba(187, 247, 208, 0.9) 100%) !important;
    border-color: rgba(74, 222, 128, 0.4) !important;
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge[data-tone="active"]::before {
    background: #22c55e !important;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14) !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge[data-tone="warning"] {
    color: #b45309 !important;
    background: linear-gradient(180deg, rgba(254, 249, 195, 0.98) 0%, rgba(253, 230, 138, 0.92) 100%) !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
    box-shadow: 0 10px 22px rgba(245, 158, 11, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge[data-tone="warning"]::before {
    background: #f59e0b !important;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14) !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge[data-tone="expired"] {
    color: #b91c1c !important;
    background: linear-gradient(180deg, rgba(254, 226, 226, 0.98) 0%, rgba(254, 202, 202, 0.92) 100%) !important;
    border-color: rgba(248, 113, 113, 0.36) !important;
    box-shadow: 0 10px 22px rgba(239, 68, 68, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge[data-tone="expired"]::before {
    background: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14) !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge[data-tone="inactive"] {
    color: #475569 !important;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.98) 0%, rgba(226, 232, 240, 0.95) 100%) !important;
    border-color: rgba(148, 163, 184, 0.34) !important;
    box-shadow: 0 10px 22px rgba(148, 163, 184, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72) !important;
}

body.app-body .driver-profile-cdl-summary-item-status .rate-history-badge[data-tone="inactive"]::before {
    background: #94a3b8 !important;
    box-shadow: 0 0 0 4px rgba(148, 163, 184, 0.14) !important;
}

body.app-body .driver-profile-cdl-status-checklist li[data-status="complete"]::before {
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.98) 0%, rgba(187, 247, 208, 0.9) 100%) !important;
    border-color: rgba(74, 222, 128, 0.38) !important;
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.12) !important;
}

body.app-body .driver-profile-cdl-status-checklist li[data-status="complete"]::after {
    border-right-color: #16a34a !important;
    border-bottom-color: #16a34a !important;
}

body.app-body .driver-profile-cdl-status-checklist li[data-status="incomplete"] {
    color: #64748b !important;
}

body.app-body .driver-profile-cdl-status-checklist li[data-status="incomplete"]::before {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.98) 0%, rgba(226, 232, 240, 0.95) 100%) !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    box-shadow: none !important;
}

body.app-body .driver-profile-cdl-status-checklist li[data-status="incomplete"]::after {
    left: 4px !important;
    top: 0.53rem !important;
    width: 7px !important;
    height: 2px !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    background: #94a3b8 !important;
    transform: none !important;
}

body.app-body .driver-profile-mvr-status-checklist-card {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 1rem !important;
    width: 100% !important;
    padding: 1.15rem 1.2rem !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
}

body.app-body .driver-profile-mvr-status-checklist-copy {
    display: grid !important;
    gap: 1rem !important;
    min-width: 0 !important;
    justify-items: start !important;
}

body.app-body .driver-profile-mvr-status-checklist-card h4 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
}

body.app-body .driver-profile-mvr-status-checklist {
    display: grid !important;
    gap: 0.78rem !important;
    margin: 0 !important;
    padding: 0 !important;
    width: min(100%, 420px) !important;
    list-style: none !important;
}

body.app-body .driver-profile-mvr-status-checklist-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block {
    display: grid !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-status-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(220px, 1fr)) !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-status-card {
    display: grid !important;
    align-content: start !important;
    gap: 0.6rem !important;
    min-width: 0 !important;
    min-height: 148px !important;
    padding: 1.25rem 1.35rem !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-status-card-overall {
    padding-right: 1.65rem !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-status-value {
    color: #0f172a !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.03em !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-status-card .rate-history-badge {
    width: fit-content !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metrics-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-card {
    display: grid !important;
    align-content: start !important;
    gap: 0.55rem !important;
    min-width: 0 !important;
    min-height: 122px !important;
    padding: 1.15rem 1.3rem !important;
    background: transparent !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-card + .driver-profile-mvr-summary-metric-card {
    border-left: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    min-width: 0 !important;
    color: #475569 !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.01em !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(214, 224, 236, 0.95) !important;
    background: #eff5fb !important;
    color: #5b6c82 !important;
    flex: 0 0 28px !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-icon svg {
    width: 15px !important;
    height: 15px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-hooks {
    display: none !important;
}

body.app-body .driver-profile-mvr-status-checklist-button {
    min-height: 44px !important;
    padding: 0 1rem !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
}

body.app-body .driver-profile-mvr-status-checklist li {
    position: relative !important;
    min-height: 20px !important;
    padding-left: 1.7rem !important;
    color: #334155 !important;
    font-size: 0.94rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
}

body.app-body .driver-profile-mvr-status-checklist li::before {
    content: '' !important;
    position: absolute !important;
    top: 0.18rem !important;
    left: 0 !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.98) 0%, rgba(187, 247, 208, 0.9) 100%) !important;
    border: 1px solid rgba(74, 222, 128, 0.38) !important;
    box-shadow: 0 6px 14px rgba(34, 197, 94, 0.12) !important;
}

body.app-body .driver-profile-mvr-status-checklist li::after {
    content: '' !important;
    position: absolute !important;
    left: 5px !important;
    top: 0.42rem !important;
    width: 5px !important;
    height: 8px !important;
    border-right: 2px solid #16a34a !important;
    border-bottom: 2px solid #16a34a !important;
    transform: rotate(45deg) !important;
}

@media (max-width: 820px) {
    body.app-body .driver-profile-mvr-status-checklist-card {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-mvr-status-checklist-actions {
        justify-content: flex-start !important;
    }
}

body.app-body .driver-profile-mvr-overview-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)) !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-mvr-overview-card {
    display: grid !important;
    gap: 0.9rem !important;
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 1.15rem 1.2rem !important;
    border: 1px solid rgba(203, 213, 225, 0.92) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08) !important;
}

body.app-body .driver-profile-mvr-overview-card-header h4 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
}

body.app-body .driver-profile-mvr-overview-table-shell {
    padding: 0 !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

body.app-body .driver-profile-mvr-overview-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
}

body.app-body .driver-profile-mvr-overview-table th {
    color: #64748b !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    background: rgba(248, 250, 252, 0.92) !important;
    white-space: normal !important;
}

body.app-body .driver-profile-mvr-overview-table td {
    color: #0f172a !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    vertical-align: top !important;
    background: transparent !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
}

body.app-body .driver-profile-mvr-overview-table th:nth-child(1),
body.app-body .driver-profile-mvr-overview-table td:nth-child(1) {
    width: 20% !important;
}

body.app-body .driver-profile-mvr-overview-table th:nth-child(2),
body.app-body .driver-profile-mvr-overview-table td:nth-child(2) {
    width: 40% !important;
}

body.app-body .driver-profile-mvr-overview-table th:nth-child(3),
body.app-body .driver-profile-mvr-overview-table td:nth-child(3),
body.app-body .driver-profile-mvr-overview-table th:nth-child(4),
body.app-body .driver-profile-mvr-overview-table td:nth-child(4),
body.app-body .driver-profile-mvr-overview-table th:nth-child(5),
body.app-body .driver-profile-mvr-overview-table td:nth-child(5) {
    width: 13.333% !important;
}

body.app-body .driver-profile-mvr-overview-table tbody tr:hover td {
    background: transparent !important;
}

body.app-body .driver-profile-mvr-overview-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    padding-top: 0.1rem !important;
    color: #475569 !important;
    font-size: 0.92rem !important;
    line-height: 1.4 !important;
}

body.app-body .driver-profile-mvr-overview-footer strong {
    color: #0f172a !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
}

body.app-body .driver-profile-mvr-overview-card-empty {
    align-content: start !important;
}

body.app-body .driver-profile-mvr-overview-empty-state {
    display: grid !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 0.7rem !important;
    min-height: 178px !important;
    padding: 1rem !important;
    border: 1px dashed rgba(203, 213, 225, 0.95) !important;
    border-radius: 18px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
    text-align: center !important;
}

body.app-body .driver-profile-mvr-overview-empty-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 999px !important;
    color: #16a34a !important;
    background: linear-gradient(180deg, rgba(220, 252, 231, 0.98) 0%, rgba(187, 247, 208, 0.9) 100%) !important;
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.12) !important;
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

body.app-body .driver-profile-mvr-overview-empty-state strong {
    color: #0f172a !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
}

body.app-body .driver-profile-compliance-empty-card {
    display: grid !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 0.45rem !important;
    min-height: 112px !important;
    padding: 1.15rem 1.2rem !important;
    border: 1px dashed rgba(203, 213, 225, 0.9) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    text-align: center !important;
}

body.app-body .driver-profile-compliance-empty-card[hidden] {
    display: none !important;
}

body.app-body .driver-profile-compliance-empty-card strong {
    color: #0f172a !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-profile-compliance-empty-card::before {
    content: '+' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 999px !important;
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
}

@media (max-width: 1180px) {
    body.app-body .driver-profile-mvr-summary-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-status-grid {
        grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-card:nth-child(3) {
        border-left: 0 !important;
    }

    body.app-body .driver-profile-mvr-overview-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-mvr-summary-item:nth-child(4) {
        border-left: 0 !important;
    }
}

@media (max-width: 820px) {
    body.app-body .driver-profile-mvr-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-status-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-card:nth-child(3) {
        border-left: 1px solid rgba(226, 232, 240, 0.95) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-card:nth-child(3),
    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-card:nth-child(4) {
        border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    }

    body.app-body .driver-profile-mvr-overview-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-compliance-mvr-actions .primary-button {
        justify-content: center !important;
        white-space: nowrap !important;
    }

    body.app-body .driver-profile-mvr-summary-item:nth-child(3),
    body.app-body .driver-profile-mvr-summary-item:nth-child(5) {
        border-left: 0 !important;
    }
}

@media (max-width: 560px) {
    body.app-body .driver-profile-compliance-mvr-actions .primary-button {
        width: fit-content !important;
    }
}

@media (max-width: 560px) {
    body.app-body .driver-profile-mvr-summary-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metrics-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-compliance-mvr-summary-block .driver-profile-mvr-summary-metric-card + .driver-profile-mvr-summary-metric-card {
        border-left: 0 !important;
        border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    }

    body.app-body .driver-profile-mvr-summary-item + .driver-profile-mvr-summary-item {
        border-left: 0 !important;
        border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    }
}

body.app-body .driver-profile-compliance-history-item {
    gap: 0.75rem !important;
}

body.app-body .driver-profile-compliance-history-section-header {
    align-items: center !important;
}

body.app-body .driver-profile-compliance-history-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
    cursor: default !important;
}

body.app-body .driver-profile-compliance-history-toggle-copy {
    display: grid !important;
    gap: 0.22rem !important;
}

body.app-body .driver-profile-compliance-history-toggle-title {
    color: #0f172a !important;
    font-size: 0.96rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-profile-compliance-history-toggle-meta {
    color: #475569 !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
}

body.app-body .driver-profile-compliance-history-header-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.55rem !important;
    margin-left: auto !important;
    position: relative !important;
    z-index: 1 !important;
}

body.app-body .driver-profile-compliance-history-restore,
body.app-body .driver-profile-compliance-history-delete,
body.app-body .driver-profile-compliance-history-chevron {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    border: 1px solid rgba(209, 213, 219, 0.95) !important;
    color: #0f172a !important;
    flex: 0 0 36px !important;
    position: relative !important;
    z-index: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
}

body.app-body .driver-profile-compliance-history-restore:hover,
body.app-body .driver-profile-compliance-history-restore:focus-visible,
body.app-body .driver-profile-compliance-history-delete:hover,
body.app-body .driver-profile-compliance-history-delete:focus-visible,
body.app-body .driver-profile-compliance-history-chevron:hover,
body.app-body .driver-profile-compliance-history-chevron:focus-visible {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

body.app-body .driver-profile-compliance-history-restore svg,
body.app-body .driver-profile-compliance-history-delete svg,
body.app-body .driver-profile-compliance-history-chevron svg {
    width: 18px !important;
    height: 18px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none !important;
}

body.app-body .driver-profile-compliance-history-chevron svg {
    transition: transform 0.18s ease !important;
}

body.app-body .driver-profile-compliance-history-chevron.is-expanded svg {
    transform: rotate(90deg) !important;
}

body.app-body .driver-profile-compliance-history-record {
    padding: 0 !important;
}

body.app-body .driver-profile-compliance-history-record[hidden] {
    display: none !important;
}

body.app-body .driver-profile-setting-row-static {
    cursor: default !important;
}

body.app-body .driver-profile-setting-row-static .driver-profile-setting-chevron {
    display: none !important;
}

body.app-body .driver-profile-compliance-document-thumbnails {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-left: 0.7rem !important;
    flex-wrap: wrap !important;
}

body.app-body .driver-profile-compliance-document-thumb {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    overflow: hidden !important;
    border: 1px solid rgba(203, 213, 225, 0.95) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12) !important;
    cursor: pointer !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

body.app-body .driver-profile-compliance-document-thumb:hover,
body.app-body .driver-profile-compliance-document-thumb:focus-visible {
    transform: translateY(-1px) !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 12px 24px rgba(148, 163, 184, 0.18) !important;
    outline: none !important;
}

body.app-body .driver-profile-compliance-document-thumb-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.app-body .driver-profile-compliance-document-thumb-file {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 30px !important;
    min-height: 22px !important;
    padding: 0.2rem 0.4rem !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
}

body.app-body .driver-profile-compliance-license-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-compliance-license-gallery-item {
    display: grid !important;
    gap: 0.8rem !important;
    min-width: 0 !important;
}

body.app-body .driver-profile-compliance-license-gallery-item-header h4 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

body.app-body .driver-profile-compliance-license-gallery-media {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 320px !important;
    padding: 1rem !important;
    border: 1px solid rgba(203, 213, 225, 0.9) !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%) !important;
    overflow: hidden !important;
}

body.app-body .driver-profile-compliance-license-gallery-media.is-file {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
}

body.app-body .driver-profile-compliance-license-gallery-image,
body.app-body .driver-profile-compliance-license-gallery-frame {
    display: block !important;
    width: 100% !important;
    height: 320px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
}

body.app-body .driver-profile-compliance-license-gallery-image {
    object-fit: contain !important;
}

@media (max-width: 900px) {
    body.app-body .driver-profile-compliance-license-gallery-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-compliance-license-gallery-media {
        min-height: 260px !important;
    }

    body.app-body .driver-profile-compliance-license-gallery-image,
    body.app-body .driver-profile-compliance-license-gallery-frame {
        height: 260px !important;
    }
}

body.app-body .driver-profile-compliance-history-value-detail {
    display: none !important;
}

body.app-body .driver-profile-compliance-history-value-actions {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.45rem !important;
    margin-left: 0.7rem !important;
    flex-wrap: wrap !important;
}

body.app-body .driver-profile-compliance-history-value-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 28px !important;
    padding: 0.25rem 0.65rem !important;
    border: 1px solid rgba(148, 163, 184, 0.55) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    color: #0f172a !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease !important;
}

body.app-body .driver-profile-compliance-history-value-action:hover,
body.app-body .driver-profile-compliance-history-value-action:focus-visible {
    border-color: #475569 !important;
    background: rgba(241, 245, 249, 0.96) !important;
    color: #020617 !important;
    outline: none !important;
}

body.app-body .driver-profile-compliance-mock-modal-card {
    max-width: 560px !important;
    width: min(560px, calc(100vw - 2rem)) !important;
}

body.app-body .driver-profile-compliance-mock-modal-card[data-layout="license-document"] {
    max-width: 760px !important;
    width: min(760px, calc(100vw - 2rem)) !important;
}

body.app-body .driver-profile-compliance-mock-modal-fields {
    grid-template-columns: minmax(0, 1fr) !important;
}

body.app-body .driver-profile-compliance-license-document-mock {
    width: 100% !important;
}

body.app-body .driver-profile-compliance-license-document-grid {
    width: 100% !important;
    max-width: none !important;
    margin-top: 0.25rem !important;
}

body.app-body .driver-profile-previous-addresses {
    display: grid !important;
    gap: 0 !important;
    margin-top: 2.5rem !important;
    padding-top: 0.25rem !important;
}

body.app-body .driver-profile-previous-addresses[hidden] {
    display: none !important;
}

body.app-body .driver-profile-previous-addresses-header {
    margin-bottom: 0 !important;
}

body.app-body .driver-profile-previous-address-row {
    align-items: start !important;
}

body.app-body .driver-profile-previous-address-note {
    display: block !important;
    color: #6b7280 !important;
    font-size: 0.92rem !important;
    line-height: 1.45 !important;
    letter-spacing: -0.01em !important;
}

body.app-body .driver-profile-previous-address-range {
    display: block !important;
    margin-top: 0.2rem !important;
    color: #94a3b8 !important;
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

body.app-body .driver-profile-card-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-card-grid-single {
    grid-template-columns: minmax(0, 1fr) !important;
}

body.app-body .driver-profile-card {
    display: grid !important;
    gap: 1rem !important;
    padding: 1.45rem !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
}

body.app-body .driver-profile-card-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
}

body.app-body .driver-profile-card-header h2 {
    margin: 0 !important;
    color: #0f172a !important;
}

body.app-body .driver-profile-field-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.9rem !important;
}

body.app-body .driver-profile-field {
    display: grid !important;
    gap: 0.35rem !important;
    min-height: 92px !important;
    padding: 0.95rem 1rem !important;
    border-radius: 18px !important;
    background: #f8fafc !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
}

body.app-body .driver-profile-field-wide {
    grid-column: span 2 !important;
}

body.app-body .driver-profile-field-label {
    color: #64748b !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
}

body.app-body .driver-profile-field-value {
    color: #0f172a !important;
    font-size: 0.98rem !important;
    line-height: 1.45 !important;
    overflow-wrap: anywhere !important;
}

body.app-body .driver-profile-placeholder-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
}

body.app-body .driver-profile-placeholder-copy {
    margin: 0 !important;
    color: #475569 !important;
    font-size: 0.98rem !important;
    line-height: 1.7 !important;
}

body.app-body .driver-profile-empty-state {
    display: grid !important;
    gap: 0.75rem !important;
    min-height: 320px !important;
    align-content: center !important;
    justify-items: start !important;
}

@media (max-width: 960px) {
    body.app-body .driver-profile-hero-surface {
        gap: 0.16rem !important;
    }

    body.app-body .driver-license-prototype-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 0.75rem !important;
    }

    body.app-body .driver-license-prototype {
        width: 100% !important;
        flex-basis: auto !important;
        max-width: min(100%, 760px) !important;
    }

    body.app-body .driver-license-prototype-card,
    body.app-body .driver-license-upload-mock,
    body.app-body .driver-license-thumbnail-card {
        width: 100% !important;
        max-width: 360px !important;
        margin-inline: auto !important;
    }

    body.app-body .driver-profile-card-grid,
    body.app-body .driver-profile-field-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-field-wide {
        grid-column: auto !important;
    }

    body.app-body .driver-profile-hero-surface,
    body.app-body .driver-profile-toolbar,
    body.app-body .driver-profile-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    body.app-body .driver-license-prototype {
        order: 4 !important;
        margin-top: 0 !important;
    }

    body.app-body .driver-profile-hero-copy {
        order: 5 !important;
        width: 100% !important;
        gap: 0.16rem !important;
        margin-top: 0.35rem !important;
        padding-top: 0.05rem !important;
    }

    body.app-body .driver-profile-hero-copy .workspace-title {
        font-size: clamp(1.72rem, 5.6vw, 2.2rem) !important;
    }

    body.app-body .driver-profile-hero-copy .workspace-copy {
        line-height: 1.22 !important;
    }

    body.app-body .driver-profile-hero-meta {
        justify-content: center !important;
        flex-wrap: wrap !important;
        max-width: 100% !important;
        gap: 0.35rem !important;
        row-gap: 0.35rem !important;
    }

    body.app-body .driver-profile-page-actions {
        margin-bottom: 0.75rem !important;
    }

    body.app-body .driver-profile-hero-actions {
        justify-content: flex-end !important;
    }

    body.app-body .driver-profile-meta-chip,
    body.app-body .driver-profile-hero-meta .rate-history-badge {
        min-height: 29px !important;
        padding: 0.28rem 0.58rem !important;
        font-size: 0.74rem !important;
    }

    body.app-body .driver-profile-delete-trigger {
        min-height: 34px !important;
        padding: 0.42rem 0.7rem !important;
        font-size: 0.82rem !important;
        gap: 0.45rem !important;
    }
}

@media (min-width: 641px) and (max-width: 900px) {
    body.app-body .driver-profile-page-shell,
    body.app-body .driver-profile-tabbar,
    body.app-body .driver-profile-panels {
        width: calc(100% - 12px) !important;
        max-width: min(100%, calc(100vw - 160px)) !important;
        margin-inline: auto !important;
        overflow-x: hidden !important;
    }

    body.app-body .driver-profile-summary-card {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1rem !important;
        border-radius: 24px !important;
    }

    body.app-body .driver-profile-summary-primary {
        flex: initial !important;
    }

    body.app-body .driver-profile-summary-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        flex: initial !important;
        overflow: visible !important;
        border-left: 0 !important;
        border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    }

    body.app-body .driver-profile-assignment-strip {
        padding: 0.95rem !important;
        border-radius: 24px !important;
    }

    body.app-body .driver-profile-assignment-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-profile-assignment-card,
    body.app-body .driver-profile-assignment-card:last-child {
        border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-assignment-card:nth-child(2n) {
        border-right: 0 !important;
    }

    body.app-body .driver-profile-assignment-card:nth-last-child(-n + 2) {
        border-bottom: 0 !important;
    }

    body.app-body .driver-profile-summary-stat {
        border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-summary-stat:nth-child(3n) {
        border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-summary-stat:nth-child(2n) {
        border-right: 0 !important;
    }

    body.app-body .driver-profile-summary-stat:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-summary-stat:nth-last-child(-n + 2) {
        border-bottom: 0 !important;
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    body.app-body .driver-profile-page-shell,
    body.app-body .driver-profile-tabbar,
    body.app-body .driver-profile-panels {
        width: calc(100% - 12px) !important;
        max-width: min(100%, calc(100vw - 160px)) !important;
        margin-inline: auto !important;
        overflow-x: hidden !important;
    }

    body.app-body .driver-profile-summary-card {
        flex-direction: column !important;
        gap: 1rem !important;
        padding: 1rem !important;
        border-radius: 24px !important;
    }

    body.app-body .driver-profile-summary-primary {
        display: grid !important;
        align-content: start !important;
        gap: 1rem !important;
        flex: initial !important;
    }

    body.app-body .driver-profile-summary-topline {
        align-items: center !important;
    }

    body.app-body .driver-profile-summary-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        flex: initial !important;
        overflow: visible !important;
        border-left: 0 !important;
        border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    }

    body.app-body .driver-profile-assignment-strip {
        padding: 0.95rem !important;
        border-radius: 24px !important;
    }

    body.app-body .driver-profile-assignment-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-profile-assignment-card,
    body.app-body .driver-profile-assignment-card:last-child {
        border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-assignment-card:nth-child(2n) {
        border-right: 0 !important;
    }

    body.app-body .driver-profile-assignment-card:nth-last-child(-n + 2) {
        border-bottom: 0 !important;
    }

    body.app-body .driver-profile-summary-stat {
        border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-summary-stat:nth-child(3n) {
        border-right: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-summary-stat:nth-child(2n) {
        border-right: 0 !important;
    }

    body.app-body .driver-profile-summary-stat:nth-last-child(-n + 3) {
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-summary-stat:nth-last-child(-n + 2) {
        border-bottom: 0 !important;
    }

    body.app-body .driver-profile-summary-identity {
        grid-template-columns: 132px minmax(0, 1fr) !important;
        align-items: center !important;
        column-gap: 1.25rem !important;
    }

    body.app-body .driver-profile-hero-avatar-shell {
        width: 132px !important;
        flex-basis: 132px !important;
        align-self: center !important;
    }

    body.app-body .driver-license-prototype {
        max-width: min(100%, 840px) !important;
    }

    body.app-body .driver-profile-avatar-button {
        width: 132px !important;
        height: 132px !important;
    }

    body.app-body .driver-profile-avatar-initials {
        font-size: 2.3rem !important;
    }

    body.app-body .driver-profile-avatar-badge {
        width: 40px !important;
        height: 40px !important;
    }

    body.app-body .driver-profile-avatar-badge svg {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 1200px) {
    body.app-body .driver-profile-mobile-nav {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        margin: 0 auto 1rem !important;
        z-index: 6 !important;
    }

    body.app-body .driver-profile-mobile-nav-trigger {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
        width: 100% !important;
        min-height: 64px !important;
        padding: 0.95rem 1rem !important;
        border-radius: 20px !important;
        border: 1px solid rgba(203, 213, 225, 0.92) !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%) !important;
        color: #0f172a !important;
        box-shadow: 0 14px 34px rgba(148, 163, 184, 0.12) !important;
        text-align: left !important;
    }

    body.app-body .driver-profile-mobile-nav-trigger:focus-visible {
        outline: none !important;
        border-color: rgba(37, 99, 235, 0.42) !important;
        box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12), 0 14px 34px rgba(148, 163, 184, 0.16) !important;
    }

    body.app-body .driver-profile-mobile-nav-trigger-copy {
        display: grid !important;
        gap: 0.2rem !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    body.app-body .driver-profile-mobile-nav-trigger-label {
        color: #64748b !important;
        font-size: 0.74rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
    }

    body.app-body .driver-profile-mobile-nav-trigger-value {
        color: #0f172a !important;
        font-size: 1rem !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.app-body .driver-profile-mobile-nav-trigger-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 14px !important;
        background: rgba(15, 23, 42, 0.06) !important;
        color: #0f172a !important;
        flex: 0 0 40px !important;
        transition: transform 0.2s ease !important;
    }

    body.app-body .driver-profile-mobile-nav.is-open .driver-profile-mobile-nav-trigger-icon {
        transform: rotate(180deg) !important;
    }

    body.app-body .driver-profile-mobile-nav-menu {
        position: absolute !important;
        top: calc(100% + 0.6rem) !important;
        left: 0 !important;
        right: 0 !important;
        display: grid !important;
        gap: 0.35rem !important;
        padding: 0.55rem !important;
        border-radius: 24px !important;
        border: 1px solid rgba(226, 232, 240, 0.95) !important;
        background: rgba(255, 255, 255, 0.98) !important;
        box-shadow: 0 22px 50px rgba(15, 23, 42, 0.16) !important;
        backdrop-filter: blur(14px) !important;
        opacity: 0 !important;
        transform: translateY(-8px) scale(0.98) !important;
        transform-origin: top center !important;
        pointer-events: none !important;
        visibility: hidden !important;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
        max-height: min(70vh, 520px) !important;
        overflow-y: auto !important;
    }

    body.app-body .driver-profile-mobile-nav.is-open .driver-profile-mobile-nav-menu {
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
        pointer-events: auto !important;
        visibility: visible !important;
    }

    body.app-body .driver-profile-mobile-nav-item {
        display: flex !important;
        align-items: center !important;
        gap: 0.85rem !important;
        width: 100% !important;
        min-height: 56px !important;
        padding: 0.9rem 0.95rem !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: transparent !important;
        color: #334155 !important;
        text-align: left !important;
        font-size: 0.96rem !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

    body.app-body .driver-profile-mobile-nav-item:hover,
    body.app-body .driver-profile-mobile-nav-item:focus-visible {
        outline: none !important;
        background: rgba(241, 245, 249, 0.92) !important;
        color: #0f172a !important;
    }

    body.app-body .driver-profile-mobile-nav-item.active {
        background: linear-gradient(180deg, #151515 0%, #050505 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 14px 30px rgba(17, 17, 17, 0.16) !important;
    }

    body.app-body .driver-profile-mobile-nav-item-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        flex: 0 0 28px !important;
    }

    body.app-body .driver-profile-mobile-nav-item-label {
        display: block !important;
        min-width: 0 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    body.app-body .driver-profile-tabbar {
        display: none !important;
        position: relative !important;
        justify-content: stretch !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 0 0.3rem !important;
        border-bottom: 0 !important;
    }

    body.app-body .driver-profile-tabbar::before,
    body.app-body .driver-profile-tabbar::after {
        content: '' !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        height: 18px !important;
        z-index: 2 !important;
        pointer-events: none !important;
    }

    body.app-body .driver-profile-tabbar::before {
        top: 0 !important;
        background: linear-gradient(180deg, #f6f8fb 0%, rgba(246, 248, 251, 0) 100%) !important;
    }

    body.app-body .driver-profile-tabbar::after {
        bottom: 0 !important;
        background: linear-gradient(0deg, #f6f8fb 0%, rgba(246, 248, 251, 0) 100%) !important;
    }

    body.app-body .driver-profile-tabbar-scroll {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 0.65rem !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 156px !important;
        scroll-snap-type: y mandatory !important;
        scroll-padding-top: 0 !important;
        scroll-padding-bottom: 0 !important;
        scroll-behavior: auto !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 0 0.1rem 0 0 !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior-y: contain !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    body.app-body .driver-profile-tabbar-scroll::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    body.app-body .driver-profile-tab {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 64px !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0.72rem !important;
        text-align: left !important;
        scroll-snap-align: start !important;
        scroll-snap-stop: normal !important;
        transform: scale(0.96) !important;
        opacity: 0.84 !important;
        box-shadow: 0 10px 24px rgba(148, 163, 184, 0.12) !important;
        transition: transform 0.24s ease, opacity 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease !important;
    }

    body.app-body .driver-profile-tab-icon {
        flex: 0 0 30px !important;
        align-self: center !important;
    }

    body.app-body .driver-profile-tab.active {
        transform: scale(1) !important;
        opacity: 1 !important;
        box-shadow: 0 18px 36px rgba(17, 17, 17, 0.2) !important;
    }

    body.app-body .driver-profile-tab-loading[hidden] {
        display: none !important;
    }
}

@media (max-width: 640px) {
    body.app-body .driver-profile-page-actions {
        align-items: flex-start !important;
        gap: 0.7rem !important;
        margin-bottom: 0.75rem !important;
    }

    body.app-body .driver-profile-hero-surface {
        gap: 0.85rem !important;
        padding-bottom: 0.1rem !important;
    }

    body.app-body .driver-profile-summary-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
        padding: 0.9rem !important;
        border-radius: 22px !important;
    }

    body.app-body .driver-profile-summary-primary {
        display: grid !important;
        align-content: start !important;
        flex: initial !important;
        gap: 0.8rem !important;
    }

    body.app-body .driver-profile-summary-topline {
        align-items: flex-start !important;
        gap: 0.65rem !important;
    }

    body.app-body .driver-profile-summary-identity {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.8rem !important;
    }

    body.app-body .driver-profile-summary-copy {
        width: 100% !important;
    }

    body.app-body .driver-profile-summary-name {
        font-size: 1.95rem !important;
    }

    body.app-body .driver-profile-summary-preferred {
        font-size: 0.92rem !important;
    }

    body.app-body .driver-profile-summary-stats {
        grid-template-columns: minmax(0, 1fr) !important;
        flex: initial !important;
        overflow: visible !important;
        border-left: 0 !important;
        border-top: 1px solid rgba(226, 232, 240, 0.95) !important;
    }

    body.app-body .driver-profile-assignment-strip {
        padding: 0.9rem !important;
        border-radius: 22px !important;
        gap: 0.75rem !important;
    }

    body.app-body .driver-profile-assignment-strip-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    body.app-body .driver-profile-assignment-card,
    body.app-body .driver-profile-assignment-card:nth-child(2n),
    body.app-body .driver-profile-assignment-card:last-child {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
        padding-inline: 0.2rem !important;
    }

    body.app-body .driver-profile-assignment-card:last-child {
        border-bottom: 0 !important;
    }

    body.app-body .driver-profile-summary-stat,
    body.app-body .driver-profile-summary-stat:nth-child(3n),
    body.app-body .driver-profile-summary-stat:nth-child(2n),
    body.app-body .driver-profile-summary-stat:nth-last-child(-n + 3) {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
    }

    body.app-body .driver-profile-summary-stat:last-child {
        border-bottom: 0 !important;
    }

    body.app-body .driver-profile-hero-header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        align-items: start !important;
        column-gap: 0.7rem !important;
        row-gap: 0.8rem !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
    }

    body.app-body .driver-profile-page-actions .driver-profile-back-link {
        width: fit-content !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding: 0.52rem 0.72rem !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }

    body.app-body .driver-profile-avatar-button {
        width: 129px !important;
        height: 129px !important;
    }

    body.app-body .driver-profile-avatar-initials {
        font-size: 2.2rem !important;
    }

    body.app-body .driver-profile-avatar-badge {
        width: 42px !important;
        height: 42px !important;
    }

    body.app-body .driver-profile-avatar-badge svg {
        width: 18px !important;
        height: 18px !important;
    }

    body.app-body .driver-profile-hero-avatar-shell {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        justify-self: center !important;
        align-self: center !important;
    }

    body.app-body .driver-profile-page-actions .driver-profile-delete-trigger {
        min-height: 34px !important;
        padding: 0.46rem 0.7rem !important;
        font-size: 0.8rem !important;
        gap: 0.42rem !important;
        white-space: nowrap !important;
        width: fit-content !important;
        max-width: 100% !important;
    }

    body.app-body .driver-profile-page-actions .driver-profile-history-link {
        min-height: 34px !important;
        min-width: 34px !important;
        padding: 0.46rem !important;
        font-size: 0.8rem !important;
    }

    body.app-body .driver-history-header {
        flex-direction: column !important;
    }

    body.app-body .driver-history-header-actions {
        width: 100% !important;
        justify-content: flex-start !important;
    }

    body.app-body .driver-history-field-summary {
        grid-template-columns: 1fr !important;
        align-items: flex-start !important;
    }

    body.app-body .driver-history-field-meta {
        justify-content: flex-start !important;
    }

    body.app-body .driver-profile-hero-meta {
        display: contents !important;
    }

    body.app-body .driver-profile-chip-icon {
        display: none !important;
    }

    body.app-body .driver-profile-hero-meta [data-driver-profile-hero-status] {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        justify-self: center !important;
        align-self: start !important;
        margin: 0 !important;
    }

    body.app-body .driver-profile-meta-chip {
        display: block !important;
        min-height: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #334155 !important;
        font-size: 0.78rem !important;
        font-weight: 600 !important;
        white-space: normal !important;
    }

    body.app-body .driver-profile-hero-meta .driver-profile-meta-chip-id {
        grid-column: 1 / -1 !important;
        grid-row: 5 !important;
        align-self: start !important;
        justify-self: center !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.45rem !important;
        min-height: 29px !important;
        width: auto !important;
        min-width: fit-content !important;
        max-width: calc(100vw - 32px) !important;
        padding: 0.28rem 0.68rem !important;
        border: 1px solid rgba(148, 163, 184, 0.22) !important;
        border-radius: 999px !important;
        background: #f6f8fb !important;
        text-align: center !important;
        white-space: nowrap !important;
        margin-top: 0.18rem !important;
    }

    body.app-body .driver-profile-hero-meta .driver-profile-meta-chip-id .driver-profile-chip-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-top: 0 !important;
        align-self: center !important;
    }

    body.app-body .driver-profile-hero-meta .driver-profile-meta-chip-id > span:last-child {
        min-width: 0 !important;
        max-width: 100% !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    body.app-body .driver-profile-hero-meta .driver-profile-meta-chip-company {
        grid-column: 1 / -1 !important;
        grid-row: 4 !important;
        align-self: start !important;
        justify-self: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.42rem !important;
        min-height: 29px !important;
        width: min(75vw, calc(100vw - 32px)) !important;
        padding: 0.28rem 0.58rem !important;
        border: 1px solid rgba(148, 163, 184, 0.22) !important;
        border-radius: 999px !important;
        background: #f6f8fb !important;
        font-size: 0.74rem !important;
        line-height: 1.25 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        max-width: min(75vw, calc(100vw - 32px)) !important;
        margin-top: 0.18rem !important;
    }

    body.app-body .driver-profile-hero-meta .driver-profile-meta-chip-company .driver-profile-chip-icon {
        display: inline-flex !important;
        align-self: flex-start !important;
        margin-top: 0.05rem !important;
    }

    body.app-body .driver-profile-hero-meta .driver-profile-meta-chip-company > span:last-child {
        min-width: 0 !important;
        max-width: 100% !important;
        text-align: center !important;
    }

    body.app-body .driver-profile-hero-meta .rate-history-badge {
        min-height: 24px !important;
        padding: 0.18rem 0.48rem !important;
        margin-bottom: 0 !important;
        font-size: 0.67rem !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    body.app-body .driver-profile-photo-editor-workspace,
    body.app-body .driver-profile-photo-preview-footer {
        display: flex !important;
        flex-direction: column !important;
    }

    body.app-body .driver-profile-photo-preview-frame {
        min-height: 320px !important;
        padding: 0.45rem !important;
    }

    body.app-body .driver-profile-photo-crop-guide-ring {
        width: min(70vw, 320px) !important;
    }

    body.app-body .driver-profile-photo-crop-guide {
        inset: 0.45rem !important;
    }

    body.app-body .driver-profile-photo-preview-footer .driver-profile-modal-action {
        width: 100% !important;
    }

    body.app-body .driver-profile-photo-avatar-preview-shell {
        width: min(100%, 180px) !important;
    }

    body.app-body .driver-license-prototype {
        margin-top: 0.2rem !important;
        max-width: min(100%, 360px) !important;
    }

    body.app-body .driver-license-prototype-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0.65rem !important;
    }

    body.app-body .driver-license-prototype-card,
    body.app-body .driver-license-upload-mock,
    body.app-body .driver-license-thumbnail-card {
        max-width: 360px !important;
        margin-inline: auto !important;
    }

    body.app-body .driver-profile-hero-copy {
        margin-top: 0.45rem !important;
        padding-top: 0 !important;
    }

    body.app-body .driver-profile-tabbar {
        margin-top: 0 !important;
    }

    body.app-body .driver-license-upload-mock {
        min-height: 148px !important;
        padding: 0.95rem 0.8rem !important;
    }

    body.app-body .driver-license-thumbnail-card {
        min-height: 148px !important;
        padding: 0.65rem !important;
    }

    body.app-body .driver-license-thumbnail-image {
        height: 98px !important;
    }

    body.app-body .driver-license-modal-card {
        width: calc(100vw - 20px) !important;
        max-width: none !important;
        max-height: calc(100dvh - 20px) !important;
        padding: 0.95rem !important;
        border-radius: 24px !important;
        gap: 0.8rem !important;
    }

    body.app-body .driver-license-modal-shell-header {
        gap: 0.65rem !important;
        align-items: stretch !important;
    }

    body.app-body .driver-license-modal-heading-row,
    body.app-body .driver-license-modal-workspace,
    body.app-body .driver-license-modal-footer {
        display: flex !important;
        flex-direction: column !important;
    }

    body.app-body .driver-license-modal-top-actions {
        justify-content: stretch !important;
    }

    body.app-body .driver-license-modal-top-actions .driver-license-modal-action-chip {
        flex: 1 1 160px !important;
    }

    body.app-body .driver-license-modal-control-rail {
        order: 2 !important;
    }

    body.app-body .driver-license-modal-stage-panel {
        order: 1 !important;
    }

    body.app-body .driver-license-modal-control-card {
        padding: 0.85rem !important;
    }

    body.app-body .driver-license-modal-zoom-row {
        grid-template-columns: 44px minmax(0, 1fr) 44px !important;
    }

    body.app-body .driver-license-modal-preset-row {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body.app-body .driver-license-zoom-button {
        min-height: 42px !important;
        padding: 0.42rem 0.5rem !important;
        border-radius: 14px !important;
        font-size: 0.88rem !important;
    }

    body.app-body .driver-license-modal-top-actions .driver-license-modal-action-chip,
    body.app-body .driver-license-modal-footer .driver-profile-modal-action {
        min-height: 42px !important;
        padding: 0.42rem 0.5rem !important;
        border-radius: 14px !important;
        font-size: 0.88rem !important;
    }

    body.app-body .driver-license-modal-top-actions .driver-license-modal-close-button {
        align-self: flex-end !important;
    }

    body.app-body .driver-license-modal-meta {
        width: 100% !important;
    }

    body.app-body .driver-license-modal-preview {
        min-height: 260px !important;
        padding: 0.35rem !important;
    }

    body.app-body .driver-license-modal-footer {
        gap: 0.6rem !important;
    }

    body.app-body .driver-license-modal-footer-copy {
        width: 100% !important;
    }

    body.app-body .driver-license-modal-footer .driver-profile-modal-action {
        width: 100% !important;
    }

    body.app-body .driver-profile-page-content {
        padding: 18px 16px 28px !important;
        justify-content: stretch !important;
    }

    body.app-body .driver-profile-hero-surface {
        gap: 0.35rem !important;
        padding: 0 0 0.45rem !important;
        border-radius: 0 !important;
    }

    body.app-body .driver-profile-tab {
        min-height: 60px !important;
        font-size: 0.9rem !important;
    }
}