* {
    box-sizing: border-box
}

body {
    margin: 0;
    background: #f4f7fb;
    color: #233348;
    font: 14px 'Cairo', Arial, sans-serif
}

a {
    color: #006dac;
    text-decoration: none
}

.app {
    display: flex;
    min-height: 100vh
}

.sidebar {
    width: 255px;
    flex: 0 0 255px;
    background: #113a67;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 28px 13px;
    min-height: 100vh
}

.brand {
    font-size: 23px;
    font-weight: 800;
    letter-spacing: .7px;
    padding: 5px 16px
}

.brand span {
    color: #a8d7fa
}

.caption {
    color: #b8c9dc;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 0 16px 32px
}

.sidebar nav {
    display: grid;
    gap: 5px
}

.sidebar a {
    color: #d9e6f5;
    display: block;
    padding: 12px 15px;
    border-radius: 10px;
    font-weight: 600
}

.sidebar a.active {
    background: var(--accent, #dc2626);
    color: white
}

.sidebar-foot {
    margin-top: auto;
    color: #98b2ce;
    font-size: 11px;
    padding: 15px
}

main {
    flex: 1;
    min-width: 0
}

header {
    height: 104px;
    padding: 24px 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid #e4ebf3
}

h1 {
    margin: 0;
    color: #114075;
    font-size: 23px
}

header p {
    margin: 2px 0;
    color: #8290a3
}

h2 {
    color: #114075;
    font-size: 17px;
    margin: 0
}

.userbar {
    display: flex;
    align-items: center;
    gap: 15px
}

.content {
    padding: 30px 34px
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 25px
}

.stat,
.panel {
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(14, 46, 80, .035)
}

.stat {
    padding: 23px
}

.stat span {
    display: block;
    color: #78879a;
    font-size: 13px
}

.stat strong {
    display: block;
    color: #114075;
    font-size: 28px;
    margin-top: 11px
}

.panel {
    overflow: hidden;
    margin-bottom: 20px
}

.panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 21px 23px;
    border-bottom: 1px solid #edf0f5
}

.btn {
    background: #006dac;
    color: #fff;
    border: 1px solid #006dac;
    border-radius: 8px;
    padding: 10px 17px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.btn:hover {
    background: #00588c;
    color: white
}

.btn.outline {
    background: white;
    color: #114075;
    border-color: #dae3ed
}

.filters {
    display: flex;
    gap: 10px;
    padding: 17px 23px;
    flex-wrap: wrap
}

.filters input {
    flex: 1;
    min-width: 230px
}

.filters select {
    min-width: 150px
}

input,
select,
textarea {
    background: white;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    padding: 11px 12px;
    font: inherit;
    min-height: 42px;
    outline: none;
    color: #26394d
}

input:focus,
select:focus,
textarea:focus {
    border-color: #006dac;
    box-shadow: 0 0 0 3px #006dac19
}

.tablewrap {
    overflow-x: auto
}

table {
    border-collapse: collapse;
    width: 100%;
    text-align: left
}

th {
    background: #f7f9fc;
    color: #60718a;
    font-size: 12px;
    font-weight: 800
}

th,
td {
    padding: 14px 20px;
    border-bottom: 1px solid #edf0f5;
    white-space: nowrap
}

td {
    color: #34475c
}

.pill {
    border-radius: 20px;
    background: #eef4fa;
    color: #155489;
    padding: 5px 10px;
    font-size: 12px
}

.pages {
    padding: 20px
}

.pages nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.pages svg {
    max-width: 25px
}

.formpanel {
    padding: 24px;
    max-width: 950px
}

.formpanel h2 {
    margin-bottom: 22px
}

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

label {
    display: grid;
    gap: 7px;
    font-weight: 650;
    margin-bottom: 16px
}

textarea {
    width: 100%;
    min-height: 95px
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 15px
}

.success,
.errors {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px
}

.success {
    background: #eaf9f1;
    color: #176840
}

.errors {
    background: #fef0f0;
    color: #a42626
}

.hint {
    color: #718198;
    font-size: 13px
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(130deg, #0d315c, #006dac)
}

.login-card {
    background: #fff;
    border-radius: 18px;
    padding: 40px;
    width: min(440px, 92vw);
    box-shadow: 0 22px 60px #001b3450
}

.login-card h1 {
    font-size: 28px
}

.login-card h1 span {
    color: #006dac
}

.login-card p {
    color: #72829a;
    margin-bottom: 30px
}

.login-card label {
    display: grid
}

.login-card .check {
    display: flex;
    align-items: center
}

.login-card button {
    width: 100%
}

@media(max-width:950px) {
    .sidebar {
        width: 205px;
        flex-basis: 205px
    }
    .cards {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:650px) {
    .app {
        display: block
    }
    .sidebar {
        min-height: auto;
        width: 100%;
        padding: 12px
    }
    .sidebar nav {
        display: flex;
        overflow: auto
    }
    .sidebar-foot,
    .caption {
        display: none
    }
    header {
        padding: 18px;
        height: auto
    }
    .content {
        padding: 16px
    }
    .cards,
    .formgrid {
        grid-template-columns: 1fr
    }
    .filters {
        display: grid
    }
}


/* Tower Assist UI — adapted from the supplied Dawsha design.
   Red replaces orange; core Laravel screens and functionality are retained. */

:root {
    --bg: #f5f5f7;
    --surface: #fff;
    --text: #1d1d1f;
    --muted: #86868b;
    --sub: #48484a;
    --accent: #dc2626;
    --accent-h: #b91c1c;
    --accent-light: #fef2f2;
    --border: rgba(0, 0, 0, .06);
    --border-gray: #e5e5ea;
    --sidebar-w: 260px;
    --font: "IBM Plex Sans Arabic", "Cairo", system-ui, sans-serif;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased
}

a {
    color: var(--accent)
}

a:hover {
    text-decoration: underline
}

.app {
    display: flex;
    min-height: 100vh
}

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    width: var(--sidebar-w);
    flex: 0 0 var(--sidebar-w);
    min-height: 0;
    padding: 0;
    background: rgba(251, 251, 253, .90);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    color: var(--sub);
}

.sidebar .brand {
    margin: 0;
    padding: 20px 22px 0;
    color: var(--text);
    font-size: 21px;
    letter-spacing: .3px;
    font-weight: 800
}

.sidebar .brand::before {
    content: "T";
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border-radius: 10px;
    color: white;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    box-shadow: 0 3px 12px #dc262632;
    font-size: 18px
}

.sidebar .brand span,
.login-card h1 span {
    color: var(--accent)
}

.sidebar .caption {
    padding: 3px 23px 24px;
    color: var(--muted);
    letter-spacing: 1.3px;
    font-size: 10px
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px
}

.sidebar nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 13px;
    color: var(--sub);
    background: transparent;
    font-weight: 600;
    border-radius: 10px;
    transition: background .15s, color .15s, box-shadow .15s
}

.sidebar nav a:hover {
    text-decoration: none
}

.sidebar nav a.active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px #dc26262d
}

.sidebar-foot {
    padding: 20px 22px;
    color: var(--muted)
}

main {
    flex: 1;
    min-width: 0
}

header {
    background: rgba(255, 255, 255, .86);
    height: auto;
    min-height: 82px;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border)
}

h1,
h2,
h3 {
    color: var(--text);
    letter-spacing: -.02em
}

header h1 {
    font-size: 23px;
    font-weight: 800
}

header p {
    color: var(--muted)
}

.content {
    padding: 26px 30px
}

.stat,
.panel {
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 2px 13px rgba(0, 0, 0, .025);
    background: var(--surface)
}

.stat {
    padding: 22px
}

.stat span {
    color: var(--muted)
}

.stat strong {
    color: var(--text);
    font-size: 29px
}

.panel-top {
    border-bottom: 1px solid var(--border)
}

.panel-top h2,
.formpanel h2 {
    color: var(--text);
    font-weight: 800
}

.btn,
.login-card button {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    border-radius: 10px;
    box-shadow: none
}

.btn:hover,
.login-card button:hover {
    background: var(--accent-h);
    border-color: var(--accent-h);
    color: #fff;
    text-decoration: none
}

.btn.outline {
    color: var(--sub);
    border-color: var(--border-gray);
    background: #fff
}

.btn.outline:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: #fecaca
}

th {
    background: #fafafa;
    color: var(--muted);
    font-weight: 700
}

td {
    color: var(--sub)
}

th,
td {
    border-bottom: 1px solid var(--border)
}

tr:hover td {
    background: #fdfdfd
}

.pill {
    background: var(--accent-light);
    color: var(--accent)
}

input,
select,
textarea {
    border-color: var(--border-gray);
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font)
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px #dc262618
}

.pages a,
.pages button {
    color: var(--accent)
}

.success {
    background: #ecfdf3;
    color: #15803d
}

.errors {
    background: #fef2f2;
    color: #b91c1c
}

.login-page {
    background: radial-gradient(circle at top right, #fee2e2 0, #f5f5f7 55%, #fff 100%)
}

.login-card {
    box-shadow: 0 22px 65px #991b1b19;
    border: 1px solid var(--border)
}

.login-card h1 {
    color: var(--text)
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

@media(max-width:950px) {
    .sidebar {
        width: 205px;
        flex-basis: 205px
    }
}

@media(max-width:650px) {
    .app {
        display: block
    }
    .sidebar {
        position: relative;
        height: auto;
        width: 100%;
        min-height: 0;
        padding: 8px 6px
    }
    .sidebar nav {
        flex-direction: row;
        overflow-x: auto
    }
    .sidebar nav a {
        white-space: nowrap
    }
    .sidebar .brand {
        padding: 10px 14px
    }
    .sidebar .caption,
    .sidebar-foot {
        display: none
    }
    .content {
        padding: 16px
    }
    header {
        padding: 16px
    }
}


/* Official Tower Assist logo from public/logo.png */

.sidebar .brand.brand-with-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-height: 72px;
    padding: 16px 18px 6px;
    letter-spacing: 0
}

.sidebar .brand.brand-with-logo::before {
    display: none;
    content: none
}

.sidebar .brand-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0
}

.sidebar .brand-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap
}

.sidebar .brand-name strong {
    color: var(--accent);
    font-weight: 800
}

.login-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px
}

.login-logo {
    width: 150px;
    height: 150px;
    object-fit: contain
}

.login-brand h1 {
    margin: 0;
    text-align: center
}

@media(max-width:650px) {
    .sidebar .brand.brand-with-logo {
        padding: 10px 14px
    }
    .sidebar .brand-logo {
        width: 39px;
        height: 39px
    }
}
/* Refined Tower Assist typography: Inter for English and numerals, Cairo for Arabic. */
:root{--font:'Inter','Cairo',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
body,input,select,textarea,button,.btn,table{font-family:var(--font)}
:lang(ar),[dir="rtl"],[dir="rtl"] input,[dir="rtl"] select,[dir="rtl"] button{font-family:'Cairo','Inter',sans-serif}
h1,h2,h3,.brand,.brand-name,.stat strong{letter-spacing:-.025em}

/* System-wide typography: applies to all Blade screens and component controls. */
:root{--font-en:'Inter',sans-serif;--font-ar:'Cairo',sans-serif;font-synthesis:none}
html,body,body *,body *::before,body *::after{font-family:var(--font-en),var(--font-ar),system-ui,sans-serif}
html[lang="ar"] body,html[lang="ar"] body *,[lang="ar"],[dir="rtl"],[dir="rtl"] *{font-family:var(--font-ar),var(--font-en),sans-serif}
button,input,textarea,select,option{font:inherit}
table,th,td,.stat strong{font-variant-numeric:tabular-nums}


/* Tower Assist typography v7: Manrope for headings & login; Inter for UI/data. */
:root{--font-en:'Inter',sans-serif;--font-heading:'Manrope',sans-serif;--font-ar:'Cairo',sans-serif}
html body,html body *{font-family:var(--font-en),var(--font-ar),sans-serif}
html body h1,html body h2,html body h3,html body h4,
html body .brand-name,html body .brand,html body .panel-top h2,
html body .stat strong{font-family:var(--font-heading),var(--font-ar),sans-serif;font-weight:750}
html body.login-page,html body.login-page *,
html body.login-page input,html body.login-page button,
html body.login-page label{font-family:var(--font-heading),var(--font-ar),sans-serif}
html body :lang(ar),html[lang="ar"] body,html[dir="rtl"] body,
html[dir="rtl"] body *{font-family:var(--font-ar),var(--font-en),sans-serif}
html body input,html body select,html body textarea,html body button{font-size:inherit}
html body table,html body th,html body td{font-variant-numeric:tabular-nums}

/* Login-specific redesign v9, overrides earlier global type rules */
html body.login-page{display:block;min-height:100vh;background:radial-gradient(circle at 82% 4%,#fee2e2,transparent 46%),#f5f5f7}
html body.login-page .login-shell{width:100%;min-height:100vh;padding:32px 18px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:21px}
html body.login-page .login-card{display:block;width:min(100%,450px);padding:39px 37px 32px;border:1px solid #ececf0;border-radius:21px;background:white;box-shadow:0 18px 50px #28202012}
html body.login-page .login-card,html body.login-page .login-card *,html body.login-page .login-footer{font-family:'DM Sans',sans-serif!important}
html body.login-page .login-brand h1,html body.login-page .login-intro h2{font-family:'Manrope',sans-serif!important}
html body.login-page .login-brand h1{font-weight:800;letter-spacing:-.055em;text-transform:none;font-size:27px}
html body.login-page .login-intro{text-align:center;margin:15px 0 25px}
html body.login-page .login-intro h2{font-size:19px;color:#202024;margin:0 0 5px}
html body.login-page .login-intro p{font-size:13px;color:#86868b;margin:0}
html body.login-page .login-card label{font-size:13px;font-weight:650;color:#35353c;gap:8px}
html body.login-page .login-card input:not([type=checkbox]){width:100%;height:46px;border-radius:10px;border:1px solid #dedee4;font-size:14px;padding:0 13px}
html body.login-page .login-card input:focus{border-color:#dc2626;box-shadow:0 0 0 3px #dc26261c}
html body.login-page .login-password-wrap{position:relative;display:block}
html body.login-page .login-password-wrap input{padding-right:67px!important}
html body.login-page .login-eye{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:auto!important;padding:8px;background:transparent;border:0;box-shadow:none;color:#b91c1c;font-weight:700;cursor:pointer}
html body.login-page .login-eye:hover{background:transparent;color:#991b1b}
html body.login-page .login-card .btn{height:46px;border-radius:10px}
html body.login-page .login-footer{text-align:center;font-size:11px;color:#95959d}
@media(max-width:500px){html body.login-page .login-card{padding:28px 23px}}

/* Dashboard composition inspired by Dawsha layout, using Tower Assist red theme */
.dw-dashboard{max-width:1500px;margin:0 auto;display:grid;gap:24px}
.dw-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.dw-eyebrow{font-size:10px;font-weight:800;letter-spacing:.14em;color:#c4262e;margin-bottom:7px}
.dw-heading h2{font-family:Manrope,Inter,sans-serif;font-size:25px;letter-spacing:-.04em;color:#182334;margin:0 0 6px}
.dw-heading p,.dw-section-title p{color:#8891a0;font-size:12px;margin:0}
.dw-primary-action{display:inline-flex;align-items:center;justify-content:center;padding:12px 17px;border-radius:10px;background:#dc2626;color:white!important;font-weight:700;font-size:12px;white-space:nowrap}
.dw-metrics-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.dw-metric-card,.dw-surface{background:#fff;border:1px solid #e9edf2;border-radius:15px;box-shadow:0 3px 16px rgba(37,48,71,.035)}
.dw-metric-card{display:block;padding:20px 21px;transition:transform .2s,box-shadow .2s}
.dw-metric-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(37,48,71,.07)}
.dw-metric-top{display:flex;justify-content:space-between;align-items:start;gap:8px;color:#6c7684;font-size:12px;font-weight:650}
.dw-metric-icon{display:grid;place-items:center;width:36px;height:36px;background:#fff1f2;border-radius:10px;color:#dc2626;font-size:20px}
.dw-metric-card strong{display:block;margin:15px 0 7px;font-size:30px;color:#1d2939;font-family:Manrope,Inter,sans-serif;font-weight:800;line-height:1}
.dw-metric-note{font-size:11px;color:#8b95a2}
.dw-insights-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:18px}
.dw-surface{padding:21px 23px}
.dw-section-title{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:23px}
.dw-section-title h3{font-family:Manrope,Inter,sans-serif;font-size:15px;font-weight:800;color:#202b3a;margin:0 0 6px}
.dw-tag{background:#fff1f2;color:#b91c1c;padding:6px 9px;border-radius:7px;font-size:10px;font-weight:750}
.dw-util-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#6d7785;margin:16px 0 9px}
.dw-util-row strong{font-size:14px;color:#273443}
.dw-progress{height:11px;overflow:hidden;background:#f2f4f7;border-radius:10px}
.dw-progress span{display:block;height:100%;background:#dc2626;border-radius:10px}
.dw-progress-muted span{background:#f4a3a9}
.dw-chart-foot{margin-top:21px;font-size:11px;color:#96a0af}
.dw-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:11px}
.dw-shortcuts a{display:flex;align-items:center;gap:9px;background:#f9fafb;border:1px solid #eef0f3;border-radius:10px;padding:14px 12px;color:#283344;font-size:11px;font-weight:700}
.dw-shortcuts a:hover{background:#fff1f2;border-color:#fecdd3}
.dw-shortcuts b{margin-left:auto;color:#dc2626;font-size:15px}
.dw-shortcut-icon{display:grid;place-items:center;background:white;color:#dc2626;width:28px;height:28px;border-radius:7px;font-size:16px}
.dw-recent{padding-bottom:9px}
.dw-text-link{color:#dc2626;font-size:12px;font-weight:750}
.dw-table{width:100%;border-collapse:collapse}
.dw-table thead{background:#f8fafc}
.dw-table th{font-size:11px;font-weight:750;color:#697484}
.dw-table td{font-size:12px;color:#566273}
.dw-table td strong{color:#263143}
.dw-table td,.dw-table th{padding:14px 12px;text-align:left}
.dw-empty{text-align:center!important;padding:34px!important;color:#8c94a2!important}
.dw-empty a{color:#dc2626}
.dw-disclaimer{margin:0;font-size:11px;color:#929ba8}
@media(max-width:1100px){.dw-metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dw-insights-grid{grid-template-columns:1fr}}
@media(max-width:600px){.dw-metrics-grid,.dw-shortcuts{grid-template-columns:1fr}.dw-heading{align-items:start;flex-direction:column}.dw-surface{padding:18px 14px}.dw-dashboard{gap:15px}}

/* Tower Assist dashboard-style global header v11 */
html body .ta-topbar{height:auto;min-height:100px;padding:20px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;border-bottom:1px solid #eceef2;box-shadow:0 2px 10px rgba(22,33,50,.025)}
html body .ta-header-left{min-width:0}
html body .ta-breadcrumb{font-family:Inter,sans-serif;font-size:10px;font-weight:800;letter-spacing:.105em;color:#9aa2b1;text-transform:uppercase;margin-bottom:10px}
html body .ta-breadcrumb span{color:#dc2626;margin:0 7px}
html body .ta-heading-line{display:flex;align-items:baseline;gap:17px;flex-wrap:wrap}
html body .ta-heading-line h1{font-family:Manrope,Inter,sans-serif!important;color:#1d2736;font-size:23px;line-height:1.2;font-weight:800;letter-spacing:-.04em}
html body .ta-heading-line p{font-family:Inter,sans-serif;margin:0;color:#8d96a4;font-size:12px}
html body .ta-header-right{display:flex;align-items:center;gap:16px;flex-shrink:0}
html body .ta-user-profile{display:flex;align-items:center;gap:10px;padding-right:17px;border-right:1px solid #e9edf2}
html body .ta-avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:12px;background:#fef2f2;color:#c51e2d;font-family:Manrope,sans-serif;font-size:16px;font-weight:800}
html body .ta-user-meta{display:flex;flex-direction:column;gap:3px}
html body .ta-user-meta strong{font-family:Inter,sans-serif;font-size:12px;font-weight:750;color:#283241;white-space:nowrap}
html body .ta-user-meta span{font-family:Inter,sans-serif;font-size:10px;color:#99a2af}
html body .ta-logout-btn{display:flex;align-items:center;gap:8px;border:1px solid #f3d5d8;background:#fff7f7;color:#c31d2c;padding:10px 13px;border-radius:10px;font-family:Inter,sans-serif;font-weight:750;font-size:11px;cursor:pointer;white-space:nowrap}
html body .ta-logout-btn:hover{background:#dc2626;color:#fff;border-color:#dc2626}
@media(max-width:900px){html body .ta-topbar{padding:18px 20px;align-items:flex-start}html body .ta-heading-line{gap:8px}}
@media(max-width:600px){html body .ta-topbar{flex-direction:column;align-items:stretch;gap:16px;padding:18px 16px}html body .ta-header-right{justify-content:space-between}html body .ta-heading-line p{font-size:11px}html body .ta-user-profile{padding-right:12px}html body .ta-heading-line h1{font-size:21px}}

/* Additional live dashboard statistics */
.dw-extra-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.dw-mini-stat{display:flex;flex-direction:column;gap:10px;background:#fff;border:1px solid #e9edf2;border-radius:13px;padding:17px 20px;box-shadow:0 3px 14px #252f4706}
.dw-mini-stat span{font-size:12px;color:#788493;font-weight:600}
.dw-mini-stat strong{font-family:Manrope,Inter,sans-serif;font-size:25px;color:#1e293b;font-weight:800}
a.dw-mini-stat:hover{border-color:#f4bdc1;background:#fffafa}
.dw-fleet-statuses{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:19px}
.dw-fleet-statuses>div{display:flex;align-items:center;gap:7px;font-size:11px;color:#677483}
.dw-fleet-statuses strong{margin-left:auto;font-size:12px;color:#293549}
.dw-dot{width:8px;height:8px;flex:0 0 8px;border-radius:50%}
.dw-green{background:#16a34a}.dw-amber{background:#f59e0b}.dw-grey{background:#94a3b8}
.dw-program-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.dw-program-card{min-width:0;padding:15px;border-radius:11px;border:1px solid #edf0f3;background:#fbfcfd}
.dw-program-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px;font-size:12px;color:#697587;font-weight:650}
.dw-program-top strong{font-size:20px;color:#243146;font-family:Manrope,Inter,sans-serif}
.dw-program-card small{display:block;margin-top:9px;color:#94a0ad;font-size:10px}
@media(max-width:1100px){.dw-extra-metrics,.dw-program-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.dw-extra-metrics,.dw-program-grid{grid-template-columns:1fr}.dw-fleet-statuses{grid-template-columns:1fr}}

/* Dashboard charts: CSS pie chart and responsive horizontal bar chart */
.dw-charts-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.dw-chart-panel{min-width:0}
.dw-pie-layout{display:flex;align-items:center;justify-content:space-around;gap:27px;padding:6px 0 12px}
.dw-pie{width:208px;height:208px;flex:0 0 208px;border-radius:50%;display:grid;place-items:center}
.dw-pie-center{width:125px;height:125px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 0 0 1px #f3f4f6}
.dw-pie-center strong{font:800 29px Manrope,Inter,sans-serif;color:#1c2939}
.dw-pie-center span{font-size:11px;color:#8390a0;margin-top:3px}
.dw-chart-legend{display:grid;gap:15px;min-width:175px;flex:1;max-width:250px}
.dw-chart-legend>div{display:grid;grid-template-columns:10px 1fr auto;align-items:center;column-gap:9px;row-gap:3px;font-size:12px;color:#5c6878}
.dw-legend-dot{width:9px;height:9px;border-radius:50%}
.dw-chart-legend strong{font-weight:750;color:#202d3e}
.dw-chart-legend small{grid-column:2/4;color:#99a3af;font-size:10px}
.dw-bar-chart{display:grid;gap:25px;margin:11px 0 12px}
.dw-bar-caption{display:flex;justify-content:space-between;align-items:center;margin-bottom:9px;gap:10px;font-size:12px;font-weight:650;color:#5f6b7b}
.dw-bar-caption strong{font-family:Manrope,Inter,sans-serif;color:#263348;font-size:14px}
.dw-bar-track{height:18px;border-radius:6px;background:#f4f5f7;overflow:hidden}
.dw-bar-track>span{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#f87171,#dc2626);min-width:0}
.dw-chart-help{font-size:10px;color:#96a1af;margin:20px 0 0}
@media(max-width:1200px){.dw-charts-grid{grid-template-columns:1fr}}
@media(max-width:560px){.dw-pie-layout{flex-direction:column}.dw-chart-legend{width:100%;max-width:260px}.dw-pie{width:190px;height:190px;flex-basis:190px}}

/* Header account dropdown */
.ta-user-dropdown{position:relative;min-width:0}
.ta-user-dropdown summary{list-style:none;cursor:pointer}
.ta-user-dropdown summary::-webkit-details-marker{display:none}
html body .ta-user-dropdown .ta-user-profile{display:flex;align-items:center;gap:11px;padding:8px 11px;border:1px solid transparent;border-radius:12px;transition:background .15s,border-color .15s}
html body .ta-user-dropdown .ta-user-profile:hover,html body .ta-user-dropdown[open] .ta-user-profile{background:#f8fafc;border-color:#e8ebef}
html body .ta-user-dropdown .ta-user-meta{display:flex;flex-direction:column;gap:3px}
html body .ta-user-dropdown .ta-chevron{font:700 18px Inter,sans-serif;color:#758092;margin-left:4px;transition:transform .15s}
html body .ta-user-dropdown[open] .ta-chevron{transform:rotate(180deg)}
html body .ta-user-menu{position:absolute;z-index:100;top:calc(100% + 10px);right:0;width:min(310px,calc(100vw - 28px));background:white;border:1px solid #e9edf2;border-radius:14px;box-shadow:0 20px 45px #17253624;padding:11px;overflow:hidden}
html body .ta-menu-account{display:flex;align-items:center;gap:12px;padding:10px 8px}
html body .ta-menu-account>div{min-width:0;display:flex;flex-direction:column;gap:5px}
html body .ta-menu-account strong{font:750 13px Inter,sans-serif;color:#202b39;overflow-wrap:anywhere}
html body .ta-menu-account small{font:400 11px Inter,sans-serif;color:#8893a1;overflow-wrap:anywhere}
html body .ta-menu-divider{height:1px;background:#edf0f4;margin:7px 0}
html body .ta-menu-logout{width:100%;display:flex;align-items:center;gap:10px;background:white;border:0;border-radius:9px;padding:12px;color:#be2635;font:750 12px Inter,sans-serif;cursor:pointer;text-align:left}
html body .ta-menu-logout:hover{background:#fff1f2}
html body .ta-user-dropdown summary:focus-visible{outline:2px solid #dc2626;outline-offset:3px}
@media(max-width:600px){html body .ta-user-dropdown .ta-user-profile{padding:6px 8px}html body .ta-user-dropdown .ta-user-meta strong{max-width:145px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}}

/* User dropdown account settings */
html body .ta-menu-link{display:flex;align-items:center;gap:13px;padding:12px;border-radius:9px;color:#354256;font:650 12px Inter,sans-serif;text-decoration:none}
html body .ta-menu-link:hover{background:#fff1f2;color:#b91c1c}
.ta-account-page{max-width:770px;margin:0 auto;display:grid;gap:20px}
.ta-account-intro h2{font:800 25px Manrope,Inter,sans-serif;color:#1e293b;margin:0 0 7px}
.ta-account-intro p{color:#8792a0;font-size:13px;margin:0}
.ta-account-tabs{display:flex;gap:8px;border-bottom:1px solid #e5e7eb;padding-bottom:10px}
.ta-account-tabs a{padding:10px 15px;color:#657387;font-weight:700;font-size:12px;border-radius:9px}
.ta-account-tabs a.active,.ta-account-tabs a:hover{background:#fff1f2;color:#dc2626}
.ta-account-panel{padding:30px;background:#fff;border:1px solid #e9edf2;border-radius:16px;box-shadow:0 5px 20px #25304709}
.ta-account-panel form{display:grid;gap:21px}
.ta-account-panel label{display:grid;gap:8px;font:650 13px Inter,sans-serif;color:#39465a}
.ta-account-panel input{height:45px;padding:11px 13px;border:1px solid #dce2e9;border-radius:10px;background:#fff;color:#293344;font:450 14px Inter,sans-serif;width:100%}
.ta-account-panel input:focus{outline:2px solid #fca5a5;outline-offset:1px;border-color:#dc2626}
.ta-account-panel small{font:400 11px Inter,sans-serif;color:#7d8999}
.ta-account-actions{display:flex;justify-content:flex-end;margin-top:5px}
@media(max-width:600px){.ta-account-panel{padding:20px}.ta-account-tabs{flex-wrap:wrap}}

/* Account dropdown visibility fix */
html body header.ta-topbar{position:relative;z-index:50;overflow:visible!important}
html body .ta-header-right,html body .ta-user-dropdown{overflow:visible!important}
html body .ta-user-dropdown[open]{z-index:100}
html body .ta-user-dropdown[open] .ta-user-menu{display:block!important;visibility:visible!important;opacity:1!important;z-index:999}
html body .ta-user-dropdown .ta-menu-link{display:flex!important;visibility:visible!important;opacity:1!important;width:100%;align-items:center;min-height:42px;color:#354256!important;background:transparent}
html body .ta-user-dropdown .ta-menu-link:hover{background:#fff1f2!important;color:#b91c1c!important}

/* Refined account profile experience */
.ta-profile-page{max-width:1180px;margin:0 auto;display:grid;gap:23px}
.ta-profile-heading{display:flex;justify-content:space-between;gap:18px;align-items:center}
.ta-profile-eyebrow{font:800 10px Inter,sans-serif;letter-spacing:.13em;color:#c02635}
.ta-profile-heading h2{font:800 27px Manrope,Inter,sans-serif;color:#222d3d;margin:8px 0}
.ta-profile-heading p{font-size:13px;color:#8693a3;margin:0}
.ta-profile-back{color:#b91c1c;font-size:12px;font-weight:750;white-space:nowrap}
.ta-profile-hero{position:relative;display:flex;align-items:center;gap:20px;padding:27px 31px;background:linear-gradient(115deg,#fff 50%,#fff1f2 100%);border:1px solid #ede8ec;border-radius:18px}
.ta-profile-avatar{display:grid;place-items:center;flex:0 0 74px;width:74px;height:74px;background:#dc2626;color:#fff;border-radius:20px;font:800 32px Manrope,sans-serif}
.ta-profile-identity h3{margin:0 0 5px;font:800 20px Manrope,Inter,sans-serif;color:#202b3a}
.ta-profile-identity p{font-size:13px;color:#7b8697;margin:0 0 10px;overflow-wrap:anywhere}
.ta-profile-identity>span{font-size:10px;color:#15803d;background:#dcfce7;border-radius:99px;padding:5px 10px;font-weight:750}
.ta-profile-columns{display:grid;grid-template-columns:260px minmax(0,1fr);align-items:start;gap:20px}
.ta-profile-nav,.ta-profile-panel{background:#fff;border:1px solid #e9edf2;border-radius:16px;box-shadow:0 3px 14px #26344808}
.ta-profile-nav{padding:18px 11px}
.ta-profile-nav h3{font:800 11px Inter,sans-serif;color:#97a1af;letter-spacing:.09em;text-transform:uppercase;margin:3px 13px 14px}
.ta-profile-nav>a{display:flex;align-items:center;gap:10px;color:#586778;padding:13px 12px;border-radius:9px;font-size:12px;font-weight:700}
.ta-profile-nav>a.active,.ta-profile-nav>a:hover{color:#b91c1c;background:#fff1f2}
.ta-nav-arrow{margin-left:auto;font-size:18px}
.ta-profile-nav-hint{border-top:1px solid #eff1f4;margin:15px 10px 0;padding-top:16px;font-size:11px;line-height:1.6;color:#96a0ad}
.ta-profile-panel{padding:29px}
.ta-profile-panel-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;padding-bottom:22px;border-bottom:1px solid #eef0f3;margin-bottom:25px}
.ta-profile-panel-heading h3{font:800 18px Manrope,Inter,sans-serif;color:#223044;margin:0 0 5px}
.ta-profile-panel-heading p{font-size:12px;color:#909aa7;margin:0}
.ta-profile-pill{font-size:10px;font-weight:750;color:#c02635;background:#fff1f2;border-radius:7px;padding:8px 11px}
.ta-profile-form{display:grid;gap:21px}
.ta-profile-field{display:grid;gap:9px}
.ta-profile-field label{font-size:12px;font-weight:750;color:#39485a}
.ta-profile-field label span{color:#dc2626}
.ta-profile-field input{height:48px;width:100%;border:1px solid #dae0e7;border-radius:10px;padding:0 13px;background:#fff;color:#273647;font:500 13px Inter,sans-serif}
.ta-profile-field input:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc262615}
.ta-profile-field small{font-size:11px;color:#929caa}
.ta-profile-form-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eef0f3;padding-top:22px;margin-top:5px}
.ta-profile-form-footer>a{font-size:12px;color:#c02635;font-weight:750}
.ta-profile-save{border:0;border-radius:9px;background:#dc2626;color:#fff;font:750 12px Inter,sans-serif;padding:13px 19px;cursor:pointer}
.ta-profile-save:hover{background:#b91c1c}
.ta-profile-success{padding:12px 15px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;border-radius:10px;font-size:12px;margin-bottom:18px}
@media(max-width:850px){.ta-profile-columns{grid-template-columns:1fr}.ta-profile-nav{display:flex;align-items:center;flex-wrap:wrap;gap:5px}.ta-profile-nav h3,.ta-profile-nav-hint{display:none}}
@media(max-width:550px){.ta-profile-heading{align-items:start;flex-direction:column}.ta-profile-hero{padding:20px;gap:13px}.ta-profile-avatar{width:57px;height:57px;flex-basis:57px;font-size:26px}.ta-profile-panel{padding:19px}.ta-profile-form-footer{flex-wrap:wrap}}

/* Password settings, matched with profile design */
.ta-password-input{position:relative}
.ta-password-input input{padding-right:76px}
.ta-password-input button{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:#fff1f2;color:#bd2431;border:0;border-radius:7px;padding:8px 12px;font:750 11px Inter,sans-serif;cursor:pointer}
.ta-password-input button:hover{background:#ffe4e6}
.ta-password-requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:5px}
.ta-password-requirements span{font-size:11px;color:#8b95a4;padding:8px 9px;background:#f8fafc;border-radius:8px}
.ta-password-requirements span::before{content:'○';margin-right:7px}
.ta-password-requirements span.met{background:#f0fdf4;color:#15803d}
.ta-password-requirements span.met::before{content:'✓'}
#password-match.met{color:#15803d;font-weight:700}
@media(max-width:550px){.ta-password-requirements{grid-template-columns:1fr}}

/* Vehicle registry and form v19 */
.ta-fleet-page{max-width:1500px;margin:0 auto;display:grid;gap:22px}
.ta-fleet-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.ta-fleet-heading h2{font:800 26px Manrope,Inter,sans-serif;color:#223044;letter-spacing:-.04em;margin:7px 0}
.ta-fleet-heading p{font-size:12px;color:#8592a2;margin:0}
.ta-fleet-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ta-fleet-stat,.ta-fleet-panel,.ta-fleet-guide{border-radius:15px;background:white;border:1px solid #e9edf2;box-shadow:0 4px 16px #25304708}
.ta-fleet-stat{padding:21px;display:grid;gap:10px}
.ta-fleet-stat span{font-size:12px;color:#768396;font-weight:600}
.ta-fleet-stat strong{font:800 29px Manrope,Inter,sans-serif;color:#263346}
.ta-fleet-panel{padding:24px}
.ta-fleet-panel-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:21px}
.ta-fleet-panel-title h3,.ta-fleet-guide h3,.ta-fleet-form-section h3{font:800 16px Manrope,Inter,sans-serif;color:#253245;margin:0 0 6px}
.ta-fleet-panel-title p,.ta-fleet-guide>p,.ta-fleet-form-section p{font-size:12px;color:#8c97a5;margin:0}
.ta-fleet-filters{display:grid;grid-template-columns:minmax(220px,2fr) minmax(140px,1fr) minmax(130px,1fr) auto auto;align-items:end;gap:12px;margin:0 0 22px}
.ta-fleet-filters label,.ta-fleet-form-grid label,.ta-fleet-field{display:grid;gap:7px;font-size:12px;color:#455366;font-weight:700}
.ta-fleet-filters input,.ta-fleet-filters select,.ta-fleet-form-grid input,.ta-fleet-form-grid select,.ta-fleet-field select,.ta-fleet-field textarea{width:100%;min-height:44px;border:1px solid #dce2e9;border-radius:9px;padding:10px 12px;background:white;color:#334155;font:500 13px Inter,sans-serif}
.ta-fleet-filters input:focus,.ta-fleet-filters select:focus,.ta-fleet-form-grid input:focus,.ta-fleet-form-grid select:focus,.ta-fleet-field select:focus,.ta-fleet-field textarea:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc262614}
.ta-fleet-reset{display:inline-flex;align-items:center;justify-content:center;padding:12px;color:#758294;font-size:12px;font-weight:750;border-radius:9px;text-decoration:none}
.ta-fleet-reset:hover{background:#f8fafc;color:#b91c1c}
.ta-fleet-table td{vertical-align:middle}
.ta-fleet-table td small{display:block;margin-top:5px;color:#98a2af;font-size:11px}
.ta-fleet-program{display:inline-flex;background:#f3f5f9;padding:7px 10px;border-radius:8px;color:#556273;font-size:11px;font-weight:700}
.ta-fleet-status{display:inline-block;padding:7px 10px;border-radius:50px;background:#f1f5f9;color:#64748b;font-size:11px;font-weight:700}
.ta-fleet-status.status-available{background:#dcfce7;color:#166534}
.ta-fleet-status.status-rented{background:#fee2e2;color:#b91c1c}
.ta-fleet-status.status-maintenance{background:#fef3c7;color:#92400e}
.ta-fleet-edit{color:#c02635;font-size:12px;font-weight:750}
.ta-fleet-pages{margin-top:17px}
.ta-fleet-guide{padding:22px 24px}
.ta-fleet-guide-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:21px 0 15px}
.ta-fleet-guide-grid>div{padding:15px;border:1px solid #eef0f3;border-radius:11px;background:#fafbfc;display:grid;align-content:start;gap:9px}
.ta-fleet-guide-grid strong{font-size:12px;color:#c02635}
.ta-fleet-guide-grid span,.ta-fleet-guide>small{font-size:11px;line-height:1.6;color:#778394}
.ta-fleet-form-page{max-width:1050px}
.ta-fleet-edit-panel{padding:30px}
.ta-fleet-form-section{margin:14px 0 20px;padding-bottom:14px;border-bottom:1px solid #eff1f4}
.ta-fleet-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px;margin-bottom:24px}
.ta-fleet-form-grid-2{grid-template-columns:repeat(2,minmax(0,1fr));margin:19px 0}
.ta-fleet-form-grid em,.ta-fleet-field em{color:#dc2626;font-style:normal}
.ta-fleet-form-grid small{font-size:10px;color:#96a0ac;font-weight:400}
.ta-program-help{padding:13px 15px;background:#fff6f6;border:1px solid #ffe0e0;border-radius:10px;color:#9e2632;font-size:12px;line-height:1.55;margin:12px 0 18px}
.ta-fleet-policy-note{font-size:11px;color:#8996a4;background:#f8fafc;border-radius:8px;padding:12px;margin:19px 0}
.ta-fleet-form-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;border-top:1px solid #eff1f4;padding-top:20px;margin-top:22px}
@media(max-width:1100px){.ta-fleet-stats,.ta-fleet-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ta-fleet-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.ta-fleet-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.ta-fleet-heading{align-items:start;flex-direction:column}.ta-fleet-stats,.ta-fleet-guide-grid,.ta-fleet-filters,.ta-fleet-form-grid,.ta-fleet-form-grid-2{grid-template-columns:1fr}.ta-fleet-panel,.ta-fleet-edit-panel,.ta-fleet-guide{padding:17px}.ta-fleet-form-actions{flex-wrap:wrap}}

/* Dedicated program management */
.ta-program-management{max-width:1500px;margin:auto;display:grid;gap:22px}
.ta-program-alert{padding:16px 19px;border:1px solid #fde2e4;border-radius:12px;background:#fffafa}
.ta-program-alert strong{font:800 13px Manrope,Inter,sans-serif;color:#9f2030}
.ta-program-alert p{font-size:12px;line-height:1.6;color:#75656a;margin:5px 0 0}
.ta-program-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ta-program-tile{min-width:0;background:#fff;border:1px solid #e9edf2;border-radius:15px;padding:23px;box-shadow:0 5px 20px #27334408}
.ta-program-tile-head,.ta-program-tile-bottom,.ta-program-tile-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ta-program-code{font-size:10px;font-weight:800;letter-spacing:.07em;color:#b91c1c;background:#fff1f2;padding:7px 9px;border-radius:8px}
.ta-program-counter{font-size:11px;color:#8490a0}
.ta-program-tile h3{font:800 19px Manrope,Inter,sans-serif;color:#253346;margin:19px 0 8px}
.ta-program-tile>p{font-size:12px;color:#7b8796;line-height:1.6;min-height:37px}
.ta-program-shares{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:19px 0}
.ta-program-shares>div{background:#f8fafc;border:1px solid #eef1f5;border-radius:10px;padding:14px;display:grid;gap:8px}
.ta-program-shares span{font-size:11px;color:#8b96a4}
.ta-program-shares strong{font:800 17px Manrope,Inter,sans-serif;color:#243248}
.ta-program-tile-bottom{font-size:11px;color:#7b8795;border-top:1px solid #eff1f5;padding-top:15px}
.ta-program-tile-actions{justify-content:flex-start;margin-top:16px}
.ta-program-tile-actions a{font-size:12px;font-weight:750;color:#bd2431;padding:9px 12px;background:#fff1f2;border-radius:8px}
.ta-program-tile-actions a:hover{background:#ffe4e6}
.ta-program-filter{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:20px}
.ta-program-filter label{font-size:12px;color:#5b697b;font-weight:700}
.ta-program-filter select{height:40px;min-width:200px;padding:9px 12px;border:1px solid #dce2e9;border-radius:9px;color:#344054;background:white}
@media(max-width:760px){.ta-program-cards{grid-template-columns:1fr}.ta-program-tile{padding:17px}}

/* Program Management v21 */
.ta-program-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ta-program-kpis>div{display:grid;gap:8px;background:#fff;border:1px solid #e9edf2;border-radius:15px;padding:20px;box-shadow:0 4px 16px #25304708}
.ta-program-kpis span{font:650 12px Inter,sans-serif;color:#788599}
.ta-program-kpis strong{font:800 29px Manrope,Inter,sans-serif;color:#253246}
.ta-program-kpis small{font-size:11px;color:#98a2b0}
.ta-program-toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px}
.ta-program-toolbar h3{font:800 18px Manrope,Inter,sans-serif;color:#263447;margin:0 0 5px}
.ta-program-toolbar p{font-size:12px;color:#8995a4;margin:0}
.ta-program-toolbar>span{padding:9px 12px;border-radius:9px;background:#fff1f2;color:#b91c1c;font-size:11px;font-weight:750}
.ta-program-progress{margin-bottom:20px}
.ta-program-progress>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#8b97a5;margin-bottom:9px}
.ta-program-progress strong{color:#bf2735}
.ta-program-progress-track{height:9px;border-radius:9px;background:#f3f4f6;overflow:hidden}
.ta-program-progress-track span{display:block;height:100%;background:linear-gradient(90deg,#f87171,#dc2626);border-radius:9px}
.ta-program-advanced{display:grid;grid-template-columns:minmax(160px,2fr) minmax(145px,1fr) minmax(130px,1fr) auto auto;align-items:end;gap:12px}
.ta-program-advanced label{display:grid;gap:7px}
.ta-program-advanced label span{font-size:11px;color:#6b7888;font-weight:750}
.ta-program-advanced input,.ta-program-advanced select{height:42px;min-width:0;width:100%;padding:9px 12px;border:1px solid #dce2e9;border-radius:9px;color:#344054;background:#fff;font:500 12px Inter,sans-serif}
.ta-program-advanced input:focus,.ta-program-advanced select:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc262615}
@media(max-width:1100px){.ta-program-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.ta-program-advanced{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:610px){.ta-program-kpis,.ta-program-advanced{grid-template-columns:1fr}.ta-program-toolbar{flex-direction:column;align-items:start}.ta-program-management .ta-fleet-heading{align-items:start;flex-direction:column}}

/* Customer creation and edit experience v22 */
.ta-customer-page{max-width:1320px;margin:0 auto;display:grid;gap:24px}
.ta-customer-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}
.ta-customer-heading h2{font:800 27px Manrope,Inter,sans-serif;color:#202d3e;letter-spacing:-.035em;margin:8px 0}
.ta-customer-heading p{font-size:12px;color:#8995a3;margin:0}
.ta-customer-content{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start;gap:22px}
.ta-customer-card,.ta-customer-aside{background:#fff;border:1px solid #e9edf2;border-radius:16px;box-shadow:0 5px 20px #25304708}
.ta-customer-card{padding:29px}
.ta-customer-section-heading{display:flex;align-items:center;gap:13px;margin-bottom:23px}
.ta-customer-section-heading h3{font:800 16px Manrope,Inter,sans-serif;color:#263449;margin:0 0 5px}
.ta-customer-section-heading p{font-size:12px;color:#929caa;margin:0}
.ta-customer-section-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:11px;background:#fff1f2;color:#bd2634;font:800 12px Manrope,Inter,sans-serif}
.ta-customer-second{margin-top:29px;padding-top:26px;border-top:1px solid #edf0f3}
.ta-customer-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 18px}
.ta-customer-field{display:grid;align-content:start;gap:9px;min-width:0}
.ta-customer-field.ta-customer-wide{grid-column:1 / -1}
.ta-customer-field label{font:750 12px Inter,sans-serif;color:#425066}
.ta-customer-field label span{color:#dc2626}
.ta-customer-field input,.ta-customer-field select,.ta-customer-field textarea{width:100%;min-height:47px;border:1px solid #dde3eb;border-radius:10px;padding:12px 13px;background:#fff;color:#283648;font:500 13px Inter,sans-serif}
.ta-customer-field textarea{resize:vertical;line-height:1.5}
.ta-customer-field input:focus,.ta-customer-field select:focus,.ta-customer-field textarea:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px #dc262615}
.ta-customer-field input::placeholder,.ta-customer-field textarea::placeholder{color:#a6aebb}
.ta-customer-field small{font-size:11px;color:#929eac}
.ta-customer-field em{font-size:11px;font-style:normal;color:#c02635}
.ta-customer-field .ta-customer-invalid{border-color:#dc2626;background:#fffafa}
.ta-customer-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;border-top:1px solid #edf0f3;margin-top:27px;padding-top:23px}
.ta-customer-cancel{display:inline-flex;padding:12px 18px;font-size:12px;font-weight:750;color:#6d7a8e;border:1px solid #e5e9ef;border-radius:9px}
.ta-customer-cancel:hover{background:#f8fafc;color:#b91c1c}
.ta-customer-aside{padding:25px}
.ta-customer-aside-icon{display:grid;place-items:center;height:47px;width:47px;border-radius:13px;background:#fff1f2;color:#dc2626;font-size:22px;margin-bottom:16px}
.ta-customer-aside h3{font:800 16px Manrope,Inter,sans-serif;color:#243347;margin:0 0 9px}
.ta-customer-aside>p{font-size:12px;line-height:1.7;color:#8290a0;margin:0 0 20px}
.ta-customer-tip{border-top:1px solid #edf0f3;padding:15px 0 0;margin-top:15px;display:grid;gap:7px}
.ta-customer-tip strong{font-size:12px;color:#435268}
.ta-customer-tip span{font-size:11px;line-height:1.6;color:#919dac}
@media(max-width:1000px){.ta-customer-content{grid-template-columns:1fr}.ta-customer-aside{display:none}}
@media(max-width:610px){.ta-customer-heading{align-items:start;flex-direction:column}.ta-customer-card{padding:19px}.ta-customer-fields{grid-template-columns:1fr}.ta-customer-form-actions{flex-wrap:wrap}}

/* Vehicle intake - four clearly defined operating sections */
.ta-vehicle-intake{max-width:1220px}
.ta-vehicle-intake-form{display:grid;gap:19px}
.ta-vehicle-intake-form>.ta-fleet-panel{padding:28px}
.ta-vehicle-section-head{display:flex;align-items:center;gap:14px;border-bottom:1px solid #eef0f3;padding-bottom:19px;margin-bottom:23px}
.ta-vehicle-section-head>span{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:12px;background:#fff1f2;color:#bd2634;font:800 16px Manrope,Inter,sans-serif}
.ta-vehicle-section-head h3{font:800 17px Manrope,Inter,sans-serif;color:#243347;margin:0 0 6px}
.ta-vehicle-section-head h3 small{font:600 11px Inter,sans-serif;color:#9a6670}
.ta-vehicle-section-head p{font-size:12px;color:#929dab;margin:0}
.ta-vehicle-intake .ta-fleet-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.ta-vehicle-intake .ta-fleet-form-grid label{min-width:0}
.ta-vehicle-intake .ta-fleet-form-grid label em{color:#dc2626}
.ta-vehicle-intake .ta-fleet-form-grid label small{font-size:11px;color:#919dac;line-height:1.5}
.ta-vehicle-span-all{grid-column:1/-1}
.ta-vehicle-intake .ta-fleet-form-grid textarea{min-height:93px;resize:vertical}
.ta-vehicle-insurance-note{background:#fff8f8;border:1px solid #ffe1e4;border-radius:10px;padding:13px 15px;font-size:12px;line-height:1.65;color:#9e3d48;margin-bottom:20px}
.ta-vehicle-program-link{font:750 12px Inter,sans-serif;color:#b91c1c}
.ta-vehicle-intake-actions{margin:0;padding:20px 3px 0;border:0}
@media(max-width:640px){.ta-vehicle-intake-form>.ta-fleet-panel{padding:18px}.ta-vehicle-intake .ta-fleet-form-grid{grid-template-columns:1fr}.ta-vehicle-section-head{align-items:start}}

.ta-review-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ta-review-actions form{display:flex;gap:5px;align-items:center;margin:0}.ta-review-actions input{max-width:155px;padding:8px;border:1px solid #ddd;border-radius:8px}.ta-review-actions button{padding:9px;border:none;border-radius:8px;cursor:pointer;font-weight:700}.ta-review-approve{background:#dcfce7;color:#166534}.ta-review-reject{background:#fee2e2;color:#991b1b}

/* Invoice builder & refund posting */
.ta-invoice-line{display:grid;grid-template-columns:minmax(170px,2fr) minmax(120px,1fr) auto;gap:12px;margin-bottom:12px;align-items:center}
.ta-invoice-line input,.ta-refund-post-form input{width:100%;padding:11px 12px;border:1px solid #dce2e9;border-radius:9px;background:#fff;color:#344054;font:500 12px Inter,sans-serif}
.ta-invoice-add{background:#fff1f2;color:#be2635;border:1px solid #fecdd3;border-radius:9px;padding:10px 14px;font-weight:750;font-size:12px;cursor:pointer}
.ta-invoice-remove{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:10px;font-size:11px;cursor:pointer}
.ta-refund-post-form{display:grid;min-width:230px;gap:6px}
@media(max-width:640px){.ta-invoice-line{grid-template-columns:1fr}.ta-refund-post-form{min-width:180px}}

/* Sidebar: hovering must not change link colors or background. */
.sidebar nav a:not(.active):hover{background:transparent;color:var(--sub)}
.sidebar nav a.active:hover{background:var(--accent);color:#fff}


/* Grouped Tower Assist navigation */
.sidebar .ta-nav{padding:10px 12px 22px;gap:3px}
.sidebar .ta-nav-section{padding:18px 13px 5px;font-size:10px;letter-spacing:1.45px;font-weight:800;color:#9ba0aa;text-transform:uppercase}
.sidebar .ta-nav-section:first-child{padding-top:7px}
.sidebar .ta-nav a{display:flex;gap:12px;align-items:center;font-size:13px;line-height:1.4;border-radius:10px}
.sidebar .ta-nav a span{flex:1}
.sidebar .ta-nav a.active{box-shadow:0 3px 10px rgba(220,38,38,.13)}
.sidebar .ta-nav a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:650px){.sidebar .ta-nav{display:flex;flex-direction:row;overflow-x:auto;padding:8px;gap:6px}.sidebar .ta-nav-section{display:none}.sidebar .ta-nav a{flex-shrink:0}}


/* Collapsible desktop navigation and mobile drawer */
.ta-header-left{display:flex;align-items:center;gap:15px;min-width:0}
.ta-header-copy{min-width:0}
.ta-menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;border:1px solid var(--border-gray,#e5e5ea);border-radius:11px;background:#fff;color:var(--text,#1d1d1f);cursor:pointer}
.ta-menu-toggle:hover{background:var(--accent-light,#fef2f2);color:var(--accent,#dc2626)}
.ta-menu-toggle:focus-visible{outline:2px solid var(--accent,#dc2626);outline-offset:2px}
.ta-sidebar-backdrop{display:none}
@media(min-width:651px){
 body.ta-nav-collapsed .sidebar{width:70px;flex-basis:70px;overflow-x:hidden}
 body.ta-nav-collapsed .sidebar .brand{padding:19px 12px 0;white-space:nowrap;font-size:0}
 body.ta-nav-collapsed .sidebar .brand-logo{max-width:40px;height:auto}
 body.ta-nav-collapsed .sidebar .brand-name,
 body.ta-nav-collapsed .sidebar .caption,
 body.ta-nav-collapsed .sidebar .ta-nav-section,
 body.ta-nav-collapsed .sidebar .ta-nav a span,
 body.ta-nav-collapsed .sidebar .sidebar-foot{display:none}
 body.ta-nav-collapsed .sidebar .ta-nav a{font-size:18px;justify-content:center;padding:11px 6px}
 body.ta-nav-collapsed .sidebar .ta-nav{padding:10px 7px}
}
@media(max-width:650px){
 .sidebar{position:fixed!important;top:0;left:0;bottom:0;width:min(300px,85vw)!important;height:100dvh!important;overflow-y:auto;z-index:1002;transform:translateX(-105%);transition:transform .22s ease;background:#fff}
 .sidebar .ta-nav{display:flex;flex-direction:column;overflow:visible;padding:10px 12px 22px}
 .sidebar .ta-nav-section{display:block}
 .sidebar .ta-nav a{white-space:normal;flex-shrink:1}
 body.ta-mobile-nav-open .sidebar{transform:translateX(0)}
 body.ta-mobile-nav-open .ta-sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(15,23,42,.44);z-index:1001;border:0;cursor:pointer}
 body.ta-mobile-nav-open{overflow:hidden}
 .ta-header-left{gap:10px}
 .ta-menu-toggle{flex-basis:38px;width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none!important}}
