@font-face {
    font-family: TibyanSans;
    src: url('/fonts/manrope-latin.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: TibyanArabic;
    src: url('/fonts/noto-sans-arabic.woff2') format('woff2');
    font-display: swap;
}

:root {
    --background: #ffffff;
    --foreground: #142d45;
    --primary: #123454;
    --primary-foreground: #ffffff;
    --primary-50: #eef7ff;
    --neutral-50: #f6f8fb;
    --neutral-100: #eef3f8;
    --neutral-200: #dce5ed;
    --neutral-500: #667085;
    --neutral-600: #475467;
    --neutral-900: #101828;
    --info-50: #eff6ff;
    --info-200: #bfdbfe;
    --info-700: #1d4ed8;
    --success-50: #ecfdf3;
    --success-200: #abefc6;
    --success-700: #067647;
    --warning-50: #fffaeb;
    --warning-200: #fedf89;
    --warning-700: #b54708;
    --danger-50: #fff1f0;
    --danger-200: #fecdca;
    --danger-700: #b42318;
    --muted: #eef3f8;
    --muted-foreground: #586b7c;
    --border: #dce5ed;
    --accent: #e84049;
    --soft: #f6f8fb;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--foreground);
    background: var(--background);
    font-family: TibyanSans, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
}
[dir="rtl"] body { font-family: TibyanArabic, TibyanSans, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
p { color: var(--muted-foreground); margin: 0; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -0.045em; font-weight: 500; margin: 0; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; font-weight: 700; }
h2 { font-size: clamp(2.1rem, 3.45vw, 3.3rem); }
h3 { letter-spacing: -0.025em; }
h1 em, h2 em { color: var(--primary); font-family: Georgia, 'Times New Roman', serif; font-weight: 400; letter-spacing: -0.055em; }
.skip-link { position: absolute; left: 12px; top: 12px; z-index: 100; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); background: #fff; padding: 0; }
.skip-link:focus { width: auto; height: auto; overflow: visible; clip-path: none; padding: 10px; }
.section-width { max-width: 1240px; width: calc(100% - 112px); margin-inline: auto; }
.section-space { padding-block: 106px; }
.eyebrow {
    display: block;
    margin-bottom: 22px;
    color: var(--primary);
    font-size: .6875rem;
    font-weight: 800;
    letter-spacing: .19em;
    text-transform: uppercase;
}
.button, button.button {
    display: inline-flex;
    min-height: 53px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px solid var(--primary);
    border-radius: 7px;
    background: var(--primary);
    color: #fff;
    padding: 14px 24px;
    font-size: .8125rem;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
}
.button:hover { background: #1b4c77; border-color: #1b4c77; box-shadow: 0 5px 18px #12345417; }
.button:disabled,
.button.is-submitting {
    opacity: .72;
    cursor: progress;
    box-shadow: none;
}
.button.is-submitting::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: tibyan-spin .7s linear infinite;
}
.button.secondary { background: #fff; color: var(--primary); border-color: var(--border); }
.button.danger { background: #b42318; border-color: #b42318; color: #fff; }
.button.danger:hover { background: #912018; border-color: #912018; }
.nav-cta { background: var(--accent); border-color: var(--accent); }
.nav-cta:hover { background: #c72e3b; border-color: #c72e3b; }
.whatsapp-button { background: #1f7a4d; border-color: #1f7a4d; }
.whatsapp-button:hover { background: #17623d; border-color: #17623d; }
.button:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #9fc4e6; outline-offset: 3px; }
@keyframes tibyan-spin { to { transform: rotate(360deg); } }

.ui-page { display: grid; gap: 24px; }
.ui-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.ui-page-header h1 { font-size: clamp(1.5rem, 2vw, 2rem); font-weight: 700; letter-spacing: 0; }
.ui-page-header p { max-width: 780px; font-size: .9rem; }
.ui-page-actions,
.ui-card-actions,
.ui-table-toolbar,
.ui-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.ui-card,
.ui-table-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}
.ui-card-header,
.ui-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}
.ui-card-header h2 { font-size: 1rem; font-weight: 800; letter-spacing: 0; }
.ui-card-body { padding: 16px; }
.ui-card-footer { border-top: 1px solid var(--border); border-bottom: 0; }
.ui-table-toolbar,
.ui-table-footer {
    padding: 12px 16px;
}
.ui-table-toolbar { border-bottom: 1px solid var(--border); }
.ui-table-footer { border-top: 1px solid var(--border); }
.ui-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    white-space: nowrap;
}
.ui-sort-link:hover { color: var(--primary); }
.ui-sort-arrows {
    display: inline-grid;
    gap: 2px;
}
.ui-sort-arrow {
    width: 0;
    height: 0;
    border-inline: 4px solid transparent;
    opacity: .34;
}
.ui-sort-arrow-up { border-bottom: 5px solid currentColor; }
.ui-sort-arrow-down { border-top: 5px solid currentColor; }
.ui-sort-link.is-asc .ui-sort-arrow-up,
.ui-sort-link.is-desc .ui-sort-arrow-down {
    opacity: 1;
}
.ui-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: .8125rem;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
}
.ui-button-sm { min-height: 32px; padding: 6px 10px; font-size: .75rem; }
.ui-button-icon { width: 40px; min-width: 40px; padding: 0; }
.ui-button-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.ui-button-primary:hover { background: #1b4c77; border-color: #1b4c77; }
.ui-button-secondary { background: #fff; border-color: var(--border); color: var(--primary); }
.ui-button-secondary:hover,
.ui-button-ghost:hover { background: var(--neutral-100); }
.ui-button-ghost { background: transparent; color: var(--primary); }
.ui-button-danger { background: var(--danger-700); border-color: var(--danger-700); color: #fff; }
.ui-button-danger-ghost { background: transparent; color: var(--danger-700); }
.ui-button:disabled { opacity: .65; cursor: not-allowed; }
.ui-badge {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 3px 9px;
    font-size: .75rem;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
}
.ui-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}
.ui-badge-neutral { background: var(--neutral-100); border-color: var(--neutral-200); color: var(--neutral-600); }
.ui-badge-info { background: var(--info-50); border-color: var(--info-200); color: var(--info-700); }
.ui-badge-success { background: var(--success-50); border-color: var(--success-200); color: var(--success-700); }
.ui-badge-warning { background: var(--warning-50); border-color: var(--warning-200); color: var(--warning-700); }
.ui-badge-danger { background: var(--danger-50); border-color: var(--danger-200); color: var(--danger-700); }
.ui-stat {
    display: grid;
    min-height: 96px;
    align-content: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    color: var(--foreground);
    padding: 14px;
}
.ui-stat span { color: var(--neutral-600); font-size: .75rem; font-weight: 900; text-transform: uppercase; }
[dir="rtl"] .ui-stat span { text-transform: none; }
.ui-stat strong { font-size: 1.5rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.ui-stat small { color: var(--neutral-500); font-size: .75rem; }
.ui-stat i {
    display: block;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--neutral-200);
}
.ui-stat i::before {
    content: "";
    display: block;
    width: var(--progress);
    height: 100%;
    background: var(--success-700);
}
.ui-stat-warning { border-inline-start: 4px solid var(--warning-700); }
.ui-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: .9rem;
    font-weight: 700;
}
.ui-alert-info { background: var(--info-50); border-color: var(--info-200); color: var(--info-700); }
.ui-alert-success { background: var(--success-50); border-color: var(--success-200); color: var(--success-700); }
.ui-alert-warning { background: var(--warning-50); border-color: var(--warning-200); color: var(--warning-700); }
.ui-alert-danger { background: var(--danger-50); border-color: var(--danger-200); color: var(--danger-700); }
.ui-alert-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid currentColor;
    border-radius: 999px;
    margin-top: 2px;
}
.ui-empty {
    display: grid;
    min-height: 180px;
    place-items: center;
    align-content: center;
    gap: 10px;
    padding: 24px;
    text-align: center;
}
.ui-empty h2 { font-size: 1.1rem; font-weight: 800; letter-spacing: 0; }
.ui-empty-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--neutral-100);
}
.ui-avatar {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
}
.money-cell,
.numeric-cell { text-align: end; font-variant-numeric: tabular-nums; }
.fleet-shell {
    display: grid;
    gap: 18px;
}
.fleet-toolbar {
    align-items: center;
    margin-bottom: 0;
}
.fleet-primary-actions {
    align-items: center;
    justify-content: flex-end;
}
.fleet-kpis {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.fleet-workspace {
    display: grid;
    gap: 16px;
    padding: 16px;
}
.fleet-tab-shell { display: grid; gap: 10px; }
.fleet-tab-list { margin-bottom: 0; }
.fleet-tab-shell .fleet-tab-select,
.master-tab-shell .master-tab-select { display: none; margin: 0; }
.fleet-compact-filters .filters-grid,
.fleet-log-filters .filters-grid {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
}
.fleet-drawer { display: inline-block; }
.fleet-drawer > summary {
    list-style: none;
    cursor: pointer;
}
.fleet-drawer > summary::-webkit-details-marker { display: none; }
.fleet-drawer[open] > summary::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(18, 52, 84, .36);
}
.fleet-drawer-panel {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 100;
    width: min(560px, 94vw);
    overflow-y: auto;
    background: #fff;
    box-shadow: -18px 0 46px rgba(18, 52, 84, .18);
}
[dir="rtl"] .fleet-drawer-panel {
    box-shadow: 18px 0 46px rgba(18, 52, 84, .18);
}
.fleet-drawer-card {
    display: grid;
    gap: 16px;
    padding: 18px;
}
.fleet-drawer-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
}
.fleet-drawer-head h2 { font-size: 1.35rem; letter-spacing: 0; }
.fleet-drawer-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.form-section {
    display: grid;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fbfdff;
    padding: 14px;
}
.form-section h3 {
    font-size: .9rem;
    font-weight: 900;
    letter-spacing: 0;
}
.fleet-row-detail > summary {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
    list-style: none;
    cursor: pointer;
}
.fleet-row-detail > summary::-webkit-details-marker { display: none; }
.fleet-row-panel {
    display: grid;
    gap: 12px;
    min-width: min(520px, 80vw);
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fbfdff;
    padding: 12px;
}
.fleet-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.fleet-row-actions {
    align-items: flex-start;
}
.fleet-row-actions form {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.fleet-driver-field {
    min-width: min(220px, 100%);
    margin-bottom: 0;
}
.fleet-confirm-label {
    display: inline-flex;
    max-width: 240px;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.35;
}
.fleet-log-filters {
    margin: 0 0 14px;
}
.ui-field {
    display: grid;
    gap: 7px;
    color: var(--foreground);
    font-size: .875rem;
    font-weight: 800;
}
.ui-field b { color: var(--danger-700); }
.ui-field small { color: var(--neutral-500); font-size: .75rem; font-weight: 700; }
.ui-field-error {
    color: var(--danger-700);
    font-size: .8rem;
    font-weight: 800;
}
.ui-input,
.ui-select,
.ui-textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--foreground);
    padding: 10px 12px;
}
.ui-textarea { min-height: 96px; resize: vertical; }
.ui-dropdown { position: relative; }
.ui-dropdown > summary {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    list-style: none;
}
.ui-dropdown > summary::-webkit-details-marker { display: none; }
.ui-dropdown-panel {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 90;
    display: grid;
    min-width: 190px;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 18px 44px rgba(18, 52, 84, .17);
}
.ui-dropdown-panel > * {
    display: flex;
    min-height: 36px;
    align-items: center;
    border-radius: 8px;
    padding: 8px;
    font-size: .85rem;
    font-weight: 800;
}
.ui-dropdown-panel > *:hover { background: var(--neutral-100); }
.ui-tabs { display: grid; gap: 16px; }
.ui-tab-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
}
.ui-tab {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--neutral-600);
    padding: 8px 10px;
    font-size: .875rem;
    font-weight: 900;
    white-space: nowrap;
    cursor: pointer;
}
.ui-tab.active,
.ui-tab:hover {
    border-bottom-color: var(--primary);
    color: var(--primary);
}
.ui-tab small {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    background: var(--neutral-100);
    color: inherit;
    padding: 0 7px;
    font-size: .75rem;
}

.announcement {
    display: flex;
    justify-content: center;
    gap: 25px;
    background: var(--primary);
    color: #edf5ff;
    padding: 9px 24px;
    font-size: .6875rem;
    letter-spacing: .015em;
}
.announcement a { border-bottom: 1px solid #a5bed4; }
.landing-header {
    position: relative;
    z-index: 20;
    max-width: 1440px;
    margin: auto;
    padding: 18px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: #fff;
}
.brand-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-logo img { width: 76px; height: 76px; border-radius: 10px; object-fit: cover; object-position: 50% 22%; display: block; }
.landing-nav { display: flex; gap: 29px; font-size: .8125rem; font-weight: 650; }
.landing-nav a:hover, .landing-footer a:hover { color: #c72e3b; }
.header-ctas { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.nav-cta, .nav-whatsapp { min-height: 43px; padding: 11px 17px; font-size: .75rem; }
.language-toggle { display: inline-flex; align-items: center; min-height: 43px; border: 0; padding: 10px 14px; border-radius: 7px; background: transparent; color: var(--primary); font-size: .75rem; font-weight: 900; cursor: pointer; }
.language-toggle:hover { background: var(--muted); }
.language-toggle[aria-disabled="true"] { cursor: default; opacity: .82; }

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding-top: 47px;
    padding-bottom: 68px;
    align-items: center;
}
[dir="rtl"] .hero { grid-template-columns: 1.05fr .95fr; }
.hero-copy { padding: 10px 0 16px; }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; font-size: .625rem; }
.little-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: clamp(3.3rem, 5.1vw, 5rem); line-height: 1.075; letter-spacing: -0.065em; margin-bottom: 23px; }
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero h1 em { font-size: 1.15em; line-height: 1.06; }
.hero-detail { max-width: 560px; font-size: 1.06rem; margin-bottom: 29px; }
.hero-actions, .final-cta-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-reassurance { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: #304f68; font-size: .86rem; font-weight: 700; }
.hero-visual {
    position: relative;
    min-height: 560px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--muted);
    box-shadow: 0 28px 80px #1234541f;
}
.hero-visual > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; display: block; }
.image-caption {
    position: absolute;
    left: 22px;
    top: 22px;
    border-radius: 999px;
    background: #ffffffde;
    padding: 7px 12px;
    color: var(--primary);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}
[dir="rtl"] .image-caption { right: 22px; left: auto; }
.hero-cycle {
    position: absolute;
    right: 24px;
    bottom: 104px;
    width: min(270px, 58%);
}
.hero-cycle-slide {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 4px;
    border-radius: 8px;
    background: #fffffff0;
    padding: 16px;
    box-shadow: 0 18px 40px #0b223a2b;
}
.hero-cycle-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; }
.hero-cycle-slide strong, .hero-cycle-slide small, .hero-cycle-icon, .hero-cycle-logo { position: relative; z-index: 1; }
.hero-cycle-logo img { width: 38px; height: 38px; object-fit: contain; }
.hero-cycle-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 900; }
.hero-cycle-slide small { color: var(--muted-foreground); }
.parcel-card {
    position: absolute;
    left: 24px;
    bottom: 28px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-radius: 8px;
    background: #fff;
    padding: 16px;
    box-shadow: 0 17px 40px #0b223a26;
}
.parcel-card div { display: grid; gap: 2px; flex: 1; }
.parcel-card span { color: var(--muted-foreground); font-size: .86rem; }
.card-icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--muted); border-radius: 50%; color: var(--primary) !important; }
.round-stamp {
    position: absolute;
    left: -18px;
    top: 36px;
    width: 128px;
    height: 128px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    text-align: center;
    font-size: .62rem;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.service-paths {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 80px;
}
.service-path {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.service-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; }
.text-button, .text-link { display: inline-flex; margin-top: 16px; color: var(--primary); font-weight: 800; }

.partners-section { padding: 78px 0; background: #f4f8fb; overflow: hidden; }
.partners-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 34px; }
.partners-heading p { max-width: 360px; }
.partners-intro { display: grid; justify-items: start; gap: 14px; }
.partners-marquee { overflow: hidden; }
.partners-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
.partner-card {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 18px;
}
.partner-logo-placeholder { width: 92px; height: 56px; display: grid; place-items: center; background: #fff; }
.partner-logo-placeholder img { max-width: 100%; max-height: 100%; object-fit: contain; }
.partner-copy { display: grid; }
.partner-copy small { color: var(--muted-foreground); }
@keyframes marquee { to { transform: translateX(-50%); } }

.industry-strip { background: var(--primary); color: #fff; padding: 34px 0; }
.industry-strip .section-width { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.industry-strip p, .industry-strip strong { color: #fff; }
.industry-strip p { margin-right: auto; font-size: 1.45rem; line-height: 1.2; }
[dir="rtl"] .industry-strip p { margin-right: 0; margin-left: auto; }
.industry-strip span { border: 1px solid #ffffff33; border-radius: 999px; padding: 9px 14px; font-size: .86rem; }
.strip-stats { display: flex; gap: 14px; margin: 0; padding: 0; }
.strip-stats div { min-width: 92px; border-right: 1px solid #ffffff2e; padding-right: 14px; }
.strip-stats dt { color: #d9e5ef; font-size: .68rem; font-weight: 800; }
.strip-stats dd { margin: 2px 0 0; color: #fff; font-size: 1.45rem; font-weight: 900; line-height: 1; }

.request-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; padding: 88px 0; }
.request-copy { display: grid; gap: 18px; }
.map-card { display: grid; gap: 6px; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 18px; color: var(--primary); }
.map-card span { color: var(--muted-foreground); font-size: .9rem; }
.request-card { display: grid; gap: 16px; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 22px; box-shadow: 0 18px 42px #12345414; }
.request-card .button { width: 100%; }
.request-card fieldset { display: grid; gap: 10px; margin: 0; border: 0; padding: 0; }
.request-card legend { margin-bottom: 2px; font-weight: 900; }
.choice { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); border-radius: 8px; padding: 12px; font-weight: 800; cursor: pointer; }
.choice:has(input:checked) { border-color: #9dcbb5; background: #f0faf4; }
.choice small { display: block; color: var(--muted-foreground); font-size: .78rem; font-weight: 700; }
.journey-section { background: #fff; }
.journey-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.journey-steps article { border: 1px solid var(--border); border-radius: 8px; background: var(--soft); padding: 20px; }
.journey-steps span { color: var(--accent); font-size: .78rem; font-weight: 900; }

.section-heading { margin-bottom: 32px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit {
    display: grid;
    gap: 16px;
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.benefit-top { display: flex; justify-content: space-between; color: var(--primary); }
.benefit p { margin-top: auto; }

.dashboard-preview {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 30px;
    align-items: center;
    padding: 72px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.preview-panel {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 22px;
    box-shadow: 0 18px 45px #12345412;
}
.preview-top, .preview-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.preview-row:last-of-type { margin-bottom: 18px; }

.industries-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.industry-intro p { max-width: 340px; margin-top: 14px; }
.industry-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.industry-panel { border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 22px; }
.industry-panel h3 { margin-bottom: 10px; }

.coverage-section { background: #f4f8fb; padding: 88px 0; }
.coverage-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: start; }
.coverage-result {
    display: flex;
    gap: 14px;
    margin-top: 26px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}
.coverage-result small { display: block; color: var(--muted-foreground); }
.coverage-list { display: grid; gap: 8px; }
.coverage-row {
    display: grid;
    grid-template-columns: 52px 1fr auto auto;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 14px 16px;
    font-weight: 800;
}
.emirate-number { color: #8292a0; font-size: .78rem; }
.coverage-tag { border-radius: 999px; background: #e5f4ed; color: #1f7a4d; padding: 5px 10px; font-size: .72rem; }
.coverage-list p { margin-top: 16px; }

.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list p { margin-top: 10px; }
.final-cta {
    margin-bottom: 80px;
    padding: 78px 42px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    text-align: center;
}
.final-cta .eyebrow, .final-cta p, .final-cta h2, .final-cta em { color: #fff; }
.final-cta h2 { margin-bottom: 18px; }
.final-cta-buttons { justify-content: center; margin-top: 24px; }
.light-button { background: #fff; color: var(--primary); border-color: #fff; }
.cta-foot { display: inline-flex; margin-top: 22px; color: #d5e2ee; }

.landing-footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-top nav { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: .86rem; font-weight: 700; }
.footer-contact { min-height: 40px; padding: 10px 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 24px; color: var(--muted-foreground); font-size: .82rem; }
.contact-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #1f7a4d;
    color: #fff;
    padding: 12px 16px;
    font-size: .82rem;
    font-weight: 800;
    box-shadow: 0 14px 32px #1234542b;
}
[dir="rtl"] .contact-float { right: auto; left: 18px; }

.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(18, 52, 84, .05);
}
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 28px 0; background: var(--soft); }
.auth-card { width: min(460px, calc(100% - 32px)); }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; color: var(--foreground); font-weight: 900; text-align: center; }
.auth-brand img { width: 58px; height: 58px; border-radius: 10px; object-fit: cover; object-position: 50% 22%; display: block; }
.auth-card > .page-title { text-align: center; }
.auth-card button.auth-submit { display: flex; width: fit-content; margin-inline: auto; }
.field { display: grid; gap: 7px; margin-bottom: 14px; font-weight: 800; }
.input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: 8px; background: #fff; padding: 11px 12px; color: var(--foreground); }
.area-picker { align-content: start; }
.area-picker-search { margin-bottom: 2px; }
.area-picker-select { min-height: 46px; }
.area-picker-hint { color: var(--muted-foreground); font-size: 12px; font-weight: 700; line-height: 1.35; }
.error { color: #b42318; font-size: 13px; margin-top: 4px; }
.status { border: 1px solid #b7ebc6; background: #ecfdf3; color: #067647; padding: 10px 12px; border-radius: 8px; margin-bottom: 14px; }
.app-layout { display: grid; grid-template-columns: 72px minmax(0, 1fr); min-height: 100vh; background: var(--soft); }
.app-layout.sidebar-expanded { grid-template-columns: 250px minmax(0, 1fr); }
.sidebar {
    position: sticky;
    top: 0;
    z-index: 60;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid var(--border);
    background: #fff;
    padding: 14px 10px;
}
.app-layout.sidebar-expanded .sidebar { padding: 20px; box-shadow: 18px 0 38px rgba(18, 52, 84, .08); }
.sidebar-top { display: grid; justify-items: center; gap: 8px; }
.app-layout.sidebar-expanded .sidebar-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sidebar .brand { display: flex; min-width: 0; justify-content: center; align-items: center; gap: 12px; padding: 0; color: var(--foreground); }
.app-layout.sidebar-expanded .sidebar .brand { justify-content: flex-start; padding: 0 0 14px; }
.sidebar .brand:hover { background: transparent; color: var(--foreground); box-shadow: none; }
.sidebar .brand img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; object-position: 50% 22%; }
.app-layout.sidebar-expanded .sidebar .brand img { width: 48px; height: 48px; }
.sidebar .brand span { display: none; }
.app-layout.sidebar-expanded .sidebar .brand span { display: inline; }
.sidebar nav { display: grid; gap: 4px; margin-top: 12px; }
.app-layout.sidebar-expanded .sidebar nav { gap: 6px; margin-top: 24px; }
.sidebar a { justify-content: center; min-height: 44px; padding: 10px; border-radius: 8px; color: var(--muted-foreground); font-weight: 800; }
.app-layout.sidebar-expanded .sidebar a { justify-content: flex-start; padding: 10px 12px; }
.sidebar a:hover, .sidebar a.active { background: var(--primary); color: #fff; }
.sidebar-toggle {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    cursor: pointer;
}
.sidebar-toggle:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(18, 52, 84, .1); }
.nav-link { display: flex; min-width: 0; min-height: 44px; align-items: center; gap: 0; }
.app-layout.sidebar-expanded .nav-link { gap: 10px; }
.ui-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.nav-text { display: none; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-layout.sidebar-expanded .nav-text { display: inline; }
.sidebar-label { display: none; margin: 16px 12px 2px; color: #8b9aaa; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.app-layout.sidebar-expanded .sidebar-label { display: inline; }
.main { position: relative; min-width: 0; padding: 24px; background: var(--soft); }
.mobile-tabbar { display: none; }
.app-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; }
.page-title { margin: 0 0 12px; font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: 0; }
.header-actions { flex-wrap: nowrap; justify-content: flex-end; }
.header-icon-button,
.profile-trigger {
    position: relative;
    display: inline-flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    padding: 10px 12px;
    cursor: pointer;
}
.header-icon-button:hover,
.profile-trigger:hover { border-color: var(--primary); box-shadow: 0 6px 18px rgba(18, 52, 84, .1); }
.notification-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: #f04438;
    color: #fff;
    padding: 0 5px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}
.profile-menu { position: relative; }
.profile-menu > summary { list-style: none; }
.profile-menu > summary::-webkit-details-marker { display: none; }
.profile-avatar {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}
.profile-name {
    max-width: 130px;
    overflow: hidden;
    color: var(--foreground);
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 80;
    width: min(280px, calc(100vw - 32px));
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 18px 44px rgba(18, 52, 84, .17);
}
.profile-meta {
    display: grid;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    padding: 8px 8px 12px;
    line-height: 1.35;
}
.profile-meta span { min-width: 0; overflow-wrap: anywhere; color: var(--muted-foreground); font-size: 12px; }
.profile-menu-item {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #b42318;
    padding: 10px 8px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}
.profile-menu-item:hover { background: #fff1f0; }
.toast-stack {
    position: fixed;
    inset-block-start: 18px;
    inset-inline-end: 18px;
    z-index: 120;
    display: grid;
    gap: 8px;
    width: min(420px, calc(100vw - 32px));
}
.toast-message {
    background: #fff;
    box-shadow: 0 18px 44px rgba(18, 52, 84, .16);
    transition: opacity .2s ease, transform .2s ease;
}
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.kpi-card {
    display: grid;
    min-height: 136px;
    align-content: start;
    gap: 8px;
    padding: 16px;
}
.kpi-card .eyebrow { margin-bottom: 6px; }
.kpi-card h2 {
    overflow-wrap: anywhere;
    font-size: 2rem;
    letter-spacing: -0.025em;
}
.kpi-card p { font-size: .85rem; line-height: 1.45; }
.dashboard-overview .kpi-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.dashboard-overview .kpi-card { min-height: 112px; }
.dashboard-overview .kpi-card h2 { letter-spacing: 0; }
.dashboard-overview > section > h2,
.dashboard-overview .table-wrap > .actions > h2 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0;
}
.finance-board { display: grid; gap: 12px; }
.finance-board .section-heading { margin-bottom: 0; }
.finance-board .section-heading h2 { font-size: 1.55rem; letter-spacing: -0.015em; }
.finance-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.compact-filters {
    width: min(720px, 100%);
    margin-bottom: 0;
}
.compact-filters > summary.icon-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}
.compact-filters[open] > summary.icon-toggle { margin-bottom: 12px; }
.mission-steps { display: grid; gap: 16px; }
.mission-step {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}
.mission-step:last-child { border-bottom: 0; }
.selector-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.choice-card {
    display: flex;
    min-height: 64px;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fbfdff;
    padding: 12px;
    cursor: pointer;
}
.choice-card:has(input:checked) {
    border-color: #98c7ea;
    background: #eef7ff;
}
.choice-card input { margin-top: 4px; }
.choice-card span { display: grid; gap: 2px; min-width: 0; }
.choice-card strong { overflow-wrap: anywhere; line-height: 1.25; }
.choice-card small { color: var(--muted-foreground); font-size: 12px; font-weight: 800; }
.table-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}
.table-control-row .eyebrow { margin-bottom: 6px; }
.table-control-row h2,
.table-control-row h3 { font-size: 1.45rem; letter-spacing: -0.018em; }
.mission-builder-card .pagination,
.card .pagination { margin-top: 12px; }
.compact-heading { margin-bottom: 18px; }
.compact-heading h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.025em; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
[dir="rtl"] th, [dir="rtl"] td { text-align: right; }
th { color: var(--muted-foreground); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.badge { display: inline-flex; border-radius: 999px; padding: 4px 9px; background: #eef3f8; font-size: 12px; font-weight: 900; }
.badge.good { background: #dcfae6; color: #067647; }
.badge.warn { background: #fef0c7; color: #b54708; }
.badge.bad { background: #fee4e2; color: #b42318; }
.actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.resource-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.resource-toolbar .eyebrow { margin-bottom: 6px; }
.resource-form { margin-bottom: 16px; }
.order-form-shell {
    display: grid;
    gap: 16px;
}
.order-form-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.order-form-header .eyebrow { margin-bottom: 8px; }
.order-form-header h2 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    font-weight: 800;
    letter-spacing: 0;
}
.order-form-header p {
    max-width: 720px;
    margin-top: 6px;
    font-size: .9rem;
}
.order-form-section .ui-card-body {
    display: grid;
    gap: 14px;
}
.order-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}
.order-form-stack {
    display: grid;
    gap: 14px;
}
.order-form-footer {
    position: sticky;
    bottom: 0;
    z-index: 35;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    padding: 12px;
    box-shadow: 0 -12px 32px rgba(18, 52, 84, .08);
    backdrop-filter: blur(10px);
}
.filters-panel {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 14px;
}
details.filters-panel > summary {
    width: max-content;
    list-style: none;
}
details.filters-panel > summary::-webkit-details-marker { display: none; }
.filters-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(130px, 1fr));
    gap: 12px;
    align-items: end;
}
.filters-grid .field { margin-bottom: 0; }
.form-title-row { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.form-title-row h2 { font-size: clamp(24px, 2.6vw, 34px); }
.permission-matrix {
    padding: 0;
}
.permission-matrix-footer {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--border);
    padding: 12px;
}
.daily-ops-tabs { margin-top: 16px; }
.tab-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 18px;
    scrollbar-width: thin;
}
.tab-button {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--muted-foreground);
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}
.tab-button.active,
.tab-button:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}
.tab-count {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    background: #eef3f8;
    color: var(--primary);
    padding: 0 7px;
    font-size: 12px;
}
.tab-button.active .tab-count,
.tab-button:hover .tab-count {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}
.tab-panel[hidden] { display: none; }
.tab-panel { min-width: 0; }
.daily-shell { display: grid; gap: 16px; }
.daily-daybar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: rgba(247, 250, 252, .96);
    padding: 12px;
    box-shadow: 0 10px 28px rgba(18, 52, 84, .06);
}
.daily-daybar-main,
.daily-daybar-actions,
.date-navigator {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.daily-daybar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.daily-note-form,
.daily-note-readonly { grid-column: 1 / -1; }
.date-picker-form { margin: 0; }
.date-picker-label {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 8px 11px;
}
.date-picker-input {
    width: 32px;
    min-width: 32px;
    border: 0;
    padding: 0;
    color: transparent;
}
.date-picker-label strong { font-size: 14px; white-space: nowrap; }
.info-dot {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 999px;
    background: var(--muted);
    color: var(--primary);
    font-size: 12px;
    font-weight: 900;
}
.daily-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 6px 10px;
    background: #eef3f8;
    color: #314d66;
    font-size: 12px;
    font-weight: 900;
}
.daily-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
}
.daily-status-published { background: #dbeafe; color: #1d4ed8; }
.daily-status-closed { background: #dcfae6; color: #067647; }
.daily-status-cancelled { background: #fee4e2; color: #b42318; }
.compact-button { min-height: 38px; padding: 8px 11px; font-size: 12px; }
.daily-note-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
}
.daily-note-form textarea {
    min-height: 40px;
    resize: vertical;
    line-height: 1.35;
}
.daily-note-readonly {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    color: var(--muted-foreground);
}
.daily-kpi-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}
.daily-kpi-card {
    display: grid;
    min-height: 94px;
    align-content: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--foreground);
    padding: 13px;
    text-align: start;
    cursor: pointer;
}
.daily-kpi-card span {
    color: var(--muted-foreground);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}
.daily-kpi-card strong {
    overflow-wrap: anywhere;
    font-size: 1.45rem;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.015em;
}
.daily-kpi-card.attention { border-color: #fdb022; background: #fffaeb; }
.daily-kpi-card.money strong { font-size: 1.05rem; }
.daily-kpi-card i {
    display: block;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4e7ec;
}
.daily-kpi-card i::before {
    content: "";
    display: block;
    width: var(--progress);
    height: 100%;
    border-radius: inherit;
    background: #067647;
}
.daily-empty-state {
    display: grid;
    min-height: 240px;
    place-items: center;
    gap: 12px;
    text-align: center;
}
.daily-workspace { display: grid; gap: 16px; }
.daily-work-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}
.daily-toolbar {
    display: grid;
    grid-template-columns: minmax(220px, 1.2fr) minmax(180px, .8fr) auto auto auto;
    gap: 10px;
    align-items: start;
}
.toolbar-filters { position: relative; }
.toolbar-filters > summary { list-style: none; }
.toolbar-filters > summary::-webkit-details-marker { display: none; }
.toolbar-filters > div {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    z-index: 45;
    display: grid;
    min-width: 220px;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 18px 44px rgba(18, 52, 84, .15);
}
.area-queue { display: grid; gap: 12px; }
.area-group {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fbfdff;
}
.area-group > summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    padding: 12px;
}
.area-group > summary::-webkit-details-marker { display: none; }
.area-group-check {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}
.area-group-check span { overflow-wrap: anywhere; }
.area-group .table-wrap { padding: 0 12px 12px; }
.queue-action-bar {
    position: sticky;
    bottom: 12px;
    z-index: 35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #9fc4e6;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 14px 40px rgba(18, 52, 84, .18);
}
.queue-action-bar[hidden] { display: none; }
.mission-builder-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(280px, 5fr);
    gap: 16px;
    align-items: start;
}
.mission-builder-left,
.mission-builder-side {
    display: grid;
    gap: 14px;
    min-width: 0;
}
.mission-builder-side {
    position: sticky;
    top: 118px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fbfdff;
    padding: 14px;
}
.mission-summary-box {
    display: grid;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 12px;
}
.mission-summary-box dl { display: grid; gap: 8px; margin: 0; }
.mission-summary-box dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-variant-numeric: tabular-nums;
}
.mission-summary-box dt { color: var(--muted-foreground); font-weight: 800; }
.mission-summary-box dd { margin: 0; font-weight: 900; }
.has-error {
    border: 1px solid #fda29b;
    border-radius: 10px;
    background: #fff6f5;
    padding: 12px;
}
.mission-card-list { display: grid; gap: 12px; }
.mission-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
}
.mission-card > summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    padding: 14px;
}
.mission-card > summary::-webkit-details-marker { display: none; }
.mission-card-body {
    display: grid;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding: 14px;
}
.mission-money {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--muted-foreground);
    font-variant-numeric: tabular-nums;
}
.money-cell {
    text-align: end;
    font-variant-numeric: tabular-nums;
}
.history-drawer > summary { list-style: none; }
.history-drawer > summary::-webkit-details-marker { display: none; }
.history-panel {
    position: fixed;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: 100;
    width: min(560px, 92vw);
    overflow: auto;
    border-inline-start: 1px solid var(--border);
    background: #fff;
    padding: 20px;
    box-shadow: -22px 0 60px rgba(18, 52, 84, .22);
}

.pagination-nav { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-block:12px; }
.pagination-step, .pagination-number { display:inline-flex; align-items:center; justify-content:center; min-width:36px; min-height:36px; padding:6px 10px; border:1px solid var(--border); border-radius:6px; font-size:14px; background:#fff; }
.pagination-nav .current { background:var(--primary); color:#fff; }
.pagination-nav [aria-disabled="true"] { opacity:.55; }
.cash-order-option { display:flex; align-items:center; gap:10px; padding:10px 0; border-bottom:1px solid var(--border); }
.cash-order-option span { flex:1; overflow-wrap:anywhere; }
.cash-order-option input { width:20px; height:20px; flex:none; }
.cash-order-option strong { white-space:nowrap; }
.daily-carryover { display:block; padding:10px 12px; margin-block:8px; background:#fff3cc; color:#583b00; border-inline-start:4px solid #b77900; }
.field-error { color:#b42318; }
.role-worklist { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:8px; }
.role-worklist a { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px; border-bottom:1px solid var(--border); }
.role-worklist strong { font-size:24px; }
[dir="rtl"] .history-panel { box-shadow: 22px 0 60px rgba(18, 52, 84, .22); }
.history-drawer[open]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(18, 52, 84, .24);
}
.current-history-row { background: #f4f8fb; }
.btn-icon {
    display: inline-grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    font-weight: 900;
}
.button.secondary .btn-icon { background: var(--muted); }
.row-actions { display: inline-flex; align-items: center; gap: 6px; flex-wrap: nowrap; white-space: nowrap; }
.row-actions form { display: inline-flex; margin: 0; }
.actions-column { width: 1%; }
.icon-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #fff;
    color: var(--primary);
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}
.table-action-button {
    width: 36px;
    min-width: 36px;
    padding: 8px;
}
.table-action-button .ui-icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}
.icon-button:hover { border-color: var(--primary); box-shadow: 0 5px 14px rgba(18, 52, 84, .1); }
.icon-button.danger { color: #b42318; }
.detail-list h2 { margin-bottom: 16px; font-size: 24px; }
.detail-list dl { display: grid; gap: 12px; margin: 0; }
.detail-list dl div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.detail-list dt { color: var(--muted-foreground); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.detail-list dd { margin: 0; min-width: 0; white-space: normal; }
.timeline { display: grid; gap: 10px; }
.timeline article { border: 1px solid var(--border); border-radius: 8px; background: #fbfdff; padding: 14px; }
.timeline article span { display: block; color: var(--muted-foreground); font-size: 13px; }
.scope-banner {
    margin: 12px 0;
    border: 1px solid #b7d7c1;
    border-radius: 8px;
    background: #f2fbf5;
    color: #245b35;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 800;
}
.empty { border: 1px dashed var(--border); border-radius: 10px; padding: 26px; text-align: center; color: var(--muted-foreground); background: #fbfdff; }
.stack-list { display: grid; gap: 12px; }
.stack-item { border: 1px solid var(--border); border-radius: 8px; padding: 14px; background: #fbfdff; }
.stack-item-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.coverage-node { display: grid; gap: 10px; }
.coverage-node > p { margin: 0; color: var(--muted-foreground); }
.nested-area-tree,
.nested-record-tree {
    border-top: 1px solid var(--border);
    padding-top: 10px;
}
.nested-area-tree > summary,
.nested-record-tree > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--primary);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    list-style: none;
}
.nested-area-tree > summary::-webkit-details-marker,
.nested-record-tree > summary::-webkit-details-marker { display: none; }
.nested-area-tree > summary strong,
.nested-record-tree > summary strong {
    display: inline-grid;
    min-width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    background: var(--muted);
    color: var(--muted-foreground);
    font-size: 12px;
}
.nested-area-list,
.nested-record-list { display: grid; gap: 8px; margin-top: 10px; }
.nested-area-row,
.nested-record-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    padding: 10px;
}
.nested-area-row > div:first-child,
.nested-record-row > div:first-child { display: grid; gap: 2px; min-width: 0; }
.nested-area-empty,
.nested-record-empty {
    border: 1px dashed var(--border);
    border-radius: 8px;
    color: var(--muted-foreground);
    padding: 12px;
    text-align: center;
}
.fleet-nested { border-top: 0; padding-top: 0; }
.fleet-nested + .fleet-nested {
    border-top: 1px solid var(--border);
    margin-top: 10px;
    padding-top: 10px;
}
.muted { color: var(--muted-foreground); }
code { color: #314d66; font-size: 12px; white-space: normal; }

@media (max-width: 980px) {
    .section-width { width: calc(100% - 34px); }
    .landing-header { padding: 18px 22px; align-items: flex-start; flex-direction: column; }
    .landing-nav { gap: 16px; flex-wrap: wrap; }
    .hero, [dir="rtl"] .hero, .service-paths, .benefit-grid, .partners-track, .dashboard-preview, .industries-section, .coverage-layout, .faq-layout, .request-section, .journey-steps, .grid.three, .grid.two { grid-template-columns: 1fr; }
    .app-layout { grid-template-columns: 68px minmax(0, 1fr); }
    .filters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-visual, .hero-visual > img { min-height: 430px; }
    .partners-heading, .footer-top { align-items: flex-start; flex-direction: column; }
    .strip-stats { width: 100%; justify-content: space-between; }
    .industry-content { grid-template-columns: 1fr; }
    .nested-area-row,
    .nested-record-row { grid-template-columns: 1fr; align-items: start; }
    .sidebar {
        position: sticky;
        top: 0;
        z-index: 60;
        height: 100vh;
        overflow-y: auto;
        border-right: 1px solid var(--border);
        border-bottom: 0;
        padding: 12px 8px;
    }
    .sidebar-top { display: grid; justify-items: center; gap: 8px; }
    .sidebar .brand { justify-content: center; padding-bottom: 0; }
    .sidebar .brand span,
    .sidebar-label,
    .nav-text { display: none; }
    .sidebar .brand img { width: 42px; height: 42px; }
    .sidebar-toggle { display: grid; }
    .sidebar nav { gap: 4px; margin-top: 12px; }
    .sidebar a { justify-content: center; min-height: 44px; padding: 10px; }
    .nav-link { gap: 0; }
    .app-layout.sidebar-expanded { grid-template-columns: 238px minmax(0, 1fr); }
    .app-layout.sidebar-expanded .sidebar {
        padding: 14px 12px;
        box-shadow: 18px 0 38px rgba(18, 52, 84, .08);
    }
    .app-layout.sidebar-expanded .sidebar-top {
        display: flex;
        justify-items: stretch;
    }
    .app-layout.sidebar-expanded .sidebar .brand {
        justify-content: flex-start;
        padding-bottom: 0;
    }
    .app-layout.sidebar-expanded .sidebar .brand span,
    .app-layout.sidebar-expanded .sidebar-label,
    .app-layout.sidebar-expanded .nav-text { display: inline; }
    .app-layout.sidebar-expanded .sidebar a { justify-content: flex-start; }
    .app-layout.sidebar-expanded .nav-link { gap: 10px; }
    .main { padding: 18px; }
    .app-header { align-items: flex-start; gap: 12px; }
    .page-title { margin: 4px 0 8px; font-size: 2rem; }
    .header-actions { margin-left: auto; }
    .profile-name { display: none; }
    .kpi-grid,
    .finance-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kpi-card { min-height: 118px; padding: 13px; }
    .kpi-card h2 { font-size: 1.55rem; }
    .selector-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .table-control-row { align-items: flex-start; flex-direction: column; }
    .order-form-header { align-items: flex-start; flex-direction: column; }
    .order-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .daily-daybar { grid-template-columns: 1fr; }
    .daily-kpi-strip {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        padding-bottom: 4px;
    }
    .daily-kpi-card {
        min-width: 144px;
        scroll-snap-align: start;
    }
    .fleet-kpis { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
    .fleet-primary-actions { justify-content: flex-start; }
    .fleet-detail-grid { grid-template-columns: 1fr; }
    .daily-toolbar { grid-template-columns: 1fr 1fr auto; }
    .daily-toolbar .button.secondary:last-child { grid-column: 1 / -1; }
    .mission-builder-layout { grid-template-columns: 1fr; }
    .mission-builder-side { position: static; }
}

@media (max-width: 620px) {
    .announcement { flex-direction: column; align-items: center; gap: 5px; text-align: center; }
    .brand-logo img { width: 68px; height: 68px; }
    .hero h1 { font-size: 3.1rem; }
    .round-stamp { display: none; }
    .hero-cycle { width: auto; left: 18px; right: 18px; bottom: 104px; }
    .parcel-card { left: 18px; right: 18px; }
    .coverage-row { grid-template-columns: 42px 1fr; }
    .filters-grid { grid-template-columns: 1fr; }
    .app-layout { grid-template-columns: 58px minmax(0, 1fr); }
    .app-layout.sidebar-expanded {
        grid-template-columns: 58px minmax(0, 1fr);
    }
    .app-layout.sidebar-expanded .sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(260px, 86vw);
    }
    .main { padding: 14px; }
    .app-header { align-items: center; }
    .app-header .eyebrow { margin-bottom: 6px; font-size: .6rem; letter-spacing: .14em; }
    .page-title { font-size: 1.55rem; }
    .header-icon-button,
    .profile-trigger {
        min-width: 40px;
        min-height: 40px;
        padding: 8px;
    }
    .profile-avatar { width: 28px; height: 28px; }
    .kpi-grid,
    .finance-kpis { grid-template-columns: 1fr; gap: 10px; }
    .kpi-card { min-height: 108px; }
    .kpi-card h2 { font-size: 1.35rem; }
    .selector-list { grid-template-columns: 1fr; }
    .order-form-grid { grid-template-columns: 1fr; }
    .order-form-footer {
        margin-inline: -14px;
        border-inline: 0;
        border-bottom: 0;
        border-radius: 12px 12px 0 0;
    }
.order-form-footer .ui-button {
    flex: 1 1 0;
}
    .schedule-toolbar { align-items: stretch; }
    .compact-filters { width: 100%; }
    .tab-list {
        gap: 6px;
        margin-right: -14px;
        margin-left: -14px;
        padding: 0 14px 10px;
    }
    .tab-button {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
    }
    .daily-daybar {
        margin-inline: -4px;
        border-radius: 0;
        border-inline: 0;
    }
    .daily-daybar-main,
    .daily-daybar-actions,
    .date-navigator { align-items: stretch; }
    .date-navigator,
    .daily-daybar-actions,
    .daily-daybar-actions form,
    .daily-daybar-actions .button,
    .date-picker-form,
    .date-picker-label { width: 100%; }
    .date-picker-label { justify-content: center; }
    .daily-note-form { grid-template-columns: auto minmax(0, 1fr); }
    .daily-note-form button { grid-column: 1 / -1; }
    .fleet-kpis {
        display: flex;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .fleet-kpis .ui-stat {
        min-width: 144px;
    }
    .fleet-workspace { padding: 12px; }
    .fleet-tab-list,
    .master-tab-list { display: none; }
    .fleet-tab-shell .fleet-tab-select,
    .master-tab-shell .master-tab-select { display: grid; }
    .fleet-primary-actions,
    .fleet-primary-actions .fleet-drawer,
    .fleet-primary-actions .button {
        width: 100%;
    }
    .fleet-primary-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .fleet-drawer-panel {
        width: 100vw;
    }
    .fleet-drawer-card {
        min-height: 100%;
        padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
    }
    .fleet-drawer-actions {
        align-items: stretch;
        flex-direction: column;
    }
    .fleet-row-panel {
        min-width: 0;
    }
    .fleet-row-actions form {
        width: auto;
    }
    .daily-toolbar { grid-template-columns: 1fr; }
    .toolbar-filters > div {
        position: static;
        box-shadow: none;
        margin-top: 8px;
    }
    .area-group > summary,
    .mission-card > summary { grid-template-columns: 1fr; align-items: start; }
    .queue-action-bar {
        right: 14px;
        bottom: 14px;
        left: 72px;
        flex-direction: column;
        align-items: stretch;
    }
    .history-panel { width: min(420px, 94vw); }
    details.filters-panel[open] {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 90;
        max-height: 82vh;
        overflow: auto;
        margin: 0;
        border-radius: 18px 18px 0 0;
        padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
        box-shadow: 0 -18px 46px rgba(18, 52, 84, .22);
    }
    details.filters-panel[open]::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background: rgba(18, 52, 84, .32);
    }
    details.filters-panel[open] > summary { margin-bottom: 4px; }
    .mobile-card-list {
        overflow: visible;
        border: 0;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }
    .mobile-card-list table,
    .mobile-card-list tbody,
    .mobile-card-list tr,
    .mobile-card-list td { display: block; width: 100%; }
    .mobile-card-list thead { display: none; }
    .mobile-card-list tbody {
        display: grid;
        gap: 12px;
    }
    .mobile-card-list tr {
        border: 1px solid var(--border);
        border-left: 5px solid #98a2b3;
        border-radius: 10px;
        background: #fff;
        padding: 10px 12px;
        box-shadow: 0 8px 22px rgba(18, 52, 84, .08);
    }
    .mobile-card-list td {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        border-bottom: 0;
        padding: 7px 0;
        white-space: normal;
    }
    .mobile-card-list td::before {
        content: attr(data-label);
        color: var(--muted-foreground);
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .08em;
    }
    .mobile-card-list td[data-label="Actions"] {
        display: block;
        padding-top: 10px;
    }
    .mobile-card-list td[data-label="Actions"]::before { display: none; }
    .mobile-card-list .row-actions {
        display: inline-flex;
        width: 100%;
        gap: 8px;
        justify-content: flex-end;
    }
    .mobile-card-list .icon-button {
        min-height: 44px;
    }
    .mobile-card-list .table-action-button {
        width: 44px;
        min-width: 44px;
    }
    .coverage-tag, .coverage-row > span:last-child { display: none; }
    .final-cta { padding: 54px 20px; }
}

/* DarbCrew identity keeps existing layout and palette. */
.brand-logo { gap: 10px; color: var(--navy, #123454); font-size: 24px; font-weight: 700; }
.brand-logo img { width: 52px; height: 52px; object-fit: contain; }
